From 34c2b0fa8792054fd61cecf6c4caaf78d7cca885 Mon Sep 17 00:00:00 2001 From: nobody Date: Wed, 18 Mar 1998 23:00:19 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'ACE-4_4_33'. --- ACE.DSW | 1217 - COPYING | 35 - ChangeLog-97b | 9182 ------- STL/ACE_Changes | 53 - STL/readme2.stl | 272 - TAO/Benchmark/Marshal_Test/Orbix/Makefile | 75 - TAO/Benchmark/Marshal_Test/Orbix/client.cpp | 12 - TAO/Benchmark/Marshal_Test/Orbix/marshal.h | 1325 - TAO/Benchmark/Marshal_Test/Orbix/marshal.idl | 88 - .../Marshal_Test/Orbix/orbix_marshal_client.cpp | 1334 - .../Marshal_Test/Orbix/orbix_marshal_client.h | 123 - .../Marshal_Test/Orbix/orbix_marshal_client.i | 21 - .../Marshal_Test/Orbix/orbix_marshal_impl.cpp | 309 - .../Marshal_Test/Orbix/orbix_marshal_impl.h | 189 - .../Marshal_Test/Orbix/orbix_marshal_impl.i | 27 - .../Marshal_Test/Orbix/orbix_marshal_server.cpp | 93 - .../Marshal_Test/Orbix/orbix_marshal_server.h | 57 - .../Marshal_Test/Orbix/orbix_marshal_server.i | 26 - 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 | 12 - TAO/Benchmark/Marshal_Test/TAO/Makefile | 64 - TAO/Benchmark/Marshal_Test/TAO/client.cpp | 12 - TAO/Benchmark/Marshal_Test/TAO/marshal.idl | 89 - TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp | 585 - TAO/Benchmark/Marshal_Test/TAO/marshalC.h | 194 - TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp | 168 - TAO/Benchmark/Marshal_Test/TAO/marshalS.h | 108 - TAO/Benchmark/Marshal_Test/TAO/server.cpp | 12 - .../Marshal_Test/TAO/tao_marshal_client.cpp | 1424 - .../Marshal_Test/TAO/tao_marshal_client.h | 124 - .../Marshal_Test/TAO/tao_marshal_client.i | 21 - .../Marshal_Test/TAO/tao_marshal_impl.cpp | 650 - TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h | 190 - TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i | 21 - .../Marshal_Test/TAO/tao_marshal_server.cpp | 110 - .../Marshal_Test/TAO/tao_marshal_server.h | 57 - .../Marshal_Test/TAO/tao_marshal_server.i | 26 - TAO/Benchmark/Marshal_Test/VisiBroker/Makefile | 64 - TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp | 12 - TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl | 89 - TAO/Benchmark/Marshal_Test/VisiBroker/run_client | 23 - TAO/Benchmark/Marshal_Test/VisiBroker/run_server | 1 - TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp | 12 - .../VisiBroker/visi_marshal_client.cpp | 1344 - .../Marshal_Test/VisiBroker/visi_marshal_client.h | 140 - .../Marshal_Test/VisiBroker/visi_marshal_client.i | 21 - .../Marshal_Test/VisiBroker/visi_marshal_impl.cpp | 329 - .../Marshal_Test/VisiBroker/visi_marshal_impl.h | 177 - .../Marshal_Test/VisiBroker/visi_marshal_impl.i | 28 - .../VisiBroker/visi_marshal_server.cpp | 86 - .../Marshal_Test/VisiBroker/visi_marshal_server.h | 58 - .../Marshal_Test/VisiBroker/visi_marshal_server.i | 26 - TAO/Benchmark/benchmark/Makefile | 125 - TAO/Benchmark/benchmark/driver.cpp | 56 - TAO/Benchmark/benchmark/driver.h | 54 - TAO/Benchmark/benchmark/marshal_options.cpp | 278 - TAO/Benchmark/benchmark/marshal_options.h | 207 - TAO/Benchmark/benchmark/marshal_options.i | 233 - TAO/Benchmark/benchmark/marshal_proxy.cpp | 19 - TAO/Benchmark/benchmark/marshal_proxy.h | 46 - TAO/Benchmark/benchmark/marshal_proxy.i | 10 - TAO/Benchmark/benchmark/marshal_results.cpp | 32 - TAO/Benchmark/benchmark/marshal_results.h | 70 - TAO/Benchmark/benchmark/marshal_results.i | 59 - TAO/COPYING | 40 - TAO/COPYING.sun | 67 - TAO/ChangeLog-98c | 11949 --------- TAO/IIOP/Build/default.bld | 16 - TAO/IIOP/Build/tao.bld | 53 - TAO/IIOP/Makefile | 27 - TAO/IIOP/docs/us/codecounts/align.hh.cccc | 29 - TAO/IIOP/docs/us/codecounts/any.cpp.cccc | 41 - TAO/IIOP/docs/us/codecounts/any.hh.cccc | 27 - TAO/IIOP/docs/us/codecounts/cdr.cpp.cccc | 36 - TAO/IIOP/docs/us/codecounts/cdr.hh.cccc | 26 - TAO/IIOP/docs/us/codecounts/connmgr.cpp.cccc | 38 - TAO/IIOP/docs/us/codecounts/connmgr.hh.cccc | 27 - TAO/IIOP/docs/us/codecounts/corbacom.cpp.cccc | 32 - TAO/IIOP/docs/us/codecounts/corbacom.hh.cccc | 59 - TAO/IIOP/docs/us/codecounts/debug.cpp.cccc | 39 - TAO/IIOP/docs/us/codecounts/debug.hh.cccc | 29 - TAO/IIOP/docs/us/codecounts/except.cpp.cccc | 53 - TAO/IIOP/docs/us/codecounts/except.hh.cccc | 37 - TAO/IIOP/docs/us/codecounts/generate | 24 - TAO/IIOP/docs/us/codecounts/giop.cpp.cccc | 50 - TAO/IIOP/docs/us/codecounts/giop.hh.cccc | 27 - TAO/IIOP/docs/us/codecounts/iiopobj.cpp.cccc | 34 - TAO/IIOP/docs/us/codecounts/iiopobj.hh.cccc | 30 - TAO/IIOP/docs/us/codecounts/iioporb.cpp.cccc | 35 - TAO/IIOP/docs/us/codecounts/iioporb.hh.cccc | 28 - TAO/IIOP/docs/us/codecounts/initguid.h.cccc | 25 - TAO/IIOP/docs/us/codecounts/interp.cpp.cccc | 40 - TAO/IIOP/docs/us/codecounts/invoke.cpp.cccc | 26 - TAO/IIOP/docs/us/codecounts/marshal.cpp.cccc | 30 - TAO/IIOP/docs/us/codecounts/nvlist.cpp.cccc | 40 - TAO/IIOP/docs/us/codecounts/nvlist.hh.cccc | 37 - TAO/IIOP/docs/us/codecounts/objbase.h.cccc | 37 - TAO/IIOP/docs/us/codecounts/object.cpp.cccc | 55 - TAO/IIOP/docs/us/codecounts/object.hh.cccc | 31 - TAO/IIOP/docs/us/codecounts/orb.hh.cccc | 33 - TAO/IIOP/docs/us/codecounts/orbconf.hh.cccc | 26 - TAO/IIOP/docs/us/codecounts/orbobj.cpp.cccc | 41 - TAO/IIOP/docs/us/codecounts/orbobj.hh.cccc | 31 - TAO/IIOP/docs/us/codecounts/principa.cpp.cccc | 33 - TAO/IIOP/docs/us/codecounts/principa.hh.cccc | 30 - TAO/IIOP/docs/us/codecounts/request.cpp.cccc | 36 - TAO/IIOP/docs/us/codecounts/request.hh.cccc | 31 - TAO/IIOP/docs/us/codecounts/roa.cpp.cccc | 43 - TAO/IIOP/docs/us/codecounts/roa.hh.cccc | 30 - TAO/IIOP/docs/us/codecounts/roa.i.cccc | 35 - TAO/IIOP/docs/us/codecounts/sequence.hh.cccc | 26 - TAO/IIOP/docs/us/codecounts/stub.hh.cccc | 32 - TAO/IIOP/docs/us/codecounts/svrrqst.cpp.cccc | 39 - TAO/IIOP/docs/us/codecounts/svrrqst.hh.cccc | 35 - TAO/IIOP/docs/us/codecounts/t-sizes.cpp.cccc | 25 - TAO/IIOP/docs/us/codecounts/t-xdr.cpp.cccc | 29 - TAO/IIOP/docs/us/codecounts/tc_const.cpp.cccc | 68 - TAO/IIOP/docs/us/codecounts/tcpoa.cpp.cccc | 51 - TAO/IIOP/docs/us/codecounts/tcpoa.hh.cccc | 31 - TAO/IIOP/docs/us/codecounts/thread.hh.cccc | 35 - TAO/IIOP/docs/us/codecounts/toa.cpp.cccc | 27 - TAO/IIOP/docs/us/codecounts/toa.hh.cccc | 30 - TAO/IIOP/docs/us/codecounts/typecode.cpp.cccc | 41 - TAO/IIOP/docs/us/codecounts/typecode.hh.cccc | 36 - TAO/IIOP/docs/us/codecounts/xdr.cpp.cccc | 33 - TAO/IIOP/docs/us/codecounts/xdr.hh.cccc | 27 - TAO/IIOP/docs/us/plan.html | 29 - TAO/IIOP/docs/us/server | 5 - TAO/IIOP/test/Build/clnt.bld | 8 - TAO/IIOP/test/Build/default.bld | 19 - TAO/IIOP/test/Build/svr.bld | 8 - TAO/IIOP/test/Makefile | 121 - TAO/IIOP/test/Orbeline/base_server/Makefile | 19 - .../test/Orbeline/base_server/Profile_Timer.cpp | 127 - TAO/IIOP/test/Orbeline/base_server/Profile_Timer.h | 60 - TAO/IIOP/test/Orbeline/base_server/cubit.idl | 40 - TAO/IIOP/test/Orbeline/base_server/cubit_impl.cpp | 46 - TAO/IIOP/test/Orbeline/base_server/cubit_impl.h | 33 - TAO/IIOP/test/Orbeline/base_server/server.cpp | 49 - TAO/IIOP/test/Orbeline/base_server/stdmk | 36 - TAO/IIOP/test/Orbeline/client/Makefile | 19 - TAO/IIOP/test/Orbeline/client/Profile_Timer.cpp | 127 - TAO/IIOP/test/Orbeline/client/Profile_Timer.h | 60 - TAO/IIOP/test/Orbeline/client/client.cpp | 230 - TAO/IIOP/test/Orbeline/client/cubit.idl | 40 - TAO/IIOP/test/Orbeline/client/stdmk | 36 - TAO/IIOP/test/Orbix/Makefile | 28 - TAO/IIOP/test/Orbix/base_server/Makefile | 89 - TAO/IIOP/test/Orbix/base_server/cubit.h | 727 - TAO/IIOP/test/Orbix/base_server/cubit.idl | 40 - TAO/IIOP/test/Orbix/base_server/cubitC.cpp | 557 - TAO/IIOP/test/Orbix/base_server/cubitC.h | 343 - TAO/IIOP/test/Orbix/base_server/cubitS.cpp | 226 - TAO/IIOP/test/Orbix/base_server/cubitS.h | 118 - TAO/IIOP/test/Orbix/base_server/cubit_impl.cpp | 46 - TAO/IIOP/test/Orbix/base_server/cubit_impl.h | 27 - TAO/IIOP/test/Orbix/base_server/server.cpp | 40 - TAO/IIOP/test/Orbix/base_server/tpr.cpp | 26 - TAO/IIOP/test/Orbix/base_server/tpr.h | 10 - TAO/IIOP/test/Orbix/client/Makefile | 89 - TAO/IIOP/test/Orbix/client/client.cpp | 232 - TAO/IIOP/test/Orbix/client/cubit.h | 727 - TAO/IIOP/test/Orbix/client/cubit.idl | 40 - TAO/IIOP/test/Orbix/client/cubitC.cpp | 557 - TAO/IIOP/test/Orbix/factory_client/Makefile | 77 - TAO/IIOP/test/Orbix/factory_client/client.cpp | 235 - TAO/IIOP/test/Orbix/factory_client/cubit.h | 1111 - TAO/IIOP/test/Orbix/factory_client/cubit.hh | 1111 - TAO/IIOP/test/Orbix/factory_client/cubit.idl | 46 - TAO/IIOP/test/Orbix/factory_client/cubitC.cpp | 710 - TAO/IIOP/test/Orbix/factory_client/cubitS.cpp | 282 - TAO/IIOP/test/Orbix/orb.mk | 146 - TAO/IIOP/test/Orbix/tpool/Makefile | 89 - TAO/IIOP/test/Orbix/tpool/cubit.h | 727 - TAO/IIOP/test/Orbix/tpool/cubit.idl | 40 - TAO/IIOP/test/Orbix/tpool/cubitC.cpp | 557 - TAO/IIOP/test/Orbix/tpool/cubitS.cpp | 226 - TAO/IIOP/test/Orbix/tpool/cubit_impl.cpp | 46 - TAO/IIOP/test/Orbix/tpool/cubit_impl.h | 27 - TAO/IIOP/test/Orbix/tpool/server.cpp | 46 - TAO/IIOP/test/Orbix/tpool/tpool.cpp | 42 - TAO/IIOP/test/Orbix/tpool/tpool.h | 15 - TAO/IIOP/test/Orbix/tpr/Makefile | 89 - TAO/IIOP/test/Orbix/tpr/cubit.h | 727 - TAO/IIOP/test/Orbix/tpr/cubit.idl | 40 - TAO/IIOP/test/Orbix/tpr/cubitC.cpp | 557 - TAO/IIOP/test/Orbix/tpr/cubitC.h | 343 - TAO/IIOP/test/Orbix/tpr/cubitS.cpp | 226 - TAO/IIOP/test/Orbix/tpr/cubitS.h | 118 - TAO/IIOP/test/Orbix/tpr/cubit_impl.cpp | 46 - TAO/IIOP/test/Orbix/tpr/cubit_impl.h | 27 - TAO/IIOP/test/Orbix/tpr/server.cpp | 40 - TAO/IIOP/test/Orbix/tpr/tpr.cpp | 26 - TAO/IIOP/test/Orbix/tpr/tpr.h | 10 - TAO/IIOP/test/Orbix/tps/Makefile | 349 - TAO/IIOP/test/Orbix/tps/cubit.h | 1111 - TAO/IIOP/test/Orbix/tps/cubit.idl | 46 - TAO/IIOP/test/Orbix/tps/cubitC.cpp | 710 - TAO/IIOP/test/Orbix/tps/cubitS.cpp | 282 - TAO/IIOP/test/Orbix/tps/cubit_impl.cpp | 81 - TAO/IIOP/test/Orbix/tps/cubit_impl.h | 46 - TAO/IIOP/test/Orbix/tps/server.cpp | 40 - TAO/IIOP/test/Orbix/tps/tps.cpp | 26 - TAO/IIOP/test/Orbix/tps/tps.h | 11 - TAO/IIOP/test/clnt.cpp | 508 - TAO/IIOP/test/cubit.cpp | 576 - TAO/IIOP/test/cubit.h | 106 - TAO/IIOP/test/cubit.idl | 40 - TAO/IIOP/test/cubitC.cpp | 381 - TAO/IIOP/test/cubitC.h | 102 - TAO/IIOP/test/cubitS.cpp | 232 - TAO/IIOP/test/cubitS.h | 82 - TAO/IIOP/test/cubit_i.cpp | 91 - TAO/IIOP/test/cubit_i.h | 54 - TAO/IIOP/test/method_db.i | 67 - TAO/IIOP/test/results/Orbix | 133 - TAO/IIOP/test/results/TAO | 92 - TAO/IIOP/test/results/Visibroker | 79 - TAO/IIOP/test/results/orbs.xls | Bin 26624 -> 0 bytes TAO/IIOP/test/svr.cpp | 212 - TAO/IIOP/test/test.mak | 463 - TAO/IIOP/test/test.mdp | Bin 43008 -> 0 bytes TAO/IIOP/test/test1.cpp | 390 - TAO/IIOP/test/test1.h | 124 - TAO/IIOP/test/test1.idl | 78 - TAO/IIOP/test/test1_clnt.cpp | 636 - TAO/IIOP/test/test1_svr.cpp | 670 - TAO/IIOP/test/tnf/Orbix.svr.summary | 32 - TAO/IIOP/test/tnf/clnt.summary | 43 - TAO/IIOP/test/tnf/svr.summary | 49 - TAO/IIOP/tests/Cubit/Build/clnt.bld | 8 - TAO/IIOP/tests/Cubit/Build/default.bld | 19 - TAO/IIOP/tests/Cubit/Build/svr.bld | 8 - TAO/IIOP/tests/Cubit/Orbix/Makefile | 28 - TAO/IIOP/tests/Cubit/Orbix/base_server/Makefile | 89 - TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.h | 727 - TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.idl | 40 - TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.cpp | 557 - TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.h | 343 - TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.cpp | 226 - TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.h | 118 - .../tests/Cubit/Orbix/base_server/cubit_impl.cpp | 46 - .../tests/Cubit/Orbix/base_server/cubit_impl.h | 27 - TAO/IIOP/tests/Cubit/Orbix/base_server/server.cpp | 40 - TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.cpp | 26 - TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.h | 10 - TAO/IIOP/tests/Cubit/Orbix/client/Makefile | 89 - TAO/IIOP/tests/Cubit/Orbix/client/client.cpp | 232 - TAO/IIOP/tests/Cubit/Orbix/client/cubit.h | 727 - TAO/IIOP/tests/Cubit/Orbix/client/cubit.idl | 40 - TAO/IIOP/tests/Cubit/Orbix/client/cubitC.cpp | 557 - TAO/IIOP/tests/Cubit/Orbix/factory_client/Makefile | 77 - .../tests/Cubit/Orbix/factory_client/client.cpp | 235 - TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.h | 1111 - TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.hh | 1111 - .../tests/Cubit/Orbix/factory_client/cubit.idl | 46 - .../tests/Cubit/Orbix/factory_client/cubitC.cpp | 710 - .../tests/Cubit/Orbix/factory_client/cubitS.cpp | 282 - TAO/IIOP/tests/Cubit/Orbix/orb.mk | 146 - TAO/IIOP/tests/Cubit/Orbix/tpool/Makefile | 89 - TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.h | 727 - TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.idl | 40 - TAO/IIOP/tests/Cubit/Orbix/tpool/cubitC.cpp | 557 - TAO/IIOP/tests/Cubit/Orbix/tpool/cubitS.cpp | 226 - TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.cpp | 46 - TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.h | 27 - TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp | 46 - TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.cpp | 42 - TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.h | 15 - TAO/IIOP/tests/Cubit/Orbix/tpr/Makefile | 89 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.h | 727 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.idl | 40 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.cpp | 557 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.h | 343 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.cpp | 226 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.h | 118 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.cpp | 46 - TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.h | 27 - TAO/IIOP/tests/Cubit/Orbix/tpr/server.cpp | 40 - TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.cpp | 26 - TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.h | 10 - TAO/IIOP/tests/Cubit/Orbix/tps/Makefile | 349 - TAO/IIOP/tests/Cubit/Orbix/tps/cubit.h | 1111 - TAO/IIOP/tests/Cubit/Orbix/tps/cubit.idl | 46 - TAO/IIOP/tests/Cubit/Orbix/tps/cubitC.cpp | 710 - TAO/IIOP/tests/Cubit/Orbix/tps/cubitS.cpp | 282 - TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.cpp | 81 - TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.h | 46 - TAO/IIOP/tests/Cubit/Orbix/tps/tps.cpp | 26 - TAO/IIOP/tests/Cubit/Orbix/tps/tps.h | 11 - TAO/IIOP/tests/Cubit/README | 7 - TAO/IIOP/tests/Cubit/TAO/Makefile | 121 - TAO/IIOP/tests/Cubit/TAO/clnt.cpp | 508 - TAO/IIOP/tests/Cubit/TAO/cubit.cpp | 576 - TAO/IIOP/tests/Cubit/TAO/cubit.h | 106 - TAO/IIOP/tests/Cubit/TAO/cubit.idl | 40 - TAO/IIOP/tests/Cubit/TAO/cubitC.cpp | 381 - TAO/IIOP/tests/Cubit/TAO/cubitC.h | 102 - TAO/IIOP/tests/Cubit/TAO/cubitS.cpp | 232 - TAO/IIOP/tests/Cubit/TAO/cubitS.h | 82 - TAO/IIOP/tests/Cubit/TAO/cubit_i.cpp | 91 - TAO/IIOP/tests/Cubit/TAO/cubit_i.h | 54 - TAO/IIOP/tests/Cubit/TAO/method_db.i | 67 - TAO/IIOP/tests/Cubit/TAO/svr.cpp | 212 - TAO/IIOP/tests/Cubit/TAO/test.mak | 463 - TAO/IIOP/tests/Cubit/TAO/test.mdp | Bin 43008 -> 0 bytes TAO/IIOP/tests/Cubit/TAO/test1.cpp | 390 - TAO/IIOP/tests/Cubit/TAO/test1.h | 124 - TAO/IIOP/tests/Cubit/TAO/test1.idl | 78 - TAO/IIOP/tests/Cubit/TAO/test1_clnt.cpp | 678 - TAO/IIOP/tests/Cubit/TAO/test1_svr.cpp | 691 - .../tests/Cubit/VisiBroker/base_server/Makefile | 19 - .../Cubit/VisiBroker/base_server/Profile_Timer.cpp | 127 - .../Cubit/VisiBroker/base_server/Profile_Timer.h | 60 - .../tests/Cubit/VisiBroker/base_server/cubit.idl | 40 - .../Cubit/VisiBroker/base_server/cubit_impl.cpp | 46 - .../Cubit/VisiBroker/base_server/cubit_impl.h | 33 - .../tests/Cubit/VisiBroker/base_server/server.cpp | 49 - TAO/IIOP/tests/Cubit/VisiBroker/base_server/stdmk | 36 - TAO/IIOP/tests/Cubit/VisiBroker/client/Makefile | 19 - .../Cubit/VisiBroker/client/Profile_Timer.cpp | 127 - .../tests/Cubit/VisiBroker/client/Profile_Timer.h | 60 - TAO/IIOP/tests/Cubit/VisiBroker/client/client.cpp | 230 - TAO/IIOP/tests/Cubit/VisiBroker/client/cubit.idl | 40 - TAO/IIOP/tests/Cubit/VisiBroker/client/stdmk | 36 - TAO/IIOP/tests/Cubit/results/Orbix | 133 - TAO/IIOP/tests/Cubit/results/TAO | 92 - TAO/IIOP/tests/Cubit/results/Visibroker | 79 - TAO/IIOP/tests/Cubit/results/orbs.xls | Bin 26624 -> 0 bytes TAO/IIOP/tests/Thruput_test/Makefile | 53 - TAO/IIOP/tests/Thruput_test/README | 50 - TAO/IIOP/tests/Thruput_test/client.cpp | 336 - TAO/IIOP/tests/Thruput_test/run | 1 - TAO/IIOP/tests/Thruput_test/run_client | 25 - TAO/IIOP/tests/Thruput_test/run_server | 10 - TAO/IIOP/tests/Thruput_test/run_test | 32 - TAO/IIOP/tests/Thruput_test/server.cpp | 224 - TAO/IIOP/tests/Thruput_test/ttcp.idl | 32 - TAO/IIOP/tests/Thruput_test/ttcpC.cpp | 1005 - TAO/IIOP/tests/Thruput_test/ttcpC.h | 227 - TAO/IIOP/tests/Thruput_test/ttcpS.cpp | 321 - TAO/IIOP/tests/Thruput_test/ttcpS.h | 68 - TAO/IIOP/tests/Thruput_test/ttcp_decl.h | 151 - TAO/IIOP/tests/Thruput_test/ttcp_i.cpp | 88 - TAO/IIOP/tests/Thruput_test/ttcp_i.h | 50 - TAO/IIOP/tests/Thruput_test/utils.cpp | 559 - TAO/INSTALL | 92 - TAO/LICENSE.sun | 64 - TAO/Makefile | 107 - TAO/README | 77 - TAO/README.sun | 256 - TAO/TAO-INSTALL.html | 127 - TAO/TAO_IDL/ANNOUNCEMENT | 131 - TAO/TAO_IDL/CHANGES | 122 - TAO/TAO_IDL/GenExportH.BAT | 48 - TAO/TAO_IDL/INSTALL | 229 - TAO/TAO_IDL/Makefile | 6948 ----- TAO/TAO_IDL/README | 233 - TAO/TAO_IDL/TAO_IDL4.mak | 14255 ---------- TAO/TAO_IDL/TAO_IDL4.mdp | Bin 65024 -> 0 bytes TAO/TAO_IDL/VCAUTO.MAK | 5 - TAO/TAO_IDL/ast/Makefile | 1376 - TAO/TAO_IDL/ast/ast_argument.cpp | 152 - TAO/TAO_IDL/ast/ast_array.cpp | 189 - TAO/TAO_IDL/ast/ast_attribute.cpp | 132 - TAO/TAO_IDL/ast/ast_check.cpp | 138 - TAO/TAO_IDL/ast/ast_concrete_type.cpp | 104 - TAO/TAO_IDL/ast/ast_constant.cpp | 210 - TAO/TAO_IDL/ast/ast_decl.cpp | 312 - TAO/TAO_IDL/ast/ast_enum.cpp | 253 - TAO/TAO_IDL/ast/ast_enum_val.cpp | 117 - TAO/TAO_IDL/ast/ast_exception.cpp | 304 - TAO/TAO_IDL/ast/ast_expression.cpp | 1597 -- TAO/TAO_IDL/ast/ast_field.cpp | 151 - TAO/TAO_IDL/ast/ast_generator.cpp | 420 - TAO/TAO_IDL/ast/ast_interface.cpp | 603 - TAO/TAO_IDL/ast/ast_interface_fwd.cpp | 145 - TAO/TAO_IDL/ast/ast_module.cpp | 590 - TAO/TAO_IDL/ast/ast_native.cpp | 31 - TAO/TAO_IDL/ast/ast_operation.cpp | 328 - TAO/TAO_IDL/ast/ast_predefined_type.cpp | 128 - TAO/TAO_IDL/ast/ast_recursive.cpp | 165 - TAO/TAO_IDL/ast/ast_redef.cpp | 106 - TAO/TAO_IDL/ast/ast_root.cpp | 164 - TAO/TAO_IDL/ast/ast_sequence.cpp | 143 - TAO/TAO_IDL/ast/ast_string.cpp | 153 - TAO/TAO_IDL/ast/ast_structure.cpp | 309 - TAO/TAO_IDL/ast/ast_type.cpp | 103 - TAO/TAO_IDL/ast/ast_typedef.cpp | 129 - TAO/TAO_IDL/ast/ast_union.cpp | 553 - TAO/TAO_IDL/ast/ast_union_branch.cpp | 129 - TAO/TAO_IDL/ast/ast_union_label.cpp | 133 - TAO/TAO_IDL/be/Makefile | 5005 ---- TAO/TAO_IDL/be/be_args.cpp | 105 - TAO/TAO_IDL/be/be_argument.cpp | 158 - TAO/TAO_IDL/be/be_array.cpp | 1533 -- TAO/TAO_IDL/be/be_attribute.cpp | 730 - TAO/TAO_IDL/be/be_codegen.cpp | 567 - TAO/TAO_IDL/be/be_constant.cpp | 180 - TAO/TAO_IDL/be/be_decl.cpp | 568 - TAO/TAO_IDL/be/be_enum.cpp | 335 - TAO/TAO_IDL/be/be_enum_val.cpp | 147 - TAO/TAO_IDL/be/be_exception.cpp | 526 - TAO/TAO_IDL/be/be_expression.cpp | 80 - TAO/TAO_IDL/be/be_factory.cpp | 45 - TAO/TAO_IDL/be/be_field.cpp | 210 - TAO/TAO_IDL/be/be_generator.cpp | 419 - TAO/TAO_IDL/be/be_helper.cpp | 282 - TAO/TAO_IDL/be/be_init.cpp | 97 - TAO/TAO_IDL/be/be_interface.cpp | 2130 -- TAO/TAO_IDL/be/be_interface_fwd.cpp | 643 - TAO/TAO_IDL/be/be_interpretive.cpp | 307 - TAO/TAO_IDL/be/be_module.cpp | 222 - TAO/TAO_IDL/be/be_native.cpp | 102 - TAO/TAO_IDL/be/be_operation.cpp | 969 - TAO/TAO_IDL/be/be_predefined_type.cpp | 465 - TAO/TAO_IDL/be/be_produce.cpp | 198 - TAO/TAO_IDL/be/be_root.cpp | 315 - TAO/TAO_IDL/be/be_scope.cpp | 496 - TAO/TAO_IDL/be/be_sequence.cpp | 2646 -- TAO/TAO_IDL/be/be_state.cpp | 65 - TAO/TAO_IDL/be/be_state_argument.cpp | 2307 -- TAO/TAO_IDL/be/be_state_array.cpp | 118 - TAO/TAO_IDL/be/be_state_attribute.cpp | 1164 - TAO/TAO_IDL/be/be_state_exception.cpp | 409 - TAO/TAO_IDL/be/be_state_operation.cpp | 737 - TAO/TAO_IDL/be/be_state_sequence.cpp | 440 - TAO/TAO_IDL/be/be_state_structure.cpp | 280 - TAO/TAO_IDL/be/be_state_typedef.cpp | 368 - TAO/TAO_IDL/be/be_state_union.cpp | 1144 - TAO/TAO_IDL/be/be_string.cpp | 175 - TAO/TAO_IDL/be/be_structure.cpp | 911 - TAO/TAO_IDL/be/be_sunsoft.cpp | 108 - TAO/TAO_IDL/be/be_type.cpp | 285 - TAO/TAO_IDL/be/be_typedef.cpp | 344 - TAO/TAO_IDL/be/be_union.cpp | 1190 - TAO/TAO_IDL/be/be_union_branch.cpp | 213 - TAO/TAO_IDL/be/be_union_label.cpp | 25 - TAO/TAO_IDL/be/be_visitor.cpp | 165 - TAO/TAO_IDL/be/be_visitor_args.cpp | 2450 -- TAO/TAO_IDL/be/be_visitor_attribute.cpp | 182 - TAO/TAO_IDL/be/be_visitor_constant.cpp | 100 - TAO/TAO_IDL/be/be_visitor_context.cpp | 463 - TAO/TAO_IDL/be/be_visitor_decl.cpp | 37 - TAO/TAO_IDL/be/be_visitor_enum.cpp | 158 - TAO/TAO_IDL/be/be_visitor_exception.cpp | 909 - TAO/TAO_IDL/be/be_visitor_field.cpp | 777 - TAO/TAO_IDL/be/be_visitor_interface.cpp | 1934 -- TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp | 146 - TAO/TAO_IDL/be/be_visitor_module.cpp | 658 - TAO/TAO_IDL/be/be_visitor_operation.cpp | 3068 --- TAO/TAO_IDL/be/be_visitor_root.cpp | 796 - TAO/TAO_IDL/be/be_visitor_scope.cpp | 89 - TAO/TAO_IDL/be/be_visitor_sequence.cpp | 1507 -- TAO/TAO_IDL/be/be_visitor_structure.cpp | 293 - TAO/TAO_IDL/be/be_visitor_typedef.cpp | 1147 - TAO/TAO_IDL/be/be_visitor_union.cpp | 851 - TAO/TAO_IDL/be/be_visitor_union_branch.cpp | 2107 -- TAO/TAO_IDL/be_include/be.h | 124 - TAO/TAO_IDL/be_include/be_argument.h | 65 - TAO/TAO_IDL/be_include/be_array.h | 120 - TAO/TAO_IDL/be_include/be_attribute.h | 64 - TAO/TAO_IDL/be_include/be_codegen.h | 459 - TAO/TAO_IDL/be_include/be_constant.h | 72 - TAO/TAO_IDL/be_include/be_decl.h | 179 - TAO/TAO_IDL/be_include/be_enum.h | 95 - TAO/TAO_IDL/be_include/be_enum_val.h | 71 - TAO/TAO_IDL/be_include/be_exception.h | 77 - TAO/TAO_IDL/be_include/be_expression.h | 46 - TAO/TAO_IDL/be_include/be_factory.h | 72 - TAO/TAO_IDL/be_include/be_field.h | 74 - TAO/TAO_IDL/be_include/be_generator.h | 164 - TAO/TAO_IDL/be_include/be_helper.h | 174 - TAO/TAO_IDL/be_include/be_interface.h | 181 - TAO/TAO_IDL/be_include/be_interface_fwd.h | 92 - TAO/TAO_IDL/be_include/be_interpretive.h | 40 - TAO/TAO_IDL/be_include/be_module.h | 72 - TAO/TAO_IDL/be_include/be_native.h | 75 - TAO/TAO_IDL/be_include/be_operation.h | 94 - TAO/TAO_IDL/be_include/be_predefined_type.h | 93 - TAO/TAO_IDL/be_include/be_root.h | 77 - TAO/TAO_IDL/be_include/be_scope.h | 92 - TAO/TAO_IDL/be_include/be_sequence.h | 145 - TAO/TAO_IDL/be_include/be_state.h | 294 - TAO/TAO_IDL/be_include/be_string.h | 87 - TAO/TAO_IDL/be_include/be_structure.h | 111 - TAO/TAO_IDL/be_include/be_sunsoft.h | 45 - TAO/TAO_IDL/be_include/be_type.h | 122 - TAO/TAO_IDL/be_include/be_typedef.h | 93 - TAO/TAO_IDL/be_include/be_union.h | 119 - TAO/TAO_IDL/be_include/be_union_branch.h | 74 - TAO/TAO_IDL/be_include/be_union_label.h | 17 - TAO/TAO_IDL/be_include/be_visitor.h | 157 - TAO/TAO_IDL/be_include/be_visitor_args.h | 574 - TAO/TAO_IDL/be_include/be_visitor_attribute.h | 56 - TAO/TAO_IDL/be_include/be_visitor_constant.h | 72 - TAO/TAO_IDL/be_include/be_visitor_context.h | 226 - TAO/TAO_IDL/be_include/be_visitor_decl.h | 52 - TAO/TAO_IDL/be_include/be_visitor_enum.h | 81 - TAO/TAO_IDL/be_include/be_visitor_exception.h | 231 - TAO/TAO_IDL/be_include/be_visitor_field.h | 162 - TAO/TAO_IDL/be_include/be_visitor_interface.h | 257 - TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h | 72 - TAO/TAO_IDL/be_include/be_visitor_module.h | 124 - TAO/TAO_IDL/be_include/be_visitor_operation.h | 762 - TAO/TAO_IDL/be_include/be_visitor_root.h | 210 - TAO/TAO_IDL/be_include/be_visitor_scope.h | 53 - TAO/TAO_IDL/be_include/be_visitor_sequence.h | 211 - TAO/TAO_IDL/be_include/be_visitor_structure.h | 121 - TAO/TAO_IDL/be_include/be_visitor_typedef.h | 182 - TAO/TAO_IDL/be_include/be_visitor_union.h | 200 - TAO/TAO_IDL/be_include/be_visitor_union_branch.h | 254 - 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 | 361 - TAO/TAO_IDL/driver/drv_args.cpp | 271 - TAO/TAO_IDL/driver/drv_fork.cpp | 125 - TAO/TAO_IDL/driver/drv_init.cpp | 119 - TAO/TAO_IDL/driver/drv_link.cpp | 136 - TAO/TAO_IDL/driver/drv_preproc.cpp | 351 - TAO/TAO_IDL/driver/drv_private.cpp | 79 - TAO/TAO_IDL/fe/Makefile | 393 - TAO/TAO_IDL/fe/fe_declarator.cpp | 157 - TAO/TAO_IDL/fe/fe_extern.cpp | 121 - TAO/TAO_IDL/fe/fe_init.cpp | 367 - TAO/TAO_IDL/fe/fe_interface_header.cpp | 282 - TAO/TAO_IDL/fe/fe_private.cpp | 78 - TAO/TAO_IDL/fe/idl.ll | 528 - TAO/TAO_IDL/fe/idl.yy | 2288 -- TAO/TAO_IDL/fe/lex.yy.cpp | 2199 -- TAO/TAO_IDL/fe/lex.yy.cpp.diff | 34 - TAO/TAO_IDL/fe/y.tab.cpp | 3297 --- TAO/TAO_IDL/fe/y.tab.cpp.diff | 127 - TAO/TAO_IDL/fe/y.tab.h | 77 - TAO/TAO_IDL/idl_make_vars | 62 - TAO/TAO_IDL/idl_specs/array.idl | 37 - TAO/TAO_IDL/idl_specs/constant.idl | 29 - TAO/TAO_IDL/idl_specs/dif2.idl | 48 - TAO/TAO_IDL/idl_specs/inherit.idl | 17 - TAO/TAO_IDL/idl_specs/module.idl | 20 - TAO/TAO_IDL/idl_specs/primtypes.idl | 23 - TAO/TAO_IDL/idl_specs/sequence.idl | 25 - TAO/TAO_IDL/idl_specs/simple.idl | 16 - TAO/TAO_IDL/idl_specs/simple2.idl | 26 - TAO/TAO_IDL/idl_specs/struct.idl | 52 - TAO/TAO_IDL/idl_specs/union.idl | 26 - TAO/TAO_IDL/idl_specs/union2.idl | 21 - TAO/TAO_IDL/include/ast.h | 118 - TAO/TAO_IDL/include/ast_argument.h | 113 - TAO/TAO_IDL/include/ast_array.h | 115 - TAO/TAO_IDL/include/ast_attribute.h | 107 - TAO/TAO_IDL/include/ast_concrete_type.h | 93 - TAO/TAO_IDL/include/ast_constant.h | 115 - TAO/TAO_IDL/include/ast_decl.h | 188 - TAO/TAO_IDL/include/ast_enum.h | 113 - TAO/TAO_IDL/include/ast_enum_val.h | 97 - TAO/TAO_IDL/include/ast_exception.h | 116 - TAO/TAO_IDL/include/ast_expression.h | 229 - TAO/TAO_IDL/include/ast_extern.h | 91 - TAO/TAO_IDL/include/ast_field.h | 117 - TAO/TAO_IDL/include/ast_generator.h | 217 - TAO/TAO_IDL/include/ast_interface.h | 145 - TAO/TAO_IDL/include/ast_interface_fwd.h | 104 - TAO/TAO_IDL/include/ast_module.h | 119 - TAO/TAO_IDL/include/ast_native.h | 35 - TAO/TAO_IDL/include/ast_operation.h | 137 - TAO/TAO_IDL/include/ast_predefined_type.h | 125 - TAO/TAO_IDL/include/ast_root.h | 105 - TAO/TAO_IDL/include/ast_sequence.h | 106 - TAO/TAO_IDL/include/ast_string.h | 106 - TAO/TAO_IDL/include/ast_structure.h | 116 - TAO/TAO_IDL/include/ast_type.h | 99 - TAO/TAO_IDL/include/ast_typedef.h | 103 - TAO/TAO_IDL/include/ast_union.h | 141 - TAO/TAO_IDL/include/ast_union_branch.h | 107 - TAO/TAO_IDL/include/ast_union_label.h | 108 - TAO/TAO_IDL/include/be_extern.h | 80 - TAO/TAO_IDL/include/drv_extern.h | 84 - TAO/TAO_IDL/include/drv_link.h | 122 - TAO/TAO_IDL/include/drv_private.h | 81 - TAO/TAO_IDL/include/fe_declarator.h | 111 - TAO/TAO_IDL/include/fe_extern.h | 107 - TAO/TAO_IDL/include/fe_interface_header.h | 107 - TAO/TAO_IDL/include/fe_private.h | 88 - TAO/TAO_IDL/include/global_extern.h | 78 - TAO/TAO_IDL/include/idl.h | 94 - TAO/TAO_IDL/include/idl_bool.h | 92 - TAO/TAO_IDL/include/idl_defines.h | 82 - TAO/TAO_IDL/include/idl_extern.h | 79 - TAO/TAO_IDL/include/idl_fwd.h | 146 - TAO/TAO_IDL/include/idl_global.h | 366 - TAO/TAO_IDL/include/idl_narrow.h | 262 - TAO/TAO_IDL/include/intlmacros.h | 85 - TAO/TAO_IDL/include/nr_extern.h | 74 - TAO/TAO_IDL/include/util.h | 85 - TAO/TAO_IDL/include/utl_decllist.h | 119 - TAO/TAO_IDL/include/utl_err.h | 181 - TAO/TAO_IDL/include/utl_error.h | 181 - TAO/TAO_IDL/include/utl_exceptlist.h | 119 - TAO/TAO_IDL/include/utl_exprlist.h | 119 - TAO/TAO_IDL/include/utl_identifier.h | 111 - TAO/TAO_IDL/include/utl_idlist.h | 145 - TAO/TAO_IDL/include/utl_indenter.h | 115 - TAO/TAO_IDL/include/utl_labellist.h | 119 - TAO/TAO_IDL/include/utl_list.h | 148 - TAO/TAO_IDL/include/utl_namelist.h | 119 - TAO/TAO_IDL/include/utl_scope.h | 290 - TAO/TAO_IDL/include/utl_scoped_name.h | 80 - TAO/TAO_IDL/include/utl_stack.h | 148 - TAO/TAO_IDL/include/utl_string.h | 141 - TAO/TAO_IDL/include/utl_strlist.h | 133 - TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h | 98 - TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h | 106 - TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h | 99 - TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h | 98 - TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h | 94 - TAO/TAO_IDL/include/utl_tmpl/utl_list.h | 138 - TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h | 96 - TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h | 102 - TAO/TAO_IDL/narrow/Makefile | 100 - TAO/TAO_IDL/narrow/narrow.cpp | 137 - TAO/TAO_IDL/tao_idl.MAK | 26122 ------------------- TAO/TAO_IDL/tao_idl.cpp | 256 - TAO/TAO_IDL/tao_idl.dsp | 1067 - TAO/TAO_IDL/tao_idl.dsw | 29 - TAO/TAO_IDL/util/Makefile | 719 - TAO/TAO_IDL/util/utl_decllist.cpp | 147 - TAO/TAO_IDL/util/utl_err.cpp | 700 - TAO/TAO_IDL/util/utl_error.cpp | 700 - TAO/TAO_IDL/util/utl_exceptlist.cpp | 145 - TAO/TAO_IDL/util/utl_exprlist.cpp | 145 - TAO/TAO_IDL/util/utl_global.cpp | 616 - TAO/TAO_IDL/util/utl_identifier.cpp | 120 - TAO/TAO_IDL/util/utl_idlist.cpp | 189 - TAO/TAO_IDL/util/utl_indenter.cpp | 131 - TAO/TAO_IDL/util/utl_labellist.cpp | 145 - TAO/TAO_IDL/util/utl_list.cpp | 195 - TAO/TAO_IDL/util/utl_namelist.cpp | 145 - TAO/TAO_IDL/util/utl_scope.cpp | 1204 - TAO/TAO_IDL/util/utl_stack.cpp | 255 - TAO/TAO_IDL/util/utl_string.cpp | 210 - TAO/TAO_IDL/util/utl_strlist.cpp | 196 - TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp | 103 - TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp | 102 - TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp | 102 - TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp | 135 - TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp | 102 - TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp | 209 - TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp | 104 - TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp | 137 - TAO/VCAUTO.MAK | 5 - TAO/VERSION | 5 - TAO/announcement | 61 - TAO/docs/DIFFERENCES | 360 - TAO/docs/HISTORY | 44 - TAO/docs/Options.html | 207 - TAO/docs/REFERENCES | 91 - TAO/docs/compiler.html | 119 - TAO/docs/components.html | 39 - TAO/docs/configurations.html | 231 - TAO/docs/index.html | 45 - TAO/docs/orbsvcs.html | 77 - TAO/docs/poa_migration.html | 44 - TAO/docs/releasenotes.html | 26 - TAO/docs/releasenotes/ec.html | 148 - TAO/docs/releasenotes/index.html | 487 - TAO/docs/releasenotes/orbcore.html | 477 - TAO/docs/releasenotes/trader.html | 32 - TAO/examples/Simulator/Event_Supplier/EDF.dat | 72 - .../Simulator/Event_Supplier/Event_Con.cpp | 366 - TAO/examples/Simulator/Event_Supplier/Event_Con.h | 73 - .../Simulator/Event_Supplier/Event_Sup.cpp | 722 - TAO/examples/Simulator/Event_Supplier/Event_Sup.h | 141 - TAO/examples/Simulator/Event_Supplier/MLF.dat | 72 - TAO/examples/Simulator/Event_Supplier/MUF.dat | 72 - TAO/examples/Simulator/Event_Supplier/Makefile | 748 - TAO/examples/Simulator/Event_Supplier/RMS.dat | 72 - TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat | 72 - TAO/examples/Simulator/Event_Supplier/svc.conf | 49 - TAO/examples/Simulator/NavWeap.idl | 50 - TAO/examples/Simulator/README | 118 - .../Simulator/Sim_Display/Border_Panel.java | 57 - TAO/examples/Simulator/Sim_Display/Display.java | 92 - .../Simulator/Sim_Display/Display_Art_Horizon.java | 377 - .../Simulator/Sim_Display/Display_Client.java | 115 - .../Simulator/Sim_Display/Display_Consumer.java | 172 - .../Simulator/Sim_Display/Display_Object.java | 8 - .../Sim_Display/Display_Object_Factory.java | 42 - .../Sim_Display/Display_Push_Consumer.java | 240 - .../Simulator/Sim_Display/Display_Weapons.java | 123 - TAO/examples/Simulator/Sim_Display/Graph.java | 163 - .../Simulator/Sim_Display/Graph_Panel.java | 181 - TAO/examples/Simulator/Sim_Display/NS_Resolve.java | 109 - TAO/examples/Simulator/Sim_Display/Queue.java | 190 - TAO/examples/Simulator/Sim_Display/Sim_Panel.java | 64 - TAO/examples/Simulator/ss | 56 - TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp | 72 - TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp | 99 - TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw | 29 - TAO/orbsvcs/Dump_Schedule/Makefile | 237 - TAO/orbsvcs/Dump_Schedule/svc.conf | 49 - TAO/orbsvcs/Event_Service/Event_Service.cpp | 119 - TAO/orbsvcs/Event_Service/Event_Service.dsp | 147 - TAO/orbsvcs/Event_Service/Event_Service.dsw | 29 - TAO/orbsvcs/Event_Service/Makefile | 276 - TAO/orbsvcs/Event_Service/svc.conf | 49 - TAO/orbsvcs/Makefile | 27 - TAO/orbsvcs/Naming_Service/Makefile | 48 - TAO/orbsvcs/Naming_Service/Naming_Service.cpp | 100 - TAO/orbsvcs/Naming_Service/Naming_Service.dsp | 111 - TAO/orbsvcs/Naming_Service/Naming_Service.dsw | 29 - TAO/orbsvcs/Naming_Service/Naming_Service.h | 60 - TAO/orbsvcs/Naming_Service/svc.conf | 49 - TAO/orbsvcs/README | 1 - TAO/orbsvcs/Scheduling_Service/Makefile | 240 - .../Scheduling_Service/Scheduling_Service.cpp | 81 - .../Scheduling_Service/Scheduling_Service.dsp | 112 - .../Scheduling_Service/Scheduling_Service.dsw | 29 - TAO/orbsvcs/Scheduling_Service/svc.conf | 49 - TAO/orbsvcs/Trading_Service/Makefile | 76 - TAO/orbsvcs/Trading_Service/trader.cpp | 97 - TAO/orbsvcs/orbsvcs.dsw | 89 - TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp | 771 - TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h | 495 - TAO/orbsvcs/orbsvcs/AV/sfp.cpp | 211 - TAO/orbsvcs/orbsvcs/AV/sfp.h | 81 - TAO/orbsvcs/orbsvcs/AVStreams.idl | 504 - TAO/orbsvcs/orbsvcs/AVStreams_Full.idl | 250 - TAO/orbsvcs/orbsvcs/Channel_Clients.cpp | 1 - TAO/orbsvcs/orbsvcs/Channel_Clients.h | 26 - TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp | 31 - TAO/orbsvcs/orbsvcs/Channel_Clients_T.h | 88 - TAO/orbsvcs/orbsvcs/Channel_Clients_T.i | 17 - TAO/orbsvcs/orbsvcs/CosNaming.idl | 207 - TAO/orbsvcs/orbsvcs/CosPropertyService.idl | 405 - TAO/orbsvcs/orbsvcs/CosTimeBase.idl | 62 - TAO/orbsvcs/orbsvcs/CosTrading.idl | 711 - TAO/orbsvcs/orbsvcs/Event/BCU.cpp | 31 - TAO/orbsvcs/orbsvcs/Event/BCU.h | 36 - TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.cpp | 349 - TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.h | 236 - TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.i | 75 - TAO/orbsvcs/orbsvcs/Event/Channel_Clients.i | 2 - TAO/orbsvcs/orbsvcs/Event/Channel_Clients_T.i | 35 - TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h | 11 - TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp | 616 - TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h | 486 - TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.i | 267 - TAO/orbsvcs/orbsvcs/Event/Event_Channel.cpp | 2779 -- TAO/orbsvcs/orbsvcs/Event/Event_Channel.h | 1305 - TAO/orbsvcs/orbsvcs/Event/Event_Channel.i | 892 - TAO/orbsvcs/orbsvcs/Event/Fast_Reactor.h | 53 - TAO/orbsvcs/orbsvcs/Event/GPlot_File.cpp | 179 - TAO/orbsvcs/orbsvcs/Event/GPlot_File.h | 97 - TAO/orbsvcs/orbsvcs/Event/GPlot_File.i | 70 - TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.cpp | 9 - TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.h | 62 - TAO/orbsvcs/orbsvcs/Event/Local_ESTypes.i | 5 - TAO/orbsvcs/orbsvcs/Event/Memory_Pools.cpp | 43 - TAO/orbsvcs/orbsvcs/Event/Memory_Pools.h | 107 - TAO/orbsvcs/orbsvcs/Event/Memory_Pools.i | 54 - TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp | 408 - TAO/orbsvcs/orbsvcs/Event/RT_Task.h | 178 - TAO/orbsvcs/orbsvcs/Event/RT_Task.i | 8 - TAO/orbsvcs/orbsvcs/Event/ReactorTask.cpp | 113 - TAO/orbsvcs/orbsvcs/Event/ReactorTask.h | 76 - TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp | 45 - TAO/orbsvcs/orbsvcs/Event/Task_Manager.h | 56 - TAO/orbsvcs/orbsvcs/Event/Task_Manager.i | 30 - TAO/orbsvcs/orbsvcs/Event_Service_Constants.h | 98 - TAO/orbsvcs/orbsvcs/Event_Utilities.cpp | 131 - TAO/orbsvcs/orbsvcs/Event_Utilities.h | 222 - TAO/orbsvcs/orbsvcs/Event_Utilities.i | 99 - TAO/orbsvcs/orbsvcs/Logger.idl | 21 - TAO/orbsvcs/orbsvcs/Makefile | 13855 ---------- TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.cpp | 627 - TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.h | 139 - TAO/orbsvcs/orbsvcs/Naming/Entries.cpp | 106 - TAO/orbsvcs/orbsvcs/Naming/Entries.h | 108 - TAO/orbsvcs/orbsvcs/Naming/Ior_Multicast.cpp | 109 - TAO/orbsvcs/orbsvcs/Naming/Ior_Multicast.h | 83 - TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp | 154 - TAO/orbsvcs/orbsvcs/Naming/Naming_Utils.h | 75 - .../orbsvcs/Property/CosPropertyService_i.cpp | 556 - .../orbsvcs/Property/CosPropertyService_i.h | 363 - TAO/orbsvcs/orbsvcs/Property/CosProperty_Hash.cpp | 91 - TAO/orbsvcs/orbsvcs/Property/CosProperty_Hash.h | 93 - TAO/orbsvcs/orbsvcs/RtecEventChannelAdmin.idl | 70 - TAO/orbsvcs/orbsvcs/RtecEventComm.idl | 87 - TAO/orbsvcs/orbsvcs/RtecScheduler.idl | 222 - TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp | 173 - TAO/orbsvcs/orbsvcs/Runtime_Scheduler.h | 96 - TAO/orbsvcs/orbsvcs/Runtime_Scheduler.i | 5 - TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.cpp | 267 - TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h | 94 - TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.i | 5 - TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp | 1410 - TAO/orbsvcs/orbsvcs/Sched/DynSched.h | 464 - TAO/orbsvcs/orbsvcs/Sched/DynSched.i | 100 - TAO/orbsvcs/orbsvcs/Sched/SchedEntry.cpp | 858 - TAO/orbsvcs/orbsvcs/Sched/SchedEntry.h | 579 - TAO/orbsvcs/orbsvcs/Sched/SchedEntry.i | 374 - TAO/orbsvcs/orbsvcs/Sched/Scheduler.cpp | 283 - TAO/orbsvcs/orbsvcs/Sched/Scheduler.h | 272 - TAO/orbsvcs/orbsvcs/Sched/Scheduler.i | 20 - TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp | 262 - TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h | 129 - TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i | 21 - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp | 981 - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h | 420 - TAO/orbsvcs/orbsvcs/Sched/Strategy_Scheduler.i | 21 - TAO/orbsvcs/orbsvcs/Scheduler_Factory.cpp | 251 - TAO/orbsvcs/orbsvcs/Scheduler_Factory.h | 98 - TAO/orbsvcs/orbsvcs/Scheduler_Factory.i | 6 - TAO/orbsvcs/orbsvcs/Scheduler_Utilities.cpp | 14 - TAO/orbsvcs/orbsvcs/Scheduler_Utilities.h | 46 - TAO/orbsvcs/orbsvcs/Scheduler_Utilities.i | 32 - TAO/orbsvcs/orbsvcs/Sequences.idl | 23 - TAO/orbsvcs/orbsvcs/Time_Utilities.cpp | 10 - TAO/orbsvcs/orbsvcs/Time_Utilities.h | 74 - TAO/orbsvcs/orbsvcs/Time_Utilities.i | 106 - TAO/orbsvcs/orbsvcs/Trader/Admin.cpp | 322 - TAO/orbsvcs/orbsvcs/Trader/Admin.h | 195 - TAO/orbsvcs/orbsvcs/Trader/Attributes.cpp | 587 - TAO/orbsvcs/orbsvcs/Trader/Attributes.h | 403 - TAO/orbsvcs/orbsvcs/Trader/Constraint.cpp | 49 - TAO/orbsvcs/orbsvcs/Trader/Constraint.h | 66 - .../orbsvcs/Trader/Constraint_Evaluator.cpp | 627 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Evaluator.h | 166 - .../orbsvcs/Trader/Constraint_Interpreter.cpp | 77 - .../orbsvcs/Trader/Constraint_Interpreter.h | 70 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp | 917 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h | 310 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Tokens.h | 34 - .../orbsvcs/Trader/Constraint_Validator.cpp | 468 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Validator.h | 143 - TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitor.h | 79 - TAO/orbsvcs/orbsvcs/Trader/Constraint_l.cpp | 1782 -- TAO/orbsvcs/orbsvcs/Trader/Constraint_y.cpp | 907 - TAO/orbsvcs/orbsvcs/Trader/Dynamic_Property.cpp | 80 - TAO/orbsvcs/orbsvcs/Trader/Dynamic_Property.h | 84 - TAO/orbsvcs/orbsvcs/Trader/Interpreter.cpp | 54 - TAO/orbsvcs/orbsvcs/Trader/Interpreter.h | 45 - TAO/orbsvcs/orbsvcs/Trader/Link.cpp | 214 - TAO/orbsvcs/orbsvcs/Trader/Link.h | 199 - TAO/orbsvcs/orbsvcs/Trader/Locking.h | 57 - TAO/orbsvcs/orbsvcs/Trader/Lookup.cpp | 774 - TAO/orbsvcs/orbsvcs/Trader/Lookup.h | 309 - TAO/orbsvcs/orbsvcs/Trader/Monitor.h | 63 - TAO/orbsvcs/orbsvcs/Trader/Offer_Filter.cpp | 82 - TAO/orbsvcs/orbsvcs/Trader/Offer_Filter.h | 87 - TAO/orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.cpp | 110 - TAO/orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.h | 92 - TAO/orbsvcs/orbsvcs/Trader/Offer_Iterator.cpp | 60 - TAO/orbsvcs/orbsvcs/Trader/Offer_Iterator.h | 92 - .../orbsvcs/Trader/Offer_Iterator_Collection.cpp | 132 - .../orbsvcs/Trader/Offer_Iterator_Collection.h | 85 - TAO/orbsvcs/orbsvcs/Trader/Offer_Modifier.cpp | 135 - TAO/orbsvcs/orbsvcs/Trader/Offer_Modifier.h | 80 - TAO/orbsvcs/orbsvcs/Trader/Policies.cpp | 509 - TAO/orbsvcs/orbsvcs/Trader/Policies.h | 289 - TAO/orbsvcs/orbsvcs/Trader/Policy_Manager.cpp | 134 - TAO/orbsvcs/orbsvcs/Trader/Policy_Manager.h | 77 - .../orbsvcs/Trader/Preference_Interpreter.cpp | 131 - .../orbsvcs/Trader/Preference_Interpreter.h | 87 - TAO/orbsvcs/orbsvcs/Trader/Property_Evaluator.cpp | 228 - TAO/orbsvcs/orbsvcs/Trader/Property_Evaluator.h | 142 - TAO/orbsvcs/orbsvcs/Trader/Property_Filter.cpp | 97 - TAO/orbsvcs/orbsvcs/Trader/Property_Filter.h | 60 - TAO/orbsvcs/orbsvcs/Trader/Proxy.cpp | 93 - TAO/orbsvcs/orbsvcs/Trader/Proxy.h | 88 - .../orbsvcs/Trader/Query_Only_Offer_Iterator.cpp | 74 - .../orbsvcs/Trader/Query_Only_Offer_Iterator.h | 67 - TAO/orbsvcs/orbsvcs/Trader/README | 60 - TAO/orbsvcs/orbsvcs/Trader/Register.cpp | 384 - TAO/orbsvcs/orbsvcs/Trader/Register.h | 314 - .../orbsvcs/Trader/Register_Offer_Iterator.cpp | 109 - .../orbsvcs/Trader/Register_Offer_Iterator.h | 80 - TAO/orbsvcs/orbsvcs/Trader/Service_Type_Map.cpp | 438 - TAO/orbsvcs/orbsvcs/Trader/Service_Type_Map.h | 224 - .../orbsvcs/Trader/Service_Type_Repository.cpp | 539 - .../orbsvcs/Trader/Service_Type_Repository.h | 307 - TAO/orbsvcs/orbsvcs/Trader/Trader.cpp | 114 - TAO/orbsvcs/orbsvcs/Trader/Trader.h | 104 - TAO/orbsvcs/orbsvcs/Trader/Trader_Base.cpp | 100 - TAO/orbsvcs/orbsvcs/Trader/Trader_Base.h | 91 - TAO/orbsvcs/orbsvcs/Trader/constraint.l | 130 - TAO/orbsvcs/orbsvcs/Trader/constraint.y | 135 - TAO/orbsvcs/orbsvcs/orbsvcs.dsp | 619 - TAO/orbsvcs/orbsvcs/orbsvcs.dsw | 41 - TAO/orbsvcs/orbsvcs/orbsvcs_export.h | 33 - TAO/orbsvcs/orbsvcs/orbsvcs_lib.dsp | 519 - TAO/orbsvcs/orbsvcs/sfp.idl | 83 - TAO/orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp | 24 - TAO/orbsvcs/tests/AVStreams/Makefile | 66 - TAO/orbsvcs/tests/AVStreams/client.cpp | 245 - TAO/orbsvcs/tests/AVStreams/client.h | 103 - TAO/orbsvcs/tests/AVStreams/mpeg/ANNOUNCE | 45 - TAO/orbsvcs/tests/AVStreams/mpeg/BUGS | 21 - TAO/orbsvcs/tests/AVStreams/mpeg/COPYING | 339 - TAO/orbsvcs/tests/AVStreams/mpeg/INSTALL | 231 - TAO/orbsvcs/tests/AVStreams/mpeg/INSTALL.UCB | 105 - TAO/orbsvcs/tests/AVStreams/mpeg/PatchLevel | 12 - TAO/orbsvcs/tests/AVStreams/mpeg/README | 142 - TAO/orbsvcs/tests/AVStreams/mpeg/README.MI | 39 - TAO/orbsvcs/tests/AVStreams/mpeg/README.UCB | 105 - TAO/orbsvcs/tests/AVStreams/mpeg/VERSION | 1 - TAO/orbsvcs/tests/AVStreams/mpeg/source/Makefile | 30 - TAO/orbsvcs/tests/AVStreams/mpeg/source/TODO | 57 - .../tests/AVStreams/mpeg/source/client/Makefile | 56 - .../tests/AVStreams/mpeg/source/client/vcr.cpp | 469 - .../tests/AVStreams/mpeg/source/include/common.h | 585 - .../AVStreams/mpeg/source/mpeg_client/24bit.cpp | 213 - .../AVStreams/mpeg/source/mpeg_client/2x2.cpp | 372 - .../AVStreams/mpeg/source/mpeg_client/Makefile | 315 - .../tests/AVStreams/mpeg/source/mpeg_client/ab.cpp | 475 - .../AVStreams/mpeg/source/mpeg_client/audio.cpp | 490 - .../AVStreams/mpeg/source/mpeg_client/ctr.cpp | 3035 --- .../AVStreams/mpeg/source/mpeg_client/decoders.cpp | 933 - .../AVStreams/mpeg/source/mpeg_client/decoders.h | 475 - .../AVStreams/mpeg/source/mpeg_client/dither.h | 36 - .../AVStreams/mpeg/source/mpeg_client/file.cpp | 146 - .../AVStreams/mpeg/source/mpeg_client/fs2.cpp | 394 - .../tests/AVStreams/mpeg/source/mpeg_client/fs2.h | 28 - .../AVStreams/mpeg/source/mpeg_client/fs2fast.cpp | 295 - .../AVStreams/mpeg/source/mpeg_client/fs4.cpp | 308 - .../tests/AVStreams/mpeg/source/mpeg_client/fs4.h | 30 - .../AVStreams/mpeg/source/mpeg_client/global.cpp | 92 - .../AVStreams/mpeg/source/mpeg_client/global.h | 67 - .../AVStreams/mpeg/source/mpeg_client/gray.cpp | 81 - .../AVStreams/mpeg/source/mpeg_client/hybrid.cpp | 231 - .../mpeg/source/mpeg_client/hybriderr.cpp | 355 - .../AVStreams/mpeg/source/mpeg_client/info.cpp | 60 - .../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 | 1457 -- .../mpeg/source/mpeg_client/mb_ordered.cpp | 512 - .../AVStreams/mpeg/source/mpeg_client/mibload.h | 155 - .../AVStreams/mpeg/source/mpeg_client/mono.cpp | 252 - .../mpeg/source/mpeg_client/motionvector.cpp | 192 - .../AVStreams/mpeg/source/mpeg_client/newproto.h | 110 - .../AVStreams/mpeg/source/mpeg_client/ordered.cpp | 285 - .../AVStreams/mpeg/source/mpeg_client/ordered2.cpp | 323 - .../AVStreams/mpeg/source/mpeg_client/para.cpp | 371 - .../mpeg/source/mpeg_client/parseblock.cpp | 446 - .../AVStreams/mpeg/source/mpeg_client/prog.cpp | 916 - .../AVStreams/mpeg/source/mpeg_client/proto.h | 128 - .../tests/AVStreams/mpeg/source/mpeg_client/ui.cpp | 989 - .../tests/AVStreams/mpeg/source/mpeg_client/ui.h | 18 - .../AVStreams/mpeg/source/mpeg_client/util.cpp | 461 - .../tests/AVStreams/mpeg/source/mpeg_client/util.h | 363 - .../AVStreams/mpeg/source/mpeg_client/util32.cpp | 77 - .../tests/AVStreams/mpeg/source/mpeg_client/vb.cpp | 1034 - .../tests/AVStreams/mpeg/source/mpeg_client/vd.cpp | 929 - .../AVStreams/mpeg/source/mpeg_client/video.cpp | 3756 --- .../AVStreams/mpeg/source/mpeg_client/video.h | 285 - .../tests/AVStreams/mpeg/source/mpeg_client/vp.cpp | 916 - .../tests/AVStreams/mpeg/source/mpeg_mib/Makefile | 76 - .../AVStreams/mpeg/source/mpeg_mib/mibButton.cpp | 172 - .../AVStreams/mpeg/source/mpeg_mib/mibDrawArea.cpp | 118 - .../AVStreams/mpeg/source/mpeg_mib/mibFrame.cpp | 179 - .../AVStreams/mpeg/source/mpeg_mib/mibLabel.cpp | 163 - .../AVStreams/mpeg/source/mpeg_mib/mibList.cpp | 163 - .../AVStreams/mpeg/source/mpeg_mib/mibMenu.cpp | 247 - .../AVStreams/mpeg/source/mpeg_mib/mibRadioBox.cpp | 207 - .../AVStreams/mpeg/source/mpeg_mib/mibScale.cpp | 201 - .../mpeg/source/mpeg_mib/mibScrollBar.cpp | 161 - .../AVStreams/mpeg/source/mpeg_mib/mibTextBig.cpp | 144 - .../AVStreams/mpeg/source/mpeg_mib/mibTextBox.cpp | 130 - .../AVStreams/mpeg/source/mpeg_mib/mibToggle.cpp | 190 - .../AVStreams/mpeg/source/mpeg_mib/mibload.cpp | 801 - .../tests/AVStreams/mpeg/source/mpeg_mib/mibload.h | 168 - .../AVStreams/mpeg/source/mpeg_mib/mibwidgets.h | 225 - .../AVStreams/mpeg/source/mpeg_server/Globals.cpp | 326 - .../AVStreams/mpeg/source/mpeg_server/Globals.h | 251 - .../AVStreams/mpeg/source/mpeg_server/Makefile | 230 - .../mpeg/source/mpeg_server/Video_Server.cpp | 1033 - .../mpeg/source/mpeg_server/Video_Server.h | 183 - .../tests/AVStreams/mpeg/source/mpeg_server/as.cpp | 705 - .../AVStreams/mpeg/source/mpeg_server/las.cpp | 252 - .../AVStreams/mpeg/source/mpeg_server/lvs.cpp | 410 - .../AVStreams/mpeg/source/mpeg_server/proto.h | 63 - .../tests/AVStreams/mpeg/source/mpeg_server/vs.cpp | 2202 -- .../AVStreams/mpeg/source/mpeg_shared/Makefile | 118 - .../AVStreams/mpeg/source/mpeg_shared/com.cpp | 1634 -- .../tests/AVStreams/mpeg/source/mpeg_shared/com.h | 111 - .../AVStreams/mpeg/source/mpeg_shared/fileio.cpp | 406 - .../AVStreams/mpeg/source/mpeg_shared/fileio.h | 100 - .../AVStreams/mpeg/source/mpeg_shared/filters.cpp | 367 - .../AVStreams/mpeg/source/mpeg_shared/filters.h | 85 - .../AVStreams/mpeg/source/mpeg_shared/routine.cpp | 506 - .../AVStreams/mpeg/source/mpeg_shared/routine.h | 54 - .../AVStreams/mpeg/source/mpeg_shared/sendpt.cpp | 137 - .../AVStreams/mpeg/source/mpeg_shared/sendpt.h | 32 - .../tests/AVStreams/mpeg/source/server/Makefile | 157 - .../tests/AVStreams/mpeg/source/server/server.cpp | 463 - .../tests/AVStreams/mpeg/source/server/server.h | 142 - .../tests/AVStreams/mpeg/source/server/vcrs.cpp | 261 - TAO/orbsvcs/tests/AVStreams/mpeg/vcr.1 | 610 - TAO/orbsvcs/tests/AVStreams/mpeg/vcrs.1 | 1 - TAO/orbsvcs/tests/AVStreams/server.cpp | 102 - TAO/orbsvcs/tests/AVStreams/server.h | 59 - TAO/orbsvcs/tests/AVStreams/sfp/Makefile | 66 - TAO/orbsvcs/tests/AVStreams/sfp/client.cpp | 31 - TAO/orbsvcs/tests/AVStreams/sfp/svc.conf | 49 - TAO/orbsvcs/tests/AVStreams/svc.conf | 49 - TAO/orbsvcs/tests/CosPropertyService/Makefile | 60 - TAO/orbsvcs/tests/CosPropertyService/main.cpp | 516 - TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp | 612 - TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.h | 156 - TAO/orbsvcs/tests/EC_Multiple/Makefile | 267 - TAO/orbsvcs/tests/EC_Multiple/README | 34 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.cpp | 926 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.dsp | 103 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.dsw | 29 - TAO/orbsvcs/tests/Event_Latency/Event_Latency.h | 250 - TAO/orbsvcs/tests/Event_Latency/Makefile | 271 - TAO/orbsvcs/tests/Event_Latency/svc.conf | 49 - TAO/orbsvcs/tests/Logger/Logger.dsw | 41 - TAO/orbsvcs/tests/Logger/Makefile | 271 - TAO/orbsvcs/tests/Logger/client.dsp | 89 - TAO/orbsvcs/tests/Logger/clnt.cpp | 250 - TAO/orbsvcs/tests/Logger/clnt.h | 72 - TAO/orbsvcs/tests/Logger/logger_i.cpp | 33 - TAO/orbsvcs/tests/Logger/logger_i.h | 36 - TAO/orbsvcs/tests/Logger/server.dsp | 93 - TAO/orbsvcs/tests/Logger/svc.conf | 49 - TAO/orbsvcs/tests/Logger/svr.cpp | 101 - TAO/orbsvcs/tests/Makefile | 31 - TAO/orbsvcs/tests/Simple_Naming/Makefile | 225 - TAO/orbsvcs/tests/Simple_Naming/Simple_Naming.dsw | 29 - TAO/orbsvcs/tests/Simple_Naming/client.dsp | 88 - TAO/orbsvcs/tests/Simple_Naming/clnt.cpp | 128 - TAO/orbsvcs/tests/Simple_Naming/clnt.h | 58 - TAO/orbsvcs/tests/Simple_Naming/svc.conf | 49 - TAO/performance-tests/Cubit/TAO/MT_Cubit/Makefile | 1520 -- TAO/performance-tests/Cubit/TAO/MT_Cubit/README | 75 - .../Cubit/TAO/MT_Cubit/Task_Client.cpp | 642 - .../Cubit/TAO/MT_Cubit/Task_Client.h | 191 - .../Cubit/TAO/MT_Cubit/Util_Thread.cpp | 72 - .../Cubit/TAO/MT_Cubit/Util_Thread.h | 45 - .../Cubit/TAO/MT_Cubit/client.cpp | 230 - TAO/performance-tests/Cubit/TAO/MT_Cubit/client.h | 28 - TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit.idl | 24 - .../Cubit/TAO/MT_Cubit/cubit_i.cpp | 84 - TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h | 68 - .../Cubit/TAO/MT_Cubit/server.cpp | 724 - TAO/performance-tests/Cubit/TAO/MT_Cubit/server.h | 175 - TAO/performance-tests/Cubit/TAO/MT_Cubit/svc.conf | 49 - .../Cubit/TAO/MT_Cubit/tmplinst.cpp | 15 - TAO/release.chk | 124 - TAO/release.pl | 91 - TAO/rules.tao.GNU | 20 - TAO/tao/Makefile | 7235 ----- TAO/tao/TAO.MAK | 13620 ---------- TAO/tao/TAO.dsp | 543 - TAO/tao/TAO.dsw | 29 - TAO/tao/TAO4.mak | 8818 ------- TAO/tao/TAO4.mdp | Bin 58880 -> 0 bytes TAO/tao/Timeprobe.cpp | 70 - TAO/tao/Timeprobe.h | 62 - TAO/tao/Timeprobe.i | 27 - TAO/tao/VCAUTO.MAK | 5 - TAO/tao/align.h | 80 - TAO/tao/any.cpp | 809 - TAO/tao/any.h | 339 - TAO/tao/any.i | 290 - TAO/tao/arg_shifter.cpp | 117 - TAO/tao/arg_shifter.h | 99 - TAO/tao/client_factory.cpp | 25 - TAO/tao/client_factory.h | 35 - TAO/tao/client_factory.i | 8 - TAO/tao/compat/initguid.h | 16 - TAO/tao/compat/objbase.h | 184 - TAO/tao/connect.h | 155 - TAO/tao/connect.i | 12 - TAO/tao/corba.h | 312 - TAO/tao/corbacom.cpp | 119 - TAO/tao/corbacom.h | 731 - TAO/tao/corbacom.i | 201 - TAO/tao/debug.cpp | 328 - TAO/tao/debug.h | 107 - TAO/tao/decode.cpp | 1593 -- TAO/tao/deep_copy.cpp | 1213 - TAO/tao/deep_free.cpp | 771 - TAO/tao/default.bld | 24 - TAO/tao/default_client.cpp | 40 - TAO/tao/default_client.h | 48 - TAO/tao/default_client.i | 2 - TAO/tao/default_server.cpp | 269 - TAO/tao/default_server.h | 119 - TAO/tao/default_server.i | 2 - TAO/tao/encode.cpp | 1365 - TAO/tao/except.cpp | 463 - TAO/tao/except.h | 210 - TAO/tao/factories.h | 141 - TAO/tao/giop.cpp | 1233 - TAO/tao/giop.h | 372 - TAO/tao/giop.i | 34 - TAO/tao/iiopobj.cpp | 360 - TAO/tao/iiopobj.h | 253 - TAO/tao/iiopobj.i | 97 - TAO/tao/iioporb.cpp | 333 - TAO/tao/iioporb.h | 69 - TAO/tao/iioporb.i | 24 - TAO/tao/interp.cpp | 1496 -- TAO/tao/invoke.cpp | 398 - TAO/tao/marshal.cpp | 182 - TAO/tao/marshal.h | 512 - TAO/tao/marshal.i | 288 - TAO/tao/nvlist.cpp | 297 - TAO/tao/nvlist.h | 160 - TAO/tao/nvlist.i | 84 - TAO/tao/objkey.idl | 3 - TAO/tao/objkeyC.cpp | 45 - TAO/tao/objkeyC.h | 105 - TAO/tao/objkeyC.i | 202 - TAO/tao/objtable.cpp | 662 - TAO/tao/objtable.h | 384 - TAO/tao/optable.cpp | 276 - TAO/tao/optable.h | 263 - TAO/tao/orbconf.h | 131 - TAO/tao/orbobj.cpp | 628 - TAO/tao/orbobj.h | 276 - TAO/tao/orbobj.i | 219 - TAO/tao/params.cpp | 110 - TAO/tao/params.h | 178 - TAO/tao/params.i | 89 - TAO/tao/poa.cpp | 3855 --- TAO/tao/poa.h | 921 - TAO/tao/poa.i | 2 - TAO/tao/poa.idl | 364 - TAO/tao/poaC.cpp | 2050 -- TAO/tao/poaC.h | 2335 -- TAO/tao/poaC.i | 3897 --- TAO/tao/poaS.cpp | 2742 -- TAO/tao/poaS.h | 1174 - TAO/tao/poaS.i | 157 - TAO/tao/poa_T.cpp | 94 - TAO/tao/poa_T.h | 73 - TAO/tao/poa_macros.h | 47 - TAO/tao/principa.cpp | 50 - TAO/tao/principa.h | 67 - TAO/tao/request.cpp | 122 - TAO/tao/request.h | 85 - TAO/tao/sequence.cpp | 231 - TAO/tao/sequence.h | 353 - TAO/tao/sequence.i | 217 - TAO/tao/sequence_T.cpp | 624 - TAO/tao/sequence_T.i | 245 - TAO/tao/servant_base.cpp | 201 - TAO/tao/servant_base.h | 153 - TAO/tao/server_factory.cpp | 86 - TAO/tao/server_factory.h | 76 - TAO/tao/server_factory.i | 1 - TAO/tao/singletons.h | 40 - TAO/tao/strategy_T.cpp | 56 - TAO/tao/strategy_T.h | 44 - TAO/tao/strategy_T.i | 21 - TAO/tao/svrrqst.cpp | 397 - TAO/tao/svrrqst.h | 238 - TAO/tao/svrrqst.i | 11 - TAO/tao/t-sizes.cpp | 14 - TAO/tao/tao.bld | 84 - TAO/tao/tao.h | 39 - TAO/tao/tao_internals.cpp | 93 - TAO/tao/tao_internals.h | 63 - TAO/tao/tao_internals.i | 4 - TAO/tao/tao_util.cpp | 236 - TAO/tao/tao_util.h | 87 - TAO/tao/tc_const.cpp | 143 - TAO/tao/typecode.cpp | 2240 -- TAO/tao/typecode.h | 500 - TAO/tao/typecode.i | 264 - TAO/tao/varout.h | 624 - TAO/taoconfig.mk | 14 - TAO/tests/CDR/Makefile | 57 - TAO/tests/CDR/basic_types.cpp | 90 - TAO/tests/CDR/tc.cpp | 128 - TAO/tests/Cubit/COOL/IDL_Cubit/Makefile | 140 - TAO/tests/Cubit/COOL/IDL_Cubit/README | 34 - TAO/tests/Cubit/COOL/IDL_Cubit/client.cpp | 747 - TAO/tests/Cubit/COOL/IDL_Cubit/client.h | 128 - TAO/tests/Cubit/COOL/IDL_Cubit/cubit.idl | 71 - TAO/tests/Cubit/COOL/IDL_Cubit/cubit_i.cpp | 189 - TAO/tests/Cubit/COOL/IDL_Cubit/cubit_i.h | 109 - TAO/tests/Cubit/COOL/IDL_Cubit/server.cpp | 149 - TAO/tests/Cubit/COOL/IDL_Cubit/tmplinst.cpp | 15 - TAO/tests/Cubit/COOL/MT_Cubit/Makefile | 271 - TAO/tests/Cubit/COOL/MT_Cubit/README | 149 - TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp | 523 - TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.h | 162 - TAO/tests/Cubit/COOL/MT_Cubit/Util_Thread.cpp | 69 - TAO/tests/Cubit/COOL/MT_Cubit/Util_Thread.h | 45 - TAO/tests/Cubit/COOL/MT_Cubit/client.cpp | 224 - TAO/tests/Cubit/COOL/MT_Cubit/client.h | 28 - TAO/tests/Cubit/COOL/MT_Cubit/cubit.idl | 40 - TAO/tests/Cubit/COOL/MT_Cubit/cubit_impl.cpp | 49 - TAO/tests/Cubit/COOL/MT_Cubit/cubit_impl.h | 19 - TAO/tests/Cubit/COOL/MT_Cubit/server.cpp | 160 - TAO/tests/Cubit/COOL/Makefile | 22 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/Makefile | 90 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/README | 54 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/clnt.cpp | 725 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/clnt.h | 135 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/cubit.idl | 71 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp | 174 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.h | 107 - TAO/tests/Cubit/CORBAplus/IDL_Cubit/svr.cpp | 141 - TAO/tests/Cubit/CORBAplus/MT_Cubit/Makefile | 23 - TAO/tests/Cubit/CORBAplus/MT_Cubit/README | 58 - TAO/tests/Cubit/CORBAplus/MT_Cubit/client/Makefile | 148 - .../CORBAplus/MT_Cubit/client/Task_Client.cpp | 355 - .../Cubit/CORBAplus/MT_Cubit/client/Task_Client.h | 50 - .../Cubit/CORBAplus/MT_Cubit/client/client.cpp | 59 - .../Cubit/CORBAplus/MT_Cubit/client/cubit.idl | 39 - TAO/tests/Cubit/CORBAplus/MT_Cubit/server/Makefile | 67 - .../Cubit/CORBAplus/MT_Cubit/server/cubit.idl | 39 - .../Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp | 78 - .../Cubit/CORBAplus/MT_Cubit/server/cubit_i.h | 50 - TAO/tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp | 284 - TAO/tests/Cubit/Makefile | 28 - TAO/tests/Cubit/Orbix/Makefile | 28 - TAO/tests/Cubit/Orbix/base_server/Makefile | 73 - TAO/tests/Cubit/Orbix/base_server/cubit.idl | 40 - TAO/tests/Cubit/Orbix/base_server/cubit_impl.cpp | 46 - TAO/tests/Cubit/Orbix/base_server/cubit_impl.h | 27 - TAO/tests/Cubit/Orbix/base_server/server.cpp | 41 - TAO/tests/Cubit/Orbix/client/Makefile | 89 - TAO/tests/Cubit/Orbix/client/client.cpp | 295 - TAO/tests/Cubit/Orbix/client/cubit.h | 727 - TAO/tests/Cubit/Orbix/client/cubit.idl | 40 - TAO/tests/Cubit/Orbix/client/cubitC.cpp | 557 - TAO/tests/Cubit/Orbix/factory_client/Makefile | 77 - TAO/tests/Cubit/Orbix/factory_client/client.cpp | 235 - TAO/tests/Cubit/Orbix/factory_client/cubit.h | 1111 - TAO/tests/Cubit/Orbix/factory_client/cubit.hh | 1111 - TAO/tests/Cubit/Orbix/factory_client/cubit.idl | 46 - TAO/tests/Cubit/Orbix/factory_client/cubitC.cpp | 710 - TAO/tests/Cubit/Orbix/factory_client/cubitS.cpp | 282 - TAO/tests/Cubit/Orbix/orb.mk | 146 - TAO/tests/Cubit/Orbix/tpool/Makefile | 89 - TAO/tests/Cubit/Orbix/tpool/cubit.h | 727 - TAO/tests/Cubit/Orbix/tpool/cubit.idl | 40 - TAO/tests/Cubit/Orbix/tpool/cubitC.cpp | 557 - TAO/tests/Cubit/Orbix/tpool/cubitS.cpp | 226 - TAO/tests/Cubit/Orbix/tpool/cubit_impl.cpp | 46 - TAO/tests/Cubit/Orbix/tpool/cubit_impl.h | 27 - TAO/tests/Cubit/Orbix/tpool/server.cpp | 46 - TAO/tests/Cubit/Orbix/tpool/tpool.cpp | 42 - TAO/tests/Cubit/Orbix/tpool/tpool.h | 15 - TAO/tests/Cubit/Orbix/tpr/Makefile | 89 - TAO/tests/Cubit/Orbix/tpr/cubit.h | 727 - TAO/tests/Cubit/Orbix/tpr/cubit.idl | 40 - TAO/tests/Cubit/Orbix/tpr/cubitC.cpp | 557 - TAO/tests/Cubit/Orbix/tpr/cubitC.h | 343 - TAO/tests/Cubit/Orbix/tpr/cubitS.cpp | 226 - TAO/tests/Cubit/Orbix/tpr/cubitS.h | 118 - TAO/tests/Cubit/Orbix/tpr/cubit_impl.cpp | 46 - TAO/tests/Cubit/Orbix/tpr/cubit_impl.h | 27 - TAO/tests/Cubit/Orbix/tpr/server.cpp | 40 - TAO/tests/Cubit/Orbix/tpr/tpr.cpp | 26 - TAO/tests/Cubit/Orbix/tpr/tpr.h | 10 - TAO/tests/Cubit/Orbix/tps/Makefile | 349 - TAO/tests/Cubit/Orbix/tps/cubit.h | 1111 - TAO/tests/Cubit/Orbix/tps/cubit.idl | 46 - TAO/tests/Cubit/Orbix/tps/cubitC.cpp | 710 - TAO/tests/Cubit/Orbix/tps/cubitS.cpp | 282 - TAO/tests/Cubit/Orbix/tps/cubit_impl.cpp | 81 - TAO/tests/Cubit/Orbix/tps/cubit_impl.h | 46 - TAO/tests/Cubit/Orbix/tps/tps.cpp | 26 - TAO/tests/Cubit/Orbix/tps/tps.h | 11 - TAO/tests/Cubit/README | 4 - TAO/tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw | 41 - TAO/tests/Cubit/TAO/DII_Cubit/Makefile | 1213 - TAO/tests/Cubit/TAO/DII_Cubit/README | 30 - TAO/tests/Cubit/TAO/DII_Cubit/client.dsp | 109 - TAO/tests/Cubit/TAO/DII_Cubit/clnt.bld | 11 - TAO/tests/Cubit/TAO/DII_Cubit/clnt.cpp | 656 - TAO/tests/Cubit/TAO/DII_Cubit/clnt.h | 138 - TAO/tests/Cubit/TAO/DII_Cubit/cubit.cpp | 560 - TAO/tests/Cubit/TAO/DII_Cubit/cubit.h | 105 - TAO/tests/Cubit/TAO/DII_Cubit/cubit.idl | 42 - TAO/tests/Cubit/TAO/DII_Cubit/cubitC.cpp | 385 - TAO/tests/Cubit/TAO/DII_Cubit/cubitC.h | 101 - TAO/tests/Cubit/TAO/DII_Cubit/cubitS.cpp | 256 - TAO/tests/Cubit/TAO/DII_Cubit/cubitS.h | 91 - TAO/tests/Cubit/TAO/DII_Cubit/cubit_i.cpp | 87 - TAO/tests/Cubit/TAO/DII_Cubit/cubit_i.h | 54 - TAO/tests/Cubit/TAO/DII_Cubit/default.bld | 35 - TAO/tests/Cubit/TAO/DII_Cubit/method_db.i | 54 - TAO/tests/Cubit/TAO/DII_Cubit/server.dsp | 117 - TAO/tests/Cubit/TAO/DII_Cubit/svc.conf | 49 - TAO/tests/Cubit/TAO/DII_Cubit/svr.bld | 12 - TAO/tests/Cubit/TAO/DII_Cubit/svr.cpp | 151 - TAO/tests/Cubit/TAO/DII_Cubit/test.mak | 1596 -- TAO/tests/Cubit/TAO/DII_Cubit/test.mdp | Bin 71168 -> 0 bytes TAO/tests/Cubit/TAO/DII_Cubit/test1.cpp | 390 - TAO/tests/Cubit/TAO/DII_Cubit/test1.h | 122 - TAO/tests/Cubit/TAO/DII_Cubit/test1.idl | 78 - TAO/tests/Cubit/TAO/DII_Cubit/test1_clnt.cpp | 635 - TAO/tests/Cubit/TAO/DII_Cubit/test1_svr.cpp | 666 - TAO/tests/Cubit/TAO/IDL_Cubit/Cubit.mak | 2068 -- TAO/tests/Cubit/TAO/IDL_Cubit/Cubit.mdp | Bin 72192 -> 0 bytes TAO/tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw | 41 - TAO/tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp | 89 - TAO/tests/Cubit/TAO/IDL_Cubit/Makefile | 981 - TAO/tests/Cubit/TAO/IDL_Cubit/README | 140 - TAO/tests/Cubit/TAO/IDL_Cubit/VCAUTO.MAK | 5 - TAO/tests/Cubit/TAO/IDL_Cubit/client.MAK | 630 - TAO/tests/Cubit/TAO/IDL_Cubit/client.bld | 10 - TAO/tests/Cubit/TAO/IDL_Cubit/client.cpp | 844 - TAO/tests/Cubit/TAO/IDL_Cubit/client.dsp | 158 - TAO/tests/Cubit/TAO/IDL_Cubit/client.h | 134 - TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl | 76 - TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp | 162 - TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h | 99 - TAO/tests/Cubit/TAO/IDL_Cubit/default.bld | 30 - TAO/tests/Cubit/TAO/IDL_Cubit/server.MAK | 1070 - TAO/tests/Cubit/TAO/IDL_Cubit/server.bld | 14 - TAO/tests/Cubit/TAO/IDL_Cubit/server.cpp | 209 - TAO/tests/Cubit/TAO/IDL_Cubit/server.dsp | 188 - TAO/tests/Cubit/TAO/IDL_Cubit/server.h | 98 - TAO/tests/Cubit/TAO/IDL_Cubit/svc.conf | 49 - TAO/tests/Cubit/TAO/IDL_Cubit/tmplinst.cpp | 15 - TAO/tests/Cubit/TAO/MT_Cubit/MT_Cubit.dsw | 41 - TAO/tests/Cubit/TAO/MT_Cubit/Makefile | 1520 -- TAO/tests/Cubit/TAO/MT_Cubit/README | 75 - TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp | 642 - TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h | 191 - TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp | 72 - TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h | 45 - TAO/tests/Cubit/TAO/MT_Cubit/VCAUTO.MAK | 5 - TAO/tests/Cubit/TAO/MT_Cubit/client.MAK | 603 - TAO/tests/Cubit/TAO/MT_Cubit/client.cpp | 230 - TAO/tests/Cubit/TAO/MT_Cubit/client.dsp | 166 - TAO/tests/Cubit/TAO/MT_Cubit/client.h | 28 - TAO/tests/Cubit/TAO/MT_Cubit/clnt.bld | 10 - TAO/tests/Cubit/TAO/MT_Cubit/cubit.idl | 24 - TAO/tests/Cubit/TAO/MT_Cubit/cubit_i.cpp | 84 - TAO/tests/Cubit/TAO/MT_Cubit/cubit_i.h | 68 - TAO/tests/Cubit/TAO/MT_Cubit/default.bld | 33 - TAO/tests/Cubit/TAO/MT_Cubit/server.MAK | 444 - TAO/tests/Cubit/TAO/MT_Cubit/server.cpp | 724 - TAO/tests/Cubit/TAO/MT_Cubit/server.dsp | 162 - TAO/tests/Cubit/TAO/MT_Cubit/server.h | 175 - TAO/tests/Cubit/TAO/MT_Cubit/svc.conf | 49 - TAO/tests/Cubit/TAO/MT_Cubit/svr.bld | 12 - TAO/tests/Cubit/TAO/MT_Cubit/tmplinst.cpp | 15 - TAO/tests/Cubit/TAO/Makefile | 27 - TAO/tests/Cubit/TAO/README | 20 - TAO/tests/Cubit/TAO/VCAUTO.MAK | 5 - TAO/tests/Cubit/VCAUTO.MAK | 5 - TAO/tests/Cubit/VisiBroker/base_server/Makefile | 19 - .../Cubit/VisiBroker/base_server/Profile_Timer.cpp | 127 - .../Cubit/VisiBroker/base_server/Profile_Timer.h | 60 - TAO/tests/Cubit/VisiBroker/base_server/cubit.idl | 40 - .../Cubit/VisiBroker/base_server/cubit_impl.cpp | 46 - .../Cubit/VisiBroker/base_server/cubit_impl.h | 33 - TAO/tests/Cubit/VisiBroker/base_server/server.cpp | 49 - TAO/tests/Cubit/VisiBroker/base_server/stdmk | 36 - TAO/tests/Cubit/VisiBroker/client/Makefile | 19 - .../Cubit/VisiBroker/client/Profile_Timer.cpp | 127 - TAO/tests/Cubit/VisiBroker/client/Profile_Timer.h | 60 - TAO/tests/Cubit/VisiBroker/client/client.cpp | 316 - TAO/tests/Cubit/VisiBroker/client/cubit.idl | 40 - TAO/tests/Cubit/VisiBroker/client/stdmk | 36 - TAO/tests/Cubit/results/Orbix | 133 - TAO/tests/Cubit/results/TAO | 92 - TAO/tests/Cubit/results/Visibroker | 79 - TAO/tests/Cubit/results/orbs.xls | Bin 26624 -> 0 bytes TAO/tests/Demux_Test/CodeGen/Makefile | 316 - TAO/tests/Demux_Test/CodeGen/README | 12 - TAO/tests/Demux_Test/CodeGen/client.cpp | 39 - TAO/tests/Demux_Test/CodeGen/gen.cpp | 173 - TAO/tests/Demux_Test/CodeGen/impl.cpp | 72 - TAO/tests/Demux_Test/CodeGen/objcreate.cpp | 51 - TAO/tests/Demux_Test/CodeGen/perf.cpp | 21 - TAO/tests/Demux_Test/CodeGen/skel.cpp | 217 - TAO/tests/Demux_Test/CodeGen/stub.cpp | 155 - TAO/tests/Demux_Test/CodeGen/tao.cpp | 96 - TAO/tests/Demux_Test/CodeGen/tao.h | 21 - TAO/tests/Demux_Test/Makefile | 65 - TAO/tests/Demux_Test/README | 20 - TAO/tests/Demux_Test/client.cpp | 309 - TAO/tests/Demux_Test/gen_bin | 6 - TAO/tests/Demux_Test/make_all | 19 - TAO/tests/Demux_Test/run_all_client | 37 - TAO/tests/Demux_Test/run_all_server | 20 - TAO/tests/Demux_Test/run_client | 17 - TAO/tests/Demux_Test/run_server | 10 - TAO/tests/Demux_Test/server.cpp | 313 - TAO/tests/Makefile | 31 - TAO/tests/NestedUpcall/Makefile | 70 - TAO/tests/NestedUpcall/NestedUpcall.dsw | 41 - TAO/tests/NestedUpcall/README | 54 - TAO/tests/NestedUpcall/Reactor.idl | 51 - TAO/tests/NestedUpcall/client.cpp | 174 - TAO/tests/NestedUpcall/client.dsp | 164 - TAO/tests/NestedUpcall/eh_i.cpp | 48 - TAO/tests/NestedUpcall/eh_i.h | 30 - TAO/tests/NestedUpcall/reactor_i.cpp | 78 - TAO/tests/NestedUpcall/reactor_i.h | 36 - TAO/tests/NestedUpcall/server.cpp | 129 - TAO/tests/NestedUpcall/server.dsp | 162 - TAO/tests/NestedUpcall/svc.conf | 49 - TAO/tests/POA/Default_Servant/Default_Servant.dsw | 41 - TAO/tests/POA/Default_Servant/File.idl | 52 - TAO/tests/POA/Default_Servant/File_i.cpp | 221 - TAO/tests/POA/Default_Servant/File_i.h | 89 - TAO/tests/POA/Default_Servant/Makefile | 947 - TAO/tests/POA/Default_Servant/README | 45 - TAO/tests/POA/Default_Servant/client.cpp | 146 - TAO/tests/POA/Default_Servant/client.dsp | 160 - TAO/tests/POA/Default_Servant/server.cpp | 186 - TAO/tests/POA/Default_Servant/server.dsp | 164 - TAO/tests/POA/Default_Servant/svc.conf | 49 - .../Explicit_Activation/Explicit_Activation.dsw | 29 - TAO/tests/POA/Explicit_Activation/Makefile | 222 - TAO/tests/POA/Explicit_Activation/README | 34 - TAO/tests/POA/Explicit_Activation/server.cpp | 255 - TAO/tests/POA/Explicit_Activation/server.dsp | 91 - TAO/tests/POA/Explicit_Activation/svc.conf | 49 - TAO/tests/POA/FindPOA/FindPOA.cpp | 177 - TAO/tests/POA/FindPOA/FindPOA.dsp | 91 - TAO/tests/POA/FindPOA/FindPOA.dsw | 29 - TAO/tests/POA/FindPOA/Makefile | 220 - TAO/tests/POA/FindPOA/README | 39 - TAO/tests/POA/Generic_Servant/Foo.idl | 14 - TAO/tests/POA/Generic_Servant/Generic_Servant.dsw | 41 - TAO/tests/POA/Generic_Servant/Makefile | 631 - TAO/tests/POA/Generic_Servant/MyFooServant.cpp | 44 - TAO/tests/POA/Generic_Servant/MyFooServant.h | 43 - TAO/tests/POA/Generic_Servant/README | 24 - TAO/tests/POA/Generic_Servant/client.cpp | 154 - TAO/tests/POA/Generic_Servant/client.dsp | 160 - TAO/tests/POA/Generic_Servant/server.dsp | 151 - TAO/tests/POA/Makefile | 33 - TAO/tests/POA/NewPOA/Makefile | 220 - TAO/tests/POA/NewPOA/NewPOA.cpp | 191 - TAO/tests/POA/NewPOA/NewPOA.dsp | 91 - TAO/tests/POA/NewPOA/NewPOA.dsw | 29 - TAO/tests/POA/NewPOA/README | 22 - TAO/tests/POA/On_Demand_Activation/Makefile | 405 - .../On_Demand_Activation/On_Demand_Activation.dsw | 29 - TAO/tests/POA/On_Demand_Activation/README | 97 - .../POA/On_Demand_Activation/Servant_Activator.cpp | 64 - .../POA/On_Demand_Activation/Servant_Activator.h | 39 - .../POA/On_Demand_Activation/Servant_Locator.cpp | 80 - .../POA/On_Demand_Activation/Servant_Locator.h | 51 - TAO/tests/POA/On_Demand_Activation/server.cpp | 283 - TAO/tests/POA/On_Demand_Activation/server.dsp | 99 - TAO/tests/POA/On_Demand_Activation/svc.conf | 49 - TAO/tests/POA/README | 58 - TAO/tests/POA/RootPOA/Makefile | 219 - TAO/tests/POA/RootPOA/README | 17 - TAO/tests/POA/RootPOA/RootPOA.cpp | 78 - TAO/tests/POA/RootPOA/RootPOA.dsp | 91 - TAO/tests/POA/RootPOA/RootPOA.dsw | 29 - TAO/tests/Param_Test/Makefile | 2031 -- TAO/tests/Param_Test/Param_Test.dsw | 41 - TAO/tests/Param_Test/README | 79 - TAO/tests/Param_Test/VCAUTO.MAK | 5 - TAO/tests/Param_Test/client.MAK | 2155 -- TAO/tests/Param_Test/client.cpp | 245 - TAO/tests/Param_Test/client.dsp | 178 - TAO/tests/Param_Test/client.h | 76 - TAO/tests/Param_Test/driver.cpp | 262 - TAO/tests/Param_Test/driver.h | 52 - TAO/tests/Param_Test/helper.cpp | 79 - TAO/tests/Param_Test/helper.h | 51 - TAO/tests/Param_Test/options.cpp | 152 - TAO/tests/Param_Test/options.h | 90 - TAO/tests/Param_Test/param_test.idl | 162 - TAO/tests/Param_Test/param_test_i.cpp | 247 - TAO/tests/Param_Test/param_test_i.h | 124 - TAO/tests/Param_Test/results.cpp | 151 - TAO/tests/Param_Test/results.h | 77 - TAO/tests/Param_Test/run_test | 24 - TAO/tests/Param_Test/server.MAK | 1120 - TAO/tests/Param_Test/server.cpp | 182 - TAO/tests/Param_Test/server.dsp | 162 - TAO/tests/Param_Test/svc.conf | 49 - TAO/tests/Param_Test/tests.cpp | 1469 -- TAO/tests/Param_Test/tests.h | 495 - TAO/tests/Param_Test/tmplinst.cpp | 19 - TAO/tests/Quoter/Quoter.dsp | 83 - TAO/tests/Quoter/Quoter.dsw | 41 - TAO/tests/Quoter/quoter.idl | 24 - TAO/tests/Quoter/quoter_client.cpp | 259 - TAO/tests/Quoter/quoter_client.dsp | 166 - TAO/tests/Quoter/quoter_client.h | 88 - TAO/tests/Quoter/quoter_impl.cpp | 75 - TAO/tests/Quoter/quoter_impl.h | 74 - TAO/tests/Quoter/quoter_server.cpp | 209 - TAO/tests/Quoter/quoter_server.dsp | 178 - TAO/tests/Quoter/quoter_server.h | 97 - TAO/tests/Quoter/svc.conf | 49 - TAO/tests/README | 23 - TAO/tests/Thruput/COOL/Makefile | 133 - TAO/tests/Thruput/COOL/README | 117 - TAO/tests/Thruput/COOL/client.cpp | 288 - TAO/tests/Thruput/COOL/server.cpp | 223 - TAO/tests/Thruput/COOL/ttcp.idl | 34 - TAO/tests/Thruput/COOL/ttcp_decl.h | 76 - TAO/tests/Thruput/COOL/ttcp_i.cpp | 108 - TAO/tests/Thruput/COOL/ttcp_i.h | 47 - TAO/tests/Thruput/COOL/utils.cpp | 465 - TAO/tests/Thruput/CORBAplus/Makefile | 69 - TAO/tests/Thruput/CORBAplus/README | 47 - TAO/tests/Thruput/CORBAplus/client.cpp | 301 - TAO/tests/Thruput/CORBAplus/extract | 4 - TAO/tests/Thruput/CORBAplus/run | 1 - TAO/tests/Thruput/CORBAplus/run_client | 25 - TAO/tests/Thruput/CORBAplus/run_server | 10 - TAO/tests/Thruput/CORBAplus/run_test | 34 - TAO/tests/Thruput/CORBAplus/run_tests | 41 - TAO/tests/Thruput/CORBAplus/server.cpp | 176 - TAO/tests/Thruput/CORBAplus/ttcp.idl | 34 - TAO/tests/Thruput/CORBAplus/ttcp_decl.h | 76 - TAO/tests/Thruput/CORBAplus/ttcp_i.cpp | 103 - TAO/tests/Thruput/CORBAplus/ttcp_i.h | 59 - TAO/tests/Thruput/CORBAplus/utils.cpp | 465 - TAO/tests/Thruput/Makefile | 26 - TAO/tests/Thruput/Orbix/Client.cpp | 324 - TAO/tests/Thruput/Orbix/Makefile | 83 - TAO/tests/Thruput/Orbix/README | 40 - TAO/tests/Thruput/Orbix/Srv_Main.cpp | 178 - TAO/tests/Thruput/Orbix/extract | 4 - TAO/tests/Thruput/Orbix/loop64 | 24 - TAO/tests/Thruput/Orbix/orbixsol2s4.mk | 148 - TAO/tests/Thruput/Orbix/run | 1 - TAO/tests/Thruput/Orbix/run_client | 25 - TAO/tests/Thruput/Orbix/run_server | 4 - TAO/tests/Thruput/Orbix/run_test | 31 - TAO/tests/Thruput/Orbix/run_tests | 78 - TAO/tests/Thruput/Orbix/ttcp.idl | 38 - TAO/tests/Thruput/Orbix/ttcp_decl.h | 152 - TAO/tests/Thruput/Orbix/ttcp_i.cpp | 111 - TAO/tests/Thruput/Orbix/ttcp_i.h | 63 - TAO/tests/Thruput/Orbix/utils.cpp | 559 - TAO/tests/Thruput/TAO/Makefile | 1079 - TAO/tests/Thruput/TAO/README | 47 - TAO/tests/Thruput/TAO/client.cpp | 279 - TAO/tests/Thruput/TAO/run | 1 - TAO/tests/Thruput/TAO/run_client | 34 - TAO/tests/Thruput/TAO/run_server | 11 - TAO/tests/Thruput/TAO/run_test | 52 - TAO/tests/Thruput/TAO/server.cpp | 218 - TAO/tests/Thruput/TAO/svc.conf | 49 - TAO/tests/Thruput/TAO/tmplinst.cpp | 23 - TAO/tests/Thruput/TAO/ttcp.idl | 34 - TAO/tests/Thruput/TAO/ttcp_decl.h | 76 - TAO/tests/Thruput/TAO/ttcp_i.cpp | 101 - TAO/tests/Thruput/TAO/ttcp_i.h | 46 - TAO/tests/Thruput/TAO/utils.cpp | 467 - TAO/tests/VCAUTO.MAK | 5 - VCAUTO.MAK | 17 - ace/Makefile | 6345 ----- 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 - apps/JAWS/server/PROTOTYPE/HTTP_10.cpp | 68 - apps/JAWS/server/PROTOTYPE/HTTP_10.h | 55 - apps/JAWS/server/PROTOTYPE/HTTP_Policy.cpp | 15 - apps/JAWS/server/PROTOTYPE/HTTP_Policy.h | 20 - apps/JAWS/server/PROTOTYPE/JAWS/Concurrency.cpp | 113 - apps/JAWS/server/PROTOTYPE/JAWS/Concurrency.h | 115 - apps/JAWS/server/PROTOTYPE/JAWS/IO.cpp | 424 - apps/JAWS/server/PROTOTYPE/JAWS/IO.h | 180 - apps/JAWS/server/PROTOTYPE/JAWS/IO_Acceptor.cpp | 75 - apps/JAWS/server/PROTOTYPE/JAWS/IO_Acceptor.h | 112 - apps/JAWS/server/PROTOTYPE/JAWS/IO_Handler.cpp | 127 - apps/JAWS/server/PROTOTYPE/JAWS/IO_Handler.h | 225 - apps/JAWS/server/PROTOTYPE/JAWS/Makefile | 456 - apps/JAWS/server/PROTOTYPE/JAWS/Pipeline.cpp | 27 - apps/JAWS/server/PROTOTYPE/JAWS/Pipeline.h | 31 - .../server/PROTOTYPE/JAWS/Pipeline_Handler.cpp | 24 - apps/JAWS/server/PROTOTYPE/JAWS/Pipeline_Handler.h | 29 - apps/JAWS/server/PROTOTYPE/main.cpp | 65 - docs/ACE-inheritance.pdf.gz | Bin 27798 -> 0 bytes docs/ACE-inheritance.ps.gz | Bin 18076 -> 0 bytes docs/CE-status.txt | 531 - 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 | 16 - 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/java_cup/java_cup.dsp | 224 - java/java_cup/java_cup.dsw | 29 - java/netsvcs/Logger/DefaultLMR.java | 36 - java/netsvcs/Logger/LogMessageReceiver.java | 33 - java/netsvcs/Logger/LogRecord.java | 185 - java/netsvcs/Logger/Makefile | 23 - java/netsvcs/Logger/ServerLoggingAcceptor.java | 171 - java/netsvcs/Logger/ServerLoggingHandler.java | 123 - java/netsvcs/Time/Clerk.java | 23 - java/netsvcs/Time/Makefile | 27 - 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 | 213 - java/src/ActivateStrategy.java | 43 - java/src/AddServiceObjectNode.java | 58 - 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 | 124 - java/src/Connector.java | 149 - java/src/CreationStrategy.java | 61 - java/src/EventHandler.java | 52 - 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 | 304 - java/src/JACE.DSW | 29 - java/src/MakeLexer | 4 - java/src/MakeParser | 2 - java/src/Makefile | 157 - java/src/MessageBlock.java | 453 - java/src/MessageQueue.java | 626 - java/src/MessageType.java | 110 - java/src/Module.java | 253 - java/src/Mutex.java | 92 - java/src/OS.java | 72 - java/src/ParseNode.java | 73 - java/src/ProfileTimer.java | 48 - java/src/RWMutex.java | 174 - java/src/RemoveNode.java | 37 - java/src/ResumeNode.java | 36 - java/src/SOCKAcceptor.java | 114 - java/src/SOCKConnector.java | 75 - java/src/SOCKStream.java | 209 - java/src/Semaphore.java | 103 - java/src/ServiceConfig.java | 420 - java/src/ServiceLoader.java | 241 - java/src/ServiceObject.java | 80 - java/src/ServiceObjectRecord.java | 33 - java/src/ServiceRecord.java | 253 - java/src/ServiceRepository.java | 189 - java/src/StrategyAcceptor.java | 148 - java/src/Stream.java | 438 - java/src/StreamHead.java | 120 - java/src/StreamTail.java | 111 - java/src/SuspendNode.java | 36 - java/src/SvcHandler.java | 85 - java/src/Svc_Conf.y | 208 - java/src/Task.java | 415 - java/src/TaskFlags.java | 44 - java/src/ThreadManager.java | 109 - java/src/ThruTask.java | 48 - java/src/TimeValue.java | 256 - java/src/TimedWait.java | 134 - java/src/TimeoutException.java | 34 - java/src/TimerQueue.java | 433 - java/src/Token.java | 298 - java/src/Yylex.java | 1315 - java/src/Yylex.lex | 78 - java/src/parser.java | 621 - java/src/sym.java | 36 - java/tests/ASX/BufferStreamTest.dsp | 73 - java/tests/ASX/BufferStreamTest.java | 184 - 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 | 76 - java/tests/Connection/ConnectorTest.dsp | 73 - java/tests/Connection/ConnectorTest.java | 76 - java/tests/Connection/Makefile | 24 - 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 | 92 - java/tests/ServiceConfigurator/Makefile | 25 - .../ServiceConfigurator/ServiceConfigurator.dsp | 81 - java/tests/ServiceConfigurator/TestService.java | 52 - java/tests/ServiceConfigurator/reloadTest.java | 64 - 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 | 115 - 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 - os-patches/linux-patches.html | 190 - os-patches/lynxos-patches.html | 91 - 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 - 2113 files changed, 549436 deletions(-) delete mode 100644 ACE.DSW delete mode 100644 COPYING delete mode 100644 ChangeLog-97b delete mode 100644 STL/ACE_Changes delete mode 100644 STL/readme2.stl 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-98c delete mode 100755 TAO/IIOP/Build/default.bld delete mode 100755 TAO/IIOP/Build/tao.bld delete mode 100644 TAO/IIOP/Makefile delete mode 100644 TAO/IIOP/docs/us/codecounts/align.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/any.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/any.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/cdr.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/cdr.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/connmgr.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/connmgr.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/corbacom.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/corbacom.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/debug.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/debug.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/except.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/except.hh.cccc delete mode 100755 TAO/IIOP/docs/us/codecounts/generate delete mode 100644 TAO/IIOP/docs/us/codecounts/giop.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/giop.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/iiopobj.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/iiopobj.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/iioporb.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/iioporb.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/initguid.h.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/interp.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/invoke.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/marshal.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/nvlist.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/nvlist.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/objbase.h.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/object.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/object.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/orb.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/orbconf.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/orbobj.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/orbobj.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/principa.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/principa.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/request.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/request.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/roa.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/roa.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/roa.i.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/sequence.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/stub.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/svrrqst.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/svrrqst.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/t-sizes.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/t-xdr.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/tc_const.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/tcpoa.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/tcpoa.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/thread.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/toa.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/toa.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/typecode.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/typecode.hh.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/xdr.cpp.cccc delete mode 100644 TAO/IIOP/docs/us/codecounts/xdr.hh.cccc delete mode 100644 TAO/IIOP/docs/us/plan.html delete mode 100644 TAO/IIOP/docs/us/server delete mode 100755 TAO/IIOP/test/Build/clnt.bld delete mode 100755 TAO/IIOP/test/Build/default.bld delete mode 100755 TAO/IIOP/test/Build/svr.bld delete mode 100644 TAO/IIOP/test/Makefile delete mode 100644 TAO/IIOP/test/Orbeline/base_server/Makefile delete mode 100644 TAO/IIOP/test/Orbeline/base_server/Profile_Timer.cpp delete mode 100644 TAO/IIOP/test/Orbeline/base_server/Profile_Timer.h delete mode 100644 TAO/IIOP/test/Orbeline/base_server/cubit.idl delete mode 100644 TAO/IIOP/test/Orbeline/base_server/cubit_impl.cpp delete mode 100644 TAO/IIOP/test/Orbeline/base_server/cubit_impl.h delete mode 100644 TAO/IIOP/test/Orbeline/base_server/server.cpp delete mode 100644 TAO/IIOP/test/Orbeline/base_server/stdmk delete mode 100644 TAO/IIOP/test/Orbeline/client/Makefile delete mode 100644 TAO/IIOP/test/Orbeline/client/Profile_Timer.cpp delete mode 100644 TAO/IIOP/test/Orbeline/client/Profile_Timer.h delete mode 100644 TAO/IIOP/test/Orbeline/client/client.cpp delete mode 100644 TAO/IIOP/test/Orbeline/client/cubit.idl delete mode 100644 TAO/IIOP/test/Orbeline/client/stdmk delete mode 100644 TAO/IIOP/test/Orbix/Makefile delete mode 100644 TAO/IIOP/test/Orbix/base_server/Makefile delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubit.h delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubit.idl delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubitC.cpp delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubitC.h delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubitS.cpp delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubitS.h delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubit_impl.cpp delete mode 100644 TAO/IIOP/test/Orbix/base_server/cubit_impl.h delete mode 100644 TAO/IIOP/test/Orbix/base_server/server.cpp delete mode 100644 TAO/IIOP/test/Orbix/base_server/tpr.cpp delete mode 100644 TAO/IIOP/test/Orbix/base_server/tpr.h delete mode 100644 TAO/IIOP/test/Orbix/client/Makefile delete mode 100644 TAO/IIOP/test/Orbix/client/client.cpp delete mode 100644 TAO/IIOP/test/Orbix/client/cubit.h delete mode 100644 TAO/IIOP/test/Orbix/client/cubit.idl delete mode 100644 TAO/IIOP/test/Orbix/client/cubitC.cpp delete mode 100644 TAO/IIOP/test/Orbix/factory_client/Makefile delete mode 100644 TAO/IIOP/test/Orbix/factory_client/client.cpp delete mode 100644 TAO/IIOP/test/Orbix/factory_client/cubit.h delete mode 100644 TAO/IIOP/test/Orbix/factory_client/cubit.hh delete mode 100644 TAO/IIOP/test/Orbix/factory_client/cubit.idl delete mode 100644 TAO/IIOP/test/Orbix/factory_client/cubitC.cpp delete mode 100644 TAO/IIOP/test/Orbix/factory_client/cubitS.cpp delete mode 100644 TAO/IIOP/test/Orbix/orb.mk delete mode 100644 TAO/IIOP/test/Orbix/tpool/Makefile delete mode 100644 TAO/IIOP/test/Orbix/tpool/cubit.h delete mode 100644 TAO/IIOP/test/Orbix/tpool/cubit.idl delete mode 100644 TAO/IIOP/test/Orbix/tpool/cubitC.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpool/cubitS.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpool/cubit_impl.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpool/cubit_impl.h delete mode 100644 TAO/IIOP/test/Orbix/tpool/server.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpool/tpool.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpool/tpool.h delete mode 100644 TAO/IIOP/test/Orbix/tpr/Makefile delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubit.h delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubit.idl delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubitC.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubitC.h delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubitS.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubitS.h delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubit_impl.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpr/cubit_impl.h delete mode 100644 TAO/IIOP/test/Orbix/tpr/server.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpr/tpr.cpp delete mode 100644 TAO/IIOP/test/Orbix/tpr/tpr.h delete mode 100644 TAO/IIOP/test/Orbix/tps/Makefile delete mode 100644 TAO/IIOP/test/Orbix/tps/cubit.h delete mode 100644 TAO/IIOP/test/Orbix/tps/cubit.idl delete mode 100644 TAO/IIOP/test/Orbix/tps/cubitC.cpp delete mode 100644 TAO/IIOP/test/Orbix/tps/cubitS.cpp delete mode 100644 TAO/IIOP/test/Orbix/tps/cubit_impl.cpp delete mode 100644 TAO/IIOP/test/Orbix/tps/cubit_impl.h delete mode 100644 TAO/IIOP/test/Orbix/tps/server.cpp delete mode 100644 TAO/IIOP/test/Orbix/tps/tps.cpp delete mode 100644 TAO/IIOP/test/Orbix/tps/tps.h delete mode 100644 TAO/IIOP/test/clnt.cpp delete mode 100644 TAO/IIOP/test/cubit.cpp delete mode 100644 TAO/IIOP/test/cubit.h delete mode 100644 TAO/IIOP/test/cubit.idl delete mode 100644 TAO/IIOP/test/cubitC.cpp delete mode 100644 TAO/IIOP/test/cubitC.h delete mode 100644 TAO/IIOP/test/cubitS.cpp delete mode 100644 TAO/IIOP/test/cubitS.h delete mode 100644 TAO/IIOP/test/cubit_i.cpp delete mode 100644 TAO/IIOP/test/cubit_i.h delete mode 100644 TAO/IIOP/test/method_db.i delete mode 100644 TAO/IIOP/test/results/Orbix delete mode 100644 TAO/IIOP/test/results/TAO delete mode 100644 TAO/IIOP/test/results/Visibroker delete mode 100644 TAO/IIOP/test/results/orbs.xls delete mode 100644 TAO/IIOP/test/svr.cpp delete mode 100644 TAO/IIOP/test/test.mak delete mode 100644 TAO/IIOP/test/test.mdp delete mode 100644 TAO/IIOP/test/test1.cpp delete mode 100644 TAO/IIOP/test/test1.h delete mode 100644 TAO/IIOP/test/test1.idl delete mode 100644 TAO/IIOP/test/test1_clnt.cpp delete mode 100644 TAO/IIOP/test/test1_svr.cpp delete mode 100644 TAO/IIOP/test/tnf/Orbix.svr.summary delete mode 100644 TAO/IIOP/test/tnf/clnt.summary delete mode 100644 TAO/IIOP/test/tnf/svr.summary delete mode 100755 TAO/IIOP/tests/Cubit/Build/clnt.bld delete mode 100755 TAO/IIOP/tests/Cubit/Build/default.bld delete mode 100755 TAO/IIOP/tests/Cubit/Build/svr.bld delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/server.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/client/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/client/client.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/client/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/client/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/client/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/client.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.hh delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitS.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/orb.mk delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/cubitS.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/server.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/cubitS.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.h delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/tps.cpp delete mode 100644 TAO/IIOP/tests/Cubit/Orbix/tps/tps.h delete mode 100644 TAO/IIOP/tests/Cubit/README delete mode 100644 TAO/IIOP/tests/Cubit/TAO/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/TAO/clnt.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubit.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubit.h delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubitC.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubitC.h delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubitS.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubitS.h delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubit_i.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/cubit_i.h delete mode 100644 TAO/IIOP/tests/Cubit/TAO/method_db.i delete mode 100644 TAO/IIOP/tests/Cubit/TAO/svr.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test.mak delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test.mdp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test1.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test1.h delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test1.idl delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test1_clnt.cpp delete mode 100644 TAO/IIOP/tests/Cubit/TAO/test1_svr.cpp delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.cpp delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.h delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/server.cpp delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/base_server/stdmk delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/client/Makefile delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/client/client.cpp delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/client/cubit.idl delete mode 100644 TAO/IIOP/tests/Cubit/VisiBroker/client/stdmk delete mode 100644 TAO/IIOP/tests/Cubit/results/Orbix delete mode 100644 TAO/IIOP/tests/Cubit/results/TAO delete mode 100644 TAO/IIOP/tests/Cubit/results/Visibroker delete mode 100644 TAO/IIOP/tests/Cubit/results/orbs.xls delete mode 100644 TAO/IIOP/tests/Thruput_test/Makefile delete mode 100644 TAO/IIOP/tests/Thruput_test/README delete mode 100644 TAO/IIOP/tests/Thruput_test/client.cpp delete mode 100755 TAO/IIOP/tests/Thruput_test/run delete mode 100755 TAO/IIOP/tests/Thruput_test/run_client delete mode 100755 TAO/IIOP/tests/Thruput_test/run_server delete mode 100755 TAO/IIOP/tests/Thruput_test/run_test delete mode 100644 TAO/IIOP/tests/Thruput_test/server.cpp delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcp.idl delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcpC.cpp delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcpC.h delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcpS.cpp delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcpS.h delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcp_decl.h delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcp_i.cpp delete mode 100644 TAO/IIOP/tests/Thruput_test/ttcp_i.h delete mode 100644 TAO/IIOP/tests/Thruput_test/utils.cpp delete mode 100644 TAO/INSTALL delete mode 100644 TAO/LICENSE.sun delete mode 100644 TAO/Makefile delete mode 100644 TAO/README delete mode 100644 TAO/README.sun delete mode 100644 TAO/TAO-INSTALL.html delete mode 100644 TAO/TAO_IDL/ANNOUNCEMENT delete mode 100644 TAO/TAO_IDL/CHANGES delete mode 100755 TAO/TAO_IDL/GenExportH.BAT delete mode 100644 TAO/TAO_IDL/INSTALL delete mode 100644 TAO/TAO_IDL/Makefile delete mode 100644 TAO/TAO_IDL/README delete mode 100644 TAO/TAO_IDL/TAO_IDL4.mak delete mode 100644 TAO/TAO_IDL/TAO_IDL4.mdp delete mode 100644 TAO/TAO_IDL/VCAUTO.MAK delete mode 100644 TAO/TAO_IDL/ast/Makefile 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 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_factory.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_interpretive.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_state.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_argument.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_array.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_attribute.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_exception.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_operation.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_sequence.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_structure.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_typedef.cpp delete mode 100644 TAO/TAO_IDL/be/be_state_union.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_visitor.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_args.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_attribute.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_constant.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_exception.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_field.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_module.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_operation.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_root.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_structure.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_typedef.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union.cpp delete mode 100644 TAO/TAO_IDL/be/be_visitor_union_branch.cpp 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_factory.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_interpretive.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_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_visitor.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_args.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_attribute.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_constant.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_exception.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_field.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_module.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_operation.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_root.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_structure.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_typedef.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union.h delete mode 100644 TAO/TAO_IDL/be_include/be_visitor_union_branch.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 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 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_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/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/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 delete mode 100644 TAO/TAO_IDL/narrow/narrow.cpp delete mode 100644 TAO/TAO_IDL/tao_idl.MAK 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/util/Makefile 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/VCAUTO.MAK delete mode 100644 TAO/VERSION delete mode 100755 TAO/announcement delete mode 100644 TAO/docs/DIFFERENCES delete mode 100644 TAO/docs/HISTORY delete mode 100644 TAO/docs/Options.html delete mode 100644 TAO/docs/REFERENCES 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/index.html delete mode 100644 TAO/docs/orbsvcs.html delete mode 100644 TAO/docs/poa_migration.html delete mode 100644 TAO/docs/releasenotes.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/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.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/NavWeap.idl delete mode 100644 TAO/examples/Simulator/README delete mode 100644 TAO/examples/Simulator/Sim_Display/Border_Panel.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Art_Horizon.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Client.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Consumer.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Object.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Object_Factory.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Push_Consumer.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Display_Weapons.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Graph.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Graph_Panel.java delete mode 100644 TAO/examples/Simulator/Sim_Display/NS_Resolve.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Queue.java delete mode 100644 TAO/examples/Simulator/Sim_Display/Sim_Panel.java delete mode 100755 TAO/examples/Simulator/ss 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/svc.conf 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/Makefile delete mode 100644 TAO/orbsvcs/Event_Service/svc.conf delete mode 100644 TAO/orbsvcs/Makefile delete mode 100644 TAO/orbsvcs/Naming_Service/Makefile 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/svc.conf delete mode 100644 TAO/orbsvcs/README delete mode 100644 TAO/orbsvcs/Scheduling_Service/Makefile 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/svc.conf delete mode 100644 TAO/orbsvcs/Trading_Service/Makefile delete mode 100644 TAO/orbsvcs/Trading_Service/trader.cpp 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/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/CosNaming.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosPropertyService.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosTimeBase.idl delete mode 100644 TAO/orbsvcs/orbsvcs/CosTrading.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/CORBA_Utils_T.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Channel_Clients.i delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Channel_Clients_T.i 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/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/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/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/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/Task_Manager.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Task_Manager.h delete mode 100644 TAO/orbsvcs/orbsvcs/Event/Task_Manager.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/Logger.idl delete mode 100644 TAO/orbsvcs/orbsvcs/Makefile delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/CosNaming_i.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/Ior_Multicast.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Naming/Ior_Multicast.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/Property/CosPropertyService_i.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.h delete mode 100644 TAO/orbsvcs/orbsvcs/Property/CosProperty_Hash.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Property/CosProperty_Hash.h 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/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/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/Sequences.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/Admin.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Admin.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Attributes.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Attributes.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Evaluator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Evaluator.h 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_Validator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Validator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitor.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/Dynamic_Property.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Dynamic_Property.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Interpreter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Interpreter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Link.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Link.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Locking.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Lookup.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Lookup.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Monitor.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterator_Collection.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Iterator_Collection.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Modifier.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Offer_Modifier.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Policies.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Policies.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Policy_Manager.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Policy_Manager.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Preference_Interpreter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Preference_Interpreter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Property_Evaluator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Property_Evaluator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Property_Filter.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Property_Filter.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Proxy.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Proxy.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Query_Only_Offer_Iterator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Query_Only_Offer_Iterator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/README delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Register.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Register.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Register_Offer_Iterator.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Register_Offer_Iterator.h delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Service_Type_Map.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Service_Type_Map.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_Base.cpp delete mode 100644 TAO/orbsvcs/orbsvcs/Trader/Trader_Base.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_lib.dsp delete mode 100644 TAO/orbsvcs/orbsvcs/sfp.idl delete mode 100644 TAO/orbsvcs/orbsvcs/tmplinst-orbsvcs.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/client.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/client.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/ANNOUNCE delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/BUGS delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/COPYING delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/INSTALL delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/INSTALL.UCB 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.UCB delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/VERSION delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/Makefile 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/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/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_client/ab.cpp 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/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/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/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/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/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/Makefile 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/Makefile 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/vcrs.cpp 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.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/server.h delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/Makefile delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/client.cpp delete mode 100644 TAO/orbsvcs/tests/AVStreams/sfp/svc.conf delete mode 100644 TAO/orbsvcs/tests/AVStreams/svc.conf delete mode 100644 TAO/orbsvcs/tests/CosPropertyService/Makefile delete mode 100644 TAO/orbsvcs/tests/CosPropertyService/main.cpp delete mode 100644 TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp 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/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 100644 TAO/orbsvcs/tests/Event_Latency/svc.conf delete mode 100644 TAO/orbsvcs/tests/Logger/Logger.dsw delete mode 100644 TAO/orbsvcs/tests/Logger/Makefile delete mode 100644 TAO/orbsvcs/tests/Logger/client.dsp delete mode 100644 TAO/orbsvcs/tests/Logger/clnt.cpp delete mode 100644 TAO/orbsvcs/tests/Logger/clnt.h delete mode 100644 TAO/orbsvcs/tests/Logger/logger_i.cpp delete mode 100644 TAO/orbsvcs/tests/Logger/logger_i.h delete mode 100644 TAO/orbsvcs/tests/Logger/server.dsp delete mode 100644 TAO/orbsvcs/tests/Logger/svc.conf delete mode 100644 TAO/orbsvcs/tests/Logger/svr.cpp delete mode 100644 TAO/orbsvcs/tests/Makefile delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/Makefile delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/Simple_Naming.dsw delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/client.dsp delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/clnt.cpp delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/clnt.h delete mode 100644 TAO/orbsvcs/tests/Simple_Naming/svc.conf 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/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/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.h 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/server.cpp delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/server.h delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/svc.conf delete mode 100644 TAO/performance-tests/Cubit/TAO/MT_Cubit/tmplinst.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/Makefile delete mode 100644 TAO/tao/TAO.MAK delete mode 100644 TAO/tao/TAO.dsp delete mode 100644 TAO/tao/TAO.dsw delete mode 100644 TAO/tao/TAO4.mak delete mode 100644 TAO/tao/TAO4.mdp delete mode 100644 TAO/tao/Timeprobe.cpp delete mode 100644 TAO/tao/Timeprobe.h delete mode 100644 TAO/tao/Timeprobe.i delete mode 100644 TAO/tao/VCAUTO.MAK delete mode 100644 TAO/tao/align.h 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/arg_shifter.cpp delete mode 100644 TAO/tao/arg_shifter.h delete mode 100644 TAO/tao/client_factory.cpp delete mode 100644 TAO/tao/client_factory.h delete mode 100644 TAO/tao/client_factory.i delete mode 100644 TAO/tao/compat/initguid.h delete mode 100644 TAO/tao/compat/objbase.h delete mode 100644 TAO/tao/connect.h delete mode 100644 TAO/tao/connect.i delete mode 100644 TAO/tao/corba.h delete mode 100644 TAO/tao/corbacom.cpp delete mode 100644 TAO/tao/corbacom.h delete mode 100644 TAO/tao/corbacom.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_copy.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_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/except.cpp delete mode 100644 TAO/tao/except.h delete mode 100644 TAO/tao/factories.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/iiopobj.cpp delete mode 100644 TAO/tao/iiopobj.h delete mode 100644 TAO/tao/iiopobj.i delete mode 100644 TAO/tao/iioporb.cpp delete mode 100644 TAO/tao/iioporb.h delete mode 100644 TAO/tao/iioporb.i delete mode 100644 TAO/tao/interp.cpp delete mode 100644 TAO/tao/invoke.cpp 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/nvlist.cpp delete mode 100644 TAO/tao/nvlist.h delete mode 100644 TAO/tao/nvlist.i delete mode 100644 TAO/tao/objkey.idl delete mode 100644 TAO/tao/objkeyC.cpp delete mode 100644 TAO/tao/objkeyC.h delete mode 100644 TAO/tao/objkeyC.i delete mode 100644 TAO/tao/objtable.cpp delete mode 100644 TAO/tao/objtable.h delete mode 100644 TAO/tao/optable.cpp delete mode 100644 TAO/tao/optable.h delete mode 100644 TAO/tao/orbconf.h delete mode 100644 TAO/tao/orbobj.cpp delete mode 100644 TAO/tao/orbobj.h delete mode 100644 TAO/tao/orbobj.i 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.cpp delete mode 100644 TAO/tao/poa.h delete mode 100644 TAO/tao/poa.i delete mode 100644 TAO/tao/poa.idl 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/poaS.cpp delete mode 100644 TAO/tao/poaS.h delete mode 100644 TAO/tao/poaS.i delete mode 100644 TAO/tao/poa_T.cpp delete mode 100644 TAO/tao/poa_T.h delete mode 100644 TAO/tao/poa_macros.h delete mode 100644 TAO/tao/principa.cpp delete mode 100644 TAO/tao/principa.h delete mode 100644 TAO/tao/request.cpp delete mode 100644 TAO/tao/request.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.i delete mode 100644 TAO/tao/servant_base.cpp delete mode 100644 TAO/tao/servant_base.h delete mode 100644 TAO/tao/server_factory.cpp delete mode 100644 TAO/tao/server_factory.h delete mode 100644 TAO/tao/server_factory.i delete mode 100644 TAO/tao/singletons.h delete mode 100644 TAO/tao/strategy_T.cpp delete mode 100644 TAO/tao/strategy_T.h delete mode 100644 TAO/tao/strategy_T.i delete mode 100644 TAO/tao/svrrqst.cpp delete mode 100644 TAO/tao/svrrqst.h delete mode 100644 TAO/tao/svrrqst.i delete mode 100644 TAO/tao/t-sizes.cpp delete mode 100644 TAO/tao/tao.bld delete mode 100644 TAO/tao/tao.h delete mode 100644 TAO/tao/tao_internals.cpp delete mode 100644 TAO/tao/tao_internals.h delete mode 100644 TAO/tao/tao_internals.i delete mode 100644 TAO/tao/tao_util.cpp delete mode 100644 TAO/tao/tao_util.h delete mode 100644 TAO/tao/tc_const.cpp 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/varout.h delete mode 100644 TAO/taoconfig.mk delete mode 100644 TAO/tests/CDR/Makefile delete mode 100644 TAO/tests/CDR/basic_types.cpp delete mode 100644 TAO/tests/CDR/tc.cpp delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/README delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/client.cpp delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/client.h delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/cubit.idl delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/cubit_i.cpp delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/cubit_i.h delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/server.cpp delete mode 100644 TAO/tests/Cubit/COOL/IDL_Cubit/tmplinst.cpp delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/README delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.h delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/Util_Thread.cpp delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/Util_Thread.h delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/client.cpp delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/client.h delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/cubit.idl delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/cubit_impl.cpp delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/cubit_impl.h delete mode 100644 TAO/tests/Cubit/COOL/MT_Cubit/server.cpp delete mode 100644 TAO/tests/Cubit/COOL/Makefile delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/README delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/clnt.cpp delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/clnt.h delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/cubit.idl delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.h delete mode 100644 TAO/tests/Cubit/CORBAplus/IDL_Cubit/svr.cpp delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/README delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/client/Makefile delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.cpp delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.h delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/client/cubit.idl delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/server/Makefile delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/server/cubit.idl delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.h delete mode 100644 TAO/tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp delete mode 100644 TAO/tests/Cubit/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/base_server/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/base_server/cubit.idl delete mode 100644 TAO/tests/Cubit/Orbix/base_server/cubit_impl.cpp delete mode 100644 TAO/tests/Cubit/Orbix/base_server/cubit_impl.h delete mode 100644 TAO/tests/Cubit/Orbix/base_server/server.cpp delete mode 100644 TAO/tests/Cubit/Orbix/client/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/client/client.cpp delete mode 100644 TAO/tests/Cubit/Orbix/client/cubit.h delete mode 100644 TAO/tests/Cubit/Orbix/client/cubit.idl delete mode 100644 TAO/tests/Cubit/Orbix/client/cubitC.cpp delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/client.cpp delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/cubit.h delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/cubit.hh delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/cubit.idl delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/cubitC.cpp delete mode 100644 TAO/tests/Cubit/Orbix/factory_client/cubitS.cpp delete mode 100644 TAO/tests/Cubit/Orbix/orb.mk delete mode 100644 TAO/tests/Cubit/Orbix/tpool/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/tpool/cubit.h delete mode 100644 TAO/tests/Cubit/Orbix/tpool/cubit.idl delete mode 100644 TAO/tests/Cubit/Orbix/tpool/cubitC.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpool/cubitS.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpool/cubit_impl.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpool/cubit_impl.h delete mode 100644 TAO/tests/Cubit/Orbix/tpool/server.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpool/tpool.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpool/tpool.h delete mode 100644 TAO/tests/Cubit/Orbix/tpr/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubit.h delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubit.idl delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubitC.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubitC.h delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubitS.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubitS.h delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubit_impl.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpr/cubit_impl.h delete mode 100644 TAO/tests/Cubit/Orbix/tpr/server.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpr/tpr.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tpr/tpr.h delete mode 100644 TAO/tests/Cubit/Orbix/tps/Makefile delete mode 100644 TAO/tests/Cubit/Orbix/tps/cubit.h delete mode 100644 TAO/tests/Cubit/Orbix/tps/cubit.idl delete mode 100644 TAO/tests/Cubit/Orbix/tps/cubitC.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tps/cubitS.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tps/cubit_impl.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tps/cubit_impl.h delete mode 100644 TAO/tests/Cubit/Orbix/tps/tps.cpp delete mode 100644 TAO/tests/Cubit/Orbix/tps/tps.h delete mode 100644 TAO/tests/Cubit/README delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/README delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/client.dsp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/clnt.bld delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/clnt.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/clnt.h delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubit.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubit.h delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubit.idl delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubitC.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubitC.h delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubitS.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubitS.h delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubit_i.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/cubit_i.h delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/default.bld delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/method_db.i delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/server.dsp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/svc.conf delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/svr.bld delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/svr.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test.mak delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test.mdp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test1.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test1.h delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test1.idl delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test1_clnt.cpp delete mode 100644 TAO/tests/Cubit/TAO/DII_Cubit/test1_svr.cpp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/Cubit.mak delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/Cubit.mdp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/README delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/VCAUTO.MAK delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/client.MAK delete mode 100755 TAO/tests/Cubit/TAO/IDL_Cubit/client.bld delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/client.cpp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/client.dsp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/client.h delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/default.bld delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/server.MAK delete mode 100755 TAO/tests/Cubit/TAO/IDL_Cubit/server.bld delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/server.cpp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/server.dsp delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/server.h delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/svc.conf delete mode 100644 TAO/tests/Cubit/TAO/IDL_Cubit/tmplinst.cpp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/MT_Cubit.dsw delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/Makefile delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/README delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.cpp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/Task_Client.h delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/VCAUTO.MAK delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/client.MAK delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/client.cpp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/client.dsp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/client.h delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/clnt.bld delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/cubit.idl delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/cubit_i.cpp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/cubit_i.h delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/default.bld delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/server.MAK delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/server.cpp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/server.dsp delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/server.h delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/svc.conf delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/svr.bld delete mode 100644 TAO/tests/Cubit/TAO/MT_Cubit/tmplinst.cpp delete mode 100644 TAO/tests/Cubit/TAO/Makefile delete mode 100644 TAO/tests/Cubit/TAO/README delete mode 100644 TAO/tests/Cubit/TAO/VCAUTO.MAK delete mode 100644 TAO/tests/Cubit/VCAUTO.MAK delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/Makefile delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/Profile_Timer.h delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/cubit.idl delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/cubit_impl.cpp delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/cubit_impl.h delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/server.cpp delete mode 100644 TAO/tests/Cubit/VisiBroker/base_server/stdmk delete mode 100644 TAO/tests/Cubit/VisiBroker/client/Makefile delete mode 100644 TAO/tests/Cubit/VisiBroker/client/Profile_Timer.cpp delete mode 100644 TAO/tests/Cubit/VisiBroker/client/Profile_Timer.h delete mode 100644 TAO/tests/Cubit/VisiBroker/client/client.cpp delete mode 100644 TAO/tests/Cubit/VisiBroker/client/cubit.idl delete mode 100644 TAO/tests/Cubit/VisiBroker/client/stdmk delete mode 100644 TAO/tests/Cubit/results/Orbix delete mode 100644 TAO/tests/Cubit/results/TAO delete mode 100644 TAO/tests/Cubit/results/Visibroker delete mode 100644 TAO/tests/Cubit/results/orbs.xls delete mode 100644 TAO/tests/Demux_Test/CodeGen/Makefile delete mode 100644 TAO/tests/Demux_Test/CodeGen/README delete mode 100644 TAO/tests/Demux_Test/CodeGen/client.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/gen.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/impl.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/objcreate.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/perf.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/skel.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/stub.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/tao.cpp delete mode 100644 TAO/tests/Demux_Test/CodeGen/tao.h delete mode 100755 TAO/tests/Demux_Test/Makefile delete mode 100644 TAO/tests/Demux_Test/README delete mode 100755 TAO/tests/Demux_Test/client.cpp delete mode 100755 TAO/tests/Demux_Test/gen_bin delete mode 100755 TAO/tests/Demux_Test/make_all delete mode 100755 TAO/tests/Demux_Test/run_all_client delete mode 100755 TAO/tests/Demux_Test/run_all_server delete mode 100755 TAO/tests/Demux_Test/run_client delete mode 100755 TAO/tests/Demux_Test/run_server delete mode 100755 TAO/tests/Demux_Test/server.cpp delete mode 100644 TAO/tests/Makefile delete mode 100644 TAO/tests/NestedUpcall/Makefile delete mode 100644 TAO/tests/NestedUpcall/NestedUpcall.dsw delete mode 100644 TAO/tests/NestedUpcall/README delete mode 100644 TAO/tests/NestedUpcall/Reactor.idl delete mode 100644 TAO/tests/NestedUpcall/client.cpp delete mode 100644 TAO/tests/NestedUpcall/client.dsp delete mode 100644 TAO/tests/NestedUpcall/eh_i.cpp delete mode 100644 TAO/tests/NestedUpcall/eh_i.h delete mode 100644 TAO/tests/NestedUpcall/reactor_i.cpp delete mode 100644 TAO/tests/NestedUpcall/reactor_i.h delete mode 100644 TAO/tests/NestedUpcall/server.cpp delete mode 100644 TAO/tests/NestedUpcall/server.dsp delete mode 100644 TAO/tests/NestedUpcall/svc.conf delete mode 100644 TAO/tests/POA/Default_Servant/Default_Servant.dsw delete mode 100644 TAO/tests/POA/Default_Servant/File.idl delete mode 100644 TAO/tests/POA/Default_Servant/File_i.cpp delete mode 100644 TAO/tests/POA/Default_Servant/File_i.h delete mode 100644 TAO/tests/POA/Default_Servant/Makefile delete mode 100644 TAO/tests/POA/Default_Servant/README delete mode 100644 TAO/tests/POA/Default_Servant/client.cpp delete mode 100644 TAO/tests/POA/Default_Servant/client.dsp delete mode 100644 TAO/tests/POA/Default_Servant/server.cpp delete mode 100644 TAO/tests/POA/Default_Servant/server.dsp delete mode 100644 TAO/tests/POA/Default_Servant/svc.conf delete mode 100644 TAO/tests/POA/Explicit_Activation/Explicit_Activation.dsw delete mode 100644 TAO/tests/POA/Explicit_Activation/Makefile delete mode 100644 TAO/tests/POA/Explicit_Activation/README delete mode 100644 TAO/tests/POA/Explicit_Activation/server.cpp delete mode 100644 TAO/tests/POA/Explicit_Activation/server.dsp delete mode 100644 TAO/tests/POA/Explicit_Activation/svc.conf delete mode 100644 TAO/tests/POA/FindPOA/FindPOA.cpp delete mode 100644 TAO/tests/POA/FindPOA/FindPOA.dsp delete mode 100644 TAO/tests/POA/FindPOA/FindPOA.dsw delete mode 100644 TAO/tests/POA/FindPOA/Makefile delete mode 100644 TAO/tests/POA/FindPOA/README delete mode 100644 TAO/tests/POA/Generic_Servant/Foo.idl delete mode 100644 TAO/tests/POA/Generic_Servant/Generic_Servant.dsw delete mode 100644 TAO/tests/POA/Generic_Servant/Makefile delete mode 100644 TAO/tests/POA/Generic_Servant/MyFooServant.cpp delete mode 100644 TAO/tests/POA/Generic_Servant/MyFooServant.h delete mode 100644 TAO/tests/POA/Generic_Servant/README delete mode 100644 TAO/tests/POA/Generic_Servant/client.cpp delete mode 100644 TAO/tests/POA/Generic_Servant/client.dsp delete mode 100644 TAO/tests/POA/Generic_Servant/server.dsp delete mode 100644 TAO/tests/POA/Makefile delete mode 100644 TAO/tests/POA/NewPOA/Makefile delete mode 100644 TAO/tests/POA/NewPOA/NewPOA.cpp delete mode 100644 TAO/tests/POA/NewPOA/NewPOA.dsp delete mode 100644 TAO/tests/POA/NewPOA/NewPOA.dsw delete mode 100644 TAO/tests/POA/NewPOA/README delete mode 100644 TAO/tests/POA/On_Demand_Activation/Makefile delete mode 100644 TAO/tests/POA/On_Demand_Activation/On_Demand_Activation.dsw delete mode 100644 TAO/tests/POA/On_Demand_Activation/README delete mode 100644 TAO/tests/POA/On_Demand_Activation/Servant_Activator.cpp delete mode 100644 TAO/tests/POA/On_Demand_Activation/Servant_Activator.h delete mode 100644 TAO/tests/POA/On_Demand_Activation/Servant_Locator.cpp delete mode 100644 TAO/tests/POA/On_Demand_Activation/Servant_Locator.h delete mode 100644 TAO/tests/POA/On_Demand_Activation/server.cpp delete mode 100644 TAO/tests/POA/On_Demand_Activation/server.dsp delete mode 100644 TAO/tests/POA/On_Demand_Activation/svc.conf delete mode 100644 TAO/tests/POA/README delete mode 100644 TAO/tests/POA/RootPOA/Makefile delete mode 100644 TAO/tests/POA/RootPOA/README delete mode 100644 TAO/tests/POA/RootPOA/RootPOA.cpp delete mode 100644 TAO/tests/POA/RootPOA/RootPOA.dsp delete mode 100644 TAO/tests/POA/RootPOA/RootPOA.dsw 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/VCAUTO.MAK delete mode 100644 TAO/tests/Param_Test/client.MAK 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/driver.cpp delete mode 100644 TAO/tests/Param_Test/driver.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/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/results.cpp delete mode 100644 TAO/tests/Param_Test/results.h delete mode 100755 TAO/tests/Param_Test/run_test delete mode 100644 TAO/tests/Param_Test/server.MAK 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/svc.conf delete mode 100644 TAO/tests/Param_Test/tests.cpp delete mode 100644 TAO/tests/Param_Test/tests.h delete mode 100644 TAO/tests/Param_Test/tmplinst.cpp delete mode 100644 TAO/tests/Quoter/Quoter.dsp delete mode 100644 TAO/tests/Quoter/Quoter.dsw delete mode 100644 TAO/tests/Quoter/quoter.idl delete mode 100644 TAO/tests/Quoter/quoter_client.cpp delete mode 100644 TAO/tests/Quoter/quoter_client.dsp delete mode 100644 TAO/tests/Quoter/quoter_client.h delete mode 100644 TAO/tests/Quoter/quoter_impl.cpp delete mode 100644 TAO/tests/Quoter/quoter_impl.h delete mode 100644 TAO/tests/Quoter/quoter_server.cpp delete mode 100644 TAO/tests/Quoter/quoter_server.dsp delete mode 100644 TAO/tests/Quoter/quoter_server.h delete mode 100644 TAO/tests/Quoter/svc.conf delete mode 100644 TAO/tests/README delete mode 100644 TAO/tests/Thruput/COOL/Makefile delete mode 100644 TAO/tests/Thruput/COOL/README delete mode 100644 TAO/tests/Thruput/COOL/client.cpp delete mode 100644 TAO/tests/Thruput/COOL/server.cpp delete mode 100644 TAO/tests/Thruput/COOL/ttcp.idl delete mode 100644 TAO/tests/Thruput/COOL/ttcp_decl.h delete mode 100644 TAO/tests/Thruput/COOL/ttcp_i.cpp delete mode 100644 TAO/tests/Thruput/COOL/ttcp_i.h delete mode 100644 TAO/tests/Thruput/COOL/utils.cpp delete mode 100644 TAO/tests/Thruput/CORBAplus/Makefile delete mode 100644 TAO/tests/Thruput/CORBAplus/README delete mode 100644 TAO/tests/Thruput/CORBAplus/client.cpp delete mode 100644 TAO/tests/Thruput/CORBAplus/extract delete mode 100644 TAO/tests/Thruput/CORBAplus/run delete mode 100644 TAO/tests/Thruput/CORBAplus/run_client delete mode 100644 TAO/tests/Thruput/CORBAplus/run_server delete mode 100644 TAO/tests/Thruput/CORBAplus/run_test delete mode 100644 TAO/tests/Thruput/CORBAplus/run_tests delete mode 100644 TAO/tests/Thruput/CORBAplus/server.cpp delete mode 100644 TAO/tests/Thruput/CORBAplus/ttcp.idl delete mode 100644 TAO/tests/Thruput/CORBAplus/ttcp_decl.h delete mode 100644 TAO/tests/Thruput/CORBAplus/ttcp_i.cpp delete mode 100644 TAO/tests/Thruput/CORBAplus/ttcp_i.h delete mode 100644 TAO/tests/Thruput/CORBAplus/utils.cpp delete mode 100644 TAO/tests/Thruput/Makefile delete mode 100644 TAO/tests/Thruput/Orbix/Client.cpp delete mode 100644 TAO/tests/Thruput/Orbix/Makefile delete mode 100644 TAO/tests/Thruput/Orbix/README delete mode 100644 TAO/tests/Thruput/Orbix/Srv_Main.cpp delete mode 100644 TAO/tests/Thruput/Orbix/extract delete mode 100644 TAO/tests/Thruput/Orbix/loop64 delete mode 100644 TAO/tests/Thruput/Orbix/orbixsol2s4.mk delete mode 100644 TAO/tests/Thruput/Orbix/run delete mode 100644 TAO/tests/Thruput/Orbix/run_client delete mode 100644 TAO/tests/Thruput/Orbix/run_server delete mode 100644 TAO/tests/Thruput/Orbix/run_test delete mode 100644 TAO/tests/Thruput/Orbix/run_tests delete mode 100644 TAO/tests/Thruput/Orbix/ttcp.idl delete mode 100644 TAO/tests/Thruput/Orbix/ttcp_decl.h delete mode 100644 TAO/tests/Thruput/Orbix/ttcp_i.cpp delete mode 100644 TAO/tests/Thruput/Orbix/ttcp_i.h delete mode 100644 TAO/tests/Thruput/Orbix/utils.cpp delete mode 100644 TAO/tests/Thruput/TAO/Makefile delete mode 100644 TAO/tests/Thruput/TAO/README delete mode 100644 TAO/tests/Thruput/TAO/client.cpp delete mode 100644 TAO/tests/Thruput/TAO/run delete mode 100644 TAO/tests/Thruput/TAO/run_client delete mode 100644 TAO/tests/Thruput/TAO/run_server delete mode 100644 TAO/tests/Thruput/TAO/run_test delete mode 100644 TAO/tests/Thruput/TAO/server.cpp delete mode 100644 TAO/tests/Thruput/TAO/svc.conf delete mode 100644 TAO/tests/Thruput/TAO/tmplinst.cpp delete mode 100644 TAO/tests/Thruput/TAO/ttcp.idl delete mode 100644 TAO/tests/Thruput/TAO/ttcp_decl.h delete mode 100644 TAO/tests/Thruput/TAO/ttcp_i.cpp delete mode 100644 TAO/tests/Thruput/TAO/ttcp_i.h delete mode 100644 TAO/tests/Thruput/TAO/utils.cpp delete mode 100644 TAO/tests/VCAUTO.MAK delete mode 100644 VCAUTO.MAK delete mode 100644 ace/Makefile 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 apps/JAWS/server/PROTOTYPE/HTTP_10.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/HTTP_10.h delete mode 100644 apps/JAWS/server/PROTOTYPE/HTTP_Policy.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/HTTP_Policy.h delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Concurrency.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Concurrency.h delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/IO.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/IO.h delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/IO_Acceptor.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/IO_Acceptor.h delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/IO_Handler.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/IO_Handler.h delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Makefile delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Pipeline.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Pipeline.h delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Pipeline_Handler.cpp delete mode 100644 apps/JAWS/server/PROTOTYPE/JAWS/Pipeline_Handler.h delete mode 100644 apps/JAWS/server/PROTOTYPE/main.cpp delete mode 100644 docs/ACE-inheritance.pdf.gz delete mode 100644 docs/ACE-inheritance.ps.gz delete mode 100644 docs/CE-status.txt 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/java_cup/java_cup.dsp delete mode 100644 java/java_cup/java_cup.dsw 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 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 100755 java/src/MakeLexer delete mode 100755 java/src/MakeParser 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/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/Svc_Conf.y 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/src/Yylex.java delete mode 100644 java/src/Yylex.lex delete mode 100644 java/src/parser.java delete mode 100644 java/src/sym.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/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 os-patches/linux-patches.html delete mode 100644 os-patches/lynxos-patches.html 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.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/COPYING b/COPYING deleted file mode 100644 index cc021e42434..00000000000 --- a/COPYING +++ /dev/null @@ -1,35 +0,0 @@ -COPYRIGHT INFORMATION FOR ACE - -ACE is copyrighted by Douglas C. Schmidt and his research group at -Washington University, Copyright (c) 1993-1997, all rights reserved. -You are free to do anything you like with the ACE source code (and -object code produced from the source). For instance, you can include -it in commercial software, as long as you include this copyright -statement along with code built using ACE. - -You are under no obligation to freely redistribute any of your source -code that is built using ACE. Please note, however, that you may not -do anything to the ACE code that will prevent it from being -distributed freely (such as copyrighting it yourself or claiming -authorship of the ACE code). - -ACE 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. - -ACE is 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. - -Washington University, its employees, and students shall have no -liability with respect to the infringement of copyrights, trade -secrets or any patents by ACE or any part thereof. - -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. - - Douglas C. Schmidt - schmidt@cs.wustl.edu - diff --git a/ChangeLog-97b b/ChangeLog-97b deleted file mode 100644 index cb3e925925f..00000000000 --- a/ChangeLog-97b +++ /dev/null @@ -1,9182 +0,0 @@ -Tue Nov 25 16:18:49 1997 David L. Levine - - * ACE version 4.4, released Tue Nov 25 16:18:49 1997. - -Tue Nov 25 16:03:09 1997 David L. Levine - - * Makefile: fixed Version.h generation to work properly when - $$beta is undefined. - -Mon Nov 24 10:33:34 1997 Douglas C. Schmidt - - * ACE version 4.3.56, released Mon Nov 24 10:33:34 1997. - -Sun Nov 23 13:32:02 1997 David L. Levine - - * ace/IOStream.h: removed DIGITAL_UNIX from #include decision, - so now it just depends on DEC_CXX and its version. Thanks to - Dani Flexer for this fix. - - * netsvcs/lib/Server_Logging_Handler.cpp: updated template - instantiations to match recent change to Server_Logging_Handler_T.h. - -Sat Nov 22 19:16:35 1997 - - * tests/Process_Strategy_Test.cpp: - - main: Removed signal handling code. It is unnecessary since we - do not use kill() anymore. - - Process_Strategy: This subclass of ACE_Process_Strategy - overwrites the process creation method to include connection - counting. - - connection_completed: Made sure that the Reactor is woken up - after all the connections have completed. - - * ace/Priority_Reactor.cpp (init_bucket): Removed extra code. - - * ace/Acceptor.cpp (activate_svc_handler): open svc_handler only - if result is 0. Also removed extra tracing code. - - * ace/Handle_Set.i (reset): Purify is reporting a UMR - (uninitialized memory copy) when copying a Handle_Set. This - comes from the mask fd_set not being memset to 0 by FD_ZERO. - This is therefore a harmless error. - - * tests/Priority_Reactor_Test.cpp (main): The ordering of - auto_ptrs is very subtle.... "auto_ptr reactor" - should come before "auto_ptr impl", i.e., - the implementation should be destroyed *before* the forwarding - class. This is apparent when the implementation class is - removing registered event handlers that hold a pointer to the - forwarding class. - -Sat Nov 22 16:04:07 1997 Carlos O'Ryan - - * ace/Message_Queue.cpp: - Fixed some formating problems in the ACE_Message_Queue::dump - method, thanks to Arturo Montes for - finding this one. - -Sat Nov 22 14:38:22 1997 Steve Huston - - * ace/config-aix-4.2.x.h: Added ACE_TLI_TCP_DEVICE "/dev/xti/tcp". - This fixes Riverace problem ID P32; AIX now joins HP-UX in - supporting XTI/TLI, but not everything (problem P27). - - * ace/UPIPE_Connector.h: - * ace/TLI_Connector.h: Added meta-type information PEER_ADDR and - PEER_STREAM. Fixes Riverace problem ID P37. - - * apps/JAWS/server/HTTP_Server.cpp: Added 'const' to "char *prog". - Fixes Riverace problem P36. - - * examples/Connection/misc/test_upipe.cpp: - * examples/Connection/non_blocking/CPP-connector.cpp: - * examples/Threads/process_mutex.cpp: - * examples/Threads/process_semaphore.cpp: - Added 'const' to "char *" - can't initialize a char * with - a const string. Fixes Riverace problem ID P38, P40. - - * examples/Threads/thread_specific.cpp, tss1.cpp: Moved the Errno - class out to a new file, thread_specific.h. AIX xlC needs to have - the class in a .h file for template generation. Fixes Riverace - problem P42. - * examples/Threads/Makefile: Make sure that, on AIX, the tempinc - directory is cleared before building each new program. - - * performance-tests/Synch-Benchmarks/Makefile: Changed SHLIB to use - $(SOEXT) rather than .so. Fixes Riverace problem ID P41. - - * tests/Thread_Pool_Test.cpp: Moved 'this->getq(mb)' out of an - ACE_ASSERT. Thanks to Arturo Montes - for finding this. - -Sat Nov 22 05:44:10 1997 Nanbor Wang - - * tests/Process_Strategy_Test.cpp (main): Shuffled things around - in fork() block. This is fun. - - * ace/Strategies_T.cpp (activate_svc_handler): Added an - ACE_UNUSED_ARG macro to muffle g++. - - * tests/Process_Strategy_Test.cpp (handle_close): Added a return - type specifier. Without it, g++ laments. - - * ace/Acceptor.cpp (activate_svc_handler): Should be if (open (...) == - -1) then error, not if (open (...) != -1) then error. - - * ace/ACE.cpp (set_handle_limit): Removed a duplicated ACE_TRACE - macro. - -Sat Nov 22 00:26:11 1997 Nanbor Wang - - * ace/Thread_Manager.cpp (close): Activated automatic wait on - close functionality. I think I get it right this time. - -Fri Nov 21 19:59:37 1997 Carlos O'Ryan - - * ace/IPC_SAP.cpp: - Added a couple of ACE_NOTREACHED protections. Thanks to Brian - Mendel for reporting this. - -Fri Nov 21 17:12:48 1997 - - * ace/Thread_Manager.cpp (close): Deactivated automatic wait on - close for now. It doesn't seem to work on Solaris. - - * ace/Thread_Manager.{h,cpp} (wait): Added codes to remove detached - threads. This function can be activated selectively. I added - this so we can ignore detached threads when closing down the - default thread manager. - - (close): Activated the code to wait (join) all threads managed - by the thread manager. It will ask wait function to remove all - detached thread first (and so they won't be counted into threads - we are waiting for.) - -Fri Nov 21 13:22:25 1997 Douglas C. Schmidt - - * ACE version 4.3.55, released Fri Nov 21 13:22:25 1997. - -Fri Nov 21 12:18:28 1997 Douglas C. Schmidt - - * ace/Acceptor.cpp,Strategy_T.cpp: Removed the use of gotos. See - Dijkstra '67 for motivation... - - * tests/Process_Strategy_Test.cpp (open): Make sure that we set - the Reactor of the Svc_Handler to 0 if we're running the - threading test. - - * tests/Reactor_Notify_Test.cpp: Added back THR_BOUND to - make things work on Solaris. - -Fri Nov 21 02:23:47 1997 - - * tests/Process_Strategy_Test.cpp: - - - The event loop execution was based on a fragile timeout - mechanism. This was changed to a more robust mechanism that - counts the connections. - - - The unlinking of the file was moved from the server to the - client. This is necessary since there maybe multiple server - processes that cannot really coordinate when the file should - be removed. - - * ace/Strategies_T.cpp (ACE_Concurrency_Strategy): - ACE_Concurrency_Strategy and all three of the subclasses - (ACE_Reactive_Strategy, ACE_Process_Strategy, and - ACE_Thread_Strategy) were messed up. Only ACE_Reactive_Strategy - was (trying) to set the correct blocking mode of the socket. - Therefore, moved the socket mode setting code to the base class, - ACE_Concurrency_Strategy, so that all the classes can share it. - - This did create one problem though. If the implementation of - the reactor uses event associations (i.e., WFMO_Reactor), we - cannot try to set the socket mode since the registration of the - svc_handler caused an event association to be created for the - socket and by default (thanks Microslush) the socket is set to - non-blocking mode. If the user is excepting to have a socket in - blocking mode, he is in for a surprise. Maybe we should return - a failure if the user is expecting a socket in blocking mode. - This is probably too harsh for now. - - * tests/Future_Test.cpp (open): Added THR_DETACHED since we don't - wait for this thread. - - * tests/Reactor_Notify_Test.cpp (open): Changed THR_BOUND to - THR_DETACHED since we don't wait for this thread. - - * tests/IOStream_Test.cpp (server): Make sure to close the socket - in ACE_SOCK_Acceptor and ACE_SOCK_IOStream. - - * ace/WFMO_Reactor.cpp (open): When I changed open() last, I - ignored the order of the registeration of notify_handler_ and - wakeup_all_threads_handler_. Unfortunately, the order of the - two registrations is very important since the optimization for - owner thread takes advantage of this ordering. Therefore, - revert the order of registertion to notify_handler_ followed by - wakeup_all_threads_handler_. - - * tests/version_tests/run_all_tests.bat: Added new bat file to - make the running of all the different configurations easier. - - * tests/version_tests/version_tests.{mak,mdp}: Added a mammoth - testing scheme that is used to test all 8 configurations of the - tests under Win32. These 8 configurations are: - - DLL Debug - DLL Release - DLL Unicode Debug - DLL Unicode Release - static Debug - static Release - static Unicode Debug - static Unicode Release - - run_tests.bat from the test directory can then be used to run - these various configurations. run_tests.bat was also extended - to allow the user to purify the tests. Simply execute - run_tests.bat with the purify command line option. - -Thu Nov 20 17:43:15 1997 - - * ace/Thread_Manager.cpp (kill_thr): Changed to prevent thread - manager from "discard" a thread when a certain operation is not - supported by the operation system. Removed the mechanism that - preserves errno during "thread removal." We no longer remove - thread right after an error occured. - -Thu Nov 20 17:53:35 1997 Douglas C. Schmidt - - * examples/Shared_Malloc/test_multiple_mallocs.cpp (main): Make - sure make sure that the semaphores created by the program are - released as well as the storage files deleted. Thanks to Tom - Arbuckle for reporting - this. - - * ace: Added a new version of config-osf1-3.2.h. Thanks to Dani - Flexer for updating this. - -Thu Nov 20 18:22:24 1997 Steve Huston - - * ace/README - ace/TLI.h - ace/TLI_Acceptor.h - ace/TLI_Connector.h - Changed from using hardcoded "/dev/tcp" as the XTI device name to - a new config-related define, ACE_TLI_TCP_DEVICE. If the config - doesn't set one, it defaults to "/dev/tcp". Thanks to Steve Coy - for zeroing in on this problem in HP-UX. - - ace/config-hpux-10.x.h: ACE_TLI_TCP_DEVICE is "/dev/inet_cots". - Note that XTI won't work 100% well on HP still - this is Riverace - problem ID P27. - - * netsvcs/lib/Server_Logging_Handler_T.h: Hardcoded to always use - ACE_SOCK_Stream (and friends) rather than ACE_TLI_Stream and friends. - XTI doesn't work real well on some platforms (particularly HP-UX - and AIX). When they're fixed, this can be undone (Riverace problem - ID P28). - - * examples/IPC_SAP/TLI_SAP/CPP-client.cpp: Changed 'char *host' to - 'const char *host' so it can be initialized from a const char string. - -Thu Nov 20 14:19:57 1997 Carlos O'Ryan - - * tests/Priority_Reactor_Test.h: - * tests/Priority_Reactor_Test.cpp: - The test has a limited execution time now, and only reports a - warning if runs out of time. This may be due to some failed - connections, but it is hard to avoid that. On the other hand - the default time should be large enough, in our machines the - test only takes 14 seconds, so 60 seconds should be enough. - NOTE: this problem reveals a problem *only* in the test itself - not in ACE_Priority_Reactor. - -Thu Nov 20 11:29:51 1997 David L. Levine - - * ace/Timer_{Heap,List}_T.{h,cpp}: added - ACE_Timer_{Heap,List}::get_first () accessors. Thanks to - Stephen Henry for this suggestion. - -Thu Nov 20 11:27:44 1997 Douglas C. Schmidt - - * ACE version 4.3.54, released Thu Nov 20 11:27:44 1997. - -Thu Nov 20 10:45:08 1997 - - * tests/MT_SOCK_Test.cpp: Uncommented socket close call. - - * ace/WFMO_Reactor.cpp (open): Open the notification handler - *after* the timer queue has been created. - - * ace/ACE.cpp (get_ip_interfaces): Changed rep() to fast_rep() to - prevent memory leak. - - * ace/Reactor.cpp (ACE_Reactor): Fixed error of not creating any - Reactors on UNIX. - -Thu Nov 20 08:36:54 1997 Nanbor Wang - - * ace/Thread_Manager.{h,cpp}: Added a dummy argument to internal - thread functions. Without them, MSVC wrongly optimizes codes - and the stack were all clobbered when entering these functions. - -Wed Nov 19 23:24:03 1997 - - * ace/Reactor.cpp: Rearragned macros so we use Select_Reactor as - default if we don't have Winsock2. Irfan did it, not me. - -Wed Nov 19 22:11:20 1997 Douglas C. Schmidt - - * ACE version 4.3.53, released Wed Nov 19 22:11:20 1997. - -Wed Nov 19 15:55:52 1997 Sumedh Mungee - - * config-netbsd.h: NetBSD 1.3alpha has a better MSYNC. Commented out - ACE_HAS_BROKEN_NETBSD_MSYNC - -Wed Nov 19 14:26:36 1997 Nanbor Wang - - * stdcpp.h, OS.h: Changed ACE_CONFIG_H to ACE_USER_CONFIG_H. It - conflicts with the macro in various configuration files. - -Wed Nov 19 15:55:45 1997 Douglas C. Schmidt - - * ace/config-sunos5.*.h: Replaced all uses of ACE_HAS_UNICODE with - ACE_HAS_XPG4_MULTIBYTE_CHAR. At this point, I think only NT has - the UNICODE macro now. Thanks to Steve Huston for validating - this. - - * STL/bstring.h: Added a special-case for BorlandC++. However, I - think this can be generalized for all compilers. Thanks to - Valik Solorzano Barboza for reporting this. - - * ace/OS: Fixed strpbrk() to handle the const char * and char * - cases of ANSI C++. Thanks to Valik Solorzano Barboza - for reporting this. - - * ace/OS.h: Added a special case for _MSC_VER since BC++ doesn't - have wchar.h! Thanks to Valik Solorzano Barboza - for reporting this. - -Wed Nov 19 13:43:33 1997 Darrell Brunsch - - * Merged the purify testing into run_tests. Just use - - "run_tests purify ..." - - to purify instead of running the tests. If you thought this - batch file looked bad before.... - -Wed Nov 19 12:17:50 1997 Nanbor Wang - - * ace/{OS,stdcpp}.h (ACE_CONFIG_H): Added this macro to protect - config.h from getting included multiple times. - - * ace/stdcpp.h: Reverted include OS.h back to config.h. - -Wed Nov 19 09:20:05 1997 Douglas C. Schmidt - - * ACE version 4.3.52, released Wed Nov 19 09:20:05 1997. - -Wed Nov 19 07:54:44 1997 Douglas C. Schmidt - - * ace/ACE.cpp (crc32): Reverted the COMPUTE macro back to its - original value. For some reason, the version given by Valik was - failing. - - * ace/SV_Semaphore_Complex.cpp (open): Make sure initialize the - sem_number_ data member, though this isn't actually used for - anything. - - * ace/ACE.cpp: Added a #ifdef for __unix since this is the only - case where we'll actually have the ifreq autoptr. Thanks to - Valik Solorzano Barboza for reporting this. - - * ace/Log_Record.cpp (print): Added a work around for a really - lame bug with BORLANDC. Thanks to Valik Solorzano Barboza - for reporting this. - -Wed Nov 19 04:22:38 1997 Douglas C. Schmidt - - * ACE version 4.3.51, released Wed Nov 19 04:22:38 1997. - -Wed Nov 19 04:02:09 1997 Douglas C. Schmidt - - * include/makeinclude/rules.local.GNU (show_uninit): It seems - there was a missing '@' at the beginning of the line. Thanks to - Hans Rohnert for reporting this. - - * tests/Process_Strategy_Test.cpp (handle_input): Fixed Irfan's - code, which keeps breaking ACE ;-). - -Wed Nov 19 01:55:06 1997 - - * ace/WFMO_Reactor.cpp (resume_handler_i, suspend_handler_i, - unbind_i): Since things don't happen immediately in the - WFMO_Reactor world, we must make sure that this request is not a - duplicate. If so we must ignore it. - - * ace/Asynch_Acceptor.cpp (open): Fixed addr type mismatch problem. - - * tests/UPIPE_SAP_Test.cpp (main): Make sure to close the socket - in ACE_UPIPE_Acceptor. - - * tests/SPIPE_Test.cpp (server): Make sure to close the socket in - ACE_SPIPE_Acceptor. - - * tests/SOCK_Test.cpp (spawn): Make sure to close the socket in - ACE_SOCK_Acceptor. - - * tests/Reactor_Notify_Test.cpp (Supplier_Task): Make sure to - close the pipe down. - - * tests/Process_Strategy_Test.cpp (handle_input): Fixed ACE_DEBUG - statement to pass the correct number of arguments. - - * tests/MT_SOCK_Test.cpp (spawn): Make sure to close the socket in - ACE_SOCK_Acceptor. - - * tests/Reactor_Exceptions_Test.cpp (main): Make sure to close the - socket in ACE_SOCK_Dgram. - - * tests/run_purify_tests.bat: Added "mkdir purify_results". - - * tests/run_tests.bat, run_purify_tests.bat: Changed explicit name - of bat file (e.g., run_tests, run_purify_tests) to %0. This - will allow the bat file to be used from other directories. - - * ace/config-win32-common.h: Removed extraneous define of - ACE_HAS_TEMPLATE_INSTANTIATION. - -Wed Nov 19 00:37:22 1997 - - * ace/stdcpp.h: Changed to use "ace/OS.h" instead of using - "ace/config.h" directly to avoid redefinition of user defined - macros. - - * ace/Log_Msg.cpp (close): Disable Win32 to delete - ACE_Log_Msg::instance (). On Win32, this should be done by - ACE_TSS_Cleanup. - - * ace/OS.cpp (cleanup_tss): Enabled Win32 to call - ACE_Log_Msg::close. This is required to properly release - resourses held by ACE_Log_Msg_Manager. - -Tue Nov 18 19:28:36 1997 Douglas C. Schmidt - - * ace/Select_Reactor.cpp (unbind), - ace/WFMO_Reactor.cpp (handle_signal): Fixed a large number of - bugs with non-portable "scope of the for loop counter"... - Thanks to Valik Solorzano Barboza for - reporting this. - - * ace/Thread_Manager: Added == and != operators for - ACE_Thread_Descriptor to fix things with BORLANDC's template - mechanism. Thanks to Valik Solorzano Barboza - for reporting this. - - * ace/Select_Reactor: Added == and != operators for - ACE_Event_Tuple to fix things with BORLANDC's template - mechanism. Thanks to Valik Solorzano Barboza - for reporting this. - - * ace/OS.i (tempnam): Fixed a typo -- WIN32 should be ACE_WIN32. - Thanks to Valik Solorzano Barboza for - reporting this. - - * ace/OS.h: Reordered the ACE_SEH_* macros so they work correctly - with BORLANDC. Thanks to Valik Solorzano Barboza - for reporting this. - - * ace/OS: Added operator== and operator!= for ACE_Cleanup_Info so - that it will work correctly with BORLANDC's template mechanism. - Thanks to Valik Solorzano Barboza for - reporting this. - - * ace/config-win32-common.h: Added - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for BORLANDC. Thanks to - Valik Solorzano Barboza for reporting this. - - * ace/Filecache.cpp: Fixed a bug with BORLANDC. Thanks to Valik - Solorzano Barboza for reporting this. - - * ace/ACE.cpp (crc32): Added some parens to the COMPUTE macro to - make it easier to grok. Thanks to Valik Solorzano Barboza - for reporting this. - -Tue Nov 18 16:27:32 1997 - - * ace/Log_Msg.cpp (log): Added a %D option to Log_Msg for - "month/day/year hour:minute:second:microsecond". Thanks to John - Mulhern <9107@MN3.LAWSON.lawson.com> for suggesting this. - - * ace/config-win32-common.h: If __ACE_INLINE__ is defined to be 0, - we will undefine it. - -Tue Nov 18 15:59:37 1997 Steve Huston - - * ace/IOStream.cpp: In underflow() and overflow(), use base() to - check for buffer in use in every case - not just without - ACE_HAS_STANDARD_CPP_LIBRARY==1. Thanks to James CE Johnson - (jcej@lads.com) for this fix. - - * tests/MT_SOCK_Test.cpp: Allow the test to run even if not all of - the proceses can be forked. - -Tue Nov 18 15:27:37 1997 Nanbor Wang - - * ace/Timer_Queue_Adapters.cpp: Reordered include files. Thanks - to Torbjorn Lindgren for noticing the problem. - -Tue Nov 18 11:40:18 1997 Steve Huston - - * ace/IOStream.(cpp h): Added: &&(ACE_HAS_STANDARD_CPP_LIBRARY != 0) - to the #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) lines to only use - the new iostreams things if that's been selected by the config file. - In ACE_Streambuf::overflow(), changed: - if (!eback()) to if (!pbase()) - -Tue Nov 18 08:23:53 1997 Douglas C. Schmidt - - * tests/Thread_Pool_Test.cpp (open): Moved the activate() method - from the Thread_Pool constructor to the open() hook since the - Thread_Pool class invoked ACE_Task::activate, indirectly invokes - Thread_Pool::svc. There existed a miniscule probability this - code would have crashed since on extremely broken C++ compilers - the virtual member function Thread_Pool::svc may not correctly - initialized in Thread_Pool constructor (i.e., it might point to - ACE_Task_Base::svc() at this point). The chance of this - happening is incredibly remote, but it's still a good ideal to - put the call in the open() method so we can check the return - value in the application. Thanks to Arturo for pointing this - out. - -Tue Nov 18 05:40:53 1997 David L. Levine - - * ace/OS.cpp (inet_aton): on Chorus only, use the native - ::inet_aton (). Thanks to Wei for pointing this out. - - * ace/OS.cpp (gethostby{addr,name}): on VxWorks only, don't htonl - the input address because it already should be in network byte - order. Store the output address in network byte order. Thanks - to Wei for noticing this error. - - * include/makeinclude/wrapper_macros.GNU: add -DACE_PURIFY to - CFLAGS if purify make flag is set, and -DACE_QUANTIFY if - quantify is set. Thanks to Chris Cleeland for this suggestion. - - * ace/Memory_Pool.cpp (ACE_Shared_Memory_Pool): reordered - initializers to match declaration order. - - * etc/purify.solaris2: added suppression of pthread_setcanceltype - BSW. - -Tue Nov 18 00:11:26 1997 Douglas C. Schmidt - - * ACE version 4.3.50, released Tue Nov 18 00:11:26 1997. - -Mon Nov 17 22:35:22 1997 Douglas C. Schmidt - - * examples/Shared_Malloc/test_malloc.cpp: Added some additional - calls to Malloc::instance ()->remove () to cleanup all the - semaphore locks. Thanks to Tom Arbuckle - for reporting this. - - * ace/Memory_Pool.cpp (init_acquire): Fixed a problem caused by - failing to initialize the minimum_bytes_ field in the - ACE_Shared_Memory_Pool class. Thanks to Tom Arbuckle - for reporting this. - - * examples/Shared_Malloc/test_malloc.cpp: Updated the Shared - Malloc test program to use the Singleton Thread Manager. - -Mon Nov 17 18:09:06 1997 - - * All eight different configurations of ACE passed all tests on - our Alpha/NT. - -Mon Nov 17 15:37:52 1997 David L. Levine - - * ace/INET_Addr.cpp (get_host_name): on VxWorks only, moved - ::hostGetByAddr code block to _after_ the check for the - address being INADDR_ANY. Without that check, get_host_name () - never returns the caller's own hostname. - - * netsvcs/lib/Makefile: the first line of the Local Target - (Server_Logging_Handler.*) override mysteriously disappeared. - -Mon Nov 17 02:09:57 1997 Douglas C. Schmidt - - * ACE version 4.3.49, released Mon Nov 17 02:09:57 1997. - -Mon Nov 17 02:03:21 1997 Douglas C. Schmidt - - * ace/IOStream_T.cpp: Added a few more fixes for KCC C++ and its - standard C++ library support. - -Mon Nov 17 01:34:34 1997 - - * netsvcs/servers/main.cpp (main): Removed daemon and changed to - use the singleton service configurator. Thanks to John Mulhern - and Stephen Coy for tracing this down and Irfan for coming out - with the fix. - -Sun Nov 16 21:58:51 1997 Darrell Brunsch - - * tests/*.dsp, ace/*.dsp: Added Release, Unicode Debug, and - Unicode Release versions for each of the tests. - - Also found out that precompiled headers take up insane - amounts of disk space when used with ACE and also slows - the compilation down. I turned it off for the tests and - for the ace libraries - -Sun Nov 16 13:34:29 1997 Douglas C. Schmidt - - * tests/SOCK_Connector_Test.cpp (fail_no_listener_nonblocking): - Changed the line - - status = con.complete (sock); - - to - - if (sock.get_handle () != ACE_INVALID_HANDLE) - status = con.complete (sock); - - The change worksaround a core dump due the the following - conditions: - - - the find_another_host function in SOCK_Connector_Test comes - up with the entry for an NT machine. - - - the ACE_OS::connect call at line 64 of SOCK_Connector.cpp - "successfully" fails returning -1 but in this case - errno is set to ECONNREFUSED. - - - Since errno is not EINPROGRESS or EWOULDBLOCK the - ACE_SOCK_Stream 'new_stream' close member function is called - which, besides closing the "handle", also sets it to - ACE_INVALID_HANDLE. - - - Since the errno was ECONNREFUSED the 'if' test at line 97 of - SOCK_Connector_Test.cpp is true and the next statement - - status = con.complete (sock); - - is called causing a core dump since sock.get_handle() is - ACE_INVALID_HANDLE (-1 on Solaris). - - Thanks to Jack Erickson for reporting this. - - * ace/OS: Cast away the constness of the parameters to _tempnam() - for Borland C++. Thanks to Valik Solrzano Barboza - for this. - - * ace/config-unixware-2.1.2-g++.h: Changed - ACE_HAS_OSF1_GETTIMEOFDAY to ACE_HAS_SVR4_GETTIMEOFDAY. Thanks - to John Connett for reporting this. - - * ace/SPIPE_Addr.cpp (set): Fixed a problem where we were - potentially writing into character constants. Thanks to Darrell - Brunsch for finding this. - - * ace/Get_Opt.cpp (operator): We need to make sure that all uses - of ACE_OS::strchr() are consistent with respect to const - correctness. Thanks to Darrell Brunsch for finding this. - - * ace/config-win32-common.h: Added a few minor changes for Borland - C++. Thanks to Valik Solrzano Barboza for - this. - - * ace/Log_Record.cpp (print): Changed the formal parameter from - "const char host_name[]" to "const char *hostname" so that we - can assign this in the function if necessary. Thanks to Valik - Solrzano Barboza for this. - - * ace/OS.cpp: Moved the constructor for ACE_Cleanup_Info into the - OS.cpp since it doesn't really need to be inline. - - * ace/WFMO_Reactor.cpp (notify): Replaced a "sizeof - ACE_Notification_Buffer" with "sizeof - (ACE_Notification_Buffer)". It's odd that the first approach - (which is incorrect) isn't flagged by MSVC++... Thanks to Valik - Solrzano Barboza for this. - - * ace/OS.i (sema_init): Added an ACE_ALLOCATOR_RETURN in the - appropriate spot. - - * ace/ACE.cpp: Moved the implementation of strsplit_r() into the - ACE.cpp file since it's rather long... - - * ace/OS: To be more conformant to the standard C++ library, - I've added a pair of methods for strstr(), strchr(), strrchr(), - etc. e.g., the function signature strstr(const char*, const - char*) is replaced by the two declarations: - - const char *strstr (const char* s1, const char* s2); - char *strstr (char* s1, const char* s2);" - - Thanks to Valik Solrzano Barboza for this. - - * ace: Added "ace.idl", which is a config file for Borland C++ - 5.x. Thanks to Valik Solrzano Barboza for - this. - - * include/makeinclude/platform_linux_kcc.GNU (SOFLAGS): Improved - this file a bit to work better with NULL pointers. Thanks to - Ben Eng for reporting this. - - * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp (main): - Changed allocator to alloc to avoid conflicts with STL. Thanks - to Ben Eng for reporting this. - - * ace/config-linux-kcc.h: Added some fixes for the KCC compiler. - Thanks to Ben Eng for reporting this. - - * ace/IOStream: Added fixes for the standard C++ library. Thanks - to Ben Eng for reporting this. - -Sat Nov 15 17:31:58 1997 Douglas C. Schmidt - - * Ran "make depend" on all of ACE. - -Sat Nov 15 15:55:52 1997 Steve Huston - - * tests/Priority_Reactor_Test.cpp: Removed the writer->peer().close() - call from client() that I added yesterday. ACE_Svc_Handler::destroy - will end up doing the close - thanks to Irfan for pointing this out. - -Sat Nov 15 01:31:58 1997 Douglas C. Schmidt - - * ACE version 4.3.48, released Sat Nov 15 01:31:58 1997. - -Fri Nov 14 23:36:12 1997 Chris Cleeland - - * ace/{OS,ACE}.{h,i} (strsplit_r): Moved strsplit_r from ACE_OS to - ACE, which is where it should go. - - * ace/ACE.cpp (ldfind): Changed uses of strsplit_r to be scoped - under ACE rather than ACE_OS. - -Fri Nov 14 22:57:04 1997 David L. Levine - - * ace/config-vxworks*.h: added ACE_LACKS_NETDB_REENTRANT_FUNCTIONS. - This is necessary for the gethostby{addr,name}_r support added - yesterday. - -Fri Nov 14 18:42:23 1997 Steve Huston - - * tests/Priority_Reactor_Test.cpp: Fixed client to close its socket - before exiting from the thread/process. - -Fri Nov 14 17:41:40 1997 Douglas C. Schmidt - - * ace/OS.i: Fixed some typos in strsplit_r(). - - * ace/OS.h: Moved the ACE_ALLOCATOR* stuff from Malloc_T.h to - OS.h, which is where it belongs. - - * examples/Reactor/Dgram: Reformatted some of the example - code to make it more readable. - -Fri Nov 14 17:08:00 1997 Chris Cleeland - - * ace/OS.i (strsplit_r): Added fixes so that this properly returns - the last piece. Thanks to Scott Herscher for - submitting this! Also beefed up the comments. - - * ace/OS.h: Added definitions to work around VxWorks' lack of - proper ANSI C/C++ prototypes for the functions found in - . The definitions were taken from Solaris 2.5.1, but - appear to work just fine. For now this is only in effect when - compiling with the Green Hills (ghs) environment, but it should - probably be used for others (such as g++) as well. - -Fri Nov 14 01:10:33 1997 Douglas C. Schmidt - - * ACE version 4.3.47, released Fri Nov 14 01:10:33 1997. - -Fri Nov 14 00:14:21 1997 David L. Levine - - * ace/OS.* (gethostbyaddr_r,gethostbyname_r): added VxWorks - support. - -Thu Nov 13 20:29:18 1997 Douglas C. Schmidt - - * ACE version 4.3.46, released Thu Nov 13 20:29:18 1997. - -Thu Nov 13 19:11:36 1997 Douglas C. Schmidt - - * ace/config-sunos5.4.*: Solaris 2.4 doesn't support the ualarm() - call unless you use the (broken) /usr/ucb/cc compiler. Here's a - patch for $ACE_ROOT/ace/config-sunos5.4-sunc++-4.x.h to fix the - problem. Thanks to Caleb Epstein - for reporting this. - -Thu Nov 13 19:25:50 1997 Carlos O'Ryan - - * include/makeinclude/platform_irix6.x-sgic++.GNU: - Updated comment on when should the user disable the use of - -lpthread - -Thu Nov 13 18:18:16 1997 Steve Huston - - * ace/Containers.h, Containers.cpp, Hash_Map_Manager.cpp, Malloc_T.h: - Removed the conditional code for the macro - ACE_HAS_HPUX_ACC_BROKEN_TEMPLATE_DESTRUCTOR. The workaround for - this compiler bug is to remove "this->" from the object pointer - used in the ACE_DES_FREE_TEMPLATE macro invocation. This compiler - bug is HP case SR5003396259 for future reference. - - * ace/config-hpux-10.x-hpc++.h: Added ACE_HAS_ANSI_CASTS; removed - ACE_HAS_HPUX_ACC_BROKEN_TEMPLATE_DESTRUCTOR (both for aC++ only). - - * ace/README: Removed ACE_HAS_HPUX_ACC_BROKEN_TEMPLATE_DESTRUCTOR, as - it is no longer used. - -Thu Nov 13 16:51:40 1997 - - * ace/OS.h: Added two new macros ACE_FACTORY_DECLARE and - ACE_FACTORY_DEFINE. Changed definitions of - ACE_SVC_FACTORY_DECLARE AND ACE_SVC_FACTORY_DEFINE to use these - two macros. Refer to changes of the ACE_Export related macros - below, you can now declare/define your service factories as, - - ACE_FACTORY_DECLARE (FOOBAR, fac_class); - ACE_FACTORY_DEFINE (FOOBAR, fac_class); - - This will ensure they get define properly and proper decoration - will be added. - -Thu Nov 13 16:52:31 1997 Nanbor Wang - - * ace/Thread_Manager.cpp: Removed all ! defined - (ACE_HAS_FSU_PTHREAD). Thanks to ARTURO MONTES - for reporting this. - - * ace/config-gcc-2.7.2.h: Added ACE_HAS_TEMPLATE_SPECIALIZATION. - Thanks to ARTURO MONTES for reporting - this. - - * ace/config-fsu-pthread.h: added ACE_LACKS_THREAD_PROCESS_SCOPING. - Thanks to ARTURO MONTES for reporting - this. - - * ace/OS.h: Separate definition of proper export flag for - platforms from setting these flags for building/not building - DLL. I keep ACE_Export and ACE_Svc_Export to remain backward - compatibality but now, they are defined using the new "common" - definition. This changes is made in hope that it will simplify - codes generated by TAO_IDL compiler. - - Several new directives are added to these file. These common - directives will be set to proper values (macros) according to - the platform we use. They are: - - ACE_Proper_Export_Flag - ACE_Proper_Import_Flag - ACE_EXPORT_SINGLETON_DECLATATION(T) - ACE_IMPORT_SINGLETON_DECLARATION(T) - ACE_PROPER_SINGLETON_INSTANTIATION(T) - - I use them to define ACE_Export and ACE_Svc_Export. I hope it - is easier to define your own export decoration flag now. Here - is an example. Say you want to define an export flag for your - DLL file : foobar.dll. First, you need to add the following to - a common header file: - - // Here are definition for FOO_BAR library. - #if defined (FOOBAR_HAS_DLL) && (FOOBAR_HAS_DLL == 1) - # if defined (FOOBAR_BUILD_DLL) - # define FOOBAR_Export ACE_Proper_Export_Flag - # define FOOBAR_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) - # define FOOBAR_SINGLETON_INSTANTIATION(T) ACE_PROPER_SINGLETON_INSTANTIATION (T) - # else - # define FOOBAR_Export ACE_Proper_Import_Flag - # define FOOBAR_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) - # define FOOBAR_SINGLETON_INSTANTIATION(T) - # endif /* FOOBAR_BUILD_DLL */ - #else /* ! FOOBAR_HAS_DLL */ - # define FOOBAR_Export - # define FOOBAR_SINGLETON_DECLARATION(T) - # define FOOBAR_SINGLETON_INSTANTIATION(T) - #endif /* FOOBAR_HAS_DLL */ - - Be sure to include "ace/OS.h" before these definitions so that - the macros they use will be properly initialized. After you've - done this, on Win32, define "FOOBAR_HAS_DLL=1" if you want to - build DLL, define it as "FOOBAR_HAS_DLL=0" if you want to build - static library. In your library project file, you must define - the directives FOOBAR_BUILD_DLL and decorate classes/objects you - want to export with FOOBAR_Export so that they can be declared - automatically according whether you are building/linking with - static library or dynamic library. - -Thu Nov 13 05:47:42 1997 David L. Levine - - * ace/Thread_Manager.cpp: added ACE_TSS_Singleton instantiation, for the recent Svc_Handler - change. - - * ace/Object_Manager.h (default_mask): moved out of ACE_MT_SAFE - protection. - - * ace/OS.{h,i},config-vxworks-ghs-1.8.h,README (strlen,strcpy): - protect declarations of wchar versions with - ACE_HAS_WCHAR_TYPEDEFS_CHAR. GreenHills typedefs wchar to char. - - * ace/Singleton.cpp: register ACE_TSS_Singletons for cleanup with - Object_Manager. - - * ace/OS.{i,cpp} (gethostbyaddr): added VxWorks support. - -Thu Nov 13 02:06:58 1997 Chris Cleeland - - * ace/Signal.i: Changed to use new Object Manager member. - - * ace/Object_Manager.cpp: Added a new member to the Object - Manager--default_mask. This is the default signal mask employed - by ACE_Sig_Set. Moving the object into the OM saves cycles b/c we - only construct it once and just re-use every time. - - * ace/Handle_Set.cpp: Added two new macros--ACE_DIV_BY_WORDSIZE and - ACE_MULT_BY_WORDSIZE--which either divide or multiply the argument - by ACE_Handle_Set::WORDSIZE. The manner in which this is - accomplished is governed by the #define - ACE_USE_SHIFT_FOR_EFFICIENCY--when defined, ACE tries to use - shifts to implement multiplication and division rather than actual - multiply and divide operations. Currently this is disabled. - -Wed Nov 12 19:13:05 1997 - - * ace/Svc_Handler: Changed hand written tss singleton to - ACE_TSS_Singleton. Lot of (unnecessary) code disappeared. - Thanks to David Levine for suggesting this. - - * ace/Object_Manager: Removed ACE_SVC_HANDLER_LOCK. - -Wed Nov 12 16:29:15 1997 Sumedh Mungee - - * platform_netbsd.GNU: added /usr/lib/c++rtO.o to SOBUILD to - insure that static objects' ctors are called. - -Wed Nov 12 00:20:38 1997 David L. Levine - - * ace/OS.{i,cpp} (inet_ntoa): use VxWorks' native inet_ntoa. It's - not documented but it works. - - * ace/OS.cpp (gethostbyname): on VxWorks, load static first_addr on - every call, not just the first. - - * include/makeinclude/rules.local.GNU: removed extra "fi" in - install operation. - - * include/makeinclude/platform_sunos5_sunc++.GNU: removed +w from - CFLAGS because it generates too many spurious warnings. - - * ace/TTY_IO.cpp (control): commented out unused local variable - c_line. Thanks to Amos Shapira for - reporting this. - - * ace/OS.{h,i} (hostname): added Chorus support. Thanks to Wei - for the patches. - -Tue Nov 11 23:44:17 1997 Douglas C. Schmidt - - * ACE version 4.3.45, released Tue Nov 11 23:44:17 1997. - -Tue Nov 11 21:26:36 1997 Douglas C. Schmidt - - * platform_sunos5_sunc++.GNU, platform_irix6.x-sgic++.GNU, rules.local.GNU: - Added some minor fixes. - -Tue Nov 11 20:18:27 1997 Douglas C. Schmidt - - * Makefile: Added the tests and netsvcs directory to - RELEASE_LIB_FILES since this is pretty important to determine - whether ACE works. Thanks to Chuck Gehr and Steve Coy for this - suggestion. - - * tests/UNIXclerk.conf: Changed "merengue" to "localhost." - Thanks to Steve Coy for this suggestion. - - * ace/config-lynxos.h (getopt): Missing 't' from const => see - getopt prototype parameter list. Thanks to Manojkumar Acharya - . - -Tue Nov 11 08:09:16 1997 David L. Levine - - * ace/OS.cpp (inet_aton): declare local ip_addr as an ACE_UINT32 - instead of a long. Real programmers have 64-bit longs. - - * ace/INET_Addr.cpp (get_host_name): added ACE_UNUSED_ARG (len); - for VxWorks only. - -Tue Nov 11 13:19:46 1997 Torbjorn Lindgren - - * include/makeinclude/rules.local.GNU: Fixed so that the ACE - makefiles doesn't create circular symlinks (happens if - something fails when building libACE.* with "make -k", or when - doing parallel builds). It's now possible to do parallel - builds of libACE.* without having to clean up a mess afterwards. - - * include/makeinclude/platform_irix6.x-sgic++.GNU: Removed - .so build with links instead (ace/apps/examples/tests and my own - programs all work well with this, and the manual seems to suggest - that it hasn't ever been necessary on this platform) - - * ace/config-irix6.x-sgic++-nothreads.h: Added - ACE_HAS_XPG4_MULTIBYTE_CHAR for SGI IRIX 6.[2-5]. - -Tue Nov 11 04:50:06 1997 Nanbor Wang - - * examples/Reactor/Multicast/server.cpp (handle_timeout): Fixed a - typo. Thanks to Sandro Doro for - reporting this. - -Tue Nov 11 04:20:09 1997 Douglas C. Schmidt - - * ACE version 4.3.44, released Tue Nov 11 04:20:09 1997. - -Tue Nov 11 01:44:39 1997 - - * examples/Naming/test_open.cpp (main): Added a new naming test - that binds to the net_local server and tries to bind entries to - it. - - * netsvcs/lib/Name_Handler.cpp: Added a new class called - Naming_Context. This helper class adds the correct default - constructor to the ACE_Naming_Context class so that we can use - it in ACE_Singleton. - - Previously, each Name_Handler was getting its own - Naming_Context. This is obviously incorrect as the mapping - address in already occupied by the first Name_Handler. - Therefore, the Naming_Context was changed into a Singleton - accessable by all Name_Handlers. - - * ace/WFMO_Reactor.cpp (handle_additions && handle_deletions): - Changed code to make sure that we should not make the upcall - until all the internal data structures have been updated. This - is to protect against upcalls that try to deregister again. - -Tue Nov 11 01:28:50 1997 Douglas C. Schmidt - - * ACE version 4.3.43, released Tue Nov 11 01:28:50 1997. - -Mon Nov 10 21:30:04 1997 Aniruddha Gokhale - - * INET_Addr.cpp: In the ACE_INET_Addr::get_host_name (char - hostname[], size_t len) method, an unnecessary local variable - called "name" was being used and the actual parameter "hostname" - was never getting updated. The local variable is now removed and - we use the actual parameter everywhere. - -Mon Nov 10 20:44:43 1997 James C Hu - - * etc/ACE-guidelines.html: Added a section for ACE Design Rules, - and added a design rule about sentinels. - -Mon Nov 10 18:11:05 1997 Sumedh Mungee - - * ace/Singleton.h (ACE_TSS_Singleton): Changed ACE_TSS to - ACE_TSS_TYPE (TYPE), so that the ACE_TSS_TYPE macro (defined in - OS.h) gets used. (Irfan's suggestion.) - -Mon Nov 10 17:02:40 1997 Douglas C. Schmidt - - * ace/OS.h: Reformatted the #ifdef structure of the - ACE_HAS_XPG4_MULTIBYTE_CHAR to conform to ACE usage. - - * ace/Service_Repository.cpp: The close() method needed a '\n' in - one of the debug messages. Thanks to Steve Coy for reporting - this. - -Mon Nov 10 14:09:24 1997 Steve Huston - - * ace/OS.h, OS.i, README: Added new macro, ACE_HAS_XPG4_MULTIBYTE_CHAR - for platforms which supply wchar.h and wide character functions. - Added the use if it in OS.h, and use the functions in OS.i, - strlen and strcpy with wchar_t arguments. - - * ace/config-hpux-10.x.h, config-aix-4.2.x.h, config-mvs.h, - config-sunos5.5-sunc++-4.x.h: Added ACE_HAS_XPG4_MULTIBYTE_CHAR. - -Mon Nov 10 13:33:02 1997 - - * ace/OS.h (ACE_WRITE_GUARD): Added macros for ACE_WRITE_GUARD and - ACE_READ_GUARD. Thanks to Brian Raven - for suggesting this. - - * tests/Thread_Mutex_Test.cpp: Modified version of Mutex_Test that - exclusively works on a Thread_Mutex. - - * tests/Mutex_Test.cpp: Removed this test. It have been - superseded by Thread_Mutex_Test and Process_Mutex_Test. - - * ace/OS.i (thread_mutex_trylock): Fixed the return value and - errno for this system call such that it is consistent with other - trylock calls. - -Mon Nov 10 10:21:55 1997 David L. Levine - - * ace/INET_Addr.cpp: updated gethostbyname/addr support for - Chorus. Thanks to Wei Chiang for - the patches for this fix. - - * ace/config-chorus.h: disabled ACE_LACKS_SOCKETPAIR. Thanks - to Wei for this fix, also. - - * tests/Thread_Mutex_Test.cpp (test): don't compile this function - if ACE_HAS_THREADS is not defined. - - * tests/IOStream_Test.cpp (main): removed extra % at end of - ACE_ERROR_RETURN message. - - * etc/ace_ld,include/makeinclude/platform_vxworks5.x_g++.GNU: - added ace_ld, a drop-in replacement for ld that supports munching. - We need to munch for VxWorks/g++. - - * ACE-INSTALL.html: updated VxWorks info to mention requirement - for perl with VxWorks/g++. And, LD_LIBRARY_PATH must be set - to find the ACE libraries on the host if using TAO. - -Sun Nov 09 23:29:43 1997 Douglas C. Schmidt - - * ACE version 4.3.42, released Sun Nov 09 23:29:43 1997. - -Sun Nov 09 22:18:30 1997 - - * ace/config-win32-common.h (ACE_HAS_ANSI_CASTS): VC++ compilers - support ANSI style casts. - - * ace/OS.h (ACE_static_cast): Added ANSI style cast macros to ACE. - Thanks to Stephen Coy for suggesting this. - -Sun Nov 9 21:34:16 1997 Douglas C. Schmidt - - * ace/OS: Enhanced ACE_OS so that it *always* defines - implementations for the wchar_t versions of strlen() and - strcpy(), even if the platform doesn't explicitly support - UNICODE. This is necessary since TAO needs these functions. - - * ace/OS.h: Added a typedef for wchar_t to handle the case where - the OS doesn't support UNICODE. - - * ace/ACE.cpp: Added hex character routines from TAO since they - are generally useful. - - * ace/OS.h: Moved the TAO-specific #defines into TAO, where they - belong. Thanks to David Levine and Chris Cleeland for insisting - on this... - -Sun Nov 09 17:55:50 1997 - - * examples/ASX/Event_Server/Event_Server/Peer_Router.cpp (open): - Removed codes that reset a socket's non-blocking flag. This has - been taken care of by ACE_Acceptor::activate_svc_handler now and - resetting this flag twice on NT caused us grief. Thanks to - Georges Ata for reporting - the bug. - - * ace/ACE.i (hex2byte,nibble2hex): Replaced ACE_INLINE to inline - for these two functions. Functions in this file are always - inlined. - - * ace/config-win32-common.h (ACE_LACKS_RLIMIT): Added this flags - so we don't need to treat ACE_WIN32 specially. - - * ace/OS.i (getrlimit,setrlimit): Removed unnecessary conditional - flag ACE_WIN32. - - * ace/Thread_Manager.cpp (wait): Merged the two blocks within this - function so that we can avoid relase/acquire lock - unnecessarily. Thanks to Doug for his careful scrutiny. - -Sun Nov 09 09:27:24 1997 David L. Levine - - * ace/Thread_manager.cpp (wait): removed unused local, - threads_waited_on. - -Sat Nov 08 23:20:50 1997 Douglas C. Schmidt - - * ACE version 4.3.41, released Sat Nov 08 23:20:50 1997. - -Sat Nov 8 15:46:30 1997 Douglas C. Schmidt - - * ace/INET_Addr.cpp: Enhanced the get_host_name() functions so - that if the sin_addr.s_addr == INADDR_ANY we assume that we're a - server, and we return our "hostname". - - * Added a number of minor fixes for UNIXWARE with G++. Thanks to - Michael Rueger for reporting these. - - * ace/Thread_Manager.h: Both Irix5 and VxWorks have problems with - local typedefs with GCC. Thanks to Laura Paterno - for reporting this. - - * ace/Timer_Queue_Adapters.cpp: Changed some errant uses of lock_ - to mutex_. Thanks to David Levine for reporting this. - - * ace/ACE.cpp: set_handle_limit() was buggy because it never - increased the handle limit. With this change we do not need - special code in ACE_Select_Reactor with ACE_LACKS_RLIMIT because - this is managed in ACE::set_handle_limit. Thanks to Arturo for - this fix. - - * ace/Select_Reactor.cpp (open): We no longer need to - conditionally compile for ACE::set_handle_limit(). Thanks to - Arturo for this fix. - -Fri Nov 7 18:53:13 1997 Sumedh Mungee - - * ace/config-netbsd.h: Added file for NetBSD 1.2G. - - * tests/SOCK_Connector_Test.cpp (fail_no_listener_nonblocking): - Added ECONNREFUSED as a "valid failure", alongwith EWOULDBLOCK. - - * ace/OS.i (msync): msync on NetBSD takes only two parameters as - opposed to the usual three. (It doesnt have the "flags" - parameter.) The ACE_HAS_BROKEN_NETBSD_MSYNC flag works around - that. - -Fri Nov 7 16:04:35 1997 Douglas C. Schmidt - - * ace/Thread_Manager.cpp: Added a missing '>' for one of the - template specializations. Thanks to Torbjorn Lindgren - for reporting this. - - * ace/OS.cpp: ACE_OS::ACE_OS is defined in OS.cpp, which causes - the compiler to complain about multiple definitions. Other - ACE_CLASS_IS_NAMESPACE doesn't have constructors, which is why - they work. Thanks to Torbjorn Lindgren for - reporting this. - -Fri Nov 07 15:14:51 1997 David L. Levine - - * examples/Threads/tss1.cpp: replaced ACE_SYNCH_1 and _2 with - _DECL and _USE. - - * ace/config-linux{,-common}.h: created config-linux-common.h - and moved alpha-specific defines to it. - - * ace/FILE_Addr.cpp (set): explicitly declare int return type. - - * performance-tests/Misc/preempt.cpp (get_options): DEC CXX didn't - like conversion of -1 to u_int, so changed return type to int and - all ACE_ERROR_RETURNs to return -1. - -Fri Nov 07 10:05:12 1997 Douglas C. Schmidt - - * ACE version 4.3.40, released Fri Nov 07 10:05:12 1997. - -Fri Nov 7 09:58:09 1997 Douglas C. Schmidt - - * ace/Connector.cpp (fini): Added a call to - ACE_Map_Manager::close() in fini() since the destructor may not - be called. Thanks to Eric C. Newton for - reporting this. - - * ace/{FILE,SPIPE}_Addr.cpp (set): Added a return value. Thanks - to Marios Zikos for reporting this. - -Fri Nov 07 02:45:55 1997 Douglas C. Schmidt - - * ACE version 4.3.39, released Fri Nov 07 02:45:55 1997. - -Fri Nov 7 01:06:08 1997 Douglas C. Schmidt - - * ace/Message_Queue: Added a new method called deactivated(), - which returns true if the queue has been deactivated. Thanks to - Wei Chiang for reporting this. - - * ace/{config-chorus.h,OS.cpp}: Added a new macro called - ACE_CHORUS_DEFAULT_MIN_STACK_SIZE. Thanks to Wei Chiang - for reporting this. - - * ace/DEV_Addr.cpp, - ace/FILE_Addr.cpp, - ace/SPIPE_Addr.cpp, - ace/INET_Addr.cpp, - ace/UNIX_Addr.cpp: Fixed the set(const Foo &) method so that - it correctly detects cases where we're passed in a - ACE_Addr::sap_any. This is a total hack... - - * ace/{OS.h,Addr.cpp}: Added a new AF_ANY flag, which is set to -1. - -Thu Nov 6 23:05:14 1997 Douglas C. Schmidt - - * Changed the obtusely named ACE_SYNCH_1 and ACE_SYNCH_2 macros to - ACE_SYNCH_DECL and ACE_SYNCH_USE, respectively. Thanks to Mike - Kamrad for suggesting this. - - * ace/Select_Reactor.cpp, ace/ACE.cpp: Broaded the comparison so - that we only try to use {set|get}rlimit() if ACE_LACKS_RLIMIT is - *false*. Thanks to Arturo Montes for - reporting this. - - * ace/Object_Manager: Added support for - get_singleton_lock(ACE_Mutex *). Thanks to Arturo Montes - for reporting this. - - * ace/Connector.cpp: If connect_n() fails make sure to return -1. - Thanks to Stephen Coy for pointing out the - problem. - - * ace/config-sco-5.0.0.h: Removed the ACE_LACKS_RLIMIT flag. - Thanks to Arturo Montes for reporting - this. - - * tests: Changed all uses of "localhost" to - ACE_DEFAULT_SERVER_HOST. This solves some problems with MVS. - Thanks to Chuck Gehr for reporting - this. - - * examples/Timer_Queue: Changed COMMAND to CMD so it won't - conflict with the HP/YUX compiler. Thanks to Sandro Doro - for reporting this. - -Thu Nov 06 22:13:01 1997 - - * examples/Connection/blocking/SPIPE-connector.cpp (init): Fixed - odd looking typecast. - - * ace: Changed the comparison &local_sap == &ACE_Addr::sap_any to - local_sap == ACE_Addr::sap_any. Thanks to Steve Coy - for pointing out that the default - parameter const ACE_Addr &local_sap = ACE_Addr::sap_any will - cause a copy of sap_any to be made and passed to the method, - invalidating the memory address comparison. - - The following files were effected: - - Asynch_Acceptor.cpp - SOCK_Acceptor.cpp - SOCK_CODgram.cpp - SOCK_Dgram.cpp - TLI_Acceptor.cpp - TLI_Connector.cpp - - * ace/Addr.cpp: Made sure that the type and size of - ACE_Addr::sap_any does not match the type and size of any other - Addr type. This is necessary for local_addr==ACE_Addr::sap_any - to return 0 when local_addr is anything other than - ACE_Addr::sap_any. - - * ace/Synch_T.h: Fixed all the ACE_SYNCH_* defines. Thanks to - Matthias Kerkhoff for pointing the - problems. - -Thu Nov 06 18:30:42 1997 Steve Huston - - * ace/Addr.(h i), DEV_Addr.(h i), FILE_Addr.(h i), INET_Addr.(h - cpp), SPIPE_Addr.(h i), UNIX_Addr.(h i): Changed the operators - == and != to be non-virtual, and to accept the 'sap' argument as - its own type (not ACE_Addr for all of them). The - implementations of the operators compare type-specific data - without having to check the inherited type member. Thanks to - Steve Coy and Irfan and Nanbor for a huge - amount of work on these changes. *** NOTE - there is still some - SOCK_Connector problems related to these changes on HP-UX. The - hunt continues. - - * ace/Connector.cpp (connect_n): return -1 if any of the connect - attempts fail. - - * tests/Reactor_Performance_Test.cpp: Don't crash if any of the - client's connect attempts fail. - - * ace/Reactor.h: Added #include "ace/Handle_Set.h" - AIX needs the - class definition when generating templates in programs. - - * tests/Map_Manager_Test.cpp: Don't even try if the compiler doesn't - have template specialization working correctly. - - * tests/Priority_Reactor_Test.h: Added #include "ace/SOCK_Stream.h" - so AIX could generate template code correctly. - - * tests/Reactor_Performance_Test.cpp: Moved class definitions out to - Reactor_Performance_Test.h (new file) to allow AIX to generate - templates. - - * tests/SOCK_Connector_Test.cpp: Added a couple more checks to make - sure the local host is not the test target, and changed from using - port 4242 to 42000 (there is actually a program on AIX which listens - at port 4242). - - * tests/Thread_Manager_Test.cpp: Moved a class definition out to - Thread_Manager_Test.h (new file) to allow AIX to use it in template - generation. - - * tests/Timer_Queue_Test.cpp: Limit the number of iterations to 2000. - -Thu Nov 6 16:51:36 1997 Sumedh Mungee - - * tests/SOCK_Connector_Test.cpp (find_another_host): Added - ACE_NETBSD to the #if define around gethostent. - -Thu Nov 06 00:08:01 1997 Douglas C. Schmidt - - * ACE version 4.3.38, released Thu Nov 06 00:08:01 1997. - -Wed Nov 5 21:32:36 1997 Douglas C. Schmidt - - * ace/Service_Repository.cpp (close): Looking in the - Service_Repository while shutting it down does really bad - things. Some careful changes to the loop in - Service_Repository::close() fixed this. Thanks to Eric - C. Newton for reporting this. - - * Added new support for SCO UNIX with no threads. Thanks to - Arturo Montes for reporting this. - -Wed Nov 05 20:31:36 1997 - - * ace/Connector.cpp (close): Added an explicit close() method for - the Strategy_Connector. This closes down all Strategy_Connector - specific things and then calls close() on the base class. Also - modified the destructor to call this routine. - -Wed Nov 5 17:09:05 1997 Nanbor Wang - - * ace/OS.cpp (cleanup_tss): Rearranged how TSS'es get cleanup on - Win32. This was causing a tiny memory leak on NT. - -Wed Nov 5 15:03:31 1997 Nanbor Wang - - * ace/Thread_Manager.{h,cpp}: Changed the data type of - terminated_thr_queue_ back to - ACE_Unbounded_Queue. - -Wed Nov 05 14:16:27 1997 Steve Huston - - * ace/OS.i (mutex_trylock): Fixed code for ACE_HAS_DCE_DRAFT4_THREADS - (HP-UX) to process the returned status correctly. Thanks to - Robert Head for reporting this. - -Wed Nov 05 13:01:49 1997 David L. Levine - - * ace/ACE.cpp (daemonize): added ACE_UNUSED_ARG (close_all_handles) - if ACE_LACKS_FORK. - -Wed Nov 05 01:06:53 1997 Douglas C. Schmidt - - * ACE version 4.3.37, released Wed Nov 05 01:06:53 1997. - -Tue Nov 04 23:11:41 1997 - - * ace/Thread_Manager.h: Added an ACE_Unbounded_Queue to - collect threads that need to be removed. We can no longer - remove thread descriptors directly from because that - would clobber the integrity of the double-linked list. Changed - the data type of from - ACE_Unbounded_Queue to - ACE_Unbounded_Queue to reduce the codes - generated. - - * ace/Thread_Manager.cpp: Reordered several thread operations so they - won't remove thread descriptor directly while traversing the - . Removed #ifdef from template - instantiation section because now VxWorks needs it too. - - * ace/Container.{h,cpp}: Added more check on validities of passed in - node to ACE_Double_Linked_List::remove_element. Also changed - the function to reset a node's and to prevent - double removal of a node, which messes up the list structure. - - * ace/ace_{dll,lib}.dsp: Excluded Acceptor.cpp from make - explicitly. Moving this file to "template file folder" was not - enough. - -Tue Nov 4 18:03:51 1997 Douglas C. Schmidt - - * ace/config-sco*.h: Added #define ACE_DEFAULT_CLOSE_ALL_FILES 0 - to the SCO Unix config files. - - * ace/ACE.cpp: Added a new macro called - ACE_DEFAULT_CLOSE_ALL_FILES to workaround a bug with SCO Unix. - Thanks to Arturo Montes for reporting - this. - - * The ACE developer's drinking song: - - 100 little bugs in the code, - 100 bugs in the code, - fix one bug, compile it again, - 101 little bugs in the code. - 101 little bugs in the code..... - - Thanks to Steve Huston for appreciating the humor in this ;-). - - * ace/Containers.cpp (insert_head): Added some minor stylistic - fixes. - - * apps/Gateway/Gateway/Event_Channel.cpp (initiate_acceptor): - Changed - - if (ACE_Reactor::instance ()->register_handler - (&this->acceptor_, ACE_Event_Handler::ACCEPT_MASK) == -1) - - to: - - if (this->acceptor_.open(this->options ().acceptor_port_, - ACE_Reactor::instance (), this->options ().blocking_semantics_) == -1) - - Thanks to Ganesh Pai for reporting this. - - * apps/Gateway/Gateway/Gateway.cpp (parse_args): Changed - - ACE_Get_Opt get_opt (argc, argv, "abC:cdP:pq:t:vw:", 0); - - to: - - ACE_Get_Opt get_opt (argc, argv, "abC:cdP:p:q:t:vw:", 0); - - Thanks to Ganesh Pai for reporting this. - -Tue Nov 4 18:13:52 1997 Sergio Flores - - * examples/Timer_Queue/Async_Timer_Queue_Test.cpp (cancel): - Initialized act pointer variable to 0, which was causing - core dump in linux. In general, all pointers should be - initialized. This should have been warned by the compiler. - Thanks to Sandro Doro for - pointing this out. - -Tue Nov 4 11:14:35 1997 Nanbor Wang - - * ace/Containers.cpp: Fixed some stylistic ambiguities. - -Tue Nov 04 10:12:21 1997 David L. Levine - - * include/makeinclude/platform_hpux.GNU: added +a1 to CFLAGS - to select ANSI C, instead of the default K+R C. This is - required with the current ace/Object_Manager.cpp, because - it initialized autos using aggregates (via the - ACE_STATIC_SVC_DEFINE macro). Thanks to Neil B. Cohen - for helping to sort this out. - - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: changed - another lock () to mutex (). - - * tests/run_tests.vxworks: added MT_SOCK_Test. - -Tue Nov 04 04:13:23 1997 Douglas C. Schmidt - - * ACE version 4.3.36, released Tue Nov 04 04:13:23 1997. - -Tue Nov 04 03:50:57 1997 - - * ace/Addr.i (operator == && operator !=): Comparison of - sap.addr_type_ should be with this->addr_type_ and not with 0. - -Mon Nov 3 23:18:33 1997 Sergio Flores - - * ace/Synch_T.cpp (dump): change the field lock_ to mutex_. - -Mon Nov 3 22:37:58 1997 Nanbor Wang - - * ace/Timer_Wheel_T.cpp: - * ace/Timer_List_T.cpp: - * ace/Timer_Hash_T.cpp: Changed the use of lock_ to mutex_. - - * ace/OS.cpp (cleanup_tss): Added TSS cleanup codes for Win32 when - non-main threads are exiting. Without them, Thread_Manager won't - cleanup its thread table correctly. - - * ace/SV_Semaphore_Complex.cpp (close): Changed to return 0 - only when this->key_ == -1 instead of <= -1. This was causing - semaphore leaks on Solaris. - - * ace/UNIX_Addr.i (operator ==): - * ace/SPIPE_Addr.i (operator ==): - * ace/FILE_Addr.i (operator ==): - * ace/DEV_Addr.i (operator ==): - * ace/INET_Addr.cpp (operator ==): Added checking for the same - Addr types for addresses under comparison. Thanks to Stephen - Coy for pointing out the problem. - -Mon Nov 03 18:32:42 1997 Carlos O'Ryan - - * ace/Proactor.cpp: - * ace/Timer_Queue_T.h: - * ace/Timer_Queue_T.cpp: - * ace/Timer_Heap_T.cpp: - * ace/Synch_T.h: - * ace/Synch_T.cpp: - * ace/Atomic_Op.i: - Changed the method name from lock() to mutex(), otherwise the - lame HP/C++ compiler gets completely confused. Also changed the - field from lock_ to mutex_ - -Mon Nov 3 17:15:17 1997 Steve Huston - - * ace/OS.h: Removed "class ace_dewarn_gplusplus;" from the - ACE_CLASS_IS_NAMESPACE macro. Produces warnings on AIX and - shouldn't be needed. - -Mon Nov 3 15:49:18 1997 Chris Cleeland - - * ace/Connector.cpp (connect): "Fixed" so that the service handler - pointer passed in by the caller doesn't change until the connect - completes without errors. - -Mon Nov 03 08:15:21 1997 David L. Levine - - * ace/Managed_Object.[hi] (get_preallocated_{object,array}): - inlined function definitions into the class header so that - it compiles on AIX 4.1 w/ xlC 3.01. Thanks to Bob Lyng - for reporting this problem, - at to Steve H. for testing the fix. - - * include/makeinclude/{platform_linux*.GNU,wrapper_macros.GNU}, - netsvcs/lib/Makefile: suppress -g when compiling ace/Timer_Hash.cpp - and netsvcs/lib/Server_Logging_Handler.cpp on Linux only. - (It really only needs to be suppressed on Linux/Alpha.) - - * apps/Gateway/Gateway: protect instantiation of - ACE_Svc_Handler - with ACE_HAS_THREADS. - - * ace/{Naming_Context.cpp,Service_Config.cpp,Object_Manager.cpp}: - moved ACE_Naming_Service and ACE_Service_Manager static service - objects to ACE_Object_Manager. - - With this change, the ACE library no longer has any static - objects that require destruction. - - * ace/Object_Manager.h: added documenation of - ACE_HAS_NONSTATIC_OBJECT_MANAGER config #define. - - * performance-tests/Misc/preempt.cpp: cleaned up cleanup so that - it compiles cleanly. - -Sun Nov 02 18:09:14 1997 Douglas C. Schmidt - - * ACE version 4.3.35, released Sun Nov 02 18:09:14 1997. - -Sun Nov 2 15:31:45 1997 Douglas C. Schmidt - - * ace/Select_Reactor.i (cancel_timer): Make sure that we don't try - to call cancel() through a NULL this->timer_queue_. Thanks to - Stephen Coy for reporting this. - - * ace/ACE.cpp (set_handle_limit): Fixed a subtle bug that occurs - if the OS doesn't like non-initialized rlimit structs. Thanks - to Stephen Coy for reporting this. - - * examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp (main): - Renamed allocator to my_alloc to work around wonderful STL and - GCC problems... Thanks to Ben Eng for - reporting this. - - * examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp: Removed - unused constant SHMSZ. Thanks to Ben Eng for - reporting this. - - * examples/Reactor/Misc/test_time_value.cpp (operator<<): Removed - the "dec" stream manipulator since it isn't portable. Thanks to - Ben Eng for reporting this. - - * performance-tests/Misc/preempt.cpp (main): Cleaned up this test - so it compiles on non-threaded platforms. Thanks to Ben Eng - for reporting this. - - * examples/Timer_Queue/main_*.cpp (main): std::auto_ptr does not - have an operator= that accepts a raw pointer. Therefore, we - must assign raw pointers to an auto_ptr via the constructor. - Thanks to Ben Eng for reporting this. - - * apps/Gateway/Gateway/Proxy_Handler.cpp: Make sure we distinguish - between ACE_NULL_SYNCH and ACE_MT_SYNCH since these will be - different on all platforms, whereas ACE_SYNCH will be the same - as ACE_NULL_SYNCH on platforms without threads. Thanks to Ben - Eng for reporting this. - - * ace: Removed lots of uses of NULL and replaced them with 0. - This works around bugs with lame C++ compilers that treat NULL - as (void *). Thanks to Ben Eng for reporting - this. - - * ace/Thread.i (spawn): Replaced "stack" with "thr_stack" to work - around bugs with lame C++ compilers and STL. Thanks to Evgeny - Beskrovny for reporting this. - -Sat Nov 1 11:55:05 1997 Douglas C. Schmidt - - * ace/config-irix5.3-g++.h, - ace/config-irix5.3-sgic++.h: Removed the ACE_HAS_SYS_SIGLIST - macro since it doesn't seem to be working. Thanks to Laura - Paterno for reporting this. - - * include/makeinclude/platform_chorus.GNU: Tidied up - platform_chorus.GNU a bit. Thanks to Wei Chiang - for this. - -Fri Oct 31 14:35:37 1997 David L. Levine - - * ace/OS.cpp (thr_create): on Chorus, double the stack size to - avoid bad problems. Thanks to Wei Chang - for diagnosting this. - - * ace/Hash_Map_Manager.cpp (unbind_i): set the int_id - reference argument instead of ignoring it. Thanks to - Wei Chang for providing the patch. - - * ace/OS.h,README: wrapped #include of dlfcn.h with - ACE_HAS_DLFCN_H_BROKEN_EXTERN_C to support RedHat 4.2 - Linux 2.0.30/Alpha. - - * ace/OS.i,README: added ACE_HAS_GETRUSAGE_PROTO support, for - platforms that have a getrusage () prototype that is - different from the one in OS.i. - - * ace/config-linux.h: added added some #defines to enable - builds on RedHat 4.2/Linux 2.0.30/Alpha. - - * include/makeinclude/platform-linux.GNU: added -pipe and - bumped optimization level up to -O3. - - * ace/Thread_Manager.cpp (wait_task): no-op if thr_list_ - size is 0. wait_task () can be called under that condition - (after Thread_Manager::wait () has returned) from an - ACE_Stream destructor, through ACE_Module::close () and - ACE_Task_Base.wait (). Without this change, wait_task () - allocated a copy_table array of size 0. Sun C++ leaked - that array, according to Purify. - - * ace/Service_Config.*,Object_Manager.cpp: moved static - ACE_Service_Config::signal_handler_ to Object_Manager. - - * include/makeinclude/rules.local.GNU (show_statics,show_uninit): - added $(TOOLENV) to allow specification of full path to nm. - Thanks to Wei Chiang for this suggestion. - - * include/makeinclude/platform_chorus.GNU: added trailing "/" - to TOOLENV definition, so that it can be empty when not used. - - * ACE-INSTALL.html,include/makeinclude/wrapper_macros.GNU: - added documentation for ACE show_statics and show_uninit targets. - These are only supported with g++. - -Fri Oct 31 00:53:52 1997 - - * The following five changes were suggested by Stephen Coy - . Thanks Stephen. - - * ace/OS.h (ACE_CLASS_IS_NAMESPACE): Changed friend - ace_dewarn_gplusplus to friend class ace_dewarn_gplusplus. - - * ace/Malloc_T.h: Move the #include files to just after the - declaration of the macros, otherwise Containers.cpp will be - #included before the definition of the various allocator macros - (such as ACE_ALLOCATOR_RETURN) have been seen (when - ACE_TEMPLATES_REQUIRE_SOURCE is defined). - - * ace/Hash_Map_Manager.cpp (close_i): Changed &table[i] to - &table_[i]. - - * ace/Containers.h: The ACE_Node destructor needs to be publicly - accessible in order to support the - ACE_HAS_HPUX_ACC_BROKEN_TEMPLATE_DESTRUCTOR fix. Unfortunately, - making the template function - ACE_Destructor_Template_For_HPUX_aCC_Only a friend does not seem - to work (although it should). - - * ace/ACE.cpp (ldfind): Changed path_entry from char* to - const char*. - - * tests/Priority_Reactor_Test.cpp (main): Fixed auto_ptr usage. - Thanks to Jack Erickson (jack@pinion.com) for pointing this out. - - * ace/OS.h (ACE_CLASS_IS_NAMESPACE): Changed the macro to not - include the destructor. This causes undefined destructor - problems on Win32. Also added ACE_UNIMPLEMENTED_FUNC macros - around the remain functions. - -Thu Oct 30 21:22:47 1997 David L. Levine - - * ace/Makefile: added auto Svc_Conf_[ly].cpp patches. - - * etc/Svc_Conf_[ly].cpp.diff,README: the ace/Svc_Conf_[ly].cpp - patches, and instructions for updating them. - -Thu Oct 30 19:54:50 1997 Douglas C. Schmidt - - * ACE version 4.3.34, released Thu Oct 30 19:54:50 1997. - -Thu Oct 30 17:49:56 1997 Douglas C. Schmidt - - * tests/Priority_Task_Test.cpp (main): Moved "int status" out of - the #if defined (ACE_HAS_THREADS) so that it will compile when - the platform *doesn't* have threads. - - * ace/Synch_T.i (ACE_TSS): Added a missing ':' that was causing - problems on platforms that lack threads. Thanks to Laura - Paterno for helping to track this - down. - - * ace/Signal.cpp (register_handler): Make sure not to use - SA_SIGINFO if we're running on LynxOS. At some point, we'll - want to generalize this, once enough OS platforms support POSIX - real-time signals. Thanks to Kirill.Rybaltchenko - for reporting this. - - * include/makeinclude/platform_chorus.GNU (CXX): Replaced - DCFLAGS += -g with DCFLAGS += -gstabs+. Thanks to - Wei Chiang for this. - - * ace/OS.cpp: It's not valid to set the NULL_key to anything other - than implicit initialization. In particular, if we set it to -1 - it breaks on pthreads systems... Thanks to Check Gehr for - reporting this. - - * ace/config-irix5.3*++.h: Added ACE_NEEDS_SYSTIME_H. Thanks to - Laura Paterno for reporting the - problem. - - * ace/OS.h: Moved the unistd.h files back down to where - they originally were defined since this was unnecessary. - - * include/makeinclude/platform_chorus.GNU (CXX): Replaced - DCFLAGS += -g with DCFLAGS += -gstabs+. Thanks to - Wei Chiang for this. - -Thu Oct 30 17:41:19 1997 James C Hu - - * ace/OS.h: Stray semi-colon removed from ACE_CLASS_IS_NAMESPACE - macro. - -Thu Oct 30 17:04:52 1997 - - * ace/OS.h (ACE_CLASS_IS_NAMESPACE): Changed the macro to not - include the destructor. This causes undefined destructor - problems on Win32. Also added ACE_UNIMPLEMENTED_FUNC macros - around the remain functions. - -Thu Oct 30 10:50:21 1997 Chris Cleeland - - * ace/OS.h: Added new macro--ACE_CLASS_IS_NAMESPACE ()--to - designate that a class is being used as a pseudo-namespace. It - declares private CTOR, Copy CTOR, and DTOR, as well as a friend - declaration in order to de-warn on g++. Typical usage would be - something like: - - class FooBarNamespace - { - ACE_CLASS_IS_NAMESPACE (FooBarNamespace); - - public: - static ... - }; - - The ACE_OS class has been updated to use this. - - * ace/ACE.h: Updated class ACE to use the new - ACE_CLASS_IS_NAMESPACE (). - - * ace/OS.i (getopt): Changed ACE_LACKS_SOME_POSIX_PROTOTYPES back - to ACE_LACKS_POSIX_PROTOTYPES so that a clean build on Linux is - achievable now. - (msgsnd): Corrected errant spelling from - ACE_LACKS_POSIX_SOME_PROTOTYPES to - ACE_LACKS_SOME_POSIX_PROTOTYPES. - -Thu Oct 30 06:14:58 1997 David L. Levine - - * Makefile,ACE-INSTALL: removed ACE-INSTALL from CVS control. - It will only be created when a release is made in - /project/adaptive/ACE_wrappers, and not put under CVS control. - - * ace/Manager_Object.h: added ACE_INLINE specifier to - get_preallocated_object/array declarations. Thanks to - Torbjorn Lindgren for reporting this. - - * ace/Synch.cpp: removed duplicate - ACE_Write_Guard instantiation. Thanks to - Torbjorn Lindgren for reporting this. - - * tests/Conn_Test.cpp: fixed template instantiation pragmas. - Thanks to Torbjorn Lindgren , again. - - * tests/SPIPE_Test.cpp: replaced ACE_UNUSED_ARG of client and server - with conditional compilation of those functions. Thanks to - Torbjorn Lindgren for snagging this. - - * ace/OS.{h,cpp},Object_Manager.cpp (tss_open,tss_close): removed - tss_open () dynamic allocation option because it wasn't used. - Removed tss_close() because it was a no-op without tss_open () - dynamic allocation. - - * ace/OS.cpp (tss_open): On VxWorks, don't check for 0 tss_base (). - It's not always 0 on program startup, especially if a program - has been previously run by the shell directly, without spawning - a new task to run it. - - * ace/OS.*: added ACE_TSS_EMULATION support for non-scalar - ACE_thread_key_t. Thanks to Chuck Gehr - for motivating this. - - * ace/config-mvs.h: added ACE_HAS_NONSCALAR_THREAD_KEY_T. It - is only used with ACE_HAS_TSS_EMULATION, which currently is - not supported on MVS. - - * ace/OS.cpp (ACE_Thread_Adapter::invoke): cleaned up this function. - -Thu Oct 30 03:25:13 1997 Nanbor Wang - - * ace/Hash_Map_Manager.cpp (close_i): Can't use ACE_DES* - template. Have I been here before? - -Thu Oct 30 03:03:41 1997 Nanbor Wang - - * ace/Hash_Map_Manager.cpp (close_i): Changed to use ACE_DES* macros. - - * ace/OS.h: Moved ACE_Allocator related macros to Malloc_T.h - - * ace/Malloc_T.h: Moved ACE_Allocator related macros from OS.h. - Added two macros ACE_DES_NOFREE and ACE_DES_NOFREE_TEMPLATE to - call objects' destructors explicitly. This is required to - take care of some "broken" compilers. Thanks to Stephen Coy - for providing the fix for HP-UX aCC. - - * ace/README: - * ace/config-hpux-10.x-hpc++.h: Added flag - ACE_HAS_HPUX_ACC_BROKEN_TEMPLATE_DESTRUCTOR. - -Thu Oct 30 02:56:25 1997 Douglas C. Schmidt - - * ACE version 4.3.33, released Thu Oct 30 02:56:25 1997. - -Thu Oct 30 01:03:21 1997 Douglas C. Schmidt - - * ace/LOCK_SOCK_Acceptor.cpp: Added a #include of "ace/Synch.h" so - that the Conn_Test.cpp will compile on HP/UX. Thanks to Stephen - Coy for reporting this. - -Wed Oct 29 22:55:15 1997 Nanbor Wang - - * ace/config-vxworks5.x-g++.h: - * ace/config-unixware-2.1.2-g++.h: - * ace/config-unixware-2.01-g++.h: - * ace/config-sunos5.5-g++.h: - * ace/config-sunos5.4-g++.h: - * ace/config-sunos4-g++.h: - * ace/config-osf1-4.0.h: - * ace/config-osf1-4.0-g++.h: - * ace/config-linux.h: - * ace/config-linux-pthread.h: - * ace/config-linux-lxpthreads.h: - * ace/config-irix6.x-g++.h: - * ace/config-irix5.3-g++.h: - * ace/config-hpux-10.x-g++.h: - * ace/config-gcc-2.7.2.h: - * ace/config-freebsd.h: - * ace/config-freebsd-pthread.h: - * ace/config-chorus.h: - * ace/config-aix-4.1.x.h: - * ace/README: Removed ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR. - It is no longer in use. - -Wed Oct 29 21:12:55 1997 Douglas C. Schmidt - - * ace/README: Added a new macro called ACE_LACKS_SOCKET_BUFSIZ, - which is enabled on VxWorks. - - * ace/OS.h: Added a new macro called - ACE_DEFAULT_MAX_SOCKET_BUFSIZ, which is set to 65536. - - * ace/OS: Changed the tolower() method to to_lower() so that it - won't conflict if there's a macro with the same name. - - * ace/OS.h: #include before ACE_Time_Value as long as - ACE_LACKS_UNISTD_H is false. Added this flag to the VxWorks and - Win32 config.h files. - - * ace/OS.h: Added a special #define for IRIX5, which seems to put - timeval in a strange file... Also, moved this #include to - *before* ACE_Time_Value. Thanks to Carlos O'Ryan for suggesting - this and to Laura Paterno for - reporting the problem in the first place. - - * ace: Changes all uses of the overly long - ACE_LACKS_POSIX_PROTOTYPES_FOR_SOME_FUNCS to - ACE_LACKS_SOME_POSIX_PROTOTYPES. However, I'm not really sure - how this relates to the ACE_LACKS_POSIX_PROTOTYPES macro. I - suspect we probably only need one of these... - - * ace/OS.h: Added a new ACE_HAS_STDARG_THR_DEST to handle - weirdness with LynxOS. Thanks to Kirill.Rybaltchenko - for reporting this. - - * ace: OS.h,config-lynxos.h: Added a new ACE_LACKS_GETOPT_PROTO - for LynxOS. Thanks to Kirill.Rybaltchenko - for reporting this. - - * ace/config-lynxos.h: Replaced - ACE_LACKS_POSIX_PROTO_FOR_SOME_FUNCS with - ACE_LACKS_POSIX_PROTOTYPES_FOR_SOME_FUNCTIONS. Thanks to - Kirill.Rybaltchenko for reporting - this. - -Wed Oct 29 22:17:03 1997 Nanbor Wang - - * ace/config-hpux-10.x-hpc++.h (ACE_HAS_TEMPLATE_SPECIALIZATION): - Moved to C++ section. Restored ACE_TEMPLATE_REQUIRE_SOURCE in - C++ section. Thanks to Stephen Coy for - providing the fix (patiently.) - -Wed Oct 29 20:30:55 1997 James C Hu - - * ace/OS.i (strlen): Moved it earlier so that it would be declared - inline before use. - - * ace/OS.i (strcasecmp): Removed spurious semi-colons (how did - they get in there?). - -Wed Oct 29 18:51:12 1997 Darrell Brunsch - - * ace/OS.{h,i}: Added strcasecmp functionality for NT - -Wed Oct 29 15:56:01 1997 David L. Levine - - * ace/OS.cpp: replaced ACE_TSS_REF_TABLE with a reference count to - remove dynamic allocation from ACE_TSS_Info. Also, enabled call - of ACE_Task close hook before calling TSS destructors. - - * ace/OS.cpp: changed a few TSS 0 keys to ACE_OS::NULL_key. - - * ace/Thread_Manager.cpp (ace_thread_manager_adapter): with - TSS_EMULATION, moved the call of tss_close () from here to - ACE_Thread_Adapter::invoke () so that it can be called after - the task's close hook, if any. - - * ace/{OS.h,Log_Msg.h,Object_Manager.cpp} (cleanup_tss): added - an argument to indicate whether the main thread is calling or not. - - * ace/OS.i (ACE_TSS_Emulation::next_key): start key values at - 0 instead of 1, because it's easier to deal with arrays of - keys then. That also corresponds with the starting key value - on Windows NT. - - * ace/IOStream.h: DEC_CXX #includes now depend on compiler version. - Thanks to James Johnson for providing the fix. - -Wed Oct 29 10:32:16 1997 David L. Levine - - * ace/config-lynxos.h: fixed ACE_LACKS_POSIX_PROTOTYPES_FOR_SOME_FUNCS - and added getopt () declaration. - - * include/makeinclude/platform_lynxos.GNU: updated LIBS. - - Thanks to Kirill Rybaltchenko for - the above fixes. - - * etc/purify.solaris2: added another _thrp_exit UMR. - - * include/makeinclude/wrapper_macros.GNU: added login (LOGNAME) - and compiler (CXX) to Purify/Quantify cache names. - -Wed Oct 29 08:40:38 1997 Douglas C. Schmidt - - * ACE version 4.3.32, released Wed Oct 29 08:40:38 1997. - -Wed Oct 29 07:39:38 1997 Douglas C. Schmidt - - * ace/Synch.cpp: Added an explicit template instantiations for - ACE_Guard. - - * ace/LOCK_SOCK_Acceptor.h: Removed the typedef of - ACE_SOCK_Acceptor with a full expansion of the name to fix a G++ - bug. - - * tests/Conn_Test.cpp: Fixed a template instantiation problem. - - * ACE-INSTALL.html: Pointed out that ACE is ported to LynxOS and - Chorus. - - * ACE-INSTALL.html: Added information about cloning that explains - how you must to build a config.h and platform_macros.GNU in - cloned directory. Thanks to Arturo for this. - - * bin/Makefile: Added - $(ACE_ROOT)/include/makeinclude/platform_macros.GNU to Makefile - so we can compile clone on any ACE platform. Thanks to Arturo - for this. - - * include/makefiles: Added new platform file for SCO UNIX with - nothreads. Thanks to Arturo for this. - - * ace: Added new config files for SCO UNIX with nothreads. - Thanks to Arturo for this. - - * apps/JAWS/server/HTTP_Server.cpp: Fixed the typedef for - ACE_LOCK_SOCK_Acceptor. Thanks to Hans Rohnert for reporting - this. - - * tests/Conn_Test.cpp: Changed template instantiations from - SOCK_ACCEPTOR to LOCK_SOCK_ACCEPTOR. Thanks to Han Rohnert for - reporting this. - -Wed Oct 29 02:10:37 1997 Douglas C. Schmidt - - * ACE version 4.3.31, released Wed Oct 29 02:10:37 1997. - -Wed Oct 29 01:25:54 1997 Douglas C. Schmidt - - * tests/Conn_Test.cpp: Modified Conn_Test to fully integrate - Irfan's new LOCK_SOCK_Acceptor. This new implementation is - truly the "mother of all Conn_Tests" ;-). - - * ace/LOCK_SOCK_Acceptor.cpp (lock): Added a lock() accessor - method to the new ACE_LOCK_SOCK_Acceptor so that we can remove - the lock (somehow). - -Wed Oct 29 00:29:52 1997 - - * apps/JAWS/server: Fixed Win32 related compilation errors. - - * ace/OS.h (SIGUSR1 and SIGUSR2): Added new defines for these two - signals. - - * ace/LOCK_SOCK_Acceptor: New class added to ACE (it was - originally a class in JAWS). It specialize ACE_SOCK_Acceptor to - lock around . This class is particular useful if you - want to have multiple threads accepting on the same endpoint and - the system does not support have thread safe accept. Thanks to - James Hu who initially wrote this class for JAWS. Thanks also - to Johannes Gutleber who decided to - use this in the Conn_Test. - - * tests/Conn_Test.cpp: Updated to use the new LOCK_SOCK_Acceptor. - - * apps/JAWS/server/HTTP_Server.h: Updated to use the new - LOCK_SOCK_Acceptor. - - * apps/JAWS/server/HTTP_Server_T.*: These files are no longer - necessary since this class has been absorbed into ACE. - - * tests: Fixed auto_ptr use in: - - Notify_Performance_Test.cpp - Priority_Reactor_Test.cpp - Reactor_Performance_Test.cpp - - Thanks to Jack Erickson (jack@pinion.com) for pointing this out. - -Tue Oct 28 11:26:39 1997 Nanbor Wang - - * ace/ace_{dll,lib}.dsp: Moved Acceptor.cpp from Source file - folders to Template file folders. Thanks to Satheesh Kumar - for pointing this out. - -Tue Oct 28 05:44:56 1997 David L. Levine - - * ace/OS.cpp (thr_create): use pthread_attr_setprio instead of - *_setsched with DCETHREADS, and check return values of - ACE_OS::thr_[gs]etconcurrency (). Thanks to Stephen Coy - for tracking these problems down. - - * tests/Priority_Task_Test.cpp (svc): removed ACE_ASSERT and - replaced with setting of error flag. This allows the test - to continue and gather more possibly useful information. - - * tests/Conn_Test.cpp: 1) Added template instantiations. - 2) Re-enabled with DEC_CXX. 3) Removed THR_DETACHED flags. - - * include/makeinclude/platform_osf1_4.0.GNU: suppress warnings - about unreachable statments. - - * ACE-INSTALL.html: Conn_Test now runs with DEC_CXX 6.0. - -Tue Oct 28 00:38:58 1997 - - * ace/Strategies_T: - - ACE_Recycling_Strategy - 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. - - ACE_NOOP_Concurrency_Strategy - 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 - Added a ACE_Creation_Strategy, - ACE_Concurrency_Strategy, and ACE_Recycling_Strategy to the - cached connector. This gives it more flexibility than by simply - providing template methods. This is similar to the Strategy - Connector. - - ACE_Cached_Connect_Strategy - Added new template methods for - certain key occasions in the cached connector: make_svc_handler, - activate_svc_handler, assign_recycler, and - prepare_for_recycling. - - * tests/Conn_Test.cpp (client): Updated the tests such that it - uses a null activation strategy. - -Mon Oct 27 22:17:54 1997 Aniruddha Gokhale - - * OS.h: Added the ACE_NESTED_CLASS macro to deal with those - compilers that do not allow a fully scoped type name appearing - inside a scope in which it was defined. - -Mon Oct 27 22:17:32 1997 David L. Levine - - * ace/Thread_Manager.cpp (exit): don't use the cache when finding - the thread ID. The cache is in the ACE_Log_Msg instance, and - it might have been deleted already. - -Mon Oct 27 20:33:07 1997 Douglas C. Schmidt - - * ACE version 4.3.30, released Mon Oct 27 20:33:07 1997. - -Mon Oct 27 18:03:06 1997 Nanbor Wang - - * ACE-INSTALL.html (HREF): Added NT/Alpha to supporting platforms - list. Added hyperlink to ACE newsgroup. Added hyperlink to - FreeBSD homepage. Minor changes to Win32 intstallation guide. - -Mon Oct 27 17:50:16 1997 Douglas C. Schmidt - - * include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU (PRELIB): - Changed PRELIB in platform_sco5.0.0-mit-pthread.GNU, - platform_sco5.0.0-fsu-pthread.GNU to @true, so we can generate - the TAO_IDL compiler. Thanks to Arturo Montes - for reporting this. - -Mon Oct 27 14:26:10 1997 - - * ace/Synch_T (ACE_TSS): When ACE does not have thread specific - storage, ACE_TSS will be a simple pointer holder. Previously, it - had a instance as a member, now it has a pointer to an instance. - - * ace/WFMO_Reactor.cpp (update_state): Fixed a bug in the - WFMO_Reactor. wakeup_all_threads() used to be an internal - method that was called when changes were made to the state of - the reactor. When wakeup_all_threads() became public, there was - no code in place to handle explicit user wakeups. In - particular, the wakeup_all_threads event was never reset. - Thanks to Evgeny Beskrovny for - pointing out this bug. - - * ace/OS.i (ACE_FAIL_RETURN): Added mapping from - ERROR_PATH_NOT_FOUND to ENOENT. Thanks to David Brackman - for suggesting this. - -Mon Oct 27 11:36:39 1997 David L. Levine - - * ace/OS.cpp (exit_cleanup_i): removed protection against recursive - calls. This protection no longer is necessary, because - ACE_TSS_Cleanup () is only called by ACE_Thread_Adapter::invoke (). - It was problematic because it used the ACE_Allocator instance. - - * ace/config-vxworks*.h,README: added ACE_LACKS_FCNTL. - - * ace/OS.i,ACE.cpp: replaced #ifdef VXWORKS with #ifdef - ACE_LACKS_FCNTL. - - * ace/ACE.i (get_flags): return 0 if ACE_LACKS_FCNTL. It would - be better to store ACE's notion of the flags associated with - the handle so that they could be returned, but this works for now. - - * tests/run_tests.vxworks: re-enabled Reactors_Test, because it - works with the ACE_LACKS_FCNTL mods. - - * include/makeinclude/platform_osf1_4.0.GNU: -pthread instead of - -lpthread in LIBS. Thanks to James Johnson for - pointing this out. - - * ACE-INSTALL.html: added info on bin/create_ace_build. - -Mon Oct 27 11:11:33 1997 Nanbor Wang - - * netsvcs/servers/servers.dsp - * netsvcs/lib/netsvcs.dsp: - * tests/*.dsp: - * ace/ace_{dll,lib}.dsp: Added project configurations for Alpha - machines. Configurations are named by adding "Alpha" in front - of the original config names, e.g., "Win32 Alpha Unicode Debug. - -Mon Oct 27 06:40:18 1997 Douglas C. Schmidt - - * include/makeinclude/rules.local.GNU (show_uninit): Added a - missing semi-colon for one of the install rules. Thanks to - Manojkumar Acharya for reporting this. - - * ace/Synch_T.h: Make sure that ACE_Guard::remove() calls - this->lock_->remove() rather than this->lock_->release(). - Thanks to Johannes Gutleber for - reporting this. - -Mon Oct 27 00:20:13 1997 Nanbor Wang - - * ace/config-hpux-10.x-hpc++.h: Added directive - ACE_HAS_TEMPLATE_SPECIALIZATION. Thanks to Stephen Coy - for reporting this. - -Sun Oct 26 22:17:57 1997 Douglas C. Schmidt - - * ACE version 4.3.29, released Sun Oct 26 22:17:57 1997. - -Sun Oct 26 20:03:57 1997 Douglas C. Schmidt - - * ace/IPC_SAP.cpp, - ace/IO_SAP.cpp: Make sure that we don't use fcntl() when - we're compiling on VXWORKS since it's not defined... - - * examples/Connection/non_blocking/CPP-connector.cpp: Changed the - method named idle() to uninitialized() since idle() is now - defined on ACE_Svc_Handler. - - * ace/OS.h: Added the TAO_DEFAULT_SERVER_PORT to OS.h. - - * tests/Conn_Test.cpp (cached_connect): Added a new variable - called "n_client_iterations" to control how many times each - client thread tries to connect with the Cached_Connector. - -Sun Oct 26 16:56:32 1997 Chris Cleeland - - * include/makeinclude/platform_linux_lxpthread.GNU (CFLAGS): Added - -pipe to the compile options. - -Sun Oct 26 11:04:21 1997 David L. Levine - - * ace/Hash_Map_Manager.cpp (unbind): added ACE_UNUSED_ARG (int_id). - - * tests/Conn_Test.cpp (server): added ACE_UNUSED_ARG (options). - And, added template instantations. - - * tests/Conn_Test.cpp (cached_connect): changed type of loop index i - to int to avoid signed/unsigned comparison. - - * ace/Strategies_T.h: added #include of ace/Strategies.h. Thanks to - James Johnson for reporting this. - -Sun Oct 26 10:01:01 1997 Nanbor Wang - - * ace/Connector.cpp (open): The original fix failed to replace - strategies under some circumstances. - - * ace/OS.{h,cpp} (sprintf): Removed ACE_OS::sprintf (wchat_t, char). - It didn't ever work. - - * ace/Connector.cpp (open): Added check if we had previously - allocated various strategies and deleted these objects before - allocating new objects. The original codes caused memory leaks - and possible segmentation faults if it got called twice. We - probably need a do-nothing constructor (the current constructor - calls open.) However, this may break other codes. - -Sun Oct 26 01:00:07 1997 Douglas C. Schmidt - - * ACE version 4.3.28, released Sun Oct 26 01:00:07 1997. - -Sun Oct 26 00:50:00 1997 Douglas C. Schmidt - - * tests/Conn_Test.cpp (close): Since the connect() method on - ACE_Connector closes the svc_handler if failure occurs, we - shouldn't do that again unless we succeed in connecting. - - * ace/OS.h: Moved the CORBA portability macros from - CORBA_Handler.h into OS.h so they will be accessible from TAO. - - * ace/Filecache.cpp (finish): Replaced filename_ with filename() - so that "const correctness" would work with template - specialization. Go figure! - - * TAO/tests/IDL_Cubit/Makefile: Enhanced the "realclean" target to - remove the generated IDL stubs and skeletons. - - * ace/OS.cpp (ace_sysconf_dump): Made a minor change to OS.cpp - to fix some typos. Thanks to Wei Chiang - for reporting this. - -Sun Oct 26 00:06:17 1997 - - * ace/Strategies_T.cpp (~ACE_Cached_Connect_Strategy): Must set - recycler to 0 before calling close, else the svc_handler will - try to purge itself from the cache. - - * tests/Conn_Test.cpp (client): Updated to use the new connection - recycling scheme. - - * ace/Hash_Map_Manager: - - - ACE_Hash_Map_Reverse_Iterator: Added reverse iterator. - - - ACE_Hash_Map_Entry: Added a prev pointer to the entry. Thus - changing the bucket chains into doubly linked lists. Because of - this, it was necessary to change the way the list was being - managed. Sentinels were created for each bucket. - - This also changed (a) the way the iterators worked, (b) made it - easy to delete entries when you have one (this scheme allows the - entries to be easily used as ACTs). - - - New methods (bind, trybind, rebind, find): These methods allow - the users to get access to ACE_Hash_Map_Entry of the node in - question. This allows the user to treat the entry as an ACT and - get access to the key (in case the user is interested in - changing the key). These methods are only valid since the - implementation of Hash_Map_Manager uses linked lists where nodes - are never copied. These methods cannot be added to Map_Manager - since it uses an array of nodes, where the your data may get - copied to another node when the size of the Map_Manager changes. - - * ace/Strategies (ACE_Connection_Recycling_Strategy): Added a new - abstract strategy for recycling connections. - - * ace/Strategies_T: - - - ACE_Cached_Connect_Strategy: 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. - - - ACE_Hash_Addr: ACE_Hash_Addr is the key for the hash map used by - ACE_Cached_Connect_Strategy. Previously it kept the Svc_Handler - pointer in the key in order to find out if it was busy or not. - Now the flag has been moved from the Svc_Handler into - the key. The also saves the Hash_Addr from requiring - Svc_Handler as a template parameter. - - Also updated ACE_Hash_Addr::operator== such that if the - Svc_Handler is busy, it does not bother to check compare the - addresses but simply returns false. - - * ace/Svc_Handler.cpp: 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. - - * ace/Filecache.cpp (ACE_Hash_Map_Entry): Added a new constructor - specialization as the ACE_Hash_Map_Entry now has two - constructors. - - * tests/Hash_Map_Manager_Test.cpp (ACE_Hash_Map_Entry): Added a - new constructor specialization as the ACE_Hash_Map_Entry now has - two constructors. - - * tests/Reactor_Exceptions_Test.cpp (class My_Reactor): Added the - other handle_events method. Thanks to Stephen Coy - (coys@mail.ns.wsa.com.au) for pointing this out. - - * ace/Strategies_T.cpp (hash_i): This default routine is no good. - It uses a complicated scheme that calculate a hash value. - Unfortunately, there is no guarantee that this hash algorithm - will produce the same hash value for the same address. - Therefore, it is better just to return a consistent hash value - rather than an erroneous one. I have choosen 0 of the return - value. Even though this will cause all the entries to be hashed - to the 0 bucket, atleast they will be found. Users should - override this to provide better hashing. - - (compare_i): Memcmp is not the correct default action. - !(b1==b2) is the correct comparison, though this will assume - that the addresses will have a comparison operation. - - * ace/Mem_Map.cpp (close and close_handle): close() is doing too - much. It is closing the handle and unmapping the file. - Changing this method might effect code that depends on this - behavior. Therefore, we create a seperated method - close_handle() that only closes down the handle, and does not - unmap the file. Thanks to Jeff Richards (jrichard@OhioEE.com) - for pointing this out. - - * ace/Strategies_T.cpp (connect_svc_handler): If connect() failed - because of timeouts, we have to reject the connection entirely. - This is necessary since currently there is no way for the - non-blocking connects to complete and for the to - notify the cache of the completion of connect(). Therefore if - errno is EWOULDBLOCK, it is changed to ENOTSUP and -1 is - returned. - -Sat Oct 25 17:41:57 1997 Sergio Flores - - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: - * examples/Timer_Queue/Async_Timer_Queue_Test.cpp: - * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp: - * examples/Timer_Queue/main_async.cpp: - * examples/Timer_Queue/main_reactor.cpp: - * examples/Timer_Queue/main_thread.cpp: - Added "#pragma instantiate" for template instantiations on - platforms that use pragmas instead, like SGI. - -Sat Oct 25 4:44:00 1997 Carlos O'Ryan - - * Today at 06:44 hours (Santiago, 04:44 St. Louis) Fernanda O'Ryan - has joined the ACE family. She was born 3040 gr in weight and - 50 cm length. She has absolutely no experience in CORBA, C++ or - programming in general. Therefore, she is the ultimate Java - programmer. - -Sat Oct 25 10:13:56 1997 David L. Levine - - * ace/Singleton.h: added comment about best ACE_LOCK types to use. - - * Makefile (TIMESTAMP): replace tab with spaces in ChangeLog entry. - - * tests/Conn_Test.cpp (main): fixed typo, spawn_threads instead of - spawn_thread. Also, protected definitions of spawn_processes () - and spawn_threads () to avoid compiler warnings about unused static - functions. - -Sat Oct 25 01:02:34 1997 Douglas C. Schmidt - - * ACE version 4.3.27, released Sat Oct 25 01:02:34 1997. - -Fri Oct 24 17:39:08 1997 Douglas C. Schmidt - - * ace/ACE.cpp: Changed all the ACE_BIT_ENABLED () == 0 macros to - ACE_BIT_DISABLED() since the logic is clearer. - - * ace/SOCK_Acceptor.cpp (shared_accept): Improved the handling of - timed accepts. The original implementation was prone to race - conditions if there were multiple processes all doing timed - connects on the *same acceptor socket*! That's because select() - and accept() are not performed atomically. Now, we're smarted - about handling this... - - * tests/Conn_Test.cpp: Simplified the shutdown logic, which - appeared to have race conditions. - - * tests/Conn_Test.cpp: Modified this test to spawn off a number of - server processes, all of which will listen for connections on - the same acceptor port. This demonstrates a useful idiom for - writing connection-oriented concurrent server pools. - - * netsvcs/lib/Server_Logging_Handler_T: Fixed this code so that if - we're on an HP/UX that has broken templates we don't use the - Base_Optimizer. Thanks to Per Andersson for providing this fix. - - * ace/Thread_Manager: Added a destructor for ACE_Thread_Descriptor - to keep some compilers happy. Thanks to Chuck Gehr - for reporting this. - - * ace/Task.cpp (ACE_Task_Base_cleanup): Changed - ACE_Task_Base::cleanup (object); - - to: - - ACE_Task_Base::cleanup (object, 0); - - Thanks to Chuck Gehr for reporting - this. - - * ace/Thread_Manager.cpp (find_thread): Fixed another problem with - == being used to compare threads rather than - ACE_OS::thr_equal(). Thanks to Chuck Gehr - for reporting this. - -Fri Oct 24 17:11:14 1997 Sergio Flores - - * Thread_Timer_Queue_Test.cpp (shutdown_timer): added logic to - cancel preemptively or voluntarily, the dispatching thread, - depending on whether the platoform supports pthread_cancel(). - - * Timer_Queue_Adapters.cpp (ACE_Thread_Timer_Queue_Adapter): Added - initialization of flag to 1, active mode. We assume - we start in active mode. Added an internal variable - that stores the thread id of the currently running thread. The - motivation behind this is to be able to cancel this thread - whenever we are shutting down. It is initialized to - ACE_OS::NULL_thread. - - * Timer_Queue_Adapters.cpp (svc): Assign the with the - current running thread ID, using ACE_Thread::self (). - - * Timer_Queue_Adapters.h (ACE_Thread_Timer_Queue_Adapter): Added - default to be - ACE_Thread_Manager::instance() - - * Timer_Queue_Adapters.h (activate): Override the default - method to be able to enforce one thread of execution - per timer queue. Does make much sense to have more than one - managing the timer queue, and like Doug said too many weird - things can happen... - - * Timer_Queue_Adapters.i (thr_id): Added this method to access the - thread ID of this task. - - * Timer_Queue_Adapters.i (activate): Call - ACE_Task_Base::activate() with n_threads = 1 to ensure that a - single thread is spawned. - -Fri Oct 24 10:00:02 1997 Nanbor Wang - - * ace/Thread_Manager.cpp (wait_grp): Fixed a bug. Should wait on - threads with same grp_id, not task. - -Fri Oct 24 09:24:14 1997 David L. Levine - - * ace/Select_Reactor.cpp (open): cast return value of - ACE_::max_handles () to size_t to avoid signed/unsigned comparison. - - * ace/Singleton.cpp,Object_Manager.{h,cpp}: (get_singleton_lock): - dynamically allocate ACE_Thread_Mutex and ACE_RW_Thread_Mutex locks, - so we end up with one lock per ACE_Singleton instantiation. - - * ace/OS.cpp (ACE_TSS_Info, Win32 and VxWorks only): changed type - of ACE_TSS_TABLE from ACE_Unbounded_Stack to fixed-size ACE_Array. - With this change, we avoid some use of ACE_Allocator when - destroying TSS objects. There are two more changes required to - completely remove the ACE_Allocator use. - - * tests/TSS_Test.cpp (worker): added printout of iteration count. - -Fri Oct 24 01:53:58 1997 Douglas C. Schmidt - - * ACE version 4.3.26, released Fri Oct 24 01:53:58 1997. - -Thu Oct 23 19:05:08 1997 Douglas C. Schmidt - - * netsvcs/clients/Naming/Client/Makefile - netsvcs/clients/Naming/Dump_Restore/Makefile - - The lines: - - SHLIB = libClient_Test.so - SHLIB = libDump_Restore.so - - need to be - - SHLIB = libClient_Test.$(SOEXT) - SHLIB = libDump_Restore.$(SOEXT) - - Thanks to Stephen Coy for reporting this. - - * ace/Thread_Manager.cpp (find_hthread): Replaced the call - - if (iter.next ()->thr_handle_ == h_id) - - to - - if (ACE_OS::thr_equal (iter.next ()->thr_handle_, h_id)) - - since the other one isn't portable to Pthreads. Thanks to - Stephen Coy for reporting this. - - * ace/Hash_Map_Manager.cpp: Removed the sentinel in the - Hash_Map_Manager. Sentinels are evil since they require us to - hold write locks, even when we're doing finds! - - * ace/ACE.cpp (max_handles): By default, we now try to use the - getrlimit() function before sysconf() since sysconf() doesn't - work "correctly" for NO _SC_OPEN_MAX (i.e., it just returns the - original value, which might have been changed by setrlimit(). - What a pain... - - * ace/ACE.cpp (max_handles): If FD_SETSIZE is enabled return - this as the number of handles. This isn't perfect, but it's - probably better than returning -1. - - * ace/Select_Reactor.cpp (open): Added a call to - ACE::set_handle_limit() if the requested size for the Reactor is - greater than the current max number of descriptors in the - process. Also check to make sure that the user isn't ask for - more than the FD_SETSIZE. Thanks to Neil Lavelle - for motivating this. - - * ace/Thread_Manager: Changed the name THR_FUNC to - ACE_THR_MEMBER_FUNC since it's now a global typedef on VxWorks - and we don't have to have clashes with other names. - - * ace/Thread_Manager.h: There are mutually incompatible bugs with - VxWorks and MVS. Therefore, we have to conditionally compile - the THR_FUNC differently for these two platforms. Thanks to - Chuck Gehr for reporting this. - - * ace/OS.cpp (thr_create): Added a fix to set the Chorus stack - size correctly. Thanks to Wei Chiang for - reporting this. - - * ace/OS.cpp: Added a new method ace_sysconf_dump() to dump the - state of the configuration. Thanks to Wei Chiang - for reporting this. - - * ace/Singleton.cpp (dump): There was a typo in the dump() method - for ACE_TSS_Singleton, it should be - ACE_TSS_Singleton::instance_i(). I've fixed this. - -Thu Oct 23 23:19:24 1997 James C Hu - - * ace/Filecache.cpp: Removed template method specialization of - shared_find. No longer needed since Hash_Map_Manager has been - changed to no longer rely on sentinel_. - - * ace/Thread_Manager.cpp (various): - Hacked 'til it compiled. (Chased down syntax errors.) - -Thu Oct 23 22:52:17 1997 Sergio Flores - - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp (shutdown_timer): - Added a line to call the cancel method on the timer queue task - when we are shutting down; this is wrapped around #if's to only - include this only when the platformm supports pthread_cancel(). - - * ace/Timer_Queue_Adapters.cpp (svc): Added some POSIX thread - cancellation points to make sure the mutex that the condition - variable uses is unlocked before the thread is cancelled. - - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp (list_timer): - Deleted unnecessary cancellation points. Since we are not - blocking on a condition variable, we don't need to guard the - code. - -Thu Oct 23 22:07:03 1997 Nanbor Wang - - * ace/Thread_Manager.cpp (wait_task,wait_grp): We should also - check for thread creation flags when collection information for - threads belong to this group and don't try to join those threads - created with THR_DETACHED or THR_DAEMON. - -Thu Oct 23 21:22:16 1997 Darrell Brunsch - - * ACE-INSTALL.html: Copied some documentation about makefile flags - from include/makeinclude/wrapper_macros.GNU and added a section - for this. - -Thu Oct 23 20:37:44 1997 David L. Levine - - * ace/Array.*: added ACE_Array_Iterator. - -Thu Oct 23 17:28:11 1997 Chris Cleeland - - * ace/Mem_Map.i (close_filemapping_handle): Moved this above its - uses in the file so that g++ would de-warn. - -Thu Oct 23 15:30:17 1997 Steve Huston - - * ace/Timer_Hash_T.h, Timer_Hash.cpp, Timer_Heap_T.h, Timer_Heap.cpp, - Timer_List_T.h, Timer_List.cpp, Timer_Queue_T.h, Timer_Queue.cpp, - Timer_Wheel_T.h, Timer_Wheel.cpp: Replaced all occurences of - ACE_HPUX_BROKEN_TEMPLATES with ACE_HAS_BROKEN_HPUX_TEMPLATES. - -Wed Oct 22 23:23:29 1997 Nanbor Wang - - * ace/ACE_Library.*, ace_lib.dsp: Made naming convention uniform - for some less used ACE library. They are called: aced.dll, - ace.dll, aceud.dll, aceu.dll, acesd.lib, aces.lib, aceusd.lib - and aceus.lib. If you are using ACE on NT, you know what they - mean. ;-) - -Wed Oct 22 21:22:35 1997 David L. Levine - - * ace/Object_Manager.{h,cpp}: Added support for ACE_RW_Thread_Mutex - ACE_Singleton lock type. Thanks to Nanbor for suggesting this, - because TAO needs it. - - Also, removed at_exit registration of dynamically allocated - ACE_Static_Object_Lock because Object_Manager instance isn't - available for registration when it's created. Instead, handle - this lock as a special case in the Object_Manager destructor. - - * ace/Singleton.cpp,Object_Manager.cpp: check for shutting_down () - as well as starting_up () when deciding whether to use a - preallocated lock. Preallocated locks are not available at those - times. - - * tests/Reactor_Performance_Test.cpp (client): removed declaration - of loop index "i" because it shadowed a local. Also, the loop - index declaration caused a signed/unsigned comparison. - - * ace/Singleton.cpp: temporarily disabled ACE_Guards until - the lock acquistion is fixed. - -Wed Oct 22 17:53:26 1997 Steve Huston - - * ace/SOCK_Connector.cpp: In connect(), changed the - (local != ACE_Addr::sap_any) to be value comparison, - not pointer comparison. Works on compilers which construct - temporaries when a const reference is passed (like HP aC++), and - also when a user passes an ACE_Addr which they construct to look - just like an ACE_Addr::sap_any. Thanks to Stephen Coy - for finding this. - -Wed Oct 22 16:43:25 1997 Chris Cleeland - - * tests/Reactor_Performance_Test.cpp (client): Corrected some code - that wasn't logical (but compiled!) in the connect_n() test. - -Wed Oct 22 13:27:47 1997 Douglas C. Schmidt - - * tests/Reactor_Performance_Test.cpp (client): Revised the - connection portion of this test to use the newly revised - connect_n() method on Connector. - - * ace/Connector.cpp (connect_n): Revised the connect_n() method so - that it keeps track of which connections succeeded and which - failed. - -Wed Oct 22 07:23:21 1997 David L. Levine - - * ace/OS.i (getpgid): fixed (commented) ACE_TRACE identifer. - Thanks to Eric Newton for reporting this. - - * ace/Singleton.{h,cpp},Object_Manager.{h,cpp}: moved - ace_singleton_lock_ to Object_Manager. ace_singleton_lock_ - was a static data member: in addition to the usual troubles - associated with being a static, it was a static member of a - template class. g++ can't handle those, so we used a local - static; initialization of that static was not thread safe. - - The fix relies on knowledge from the Object_Manager about - whether the program is in static construction phase or not. - A critical assumption is that construction of static objects - does not spawn threads. With that assumption, we know that - there is only one (main) thread in the program prior to the - Object_Manager instance being constructed. At that time, - locking is not needed. The ACE_{TSS_}Singleton::instance () - methods rely on the state of the Object_Manager: if it has - not been constructed yet, then they don't guard allocation - of their singleton instance. - - The Object_Manager constructs four locks (of types ACE_Null_Mutex, - ACE_Thread_Mutex, ACE_Recursive_Thread_Mutex, and - ACE_RW_Thread_Mutex) for use only by ACE_Singleton classes. - After the Object_Manager has been constructed, ACE_{TSS_}Singleton - instantiations use one of those locks to guard their allocation of - a new instance, via double-checked locking. - - This change has one impact, then: - ACE_{TSS_}Singleton users are limited to the following types - for their ACE_LOCK instantiation parameters: ACE_Null_Mutex, - ACE_Thread_Mutex, ACE_Recursive_Thread_Mutex, and - ACE_RW_Thread_Mutex. If another type is needed, it can be - easily added to the ACE_Object_Manager: another overloaded - get_singleton_lock () function and preallocated lock would - have to be added. - - As noted in Singleton.h, the best types of ACE_LOCKs to use - for instantiating ACE_Singleton are ACE_Recursive_Thread_Mutex - and ACE_Null_Mutex. - - In addition to the above change, I made these two other - changes: - 1) ACE_Static_Object_Lock::instance (): dynamically allocate - a lock if the Object_Manager has not been constructed yet. - This approach replaces the static lock that was necessary - to allow the static services to be constructed. - - 2) Consolidated the singleton_ access in ACE_TSS_Singleton - via a singleton_i () internal accessor function. Now, - ACE_TSS_Singleton looks just like ACE_Singleton. - - * ACE-INSTALL.html: updated DEC CXX 6.0 build/test status. - - * examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i - (handle_timeout): convert arg to long if ACE_HAS_64BIT_LONGS. - - * examples/Shared_Malloc/test_malloc.cpp (worker): convert arg to - long if ACE_HAS_64BIT_LONGS. - - * examples/Timer_Queue/Driver.cpp (run_test,parse_commands): - added ACE_NOTREACHED. - - * examples/Logger/simple-server/Logging_Handler.cpp (handle_close): - removed declaration of unused arg "mask". - - * include/makeinclude/rules.local.GNU: added show_statics and - show_uninit targets. They show the statics (that have static - destructor calls) and uninitialized data in the object files - in the current directory. They work best (or at all) on object - files compiled by g++. - -Wed Oct 22 05:04:07 1997 Douglas C. Schmidt - - * ACE version 4.3.25, released Wed Oct 22 05:04:07 1997. - -Tue Oct 21 22:55:36 1997 - - * ace/WFMO_Reactor: Removed ACE_Event_Handler::CLOSE_MASK and the - explicit registration for the closing of sockets from - WFMO_Reactor. This is essentially for compatibility with UNIX - programs. UNIX does not have a CLOSE_MASK and the notification - of the closing of a socket is implicit in the socket becoming - read ready. Therefore when you register for - ACE_Event_Handler::READ_MASK with WFMO_Reactor, you will - register for FD_READ and FD_CLOSE. When FD_CLOSE is triggered, - handle_input() will be called on the Event_Handler. As on UNIX, - read() will return 0 and the programmer will be able to tell - that the socket has actually closed down. - - Arguably, this is lame for Win32 programmers as they have the - explicit close notification, but portability and existing code - base wins in this case. - - One other change. When an event_handler returns -1 from the - callback, unbind() is called with ALL_EVENTS_MASK rather than - the NULL_MASK. - - The upcall routine still needs to threat the two masks - separately. (FD_CLOSE | FD_READ) will not work as both maybe - simultaneously enabled. Therefore handle_input() maybe be called - twice (once for FD_READ and once for FD_CLOSE) unless the user - returns -1 from the first callback. - - * ace/Event_Handler: Removed the CLOSE_MASK. - - * examples/Logger/simple-server/Logging_Handler.cpp: Minor fixes. - - * examples/Logger/Acceptor-server/server_loggerd.cpp: Minor - changes. No need to register the acceptor with the - Reactor. Acceptor::open() does that. - - * examples/Reactor/ReactorEx/test_network_events: Removed the use - of CLOSE_MASK. - - * tests/Reactor_Performance_Test: Removed the use of CLOSE_MASK. - -Tue Oct 21 21:48:54 1997 David L. Levine - - * ace/OS.[hi]: moved ACE_PTHREAD_CLEANUP_PUSH/POP definitions from - OS.i to OS.h. Also, added #ifdef ACE_HAS_PTHREADS protection - before ! defined ACE_LACKS_PTHREAD_CLEANUP so that only PThreads - platforms need add ACE_LACS_PTHREAD_CLEANUP. - - * tests/Notify_Performance_Test.cpp: added #include of - ace/Thread_Manager.h. It's needed on OSF-1. - -Tue Oct 21 21:09:35 1997 Nanbor Wang - - * ace/Memory_Pool.cpp (ACE_MMAP_Memory_Pool): Oops. Souldn't - access options when it is 0. - -Tue Oct 21 12:58:30 1997 Nanbor Wang - - * ace/Log_Msg.{h,cpp}: (thr_desc): Modified the method so it take - an extra argument of type ACE_Thread_Manager* and uses it to - block execution until thread manager release its lock. - - * ace/Thread_Manager.{h,cpp} (acquire_release): Added this new - method whose only function is to grab the thread manager's - lock. This function ensure that a newly spawned thread won't - try to access its thread descriptor before it is fully built. - - * ace/OS.cpp (inherit_log_msg): Modified to cache the thread - descriptor of spawned thread in TSS Log_Msg after it has been - created and block the execution of new thread until thread - manager releases the lock (i.e., fills in all the information.) - - * ace/OS.h (ACE_Thread_Adapter): Added one more argument of type - ACE_Thread_Descriptor* to the constructor with default value 0. - - * ace/OS.cpp (invoke): If the thread descriptor ptr is not zero - in thread arguemnt, then, we'll wait till the thread manger - fills in the formation and cache the value in TSS Log_Meg. - - * ace/Thread_Manager (spawn_i): Changed to pass in the thread - descriptor of the newly spawned thread to thread adapter so it - can cache it in TSS Log_Msg. This must be created before - spawning the thread. If all goes well, we'll need to append the - thread descriptor into the double-linked list in the thread - manager. - (append_thr): Added a new argument of type Thread_Descriptor* - with default value 0. If we pass in a thread descriptor, - append_thr won't try to create on itself. - -Tue Oct 21 21:34:35 1997 Douglas C. Schmidt - - * ACE version 4.3.24, released Tue Oct 21 21:34:35 1997. - -Tue Oct 21 14:14:33 1997 Carlos O'Ryan - - * examples/Timer_Queue/Thread_Timer_Queue_Test.h: - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: - Use the typedef for Upcall to define the base Timer_Queue. - Input_Task inherits from ACE_Task_Base, no need for ACE_Task<> - here. - -Tue Oct 21 13:45:53 1997 Douglas C. Schmidt - - * ace/config-irix6.x-sgic++-nothreads.h: Added ACE_HAS_TERM_IOCTLS - for SGI. Thanks to Jeffrey Peterson - for reporting htis. - - * TAO/tests/Thruput_test/server.cpp (main): Changed BOA_init() - to POA_init(). - -Tue Oct 21 12:58:30 1997 - - * ace/OS.h (ACE_SINGLETON_DECLARATION): - (ACE_SINGLETON_INSTANTIATION): - (ACE_SVC_SINGLETON_DECLARATION): - (ACE_SVC_SINGLETON_INSTANTIATION): Added these new macros. Each - of them takes one argument which is the ACE_Singleton class. - All these craps are needed because MSVCs very kindly instantiate - the template codes for you. This ends up producing two - ACE_Singleton objects, one in DLL and one in user program. What - these macros do is to supress the template code instantiation in - user program and force compilers to instantiate these codes in - DLL. On other platforms, these macros simply expand to empty - strings. Here is a simple use case. Say we have a class - called which we want to make it a singleton using - ACE_Singleton template in our own DLL. In file , add - a line like this, - - ACE_SVC_SINGLETON_DECLARATION (ACE_Singleton); - - and it will be expanded to suitabe code to export the class or - supress another template instantiation outside DLL depending on - whether ACE_BUILD_SVC_DLL is defined or not. In file - , add a line, - - ACE_SVC_SINGLETON_INSTANTIATION (ACE_Singleton); - - at the end of the file to instantiate the template object in - DLL. Notice that there is a bug in MSVC 4.2 and you'll have to - write up a DEF file to export the template interface - explicitly. - - These macros should be integrated with the case when - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION but because of the VC - 4.2's bug, it will cause too much trouble to export all these - symbols for external access. Therefore, I'll leave them as they - are now. - - BTW, these is no templatized singleton object within ACE that - needs to be exported at this moment. - -Tue Oct 21 07:14:24 1997 David L. Levine - - * ace/Svc_Conf_l.cpp: fixed compile warnings on g++. - - * ace/Timer_{Heap,List,Wheel}_T.cpp: replaced NULL with 0 because - some compilers, such as GHS, define NULL as (void *) 0. So, it - sometimes needs to be cast to be used. Thanks to Brian Mendel - for reporting this. - - * ace/Thread_Manager.cpp (wait): removed thr_yield () hack because - it's not needed with Nanbor's Thread_Manager fix. - - * tests/test_config.h (ACE_END_TEST): removed sleep hack with - threading because it's not needed with Nanbor's Thread_Manager fix. - - * include/makeinclude/platform_vxworks*.GNU: added VXWORKS=1 macro, - for use by individual Makefiles to suppress VxWorks builds. - - * examples/System_V_IPC: suppress VxWorks builds because the builds - fail, and the examples wouldn't run anyways. - - * netsvcs/lib/TS_Server_Handler.cpp: only instantiate - ACE_Svc_Handler if ! ACE_HAS_TLI - because without TLI, the instantiation is in - Client_Logging_Handler.cpp. - - * examples/Shared_Malloc/test_persistence.cpp: added #include of - iostream.h with ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - - * examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp: removed - instantiation of ACE_TSS because it is in - ace/Thread_Manager.cpp. - -Tue Oct 21 02:23:26 1997 Douglas C. Schmidt - - * ACE version 4.3.23, released Tue Oct 21 02:23:26 1997. - -Tue Oct 21 02:18:56 1997 Douglas C. Schmidt - - * examples/Makefile: Things are happier now, so we've added back - the Timer_Queue directory to the Makefile. - - * examples/Timer_Queue: Added lots of annoying template - specializations so that the timer queue tests now work with GCC. - - * ace/Svc_Conf.l: Changed the regular expression for a - {string} so that it maches the null string (i.e., ""). - -Tue Oct 21 01:07:58 1997 Sergio Flores - - * examples/Timer_Queue: - Added documentation and fixed some warnings from the unused - arguments in some member functions. Cleaned up some .h files of - unnecessary template instantiations. - -Tue Oct 21 01:01:12 1997 Nanbor Wang - - * ace/Thread_Manager.h: Added more comments. - - * ace/Thread_Manager.{h,cpp}: Added a parameter to - Thread_Manager's constructor with default value 0. This - parameter is currently unused and put in for backward - compatibility. - (open): Putting back this method for backward compatibility. - This is currently a no-op. Thanks to David for reporting this. - Also modify some mis-inform comments. - -Mon Oct 20 22:34:46 1997 - - * ace/OS.i (open): Moved Win32 specific errno mappings from open() - to ACE_FAIL_RETURN. Also updated the wide-character version of - open(). - -Mon Oct 20 14:07:37 1997 Douglas C. Schmidt - - * ace/config-hpux-10.x.h: Added #define ACE_DEFAULT_BASE_ADDR - ((char *) 0x80000000) so that the various mmap() tests - will work on HP/UX. Thanks to Stephen Coy - for reporting this. - - * ace/OS.i: Fixed the implementation of ACE_OS::cond_timedwait() - so that it will work on VxWorks. Thanks to David Levine for - chasing this down and doing most of the changes. - - * ace/OS.h: Added a new special case for _KCC so that its - ACE_UNUSED_ARG will work properly. Thanks to Torbjorn Lindgren - for reporting this. - -Mon Oct 20 22:23:42 1997 Nanbor Wang - - * tests/Sigset_Ops_Test.cpp (main): It is not legal too for - sigismember to return 0 if we pass an invalid signal to it. - Thanks to Stephen Coy for fixing this. - - * Thread_Manager.*: Replace the thr_table_ with a double-linked - list thr_list_. With this change, we can cache the thread - descriptor entries in TSS area. Then, when accessing thread - descriptor from a spawned thread's context, we don't have to - search thru the whole list in order to find the corresponding - thread descriptor. Double-linked list and caching also make - adding/removing thread descriptor entries very fast. At this - moment, we need to do a linear search when we try to access the - cached pointer the first time. This overhead is expected to - removed shortly. The will be some memory leaks at this moment - because I haven't implemented the code to clean up the list when - a thread manager gets deleted. Will fix it soon. - - * Log_Msg.{h,cpp}: Removed thr_state methods, variable, and thr_id - methods and variable and replace them with thr_desc which cache - the pointer to the thread descriptor structure. - - * Containers.*: Added two new template classes - ACE_Double_Linked_List and ACE_Double_Linked_List_Iterator. - These two classes implement the very fundamental data structure - of double-linked list. Although this is not actually a - container class, I couldn't find a better place to put these - classes. - - * ace/Filecache.* - * ace/FIFO.* - * ace/FIFO_Send.* - * ace/FIFO_Recv.* - * ace/FIFO_Send_Msg.* - * ace/FIFO_Recv_Msg.* - * ace/Memory_Pool.* (ACE_MMAP_Memory_Pool_Options, - ACE_MMAP_Memory_Pool): Added one member variable to these class - so users can specify the LPSECURITY_ATTRIBUTES object they want - to use with them. - (map_file, init_inquire): Pass the security attribute to - underlying memory map object. - - * ace/Mem_Map.* (ACE_Mem_Map, map, open, map_it): Added a new - function parameter LPSECURITY_ATTRIBUTES. It will be passed - down to ACE_OS::mmap or ACE_OS::open. This is only used on - Win32. - -Mon Oct 20 08:48:28 1997 Steve Huston - - * ace/OS.h, config-hpux-10.x.h: Added a new definition, - ACE_HAS_TIUSER_H_BROKEN_EXTERN_C - HP-UX's tiuser.h has - def for t_errno/_terrno() outside of an extern "C" block, - so in this case, wrap #include in our own - extern "C" block. HP support call W3711856. - -Mon Oct 20 07:49:54 1997 David L. Levine - - * Makefile (TIMESTAMP): moved chmod after cvs commit. - - * include/makeinclude/platform_sunos{4,5}_sunc++*.GNU: don't - create Templates.DB/Modules.DB, because that should have been - Module.DB, and it's not needed anyways. - - * ace/config-vxworks-ghs-1.8.h: removed ACE_HAS_VERBOSE_NOTSUP. - - * tests/run_tests.vxworks: re-enabled Buffer_Stream_Test now that - ACE_OS::cond_timedwait () is supported on VxWorks. - - * examples/IPC_SAP/TLI_SAP/ftp-server.cpp (main): removed call - to ACE_Thread_Manager::open () because it no longer is available. - -Mon Oct 20 02:04:19 1997 Douglas C. Schmidt - - * ACE version 4.3.22, released Mon Oct 20 02:04:19 1997. - -Mon Oct 20 02:01:43 1997 Douglas C. Schmidt - - * examples/Makefile: Removed the Timer_Queue directory from the - Makefile until Sergio has fixed all the examples for GCC. - -Sun Oct 19 21:15:10 1997 Sergio Flores - - * examples/Timer_Queue: Added a new testing framework for - various types of ACE_Time_Queue usecases, e.g., threaded, - reactive, and asynchronous. - The new classes are: - which factors out the common code for - different type of Timer queue implementations, for example the parsing, - the input reading, and leaves the implementation of display_menu() for - example, to subclasses. - the asynchronous version of the timer - queue, uses signals. - implements the reactive timer queue - test driver using - the threaded implementation of the - timer queue. - this class is used to specify operations on the timer queue - independently of their implementation. Thsi allows different - implementations of the timer queue to have different ways of - doing the operations without the base class having to know that. - See the Command pattern. - Added some helper functions into the class. - - -Sun Oct 19 18:07:31 1997 Douglas C. Schmidt - - * ace: Added new config files for SCO OpenServer with a new initial scheme - to make config files: - - - The config to SCO OpenServer has been changed to separate OS - specific flags, threads and compiler flags. - - - For SCO OpenServer the base config file is config-sco-5.0.0.h - - - Pthreads base files are config-fsu-pthread.h and - config-mit-pthread for FSU and MIT pthreads. - - - The compiler file has been named config-gcc-2.7.2.h, this is - base config file for GNU gcc 2.7.2 - - To build a config file for SCO using GNU gcc 2.7.2 would be: - - #include "ace/config-gcc-2.7.2.h" - #include "ace/config-sco-5.0.0.h" - - We would obtain ACE config file for SCO OpenServer with GNU gcc - 2.7.2 with no threads. To build a config file for SCO using GNU - gcc 2.7.2 with FSU pthread would be: - - #include "ace/config-gcc-2.7.2.h" - #include "ace/config-sco-5.0.0.h" - #include "ace/config-fsu-pthread.h" - - Thanks to Arturo Montes for these - changes. - - * ace/OS.i (open): Modified ACE_OS::open() so that it sets errno - to EACCES when the requested file is in use. Thanks to Edan - Ayal for reporting this. - -Sun Oct 19 17:55:34 1997 David L. Levine - - * etc/purify.solaris2: the contents of my ~/.purify file - for Solaris 2.x. The ACE tests purify cleanly with it. - -Sun Oct 19 13:49:17 1997 Carlos O'Ryan - - * ace/Proactor.cpp: - The mutex vs lock name change strikes back, this time under NT. - - * tests/Conn_Test.h: - * tests/Conn_Test.cpp: - The Svc_Handler was cached, but it had the default - handle_close() method, which destroys the object. The new - version leaks a bit of memory, but it seems that it never - crashes. - -Sat Oct 18 09:13:29 1997 Douglas C. Schmidt - - * ace/Synch_T.cpp (lock): Moved the frigging lock method of - Atomic_Op into the *.cpp file to work around bugs with earlier - versions of the horribleHP/UX C++ compiler. Thanks to Neil - Cohen for reporting this. - -Sat Oct 18 07:43:29 1997 David L. Levine - - * Makefile (release): oops, removed "echo" that was used to - disable CVS commit, for testing. - - * ace/Thread_Manager.{h,cpp},Object_Manager.{h,cpp}: moved - ace_thread_exit_lock_ to Object_Manager. - - * include/makeinclude/rules.local.GNU: added $(TEMPLATE_REPOSITORY) - to OBJDIRS, so that individual platforms can add template - repository directories for creation. - - * include/makeinclude/platform_sunos{4,5}_sunc++*.GNU: added - TEMPLATE_REPOSITORY with Templates.DB and Templates.DB/Modules.DB. - We can build without any warnings with Sun C++ now. - -Sat Oct 18 00:17:26 1997 Douglas C. Schmidt - - * ACE version 4.3.21, released Sat Oct 18 00:17:26 1997. - -Fri Oct 17 22:51:46 1997 Carlos O'Ryan - - * ace/Timer_Queue_Adapters.h: - * ace/Timer_Queue_Adapters.i: - * ace/Timer_Queue_Adapters.cpp: - * ace/Timer_Queue_T.h: - * ace/Timer_Queue_T.i: - * ace/Timer_Queue_T.cpp: - * ace/Timer_List_T.cpp: - * ace/Timer_Wheel_T.cpp: - * ace/Timer_Hash_T.cpp: - Changed the accessor name for the lock_ field from mutex() to - lock(), we know this can cause trouble on HP-UX, but only if the - function is inline; so it was moved to the .cpp file. - - * ace/Timer_Queue_Adapters.h: - * ace/Timer_Queue_Adapters.i: - Changed the method name from lock() to mutex(), this should - workaround a bug in the HP/C++ compiler. - - * ace/Timer_Hash.cpp: - * ace/Timer_Hash_T.h: - * ace/Timer_Heap.cpp: - * ace/Timer_Heap_T.h: - * ace/Timer_List.cpp: - * ace/Timer_List_T.h: - * ace/Timer_Queue.cpp: - * ace/Timer_Queue_T.h: - * ace/Timer_Wheel.cpp: - * ace/Timer_Wheel_T.h: - Workaround HP/C++ compiler bug, we cannot include the .cpp file - from the header file, but it must be included in the point of - instantiation. - -Fri Oct 17 18:34:00 1997 Douglas C. Schmidt - - * ace/Atomic_Op.i (lock): Added an accessor to ACE_Atomic_Op to - return a reference to the underlying lock. Thanks to Janusz - Stopa for suggesting this. - -Fri Oct 17 15:36:26 1997 - - * ACE/config-win32-common.h: Added a directive to disable warning - of using Microsoft template instantiation control extension. - -Fri Oct 17 06:31:20 1997 David L. Levine - - * ace/Atomic_Op.i (operator=): rsh.value () instead of just rhs. - - * Makefile (release): added ACE_VERSION string to ace/Version.h. - The MS Resource-Compiler doesn't implement the preprocessor - # operator, so ACE_VERSION supplies the concatenated version - string. Thanks to Matthias for suggesting this. - - * ace/Svc_Handler.{h,cpp},Object_Manager.{h,cpp}: moved - ace_svc_handler_lock_ to Object_Manager. This lock was - created once per Svc_Handler instantiation. It has been - replaced by a single lock for all instantiations. That - shouldn't be a problem because there are so few Svc_Handler - instantiations, and the lock is only used for singleton - creation using double-checked locking. - -Fri Oct 17 01:19:35 1997 Douglas C. Schmidt - - * ACE version 4.3.20, released Fri Oct 17 01:19:35 1997. - -Fri Oct 17 00:05:55 1997 - - * ace/OS: Added ACE_Export to declarations to: - ace_mutex_lock_cleanup_adapter, ftruncate, ace_thread_adapter - - * ace/OS.cpp (readv, writev): Moved ACE_Export directive from - OS.cpp to OS.i. - - * ace/Atomic_Op (operator TYPE): operator TYPE() of Atomic_Op has - been deprecated and removed. Because both user-defined - conversions and user-defined operators were defined on - Atomic_Op, it was possible to get ambiguities between the - user-defined operators and the built-in operators. Therefore, - operator TYPE() has been removed and explicit accessor value() - has been added. Thanks to Stephen Coy for - suggesting this. - - * ace/Atomic_Op (operator!=): Add new operator. - - * tests/Atomic_Op_Test.cpp: Previously we had foo.operator== (5). - It was necessary to resolve the ambiguities between the - user-defined operators and the built-in operators. Since we have - removed the automagic type conversion, we can go back to writing - foo == 5. - - * ACE: Atomic Op related minor changes: - - ace/Malloc.cpp (dump): - tests/Future_Test.cpp (main): - tests/Reactors_Test.cpp (handle_input): - example/Threads/{future1.cpp future2.cpp manual_event.cpp task_two.cpp tss2.cpp}: - examples/Reactor/Misc/test_reactors.cpp: - - * tests/Notify_Performance_Test.cpp: - * tests/Reactor_Performance_Test.cpp: - - Moved explicit template instantiation code to ACE_HAS_THREADS - part for the test. Thanks to Stephen Coy - for pointing this out. - -Thu Oct 16 20:44:40 1997 James C Hu - - * ace/Message_Block.cpp: Changed how continuations are released in - the Message_Block::release_i() method to use an iteration rather - than recursion. This is to avoid a stack overflow problem - encountered by Janusz Stopa. - - * ace/OS.cpp: Added ACE_Export to the declarations of ::writev and - ::readv. These are emulation implementations for systems that - don't support them natively. Was not being resolved correctly - on NT. Hopefully this will fix it. Fix suggested by Rob Head - (rhead@virtc.com). - -Thu Oct 16 14:21:34 1997 Nanbor Wang - - * ace/Proactor.cpp: Replaced #include "ace/Servie_Config.h" with - #include "ace/Object_Manager.h" for declaration of - ACE_Static_Object_Lock. - -Thu Oct 16 10:22:48 1997 Carlos O'Ryan - - * ace/Timer_Heap_T.h: - Fixed comment on the Heap_Iterator, it said "Iterates over an - "). - -Thu Oct 16 08:43:50 1997 David L. Levine - - * ace/OS.i (sema_trywait): on VxWorks only, fixed to set errno to - EBUSY if the semaphore couldn't be taken. Thanks to Doug for - suggesting this fix. - - * performance-tests/Misc/preempt.cpp (main): fixed program name. - - * include/makeinclude/platform_osf1_4.0.GNU: OCFLAGS instead of OFLAGS. - - * tests/test_config.h (VxWorks): restored the removal of the log - file, because it again appears to be necessary. - - * tests/run_tests.vxworks: updated VxWorks tests status. - - * ace/OS.cpp,Token_Invariants.{h,cpp},Object_Manager.{h,cpp}: - moved ace_os_monitor_lock and ACE_Token_Invariants_Creation_Lock - to Object_Manager. - -Thu Oct 16 02:26:12 1997 Douglas C. Schmidt - - * ACE version 4.3.19, released Thu Oct 16 02:26:12 1997. - -Thu Oct 16 02:07:54 1997 Douglas C. Schmidt - - * tests/Priority_Reactor_Test.cpp: Added a "max_retries" flag to - keep the test from hanging forever... Thanks to Stephen Coy - for motivating this. - - * tests/Priority_Reactor_Test.h: Changed - - class Read_Handler : public ACE_Svc_Handler< - - to - - class Read_Handler : public ACE_Svc_Handler< - - and the same for the Write_Handler. Thanks to the ever vigilant - Stephen Coy for reporting this. - -Thu Oct 16 01:18:48 1997 Nanbor Wang - - * ace/OS.cpp (socket_init): Changed to use ACE_UNUSED_ARG. - - * ace/SV_Semaphore_Simple.cpp (name_2_key): Explicitly cast the - return value to (key_t). It was causing problem on Win32. - -Wed Oct 15 22:47:30 1997 Carlos O'Ryan - - * ace/ACE.h: - * ace/ACE.cpp: - Added an implementation of the ISO 8802-3 standard 32 bits CRC, - but for strings only. The implementation was taken from the - FreeBSD code. - - * ace/SV_Semaphore_Simple.cpp: Improved the hashing algorithm to - assign a "unique" key for semaphore keys using an string. This - solves a problem detected by Mark L. Boriack - (Mark.L.Boriack@cpmx.saic.com): under OSF/1 the were too many - collitions with the default arguments for ACE_Process_Mutex. - Note that this is only a problem if no name is given to it. - - * ace/Log_Msg.cpp: ACE_Log_Msg_message_queue_ was not initialized - in platforms without threads. - - * ace/Containers.h: Added a duplicate ACE_Ubounded_Stack_Iterator - to the NANBOR_EXP_CHANGES block. - - * ace/OS.h (ACE_DES_FREE_TEMPLATE): Removed unneeded concatenation - that was getting the HP/aCC compiler a bit confused. Thanks to - Stephen Coy for pointing out the problem - and then reminding me of actually adding the solution to ACE. - -Wed Oct 15 11:07:47 1997 Douglas C. Schmidt - - * ace/OS.i: Fixed the flock_trywrlock() and flock_tryrdlock() so - that they both set errno = EBUSY if they lock is already held. - - * ace/OS.i (mutex_trylock): Make the VxWorks version consistent - with the other versions by returning -1 and setting errno to - EBUSY. Thanks to David Levine for reporting this. - - * ace/Synch.h: Updated the documentation to clarify what the - return value is from the tryacquire() methods. - - * ace/OS.i (mutex_trylock): On NT, if we try to acquire a mutex - that's already locked we'll return -1 and set errno to EBUSY - rather than ETIME to be consistent with Pthreads. Please see - the following entry to understand why this doesn't break - existing code ;-). - - * ace/OS.h: Added a #define for EBUSY on NT. We'll make it the - same as ETIME to avoid breaking existing code! - - * tests/Process_Strategy_Test.cpp (main): Ignore SIGCHLD in the - child. - -Wed Oct 15 14:59:41 1997 - - * tests/run_tests.bat: Added Reactor_Performance_Test and - Notify_Performance_Test to one button test script. - - * tests/tests.dsw: Added Reactor_Performance_Test.dsp and - Notify_Performance_Test.dsp. - -Wed Oct 15 07:21:05 1997 David L. Levine - - * ace/ACE.{h,i},Version.h: added ACE version macros, and static - functions to access them in class ACE. - - * Makefile (release): updates ace/Version.h based on contents of - VERSION. - - * tests/Time_Value_Test.cpp: added test of ACE version accessors. - - * ace/OS.cpp,Object_Manager.cpp: changed ACE_TSS_CLEANUP_LOCK - from an ACE_Thread_Mutex to an ACE_Recursive_Thread_Mutex. - - * ace/OS.h: define ACE_NOTREACHED as empty on DEC_CXX (and - on ghs instead of VXWORKS). - - * tests/TSS_Test.cpp (worker): convert void *c to long if - ACE_HAS_64BIT_LONGS to avoid DEC cxx compiler warning. - - * examples/Threads/thread_specific.cpp (worker): convert void *c - to long if ACE_HAS_64BIT_LONGS. Changed name of "lock" to - "printf_lock" to avoid collision with lock () in DEC cxx - iostream.hxx. - - * examples/threads/tss1.cpp: removed unused static "lock". - - * examples/IPC_SAP/TLI_SAP/ftp-server.cpp (read_file): convert - void *fd to long if ACE_HAS_64BIT_LONGS. And, put "n" in - ACE_UNUSED_ARG. (main): put "return 0" in ACE_NOTREACHED. - - * include/makeinclude/platform_osf1_4.0.GNU: minor cleanup, incl. - addition of -use_ld_input to SOFLAGS. - - * include/makeinclude/platform_osf1_4.0_g++.GNU: added "c" to - ARFLAGS. - - * tests/Future_Test.cpp,examples/Threads/future[12].cpp - (Method_Object_Name): removed extraneous ";" after function - definition. - - * netsvcs/lib/Base_Optimizer.h: adding missing, default "public" - access specifier. - - * apps/JAWS/Server/HTTP_Config.h: added "class" to friend HTTP_Config - declaration in HTTP_Config_Info. - - * examples/IPC_SAP/TLI_SAP/ftp-client.cpp: removed unused variable - "MAXLINE". - - * examples/IPC_SAP/TLI_SAP/db-server.cpp (main): wrapped "return 0" - with ACE_NOTREACHED. - - * examples/Reactor/Misc/test_timer_queue.cpp (handle_timeout): - convert void *arg to long if ACE_HAS_64BIT_LONGS. - - * examples/Service_Configurator/IPC-tests/client/ - local_fifo_client_test.cpp: removed unused variable BUF_LEN. - - * examples/Shared_Malloc/test_persistence.cpp: - removed unused Employee ostream << operator. - - * tests/Conn_Test.cpp: neutered Conn_Test on DEC_CXX. It - doesn't build on DEC cxx 5.5 due to apparent template - instantiation problems. Thanks to James Johnson for - reporting that. And it doesn't terminate when built with - DEC cxx (beta) 6.0. - - * ace/Thread_Manager.h: removed parens from (???) because - g++ got upset about encountering a trigraph. - - * tests/{Notify,Reactor}_Performance_Test.cpp: added - ACE_UNUSED_ARG (handle). - - * tests/Makefile,run_tests.sh: added Reactor_Performance_Test and - Notify_Performance_Test. - - * tests/run_tests.vxworks: added test status of - Reactor_Performance_Test (doesn't appear to do anything, - but doesn't return) and Notify_Performance_Test (fcntl - not supported). - -Wed Oct 15 01:48:36 1997 Nanbor Wang - - * ace/Containers.{h,i,cpp}: - * ace/Thread_Manager.{h,i,cpp}: Start modifying these files. - Will work on them for a day or two. You guys shouldn't worry - about these changes affecting anything because I surround my - changes with #ifdef (NANBOR_EXP_CHANGES) my changes #else - original codes #endif. More details change log will be added - once I get them all working. - -Tue Oct 14 23:54:21 1997 Douglas C. Schmidt - - * ACE version 4.3.18, released Tue Oct 14 23:54:21 1997. - -Tue Oct 14 20:27:28 1997 Carlos O'Ryan - - * tests/Priority_Reactor_Test.cpp: - Added a debug message to find out who terminates the reactor - thread. - - * tests/Priority_Reactor_Test.cpp: - The children could not connect sometimes, this will cause the - test to hang, waiting for those failed connections. - I added a simple exponential backoff strategy to retry - connections until they succeed. - -Tue Oct 14 17:48:28 1997 Steve Huston - - * ace/config-hpux-10.x-hpc++.h: Set ACE_LACKS_SIGNED_CHAR for - both C++ and aC++, not just C++. Thanks to Stephen Coy and - David Levine for finding this. - -Tue Oct 14 03:26:17 1997 Douglas C. Schmidt - - * ace/OS.h: Moved to earlier in the file so that - u_int will be defined. Thanks to Neil B. Cohen - for reporting this. - - * ace/OS.cpp (uname): Added a workaround for the fact that - Chorus doesn't support uname(). Thanks to Wei Chiang for - this fix. - -Tue Oct 14 08:02:20 1997 David L. Levine - - * ace/Managed_Object.{h,cpp} (ACE_Cleanup_Adapter): added virtual - destructor, needed by some compilers for vtable placement. - Thanks to Stephen Coy for this patch. - - * ace/Svc_Conf_y.cpp: commented out unused args and wrapped - assignments in "if" conditionals to avoid g++ warnings. - - * ace/Object_Manager.{h,cpp},Synch.{h,cpp}: moved - ACE_Static_Object_Lock from Synch.{h,cpp} to Object_Manager.{h,cpp}. - This allows it to be absorbed into the ACE_Object_Manager's - preallocated locks. The ACE_Static_Object_Lock interface - isn't really needed any more, but has been kept for backward - compatibility. - - * ace/Object_Manager.cpp: use a static ACE_Static_Object_Lock, - temporarily, because the ACE static services needs it. - - * ace/Malloc.cpp,Reactor.cpp,Service_Repository.cpp: added - #include "ace/Object_Manager.h" for ACE_Static_Object_Lock. - - * ace/Thread_Manager.h: moved ACE_Thread_Manager::THR_FUNC typedef - outside the class declaration to avoid compilation problems on - g++/VxWorks/i960 with -g. THR_FUNC is only used by protected - ACE_Thread_Manager methods so this doesn't widen the public - interface. Thanks to Aaron Valdivia for - reporting this and verifying the fix. - - * tests/IOStream_Test.cpp (client): multiply floats by 1.0 instead - of 1 to avoid bad code generation on g++/VxWorks/i960. Thanks to - Aaron Valdivia for reporting this. - - * tests/Buffer_Stream_Test.cpp: removed unused static thread_manager. - It caused core dump during destruction of static objects with - ACE_HAS_NONSTATIC_OBJECT_MANAGER. - - * examples/Timer_Queue/Reactor_Timer_Queue_Test.cpp (handle_timeout): - removed declaration of unused arg "tv". - - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp (main): - removed declarations of unused args "argc" and "argv". And, - updated template instantiations. - - * ace/OS.h: use "complex" ACE_UNUSED_ARG for DEC_CXX. - - * ace/Reactor.i (implementation): moved definition to top of - file to prevent use before definition. - - * ace/ARGV.cpp (ACE_ARGV): removed extraneous ; function definition. - - * ace/config-osf1-4.0.h: removed ACE_NEEDS_DEV_IO_CONVERSION. - - * tests/Time_Value_Test.cpp: ACE_HAS_64BIT_LONGS instead of - ACE_HAS_64BIT_LONG. - -Tue Oct 14 03:13:38 1997 Douglas C. Schmidt - - * ACE version 4.3.17, released Tue Oct 14 03:13:38 1997. - -Tue Oct 14 03:10:00 1997 Douglas C. Schmidt - - * ace/Service_Types.cpp (fini): Backed out the following change - until we figure out how to keep existing Svc_Handler code from - dying... Thanks to Nanbor for reporting this. - - * ace/Service_Types.cpp: Changed the implementation so that we - bypass the default cleanup originally done in - ACE_Service_Type_Impl::fini() and instead perform the cleanup in - ACE_Service_Object_Type::fini (void). Thanks to Alex Chan - for reporting this. - - * ace/Svc_Conf.y: Make sure that the Module has the same name as - the Module_Type object from the svc.conf file. We need to do - this because the Stream_Type::fini() method removes each module - by the name given in the configuration file (stored in the - Module_Type object). But the Stream::remove() method compares - this name against the name stored in the Module. So the object - is deleted, but never removed from the list. Another traversal - of the list causes a crash... Thanks to Eric Newton for - suggesting this fix. - - * ace/OS.cpp (invoke): Added call to AfxEndThread insides - ACE_TSS_Cleanup::exit() such that the same cleanup would not be - executed again when threads exit in ace_thread_adapter() in - OS.cpp. Thanks to Alex Chan for - reporting this. - - * ace/Service_Config.cpp (process_directives): Avoid reporting - lex/yacc leakage since there is nothing we could do about it. - Thanks to Alex Chan for reporting this. - - * ace/Svc_Conf.y: Removed duplicate call to symbol() to avoid the - problem that dynamic service objects are created twice. Thanks - to Alex Chan for reporting this. - - * examples/Reactor/FIFO/client.cpp (main): Fixed the call to - fifo_sender.send () so that it passes msg rather than &msg. - Thanks to Sandro Doro for reporting this. - -Tue Oct 14 02:49:02 1997 - - * tests/Notify_Performance_Test.cpp: New performance test. This - test is used to time the notification mechanisms of the - ACE_Reactors. Both the WFMO_Reactor and Select_Reactor can be - tested. The notify() mechanism can also be tested with or - without data. - - * tests/Reactor_Performance_Test.cpp: New performance test. This - test is used to time the dispatching mechanisms of the - ACE_Reactors. Both the WFMO_Reactor and Select_Reactor can be - tested. - - * ace/Svc_Handler.cpp (shutdown): Change READ_MASK | WRITE_MASK to - ALL_EVENTS_MASK. - - * ace/Atomic_Op (value): Added an explicit value accessor. - -Mon Oct 13 23:07:15 1997 Douglas C. Schmidt - - * tests/Process_Strategy_Test.cpp (handle_signal): Removed the - ACE_DEBUG calls in the child reader signal handler. This was - causing all sorts of random problems due to the asynchronous - nature of signals. Thanks to David Levine for pointing this - out. - -Mon Oct 13 16:27:46 1997 Carlos O'Ryan - - * tests/Priority_Reactor_Test.h: - * tests/Priority_Reactor_Test.cpp: - Fixed wrong header file, thanks to Irfan (irfan@cs.wustl.edu) - - * examples/Shared_Malloc/test_persistence.cpp: - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: - Added a couple of ACE_NOTREACHED, thanks to Torbjorn Lindgren - for pointing out this one. - - * ace/Priority_Reactor.cpp: - Added some more template specializations. - - * tests/Priority_Reactor_Test.cpp: - Fixed a number of bugs: hostname not initialized when creating - the server address. - The Svc_Handler base class should be instantiated using the - ACE_*_STREAM macros. - The code for non-threaded platforms was broken. - Thanks to Irfan - - * tests/Priority_Task_Test.cpp: - We use the new ACE_Sched_Priority_Iterator. - - * include/makeinclude/platform_irix6.x-32_sgic++.GNU: - * include/makeinclude/platform_irix6.x-n32_sgic++.GNU: - Removed this old config files, they have been superseeded by - platform_irix6.x_sgic++.GNU. - -Mon Oct 13 15:41:32 1997 Steve Huston - - * ace/Select_Reactor.i, Priority_Reactor.i: Moved code for the - ACE_Event_Tuple struct from Priority_Reactor.i to Select_Reactor.i. - - * ace/Priority_Reactor.cpp: added #include Malloc_T.h to build on AIX. - - * ace/Synch_T.h, Timer_Queue_Adapters.h - added a template argument - to the non-ACE_HAS_TEMPLATE_TYPEDEFS, multi-threaded version of - the ACE_SYNCH_CONDITION macro - of the 3 possibilities for its - definition, this is the only case which requires a template - argument. Timer_Queue_Adapters.h is the only user of the definition, - and it was changed to not supply the template argument. - - * tests/Conn_Test.h: - * tests/Process_Strategy_Test.h: Added #include "ace/SOCK_Stream.h" - -Mon Oct 13 13:42:05 1997 Nanbor Wang - - * examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp (svc): - Added a macro to define L_cuserid on Win32. - -Mon Oct 13 13:44:40 1997 - - * ace/Priority_Reactor: Fixed a gross violation of ACE coding - standard. Changed bucket to bucket_. - -Mon Oct 13 12:58:01 1997 David L. Levine - - * ace/OS.i: moved ACE_OS::strcasecmp () definition after - ACE_OS::strlen () to prevent use before definition. - - * ace/Priority_Reactor.i: reordered initializers to match - declaration order. - - * ace/Sched_Params.i: reordered function definitions to prevent - uses before definitions. - - * ace/Thread_Manager.cpp (ACE_Thread_Descriptor ctor): reordered - initializers to match declaration order. (spawn_i): added - ACE_UNUSED_ARG (t_handle) without WTHREADS. - - * ace/Thread_Manager.cpp (wait): moved all of the "join" block - inside the #ifndef VXWORKS so that it compiles on VxWorks. - - * ace/Strategies_T.cpp (ACE_NOOP_Creation_Strategy:: - make_svc_handler): removed unused arg declaration to avoid - compiler warning. - - * ace/Svc_Conf_y.cpp: commented out unused args and wrapped - assignments in "if" conditionals to avoid g++ warnings. - - * tests/Priority_Reactor_Test.cpp (handle_input): added - ACE_UNUSED_ARG (h). - - * examples/Connection/non_blocking/CPP-connector.cpp (handle_signal): - added ACE_UNUSED_ARG (signum). - -Mon Oct 13 03:25:45 1997 Douglas C. Schmidt - - * ACE version 4.3.16, released Mon Oct 13 03:25:45 1997. - -Mon Oct 13 03:18:33 1997 Douglas C. Schmidt - - * ace/Thread_Manager.h: Removed the following code from - ACE_Thread_Control: - - #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) - static ACE_Thread_Mutex ace_thread_lock_; - // Lock the creation of the Singleton. - #endif /* defined (ACE_MT_SAFE) */ - - What on earth was this doing here?! Thanks to Stephen Coy - for reporting this. - -Mon Oct 13 00:10:00 1997 - - * tests/Atomic_Op_Test.cpp (main): Changed "foo == 5L" to - "foo.operator== (5L)" because the former was breaking some - compilers (e.g., HP/UX aCC). - - * ace/Connector.h (open): Removed the defaults arguments since - some compilers complain about the two open()s being - indistinguishable. - -Sun Oct 12 23:51:57 1997 Douglas C. Schmidt - - * ace/{Synch_T,Atomic_Op}: All the relational operators should - return int (really return bool) rather than TYPE. - -Sun Oct 12 18:41:01 1997 Carlos O'Ryan - - * tests/Priority_Reactor_Test.cpp: - Added several missing template specializations. - - * ace/Priority_Reactor.cpp: - Fixed typo (#pragme for #pragma). - Added several missing template instantiation. - - * ace/Timer_Queue_Adapters.cpp: - The includes were missing and there was a minor syntax error. - -Sun Oct 12 16:16:15 1997 Nanbor Wang - - * ace/ace_{dll,lib}.dsp: Added Timer_Queue_Adapters.cpp into - project files. - - * tests: Added a new test Priority_Reactor_Test. - - * ace/Timer_Queue_Adapters.{h,i}: Added or moved the line that - instructs edit mode to use on emace to the first line. Also - added ACE_Export to classes in this file. - - * ace/Timer_Queue_Adapters.cpp: Added proper inclusion of the - header file. Corrected a syntax error. - - * examples/Timer_Queue/Timer_Queue.dsw: Added a new project - Thread_Timer_Queue_Test.dsp. - - * tests/run_tests.{bat,sh}: Added MT_SOCK_Test and - Priority_Reactor_Test into one-buttoned test set. - -Sun Oct 12 16:53:32 1997 Douglas C. Schmidt - - * ace/examples/Service_Configurator/IPC-tests/server: Reformatted - and recommented the code a bit. - - * ace/OS: Added 3 new ACE #defines: - - #define ACE_ONE_SECOND_IN_MSECS 1000L - #define ACE_ONE_SECOND_IN_USECS 1000000L - #define ACE_ONE_SECOND_IN_NSECS 1000000000L - - This is much easier to read than trying to keep track of the - 000s! Then, replaced all uses of the original values with the - new symbolic constants. - - * ace/Timer_List.cpp: Removed an explicit template instantiation - of ACE_Async_Timer_Queue_Adapter<>. Why was it here in the - first place? - - * ace: Created a new group of Timer_Queue_Adapters files and moved - the Async and Thread adapters into this file. This reduces the - amount of coupling in the ACE library and removes problems with - circular includes. - - * ace/Timer_Queue_T: Added a new ACE_Thread_Timer_Queue_Adapter, - which makes it possible to use a timer queue in a thread - automagically. Thanks to Carlos O'Ryan for writing this. - - * examples/Timer_Queue: Began to integrate Carlo's new thread - timer queue test. - - * examples/Timer_Queue/Async_Timer_Queue_Test.cpp: Changed the - timer queue from a Timer_List to a Timer_Heap. - - * examples/Makefile (DIRS): Added Timer_Queue to the list of DIRS - to build. - -Sun Oct 12 16:45:47 1997 Carlos O'Ryan - - * ace/Sched_Params.h: - Added some comments. - - * examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: - Added some comments and template specializations. - - * examples/Naming/Makefile: - There is no need to set LDLIBS to add local object files - anymore, using FILES is enough. - -Sun Oct 12 03:35:37 1997 Nanbor Wang - - * examples/Timer_Queue: Added a new directory for testing of - various usages of timer queue. - - * tests/Async_Timer_Queue_Test: Moved to examples/Timer_Queue. - It doesn't really belong to tests/ directory. - - * ace/ACE.cpp (register_stdin_handler): Must register the reactor - we are using to the event handler. - (read_adapter): Must notify the reactor when we are done with - handling stdin event. - -Sun Oct 12 00:26:56 1997 Carlos O'Ryan - - * ace/Makefile: - * ace/Priority_Reactor.h: - * ace/Priority_Reactor.i: - * ace/Priority_Reactor.cpp: - Augmentes Select_Reactor, adding priority based dispatching for - the I/O Event_Handlers, the only feature supported is - dispatching in the order defined by the priorities. - Each Event_Handler defines its priority, if the priority is out - of range the culprit is "punished" by dispatching at the lowest - priority. - Care has been exercised to avoid dynamic memory allocation. - - * tests/Makefile: - * tests/Priority_Reactor_Test.h: - * tests/Priority_Reactor_Test.cpp: - Added small tests of the Priority_Reactor, the test runs an - Acceptor on the main thread and creates several threads (or - processes if the plaform does not support threads) that connect - to this Acceptor. The writing threads send several short - messages, the main thread receives them using one Svc_Handler - per writer, dispatched at different priorities. - The test itself is interesting, it shows how to write very - simple Svc_Handler, Connectors and Acceptors. - - * ace/Select_Reactor.h: - * ace/Select_Reactor.cpp: - The dispatching of all the handles in a "group" (READ, WRITE or - EXCEPT) was encapsulated in a single routine. - - * ace/Malloc_T.cpp: - In the Cached_Allocator memory was allocated as an arrays of - char, it must be released the same way. - - * ace/Sched_Params.h: - * ace/Sched_Params.i: - Added a new class (ACE_Sched_Priority_Iterator) to iterate over - the priorities. - - * tests/Priority_Task_Test.cpp: - Added some comments. - -Sat Oct 10 16:23:49 1997 Steve Huston - - * tests/SOCK_Connector_Test.cpp: Passes the test if the should-fail - non-blocking test fails for any reason - not limited to ECONNREFUSED - or ENOTCONN. - -Sat Oct 11 16:02:33 1997 Douglas C. Schmidt - - * ACE version 4.3.15, released Sat Oct 11 16:02:33 1997. - -Sat Oct 11 14:38:16 1997 Douglas C. Schmidt - - * ace/SOCK_Connector.cpp (complete): Fixed a typo with - ACE_NON_BLOCKING_BUG_DELAY. Thanks to John Zeb Dhom" - for reporting this. - - * tests/MT_SOCK_Test.cpp (client): Slightly revised the client - function so that it doesn't try to use non-blocking connects if - it's on a Win32 platform that has bugs with non-blocking - connects. - - * ace/SOCK_Connector.cpp: It appears that connect() can set the - ETIMEDOUT errno if the connection times out (whatever that - means). Therefore, I need to check for that errno, rather than - ETIME after calling connect(). - - * tests/SOCK_Connector_Test.cpp: Added a check for ETIMEDOUT - since this appears to be set by some platforms (e.g., - SGI). - -Sat Oct 11 02:52:10 1997 Douglas C. Schmidt - - * ACE version 4.3.14, released Sat Oct 11 02:52:10 1997. - -Sat Oct 11 02:10:29 1997 Carlos O'Ryan - - * examples/Logger/simple-server/Makefile: - * examples/Mem_Map/IO-tests/Makefile: - * examples/Reactor/Multicast/Makefile: - * examples/Service_Configurator/Misc/Makefile: - Fixed some more problems with the Makefiles for binaries; I took - the chance and added RCS ids on the Makefiles - -Fri Oct 10 18:39:39 1997 Douglas C. Schmidt - - * tests/Service_Config_Test.cpp: Moved the static member function - called cleanup() out into a stand-alone extern "C" function - called test_singleton_cleanup() to workaround MVS C++ compiler - bugs. Thanks to Chuck Gehr for reporting this. - - * ace/Task.cpp: Solved the age old MVS C++ problem where we can't - register C++ static member functions as C callback functions. - The solution here was to create a C wrapper to do the callback. - Thanks to Chuck Gehr for reporting this. - - * tests/Service_Config_Test.cpp: Made the destructor of - Test_Singleton public to work around bugs with the MVS C++ - compiler. Thanks to Chuck Gehr for reporting this. - - * ace/ACE, - ace/Proactor, - ace/SOCK_Connector, - ace/SPIPE_Connector, - ace/Acceptor, - tests/Conn_Test: Changed ETIMEDOUT errno to ETIME errno to be - consistent throughout ACE. There should be no uses of - ETIMEDOUT in ACE or the test apps and examples. - - * ace/ACE.cpp (handle_timed_complete): Only assume that we've - timed out if the return value from select() == 0 *and* the - timeout value isn't NULL... - - * ace/Object_Manager.h: Replaced the use of ACE_MT() in the header - file with a #ifdef. This solves problems that arise when ACE_MT - is defined as "nothing" when MT_SAFE is not defined. As a code - which has "ACE_MT();" becomes just ";" and fail to compile. - Thanks to Avraham Nash for reporting - this. - -Fri Oct 10 19:55:50 1997 Carlos O'Ryan - - * examples/ASX/CCM_App/Makefile: - * include/makeinclude/rules.bin.GNU: - I have re-applied Steve Huston changes from Oct 01, the change - was (IMHO) useful and made compilation cleaner. - - * examples/ASX/Event_Server/Event_Server/Makefile: - Fixed problem that made compilation fail. - -Fri Oct 10 19:52:44 1997 - - * ace/OS.h: - * ace/Connector.cpp: - * ace/SOCK_Connector.cpp: Added new #define - ACE_NON_BLOCKING_BUG_DELAY and replace their uses from some - magic numbers to this constant. - -Fri Oct 10 19:27:28 1997 Steve Huston - - * include/makeinclude/rules.bin.GNU - examples/ASX/CCM_App/Makefile - Removed the changes to these files added Oct 01. - -Fri Oct 10 15:21:07 1997 - - * examples/Connection/non_blocking/CPP-connector.cpp - (disconnecting): Remove this method. It was not being used. Also - rewrote some parts of handle_close to make the code simple. - - * ace/Connector.cpp (create_AST): The register_handler() method - now needs to explicitly be given the handle to wait on. This is - because the get_handle() method of Connector has been - depricated. - - * examples/Connection/non_blocking/test_sock_connector.cpp (main): - Since this test waits on the STDIN handle to become ready, we - have to make sure that the WFMO_Reactor is used on Win32. This - is necessary since select() on NT does not support waiting on - STDIN. - - * examples/Connection/non_blocking/CPP-connector.cpp (open): On - Win32, the std handle must be registered directly (and not as a - socket). On non-Win32, the std handle must be registered as a - normal handle with the READ mask. Since on Win32, STDIN is used - directly as an waitable handle, handle_signal will be called - instead of handle_input. Therefore, we had to add handle_signal - to the event_handler. - -Fri Oct 10 15:16:47 1997 Nanbor Wang - - * ace/WFMO_Reactor.{h,cpp}: - * ace/Select_Reactor.{h,cpp}: - * ace/Reactor_Impl.h: - * ace/Reactor.h: Added 2 new functions in ACE_Reactor class so we - can replace the signal handler and timer queue the reactor is - using. Notice that you should do this before you start the - reactor, otherwise, you may loose your scheduled timed events. - -Fri Oct 10 14:49:40 1997 Douglas C. Schmidt - - * bin/man2html: Added a new set rul -e 's/^$/

/g', which - correctly preserves paragraph boundaries. Regenerated all of - the ACE html documentation so that it is much better formatted. - -Fri Oct 10 11:08:02 1997 Carlos O'Ryan - - * tests/run_tests.sh: - We remove the log file before running a test, we also check for - the log file existance before running run_test.check on - it. Thanks to Dean Clamons for - helping us with this. - - * tests/run_tests.check: - IRIX egrep does not support -q, we redirect the output the - /dev/null instead. - -Fri Oct 10 01:46:07 1997 Douglas C. Schmidt - - * ACE version 4.3.13, released Fri Oct 10 01:46:07 1997. - -Thu Oct 9 22:23:56 1997 Douglas C. Schmidt - - * ace/Thread_Manager.cpp: Moved the explicit template - instantiations for ACE_Unbounded_Queue out of the complicated - #ifdef since we also want this to compile even if we don't have - threads. - - * tests/MT_SOCK_Test.cpp: Revised the code so that it uses - processes on UNIX rather than threads. - - * tests/SOCK_Test.cpp (spawn): Cleaned up the code to make it - correct. - - * ace/Get_Opt.cpp (ACE_Get_Opt): Changed the third argument to the - ACE_Get_Opt constructor be changed from `char *' to `const char - *'. Thanks to Eric Newton for suggesting this. - -Thu Oct 09 18:43:14 1997 - - * ace/Strategies_T.cpp (connect_svc_handler): Added - synchronization to the method as the setting of the in_use bit - in the service handler must be done atomically with the finding - and binding of the service handler in the cache. - - * tests/Conn_Test.cpp (client_connections): Added multithreading - to the test in order to test out the new MT features of the - Connector. - - * ace/OS.cpp (invoke): Somehow there was a bug introduced in - ACE_Thread_Adapter::invoke where the user entry point was being - called twice! - -Thu Oct 09 17:54:31 1997 Douglas C. Schmidt - - * ACE version 4.3.12, released Thu Oct 09 17:54:31 1997. - -Thu Oct 9 17:46:59 1997 Carlos O'Ryan - - * ace/Thread_Manager.cpp: - Added explicit instantiation of - ACE_Unbounded_Queue_Iterator, it seems to - be needed on Linux and other platforms; thanks to Huiying Shen - for pointing out this one. - - * ace/OS.h: - * ace/OS.i: - Reverted the change that added support for - pthread_setconcurrency on IRIX, the function was supposed to be - undocumented, but present on the libraries, I could not find it - in any of the SGI machines we have access to.; not even - - * ace/Thread_Manager.cpp: - On IRIX/SGIC++ we need to instantiate ACE_Node too. - - * ace/SOCK.h: - Moved the open() method to the public interface, it is used by - ACE_SOCK_Connector. - -Wed Oct 8 20:01:35 1997 Douglas C. Schmidt - - * ace/SOCK_Connector: Modified the ACE_SOCK_Connector so that it - doesn't maintain state and doesn't inherit from ACE_SOCK. - Therefore, we can have multiple threads using the same - ACE_SOCK_Connector simultaneously without any reentrancy - problems. - - * ace/SOCK.h: Moved the open() method into the public part of the - class so it can be used in ACE_SOCK_Connector::connect(). - - * ace/Connector.h: Removed the this->connector_ from the - ACE_Connector class in order to make this pattern work correctly - with multi-threaded programs. Also removed the connector() - accessor (which was never useful anyway). - - * ace/SOCK.cpp (open): Explicitly test setsockopt() for -1 in case - of failure. - - * tests/SOCK_Test.cpp (server): Revised this test to reflect the - fact that it doesn't iterate, but only runs one client and one - server. - - * tests: Added a new test for multi-threaded sockets called - MT_SOCK_Test.cpp. Thanks to Bob Laferriere - for motivating this test. - -Wed Oct 8 12:09:46 1997 Nanbor Wang - - * ace/OS.i (strcasecmp): Oops, we forgot to compare the strlen - first. Thanks to Murphy Ivan for - fixing the bug. - - * ace/OS.h: Added THR_DAEMON macro definition for Win32 (et. al.?) - to avoid compilation error. - Removed ACE_HAS_BROKEN_TEMPLATE_DESTRUCTOR and related macros. - -Wed Oct 8 09:52:20 1997 Carlos O'Ryan - - * ace/Parse_Node.cpp: - Fixed the minor syntax error *again*. - -Tue Oct 7 17:10:51 1997 Carlos O'Ryan - - * ace/Token_Manager.cpp: - Added a defined(ACE_MT_SAFE) protection around the lock creation - on ACE_Token_Manager::instance(), otherwise it would not work on - platforms without threads. Thanks to "Neil B. Cohen" - for pointing this one out. - -Tue Oct 7 07:07:45 1997 Douglas C. Schmidt - - * ace/Parse_Node.cpp (symbol): Added an ACE_ERROR_RETURN instead - of an ACE_RETURN to bail out if an error occurs. Thanks to Eric - Newton for reporting this. - -Tue Oct 7 10:57:48 1997 Carlos O'Ryan - - * ace/OS.h: - Added a prototype for pthread_setconcurrency when - ACE_HAS_IRIX62_THREADS is defined. This function is undocumented - but was needed by some users. - - * ace/Parse_Node.cpp: - Fixed a minor syntax error. - -Tue Oct 07 06:58:40 1997 Douglas C. Schmidt - - * ACE version 4.3.11, released Tue Oct 07 06:58:40 1997. - -Tue Oct 7 02:51:55 1997 Nanbor Wang - - * tests/TSS_Test.cpp (main): - * tests/Task_Test.cpp (main): - * tests/Barrier_Test.cpp (main): Removed thread_handles[] since we - don't need to join the thread explicitly anymore. - - * ace/Thread_Manager.{h,cpp}: Added an ACE_Unbounded_Quque to - collect terminated threads so that we can later join the threads - automatically by issuing a ACE_Thread_Manager::wait(). Some - typos are also fixed. Next step will be to replace current - thr_table_ with a hash table and store an index to this table - in TSS. - -Mon Oct 6 22:16:45 1997 Douglas C. Schmidt - - * ace/Thread_Manager: Added a new task() method to - ACE_Thread_Manager that returns a pointer to the current - ACE_Task_Base we're executing in if this thread is indeed - running in an ACE_Task_Base, else return 0. Thanks to Ari Erev - and John Neystadt for suggesting this. - - * ace/Thread_Manager: Moved the task_ pointer from the public part - of the ACE_Thread_Descriptor class into the private part of the - class and added an inline accessor instead. - - * ace/{Parse_Node.{h,cpp},Svc_Conf.y}: Added support to enable - dynamically allocate objects from factory functions that have - been pre-registered with the Service Configurator instead of - relying on dynamic loading. The new config file syntax would be - (note the colons): - - dynamic joe Service_Object * : make_queue() active - dynamic bob Service_Object * : make_queue() active - - Functions are found in the list of statically defined functions - for static services. Thanks to Eric C. Newton - for this fix. - -Mon Oct 6 13:00:19 1997 Carlos O'Ryan - - * ace/CORBA_Handler.cpp: Removed the use of reactor_ in the .cpp - file too; we are using the ACE_Event_Handler reactor_ (which is - a base class). - -Sat Oct 04 17:40:30 1997 Douglas C. Schmidt - - * ACE version 4.3.10, released Sat Oct 04 17:40:30 1997. - -Sat Oct 4 11:57:25 1997 Douglas C. Schmidt - - * apps/Orbix-Examples/Event_Comm/{Supplier,Consumer}/Makefile: - Changed a typo where /src/ was being used instead of /libsrc/. - Thanks to Jean-Marc STRAUSS for reporting - this. - - * examples/Connection/non_blocking/CPP-connector.cpp (init): - Removed the initialization of the local address. This is - error-prone and confusing to use. Thanks to Huiying Shen - for reporting this. - - * ace/SV_Semaphore_Simple: Added support for IPC_EXCL in order to - determine, upon creating the semaphore, if it already exists - (which means a bad key was selected), another daemon is still - running or the previous daemon didn't remove its resources. I - have this implemented now by first opening the semaphore and if - that fails then creating it. To support this, added another - enum, ACE_EXCL = IPC_EXCL, to the class header. - Also, changed the ACE_SV_Semaphore_Simple::open( key_t, ... ) - method to use - - if (ACE_BIT_ENABLED (flags, IPC_CREAT)) - - rather than - - if (flags == IPC_CREAT) - - Thanks to Michael McKnight for - reporting this. - - * ace: Replaced all uses of the template param LOCK with ACE_LOCK - to avoid conflicts with some systems that have a macro named - LOCK. - - * ace/IOStream_T.h: Added ACE_LACKS_ACE_IOSTREAM to the - IOStream_T.* files. Thanks to Torbjorn Lindgren - for reporting this. - - * ace/{Proactor,Service_Config,ACE_Sig_Handler}: Removed the use - of sig_atomic_t as a return type. Thanks to Torbjorn Lindgren - for reporting this. - -Sat Oct 04 03:14:46 1997 - - * ace/WFMO_Reactor.cpp (add_network_events_i): While looking - through all entries in the current (and suspended) handles for a - matching handle, we need to skip those that have been scheduled - for deletion). Also changed ACE_BIT_STRICTLY_ENABLED to - ACE_BIT_ENABLED. - - * ace/Select_Reactor.cpp (bit_ops): Since CONNECT is no longer a - logical OR of READ and WRITE, we have to explicitly make sure - that enable the handle in the correct wait sets. - - * ace/Event_Handler.h: Changed the values of the event - masks. CONNECT is no longer a logical OR of READ and WRITE. It - was its own unique value. - - * ace/OS.h: Removed ACE_BIT_STRICTLY_ENABLED. It did not do what I - thought it would do. - - * ace/Connector.cpp (handle_output): Added code that tries to find - out if the reactor uses event associations for the handles it - waits on. If so we need to reset it. This is necessary for - asynchronous connects. - - * ace/SOCK_Connector.i (reset_new_handle): Added new method on all - connectors to reset event associations of handles. - -Fri Oct 03 21:20:26 1997 David L. Levine - - * ace/Makefile: disable INSTALL in $(ACE_ROOT)/ace Makefile, - because it's not needed and it creates circular symlinks when - the library build fails. - -Fri Oct 3 11:39:45 1997 Douglas C. Schmidt - - * ace/Thread_Manager: Added a new flags_ field to - ACE_Thread_Descriptor and changed the insert_thr() and - append_thr() methods to update this flag so that we can keep - track of whether the thread was created "detached" or not. - - * ace/Reactor.cpp (event_loop_done): Replaced the use of - sig_atomic_t with int to workaround bugs with KAI C++. Thanks - to Torbjorn Lindgren for reporting this. - - * ace/CORBA_Handler: Removed the reactor() accessors since they - are subsumed by the methods in ACE_Event_Handler. Thanks to - Jean-Marc STRAUSS for reporting this. - -Thu Oct 02 15:38:34 1997 - - * Reactor: Renamed reset_new_handle to uses_event_associations. - - * ace/FIFO_Recv.cpp (ACE_FIFO_Recv): aux_handle_ must correctly be - initialized to ACE_INVALID_HANDLE. Thanks to Sandro Doro - for reporting this. - -Thu Oct 02 11:21:37 1997 Steve Huston - - * include/makeinclude/platform_{aix aix4.2}.GNU: added the - shared_libs_only = 0 and static_libs = 1 settings since C Set++ - builds the shared libs from the static. - - * ace/OS.h: Removed spaces around '##' in ACE_DES_FREE_TEMPLATE macro. - - * ace/Strategies_T.cpp: added #include "ace/Thread_Manager.h" - - * ace/Managed_Object.h: Added template arg in the "unimplemented - function" section. - -Thu Oct 02 10:46:18 1997 Steve Huston - - * ace/Malloc.h: added some comments on rationale and use of - ACE_MALLOC_ALIGN. - -Wed Oct 01 19:08:26 1997 Steve Huston - - * include/makeinclude/rules.bin.GNU: correctly builds programs - with multiple object modules. - - * examples/ASX/CCM_App/Makefile: needed some adjustment to work with - new rules.bin.GNU, above. - -Wed Oct 01 14:11:03 1997 - - * ace/Remote_Name_Space.cpp (resolve): We need to allocate one more - space than what strlen reports. - -Wed Oct 01 12:45:51 1997 David L. Levine - - * ace/ACE.cpp (count_interfaces, get_handle): changed "unix" to - "__unix" because DEC CXX doesn't #define "unix". Thanks to - Billy Quinn for reporting this. - - * ace/High_Res_Timer.h: added comment from Gabe - about ACE_OS::gethrtime () drift on MP - machines. - - * ace/OS.i (gethrtime, Solaris only): removed ACE_OSCALL_RETURN - wrapper around ::gethrtime () because it was broken (the type - was int) and not necessary (::gethrtime () should never fail), - so we can remove its overhead. - - * tests/Time_Value_Test.cpp: undef ACE_NO_INLINE in the - ACE_U_LongLong test hacks. - - * tests/SV_Shared_Memory_Test.cpp: delay construction of allocator - until first needed because it needs something that the - ACE_Object_Manager constructs. - - * tests/run_tests.vxworks: added console printout before each test. - -Tue Sep 30 21:42:58 1997 Douglas C. Schmidt - - * ACE version 4.3.9, released Tue Sep 30 21:42:58 1997. - -Tue Sep 30 17:15:14 1997 James C Hu - - * ace/Filecache.{h,cpp}: I removed the static locks in the - Filecache and made them local member objects. Since Filecache - is usually a singleton, no more memory is required this way. - - * tests/Hash_Map_Manager_Test.cpp: Added some code to test the - Hash_Map_Manager_Iterator. This is to show Bob Laferriere that - it works. - -Tue Sep 30 13:41:14 1997 Nanbor Wang - - * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i - (handle_input): - * examples/Reactor/ReactorEx/test_network_events.cpp (handle_input): - * examples/Logger/simple-server/Logging_Acceptor.cpp - (handle_input): Changed to use reset_new_handle () for querying - whether we need to reset handles or not. - -Tue Sep 30 08:35:15 1997 David L. Levine - - * ace/Atomic_Op.i: added CVS header. - - * ace/Object_Manager.{h,cpp}: removed Filecache arrays, because - Filecache no longer needs them. - - * ace/Filecache.{h,cpp}: removed unused static Filecache::lock_. - - * tests/test_config.h: Added 1 second sleep to ACE_END_TEST to - allow all threads to terminate gracefully. - VxWorks only: removed the hack removal of the log file, because - it no longer appears to be necessary. - - * tests/TSS_Test_Errno.h,TSS_Test.cpp: dynamically allocate - Errno::lock_ to try to avoid problem with cleanup of statics - on VxWorks. It doesn't solve the problem, all of the time. - There are still statics in the ACE library, which could be - causing it. - -Tue Sep 30 01:35:28 1997 Nanbor Wang - - * ace/Naming_Context.cpp (close, close_down): Separated these two - functions calls. Close now only release the name_space_ - resource and close_down release all resources. Close should be - use when changing the name_space. - -Mon Sep 29 22:29:46 1997 Nanbor Wang - - * ace/Strategies_T.cpp (accept_svc_handler ): - * ace/Service_Manager.cpp (handle_input): - * ace/Acceptor.cpp (handle_input, accept_svc_handler): Changed to - use reset_new_handle () for querying whether we need to reset - handles or not. - - * ace/Reactor.{h,i} (reset_new_handle): - * ace/Reactor_Impl.h (reset_new_handle): - * ace/Select_Reactor.{h,i} (reset_new_handle): - * ace/WFMO_Reactor.{h,i} (reset_new_handle): Added this new method - so we can determine whether the implementation of the reactor - requires us to decouple the event a handle inherit from accept. - This scheme doesn't depend on the RTTI support of compilers. - Thanks to Irfan for the tips. - -Mon Sep 29 21:28:02 1997 - - * ace/Synch (ACE_Recursive_Thread_Mutex): Methods were added to - ACE_Recursive_Thread_Mutex so that it has a consistent interface - with other locking mechanisms. Thanks to Phil Logan - for submitting these changes. - -Mon Sep 29 13:28:05 1997 David L. Levine - - * ace/OS.i (thr_setconcurrency): added support on Irix 6.x, using - its ::pthread_setconcurrency (). Thanks to Felix Popp - for letting us know - about this Irix 6.2/3 system function, and for testing it out. - - * ace/ACE.cpp (handle_timed_complete) force recv check on VxWorks - because its read handle is always not set. Thanks to Steve for - helping track down the problem. We might want to consider doing - it this way on Unix platforms, as well, according to Steve. - - * apps/JAWS/server/HTTP_Server_T.cpp (accept): fixed typo, - "remote_address" instead of "remote_adrress". - - * tests/Time_Value_Test.cpp (test_ace_u_longlong): replaced - ACE_ASSERTs with calls to a static function that prints out - why the test failed. Also, disabled test of ACE_U_LongLong - if ACE_HAS_64BIT_LONG. - - * ace/OS.h: 1) Use u_long for ACE_hrtime_t if ACE_HAS_64BIT_LONGS. - 2) Added ACE_NO_INLINE support to allow wrapper_macros.GNU to - disable inlining from the command line. 3) Added - ACE_HAS_VERBOSE_NOTSUP support. - - * include/makeinclude/wrapper_macros.GNU: added "inline" flag to - allow enabling/disabling of inlining from the command line or - platform_macros.GNU. - - * ace/config-vxworks*.h: added ACE_HAS_VERBOSE_NOTSUP. - -Mon Sep 29 11:15:10 1997 Nanbor Wang - - * ace/OS.h (ace_cleanup_destroyer): Made this an export function. - -Sat Sep 27 17:04:48 1997 - - * ace/Reactor: Added new methods to be able to set and get the - implementation class being used by the reactor. The set method - is protected and should be used with care, specially while - changing the implementation class midway through an - application. Also both the methods are virtual, and user can - subclass to change their behavior. The internal code of the - reactor also changed to now use these methods exclusively rather - than the the raw data variables. - - * ace/Acceptor.cpp (handle_input): When using the WFMO_Reactor, we - need to reset the event association for the newly created - handle. This is because the newly created handle will inherit - the properties of the listen handle, including its event - associations. Therefore two changes were made: - - - A new directive (flag) was added to all the acceptors - (LSOCK_Acceptor, SOCK_Acceptor, SPIPE_Acceptor, TLI_Acceptor, - and UPIPE_Acceptor) to reset the event associations of the - newly created handle. Currently only the SOCK_Acceptor pays - attentions to this directive, others just ignore it. This flag - had to be added to all the acceptors for interface - compatibility and also to make sure that the Acceptor template - code works correctly. - - - A dynamic_cast was necessary to determine at run-time which - implementation of the Reactor we are using. But because this - code is limited to Win32, there should be no problems doing - the dynamic_cast. - - The same thing as above needed to be done to: - - - ACE_Accept_Strategy::accept_svc_handler (ace/Strategies_T.cpp) - - - ACE_Service_Manager::handle_input (ace/Service_Manager.cpp) - - - LOCK_SOCK_Acceptor::accept (apps/JAWS/server/HTTP_Server_T.h) - - - Logging_Acceptor.cpp::handle_input (examples/Logger/simple-server/Logging_Acceptor.cpp) - - - Network_Listener::handle_input (examples/Reactor/ReactorEx/test_network_events.cpp) - - - Handle_R_Stream::handle_input (examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i) - -Sat Sep 27 20:03:29 1997 Carlos O'Ryan - - * include/makeinclude/platform_sunos5_sunc++_orbix.GNU: - Activated exceptions by default too, since they are used by - Orbix anyway. - - * include/makeinclude/platform_sunos5_sunc++.GNU: - Some libraries were missing and the locations were not - completely accurate. - - * ace/config-sunos5.5-sunc++-4.x-orbix.h: - I let the MT Orbix as the default, since that is the - configuration here and that was implicit in the platform*.GNU - files. - - * include/makeinclude/wrapper_macros.GNU: - Added flags to the IDL compiler to emit support for both - CORBA::Any (-A) and the BOAImpl (-B) approach for the server - side implementations. - - * ace/CORBA_Handler.cpp: - The full definition for Thread_Manager was missing, I added an - include for it. - -Sat Sep 27 07:59:18 1997 David L. Levine - - * include/makeinclude/wrapper_macros.GNU, - platform_{chorus,lynxos,vxworks*}.GNU: - default to building shared libs only, except on Chorus, - LynxOS, and VxWorks. While the "shared_libs_only=1" make - flag is still supported, it is no longer necessary because - it is the default. - - To revert to the prior behavior of building both shared and - static libraries, add "static_libs=1" to either your make - command invocation or your include/makeinclude/platform_macros.GNU. - -Sat Sep 27 00:45:10 1997 Nanbor Wang - - * examples/OS/Process/README (imore): - * examples/OS/Process/Makefile: - * examples/OS/Process/imore.cpp: Added a new example: imore. - - * ace/SOCK_Stream.cpp (close, close_reader, close_writer): Moved - invalid handlers checking from close to close_reader and - close_writer. - -Fri Sep 26 14:28:36 1997 Nanbor Wang - - * tests/SPIPE_Test.cpp: - * tests/Process_Strategy_Test: Changed the macro "ACE_LACKS_EXEC" - to "ACE_LACKS_FORK". - - * ace/SOCK_Stream.cpp (close): Added checking for invalid handle - before shutting down the write end. - -Fri Sep 26 11:55:27 1997 Steve Huston - - * ace/Malloc.h: Use signed math in the preprocessor calculations - for ACE_CONTROL_BLOCK_ALIGN_LONGS (and all of its contributing - factors). - - * ace/ACE.cpp: Fixed the TLI/BSD checks in handle_timed_complete. - - * tests/SOCK_Connector_Test.cpp: Added ENOTCONN as a valid fail - condition (in addition to ECONNREFUSED). - -Fri Sep 26 05:11:40 1997 Nanbor Wang - - * ace/SOCK_Acceptor.cpp (shared_accept): Made the newly added - WSAEventSelect code unreachable. It caused several test program - hung when performing socket recieving. Don't know why this is - happening. According to the online manual, this should be the - right thing to do. Some more Access Violations to be fix - tomorrow. Oh, I mean, today. - -Fri Sep 26 01:22:28 1997 Douglas C. Schmidt - - * ace/OS: Made a few changes to OS.h and OS.i to stop compiler - warnings. Thanks to Wei Chiang for - reporting this. - - * ace/config-chorus.h: Added ACE_LACKS_RLIMIT and removed - ACE_LACKS_SIGACTION. Thanks to Wei Chiang - for reporting this. - - * ace/TLI_Connector.cpp (complete): Changed the call to - ACE::handle_timed_complete() to use the new parameter. - - * ace/ACE: Added an extra parameter to the call to - ACE::handle_timed_complete() to indicate (at run-time) that this - is being called via a TLI interface. Thanks to the - ever-vigilant Steve Huston for suggesting this. - - * tests/SOCK_Connector_Test.cpp: "ACEified" the new test program. - -Thu Sep 25 23:27:38 1997 - - * ace/config-win32.h: Error in directives: it should be "Define - ACE_HAS_WINSOCK2 to 0 in your config.h file if you do *not* want - to compile with WinSock 2.0.". The typo was a 1 instead of the - 0. Thanks to Gonzalo A. Diethelm for pointing - this out. - -Thu Sep 25 20:33:09 1997 Douglas C. Schmidt - - * ace/Message_Queue.h: Changed the *_i() methods to be virtual so - that we can change the queueing mechanism by subclassing from - ACE_Message_Queue. Thanks to Eric Newton for - this suggestion. - - * ace/Timer_List_T.cpp (ACE_Timer_List_Iterator_T): Changed - listParam to timer_list to keep programming style consistent... - -Thu Sep 25 17:06:42 1997 Steve Huston - - * ace/OS.i - ACE_OS::cond_timedwait - HP's threads return - EAGAIN on timeout from pthread_cond_timedwait, so adjust that - to ETIME. - - * tests/SOCK_Connector_Test.cpp - will now try to find another - host to run the connect to. Won't try on Win32 or VxWorks - though. - -Thu Sep 25 15:25:53 1997 David L. Levine - - * ace/Object_Manager.cpp,OS.cpp: moved socket_init to Object_Manager - ctor and socket_fini to Object_Manager dtor, to be sure that - WinSock gets initialized early and closed late. - - * ace/SOCK.{h,cpp}: removed dummy_ static now that the - Object_Manager initializes WinSock. - - No, I'm not a Win32 wizard all of the sudden. Thanks to - Irfan and Nanbor for directing these changes. - - * tests/run_tests.vxworks: commented out tests that don't run - productively on VxWorks: SV_Shared_Memory_Test, - Reactor_Exceptions_Test, SPIPE_Test, and UPIPE_SAP_Test. - -Thu Sep 25 03:50:27 1997 - - * ace/OS.i (thr_getspecific): Must restore errno if no errors have - occured. - - * ace/Log_Msg.cpp (close): Must close the message queue *before* - destruction since there is no destructor for the queue. - - * netsvcs/lib/Client_Logging_Handler.cpp (fini): fini must close - and unregister the acceptor. Closing the socket is simply not - enough. - -Thu Sep 25 01:39:47 1997 Nanbor Wang - - * ace/Containers.{i,cpp}: Commented out all ACE_TRACE macros in - ACE_Unbounded_Queue so that they won't cause SIGSEGV when we - turn the tracing on. Unbounded_Queue is used in Object_Manager - which must be initialize before most of other objects. - -Wed Sep 24 23:37:19 1997 Nanbor Wang - - * ace/OS.i (thr_getspecific): On NT, added check whether - ::GetLastError() is NO_ERROR when ::TlsGetValue() return 0. - -Wed Sep 24 13:37:02 1997 - - * ace/config-win32-common.h (ACE_LACKS_FORK): Added in macro to - distinguish between ACE_LACKS_FORK and ACE_LACKS_EXEC. Also - updated config-chorus.h, config-vxworks-ghs-1.8.h, and - config-vxworks5.x-g++.h. - - * ace/OS.h (ACE_WIN32CALL_RETURN && ACE_WIN32CALL): Added new - macros to distinguish between Win32 calls that set GetLastError - and those that set errno. Also updated ACE_OSCALL_RETURN and - ACE_OSCALL such that they do not set errno to GetLastError. This - is because these calls automatically set errno. - - Updates OS.* files to reflect these changes. - - * ace/SOCK_Acceptor.cpp (shared_accept): Make sure to reset the - event association inherited by the new handle. - - * ace/WFMO_Reactor.i (unbind): Added a check for invalid handles - being passed in for removals. - -Wed Sep 24 10:34:29 1997 Carlos O'Ryan - - * ace/OS.h: - Under HP-UX and g++ must be included for dynamic loading, - not ; thanks to Warren Thompson (wthompson@altaira.com) - for helping us with this one. - -Wed Sep 24 09:36:21 1997 David L. Levine - - * ace/Managed_Object.{h,i},Object_Manager.{h,cpp}: removed - ACE_Managed_Object get_object () interface. It wasn't - used anywhere; it was originally intended to support preallocated - objects but turned out to not be necessary. I think that it would - be more useful to make it possible to instantiate - ACE_Managed_Object instead, and have it implicitly register - with the ACE_Object_Manager. - - * ace/Timer_List_T.cpp (ACE_Timer_List_Iterator_T): - changed name of "list" argument ot "listParam" to resolve name - conflict with STL. Thanks to Brian Mendel for reporting this. - - * tests/run_tests.check: print out filename with error messages. - -Tue Sep 23 17:11:44 1997 Carlos O'Ryan - - * ace/config-hpux-10.x-g++.h: - Added A ACE_LACKS_TIMESPEC_T, thanks to Warren Thompson - (wthompson@altaira.com) for this one. - - * include/makeinclude/platform_hpux_gcc.GNU: - Added a -D_REENTRANT define, to enable reentrant methods, thanks - to Warren Thompson (wthompson@altaira.com) and Steve Huston - (shuston@riverace.com) for pointing out this. - - * ace/config-hpux-10.x.h: - Added an small comment to clarify that DCE/threads must be - installed if threading is wanted, they are an optional product - for HP-UX. - -Tue Sep 23 10:13:57 1997 David L. Levine - - * ace/Select_Reactor.cpp: added #include of ace/Thread.h. - Thanks to Vladimir Schipunov for - reporting this. - - * ace/Object_Manager.cpp: added #include of ace/Malloc.h. - Thanks to Vladimir Schipunov for - reporting this. - - * ace/config-aix-4.1.x.h: added ACE_HAS_PTHREAD_T and - ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR #defines. - Thanks to Vladimir Schipunov for - reporting the build problem on AIX 4.1, and to - Torbjorn Lindgren for providing these fixes. - - * ace/Token_Manager.{h,cpp},Object_Manager.{h,cpp}: - preallocate ACE_Token_Manager creation lock. - - * ace/Object_Manager.cpp: use ACE_Cleanup_Adapter - for preallocated arrays. - -Mon Sep 22 16:51:44 1997 - - * ace/OS.i (open): Changed code so that (_O_CREAT | _O_TRUNC) - means CREATE_ALWAYS. Thanks to Dave Brackman - (dbrackma@OhioEE.com) for pointing this out. - -Mon Sep 22 11:01:28 1997 Steve Huston - - * tests/SOCK_Connector_Test.cpp, Makefile, run_tests.sh - added new - test to exercise ACE_SOCK_Connector focusing on fail conditions. - -Mon Sep 22 07:11:21 1997 David L. Levine - - * ace/Message_Block.cpp (clone): check this block's cont () - instead of the new block's cont_ when cloning the continuation - messages. Thanks to Eric Newton for tracking - down this problem with failing to clone continuation blocks, - and for providing the fix. - - * ace/OS.{h,i} (ACE_U_LongLong): added operator!=, and made args - const to ctor, operator/, hi, and lo member functions. - - * ace/Managed_Object.[hi]: renamed ACE_Managed_Cleanup to - ACE_Cleanup_Adapter because it doesn't implicitly register - itself with the ACE_Object_Manager. - - * ace/ACE.cpp: moved ACE_Object_Manager_Destroyer to - Object_Manager.cpp because the ACE_Object_Manager should - always be linked into executables now, even if libACE is - statically linked. - - * ace/Filecache.{h,cpp},Signal.{h,cpp} preallocate locks for - Filecache and Signal in ACE_Object_Manager. - - * ace/Object_Manager.{h,cpp}: 1) renamed ACE_Managed_Cleanup to - ACE_Cleanup_Adapter. 2) Moved ACE_Object_Manager_Destroyer from - ACE.cpp to Object_Manager.cpp. 3) Added Filecache and Signal locks. - - * ace/Singleton.*: removed instance (TYPE *) member function because - it wasn't being used. And, it allows us to store the contained - instance_ as an object instead of a pointer, saving a dynamic - memory allocation on construction. - - * include/makeinclude/platform_vxworks5.x_g++.GNU: added $(MUNCHED) - to PRELINK, to allow applications to add libraries or object - files to be munched. - - * ace/stdcpp.h: stdarg.h must be #included before stdio.h on LynxOS. - -Sat Sep 20 17:32:23 1997 David L. Levine - - * ace/Object_Manager.{h,cpp},Managed_Object.*, - CORBA_Handler.{h,cpp},Dump.{h,cpp},Log_Msg.cpp,OS.cpp - revised ACE_Object_Manager interface for preallocated objects. - - Also, added documentation of ACE_Object_Manager interface to - Object_Manager.h and Managed_Object.h. - - * ace/CORBA_Handler.cpp,Dump.cpp,OS.cpp: use ACE_MT with - preallocated locks. - - * include/makeinclude/platform_*.GNU,wrapper_macros.GNU: - moved -O out of wrapper_macros.GNU and into each platform - file's OC[C]FLAGS to support "optimize" make flag. - - I moved -O and similar compile flags out of CFLAGS and/or - CCFLAGS and into OCFLAGS and/or OCCFLAGS. This allows the - ACE make system to support the "optimize" flag. It operates - similar to the "debug" flag, i.e., you can set "optimize=1" - or "optimize=0" in your platform_macros.GNU file to enable - or disable optimization. You can use the same syntax to - get the same effect from the "make" command line, e.g., - "make optimize=1 debug=0". - - I added optimize=1 to platform_*.GNU files that had -O, etc., - in their C[C]FLAGS. Therefore, there should be no net effect - from this change on any platform. - - * include/makeinclude/wrapper_macros.GNU: - I _removed_ the disabling of "debug" when "optimize=1" is - enabled. This _will_ have a net effect: if you were relying - on "debug" to be disabled when you enabled "optimize=1", - you'll be surprised. The change supports platforms that - allow "debug" and "optimize" simultaneously. - - Because I had added the disabling of "debug" recently, - and because "optimize=1" wasn't supported well, if at all, - I'd be suprised if any is actually affected by this change. - -Sat Sep 20 11:47:14 1997 Carlos O'Ryan - - * ace/Timer_Queue_T.cpp: - Changed the return type to , to match its declaration. The - intent was to error error values, which are declared as - throughout ACE. - -Sat Sep 20 08:07:36 1997 David L. Levine - - * ace/OS.i (gethrtime): on Linux only, removed "volatile" qualifier - from declaration of local variable "now". I don't think that - it's necessary. It causes compilation failure with g++ because - the ACE_U_LongLong copy constructor won't take a volatile - argument. Thanks to Sandro Doro for - tracking down this problem. - - * tests/Time_Value_Test.cpp: reverted to test ACE_U_LongLong on - all platforms except WIN32. It works properly on Linux with - the removal of volatile from ACE_OS::gethrtime's "now". Thanks - to Sandro Doro for figuring this one - out. - -Fri Sep 19 18:49:50 1997 Carlos O'Ryan - - * ace/config-irix6.x-g++.h: - * include/makeinclude/platform_irix6.x_g++.GNU: - Added support for IRIX 6.x w/gcc, thanks to Celeste E. Copeland - (celeste@altaira.com) for this. - -Thu Sep 18 19:33:02 1997 Carlos O'Ryan - - * Douglas added the following changes while going through the - Async_Timer_Queue. - - * ace/Timer_Queue_T.h: Factored out the code for handling - ualarm(). - - * ace/Timer_Queue_T.cpp (handle_signal): Cleanedup the logic - for rescheduling a ualarm() after expiring a timer. - - * tests/Async_Timer_Queue_Test.cpp (signal_handler): Changed the - use of ACE_DEBUG to ACE_ERROR to ensure that the call doesn't - magically disappear if ACE_NDEBUG is enabled. - -Fri Sep 19 18:05:48 1997 Douglas C. Schmidt - - * ace/Log_Msg.cpp (log): Changed the send() to a send_n() so that - all the data gets written... - -Fri Sep 19 14:52:53 1997 Nanbor Wang - - * netsvcs/lib/Client_Logging_Handler.cpp (get_handle): Can't use - ACE_ERROR_RETURN here because ACE_HANDLE is a void* on NT, not - int. - - * examples/Reactor/Misc: Added reactors.dsp signals_1.dsp - signals_2.dsp. - - * ace/OS.cpp (thr_exit): Commented out the call to - ACE_TSS_Cleanup::exit () because ACE_OS::thr_exit is actually - called from ACE_TSS_Cleanup::exit (). - -Fri Sep 19 12:50:37 1997 David L. Levine - - * ACE-INSTALL*,ace/README: added more documentation of requirement - for explicit main (int, char *[]) arguments and int return type - with ACE_HAS_NONSTATIC_OBJECT_MANAGER (on VxWorks). - -Thu Sep 18 22:45:09 1997 Douglas C. Schmidt - - * netsvcs/lib/Client_Logging_Handler.cpp (close): Fixed a - typo: it's output_ not outout_. Thanks to David for - pointing this out. - - * netsvcs/lib/Client_Logging_Handler.cpp: Make sure to clean up - all our resources (e.g., acceptor-mode and data-mode sockets) - when we close down. - - * netsvcs/servers/main.cpp (main): Restored the entire contents of - main(). - - * tests/Semaphore_Test.cpp: Updated the test to use a temporary - ACE_Time_Value variable that is passed to - ACE_Semaphore::acquire() so that we don't have problems with - reference anachronisms... Thanks to David Levine for reporting - this. - - * ace/Log_Msg.cpp: Changed over to using ACE_SPIPEs for the - logging mechanism rather than ACE_FIFOs to conform to the - changes to Client_Logging_Handler. - - * netsvcs/lib/Client_Logging_Handler.cpp: - Completely rewrote the Client Logging Daemon so that it uses - ACE_SPIPEs by default, rather than ACE_FIFOs. This is more - portable and makes it easier to write a generic client logging - daemon... If a platform doesn't support ACE_SPIPEs, then we - revert to using sockets. - -Thu Sep 18 21:56:33 1997 Nanbor Wang - - * ace/OS.cpp (ACE_TSS_Cleanup::exit): Masked out codes that relate - to freeing TSS keys and remove key entries from TSS cleanup - table. I removed it here to avoid race condition. - (ACE_TSS_Cleanup::free_all_key_left): Added this function to - free all left over TSS keys and remove them from TSS cleanup - table when the program exits. It is only called from - ACE_OS::cleanup_tss. - (ACE_OS::cleanup_tss): Added call to - ACE_TSS_Cleanup::free_all_key_left when ACE_WIN32 or - ACE_HAS_TSS_EMULATION are defined. - -Thu Sep 18 16:30:24 1997 David L. Levine - - * ace/Semaphore_Test: protected declarations of test_timeout_count - and timeouts because they're not used on Solaris. - - * netsvcs/lib/Client_Logging_Handler.cpp: added template - instantiations. - -Thu Sep 18 09:04:40 1997 - - * ace/Dynamic: Changed the way ACE_Dynamic worked. Instead of - keeping the "this" pointer of the object in question, we are now - simply keeping a flag that indicates whether the object was - dynamically created. The trick to this approach is to make sure - to reset the flag in the constructor. The "this" pointer - approach was broken when used with multiple inheritance, because - of "shearing" of the "this" pointer to get to the base - Svc_Handler class. - -Thu Sep 18 01:12:36 1997 Douglas C. Schmidt - - * ACE version 4.3.8, released Thu Sep 18 01:12:36 1997. - -Wed Sep 17 22:47:20 1997 Douglas C. Schmidt - - * ace/ACE: Added two new varargs methods for send() and recv(). - These are modeled after the ones that are in, e.g., ACE_SOCK_IO. - - * ace/Log_Msg.cpp (open): In the UNICODE version the compiler - complains about mixed wchar/char usage in Log_Msg.cpp: - - Log_Msg.cpp(468) : error C2665: 'ACE_INET_Addr::ACE_INET_Addr' : - none of the 8 overloads can convert parameter 1 - from type 'const unsigned short *' - - I fixed it modifing the connect() call from - - status = con.connect (*ACE_Log_Msg_message_queue, - ACE_INET_Addr (logger_key)); - - to - - status = con.connect (*ACE_Log_Msg_message_queue, - ACE_INET_Addr - (ACE_MULTIBYTE_STRING(logger_key))); - - Thanks to Dieter Quehl for - reporting this. - - * ace/SV_Semaphore_Simple.h: By default, we want the flags to - perform a SEM_UNDO. Thanks to Sandro Doro - for reporting this. - - * tests/Makefile (BIN): Added Semaphore_Test.cpp to the Makefile. - Thanks to Sandro Doro for reporting - this. - - * tests/Async_Timer_Queue_Test.cpp: If you want to print a '\', - you need to make it a \\... Thanks to David for noticing this. - - * apps/JAWS/clients/Blobby/Blob_Handler.h: There was a missing - #include for "ace/SOCK_Stream.h". - - * netsvcs/lib/Client_Logging_Handler: Reimplemented this service - so that it uses sockets on Win32 to receive logging messages - from clients. - - * ace/Log_Msg.cpp: Enhanced ACE_Log_Msg::log() so that it now uses - sockets on Win32 platforms to work around the lack of FIFOs. - - * ace/Log_Record.h: Revised the field layout of the ACE_Log_Record - so that the length field comes first. This is necessary for the - framing mechanisms used throughout ACE in various - configurations. - -Wed Sep 17 15:17:38 1997 James C Hu - - * ace/Filecache.cpp: ACE_Filecache::finish should check to see if - the file passed in is NULL before attempting to grab the - associated hash lock. Reported by Samuel Melamed - . - -Wed Sep 17 13:51:25 1997 Carlos O'Ryan - - * bin/auto_compile: - I setup autoflush on the logfile, it makes debugging and non - crontab usage a bit easier. - -Wed Sep 17 12:59:34 1997 - - * ace/Local_Name_Space_T.cpp: Fixed warnings caused by SEH macros. - -Wed Sep 17 01:07:40 1997 Douglas C. Schmidt - - * ACE version 4.3.7, released Wed Sep 17 01:07:40 1997. - -Tue Sep 16 23:34:36 1997 Douglas C. Schmidt - - * netsvcs/servers/main.cpp (main): The use of braces was incorrect - so that some services were being prematurely closed... - - * ace: Added a new flag called ACE_LACKS_FIFO to distinguish the - (lack of) features on Win32... - - * ace/Timer_Queue_T: Added an expire() wrapper for the - Async_Timer_Queue_Adapter. - - * ace/OS: Added a wrapper for strpbrk() and wcspbrk(). Thanks to - Bob Olson and Irfan for pointing out - the need for this. - -Tue Sep 16 18:03:58 1997 Carlos O'Ryan - - * bin/auto_compile: - It wouldn't report an error when run_tests.sh scream "FAILED", - now it does. - -Tue Sep 16 08:30:28 1997 Steve Huston - - * ace/OS.i: Changed a couple of ACE_UNUSED(arg) to ACE_UNUSED_ARG(arg) - -Mon Sep 15 12:08:38 1997 - - * ace/Reactor (register_handler): Originally this interface was - available for all platforms, but because ACE_HANDLE is an int on - non-Win32 platforms, compilers are not able to tell the - difference between - register_handler(ACE_Event_Handler*,ACE_Reactor_Mask) and - register_handler(ACE_Event_Handler*,ACE_HANDLE). Therefore, we - have restricted this method to Win32 only. - - * ace/WFMO_Reactor.h: Removed non-Win32 version of the - WFMO_Reactor. This is no longer required in the new scheme. - - * ace/XtReactor: - - Added remove_handler_i(const ACE_Handle_Set &,ACE_Reactor_Mask) - to make the compiler happy. - - Also changed ACE_Reactor_Handle_Set to ACE_Select_Reactor_Handle_Set. - - * ace/Select_Reactor.cpp (ACE_Select_Reactor_Token): Added set/get - select_reactor methods. - - * ace/OS.h (ACE_SEH_TRY): Changed ACE_SEH_TRY from nothing to - "if(1)" on non-Win32 platforms. This should stop some compilers - from complaining about unreachable code. - -Mon Sep 15 11:37:49 1997 Carlos O'Ryan - - * include/makeinclude/platform_hpux.GNU: - Added -D_REENTRANT to enable the _r functions. - -Mon Sep 15 09:40:57 1997 Carlos O'Ryan - - * bin/auto_compile: - Enabled the shared_libs_only flags to speed up compilations (and - reduce disk space usage). - -Sun Sep 14 22:36:17 1997 - - * ace/Select_Reactor.h: Added a no-op constructor for - ACE_Select_Reactor_Token to make the compiler happy. - -Sun Sep 14 21:02:31 1997 David L. Levine - - * all Makefiles: ran "make depend" to update all ACE Makefiles. - - * include/makeinclude/platform_irix6.x-32_sgic++.GNU, - platform_tandem.GNU: added debug = 1, to disable ACE_NDEBUG. - - * ace/Acceptor.cpp: added #include of ace/Handle_Set.h so that - it will compile on g++/Solaris. - - * ace/Managed_Object.h: added #include of ace/OS.h because - ACE_Cleanup class is used. - - * ace/Managed_Object.cpp: only #include ace/Synch.h if - ACE_TEMPLATES_REQUIRE_SOURCE is not defined. The #include - appears to be necessary with Digital Unix. But, it causes - inline functions warnings with g++, both with inlining - enabled and disabled. Circular #includes are evil :-) - - * ace/Select_Reactor.h: removed "," at end of DEFAULT_SIZE - enum definition. - - * ace/Select_Reactor.i (register_handler): added ACE_UNUSED_ARGS. - - * ace/Select_Reactor.i: moved ACE_Select_Reactor::size () after - ACE_Select_Reactor_Handler_Repository::size () to prevent use - before definition. - - * ace/Select_Reactor.cpp: added template instantiation. - - * ace/Svc_Conf_y.cpp: commented out unused args and wrapped - assignments in "if" conditionals to avoid g++ warnings. - - * ace/Token_Manager.h: inserting missing "public" access control - specifier for ACE_Cleanup. - - * ace/OS.{h,cpp} (gethrtime, Linux only): inlined and added Alpha - support. - - * ace/config-linux*.h: only define ACE_HAS_PENTIUM if i386 is defined. - -Sun Sep 14 10:35:57 1997 - - * ace/Reactor: The Reactor classes (ACE_Reactor and ACE_ReactorEx) - have changed. The motivation for this change was to allow users - to program abstractly and use the most efficient implementation - available on their platform. At the same time, we wanted to - make the changes required by the users kept to a minimal. - - Here is a layout of the new Reactor hierarchy in ACE (an example - of the GOF Bridge Pattern). Thanks to Thomas Jordan - (Thomas_Jordan@deluxedata.com) for suggesting this new design. - - - Reactor -----> Reactor_Impl - ^ - | - -------------------- - ^ ^ - | | - Select_Reactor WFMO_Reactor - - Reactor: - - The Reactor class now becomes an interface class that contains - a pointer to an implementation class. All methods of the - Reactor class forward all calls to the appropriate - implementation class. Users can pass in their own - implementation class. If an implementation class is not - supplied at creation time, the following default rules apply: - - On non-Win32 platforms: An instance of the Select_Reactor - class will be created and used as the implementation. - - On Win32 platforms: An instance of the WFMO_Reactor class will - be created and used as the implementation. This default - behavior can be overwritten at compile-time by setting the - ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL flag. In this case, an - instance of the Select_Reactor class will be created and used - as the implementation. - - Reactor_Impl: - - Reactor_Impl is an abstract class (i.e., the Bridge). - Select_Reactor and WFMO_Reactor inherit from this class. - - Select_Reactor: - - Previously known as the Reactor class. This class implements - the Reactor_Impl interface by using the select() system - call. This implementation is available on all platforms - (including Win32). - - WFMO_Reactor: - - WFMO (Wait For Multiple Objects) Reactor, previously known as - the ReactorEx class. This class implements the Reactor_Impl - interface by using the WaitForMultipleObjects() system call. - This implementation is currently only available on Win32 - platforms. - - Code changes for users: - - The higher authorities of ACE have decided that ReactorEx was - a "goofy" name and made little sense in the new hierarchy. - Therefore users using the old ReactorEx will have to change - over to start using the Reactor class (and make sure that the - implementation class being used is WFMO_Reactor). - - Also users that have extended Reactor or ReactorEx must - now subclass from Select_Reactor or WFMO_Reactor, - respectively. - - * ace/ReactorEx: - - The ReactorEx interface has been extended to be identical to the - Reactor interface. Some of these new operations will not be - supported in this version. However, we will have interface - compatability at this point. This allows the creation of the new - Reactor hierarchy in ACE. - - Removed all static (singleton) methods from ReactorEx. These are - not necessary anymore since ReactorEx will become an - implementation class. Reactor will take over this functionality. - - Changed methods names from resume_all to resume_handlers and - suspend_all to suspend_handlers. This increases the similarity - between ReactorEx and Reactor. - - Add a lock_adapter so that we can return an ACE_Lock form of our - internal lock. - - Added signal handling capabilities to ReactorEx. - - Added handler, requeue_position, mask_ops, and ready_ops - operations. However, they are not supported in this - version. They are mostly here for interface compatibility with - Reactor. - - Added a size() accessor that returns the current size of the - ReactorEx's internal descriptor table. - - Added an initialized() accessor that returns true if ReactorEx - has been successfully initialized, else false. - - * ace/Reactor: - - The Reactor interface has been extended to be identical to the - ReactorEx interface. Some of these new operations will not be - supported in this version. However, we will have interface - compatability at this point. This allows the creation of the new - Reactor hierarchy in ACE. - - Added resume_handler(ACE_Handle_Set &) and - suspend_handler(ACE_Handle_Set &) to the Reactor. This - increases the similarity between ReactorEx and Reactor. - - Add a lock_adapter so that we can return an ACE_Lock form of our - internal lock. This changes the signature of the return type - from ACE_Reactor_Lock to ACE_Lock. - - Added a size() accessor that returns the current size of the - Reactor's internal descriptor table. - - Added wakeup_all_thread() operation. Currently it just does a - notify. - - Added alertable_handle_events() operation. Currently it just - calls handle_events(). - - Added register_handler (that take event handles) operations. - However, they are not supported in this version. They are mostly - here for interface compatibility with ReactorEx. - - * ace/XtReactor: Now inherits from Select_Reactor instead of - Reactor. - - * ace/Timer_Queue_T.h: Removed the inclusion of Time_Value.h. This - file does not exist anymore - - * ace/Synch_T (ACE_Lock_Adapter): Changed the implementation of - the adapter such that the user is allowed to (optionally) pass - in the locking mechanism. - - * ace/Strategies: Removed ACE_ReactorEx_Notification_Strategy. - - * ace/Service_Config: Updated Service_Config so that all ReactorEx - and Proactor methods are removed. ReactorEx does not exist any - longer and Proactor methods are available as statics methods on - the Proactor class. - - * ace/OS.h (ACE_DEFAULT_SELECT_REACTOR_SIZE): Changed - ACE_DEFAULT_REACTOR_SIZE to ACE_DEFAULT_SELECT_REACTOR_SIZE. - There is no default size dictated by the Reactor class anymore. - - * ace/Local_Tokens,Token: Added new methods: acquire_read, - acquire_write, tryacquire_read, tryacquire_write. These methods - allow the Tokens to be used by the ACE_Lock_Adapter class. - - * ace/Handle_Set.h (MAXSIZE): Changed ACE_DEFAULT_REACTOR_SIZE to - ACE_DEFAULT_SELECT_REACTOR_SIZE. There is no default size - dictated by the Reactor class anymore. - - * ace/Event_Handler: Removed the Proactor and ReactorEx pointers - from Event_Handler. The Proactor has its own event handler - (ACE_Handler), and the ReactorEx does not exist anymore. - - * ace/Proactor: - - Changed Proactor to work with the new Reactor. - - Updated Proactor to bring it upto date with the recent changes - to the Timer_Queue. - - * tests: - - Removed the ACE_NEW_THREAD macro. With the new thread adapter, - the log stream for the new thread will automatically be set to - the creator thread's stream. Therefore, this macro is not - needed. - - Removed the inclusion of Service_Config.h. All tests are now - accessing the singletons that are supported by the class directly. - - * examples/Reactor/Proactor: Updated examples to use and access - the new Reactor class instead of the old ReactorEx. - - * examples/Reactor/ReactorEx: Updated examples to use and access - the new Reactor class instead of the old ReactorEx. - -Sun Sep 14 09:50:22 1997 Douglas C. Schmidt - - * ace/Singleton.i (ACE_Singleton): Moved the definition of the - ACE_Singleton default constructor into the *.i file. In - general, it's not a good idea to put definitions in *.h files. - - * tests/test_config.h: Improved the #undef scheme for ACE_NDEBUG. - -Sat Sep 13 23:51:55 1997 Nanbor Wang - - * ace/ACE_Library.{mak,mdp}: Removed Service_Record.cpp and added - Service_Type.cpp in project file. - - * ace/: Removed ace.{mak,mdp} and replaced them with - ACE_Library.{mak,mdp}. MSVC 4.2 insists to change the release - version DLL from our original setting "ace.{dll,lib}" to "ACE - dynamic Library.{dll,lib}". This is so far the only known - method to get around this. - - * netsvcs/servers/servers.{dsw,dsp}: Changed the output filenames - of debug version from maind.exe to main.exe. - - * netsvcs/lib/netsvcs.{dsw,dsp}: Changed the output filenames of - debug version from netsvcsd.{dll,lib} to netsvcs.{dll,lib}. - - * ace/ace.dsw: - * ace/ace_{dll,lib}.dsp: Removed Service_Record.cpp and added - Service_Type.cpp. - - * ace/Log_Msg.cpp (open): Fixed a typo. - - * ace/Reactor.cpp: Fixed a typo. - -Sat Sep 13 17:23:22 1997 Douglas C. Schmidt - - * ACE version 4.3.6, released Sat Sep 13 17:23:22 1997. - -Sat Sep 13 12:11:50 1997 Douglas C. Schmidt - - * tests: #include "test_config.h" before all the other files so - that we always have the ACE_ASSERT enabled... Thanks to Carlos - for noticing this. - - * ace/Reactor.cpp: Added Arturo's improvements for suspending and - resuming Event_Handlers. - - * tests/Reactors_Test.cpp: As a result of the new changes to - ACE_Thread_Manager, the Reactors_Test now seems to be working - fine. - - * ace/Thread_Manager.cpp (append_thr): When we append a new - Thr_Descriptor make sure to zero-out the cleanup_info_ fields - since otherwise horrible things will happen... - - * ace/Reactor: Added a new ACE_Reactor_Handle_Set called - suspend_set_ and updated the suspend_i() and resume_i() method - to use this set to store the ready bits that are enabled when we - suspend and resume and Event_Handler, respectively. Thanks to - Arturo for this suggestion. - - * tests/TSS_Test.cpp (main): Had to move the allocation and - deletion of TSS_Error into the ACE_HAS_THREADS section since - otherwise this test doesn't work when threading is disabled. - - * tests/Thread_Manager_Test.cpp: Move the template specialization - inside of the ACE_HAS_THREADS macro since otherwise this test - doesn't work when threading is disabled. - - * ace/Thread_Manager.cpp: Arrgh! Must initialize the cleanup_info - fields to 0 in the constructor for ACE_Thread_Descriptor! This - should fix a nasty bug... - - * tests/Async_Timer_Queue_Test.cpp: Continued to improve the - documentation in the test of the ACE_Async_Timer_Queue_Adapter. - - * ace/Timer_Queue_T.cpp (schedule): Oops, must pass &this->mask_ - to ACE_Sig_Set rather than this->mask_. - - * ace/Object_Manager.cpp: Changed #include - "ace/Service_Repository.h" to #include "ace/Service_Config.h" - since we now call ACE_Service_Config::close(). - - * ace/Service_Types: Removed a nasty circular dependency by simply - having each of the ACE_Service_Type_Impl subclasses take const - void *'s rather than their specific type (i.e., ACE_Stream or - ACE_Module, etc.). This turns out not to be a problem since we - treated them as const void *'s internally anyhow... - - * ace/Strategies_T.cpp: Fixed a bug in ACE_DLL_Strategy: - - ACE_Service_Type_Impl stp = new ACE_Service_Object_Type (svc_handler, this->svc_name_); - - should be - - ACE_Service_Type_Impl *stp = new ACE_Service_Object_Type (svc_handler, this->svc_name_) - - I wonder how this ever compiled?! - -Fri Sep 12 13:26:50 1997 Douglas C. Schmidt - - * ace/Mem_Map.cpp (close): Removed the following code in the - close() method that appears to be redundant with the code in - unmap(): - - if (this->file_mapping_ != this->handle_ - && this->file_mapping_ != ACE_INVALID_HANDLE) - ACE_OS::close (this->file_mapping_); - - Also cleaned up the close() code so that it doesn't try to close - the handle multiple times, even if close() is called more than - once. Thanks to Beged-Dov for reporting - this. - - * tests/Async_Timer_Queue_Test.cpp: Improved the structure of the - program and finished implementing the new feature that makes it - possible to avoid blocking SIGQUIT. - - * ace/Timer_Queue_T: Added support for an ACE_Sig_Set that can be - passed into the constructor of ACE_Async_Timer_Queue_Adapter. - This will enable us to selectively block only certain signals. - - * ace/Signal: Added a new constructor for ACE_Sig_Set that takes - ACE_Sig_Set * and also improved the documentation of the - constructor interfaces. - -Fri Sep 12 13:46:04 1997 David L. Levine - - * ace/OS.[hi],Log_Msg.h,config-lynxos.h, - include/makeinclude/platform_lynxos.GNU: added LynxOS port, - provided by Dave Mayerhoefer . Note how few - files were affected. What's even more amazing is the very small - number, 8, of very minor code changes to OS.[hi] and Log_Msg.h. - This is a tribute to the maturity of - - - * ace/Service_Object.h: Moved the ACE_Service_Type class into the - Service_Object.h file since this is "publically" visible to - applications. - - * ace/Service_Types.h: Improved the documentation of the - ACE_Service_Type subclass implementations. - - * ace/Service_Types: Changed the name next_ to link_ to be - consistent with the accessor name. - - * ace: Renamed Service_Record.{h,i,cpp} to Service_Types.{h,i,cpp} - to reflect the recent change in names. - - * ace/Service_Object.h: Renamed ACE_Service_Type to - ACE_Service_Type_Impl and ACE_Service_Record to ACE_Service_Type - in order to emphasize the use of the Bridge pattern. Thanks to - Eric Newton for motivating this. - - * ace/Svc_Conf.y: Removed the warning about Service name being - different from Module name. I'm not sure why this was - complaining in the first place. Thanks to Eric Newton for - pointing this out. - - * netsvcs/lib/README: The entry point for the time service client - is _make_ACE_TS_Clerk_Processor and not - _make_ACE_TS_Clerk_Connector. Thanks to Ivan for pointing this - out. - -Thu Sep 11 10:59:12 1997 - - * ace/Connector.cpp (handle_output): Increased the idle time - before we check the status of a non-blocking connection from 1 - ms to 35 ms when ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS is - defined (i.e., Win32.) This is very odd but wait a whole lot - longer seems to solve the problem. - - * ace/Log_Msg.cpp (close): On Win32, ACE_Log_Msg_Manager needs to - delete main thread's ACE_Log_Msg instance also. - -Thu Sep 11 10:37:00 1997 Carlos O'Ryan - - * ace/ACE.cpp: - * ace/INET_Addr.cpp: - * ace/Log_Msg.h: - * ace/Memory_Pool.h: - * ace/OS.h: - * ace/OS.i: - * ace/Parse_Node.cpp: - * ace/Strategies_T.h: - * bin/clone.cpp: - * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h: - I checked the use of MAXNAMELEN vs. MAXPATHLEN; all buffers - intended to keep full filenames should have at least - MAXPATHLEN+1 chars. - Only buffers that will keep basenames (without any directories) - should have MAXNAMELEN+1 bytes. - I also added a new macro ACE_MAX_FULLY_QUALIFIED_NAME_LEN which - is the maximum number of characters for a fully qualified - internet hostname. - There remain one obscure usage of these macros in ace/Malloc.h - and Local_Naming_Space_T.{h,cpp}, but a quick fix broke - something, I will try again soon. - -Thu Sep 11 08:52:36 1997 David L. Levine - - * ace/OS.cpp (thr_key_detach): check to see if the - ACE_TSS_Cleanup lock has been constructed, and not - destructed, before attempting to use it. Statics are evil. - - * ace/Log_Msg.cpp (~ACE_Log_Msg): release guard before calling - ACE_Log_Msg_Manager::close (), because that deletes the lock. - - * ace/Managed_Object.{h,cpp} (get_object): changed type of "id" - to int because it will often be passed an enum. Pass "id" by - value to get_object (int id), for preallocated objects. - - * ace/Object_Manager.{h,cpp}: added ACE_LOG_MSG_INSTANCE_LOCK, - and ACE_PREALLOCATE_OBJECT macro. - - * include/makeinclude/wrapper_macros.GNU: ignore shared_libs_only - in modules that only build a static lib. Fixed shared_libs_only - by removing OBJDIRS, unless BIN is undefined, and VDIR. Removed - SHOBJ from both shared_libs_only and static_libs_only because - they're unused. - - * include/makeinclude/rules.local.GNU: added lib*.*_pure* to - clean.local target, to remove Purified libraries. - - * examples/Connection/non_blocking/Makefile, - examples/Service_Configurator/IPC-tests/server/Makefile: - removed -L./ from LDFLAGS because it's redundant: - wrapper_macros.GNU adds it. - -Wed Sep 10 22:58:10 1997 Douglas C. Schmidt - - * ace/Thread_Manager.cpp (exit): Reordered the code so that it - will keep the lock held long enough to copy out the thread exit - hook but will release the lock before calling this hook. - -Wed Sep 10 11:04:08 1997 David L. Levine - - * ace/config-sunos5.5-g++.h: added - ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS. - - * include/makeinclude/wrapper_macros.GNU: added PIC= with - static_libs_only, and added list of supported make flags. - - * include/makeinclude/wrapper_macros.GNU: added support for - debug=0, etc. Also, made debug, optimize, and profile - flags independent instead of exclusive. Thanks to Per - Andersson for suggesting this. - - * include/makeinclude/platform_*.GNU: replaced "CFLAGS += - $(DCFLAGS) with debug=1 so that debugging can easily be - disabled. Thanks to Per Andersson and James CE Johnson - for noticing this deficiency. - - * include/makeinclude/platform_vxworks5.x_g++.GNU: removed - "-I. -I$(ACE_ROOT)" from CFLAGS because it duplicates the - INCLDIRS set in wrapper_root.GNU. - -Wed Sep 10 10:35:06 1997 David L. Levine - - * ACE version 4.3.5, released Wed Sep 10 10:35:06 1997. - -Wed Sep 10 10:25:41 1997 David L. Levine - - * ace/Thread_Manager.cpp (exit): copy the thread exit hook before - releasing the guard, and call it after releasing the guard. - - * examples/Shared_Malloc/test_malloc.cpp (spawn): added (char *) - cast of slave_name () to avoid compilation warnings on Solaris. - -Wed Sep 10 00:43:04 1997 Nanbor Wang - - * ace/Makefile: Added Managed_Object to template sources. - - * ace/Object_Manager.{h,cpp}: * ace/Managed_Object.{h,cpp}: - Separate ACE_Managed_Object to a new set of file. - -Tue Sep 9 23:41:56 1997 Douglas C. Schmidt - - * tests/Reactors_Test.cpp (main): Check to see if wait() returns - -1 and then test to see what's gone wrong! - - * ace/OS.h: Added a "fake" #define for SIGALRM so that programs - will *compile* on platforms like Chorus. Thanks to Wei Chiang - for reporting this. - - * examples/Shared_Malloc/test_malloc.cpp (spawn): HP/UX doesn't - seem to like const char *const argv[] being given an initializer - list. I've fixed this to be just plain ol' char *argv[]. - Thanks to Sandro Doro for reporting this. - - * ace/Handle_Set.i (clr_bit): Replaced SOCKET with ACE_SOCKET so - this will compile on UNIX. - -Tue Sep 09 17:16:21 1997 - - * ace/Proactor: Updated Proactor to bring it upto date with the - recent changes to the Timer_Queue. - - * ace/Handle_Set.i (clr_bit and set_bit): These methods now change - the size_ member of the class on Win32. This is necessary since - the ACE_Handle_Set::operator fd_set *() accessor has been - optimized for size_ == 0. - -Tue Sep 09 09:14:07 1997 David L. Levine - - * ace/OS.cpp (cleanup_tss): On WIN32 and with ACE_HAS_TSS_EMULATION, - delete the ACE_TSS_Cleanup instance instead of registering it for - cleanup via the ACE_Object_Manager's at_exit (). This should allow - applications to use ACE_Log_Msg in their at_exit () hooks. Thanks - to Wei Chiang for reporting this problem. - - * ace/Object_Manager.{h,cpp}: added guard of internal structures. - (dtor): call at_exit hooks before calling cleanup_tss, now that - the ACE_TSS_Cleanup instance is no longer registered for an at_exit - call. (at_exit): set errno instead of returning different values - on error. Added ACE_Managed_Object template class, intended for - use in replacing static instances. - - * ace/Thread_Manager.cpp (exit): release guard before running the - thread exit hooks. This should help avoid deadlocks, in case - one of those hooks needs to operate on the Thread_Manager. - - * ace/CORBA_Handler.{h,cpp},Dump.{h,cpp},Object_Manager.{h,cpp}: - preallocate locks for CORBA_Handler and Dump in ACE_Object_Manager. - Statics are evil. - - * ace/Synch.{h,cpp},OS.cpp,Object_Manager.{h,cpp}: removed - ACE_TSS_Cleanup_Lock and replaced it with a preallocated mutex - in OS.cpp. Thanks to Nanbor for reporting problems at shutdown - with the old ACE_TSS_Cleanup_Lock static instance. - - * include/makeinclude/platform_sunos5_sunc++.GNU: when building - libraries only, don't use CC to create individual .shobj/*.so - files. The .so files are not needed to build libraries, because - libraries are built with -G. (They are needed to avoid upsetting - the ACE make rules, so they're created as links to their - corresponding .o files.) The .so files are still needed when - building executables in order to get all template instantiations. - - * include/makeinclude/platform_sunos5_g++.GNU: removed unused - SOLINK definitions. - -Mon Sep 8 18:38:22 1997 Douglas C. Schmidt - - * tests/Handle_Set_Test.cpp: It is possible for the order to get - the handles (using the iterator) will not agree with insert - order in ACE_Unbounded_Queue. It's best to use - ACE_Unbounded_Set. Thanks to Arturo for this fix. - -Mon Sep 8 17:43:43 1997 Darrell Brunsch - - * ace/Timer_{List,Wheel,Hash,Heap}_T.cpp: The iter() method now - returns a pointer to an iterator that is in a reset state - instead of an unknown one. - -Mon Sep 8 14:05:15 1997 Nanbor Wang - - * ace/ACE.cpp (read_adapter): Removed ACE_Thread_Control object in - this function. This is now taken care of by ACE_Thread_Manager. - (register_stdin_handler): This function no longer uses - ACE_Stdin_Args to pass in thread manager into read_adapter. - - * ace/ACE.h (ACE): Removed class ACE_Stdin_Args, because it is no - longer needed. - -Mon Sep 08 11:49:02 1997 David L. Levine - - * tests/run_tests.sh: moved log file checks out to separate file, - run_tests.check. - - * tests/run_tests.vxworks: added one-button test for VxWorks. - Check it out, Darrell. - - * ace/Filecache.cpp: commented out unused constants [RW]COPY_FLAGS. - -Mon Sep 08 08:26:52 1997 David L. Levine - - * ACE version 4.3.4, released Mon Sep 08 08:26:52 1997. - -Sat Sep 6 10:41:17 1997 Carlos O'Ryan - - * ace/Malloc.h: - sizeof() must be casted to int in ACE_CONTROL_BLOCK_ALIGN_LONGS - otherwise unsigned int arithmetic is used, thus obtaining - unexpected results. - -Sat Sep 06 09:07:02 1997 David L. Levine - - * OS.{h,cpp}: added ACE_Cleanup base class and - ace_cleanup_destroyer adapter. - - * Object_Manager.*: added at_exit () interface for ACE_Cleanup objects. - - * Singleton.{h,cpp},Token_Invariants.{h,cpp},Token_Manager.{h,cpp}: - base on ACE_Cleanup, so that simpler ACE_Object_Manager::at_exit () - can be used. - - * performance-tests/Misc/Makefile: moved $(BIN) files from FILES - to SRC so that they don't get put into libPerf. - -Sat Sep 6 02:36:31 1997 Nanbor Wang - - * tests/test_config.h (set_output): Added openning flag ios::trunc - explicitly if we are not appending to the opening ofstream. - This is required by standard CPP iostream libraries on NT (i.e., - we can't use ios::out alone when ofstream.open a file.) - -Sat Sep 6 00:21:33 1997 Douglas C. Schmidt - - * ace/Synch_T.h: Added new constructors: - - ACE_Guard(ACE_LOCK& l) : lock_(&l) - { this->owner_ = this->acquire(); } - - ACE_Read_Guard(ACE_LOCK& m) : ACE_Guard(&m) - { this->owner_ = this->acquire_read(); } - - ACE_Write_Guard(ACE_LOCK& m) : ACE_Guard(&m) - { this->owner_ = this->acquire_write(); } - - Remove default argument to current Guard classes. - - ACE_Guard(ACE_LOCK&l, int block) - ACE_Read_Guard(ACE_LOCK& m, int block) - ACE_Write_Guard(ACE_LOCK&m, int block) - with the current semantic. - - This change allows OS platforms with - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION or ACE_HAS ??? PRAGMA - ???, to> invoke common case constructor in a more efficient - way. Thanks to Arturo for this. - - * ace/Synch_T.h: ACE_Guard's destructor should be: - - ~ACE_Guard() { this->release(); } - - and not - - ~ACE_Guard() { if (this->owner_ != -1) this->release(); } - - because ACE_Guard::release has this test. Thanks to Arturo for - reporting this. - - * ace/ARGV.cpp: Declared the char* parameters for the ACE_ARGV - class constructors as const. Since they are copied in the - constructors, this is a safe thing to do. This makes it easier - to pass the result of string::c_str() to it. Thanks to Stephen - Coy for this suggestion. - - * ace/Thread_Manager.cpp: We were missing a Guard in the - ACE_Thread_Manager::at_exit() method. - - * ace/config-sunos5.5-sunc++-4.x.h: It appears that we need to set - ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS for Solaris 2.5 since otherwise - wierd things happen randomly. This is based on the following man - page entry for pthread_exit(): - - Do not call pthread_exit() from a cancellation cleanup handler - or destructor function that will be invoked as a result of - either an implicit or explicit call to pthread_exit(). - - * ace/Thread_Manager.cpp (run_thread_exit_hooks): Once the cleanup - hook(s) are called we set the value of the cleanup hook variable - to 0 to avoid false matches later on. - -Fri Sep 5 21:57:44 1997 Nanbor Wang - - * ace/Containers.i (is_empty): - * ace/Malloc.cpp (instance): Commented out ACE_TRACE in these - routines. They were causing recursive call if we used TRACE. - Thanks to Craig Perras for solving - this. - - * ace/Handle_Set.i (fd_set *): Added conditional compilation code - for Win32 platforms. This is because we don't maintain - on Win32 and, therefore, can't depend on it. - -Fri Sep 5 19:05:02 1997 Douglas C. Schmidt - - * tests/Thread_Manager_Test.cpp (main): moved delete - signal_catcher into the ACE_HAS_THREADS part of the main() - function. - - * ace/Reactor.cpp (check_handles): When handle_error was optimized - with fstat we put NULL value to second argument. It requires a - value to SCO OpenServer to work. Therefore, I added struct stat - temp and changed ACE_OS::fstat(handle, NULL) by - ACE_OS::fstat(handle, &temp); Thanks to Arturo for fixing this. - - * examples/Threads/process_manager.cpp (sig_handler): Fixed a bug - where the thread was exiting if no more children existed. - Thanks to Avraham Nash for reporting - this. - - * ace/Handle_Set: Added the following performance enhancements: - - . Assignment operator to optimize size == 0. - - . min_handle to manage the case when the Handle_Set start in - handle different of zero. - - . A new iterator algorithm tuned for select function calls. - - Thank to Arturo for these enhancements. - - * ace/config-aix-4.1.x.h: Added ACE_LACKS_TIMESPEC_T. Thanks to - Rob Head (rhead@virtc.com) for reporting this. - - * ace/OS.cpp (fork_exec): Changed the logic so that we don't - create a new console window on Win32. This isn't done on UNIX, - so there's no point in doing it here. Thanks to Jeff Richard - for pointing this out. - - * ace/Reactor.cpp: The call to - ACE_Reactor_Handler_Repository::open() in the constructor of - ACE_Reactor should check for == -1! Thanks to Brian Mendel for - reporting this. - - * ace/Reactor.cpp (remove_handler): Fixed a braino where the - conditional compile for NSIG should have been > 0 rather than == - 0. Thanks to fixing this codeKaren Amestoy - for reporting this fix. - -Fri Sep 05 16:17:50 1997 David L. Levine - - * performance-tests/Misc/preempt.cpp: added command line options, - and explanation on how to interpret the results. - -Thu Sep 04 10:26:11 1997 David L. Levine - - * ace/OS.cpp: (tss_open): removed paren from around type in "new" - statement, because GHS (and ANSI C++) compilers will choke on it. - Thanks to Brian Mendel for reporting - this. - - * ace/Thread_Manager.cpp: (ACE_Thread_Descriptor ctor): zero out - cleanup_hook_ in cleanup_info_ because we read it later on. - (dump): added guard because thr_table_ is accessed. (wait): - hacked in thr_yield () to give waited threads a chance to clean - up before continuing. - - * ace/OS.h (ACE_Cleanup_Info): added default ctor. - - * ace/Log_Msg.cpp (close): delete main thread's Log_Msg instance, - on Solaris if ACE_HAS_EXCEPTIONS is not defined, because main - thread TSS dtors apparently don't get called. - - * ace/Token_Manager.{h,cpp}: register ACE_Token_Manager singleton - for deletion with ACE_Object_Manager. - - * ace/Token_Invariants.{h,cpp}: register ACE_Token_Invariant_Manager - singleton for deletion with ACE_Object_Manager. - - * ace/Naming_Context.cpp (close) moved deletion of "name_options_" - from dtor to close (), because when Service_Repository is closed, - it calls close () instead of deleting the service. - - * ace/Process_Strategy.cpp (handle_signal): suppress printouts during - shutdown, to prevent using ACE_Log_Msg while it's being deleted. - - * ace/Timer_List.cpp: replace ACE_Recursive_Thread_Mutex with - ACE_SYNCH_RECURSIVE_MUTEX, for non-threaded platforms. - - * tests/Reactors_Test (~Test_Task): moved ASSERT after the printout, - so we can see why it failed. (svc): added printout with thread ID. - (main): deleted reactor at end of test to prevent leak. - - * tests/SPIPE_Test (client): increased sleep time to 10 sec, - because a long delay is needed with Purify. - - * tests/UPIPE_Test (connector): added 5 second sleep to give - acceptor a chance to start up. - - * include/makeinclude/wrapper_macros.GNU: added -max_threads=100 to - Quantify options. - - * include/makeinclude/rules.local.GNU: added *.sym to clean target. - -Thu Sep 04 09:39:08 1997 David L. Levine - - * ACE version 4.3.3, released Thu Sep 04 09:39:08 1997. - -Thu Sep 04 08:48:13 1997 David L. Levine - - * include/makeinclude/wrapper_macros.GNU: added shared_libs_only - and static_libs_only build options. Only static_libs_only - has been tested successfully. - - * include/makeinclude/rules.lib.GNU: added INSTALL support for - shared_libs_only and static_libs_only. - - * include/makeinclude/platform_vxworks*.GNU: use static_libs_only. - - * ace/OS.cpp: moved tss_open ()/tss_close () calls from invoke () - to ace_thread_adapter. - - * examples/Threads/auto_event.cpp,manual_event.cpp, - process_manager.cpp,reader_writer.cpp,tss2.cpp: - cast spawn entry point to ACE_THR_FUNC. - - * examples/Threads/task_four.cpp (Invoker_Task): rearranged - initializers to match declaration order. - - * examples/Threads/thread_specific.cpp (worker): use - ACE_OS::printf () instead of printf (), and print out the - ACE_hthread_t instead of the ACE_thread_t. - - * examples/IPC_SAP/SPIPE_SAP/client.cpp,consumer_msg.cpp, - consumer_read.cpp,producer_msg.cpp,producer_read.cpp,server.cpp: - moved #include of shared.h inside ACE_HAS_STREAM_PIPES protection - to avoid compilation warnings on unsupported platforms. - - * examples/Reactor/Ntalker/ntalker.cpp (main): removed unused "argc". - - * examples/*/*.cpp,netsvcs/clients/Tokens/mutex/test_mutex.cpp: - added args to main (). - -Wed Sep 3 21:38:18 1997 Carlos O'Ryan - - * ace/config-irix6.x-sgic++.h: - IRIX uses pthread_sigmask to manage per-thread signal mask, - thanks to Gonzalo Diethelm (gonzo@ing.puc.cl) for pointing out - this one. - - * ace/OS.h: - Removed an initial '#' for a comment line, thanks to Gonzalo - Diethelm (gonzo@ing.puc.cl) for pointing out this one. - - * ace/Timer_Hash_T.cpp: - * ace/Timer_Hash_T.h: - * ace/Timer_Heap_T.cpp: - * ace/Timer_Heap_T.h: - * ace/Timer_List.cpp: - * ace/Timer_List_T.cpp: - * ace/Timer_List_T.h: - * ace/Timer_Queue_T.cpp: - * ace/Timer_Queue_T.h: - * ace/Timer_Wheel_T.cpp: - * ace/Timer_Wheel_T.h: - In the word of its author: Modified the iterators kept in each - of these classes so that they are constructed dynamically on the - heap after the Queue has been properly initialized. Otherwise, - the iterators try to iterate over a non-initialized queue, and - fail miserably (usually dumping core). - Once more thanks to Gonzalo Diethelm (gonzo@ing.puc.cl) for this - changes. - - * tests/UPIPE_SAP_Test.cpp: - Gonzalo improved the error message. - - * ace/README: - Gonzalo updated the documentation for some macros. - -Wed Sep 03 15:21:46 1997 David L. Levine - - * ace/OS.h: define ACE_TSS macros with ACE_HAS_TSS_EMULATION, - and renamed some ACE_TSS_Emulation methods. - - * ace/OS.i: allow TSS_Emulation storage to be on thread stack, - instead of always dynamically allocating it. - - * ace/OS.cpp (ACE_Thread_Adapter::invoke): allocate TSS_Emulation - storage on thread stack. (ACE_TSS_Cleanup::exit): only call - a TSS destructor if the thread's value is non-zero. - - * ace/Thread_Manager.cpp: support TSS_Emulation. - - * ace/Thread_Manager.cpp (resize): zero out unused cleanup_hooks - in thr_table_; (run_thread_exit_hooks): check for zero cleanup - hook before calling. - - * ace/Synch_T.*: allow ACE_HAS_TSS_EMULATION _or_ - ACE_HAS_THREAD_SPECIFIC_STORAGE. - - * ace/Object_Manager.{h,cpp}: allocate main thread's TSS_Emulation - storage in the ACE_Object_Manager instance. - - * ace/Log_Msg.h: befriend ACE_OS::cleanup_tss () instead of - ACE_Object_Manager, because the cleanup path is now indirect - from the ACE_Object_Manager. - - * ace/Log_Msg.cpp: use TSS_Emulation on VxWorks, so - VxWorks-specific code was removed. - - * ace/Task.cpp: removed unused #include of ace/Dynamic.h. (It had - been used for template instantiations, but they were moved.) - Also, removed unused #include of ace/Object_Manager.h. - - * ace/Svc_Handler.{h,cpp}: register Svc_Handler singleton for - deletion with the ACE_Object_Manager. - - * tests/Process_Strategy_Test (Options): added a destructor so that - the dynamically allocated concurrency_strategy_ can be deleted. - -Wed Sep 3 08:05:26 1997 Steve Huston - - * ace/Message_Block.h: Corrected comment on release(void) - the - underlying ACE_Data_Block's refcount is decremented; the - ACE_Message_Block is always deleted. - -Tue Sep 2 18:26:22 1997 Douglas C. Schmidt - - * ace/Task: Revised the ACE_Task_Base::svc_run() method to - register a thread exit hook (ACE_Task_Base::cleanup()) - - * ace/Task: Added a static method called cleanup() that can serve - as a thread exit hook to ensure that close() is always called - when a task exits a thread. - - * ace/Thread_Manager: Added the first-cut implementation of the - thread exit hooks. This one is butt-simple -- just allowing a - single hook per-thread, but that should be enough to get us over - the hump... - - * ace/OS.h: Moved the object_info_t type from Object_Manager.h and - renamed it to ACE_Cleanup_Info since we will use it with the - Thread_Manager and the Object_Manager. - - * ChangeLog-97b: Emptied out the ChangeLog-97b file until - we move the ChangeLog to this file... - - * ace/OS.h: Moved the typedef from the - ACE_Object_Manager into global scope so that it can also be used - by the ACE_Thread_Manager. - - * ace/DEV_IO: Moved the get_remote_addr() and get_local_addr() - from the DEV class to the DEV_IO class, which seems to be more - consistent with how they should be used. - - * ace/FILE_IO: Added the get_remote_addr() and get_local_addr() - methods to FILE_IO. Now we should be able to use this with the - Connector pattern. Thanks to Stephen Coy - for reporting this. - - * ace/DEV_Connector*h, ace/FILE*.h: Added "traits" for PEER_ADDR - and PEER_STREAM. Now we should be able to use this with the - Connector pattern. Thanks to Stephen Coy - for reporting this. - - * tests/Async_Timer_Queue_Test.cpp (main): Replaced the use of - fputs() with read() so that it will be signal-safe. Thanks to - Carlos for pointing out the need for this. - - * ace/Task: All the complex ACE_Task_Exit logic has been moved out - of the Task file and into the Thread_Manager file. This will - both simplify and generalize the behavior of cleanups on thread - exit. - -Tue Sep 2 14:42:52 1997 Nanbor Wang - - * ace/config-chorus.h (ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR): - Added this directive for Chorus uses g++. Thanks to David - Levine for pointing this out. - -Mon Sep 01 21:31:25 1997 David L. Levine - - * ChangeLog-97b,Makefile,bin/create_ace_build: ChangeLog is no longer - a symbolic link, but instead is the most recent ChangeLog file. - ChangeLog-97b was moved to ChangeLog. - - * ace/Timer_Queue_T.cpp (schedule): added ACE_UNUSED_ARGs for act - and interval. - - * ace/OS.h: changed ACE_SEH_EXCEPT and ACE_SEH_FINALLY from null - to "while (0)" on all platforms except ACE_WIN32. Thanks to - Nanbor for this bit of macro wizardry. - - * ace/OS.i (tss_base): cast VxWorks TCB spare field to a void **& - instead of a void **, because the function returns a reference - to it. - - * ace/OS.cpp: protected definition of - ACE_TSS_Emulation::tss_collection_ on VxWorks, where it's not used. - - * ace/OS.cpp (ACE_Thread_Adapter::invoke) don't exit the thread - with TSS_EMULATION, except on WIN32. (thr_create) On VxWorks, - use thread adapter as entry point instead of func (via macros). - - * ace/config-vxworks*.h: added ACE_HAS_TSS_EMULATION, with - ACE_DEFAULT_THREAD_KEYS set to 16, and ACE_LACKS_UNIX_SIGNALS. - - * tests/Async_Timer_Queue_Test.cpp: added template instantiations. - - * tests/IOStream_Test.cpp: no longer need to dynamically allocate - the ACE_SOCK_IOStreams with the recent ACE_Thread_Manager changes. - That was causing occasional problems with unsafe deletion of the - underlying ostreams. Thanks to James Johnson for consulting on - this intermittent (nasty) problem. - - * tests/SPIPE_Test.cpp: (main) added ACE_UNUSED_ARG of client - and server. - - * tests/Thread_Manager_Test (worker): added ACE_UNUSED_ARG (thr_mgr) - if ACE_LACKS_UNIX_SIGNALS, and added template instantiations. - - * tests/Thread_Manager_Test.cpp: dynamically allocate the - signal_catcher so that we can destroy it before the main - thread's TSS is cleaned up. - - * tests/TSS_Test.cpp: dynamically allocate TSS_Error so that we - can ensure its deletion before that of ACE_Object_Manager. - Also, makde the code a little easier to change the number of threads. - - * include/makeinclude/wrapper_macros.GNU: added Purify options to - ignore SIGINT and set max threads to 100. - -Mon Sep 1 10:53:39 1997 Douglas C. Schmidt - - * ace/Handle_Set: Added an assignment operator that is optimized - for the case when the right-hand side is 0. - - * ace/OS: The ACE_THR_C_FUNC macro was confusing for Win32. We've - replaced this with the original UNIX typedef and will just use - LPTHREAD_START_ROUTINE for Win32. - - * tests/Thread_Manager_Test.cpp (main): Revised this test so that - we don't have race conditions for suspend() and resume(). - - * tests/Tokens_Test.cpp (run_test): Removed the use of - THR_SUSPENDED and resume_all() since this is broken due to race - conditions and other hazards implicit in using suspend() and - resume() on threads. - - * ace/Handle_Set.cpp: There were several ACE_INLINE methods in the - Handle_Set.cpp file. I've removed the ACE_INLINE flag. - - * tests/SPIPE_Test.cpp: If ACE doesn't have STREAM pipes on a - platform (or we aren't on NT) then don't try to run this test. - Thanks to James CE Johnson for reporting - this. - - * ace/config-sunos5.[45]-g++.h: ACE defines _REENTRANT in - config.h. Application using classes of ACE can conflict by - using compilation option as -D_REENTRANT. I fixed this by - surrounding the define as: - - #if !defined (_REENTRANT) - #define _REENTRANT - #endif /* _REENTRANT */ - - Thanks to Jean-Marc Strauss for - reporting this. - - * ace/Timer_Queue_T.h: We need to #include "ace/Signal.h" since - our Async_Timer_Queue_Adapter needs it. Thanks to Neil Cohen - for reporting this. - - * ace/Reactor.cpp (check_handles): Optimized the check for invalid - handles by using fstat() rather than select() on non-Win32 - platforms. Thanks to Arturo for suggesting this optimization. - -Mon Sep 1 17:52:10 1997 Darrell Brunsch - - * ace/Timer_Heap_T.cpp: Changed cancel (id ...) to check for - previously expired/cancelled timers - -Mon Sep 01 08:43:37 1997 David L. Levine - - * ace/Synch.cpp: added #include of Object_Manager.h. - Thanks to Edan Ayal for reporting this. - -Mon Sep 1 00:46:05 1997 Nanbor Wang - - * ace/README: Added explanation for ACE_HAS_STL_MAP_CONFILICT. - - * ace/OS.h: Added conditional compilation directive - ACE_HAS_STL_MAP_CONFLICT. This is used when users want to - compile ACE with STL library and the STL map class conflicts - with map structure in . - - * ace/config-unixware-2.1.2-g++.h: - * ace/config-unixware-2.01-g++.h: - * ace/config-osf1-4.0-g++.h: - * ace/config-irix5.3-g++.h: - * ace/config-hpux-10.x-g++.h: - * ace/config-linux-pthread.h: - * ace/config-linux-lxpthreads.h: - * ace/config-linux.h: - * ace/config-freebsd.h: - * ace/config-freebsd-pthread.h: - Added ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR flag for all - config files which apparently use g++. - - * ace/config-vxworks-g++.h: - * ace/config-vxworks5.x-g++.h: - * ace/config-sunos4-g++.h: - * ace/config-sunos5.4-g++.h: - * ace/config-sunos5.5-g++.h: - Moved ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR closer to - other template-related directives. - -Sun Aug 31 22:56:30 1997 Douglas C. Schmidt - - * ACE version 4.3.2, released Sun Aug 31 22:56:30 1997. - -Sun Aug 31 22:36:08 1997 Douglas C. Schmidt - - * tests/Async_Timer_Queue_Test.cpp: Need to #include "Timer_List.h" - rather than "Timer_Queue.h". - - * ace: Added ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT for all - config.h files. - - * ace/Handle_Set.cpp (count_bits): Continued to optimize this - method. Now, if ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT enabled - it will use a very fast loop that only runs for as many bits - that are enabled in the bitset. This approach also doesn't have - to access the Global Offset Table in shared libraries, which is - a win. Thanks to Arturo for contributing this. - - * tests/Async_Timer_Queue_Test.cpp: Generalized this test to use - the new ACE_Async_Timer_Queue_Adapter. - - * ace/Timer_Queue_T: Added the new ACE_Async_Timer_Queue_Adapter, - which makes it possible to encapsulate any of the ACE Timer - Queue mechanisms into a asynchronous signal-handling context. - - * ace/OS.i: If the platform doesn't support ualarm() (and it - doesn't lack UNIX signals) then we'll use alarm() rather - than ualarm(). Clearly, this isn't as good as ualarm(), - but it's better than nothing. - - * ace/OS.i: I'd missed replacing - - ACE_LACKS_POSIX_PROTO_FOR_SOME_FUNCS - - with - - ACE_LACKS_POSIX_PROTOTYPES_FOR_SOME_FUNCS - - in OS.i. Thanks to James CE Johnson for - pointing this out. - -Sun Aug 31 09:58:35 1997 Douglas C. Schmidt - - * Princess Diana was killed today in a senseless auto accident in - Paris, France. This is a very tragic ending to a very promising - life ahead of her. - -Sun Aug 31 15:08:00 1997 David L. Levine - - * tests/Async_Timer_Queue_Test.cpp: fixed and added some - ACE_UNUSED_ARG's. - - * netsvcs/clients/Tokens/invariant/invariant.cpp (run_mutex, - run_reader_writer), - netsvcs/clients/Tokens/mutex/test_mutex.cpp (run_test), - netsvcs/clients/Tokens/rw_lock/rw_locks.cpp (run_thread): - removed unused argument "vp". - - * ace/ACE.i (log2): moved "log" declaration outside of the - for loop because its used after the loop. - - * ace/Task.cpp (instance) only register for destruction with - ACE_Object_Manager when creating a new instance_. - - * ace/Thread_Manager.cpp (ACE_Thread_Control::exit) with TSS - emulation, don't exit the thread. Instead, - ACE_Thread_Adpater::invoke () will do it after cleaning up TSS. - - * ace/Synch{h,cpp}: (ACE_TSS_Cleanup_Lock) register for - destruction with ACE_Object_Manager. - - * ace/OS.*: major cleanup of ACE_TSS_Emulation, esp. how it - interacts with ACE_TSS_Cleanup::exit (). - -Sat Aug 30 17:30:24 1997 Steve Huston - - * Removed these config files: - config-hpux-10.x-aCC.h - config-hpux-10.x-decthreads.h - config-hpux-10.x-nothread.h - config-hpux-10.x-hpc++.h should be used with HP compilers on - HP-UX 10.x. - -Sat Aug 30 14:58:42 1997 Douglas C. Schmidt - - * ace/Signal.cpp (ACE_Sig_Action): Added a new constructor that - also takes an ACE_Sig_Set & *and* registers the handler... - - * ace/Handle_Set.cpp (count_bits): Added a newly optimized - algorithm for cases where - ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT. Thanks to Arturo for - this suggestion. - - * ace/config-sco-5.0.0*.h: Added ACE_HAS_LONG_FDMASK for all the - SCO files. Thanks to Arturo for suggesting this. - - * ace/Signal: Added a new mutator method to reassign an - ACE_Sig_Set to an ACE_Sig_Action. - - * ace/Handle_Set.i: If the size of the fd_set is 0 then operator - fd_set *() just returns 0. This will help to optimize the - performance of the Reactor. Thanks to Arturo for suggesting - this. - - * ace/Handle_Set.cpp (count_bits): Added yet another improvement - to remove the "i" iterator. Thanks to Arturo for this! - - * ace/Log_Msg.cpp (log): Used the new ACE_Log_Record::priority() - method in place of the type() method so that the priorities are - handled correctly. - - * ace/Log_Record: Added two new methods that get/set the - "priority" of an ACE_Log_Record. This value computed as the - base 2 log of the value of the corresponding ACE_Log_Priority - enumeral (which are all powers of two). We need this mapping - function so that we can use the priorities as parameters to the - putpmsg() function (which can only map between 0-255). Thanks - to Per Andersson for finding this stuff! - - * ace/ACE: Added a new method to compute the base2 logarithm of a - number. - - * Replaced all uses of ACE_Thread_Control since this is now - handled by the ACE_Thread_Manager. - - * ace/Thread_Manager.cpp (spawn_i): Make sure to pass "this" to - the ACE_Thread_Adapter if we're constructing it in the - ACE_Thread_Manager::spawn_i() method. - - * ace/OS.i (cond_timedwait): Added a special check to see if - timeout != 0, in which case we just call ACE_OS::cond_wait(). - Therefore, VxWorks can now use ACE_OS::cond_timedwait(), as long - as the timeout == 0! This simplifies certain internal ACE code. - Thanks to David Levine for pointing this out. - - * ace/Handle_Set.cpp (count_bits): Changed the code from - - for (int i = 0; i < sizeof (u_long); i++) - { - rval += ACE_Handle_Set::nbits_[n & 0xff]; - n >>= 8; - } - - to - - for (int i = 0; n != 0; i++) - { - rval += ACE_Handle_Set::nbits_[n & 0xff]; - n >>= 8; - } - - in order to speed it up in the "best case." Thanks to Arturo - Montes for reporting this. - - * ace/Thread.cpp (spawn_n): Added a test to make sure that the - thread_ids is != 0 before we assign into this. - -Fri Aug 29 22:45:21 1997 Nanbor Wang - - * ace/config-vxworks-g++.h: - * ace/config-vxworks5.x-g++.h: - * ace/config-sunos4-g++.h: - * ace/config-sunos5.4-g++.h: - * ace/config-sunos5.5-g++.h: - Added flag ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR to these - config files. - - * ace/README: Added explanation of flag - "ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR." - When calling a template class'es destructor explicitly, if you - must use "ptr->FOO::~FOO ();" but not - "ptr->FOO::~FOO ();" then, you must add this flag to - your config file. - - * ace/OS.h (ACE_DES_FREE_TEMPLATE): Added this new macro to cope - with the fact that compilers require different syntax when - calling destructor of template classes explicitly. This macro - takes four arguments, POINTER, DEALLOCATOR, CLASS, and - TEMPLATE_PARAMETER. To deallocate a pointer allocated by - ACE_NEW_MALLOC and you need to call FOO class'es - destructor, you'll write: - - ACE_DES_FREE_TEMPLATE (ptr, alloc->free, FOO, ); - - * ace/Containers.cpp: Changed to use ACE_DES_FREE_TEMPLATE to iron - out differences among compilers. - -Fri Aug 29 15:31:50 1997 David L. Levine - - * ace/OS.*,Synch.{h,cpp},Object_Manager.cpp: started adding - support for TSS emulation. - - * ace/OS.h: declare class ostream if - ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - - * tests/Async_Timer_Queue_Test.cpp (parse_commands): fixed - sscanf format specifiers to match argument types; (main): - fixed ACE_ERROR_RETURN parens; protected bulk of code with - ACE_HAS_UALARM so that the test will build cleanly on - platforms without it. - -Fri Aug 29 00:43:27 1997 Douglas C. Schmidt - - * ace/Synch.cpp (wait): Simpified the call to - ACE_OS::cond_timedwait() to avoid an extra test. Thanks to - Arturo for pointing this out. - - * ace/TTY_IO: Added native support for TSETA. Thanks to Arturo for - this. - - * ace/Strategies_T.cpp: Finished integrating the ACE_DLL_Strategy - implementation, which is used in TAO. Thanks to Satheesh Kumar - MG for motivating this. - - * ace/Synch_T.h: Clarified the constructor for ACE_TSS that takes - a TYPE * as an argument. Note that this only initializes the - TSS value in the *calling* thread, but not any other threads - that may come along later on. Thanks to Bob Laferriere - for helping to clarify this. - - * ace/Synch_T.h: Removed stray semi-colons from some of the - ACE_SYNCH_* macros. Thanks for Wei Chiang for reporting this. - -Fri Aug 29 11:40:10 1997 Darrell Brunsch - - * ace/OS.cpp: Added cast for ace_thread_adapter. - - * ace/OS.h: Changed name of ACE_Thread_Adapter's constructor's - fourth parameter from tm to tmgr since tm conflicted with - another tm. - - * ace/Thread_Manager.cpp: In spawn_i, changed the last parameter - given to spawn to thread_args. Also had to add a cast for - ace_thread_adapter. - -Fri Aug 29 06:44:05 1997 Nanbor Wang - - * ace/OS.h (ACE_DES_FREE): Added this macro which will call - designate destructor before freeing the memory. This is a - matching macro that should go with ACE_NEW_MALLOC and - ACE_NEW_MALLOC_RETURN which allocate memory using designate - allocator then call the user specified constructor explicitly. - - * ace/Containers.cpp: Many memory deallocations of container's - nodes were changed to use the new macro which deletes objects - correctly. - - Thanks very, very much to Ivan Murphy for torturing various - test programs and reporting those tests which fail the - excruciation. - -Fri Aug 29 01:26:38 1997 - - * ace/ReactorEx.cpp: Added two new methods to ReactorEx - - schedule_wakeup() and cancel_wakeup(). Also fixed some bugs - related to our local copy of network_events_ not getting updated - properly. Thanks to Edan Ayal for pointing out - the two missing functions. - -Thu Aug 28 20:12:23 1997 Douglas C. Schmidt - - * ace/Thread_Manager.cpp: Added a new ace_thread_manager_adapter() - function, which is similar to the ace_thread_adapter function - used in ACE_OS::thr_create(). However, the new function ensures - that threads spawned by an ACE_Thread_Manager are automatically - registered and deregistered from the Thread Manager. - - * ace/ACE.h (inherit_log_msg): Factored out the functionality to - inherit the logging features if the parent thread has an - ACE_Log_Msg instance in thread-specific storage. This function - is called in several places (e.g., OS.cpp and - Thread_Manager.cpp), so it pays to factor it out. - - * ace/OS.h (ACE_Thread_Adapter): Added a new data member that - keeps track of which thread entry point function we will pass to - the underlying OS thread creation routine. The default value is - ace_thread_adapter, but this can be overridden to do different - things... - - * ace/OS, - ace/Thread: Extended thr_create() so that if an - ACE_Thread_Adapter is passed to it this is used in lieu of the - func and arg parameters. This reduces the amount of dynamic - allocation and indirection required with the new - ACE_Thread_Manager. - - * ace/Task.h: Removed the ACE_Thread_Control data member from the - ACE_Task_Exit class since it now belongs to the - ACE_Thread_Manager instead... - - * ace/OS.cpp: Move the ACE_Thread_Adapter out of the OS.cpp file - and made it a first-class citizen of ACE. We can put this - to good use in the new ACE_Thread_Manager. - - * ace/OS.cpp: The ACE_Thread_Adapter is now the default behavior - in ACE. If you don't want to use it for whatever reason, - you'll need to set the ACE_NO_THREAD_ADAPTER macro. - - * ace/config-sco-5.0.0-fsu-pthread.h: Added - ACE_LACKS_CONST_TIMESPEC_PTR. Thanks to Arturo for this. - - * ace/Synch.cpp (wait): Removed the reference assignment and just - take the address of this->mutex_.lock_. Also, removed the - additional check for abstime == 0 in order to speed up the - common case. Thanks to Arturo for these suggestions. - -Thu Aug 28 20:02:03 1997 Douglas C. Schmidt - - * ACE version 4.3.1, released Thu Aug 28 20:02:03 1997. - -Thu Aug 28 00:21:09 1997 Douglas C. Schmidt - - * ace/Strategies_T.cpp (ACE_Thread_Strategy): Added reasonable - values to the default constructor. Thanks to Stephen Coy - for reporting this. - - * ace/config-irix6.x-sgic++-*.h: Added ACE_HAS_UALARM. Thanks to - Amos Shapira for reporting this. - - * ace/config-aix-4.*.h: Added ACE_HAS_UALARM. Thanks to Cary - Clark for reporting this. - - * ace/config-hpux-10.x*.h: Added ACE_HAS_UALARM. Thanks to Cary - Clark for reporting this. - - * ace/config-osf1*.h: Added ACE_HAS_UALARM. Thanks to Thilo - for reporting this. - - * ace/config-mvs.h: Added ACE_HAS_UALARM. Thanks to Chuck Gehr - for reporting this. - - * tests/Async_Timer_Queue_Test.cpp: Added a new test that will - illustrate how to implement an asynchronously invoked - Timer_Queue using UNIX SIGALRM signals. - -Thu Aug 28 19:32:07 1997 - - * examples/Reactor/ReactorEx: Added two new applications - (test_registry_changes.cpp and test_console_input.cpp) to show - some more features of ReactorEx. test_registry_changes.cpp shows - how to monitor the Registry using ReactorEx. - test_console_input.cpp shows how to use ReactorEx to get - notified when input shows up on the console. - -Thu Aug 28 18:07:37 1997 Darrell Brunsch - - * ace/Timer_{List,Heap,Wheel,Hash}_T.cpp: Changed the behavior - of the iterator to automatically initialize when the iterator - is constructed. - -Thu Aug 28 10:43:35 1997 David L. Levine - - * ace/Task.{h,cpp} (ACE_Task_Exit::instance) added call to - ACE_Object_Manager::at_exit () to clean up the singleton at - program termination. - -Thu Aug 28 03:25:52 1997 Nanbor Wang - - * tests/Task_Test.cpp (Barrier_Task): - * tests/TSS_Test.cpp (main): Added an array to collect thread - handles in order to clean them up. Thanks to Ivan Murphy - for pointing this out. - - * ace/Thread_Manager.{h,cpp} (spawn_n): - * ace/Task.{h,cpp} (activate): - Added an extra argument ACE_hthread_t thread_handles[] with - default value 0. We need this argument to collect handles of - spwaned/activated threads. On NT, we have to join terminated - threads explicitly to prevent handles leak. Thanks to Ivan - Murphy for digging this out. - -Wed Aug 27 10:48:25 1997 Douglas C. Schmidt - - * ace: Changed all occurrences of ACE_LACKS_RLIMIT_PROTO to - ACE_LACKS_RLIMIT_PROTOTYPE, ACE_LACKS_POSIX_PROTO to - ACE_LACKS_POSIX_PROTOTYPES, and ACE_LACKS_SYSV_MSQ_PROTOS to - ACE_LACKS_SYSV_MSQ_PROTOTYPES to be more consistent. - - * ace/config-sunos5.x*.h: Added ACE_HAS_UALARM to all the Solaris - config files. However, also had to add ACE_LACKS_UALARM_PROTOTYPE - since Solaris strangely doesn't provide this prototype. - - * ace/OS.h: Added an ACE_Time_Value version of ACE_OS::ualarm(). - - * ace/Signal: Added a new constructor for ACE_Sig_Action that - takes an ACE_Sig_Set parameter. - - * ace/Signal: Added a sigset() accessor method. - - * ace/config-unixware-2.1.2-g++.h: Added ACE_HAS_UALARM. Thanks - to Ganesh Pai for reporting this. - - * ace/OS.h: Added a default value of 0 to ACE_OS::time(). - - * ace/Synch.i (ACE_Thread_Mutex_Guard): Rearranged the code so - that we can inline the acquire(), tryacquire(), and release() - methods properly. Thanks to David Levine for pointing this out. - - * ace/OS.h: Added ACE_OS support for the ualarm() method. If your - platform supports ualarm() please send me email so I can set the - ACE_HAS_UALARM flag in your config.h file. - - * tests/Makefile: Added an asynchronous timer queue test. - - * examples/IOStream/server/iostream_server.cpp: Added a new macro - to work around the fact that some C++ compiles don't grok - template typedefs. Thanks to Oleg Krivosheev - for pointing this out. - - * ace/OS, - ace/Task.cpp: - Installed a bunch of patches for FSU pthreads. Thanks to Arturo - Montes for sending this. - - * Makefile: Added a line to the release script that will - automatically generate an ACE-INSTALL text file from the - ACE-INSTALL.html file. Thanks to Oleg Krivosheev - for suggesting this. - - * performance-tests/Misc/Makefile: Added $(BIN) to the FILE target - so that "make depend" will work. Thanks to David Levine for - pointing this out. - - * ace/Synch.i: Eliminated unnecessary assignment to this->owner_. - Thanks to Chris for pointing this out. - - * ace/OS.i (msgctl): Added a "struct" to the definition of - msqid_ds. Thanks to Steve Hickman for - reporting this. - -Thu Aug 28 01:07:21 1997 - - * examples/Reactor/ReactorEx/test_directory_changes.cpp: Added a - new example application. This application tests the working of - ReactorEx when users are interested in changes in the - filesystem. - -Wed Aug 27 22:06:23 1997 Nanbor Wang - - * *.{mak,mdp,dsw,dsp}: Updated ACE's library names on Win32 as - below. Only Microsoft's Win95 and Windows NT are effected. - - Version Dynamic Library Static Livrary - ------------------ -------------------- ----------------- - Debug aced.lib, aced.dll acesd.lib - Release ace.lib, ace.dll aces.lib - Debug w/ UNICODE aceud.lib, aceud.dll acesud.lib - Release w/ UNICODE aceu.lib, aceu.dll acesu.lib - - Thanks to John Morey for suggesting this and - Darrell for updating VC 5.0's makefiles. - - * ace/config-freebsd[-pthread].h (ACE_HAS_UALARM): FreeBSD does has - ualarm. - -Wed Aug 27 10:52:59 1997 Chris Cleeland - - * ace/Synch_T.h (CTOR): Eliminated unnecessary assignment to - this->owner_. - -Wed Aug 27 09:32:57 1997 David L. Levine - - * ace/Singleton.cpp (instance): removed full qualification of - "instance_" in ACE_NEW_RETURN macro, because it confused - the Sun C++ 4.2 preprocessor. - - * ace/Singleton.cpp: added support for ACE_HAS_SIG_C_FUNC platforms, - e.g., on MVS. At least I tried to. The cleanup function, - on ACE_HAS_SIG_C_FUNC platforms only, doesn't call the object's - destructor. It just deallocates the storage. That should be - good enough; I don't think it's worth trying to do more than that. - - * ace/Synch.cpp (close_singleton): removed call to - ACE_Allocator::close_singleton (), because this method is - only called if ACE_HAS_THREADS. - - * ace/Object_Manager.cpp (dtor): added call to - ACE_Allocater::close_singleton (), and protected call to - ACE_Static_Object_Lock::close_singleton () with ACE_HAS_THREADS. - - * tests/Time_Value_Test.cpp: disabled ACE_U_LongLong test - on ACE_WIN32 platforms, because that class is never used - there. Thanks to Nanbor for finding this. - - * performance-tests/Misc/preempt.cpp,Makefile: added preempt - test, which tests for thread preemption. - -Tue Aug 26 13:59:01 1997 Douglas C. Schmidt - - * netsvcs/lib/Server_Logging_Handler_T.cpp: Changed the symbol - "SS" to "SST" to avoid a namespace collision with UnixWare. - Thanks to Ganesh Pai for pointing this out. - - * ace: Added a new config file to sco using FSU pthreads. Thanks - to Arturo Montes for sending this. - - * include/makeinclude: Added a new platform macros file to sco - using FSU pthreads. Thanks to Arturo Montes - for sending this. - -Tue Aug 26 22:06:14 1997 - - * examples/Reactor/ReactorEx: Added two new applications for - testing some of the new features of ReactorEx. Added - documentation and renamed some of the older test files to make - it easier to comprehend the examples. - -Tue Aug 26 11:47:29 1997 - - * ace/OS.i (mutex_trylock): Changed this method to make it deal - correctly with abandoned mutexes. Also added a new mutex_trylock - method that allows the user to know if the mutex was abandoned - (through an extra out parameter). Also fixed - ACE_OS::cond_timedwait(), ACE_OS::cond_wait(), - ACE_OS::event_wait(), ACE_OS::event_timedwait() and - ACE_OS::sema_wait() to remove extra checks for WAIT_ABANDONED, - since we are not dealing with mutexes in these methods. Thanks - to Ivan Murphy for pointing this - out. - -Tue Aug 26 11:06:45 1997 David L. Levine - - * ace/OS.h,config-vxworks5.x-g++.h: - split ACE_HAS_RENAMED_MAIN into ACE_MAIN and - ACE_HAS_NONSTATIC_OBJECT_MANAGER. - - * ace/ACE.cpp: only create the ACE_Object_Manager_Destroyer - if not ACE_HAS_NONSTATIC_OBJECT_MANAGER. - - * ace/Object_Manager.{h,cpp}: dynamically allocated the - contained ACE_Unbounded_Queue to so that it can be deallocated - before the ACE_Allocator is destroyed. - - * ace/Singleton.{h,cpp}: register all ACE_Singletons for - cleanup with the ACE_Object_Manager. - - * ace/Synch.{h,cpp}: renamed ACE_Static_Object_Lock::atexit () to - close_singleton (), and removed the unused atexit hook. - - * ace/Log_Msg.cpp (ACE_Log_Msg_Manager::close): delete the - main thread's Log_Msg. - - * ace/config-vxworks-ghs-1.8.h: added ACE_HAS_NONSTATIC_OBJECT_MANAGER. - - * tests/Time_Value_Test.cpp: added tests of ACE_U_LongLong. - - * tests/Atomic_Op_Test.cpp (main): added arguments to main (). - - * tests/Barrier_Test.cpp (main): delete thread_handles array - to prevent memory leak. - - * examples/Reactor/Misc/test_signals_2.cpp (main): changed - type of second arg from "char *" to "char *[]". - -Mon Aug 25 14:13:57 1997 Carlos O'Ryan - - * ace/OS.h: - Changed the return type of sendmsg_timedwait from sszie_t to - ssize_t, this should only affect platforms where - ACE_LACKS_TIMEDWAIT_PROTOTYPES, further it was definitely wrong - before. - Thanks to ARTURO MONTES for pointing - out this one. - -Mon Aug 25 10:15:06 1997 David L. Levine - - * ace/Message_Queue.cpp (notify): fixed ACE_TRACE message. - - * examples/ASX/UPIPE_Event_Server/event_server.cpp, - examples/Connection/misc/test_upipe.cpp, - examples/Connection/non_blocking/test_*.cpp, - examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp, - examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp, - examples/Misc/test_dump.cpp, - examples/Reactor/FIFO/client.cpp, - examples/Reactor/Misc/test_*.cpp, - examples/Reactor/Proactor/test_multiple_loops.cpp, - examples/Reactor/Proactor/test_timeout.cpp, - examples/Reactor/ReactorEx/test_timeout.cpp, - examples/Reactor/ReactorEx/test_exceptions.cpp, - examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp, - examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp, - examples/Shared_Malloc/test_multiple_mallocs.cpp, - examples/System_V_IPC/SV_Message_Queues/*MQ_*.cpp, - examples/System_V_IPC/SV_Semaphores/Semaphores_?.cpp, - examples/Threads/process_mutex.cpp, - examples/Threads/recursive_mutex.cpp, - examples/Threads/tss1.cpp, - examples/Threads/thread_specific.cpp, - examples/Threads/token.cpp, - examples/Threads/wfmo.cpp, - tests/Simple_Message_Block_Test.cpp, - tests/Hash_Map_Manager_Test.cpp: - added arguments to main () to support redeclaring it on VxWorks. - - From now on, we should always declare main () with arguments, e.g., - int - main (int, char *[]) - -Sun Aug 24 10:27:33 1997 Douglas C. Schmidt - - * tests/Future_Test.cpp (Scheduler): Removed the non-existent - friend class Method_ObjectWork. Thanks to Sandro Doro - for reporting this problem. - - * ace/Message_Block.h: Clarified in the comments that the length() - of a Message_Block is 0 until the wr_ptr() is explicitly set. - Thanks to Amos Shapira for pointing out - the need for this. - -Sat Aug 23 14:43:27 1997 Douglas C. Schmidt - - * ACE version 4.3, released Sat Aug 23 14:43:27 1997. - -Sat Aug 23 14:40:32 1997 Douglas C. Schmidt - - * Released the long-awaited ACE 4.3. Good night sweet prince: - And flights of angels sing thee to thy rest. - -Sat Aug 23 00:44:09 1997 Douglas C. Schmidt - - * netsvcs/lib/Server_Logging_Handler.cpp: Make sure that we - explicitly instantiate ACE_Svc_Handler whether or not we're building with threads - since otherwise we get link errors. - -Fri Aug 22 20:58:49 1997 Nanbor Wang - - * ace/OS.cpp (ACE_TSS_Cleanup): Changed the lock for - ACE_TSS_Cleanup from a static object to a singleton to avoid the - nasty detruction order problem. This only effects Win32. - - * ace/Synch.{h,cpp}: Added a new singleton lock - "ACE_TSS_Cleanup_Lock" for Win32 platform. This object is - expect to be put under ACE_Object_Manager's control and will - probably gone/changed in the near future. - -Fri Aug 22 18:48:17 1997 Carlos O'Ryan - - * ACE-install.sh: - I updated the information on IRIX. Now we know for a fact it - compiles on IRIX 6.x, but we are not certain on IRIX 5.X. - - * bin/auto_compile_wrapper: - I have tried to make it clear that auto_compile_wrapper must be - tailored on each site. The email address is invalid and the - script should just crash the - - * ace/OS.i (cond_timedwait): - It used to always dereference the timeout parameter, which could - be 0 (heading for a - Sthreads use timestruc_t instead of timespec_t, thanks to - Ganesh Pai for pointing out this one and to - Steve Huston for explaining to us what - was going on. - -Fri Aug 22 08:46:39 1997 David L. Levine - - * include/makeinclude/platform_vxworks*.GNU: - unset SHLIB to fix builds without PRELIB. - - * netsvcs/lib/Logging_Strategy.cpp, - examples/Threads/task_three.cpp: include fstream.h and - iostream.h if ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - - * examples/ASX/UPIPE_Event_Server/event_server.cpp, - examples/Log_Msg/test_log_msg.cpp, - examples/Reactor/Misc/test_time_value.cpp, - examples/Logger/Accepter-server/server_loggerd.cpp: - #include iostream.h if ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - - * examples/ASX/UPIPE_Event_Server/Peer_Router.cpp (svc): - replaced an iostream printout with an ACE_DEBUG call. - - * examples/Misc/test_read_buffer.cpp, - test_dump.cpp, - Mem_Map/IO-tests/test_io.cpp: - replaced bare OS calls with ACE_OS calls. - - * examples/Reactor/Misc/notification.cpp (Thread_Handler): - added cast of svc_run to ACE_THR_FUNC. - -Thu Aug 21 22:38:19 1997 Carlos O'Ryan - - * bin/auto_compile: - This tool will checkout ACE_wrapper from CVS, use - bin/create_ace_build to update a clone directory, compile ace - and tests in that clone directory and then run run_tests.sh. - If there is any problem it will report it to email. - - * bin/auto_compile_wrapper: - The former needs some configuration information and a proper - enviroment, hence it may not be invoked directly from your - crontab. This tool is used for that purpose. - - * apps/Gateway/Gateway/Makefile: - * apps/JAWS/server/Makefile: - * examples/Connection/non_blocking/Makefile: - * examples/IPC_SAP/DEV_SAP/reader/Makefile: - * examples/IPC_SAP/DEV_SAP/writer/Makefile: - * examples/Service_Configurator/IPC-tests/server/Makefile: - * netsvcs/clients/Naming/Client/Makefile: - * netsvcs/clients/Naming/Dump_Restore/Makefile: - * performance-tests/Synch-Benchmarks/Makefile: - No need to defines LIBS=-lACE here, it is already done in - wrapper_macros.GNU. Thanks to Cary Clark for - pointing out this one. - - * bin/create_ace_build: - New flag -a to create all symlinks using absolute paths, it - helps when the build directory is a symlink too. - - * include/makeinclude/platform_irix6.x-sgic++.GNU: - ACE now compiles with little or no warnings, I kept the linker - warnings deactivated though. - -ptall does not work any more. I added a comment on that. - - * ace/OS.h: - * apps/Gateway/Gateway/Concrete_Proxy_Handlers.cpp: - * apps/JAWS/clients/Blobby/Blob_Handler.cpp: - * apps/JAWS/server/HTTP_Server.cpp: - * examples/ASX/UPIPE_Event_Server/Peer_Router.cpp: - * examples/IPC_SAP/SPIPE_SAP/NPServer.cpp: - * examples/IPC_SAP/SPIPE_SAP/producer_read.cpp: - * examples/Reactor/Dgram/CODgram.cpp: - * examples/Reactor/Dgram/Dgram.cpp: - * examples/Reactor/Misc/test_demuxing.cpp: - * examples/Reactor/Misc/test_reactors.cpp: - * examples/Reactor/Misc/test_signals_2.cpp: - * examples/Threads/barrier2.cpp: - * examples/Threads/process_manager.cpp: - * examples/Threads/task_three.cpp: - * netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp: - * netsvcs/clients/Tokens/collection/collection.cpp: - * netsvcs/clients/Tokens/mutex/test_mutex.cpp: - * performance-tests/Misc/childbirth_time.cpp: - * tests/Reactor_Exceptions_Test.cpp: - * tests/Reactors_Test.cpp: - * tests/SOCK_Test.cpp: - New macro ACE_NOTREACHED. Some compilers will issue warnings on - unreached statements with things like: - int foo() - { - if (bar) { - return 0; - } else { - return 1; - } - return 0; // warning here - } - but if we remove the last return some other compiler will issue - warnings on leaving the function with no return value. - This macro tries to deal with that, all we have to do is to - write the last line like: - int foo() - { - if (bar) { - return 0; - } else { - return 1; - } - ACE_NOTREACHED(return 0); // No warning now!!! - } - IMHO it also serves as a form of documentation. - -Thu Aug 21 21:00:35 1997 - - * ace/Auto_Ptr: Changed auto_ptr implementation to be as close - to the C++ specification as possible. Things that are still - missing are: - (a) std namespace - (b) member templates implementations - (c) making the constructors explicit - - * ace/OS.h (ACE_BIT_STRICTLY_ENABLED): Added new macro to check if - a bit is strictly enabled in a word. This is necessary when the - bit would be a combination of bits, and therefore, just - comparing against != 0 (like ACE_BIT_ENABLED does) is not enough - and comparing == BIT is necessary. - -Thu Aug 21 19:28:28 1997 James C Hu - - * include/makeinclude/rules.local.GNU (depend.local): If TAO_ROOT - is not set, don't try using it in sed. - - * bin/g++dep: Check the existence of the TAO_ROOT environment - variable before adding it to the relative pathname replacement - strategy. - -Thu Aug 21 16:29:02 1997 David L. Levine - - * ace/OS.h: added THR_JOINABLE and THR_SCHED_FIFO/RR/DEFAULT - to STHREADS, WTHREADS, and non-threaded platforms. On VxWorks - only, set NSIG to _NSIGS + 1. - - * ace/config-vxworks*.h: removed ACE_HAS_POSIX_SEM now that we - emulate it for VxWorks. - - * tests/Priority_Task_Test.cpp: use THR_SCHED_FIFO unconditionally - now that it's defined on all platforms. - - * include/makeinclude/platform_chorus.GNU, - platform_hpux_gcc.GNU, - platform_linux*.GNU, - platform_m88k.GNU, - platform_osf1_4.0_g++.GNU, - platform_sco*.GNU, - platform_sunos*_g++.GNU, - platform_unixware_g++.GNU, - g++ only: replaced PRELIB with "true" because it's not - needed for template instantiation. The old PRELIB no longer - worked without -lACE being added to LIBS in individual Makfiles. - The only reason to leave PRELIB defined to something is so that - the shared object definitions will be correct in rules.lib.GNU. - That should be fixed after 4.3 is released. - - * include/makeinclude/platform_vxworks5.x_ghs.GNU: - PRELIB no longer needed with explicit template instantiation. - -Thu Aug 21 12:38:26 1997 Steve Huston - - * ace/config-hpux-10.x.h: Removed extraneous #endif - -Thu Aug 21 12:21:16 1997 Nanbor Wang - - * ace/OS.h (THR_JOINABLE): Defined this macro for Win32 as 0. - -Wed Aug 20 22:36:52 1997 Douglas C. Schmidt - - * ACE version 4.2.44, released Wed Aug 20 22:36:52 1997. - -Wed Aug 20 18:28:28 1997 Steve Huston - - * ace/config-hpux-10.x.h: Made some definitions dependent on the - HP-UX version that is compiling the code. - - * ace/Filecache.(cpp h): Moved the definition of ACE_Filecache_Object - from .cpp to .h to help AIX xlC's template instantiator along. - - * apps/Gateway/Peer/Peer.(cpp h): Moved the definition of Peer_Handler - from .cpp to .h to help AIX xlC's template instantiator along. - - * include/makeinclude/platform_(hpux hpux_aCC hpux_gcc).GNU: Added - a compiler option to define HPUX_VERS with the current OS version. - Used in the config-hpux-10.x.h file. - -Wed Aug 20 13:44:16 1997 Carlos O'Ryan - - * ace/config-unixware-2.1.2-g++.h: - Unixware does not define timespec_t. Thanks to Ganesh Pai - for pointing out this one. - -Wed Aug 20 11:37:44 1997 David L. Levine - - * include/makeinclude/rules.bin.GNU,platform_vxworks5.x_g++.GNU: - added POSTLINK to build symbol table. - -Wed Aug 20 07:43:14 1997 Douglas C. Schmidt - - * ACE version 4.2.43, released Wed Aug 20 07:43:14 1997. - -Tue Aug 19 08:25:28 1997 Steve Huston - - * tests/Barrier_Test.cpp: Added THR_JOINABLE to the flags for - creating threads - allows join to work on platforms that create - threads detached by default (i.e. AIX). - - * tests/Process_Strategy_Test.cpp: If the final ACE_OS::kill() fails, - don't ACE_OS::wait() for the process. - - * ace/config-aix-4.2.x.h: Added ACE_HAS_BROKEN_POSIX_TIME. Commented - out ACE_HAS_AIX_BROKEN_SOCKET_HEADER. Added ACE_HAS_PTHREAD_T, - and will now not use tid_t for any ACE types. Rearranged things - to start clarifying items. - - * ace/config-hpux-10.x.h: Removed ACE_HAS_SETKIND_NP and adjusted - other, more meaningful, threads-related definitions to match what - HP 10.10 and 10.20 have for threads. This matches changes to OS.* - - * ace/OS.(h i cpp): Removed use of ACE_SETKIND_NP in an effort to - simplify the variety of threads-capability definitions. The only - platforms which used ACE_HAS_SETKIND_NP were HP-UX (see above) and - OSF/1 V3.2 (which has the same threads package as HP-UX). OSF/1 - V3.2 may require some adjustments per this change - it probably - should be changed to match HP-UX. OSF/1 V4 (aka Digital UNIX) - is not affected by this change. - - * ace/Log_Msg.cpp: Changed the 't' format (thread ID) to call - thread_self() directly on AIX. - -Mon Aug 18 21:39:33 1997 Douglas C. Schmidt - - * ACE version 4.2.42, released Mon Aug 18 21:39:33 1997. - -Mon Aug 18 20:22:14 1997 Carlos O'Ryan - - * apps/Gateway/Peer/Makefile: - No need to define LIBS=-lACE here, its already done in - wrapper_macros.GNU. Thanks to Cary Clark - for helping in this effort. - -Mon Aug 18 19:54:36 1997 Nanbor Wang - - * ace/OS.{h,i} (open, mutex_init, sema_init, event_init, mmap): - Added an extra argument LPSECURITY_ATTRIBUTE with default value - 0 to all these methods so that we can modify objects' security - attributes when needed. Thanks to Ivan Murphy for pointing this - out. - -Mon Aug 18 19:50:13 1997 Carlos O'Ryan - - * examples/Service_Configurator/Makefile: - * examples/Service_Configurator/IPC-tests/server/Makefile: - * apps/Gateway/Gateway/Makefile: - * examples/Connection/non_blocking/Makefile: - $(SOEXT) must be used instead of just .so, the former does not - work on all platforms, notably HP-UX. Thanks to Cary Clark - for helping in this effort. - -Mon Aug 18 19:46:27 1997 Carlos O'Ryan - - * ace/OS.i: - Added support for the missing netdb reentrant functions, even - under IRIX 6.2 with no threads. Thanks Paul Roman - for reporting this. - -Mon Aug 18 12:53:16 1997 David Levine - - * tests/Barrier_Test.cpp (tester): VxWorks doesn't support - thr_join(). Therefore, we need to work around it for now. - Maybe Wind River will fix it at some point. - -Mon Aug 18 12:38:52 1997 Steve Huston - - * ace/config-aix-4.2.x.h: Removed ACE_HAS_SVR4_TIME, added - ACE_LACKS_TIMESPEC_T. - -Mon Aug 18 12:00:31 1997 Carlos O'Ryan - - * ace/config-mvs.h: - MVS does not define timespec_t either. Thanks to Chuck - Gehr for reporting this. - -Mon Aug 18 10:41:05 1997 Carlos O'Ryan - - * ace/OS.h: - * ace/README: - On some platforms timespec_t is not defined. We added a new - config macro (ACE_LACKS_TIMESPEC_T) to handle that and we do a - typedef to solve the problem. - - * ace/config-freebsd-pthread.h: - * ace/config-freebsd.h: - * ace/config-linux-lxpthreads.h: - * ace/config-linux-pthread.h: - * ace/config-linux.h: - These are *some* config files that needed changes due to the new - timespec_t stuff. - -Mon Aug 18 09:34:11 1997 David L. Levine - - * ace/OS.cpp (ACE_Thread_Adapter): rearranged initializers to - match declaration order. - - * ace/Log_Record.h: declare "class ostream" if - ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION Log_Record.h. - - * ace/IOStream.h,Log_Msg.cpp,Log_Record.cpp, - tests/test_config.h: include iostream.h instead of ace/stdcpp.h - if ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - - * ace/config-vxworks*.h: added ACE_LACKS_TIMESPEC_T. - -Sun Aug 17 20:58:56 1997 Douglas C. Schmidt - - * ACE version 4.2.41, released Sun Aug 17 20:58:56 1997. - -Sun Aug 17 17:02:53 1997 Carlos O'Ryan - - * ace/config-irix6.x-sgic++-nothreads.h: - * ace/config-irix6.x-sgic++.h: - * include/makeinclude/platform_irix6.x-sgic++.GNU: - Finally a single config.h and platform_macros.GNU file can be use - for all the IRIX 6.X versions. - On SGI machines we need a higher value for - ACE_DEFAULT_BASE_ADDR, we used 1024*1024*1024, which works on - our site, but your mileage may vary. - - * include/makeinclude/platform_irix6.2_sgic++.GNU: - * include/makeinclude/platform_irix6.4_sgic++.GNU: - * ace/config-irix6.2-sgic++-nothreads.h: - * ace/config-irix6.2-sgic++.h: - * ace/config-irix6.4-sgic++-nothreads.h: - * ace/config-irix6.4-sgic++.h: - These files are no longer needed, see above. - - * ace/README: - * ace/ACE.cpp: - * ace/OS.h: - * ace/OS.i: - * ace/Profile_Timer.cpp: - * ace/Profile_Timer.h: - We no longer use timestruct_t in ACE, it is a SYSVism; we use - timespec_t instead. Hence we have no need for the config - macro ACE_HAS_SVR4_TIME, but we keep it there for future - reference. - - * tests/Reader_Writer_Test.cpp: - On IRIX using ACE_Thread::yield() degraded performance for - multiprocessor machines, but worse, the test will not behave as - expected: instead of interleaving read/write locks over the - RW_Mutex it will make all the write locks first and then the read - locks. The test uses ACE_OS::sleep() for yielding the CPU, - and it uses different pauses for each thread (see code for - details). Further, it yields the CPU *before* taking the - lock, to give other threads a chance. - -Sat Aug 16 18:17:10 1997 Douglas C. Schmidt - - * ACE version 4.2.40, released Sat Aug 16 18:17:10 1997. - -Sat Aug 16 18:13:22 1997 Douglas C. Schmidt - - * ace/ReactorEx.cpp (add_network_events_i): Revised the code to - use the ACE_BIT_CMP_MASK and ACE_SET_BITS macros to simplify the - code. - - * ace/OS.h: Added a new macro called ACE_BIT_CMP_MASK which checks - if a "bit-wise" & with a word == a particular mask. - - * ace/OS.cpp (thr_create): If we're in the Pthreads implementation - then we assume that ACE_thread_t and ACE_hthread_t are the same. - If this *isn't* correct on some platform, please let us know. - Thanks to Carlos O'Ryan . - - * ace/Auto_Ptr.cpp: Reverted the changes of ACE_Auto_Ptr to - auto_ptr since we want to be Standard C++ Library compliant. - However, we only define auto_ptr if ACE_HAS_STANDARD_CPP_LIBRARY - is *not* enabled. - - * Removed the INSTALL file since this is redundant with the HTML - version of this file (ACE-INSTALL.html). Thanks to David Levine - for doing the legwork to merge this. - -Sat Aug 16 15:11:24 1997 Darrell Brunsch - - * ace/Auto_Ptr.h: Put in an #include (for auto_ptr) if - the standard C++ library is being used. - - * ace/Auto_Ptr.*: Changed the checks for ACE_HAS_STANDARD_CPP_LIBRARY - to also check to see if it is defined to 0 (which means the same - as it not being defined). - - * ace/ReactorEx.cpp: Changed the use of auto_ptr to work with - the one in the Standard C++ library. - - * ace/config-win32-common.h: Added ACE_HAS_BROKEN_NESTED_TEMPLATES - and ACE_LACKS_STL_DEFAULT_TEMPLATE_PARAMETER for the MSVC versions - that need them. - - * ace/Registry.cpp: changed some variable names from iterator to - iter to prevent conflicts with another variable - - * ace/Registry.cpp: - STL/bstring.h: - - Changed references of NPOS to Istring::npos - -Sat Aug 16 14:17:07 1997 Carlos O'Ryan - - * ace/Auto_Ptr.i: - * ace/Auto_Ptr.cpp: - Some code was only included if ACE_HAS_STANDARD_CPP_LIBRARY was - defined; but the intention was exactly the opposite. - -Sat Aug 16 14:33:26 1997 David L. Levine - - * README,FAQ,Makefile: changed references from INSTALL file - to ACE-INSTALL.html. - -Fri Aug 15 19:51:52 1997 - - * ace/Auto_Ptr.h: A rarely used piece of ACE code has changed - names because of name conflicts with the Microsoft Standard C++ - Library. The change is from auto_ptr to ACE_Auto_Ptr. A perl - script ($ACE_ROOT/bin/auto_ptr.perl) is provided for users to - change their code accordingly. - - The following files were effected: - - ace: ACE.cpp Auto_Ptr.cpp Auto_Ptr.h Auto_Ptr.i OS.h - ReactorEx.cpp Service_Config.cpp Service_Object.h - - examples/Threads: future1.cpp future2.cpp test_future1.cpp - test_future2.cpp - - tests: Future_Test.cpp - -Fri Aug 15 17:41:28 1997 Douglas C. Schmidt - - * ACE version 4.2.39, released Fri Aug 15 17:41:28 1997. - -Fri Aug 15 13:33:04 1997 Nanbor Wang - - * ace/OS.h (ACE_DEFAULT_GLOBALNAME_W): Moved pathname delimiter - from ACE_DEFAULT_{LOCAL|GLOBAL}NAME_* to - ACE_DEFUALT_NAMESPACE_DIR on NT. We need to append local/global - name to get a unique mutex name for naming service. NT won't - let us put a backslash in lock name. ;( - -Fri Aug 15 14:50:26 1997 Steve Huston - - * ace/Makefile: Moved ARGV from the TEMPLATES section to the FILES - section; now builds on AIX. - - * ace/config-hpux-10.x.h: Don't redefine _HPUX_SOURCE. Move the - ACE_HAS_REENTRANT_FUNCTIONS and ACE_CTIME_R_RETURNS_INT to the - build-with-threads section. Thanks to Neil Cohen - for helping to flush these problems out. - - * tests/Makefile: If building on AIX, wipe out the tempinc directory - before each compilation to keep the driver from compiling all - prior programs' template instantiations in every link step. - -Fri Aug 15 13:07:26 1997 Douglas C. Schmidt - - * ace/Signal.cpp (remove_handler): Added some additional - parameters to ACE_Sig_Action usages in order to get this stuff - to compile with G++ on SunOS 4.1.4. Thanks to Kumar Neelakantan - for reporting this. - - * ACE version 4.2.38, released Thu Aug 14 23:07:26 1997. - -Fri Aug 15 13:33:04 1997 Nanbor Wang - - * ace/Naming_Context.cpp (ACE_Naming_Context): Moved the deletion - of name_options_ from close to dtor of this class so that we can - reconfigure the naming context. - -Fri Aug 15 10:28:14 1997 Darrell Brunsch - - * ace/OS.cpp: Changed uname() for Win32 so it returns information - for Windows 95 and NT. - -Thu Aug 14 18:06:37 1997 Chris Cleeland - - * ace/OS.[hi] (strsplit_r): Added a new method which splits a - string separated by tokens, similar to the way that perl's - split() works. This is different from the strtok() family b/c - for the string ":/foo:/bar::boo", strtok() would return "/foo", - "/bar", "boo", while strsplit_r() returns "", "/foo", "/bar", - "", "boo". This method is also properly re-entrant, and thus - safe to use among multiple threads. - - * ace/ACE.cpp (ldfind): Fixed this so that it now properly deals - with paths containing empty components intended to indicate - 'current directory'. - -Thu Aug 14 17:30:36 1997 Steve Huston - - * ace/config-hpux-10.x.h - Add ACE_LACKS_CONST_STRBUF_PTR, remove - ACE_HAS_POSIX_SEM, clarify comments regarding setting of - _CMA_NOWRAPPERS_ - thanks to Cary Clark for - helping in this effort. - -Thu Aug 14 16:14:47 1997 David L. Levine - - * ace/High_Res_Timer.cpp (print_ave,print_total): fixed format - specification for total_secs to be lu instead of lld. - -Thu Aug 14 14:06:37 1997 Chris Cleeland - - * ace/ARGV.cpp: Completed the explicit template instantiations for - this component. - -Thu Aug 14 11:27:03 1997 Edward Everett Anderson - - * ace/ARGV.* (argv): - - * Added another behavior to ACE_ARGV -- a user can iteratively - build the parameter set with add(). Made the class more - consistent so that accessors work no matter which constructor is - used. - -Thu Aug 14 10:14:37 1997 Darrell Brunsch - - * Made several changes to allow ACE to work with the new standard - C++ header files, such as and the built in STL. Thanks - to Matthias Kerkhoff for these changes. - The default is to use the old headers, unless the - ACE_HAS_STANDARD_CPP_LIBRARY is defined as 1. - - * ace/config-win32-common.h: - ace/config-win32.h: - - - Added ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB flag to - distinguish compilers who have the standard C++ library - declared in the namespace std and those who use the global - namespace for it - - - Enabled ACE_HAS_SIG_ATOMIC_T and ACE_HAS_TYPENAME_KEYWORD for - MSVC 5 - - - Changed the semantics of ACE_HAS_STANDARD_CPP_LIBRARY from - [defined/undefined] to [(undefined or defined as 0)/defined != 0] - to allow the choice between the old iostream and standard C++ - library for those platforms that support both - - - Don't define the ACE_LACKS_IOSTREAM_FX when building with MSVC - 5.0 and the standard C++ library. - - - If __ACE_INLINE__ is defined as 0, config-win32-common.h - undefines __ACE_INLINE__ to decrease the size of libraries and - executables. - - * ace/IOStream.cpp: Moved the #ifdef ACE_LACKS_ACE_IOSTREAM up to the - proper place - - * ace/IOStream.h: - ace/IOStream_T.h: - ace/Log_Msg.cpp: - ace/Log_Msg.h: - ace/Log_Record.cpp: - ace/Log_Record.h: - examples/ASX/Message_Queue/*.dsp: - examples/OS/Process/*.dsp: - examples/Threads/*.dsp: - examples/Threads/barrier2.cpp: - examples/Threads/task_three.cpp: - netsvcs/lib/Logging_Strategy.cpp: - - Updated to including stdcpp.h instead of , - , , etc. - - * ace/OS.h: Updated to use stdcpp.h instead of including the - normal C headers. Moved the includes into stdcpp.h to allow - switching between the old and new versions - - * ace/Registry.h: Changed to use the standard C++ headers for STL - and added a typedef Name_Component and Binding to - ACE_Registry::* to help some unresolved problems. - - * tests/Hash_Map_Manager_Test.cpp: - tests/test_config.h: - - Updated to #include ace/stdcpp.h instead of and - - - * ace/stdcpp.h: Updated to include more of the new standard C++ - header files, and also promote some of the iostream classes to - the global namespace. - - * ace/ace.dsp: - - - Added some folders like Templates and Documentation - - Added some files that were missing to the project - - Enabled function level linking for debug projects - - Set it to "Not using MFC" - - Removed wsock32.lib from the project settings (since - config-win32-common.h will tell the linker to use the correct - winsock library) - - Removed some other unnecessary libraries (OLE) from the - project. - -Wed Aug 13 23:02:45 1997 Douglas C. Schmidt - - * ACE version 4.2.37, released Wed Aug 13 23:02:45 1997. - -Wed Aug 13 13:26:27 1997 Douglas C. Schmidt - - * tests/Barrier_Test.cpp (main): Fixed the test of the ACE_Barrier - class so that it doesn't leak handles. This also illustrates - the use of the ACE_Thread::join() and - ACE_Thread_Manager::spawn_n() methods. Thanks to Ivan Murphy - for pointing this out. - - * ace/Thread_Manager.cpp (spawn_n): Note that if we get a null - thread_ids parameter we shouldn't try to index into it! - - * include/makeinclude/rules.local.GNU (OBJDIRS): Added - so_locations to the list of directories cleaned up during a make - clean/realclean. Thanks to Amos Shapira for reporting this. - - * ACE version 4.2.36, released Wed Aug 13 07:30:10 1997. - - * include/makeinclude/platform_irix6.[x-]32_sgic++.GNU: Added a - -Wl,-woff,133 to LDFLAGS to make the linker shutup about branch - instructions that might degrade performance - (what does this mean?). Thanks to Amos for this. - - * tests/test_config.h: Fixed a typo (ourput_file() should be - output_file()). How on earth did this ever work?! Thanks to - Amos Shapira for reporting this. - - * ace/Message_Queue.cpp: Added a couple of new ACE_UNUSED_ARGs - Thanks to Amos Shapira for reporting this. - - * ace/OS.cpp (gethrtime): ACE_OS::gethrtime should cast its return - value to ACE_hrtime_t instead of (u_long long). Thanks to - Amos Shapira for reporting this. - -Wed Aug 13 14:51:47 1997 Darrell Brunsch - - * ace/SString.[i,cpp]: moved some inline methods from the .i into - the .cpp so the Win32 Unicode Release compiles with inlining. - -Wed Aug 13 01:14:08 1997 Nanbor Wang - - * tests/test_config.h (ACE_NEW_THREAD): Removed - ACE_Log_Msg::set_flags/clr_flags from this macro because - ACE_Log_Msg::flags is a static variable. We really don't need - to reset them when creating new threads. Once VxWorks can also - inherit ACE_Log_Msg's properties, we no longer need this macro. - - * ace/Log_Msg.h: Added trace_depth() functions. They are required - for inheriting ACE_Log_Msg's properties. - - * ace/OS.cpp: Changed ACE_Thread_Adapter implementation so that - newly created threads will inherit properties from their parent - threads. This is the default behavior and is valid on all - platform except VxWorks. If you don't want it and would like to - arrange the properties propagation yourself, you must define - ACE_THREADS_DONT_INHERIT_LOG_MSG in your ace/config.h file. Now, - creating a new thread will go thru ace_thread_adapter on all - platform except VxWorks. If ACE_THREADS_DONT_INHERIT_LOG_MSG is - defined but your platform defines ACE_HAS_THR_C_FUNC or - ACE_WIN32, creating new threads still need to use - ace_thread_adapter. This change also fixes a previous problem - which let threads access another thread's TSS. - -Tue Aug 12 21:57:30 1997 David L. Levine - - * etc/ACE-guidelines.html: added. - -Tue Aug 12 16:54:33 1997 Douglas C. Schmidt - - * Added Chuck Gehr's explanation of how to build ACE for MVS to - the ACE-INSTALL.html file at http://www.cs.wustl.edu/~schmidt/. - - * ace/OS.i: changed the name of ACE_U_LongLong::dump() to - ACE_U_LongLong::output(). Also moved some of the code that was - inlined in the class definition into the *.i file. - - * netsvcs/lib/Server_Logging_Handler.cpp: Added a template - specialization for ACE_Atomic_Op to - make things link with SGI and other systems that have long - different than int. Thanks to Amos Shapira for reporting this. - - * ace/Reactor.cpp (close): Removed the #ifdefs around - notify_handler_.open () and notify_handler_.close() since this - is now supposed to be available on all build configurations. - Thansk to Stefan Ericsson for reporting this. - - * examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp: - Removed a static variable that seemed to be causing problems for - SGI C++. Also, removed the now unnecessary "inherited" from - Handle_Thr_Acceptor. - - * examples/ASX/UPIPE_Event_Server/Peer_Router.h, - * netsvcs/lib/Log_Message_Receiver.h: Added an - ACE_UNIMPLEMENTED_FUNC macro for the assignment operator to work - around silly "features" of SGI C++... - - * include/makeinclude/platform_irix6.[x-]32_sgic++.GNU: Added some - additional patches to suppress warning code. Thanks to Torbjorn - Lindgren for this fix. - - * include/makeinclude/platform_mvs.GNU: Changed all occurrences of - "MVSLIB" to "ACELIB". Thanks to Chuck Gehr for reporting this. - -Tue Aug 12 15:03:42 1997 Steve Huston - - * ace/Timer_Hash_T.cpp, Timer_Wheel_T.cpp: Replaced references to - ACE_High_Res_Timer::gettimeofday with ACE_OS::gettimeofday. - The High Res version is deprecated, and doesn't work correctly - on HP-UX. - -Tue Aug 12 07:51:02 1997 Douglas C. Schmidt - - * ACE version 4.2.35, released Tue Aug 12 07:51:02 1997. - -Mon Aug 11 22:30:39 1997 David L. Levine - - * include/makeinclude/platform_vxworks5.x_ghs.GNU: disabled - automatic template instantiation, because we use explicit - template instantiation, via a #pragma, with Green Hills. - Thanks to Brian Mendel for - finding the compiler options. - -Mon Aug 11 17:45:44 1997 Nanbor Wang - - * ace/OS.cpp (ace_thread_adapter): Changed the code so that TSS - ACE_Log_Msg will get created and put into cleanup stack first no - matter there is other ACE_Log_Msg instances or not. This fixed - the "order of destruction" problem on Win32 platform. Thanks to - Irfan for digging this out and helping solving it. - -Mon Aug 11 07:25:29 1997 - - * examples/Reactor/ReactorEx/test_reactorEx.cpp: Updated this - example to use the new Proactor and Asynch IO interfaces. - - * ace/Connector.cpp (activate_svc_handler): Fixed the "leak" of - svc_handler in case of error. Thanks to Wei Chiang - for reporting this. - -Mon Aug 11 01:11:26 1997 Douglas C. Schmidt - - * ACE version 4.2.34, released Mon Aug 11 01:11:26 1997. - -Mon Aug 11 01:06:02 1997 Douglas C. Schmidt - - * ace/Message_Queue.cpp (enqueue_tail_i): Inadvertantly - added "signal_dequeue_waiters()" where I meant - "signal_enqueue_waiters()." - - * include/makeinclude/wrapper_macros.GNU: Fixed a typo in the - wrapper_macros.GNU file that was causing link errors. - -Sun Aug 10 11:35:06 1997 Douglas C. Schmidt - - * ace/Message_Queue.cpp: To make sure that we have correctly - signaled waiters the signal_enqueue_waiters() and - signal_dequeue_waiters() methods now check the return value from - the semaphore release if ACE_HAS_OPTIMIZED_MESSAGE_QUEUE is - enabled. - - * include/makeinclude/wrapper_macros.GNU (VLDLIBS): Added a - new macro called ACELIB that can be used to make it easier - to enable static linking for ACE, i.e.: - - ACELIB = -Bstatic -lACE -Bdynamic - - or - - ACELIB = $(ACE_ROOT)/ace/libACE.a - - Can be added to the individual platform_macros.GNU file. This - allowed us to remove special code for MVS in wrapper_macros.GNU. - Thanks to Chuck Gehr for this fix. - - * netsvcs/lib: Added some comments after the #endifs. - - * ace/Filecache.cpp (insert_i): Updated the code so that we use - ACE_NEW_RETURN rather than operator new. This macro will - protect against failed allocations. - -Sat Aug 9 22:08:50 1997 Douglas C. Schmidt - - * ace: Added two new config files: - - config-irix6.x-sgic++.h - config-irix6.x-sgic++-nothreads.h - - This should hopefully consolidate the SGI platform - configuration. Thanks to Torbjorn Lindgren for - this fix. - - * include/makeinclude: Added two new platform macro files: - - platform_irix6.x-n32_sgic++.GNU: - platform_irix6.x-32_sgic++.GNU - - This should hopefully consolidate the SGI platform macros. - Thanks to Torbjorn Lindgren for this fix. - - * ace/Filecache.cpp: Fixed the syntax of the SGI pragma stuff. - Thanks to Torbjorn Lindgren for reporting this. - - * ace/Name_Request_Reply.h: Changed MAX_NAME_LEN to MAX_NAME_LENGTH - to avoid problems with Solaris 2.6. Thanks to Thanh Ma - for reporting this. - -Sat Aug 9 12:10:35 1997 Nanbor Wang - - * ace/config-win32-common.h (ACE_HAS_WINSOCK2): - * ace/config-win32.h (ACE_HAS_WINSOCK2): Rearranged definition of - this so that users can overwrite the default setting and choose - older Winsock if they want. No action needed for most NT - useres. Thanks to jmorey@tbi.com (John Morey) for pointing this - out. - -Sat Aug 09 11:28:36 1997 Steve Huston - - * ace/Profile_Timer.i: ACE_HAS_GETRUSAGE and !ACE_HAS_PRUSAGE - platforms now use ACE_OS::gettimeofday rather than - ACE_High_Res_Timer::gettimeofday in start() and stop() methods. - - * tests/Sigset_Ops_Test.cpp: adjusted test for sigismember() with - out-of-range signum to separately test return value and errno. - Also, returns non-zero from program on failed test. - -Fri Aug 08 17:39:43 1997 Douglas C. Schmidt - - * ACE version 4.2.33, released Fri Aug 08 17:39:43 1997. - -Fri Aug 08 02:50:31 1997 Douglas C. Schmidt - - * ace/Message_Queue: Factored out the code that differs depending - on whether we are using the optimized ACE_Message_Queue - implementation (i.e., VxWorks and NT). This change makes it - easier to maintain the code. Thanks to Darrell for helping with - this. - - * ace/Log_Msg.cpp (close): Fixed a couple of typos in this code, - in particular, we need to make sure that we don't call - ACE_Log_Msg_Manager::close() if we aren't multi-threaded. - - * ACE version 4.2.32, released Fri Aug 08 02:50:31 1997. - -Fri Aug 8 13:17:21 1997 Chris Cleeland - - * ace/OS.* (strtoul): Added the OS function strtoul() to turn - strings into unsigned longs. - -Fri Aug 8 12:26:54 1997 Steve Huston - - * ace/Log_Msg.cpp: Fixed some comments and removed unused code - I erroneously added August 6. - - * ace/config-hpux-10.x.h: Fixed to not always compile tracing code. - - * tests/test_config.h: ACE_END_TEST and ACE_END_LOG macros direct - log output back to stderr when shutting off the file output. - - * tests/TSS_Test.cpp: Removed ACE_Thread_Control object from the main - thread - it served no purpose and didn't work on HP-UX (due to - a documented pthread_exit restriction). Also changed a 'delete - ptr' to a call on operator delete (void *). - -Fri Aug 8 09:17:21 1997 Chris Cleeland - - * ace/Service_Repository.h (operations.): Improved documentation - on find(). - -Fri Aug 8 00:01:43 1997 Nanbor Wang - - * ace/Log_Msg.cpp (close): Moved ACE_Log_Msg::close() out of - ACE_MT_SAFE block so it always exists. This function only takes - care of non-VxWorks platforms. - - (instance): Removed at_exit() call since the instances will be - taken of by TSS_Cleanup. - - * ace/Object_Manager.cpp (~ACE_Object_Manager): Removed condition - compilation so it always calls ACE_Log_Msg::close(). - -Thu Aug 7 23:36:26 1997 Douglas C. Schmidt - - * ace/Reactor.h: Added the renew() method and the notify_handler_ - data member to all compilation cases, not just for - multi-threading. - - * ace/Service_Config.h: Clarified the fact that argv[0] is the - program name. Thanks to Chris Cleeland for pointing this out. - - * ace/config-mvs.h: Added the ACE_HAS_TEMPLATE_SPECIALIZATION flag - thanks to Chuck Gehr. - - * include/makeinclude/platform_irix6.2_sgic++.GNU: Turned on - exceptions and turned off implicit template instantiation. - Thanks to Amos Shapira for reporting the - former. - - * ace/config-irix6.2-sgic++.h: Also added the - ACE_HAS_TEMPLATE_SPECIALIZATION flag and changed the - platform_irix6.2.GNU file to not implicitly initialize - templates. If this breaks something, please let me know. - - * ace/config-irix6.2-sgic++.h: Added the ACE_HAS_EXCEPTIONS flag. - Thanks to Amos Shapira for reporting this. - However, there is some question as to whether this will work. - If it doesn't, please let me know. - - * ace/Reactor: Moved the ACE_Reactory_Notify class out from the - ACE_MT_SAFE section into the main code since this should work - for non-threaded builds, as well. Thanks to Stefan Ericsson - for reporting this. - - * ace/config-chorus.h: Added the ACE_HAS_TEMPLATE_SPECIALIZATION - flag. Thanks to Wei Chiang for this. - -Thu Aug 7 19:09:35 1997 Steve Huston - - * tests/Hash_Map_Manager_Test.cpp - split definition of Dumb_String - class to a new header, Hash_Map_Manager_Test.h. This makes AIX - C Set ++ happy. - - * tests/Process_Strategy_Test.cpp - split definitions of Options - and Counting_Service classes to Process_Strategy_Test.h for AIX - C Set ++'s benefit. - -Thu Aug 7 15:27:28 1997 Darrell Brunsch - - * ace/OS.h: Fixed typo in the definition of ACE_SYNCH_1 and - ACE_SYNCH_2 for ACE_HAS_OPTIMIZED_MESSAGE_QUEUE - -Thu Aug 7 13:05:20 1997 Chris Cleeland - - * ace/Strategies_T.h: Changed the argument to ACE_DLL_Strategy - from ACE_Service_Config to ACE_Service_Repository, which is more - concrete. - - * bin/g++dep (REL): Added sed rule so that TAO's dependencies are - set relative to $TAO_ROOT as well as $ACE_ROOT when the '-r' - option is utilized. - - * include/makeinclude/platform_linux_lxpthread.GNU (CCFLAGS): The - -Wall option can now be used. It only generates two warnings - throughout all of ACE! - - * include/makeinclude/rules.local.GNU (depend.local): Modified - this target so that TAO's dependencies are set relative to - $TAO_ROOT as well as $ACE_ROOT. - -Thu Aug 7 12:03:48 1997 James C Hu - - * ace/Filecache.{h,cpp}: Fixed unused variable found by Amos - Shapira. Fixed TEMPLATE_SPECIALIZATION dependency, sort of. Do - not attempt to use Filecache if you do not support - TEMPLATE_SPECIALIZATION. - -Thu Aug 07 00:19:12 1997 Douglas C. Schmidt - - * ACE version 4.2.31, released Thu Aug 07 00:19:12 1997. - -Wed Aug 6 22:20:54 1997 Douglas C. Schmidt - - * ace/Synch_T.h: Replaced all uses of ACE_Null_Condition_Mutex - with ACE_Null_Condition, which is much more straightforward... - - * ASNMP: Added Mike MacFaden's changes for IRIX. - -Wed Aug 6 16:37:51 1997 James C Hu - - * ace/Hash_Map_Manager.cpp: Changed implementation back to use a - single sentinel_ rather than an array of them. - - * ace/Filecache.{h,cpp}: Total re-implementations. Fewer locks - acquired and released when there is a cache hit. - -Wed Aug 06 12:55:26 1997 Steve Huston - - * ace/Log_Msg.(h cpp): - (ACE_Log_Msg_Manager) - Removed most of the non-VxWorks - pieces - there's just a lock left; the instances_ was removed - (ACE_Log_Msg) - Use ACE_Object_Manager to remove per-thread - instances of ACE_Log_Msg rather than using ACE_Log_Msg_Manager. - The use of an ACE_Unbounded_Set to hold the ACE_Log_Msg pointers - in previous versions caused some non-tail recursion problems when - tracing was enabled. - Uses an instance count to know when it's safe to free the dynamically - allocated class-static memory. - - * ace/Trace.(h cpp): Added new static member function: - int is_tracing(void) - returns 1 if tracing is enabled, else 0. - - * ace/Object_Manager.(h cpp): Added a flag to indicate the object is - being destroyed - during destruction, ACE_Object_Manager now refuses - to register any new memory pointers. Also turns tracing off during - destruction - ACE_Log_Msg makes use of ACE_Object_Manager, so we - don't want ACE_Log_Msg instance being deleted, then created for a - ACE_TRACE, then deleted, then created,... - -Wed Aug 06 03:35:41 1997 Douglas C. Schmidt - - * ACE version 4.2.30, released Wed Aug 06 03:35:41 1997. - -Wed Aug 6 00:13:27 1997 Nanbor Wang - - * netsvcs/lib/Server_Logging_Handler.cpp: We only need to - instantiate ACE_Svc_Handler when - ACE_HAS_THREADS. Otherwise, we'll have duplicate symbols - defined on platforms that do not support threads. - -Tue Aug 5 19:52:36 1997 Douglas C. Schmidt - - * ace/Containers: Added a new reset method for ACE_Unbounded_Set. - Thanks to Arturo Montes for - reporting this. - - * ace: Changed most uses of ACE_LACKS_COND_T to - ACE_HAS_OPTIMIZED_MESSAGE_QUEUE to make it possible to toggle - between the emulated condition variable implementation of - ACE_Message_Queue and the semaphore implementation. We need - this until we fully test out the semaphore implementation of - ACE_Message_Queue. - - * ace/Object_Manager.cpp (ACE_Object_Manager): Only call the - ACE_Log_Msg::close() method if ACE_MT_SAFE is enabled! Thanks - to Satoshi Ueno for reporting this. - - * ace/Malloc.h: Added a fix for misalignment of data in the - ACE_CONTROL_BLOCK_ALIGN_LONGS macro. Thanks to Fred LaBar - for this fix. - - * ace/ACE.cpp: (enter_recv_timedwait,enter_send_timedwait): Always - give val a default value of 0 to make Purify happy. Thanks to - David Levine for reporting this. - - * netsvcs/clients/Tokens/rw_lock/rw_locks.cpp, - netsvcs/clients/Tokens/manual/manual.cpp, - netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp: - Removed unreachable statements. Thanks to Cherif Sleiman - for reporting this deficiency and - testing the fix. - -Tue Aug 5 16:41:06 1997 Darrell Brunsch - - * ace/Synch_T.h: Added some more ACE_LACKS_COND_T changes for compilers - without template typdefs. - -Tue Aug 5 11:50:43 1997 Nanbor Wang - - * ace/Message_Queue.h: Fixed typos for the case when - ACE_LACKS_COND_T. - -Tue Aug 05 11:02:11 1997 - - * tests/Atomic_Op_Test.cpp (main): Made sure that on platforms - without threads, we don't try to run this test. - -Tue Aug 05 09:15:40 1997 David L. Levine - - * include/makeinclude/platform_vxworks5.x_ghs.GNU: removed - -no_prelink from LDFLAGS because ghs 1.8.8 doesn't support it. - Thanks to Cherif Sleiman for - reporting this. - - * ace/Service_Record.cpp: added #include "ace/Stream_Modules.h" - to support template instantiation on GreenHills, at least. - Thanks to Cherif Sleiman for - reporting this deficiency and testing the fix. - - * ace/config-vxworks-ghs-1.8.h: added - ACE_LACKS_LINEBUFFERED_STREAMBUF. Thanks to Cherif Sleiman - for reporting this. - -Mon Aug 4 22:47:54 1997 Douglas C. Schmidt - - * ace/Message_Queue: Fixed consistency problems in naming notfull - vs. not_full. Thanks to David Levine for finding this. - - * ace/Message_Queue: Added specialized support for cases where - ACE_LACKS_COND_T (e.g., VxWorks and NT). This scheme uses - ACE_Thread_Semaphores in this case, which should be more - efficient). - - * ace/Synch_T.h: Added a new set of macros and typedefs for - ACE_SYNCH_SEMAPHORE. - - * examples/ASX/Message_Queue: Cleaned up all the Message_Queue - examples. - - * examples/ASX/Message_Queue/buffer_stream.cpp: Added a - NUL-terminator to the program so that it won't break. Thanks to - Darrell for finding this. - - * ace/Reactor.cpp (wait_for_multiple_events): Fixed some - stylistic problems in the Reactor. - - * ace/Synch.cpp (ace_static_object_lock_atexit): Changed from: - - extern "C" static void - - to: - - extern "C" void - - Thanks to Chuck Gehr for this. - -Mon Aug 4 14:03:22 1997 Steve Huston - - * tests/Enum_Interfaces_Test.cpp: return non-zero if test fails. - -Mon Aug 4 12:03:29 1997 Darrell Brunsch - - * tests/Semaphore_Test: Redid to test timed waits in a more - reasonably fashion. - -Mon Aug 4 11:43:09 1997 Douglas C. Schmidt - - * ace/OS: Continued to cleanup the problems with inconsistent - variants of sendmsg() and writev() on VxWorks. Thanks to Cherif - Sleiman for reporting this. - - * ace/OS.i (sema_wait): Fixed the implementation on NT so that - errno = ETIME. - - * tests/Semaphore_Test.cpp: Cleaned up the programming style a - bit. - - * ace/OS (writev): Removed the ACE_WRITEV_TYPE from the - ACE_OS::writev() method and instead put this as a cast on the - internal call to ::writev(). This is much cleaner and should - fix a bug introduced last night. Thanks Cherif Sleiman - for reporting this. - - * ace/Synch: Added a new release() method to ACE_Semaphore that - enables a caller to release multiple waiters. Thanks to Darrell - Brunsch for noticing this. - -Mon Aug 4 12:03:29 1997 Darrell Brunsch - - * tests/Semaphore_Test: Redid to test timed waits in a more - reasonably fashion. - -Sun Aug 03 23:47:13 1997 Douglas C. Schmidt - - * ACE version 4.2.29, released Sun Aug 03 23:47:13 1997. - -Sun Aug 3 22:18:33 1997 Douglas C. Schmidt - - * tests/Atomic_Op_Test.cpp: Added template specialization so that - David won't have to ;-) - - * ace/ACE: Added a new, complete set of send/recv operations with - timeouts. These implement the following methods: - - read, readv, write, writev, recv, recvfrom, recvmsg, send, sendto, sendmsg. - - The implementation provides two flavors: MIT pthread support, an - ACE portable support. To use MIT pthread support, you must to - define ACE_HAS_READ_TIMEDWAIT, ACE_HAS_READV_TIMEDWAIT, - ACE_HAS_WRITE_TIMEDWAIT, ACE_HAS_RECV_TIMEDWAIT, - ACE_HAS_RECVFROM_TIMEDWAIT, ACE_HAS_RECVMSG_TIMEDWAIT, - ACE_HAS_SEND_TIMEDWAIT, ACE_HAS_SENDTO_TIMEDWAIT and - ACE_HAS_SENDMSG_TIMEDWAIT respectively. See the config.h file - for SCO UNIX for an example. - - This new approach is not only more powerful (since it takes - advantage of OS-level mechanisms when they exist), but it also - greatly improves the modularity of the code and provides a - wider range of supported functionality. Thanks to Arturo - Montes for this new feature. - - * ace/ACE.cpp: Added comments to the ACE_Object_Manager_Destroyer - class. - - * ace/OS.h: Redid all the function prototypes for class ACE_OS so - that it's easier to read the arguments. - - * ace/config-sco-5.0.0-mit-pthread.h: Added the new macros that - enable timed reads and writes. Thanks to Arturo Montes - for this new feature. - - * ace: Added a corresponding #endif /* FOO */ for all #if defined - (FOO) in ACE. - - * ace: Changed all uses of ACE_IOStream_T to ACE_IOStream to - be more consistent with other uses of templates in ACE. - Thanks to Thilo for reporting this (and thanks to David - for not being offended ;-)). - - * ace/OS.i (operator/): Removed "const" from both the OS.h and - OS.i files for ACE_U_LongLong::operator/. It is redundant, - potentially confusing, and gives warnings on some compilers! - -Sun Aug 03 21:20:12 1997 - - * tests/Atomic_Op_Test.cpp: Added new test to test the Atomic - Operations Class in ACE. On platforms like Win32, ACE uses - template specialization to use native implementations provided - by the OS to accelarate these operations. - - * ace/config-win32-common.h (ACE_HAS_INTERLOCKED_EXCHANGEADD): - Added macro to config file. This macro is automatically set true - for NT4.0 systems or greater. - - * ace/Atomic_Op.i: On Win32 platforms, this code will be included - as template source code and will not be inlined. Therefore, we - first turn off ACE_INLINE, set it to be nothing, include this - code, and then turn ACE_INLINE back to its original setting. All - this nonsense is necessary since the generic template code that - needs to be specialized cannot be inlined, else the compiler - will ignore the specialization code. Also, the specialization - code *must* be inlined or the compiler will ignore the - specializations. - - The creation of this new file is necessary for non-Win32 - platforms to continue to inline the code as before. - - * ace/Synch_T.cpp: This file must include Atomic_Op.i if - ACE_INLINE has not be turned on. If it is, this file must be - included by Synch_T.h. - - * ace/Synch.cpp: Moved the specialization code from Synch.cpp to - Atomic_Op.i. This is necessary, otherwise the compiler will - ignore the specialization. - -Sun Aug 03 10:51:34 1997 David L. Levine - - * ace/config-osf1-4.0*.h: added #define ACE_HAS_LONGLONG_T. - Thanks to Thilo for reporting that OSF1-4.0 does. - -Sat Aug 02 23:51:19 1997 Douglas C. Schmidt - - * ACE version 4.2.28, released Sat Aug 02 23:51:19 1997. - - * ace/TTY_IO.cpp (control): Fixed a bug when using 8 bits for - character due to ISTRIP flag setting for device. Thanks to - Arturo Montes for reporting this bug. - - * ACE-categories: Updated the list of ACE classes to reflect - recent changes. - - * ASNMP: Added the new ACE+SNMP release courtesy of Mike - MacFaden . This builds cleanly on Solaris, - but it looks like there are a bunch of non-portable features - that won't compile cleanly on all the other platforms. - Therefore, until Mike or others get this stuff fully portable, - it won't be build by default in the top-level ACE Makefile. - - * ace/OS.h (class ACE_U_LongLong): Reformatted this a bit. - - * ace/SV_Semaphore_Simple.i: Removed the #include of - SV_Semaphore_Simple.h since it seems unnecessary and is causing - problems for TAO. - - * ace/IOStream_T.h (ACE_IOStream_T): Removed the unneeded ';' at - the end of the ACE_UNIMPLEMENTED_FUNC macros since this was - causing compiler errors. - -Sat Aug 02 13:11:22 1997 David L. Levine - - * ace/Synch.cpp (ACE_Static_Object_Lock::instance): commented - out call to ::atexit () because it causes shutdown problems - on DEC CXX, HP/UX, and AIX. Many thanks to James Johnson - for tenaciously tracking this one down, to Thilo and Steve - for assisting, and to all who reported the problem. - - * ace/Log_Msg.cpp (ACE_Log_Msg_Manager::open,close): neutered - on VxWorks, only, so that it will compile. - -Fri Aug 1 21:33:18 1997 Nanbor Wang - - * netsvcs/lib/netsvcs.mak: Added post compilation command that - copies DLL to ace/ directory because netsvcs/main.exe must have - this file in search path. - - * ace/Read_Buffer.cpp (ACE_Read_Buffer): Used ACE_OS::fdopen - instead of ::fdopen because it caused compilation error on NT. - -Fri Aug 1 17:25:04 1997 Chris Cleeland - - * include/makeinclude/platform_irix6.4_sgic++.GNU (CCFLAGS): Used - -ptnone and -no_prelink in order to get SGI to compile properly. - - * ace/config-irix6.4-sgic++.h (ACE_HAS_EXCEPTIONS): Added - ACE_HAS_EXCEPTIONS to this config. - - * ace/IOStream_T.h (ACE_IOStream_T): Wrapped send, recv, send_n, - and recv_n with the ACE_UNIMPLEMENTED_FUNC macro. - -Fri Aug 1 17:08:32 1997 Nanbor Wang - - * ace/ace.mak: Put OS.cpp back into the makefile. - - * ace/config-win32-common.h: Commented out checking of - ACE_HAS_WINSOCK2 when we are using NT 4.0 and above. The - original check prevented us from using winsock2. - - * ace/Thread_Manager.cpp: - * ace/Service_Repository.cpp: - * ace/ReactorEx.cpp: - * ace/Reactor.cpp: - * ace/Proactor.cpp: - * ace/Malloc.cpp: - * ace/Synch.{h,cpp}: Changed the lock held by - ACE_Static_Object_Lock from ACE_Thread_Mutex to - ACE_Recurssive_Thread_Mutex. - - * ace/Timer_Heap_T.cpp (ACE_Timer_Heap_T): Something was missing - here..... - -Fri Aug 1 13:39:13 1997 Douglas C. Schmidt - - * ace/TTY_IO.cpp (control): Removed the special M_UNIX code for - SCO_OpenServer. Thanks to Arturo Montes - for reporting this. - - * ace/Read_Buffer.cpp (ACE_Read_Buffer): Mistakenly used int - rather than ACE_HANDLE for one of the constructors in - ACE_Read_Buffer. - - * ace/OS.cpp (readv): Fixed a braino that manifests itself on - Chorus because I put the ACE_READV_TYPE in the wrong place. - Thanks to Wei Chiang for reporting this. - -Fri Aug 1 14:31:22 1997 Darrell Brunsch - - * tests/Timer_Queue_Test.cpp: removed casts from pointers to ints - (when a act was compared with a number) and instead used a cast - on the integer values. This gets rid of warnings on platforms - where the sizeof a pointer is larger than the sizeof an int. - -Fri Aug 01 12:10:28 1997 - - * ace/Synch_T: Changed parameter passing for ACE_Atomic_Op from - const TYPE to const TYPE &. - - * ace/Synch.cpp: These specializations have been added to - ACE_Atomic_Op to make the implementation faster on Win32 that - has OS support for doing this quickly through methods like - InterlockedIncrement and InterlockedDecrement. - - * ace/SV_Semaphore_Complex.cpp (open): Fixed more compiler - warnings: - - IOStream.cpp Naming_Context.cpp Read_Buffer.cpp - SV_Semaphore_Complex.cpp SV_Semaphore_Complex.i - -Fri Aug 1 11:57:45 1997 Chris Cleeland - - * ace/Containers.h (ACE_Fixed_Set): Eliminated declaration for - unnecessary ACE_Fixed_Set(size_t) CTOR. - - * ace/OS.h: Simplified the typedef of ACE_hrtime_t so that it's an - unsigned long long whenever ACE_HAS_LONG_LONG_T is defined. - -Fri Aug 01 10:12:26 1997 David L. Levine - - * ace/config-osf1-4.0.h: added ACE_HAS_TEMPLATE_SPECIALIZATION. - Thanks to Thilo for verifying that this is supported with DEC CXX. - - * ace/config-irix6.4-sgic++*.h: added ACE_TEMPLATES_REQUIRE_SOURCE - and ACE_REQUIRES_FUNC_DEFINITIONS. - - * ace/OS.h,README: added ACE_REQUIRES_FUNC_DEFINITIONS support. - - * ace/{Free_List.h,Remote_Tokens.h,Synch_T.h,Timer_*_T.h}: - wrapped unimplemented template class copy constructors and - assignment operators with ACE_UNIMPLEMENTED_FUNC. - - * tests/Service_Config_Test.cpp: removed templates to avoid - problems with finicky compilers, and added check of destruction - ordering. - - * include/makeinclude/platform_vxworks5.x_ghs.GNU: added - -no_prelink to LDFLAGS. - -Fri Aug 01 00:14:46 1997 Douglas C. Schmidt - - * ACE version 4.2.27, released Fri Aug 01 00:14:46 1997. - -Thu Jul 31 21:51:01 1997 David L. Levine - - * ace/Log_Msg.cpp (open): fixed memory leak. - -Thu Jul 31 21:41:10 1997 Douglas C. Schmidt - - * tests/Service_Config_Test.cpp (run_test): You won't shout as I... - - * ace/Object_Manager.cpp (instance): ... fiddle about ;-) - -Thu Jul 31 17:39:56 1997 - - * ace: The following files were modified to avoid the - "unreferenced formal parameter" and other warnings from the - compiler: - - ACE.cpp Asynch_IO.cpp Asynch_IO.h INET_Addr.cpp OS.cpp OS.h OS.i - Proactor.cpp Reactor.cpp ReactorEx.cpp ReactorEx.i - SOCK_Dgram_Bcast.cpp Service_Config.cpp - -Thu Jul 31 16:46:44 1997 David L. Levine - - * ace/config*.h: replaced "ACE_REQUIRES_TEMPLATE_SPECIALIZATION" - with "ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION". - - * ace/config-vxworks-ghs-1.8.h,config-irix6.4-sgic++*.h: added - ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA. - - * all .cpp files that had "ACE_REQUIRES_TEMPLATE_SPECIALIZATION": - replaced with "ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION" and - added #pragma instantiate for Edision Design Group compilers, - e.g., SGI and Green Hills. - -Thu Jul 31 16:25:33 1997 Douglas C. Schmidt - - * ace/Synch.i (acquire): Added the timed acquire() interface to - ACE_Semaphore. - -Thu Jul 31 11:10:17 1997 Darrell Brunsch - - * tests/run_tests.bat: Redid this file completely making it - much smarter about running tests. Instead of just blindly - executing the tests, it checks the return values to see if - an error occured and also outputs relevant errors from the - log file if the test was unsuccessful. - - It's a remarkable example of batch programming wizardry. - -Thu Jul 31 10:39:04 1997 Darrell Brunsch - - * ace/INET_Addr.cpp: initialized error variable in - gethostname to stop warnings when inlining is on. - -Thu Jul 31 09:46:50 1997 Darrell Brunsch - - * ace/Timer_Heap_T.cpp: changed cancel(id) to check the timer - id to make sure it is in range (not negative and not larger - than the current size of the heap) - -Thu Jul 31 07:32:26 1997 David L. Levine - - * Malloc_T.{i,cpp},Timer_Queue_T.i: replaced LOCK with ACE_LOCK. - Thanks to Thilo for supplying patches. - - * ace/config-sunos5.5-g++.h: #define ACE_MALLOC_ALIGN to be 8. - - * ace/Object_Manager.*: renamed cleanup () to at_exit (). - - * Log_Msg.{h,cpp},Object_Manager.cpp: let ACE_Object_Manager - clean up the global ACE_Log_Msg_Manager. - - * Service_Config_Test.cpp: added test of - ACE_Object_Manager::at_exit (). - -Wed Jul 30 20:30:25 1997 Douglas C. Schmidt - - * ace/SOCK_Dgram.h: Added an = 0 to the flags parameter to recv(). - Thanks to Michael MacFaden for pointing out the inconsistency. - - * ace/OS.cpp (thr_create): Added support for the SCHED_IO policy, - which is supported by MIT Pthreads. Thanks to Arturo Montes - for this fix. - - * ace/SOCK_Dgram.h: Added a comment to clarify how to delete the - elements of the iovec array. Thanks to Mike MacFaden for - clarifying this. - - * ace/Reactor.h: Changed the comment for schedule_timer() to use - delta_timer rather than delay. - - * ace/Connector: Updated the timer cancellation id to be long - rather than int. - - * examples/Reactor/Misc/notification.cpp: Timers are now working - happily on Chorus, so we can revert the Chorus-specific patches. - Thanks to Wei Chiang for reporting this. - - * ace/SOCK_Dgram.cpp (recv): The timed recv() method must return - -1 on a timeout to meet its documented specification. Thanks to - Joseph Cross for reporting this - problem. - - * ace/OS.i (readv): Added a fix for Chorus, which has a different - readv() prototype than normal operating systems. Thanks to Wei - Chiang for reporting this. - -Wed Jul 30 20:02:21 1997 James C Hu - - * ace/Hash_Map_Manager.{h,cpp}: changed the *_i methods to use - shared_find() method to ease template specialization efforts. - Also, added a new shared_find() method. Added a parameter to - each to allow the passing in of the calculated hash value. - -Wed Jul 30 16:43:34 1997 - - * ace/config-win32-common.h: If _DEBUG is not set (that is, we are - building the Release version), we will turn on __ACE_INLINE__. - Thanks to Matthias Kerkhoff for - suggesting this. - -Wed Jul 30 06:53:30 1997 Matthias Kerkhoff - - * The use of the following configuration #defines in the entire - ACE distribution has been changed: - - - ACE_HAS_WINNT4 - - ACE_HAS_MFC - - ACE_HAS_STRICT - - ACE_MT_SAFE - - ACE_HAS_DLL - - ACE_HAS_SVC_DLL - - ACE_HAS_WINSOCK2 - - ACE_HAS_ORBIX - - ACE_HAS_MT_ORBIX - - In previous ACE-versions, code blocks depending on one of these - defines have been guarded by an #if defined(ACE_XXX_OPTION). - Therefore it has been necessary to define the default - configuration unconditionally in config-win32.h. - - The #if statements in the source files have been changed to - - #if defined(ACE_XXX_OPTION) && (ACE_XXX_OPTION != 0) - - while the default configuration in config-win32.h will only be used, - if it has not been overridden from the compilers command line (i.e.) : - - #if !defined(ACE_XXX_OPTION) - #define ACE_XXX_OPTION 1 - #endif - -Wed Jul 30 14:46:33 1997 Nanbor Wang - - * ace/Malloc.cpp: - * ace/Proactor.cpp: - * ace/ReactorEx.cpp: - * ace/Reactor.cpp: - * ace/Service_Repository.cpp: - * ace/Thread_Manager.cpp: - * ace/Synch.{h,cpp}: Changed ACE_Static_Object_Lock::get_lock () - to instance () to emphasize that it's a singleton. - - * ace/Containers.cpp: Fixed the problem caused by - ACE_Unbounded_Stacknotkeeping its size currectly. Thanks for - Matthias Kerkhoff for sending us the - patch. - - * ace/OS.cpp (exit): Corrected a bug in ACE_TSS_Cleanup::exit (). - It innocently uses default ctor to copy info_arr. And things - get out of hand when info_arr[] gets destructed. Thanks very - much for Matthias Kerkhoff for digging - this out and sending us the patch. - -Wed Jul 30 13:36:55 1997 David L. Levine - - * ace/config-vxworks-ghs-1.8.h: added #ifdef ppc wrapper around - #define of ACE_HAS_POWERPC, because GreenHills #defines that. - - * include/makeinclude/platform_vxworks5.x_ghs.GNU: replaced - indlib.o LIBS with newer ghsbltin.o and ghsmath.o. - - * ace/OS.h: use the same ACE_UNUSED_ARG definition with ghs as - with other compilers. - - * ace/Object_Manager.*: revised interface, but still in flux. - cleanup () should work for process-wide registration, but is - untested. - -Wed Jul 30 11:13:57 1997 Chris Cleeland - - * ace/config-linux*.h (ACE_HAS_LONGLONG_T): These configs - file incorrectly had ACE_HAS_LONGLONG rather than - ACE_HAS_LONGLONG_T. - - * ace/OS.cpp (gethrtime): Added 'volatile' keyword to insure that - the automatic variables 'most' and 'least' don't get put into - registers. Putting this in stopped the SIGSEGV that was occurring - in Linux. - -Wed Jul 30 06:53:30 1997 Douglas C. Schmidt - - * ACE version 4.2.26, released Wed Jul 30 06:53:30 1997. - -Wed Jul 30 04:36:39 1997 Nanbor Wang - - * ace/Containers.{h,cpp}: Added back new parameterized allocation - strategy version. Finally. - - * ace/Synch.cpp (atexit): Moved ACE_Allocator here because only - here, we can be sure that no other user defined memory - activities are going on. This is becoming even more - interesting now.... Perhaps we should move all - close_singleton's here? - - * ace/Service_Config.cpp (close_singletons): Removed - ACE_Allocator::close_singleton () from this function because we - still need ACE_Allocator to "free" static objects' memory. - - * ace/Synch.{h,cpp}: Added a new class ACE_Static_Object_Lock - which provides a lock when instantiating static objects. - - * ace/Thread_Manager.cpp: Removed ace_thread_manager_lock_, - * ace/Service_Repository.cpp: Removed ace_service_repository_lock_, - * ace/ReactorEx.cpp: Removed ace_reactorex_lock_, - * ace/Reactor.cpp: Removed ace_reactor_lock_, - * ace/Proactor.cpp: Removed ace_proactor_lock_, - * ace/Malloc.cpp: Removed ace_malloc_lock_, - and replace them with a global single lock - ACE_Static_Object_Lock::get_lock (). - -Tue Jul 29 16:25:48 1997 Chris Cleeland - - * ace/OS.cpp (thr_create): Explicitly flagged 'stack' and 'size' - as unused arguments. - - * ace/Memory_Pool.cpp (handle_signal): Explicitly flagged siginfo - as an unused argument, and moved the decl of offset into the - conditional block in which it's used. - - * ace/OS.i (dlerror): Added explicit cast of the return value to - (char*) because on Linux dlerror() returns const char*, while on - Solaris it's char*. - - * ace/config-linux-lxpthreads.h: Created new flag - ACE_LACKS_POSIX_PROTO_FOR_SOME_FUNCS that can be used when only - certain functions are missing POSIX prototypes. This eliminates - more warnings with -Wall - - * ace/ACE.cpp (max_handles): Added return statement for the - RLIMIT_NOFILE case. - (count_interfaces): Removed unused variables. - -Tue Jul 29 15:10:35 1997 Darrell Brunsch - - * ace/OS.i: Changed sema_wait to take in a const ACE_Time_Value - -Tue Jul 29 12:41:27 1997 Douglas C. Schmidt - - * ace/config-sco-5.0.0-mit-pthread.h: Added the - ACE_LACKS_PWD_FUNCTIONS macro. Thanks to Arturo Montes - for reporting this. - -Tue Jul 29 13:10:00 1997 Nanbor Wang - - * ace/Signal.h: Moved inclusion of "Containers.h" to the bottom of - this file so everything is defined properly before use. - -Tue Jul 29 12:36:24 1997 - - * tests/Message_Queue_Test.cpp (main): Removed dynamic allocation - of the string array. - -Tue Jul 29 12:15:49 1997 Darrell Brunsch - - * ace/Proactor.cpp - * ace/Reactor.cpp: - * ace/ReactorEx.cpp: Changed the default Timer Queue to - Timer Heap instead of Timer List. - -Tue Jul 29 07:59:04 1997 David L. Levine - - * Makefile,TAO/Makefile: change mode of updated ChangeLog-* - file to 644 after updating it, when building a release - with TIMESTAMP enabled. - - * ace/OS.cpp (sched_params): added some more initializations - to 0 to avoid Purify warnings about unitialized memory reads. - - * ace/Object_Manager.cpp (~ACE_Object_Manager): removed unused - variable "i". Thanks to Amos Shapira - for reporting this. - - * ace/Service_Record.{h,i} Parse_Node.{h,cpp} (handle,open_handle): - removed "const" from ACE_SHLIB_HANDLE return value. Thanks - to the several people who noted compiler warnings from this. - - * ace/Naming_Context.cpp: added delete of this->name_options_; - (dtor,fini): call this->close (). - - * tests/IOStream_Test.cpp (client,server): use ACE_NEW_RETURN - instead of new. - -Tue Jul 29 01:53:18 1997 Nanbor Wang - - * ace/OS.h: Added two new macros ACE_NEW_MALLOC_RETURN and - ACE_NEW_MALLOC. Theses are similiar to ACE_ALLOCATOR_RETURN and - ACE_ALLOCATOR that allow memory allocation using user defined - functions. However, these two macros will call specified - constructor after memory is being allocated. - - * ace/Containers.{h,cpp}: Decoupled memory allocation strategy for - ACE_Unbounded_Stack, ACE_Unbounded_Set, ACE_Unbounded_Queue. - Users can now specified their own memory allocation strategies - if needed. If not specified, the default ACE_Allocator will be - used. - -Tue Jul 29 00:56:54 1997 Douglas C. Schmidt - - * ACE version 4.2.25, released Tue Jul 29 00:56:54 1997. - -Mon Jul 28 16:23:26 1997 David L. Levine - - * include/makeinclude/rules.nested.GNU: added missing - semicolon at end of last statement. Thanks to Amos - Shapira for providing this fix. - - * ace/OS.h (VxWorks only): only #include before - for GreenHills. Thanks to Dave Moore - for reporting a problem without this - fix with g++/VxWorks 5.3.1 for PowerPC target. - Also, commented out g++ string.h hack. It no longer appears - to be necessary. - - * tests/README: added VxWorks 5.3.1 test status. - - * tests/SPIPE_Test.cpp (main): fixed #ifdefs so that it compiles. - - * ace/OS.i: (strtok_r): replaced NULL with 0. NULL is #defined - as (void *) 0 on VxWorks, so it causes compile warnings. - Thanks to Dave Mayerhoefer for reporting - this problem. - - * ace/Object_Manager.{h,cpp},Makefile: added this class to - shutdown ACE library services, and reclaim their storage, - at program termination. - - * ace/ACE.cpp: added hook to call ACE_Object_Manager destructor - in this file. It's in this file so that it's sure to be - linked in to executables that statically link libACE.a. - - * ace/Service_Config.{h,cpp}: (close): delete ACE_STATIC_SVCS - instance, which is now saved in static_svcs_. Also, removed - LM_SHUTDOWN call, because the logger apparently gets shutdown - now with everything else (with ACE_Object_Manager). - - * ace/Object_Manager.* (delete_at_exit,delete_array_at_exit): - made these (inline) static functions, with return values. - - * tests/IOStream_Test.cpp (client,server): explicitly destroy - (and create) ACE_SOCK_IOStream instances, because they don't - get destroyed on Solaris. They're on the stack of separate - threads, so maybe the problem is related to not cleaning up - TSS on Solaris. Thanks to James CE Johnson - for some efficient debugging work, and for verifying that the - original code works properly on Linux. - -Mon Jul 28 21:59:09 1997 Nanbor Wang - - * ace/ace.mak: Added file Object_Manager.cpp. - - * ace/OS.h: Added #define RTLD_LAZY when - ACE_HAS_SVR4_DYNAMIC_LINKING and RTLD_LAZY is not defined. - FreeBSD 2.2.1 "forgot" to put in this definition. Thanks to - Satoshi Ueno for reporting this. - -Mon Jul 28 13:27:21 1997 Douglas C. Schmidt - - * ace/Object_Manager: Made a few minor stylistic updates. - - * netsvcs/servers/main.cpp (main): Updated this test program to - utilize the new ACE_Service_Object_Ptr class. - - * ace/Service_Object.h: Added a new smart pointer call - ACE_Service_Object_Ptr, which generalizes functionality that was - previously in the ./netsvcs/server/main.cpp file. Thanks to Wei - Chiang for this suggestion. - - * examples/Threads/process_manager.cpp (parse_args): Removed the - unused n_processes global variable. Thanks to Amos Shapira for - reporting this. - - * tests/SPIPE_Test.cpp (main): Cleaned up the #ifdef structure - to remove compiler warnings. Thanks to Amos Shapira for - this. - - * tests/Handle_Set_Test.cpp (test_performance): Removed an unused - ACE_HANDLE handle definition. Thanks to Amos Shapira for - reporting this. - - * ace/OS.i (sema_init): Swapped else and #endif to avoid - a compile error when ACE_LACKS_NAMED_POSIX_SEM is false. - Thanks to Wei Chiang for reporting this. - - * ace/OS.cpp (rwlock_init): Added a cast to (const void *) to keep - certain compilers from complaining. Thanks to Thilo and - Amos Shapira for reporting this. - - * ace/OS.i (sema_wait): *tv should have been &tv. Thanks to Thilo - for reporting this. - -Mon Jul 28 13:57:21 1997 James C Hu - - * ace/config-irix6.4-sgic++.h: Added template specialization #def. - -Sun Jul 27 20:47:01 1997 David L. Levine - - * tests/Handle_Set_Test.cpp: Instantiate templates with - ACE_HANDLE instead of int. - - * examples/IPC_SAP/SPIPE_SAP/NPServer.cpp (main): use - ACE_OS::fprintf () instead of cerr. - -Sun Jul 27 20:10:26 1997 Douglas C. Schmidt - - * ACE version 4.2.24, released Sun Jul 27 20:10:26 1997. - -Sun Jul 27 16:03:30 1997 Nanbor Wang - - * tests/Handle_Set_Test.cpp (test_boundaries): Changed class of - queue from ACE_Unbounded_Queue to - ACE_Unbounded_Queue so it declares the right data - type. - - * ace/Synch.cpp (ACE_Process_Mutex): - * ace/OS.cpp (rwlock_init): - * ace/ACE.cpp (unique_name): Memories for placing unique_name are - now declared using ACE_UNIQUE_NAME_LEN. When calling - ACE::unique_name, the length is also specified using - ACE_UNIQUE_NAME_LEN because using "sizeof (buffer)" also caused - problem if we are using UNICODE. - - * ace/OS.h: Added a new directive ACE_UNIQUE_NAME_LEN to specified - the maximum length of an "unique name." - -Sun Jul 27 15:32:08 1997 David L. Levine - - * tests/Handle_Set_Test.cpp (main): uncommented - test_duplicates () and test_performance () calls, and added - ACE_Unbounded_Queue_Iterator specialization. - -Sun Jul 27 14:25:33 1997 Douglas C. Schmidt - - * tests/Handle_Set_Test.cpp (test_boundaries): Added a better test - to ensure that the ACE_Handle_Set_Iterators are working - correctly. This works by inserting the handles in a queue and - then making sure that they are the same values we receive from - the iterator. - - * ace/Handle_Set.i (operator): Fixed a subtle bug in the - ACE_Handle_Set_Iterator implementation. We need to make - sure that we increment the handle_index_ to the beginning - of the next word whenever we've examined all the bits in - the current word. Thanks to David Levine for noticing this - problem. - -Sun Jul 27 09:06:29 1997 David L. Levine - - * include/makeinclude/rules.lib.GNU: replaced hard-coded ".so" - with "$(SOEXT)". - - * include/makeinclude/rules.local.GNU: added/completed support - for "$(SOEXT)", and "$(VSHDIR)" instead of always hard-coding - them as ".so" and ".shobj/". - - * include/makeinclude/wrapper_macros.GNU: added support for - override of "$(VSHDIR)" in platform_macros.GNU. - - * apps/JAWS/clients/{Blobby,Caching}/Makefile, - apps/JAWS/stress_testing/Makefile, - apps/Orbix-Examples/Event_Comm/{Consumer,Supplier}/Makefile, - examples/ASX/Event_Server/Event_Server/Makefile, - examples/ASX/UPIPE_Event_Server/Makefile, - examples/Logger/simple-server/Makefile, - examples/Mem_Map/IO-tests/Makefile, - examples/Naming/Makefile, - examples/Reactor/Multicast/Makefile, - examples/Service_Configurator/Misc/Makefile, - examples/Shared_Malloc/Makefile: - replaced hard-coded ".shobj" with "$(VSHDIR)" in LDLIBS definitions. - - * include/makeinclude/platform_vxworks5.x_{g++,ghs}.GNU: - added overrides of .so build rules to change them .o builds. - - The above changes allow builds of modules that specify .shobj/*.so - on VxWorks, by mapping those objects to .obj/*.o. - -Sun Jul 27 03:07:35 1997 Nanbor Wang - - * ace/ACE.cpp (unique_name): Added __TEXT macro to the format - string in sprintf to avoid a nasty problem when using UNICODE on - NT. - -Sat Jul 26 21:12:07 1997 David L. Levine - - * ace/ReactorEx.cpp: added a couple of ACE_UNUSED_ARG's. - - * examples/Logger/simple-server/Logging_Handler.cpp (handle_input): - replace use of cerr with stderr (by using default arg of - ACE_Log_Record::print ()). - - * examples/Shared_Malloc/test_multiple_mallocs.cpp (main): use - ACE_OS::printf () instead of cout. - - * examples/Shared_Malloc/test_persistence.cpp: added #include - of iostream.h with ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - -Sat Jul 26 15:55:43 1997 - - * ace/Malloc_T.cpp (ACE_Cached_Allocator): Changed (T *) to - (T*). VC++ did not like the former. - - * The entire ACE distribution was updated to use the new singleton - methods. The old singleton methods in Service_Config have been - deprecated and users are encouraged not to use these methods - anymore. It may not be supported in future releases. The - replacement is the instance() methods in the individual classes. - For example, ACE_Service_Config::reactor() is replaced by - ACE_Reactor::instance(). A perl script has been added - (ACE_wrappers/bin/Service_Config.perl) to allow users to change - their code over to the new methods. - - These changes will hopefully help in reducing the compile-time - dependencies in ACE source files and allow smaller custom ACE - libraries to be compiled. - - Thanks to Matthias Kerkhoff for making - these changes. - -Sat Jul 26 15:44:45 1997 Douglas C. Schmidt - - * ace/Malloc_T.cpp (ACE_Cached_Allocator): I think we want to - say "sizeof (T)" rather than "sizeof (T *)". - - * ace/FILE_IO.i (recv_n): There is a minor bug fix to be made in - FILE_IO.i. The method ACE_FILE_IO::recv_n() should call - ACE::read_n(), not ACE::recv_n(). Similarly, the method - ACE_FILE_IO::send_n() should call ACE::write_n(), not - ACE::send_n(). The functions ::recv() and ::send() are intended - only for *socket* I/O, and return failure conditions when - applied to *file* I/O. Thanks to David Brackman - for reporting this. - - * ace: Changed all LOCK names to ACE_LOCK to avoid clashes - with macros in the KAI C++ compiler. Thanks to Jeff - R. Hayes for pointing this out. - - * ace/Malloc_T.i: Added ACE_INLINE to some methods that weren't - getting inlined. - - * ace/OS.i: Added an implementation of timed semaphores for the - POSIX threading APIs. Also cleaned up the return values from - sema_wait() so that it always returns -1 if an error occurs - (originally, it was returning -2, which is confusing). Also - cleaned up the rd_lock() and wr_lock() methods in the same way. - -Sat Jul 26 16:00:05 1997 David L. Levine - - * Malloc_T.cpp (ACE_Cached_Allocator): fixed typo, sizeof (T*) - instead of sizeof (*T). - - * Proactor.cpp (instance): fixed signature in non-WIN32 - version. (run_event_loop): added ACE_UNUSED_ARG (tv). - -Fri Jul 25 12:08:47 1997 David L. Levine - - * ace/OS.[hi]: finished VxWorks (non-POSIX) semaphore implementation. - - * ace/Process.cpp (spawn): with GreenHills compiler only (for - VxWorks), call ACE_NOTSUP_RETURN instead of spawning via execve. - GreenHills 1.8.8 loses its lunch on the ACE_OS::execve () call. - Thanks to Dave Mayerhoefer for reporting - this problem. - - * tests/Mem_Map_Test.cpp (create_test_file): delete array "mybuf" - to prevent memory leak. - - * tests/Message_Queue_Test.cpp (main): delete "buffer" - elements at end of test to prevent memory leaks. - - * performance-tests/Misc/context_switch_time.cpp: use - ACE_Sched_Params for platform-independent thread priority - assignment. Also, modified Yield_Test so that only one thread - writes the test's timer. - - * examples/ASX/UPIPE_Event_Server/Peer_Router.cpp (svc): - replaced an iostream printout with an ACE_DEBUG call. - - * examples/ASX/UPIPE_Event_Server/event_server.cpp: added - #include of iostream.h with ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION. - - * examples/IPC_SAP/FILE_SAP/client.cpp: require 2 args instead - of 1; mask file mode with 0777 (octal); and use - ACE_OS::printf () instead of cout. - -Fri Jul 25 00:46:22 1997 - - * ace/Synch: Added documentation for Condition variables. Thanks - to Jeff for pointing out the lack of - documentation. - -Thu Jul 24 11:48:05 1997 David L. Levine - - * Makefile,TAO/Makefile: added a filter to exclude backup and - [.]#* files from releases. Thanks to Carlos O'Ryan - for reporting this problem. - - * include/makeinclude/platform_*.GNU: inserted CVS/RCS - keyword string. - - * performance-tests/Misc/basic_perf.cpp (per_iteration): - added support for ACE_U_LongLong. - - * performance-tests/Misc/childbirth_time.cpp: - (prof_fork,prof_native_thread): added ACE_UNUSED_ARGs - for unsupported platforms. (prof_ace_os_thread): added - (ACE_THR_FUNC) cast of first arg to ACE_OS::thr_create () call. - - * performance-tests/Misc/test_naming.cpp (find): replaced cerr - statement with an ACE_DEBUG. - - * examples/Misc/test_read_buffer.cpp: replaced bare OS calls - with ACE_OS calls. - -Thu Jul 24 11:35:37 1997 Darrell Brunsch - - * ace/Timer_Heap_T.cpp: Fixed a problem with reschedule() - corrupting the free list in Timer Heap. Thanks to - James Crawford , Silvano Peruzzi - , and Stuart Powell - for the fix. - -Wed Jul 23 23:29:15 1997 - - * ace/Message_Block.cpp (size): Changed the comparison from - (length < this->max_size_) to (length <= this->max_size_). - Thanks to Paul for suggesting this change. - -Wed Jul 23 21:54:23 1997 David L. Levine - - * examples/Shared_Malloc/test_malloc.cpp (spawn): cast argv - argument to (char *const *) for call to ACE_OS::execv (). - -Wed Jul 23 16:40:39 1997 Nanbor Wang - - * ace/ACE.cpp (get_ip_interfaces): ACE'ified codes for NT. UNIX - part will come later. - - * ace/Malloc_T.cpp (ACE_Cached_Allocator): Changed to use raw - memory allocation method for memory pool. - - * ace/OS.h (ACE_TEXT_STRING): Added this #define macro to switch - between ACE_WString and ACE_CString according to the usage of - UNICODE. - -Wed Jul 23 14:43:11 1997 David L. Levine - - * tests/Timer_Queue_Test.cpp(main): delete timer_id array at - the end of the test to avoid a memory leak. - -Wed Jul 23 13:40:39 1997 Nanbor Wang - - * ace/Process.cpp (ACE_Tokenizer::next): Moved checking of string - termination after checking delimiter and preserve_designator so - that we can use this class to tokenize multiple null terminated - strings cascaded together (using \0 as delimitor.) Notice tne - combined strings must be terminated with two null chars. I need - to use this class in ACE::get_ip_interfaces. - - * ace/Malloc_T.{h,i}: Changed the implementation of - ACE_Cached_Mem_Pool_Node from using union to a plain pointer. - This is because some C++ compilers don't allow union member to - have copy constructor. Thanks to Tim to dig this out. - -Wed Jul 23 12:58:04 1997 Steve Huston - - * ace/CORBA_Ref.cpp: Added #include "ace/Log_Msg.h" to catch the - ACE_DEBUG macro. 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/TAO/Benchmark/Marshal_Test/Orbix/Makefile b/TAO/Benchmark/Marshal_Test/Orbix/Makefile deleted file mode 100644 index 0c40916fb67..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 -f 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 690221a2b4e..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/client.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "benchmark/driver.h" -#include "orbix_marshal_client.h" - -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 77c4651cfc3..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/marshal.h +++ /dev/null @@ -1,1325 +0,0 @@ - -#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 16d60e1064f..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/marshal.idl +++ /dev/null @@ -1,88 +0,0 @@ -// 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 94058ebac1a..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.cpp +++ /dev/null @@ -1,1334 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 c1d06d03c06..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.h +++ /dev/null @@ -1,123 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Orbix Benchmark -// -// = FILENAME -// orbix_marshal_client.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 1165f92fde8..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_client.i +++ /dev/null @@ -1,21 +0,0 @@ - -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 877b8bd1626..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.cpp +++ /dev/null @@ -1,309 +0,0 @@ -#include "orbix_marshal_impl.h" - -#if !defined (__ACE_INLINE__) -#include "orbix_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -// 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 850e99c2bee..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.h +++ /dev/null @@ -1,189 +0,0 @@ -#if !defined (ORBIX_MARSHAL_IMPL_H) -#define ORBIX_MARSHAL_IMPL_H - -// to include DSI related files - -#include "ace/OS.h" - -#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 4ea7ef56421..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_impl.i +++ /dev/null @@ -1,27 +0,0 @@ -// 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 fb060a2b5e8..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 fe72344a8bb..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.h +++ /dev/null @@ -1,57 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Orbix Benchmark -// -// = FILENAME -// orbix_marshal_server.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 f6c5fe36fd3..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/orbix_marshal_server.i +++ /dev/null @@ -1,26 +0,0 @@ -// 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 dd6902a012d..00000000000 --- a/TAO/Benchmark/Marshal_Test/Orbix/server.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "benchmark/driver.h" -#include "orbix_marshal_server.h" - -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 048d0705dbc..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 -I$(TAO_ROOT)/tao/compat -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 -f 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 b38fef81023..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/client.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "benchmark/driver.h" -#include "tao_marshal_client.h" - -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 7ddc5423db4..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshal.idl +++ /dev/null @@ -1,89 +0,0 @@ -// 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 3a8b4465fba..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalC.cpp +++ /dev/null @@ -1,585 +0,0 @@ -#include -#include "marshalC.h" - -// 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(CORBA_B_FALSE) -{ - 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 != CORBA_B_FALSE) - 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, - CORBA_B_FALSE); -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, - CORBA_B_FALSE); - -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, - CORBA_B_FALSE); - -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, - CORBA_B_FALSE); - -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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 - CORBA_B_TRUE, // 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 505de16fafb..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalC.h +++ /dev/null @@ -1,194 +0,0 @@ -/************************************************************************** -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 = CORBA_B_FALSE - ); - // 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 c265e7c9c2f..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalS.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include "marshalS.h" - -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 - IIOP_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 IIOP_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, CORBA_B_TRUE); - 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 (CORBA_B_TRUE); - else - retval = new CORBA_Boolean (CORBA_B_FALSE); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); - - 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 5980be4f737..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/marshalS.h +++ /dev/null @@ -1,108 +0,0 @@ -/************************************************************************** -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 930322be5c3..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/server.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "benchmark/driver.h" -#include "tao_marshal_server.h" - -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 157050ba3d8..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.cpp +++ /dev/null @@ -1,1424 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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, CORBA_B_FALSE), - 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, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - 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, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("o2", CORBA_Any (_tc_CORBA_Octet, &o2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("c2", CORBA_Any (_tc_CORBA_Char, &c2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("d2", CORBA_Any (_tc_CORBA_Double, &d2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("ms2", CORBA_Any (Marshal::_tc_Marshal_Struct, &ms2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("u2", CORBA_Any (Marshal::_tc_Marshal_Union, &u2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("a2", CORBA_Any (_tc_CORBA_Any, a2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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, CORBA_B_FALSE), - CORBA_ARG_IN, env); - arglist->add_value ("o2", CORBA_Any (Marshal::_tc_AnySeq, as2, CORBA_B_FALSE), - CORBA_ARG_OUT, env); - 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, 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 0bf7ef78660..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.h +++ /dev/null @@ -1,124 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Tao Benchmark -// -// = FILENAME -// tao_marshal_client.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 2606962892b..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_client.i +++ /dev/null @@ -1,21 +0,0 @@ - -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 6d5005f83ad..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.cpp +++ /dev/null @@ -1,650 +0,0 @@ -#include "tao_marshal_impl.h" - -#if !defined (__ACE_INLINE__) -#include "tao_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -// 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 - IIOP_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 IIOP_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 (CORBA_B_TRUE); - else - retval = new CORBA_Boolean (CORBA_B_FALSE); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); - - 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, CORBA_B_TRUE); - 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, CORBA_B_TRUE); - 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, CORBA_B_TRUE); - 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, CORBA_B_TRUE); - 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, CORBA_B_TRUE); - 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, CORBA_B_TRUE); - // 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, CORBA_B_TRUE); - // 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, CORBA_B_TRUE); - // 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, CORBA_B_TRUE); - // 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 0ecec0fc87c..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.h +++ /dev/null @@ -1,190 +0,0 @@ -#if !defined (TAO_MARSHAL_IMPL_H) -#define TAO_MARSHAL_IMPL_H - -// to include DSI related files - -#include "ace/OS.h" - -#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 aee9bc6b043..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_impl.i +++ /dev/null @@ -1,21 +0,0 @@ -// 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 ed6a5a041c7..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.cpp +++ /dev/null @@ -1,110 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 adbd782c3d3..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.h +++ /dev/null @@ -1,57 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Tao Benchmark -// -// = FILENAME -// tao_marshal_server.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 721a329c03b..00000000000 --- a/TAO/Benchmark/Marshal_Test/TAO/tao_marshal_server.i +++ /dev/null @@ -1,26 +0,0 @@ -// 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 93cfc461a32..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 -f 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 ed996e4b9e0..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/client.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "benchmark/driver.h" -#include "visi_marshal_client.h" - -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 7ddc5423db4..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/marshal.idl +++ /dev/null @@ -1,89 +0,0 @@ -// 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 2706589fa93..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/server.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "benchmark/driver.h" -#include "visi_marshal_server.h" - -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 3801165cc8b..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.cpp +++ /dev/null @@ -1,1344 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 d45a5f0b773..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.h +++ /dev/null @@ -1,140 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Visibroker Benchmark -// -// = FILENAME -// visi_marshal_client.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 fb8c5823848..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_client.i +++ /dev/null @@ -1,21 +0,0 @@ - -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 7ae2a3f04e9..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.cpp +++ /dev/null @@ -1,329 +0,0 @@ -#include "visi_marshal_impl.h" - -#if !defined (__ACE_INLINE__) -#include "visi_marshal_impl.i" -#endif /* __ACE_INLINE__ */ - -// 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 20938f49cde..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.h +++ /dev/null @@ -1,177 +0,0 @@ -#if !defined (VISI_MARSHAL_IMPL_H) -#define VISI_MARSHAL_IMPL_H - -// to include DSI related files - -#include "ace/OS.h" - -#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 b9eefcfbd12..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_impl.i +++ /dev/null @@ -1,28 +0,0 @@ -// 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 1a81241a843..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.cpp +++ /dev/null @@ -1,86 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 bfe9b1d9879..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.h +++ /dev/null @@ -1,58 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Marshal Visibroker Benchmark -// -// = FILENAME -// visi_marshal_server.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 3c83a78af29..00000000000 --- a/TAO/Benchmark/Marshal_Test/VisiBroker/visi_marshal_server.i +++ /dev/null @@ -1,26 +0,0 @@ -// 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 b2e5a413cdb..00000000000 --- a/TAO/Benchmark/benchmark/driver.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "benchmark/driver.h" - -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 06a928125f6..00000000000 --- a/TAO/Benchmark/benchmark/driver.h +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- C++ -*- */ - -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// driver.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (_CORBA_BENCHMARK_DRIVER_H_) -#define _CORBA_BENCHMARK_DRIVER_H_ - -#include "ace/Log_Msg.h" - -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 2473032f5da..00000000000 --- a/TAO/Benchmark/benchmark/marshal_options.cpp +++ /dev/null @@ -1,278 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 49639cd74f1..00000000000 --- a/TAO/Benchmark/benchmark/marshal_options.h +++ /dev/null @@ -1,207 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark/Marshal -// -// = FILENAME -// marshal_options.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (_CORBA_MARSHAL_OPTIONS_H_) -#define _CORBA_MARSHAL_OPTIONS_H_ - -#include "ace/OS.h" -#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 cb3506aa35f..00000000000 --- a/TAO/Benchmark/benchmark/marshal_options.i +++ /dev/null @@ -1,233 +0,0 @@ -// ============================================================================ -// -// = 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 aa6aa1e631c..00000000000 --- a/TAO/Benchmark/benchmark/marshal_proxy.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - diff --git a/TAO/Benchmark/benchmark/marshal_proxy.h b/TAO/Benchmark/benchmark/marshal_proxy.h deleted file mode 100644 index de81ccf95ea..00000000000 --- a/TAO/Benchmark/benchmark/marshal_proxy.h +++ /dev/null @@ -1,46 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// marshal_proxy.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined(_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 746651741b3..00000000000 --- a/TAO/Benchmark/benchmark/marshal_proxy.i +++ /dev/null @@ -1,10 +0,0 @@ - -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 416827a08d7..00000000000 --- a/TAO/Benchmark/benchmark/marshal_results.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// ============================================================================ -// -// = 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__ */ - -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 5f7647c77a3..00000000000 --- a/TAO/Benchmark/benchmark/marshal_results.h +++ /dev/null @@ -1,70 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// CORBA Benchmark -// -// = FILENAME -// marshal_results.h -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (_CORBA_MARSHAL_RESULTS_H_) -#define _CORBA_MARSHAL_RESULTS_H_ - -#include "ace/Profile_Timer.h" - -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 85c6dfce5f9..00000000000 --- a/TAO/Benchmark/benchmark/marshal_results.i +++ /dev/null @@ -1,59 +0,0 @@ - -// ============================================================================ -// -// = 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 c64992e2875..00000000000 --- a/TAO/COPYING +++ /dev/null @@ -1,40 +0,0 @@ -COPYRIGHT INFORMATION FOR TAO - -TAO is copyrighted by Douglas C. Schmidt and his research group at -Washington University, Copyright (c) 1997, all rights reserved. In -addition, some portions of TAO (particularly the IIOP protocol engine) -are copyrighted by SunSoft (see the ./IIOP/lib/COPYING.sun file for -more details). Likewise, TAO relies heavily on ACE, which is also -copyrighted by Douglas C. Schmidt and his research group at Washington -University (see the ../COPYING file for more details). - -You are free to do anything you like with the Wash. U. portions of -TAO's source code (and object code produced from the source). For -instance, you can include it in commercial software, as long as you -include this copyright statement along with code built using TAO. - -You are under no obligation to freely redistribute any of your source -code that is built using TAO. Please note, however, that you may not -do anything to the ACE code that will prevent it from being -distributed freely (such as copyrighting it or claiming authorship). - -TAO 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. - -TAO is 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. - -Washington University, its employees, and students shall have no -liability with respect to the infringement of copyrights, trade -secrets or any patents by TAO or any part thereof. - -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. - - Douglas C. Schmidt - schmidt@cs.wustl.edu - diff --git a/TAO/COPYING.sun b/TAO/COPYING.sun deleted file mode 100644 index 7cd6795a942..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 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/ChangeLog-98c b/TAO/ChangeLog-98c deleted file mode 100644 index a951f00c4a8..00000000000 --- a/TAO/ChangeLog-98c +++ /dev/null @@ -1,11949 +0,0 @@ -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 - Frak. 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 on $TAO_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. - -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 to $TAO_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 assign $1 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. diff --git a/TAO/IIOP/Build/default.bld b/TAO/IIOP/Build/default.bld deleted file mode 100755 index 7b67d4a13c9..00000000000 --- a/TAO/IIOP/Build/default.bld +++ /dev/null @@ -1,16 +0,0 @@ -#!build -default: - nobuild - :debuglevel=multi -tao.bld - library - :cx_e_option=nomsgnumbers - :dependency=nodepend - :cx_silent=1 - :cx_silent=21 - :cx_silent=191 - :sourcedirs=/home/ace/ACE_wrappers.vxworks - :sourcedirs=../lib - :sourcedirs=.. - :libraries=/home/ace/ACE_wrappers.vxworks/libACE.a - :libraries=/appl/newgreen/vxppc603/indlib.o diff --git a/TAO/IIOP/Build/tao.bld b/TAO/IIOP/Build/tao.bld deleted file mode 100755 index 21007d8ab61..00000000000 --- a/TAO/IIOP/Build/tao.bld +++ /dev/null @@ -1,53 +0,0 @@ -#!build -default: - library - :defines=__IIOP_BUILD - :defines=DEBUG -../lib/any.cpp - C++ -../lib/cdr.cpp - C++ -../lib/connmgr.cpp - C++ -../lib/corbacom.cpp - C++ -../lib/debug.cpp - C++ -../lib/except.cpp - C++ -../lib/giop.cpp - C++ -../lib/iiopobj.cpp - C++ -../lib/iioporb.cpp - C++ -../lib/interp.cpp - C++ -../lib/invoke.cpp - C++ -../lib/marshal.cpp - C++ -../lib/nvlist.cpp - C++ -../lib/object.cpp - C++ -../lib/orbobj.cpp - C++ -../lib/principa.cpp - C++ -../lib/request.cpp - C++ -../lib/svrrqst.cpp - C++ -../lib/t-sizes.cpp - C++ -../lib/tc_const.cpp - C++ -../lib/tcpoa.cpp - C++ -../lib/toa.cpp - C++ -../lib/typecode.cpp - C++ -../lib/roa.cpp - C++ diff --git a/TAO/IIOP/Makefile b/TAO/IIOP/Makefile deleted file mode 100644 index f6dba1717ab..00000000000 --- a/TAO/IIOP/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the ACE-ified Sun Ref. implementation -# of IIOP ORB -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = - -DIRS = lib #test - -CLONE = - -#---------------------------------------------------------------------------- -# 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/IIOP/docs/us/codecounts/align.hh.cccc b/TAO/IIOP/docs/us/codecounts/align.hh.cccc deleted file mode 100644 index 13cb1ddca0e..00000000000 --- a/TAO/IIOP/docs/us/codecounts/align.hh.cccc +++ /dev/null @@ -1,29 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/align.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef unsigned int ptr_arith_t; 1 21 14 2 0 0.1 0.0 -typedef unsigned long ptr_arith_t; 24 24 0 0 0 -typedef unsigned long long ptr_arit 27 27 0 0 0 -static inline ptr_arith_t align_bin 35 46 5 5 1 1.0 0.2 -static inline unsigned char*ptr_ali 49 61 8 4 1 0.5 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 27 16 2 0.6 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/any.cpp.cccc b/TAO/IIOP/docs/us/codecounts/any.cpp.cccc deleted file mode 100644 index 44e6cce66e5..00000000000 --- a/TAO/IIOP/docs/us/codecounts/any.cpp.cccc +++ /dev/null @@ -1,41 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/any.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t any_lock=PTH 1 48 34 1 0 0.0 0.0 -CORBA_TypeCode_ptr CORBA_Any::type( 53 57 0 4 1 ! *** ! *** -void*CORBA_Any::value()const{return 59 63 0 4 1 ! *** ! *** -CORBA_Any::CORBA_Any(){} 65 78 7 6 0 0.9 0.0 -CORBA_Any::CORBA_Any(){} 81 97 5 11 0 2.2 0.0 -static CORBA_TypeCode::traverse_sta 100 305 44 ? 131 ! 30 3.0 0.7 -CORBA_Any::CORBA_Any(){} 308 329 4 13 1 3.3 0.3 -static CORBA_TypeCode::traverse_sta 332 457 46 60 ! 21 1.3 0.5 -CORBA_Any::~CORBA_Any(){} 460 481 10 9 2 0.9 0.2 -void CORBA_Any::replace(){} 484 509 3 19 2 6.3 0.7 -DEFINE_GUID(IID_CORBA_Any,0xa201e4c 511 517 4 2 0 0.5 0.0 -ULONG __stdcall CORBA_Any::AddRef() 520 529 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_Any::Release( 531 548 0 10 3 ! *** ! *** -HRESULT __stdcall CORBA_Any::QueryI 550 567 0 14 5 ! *** ! *** -CORBA_Any::CORBA_Any(){} 570 583 4 8 0 2.0 0.0 -CORBA_Any&CORBA_Any::operator=(){} 585 660 16 45 ? 15 2.8 0.9 -CORBA_Any::operator VARIANT(){VARIA 662 670 1 5 1 5.0 1.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 178 365 83 2.1 0.5 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/any.hh.cccc b/TAO/IIOP/docs/us/codecounts/any.hh.cccc deleted file mode 100644 index 6cfac7fd831..00000000000 --- a/TAO/IIOP/docs/us/codecounts/any.hh.cccc +++ /dev/null @@ -1,27 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/any.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef CORBA_Any*CORBA_Any_ptr; 1 10 9 0 0 0.0 0.0 -extern const IID IID_CORBA_Any; 12 12 0 0 0 -class CORBA_Any{}; 14 87 16 46 2 2.9 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 25 49 2 2.0 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/cdr.cpp.cccc b/TAO/IIOP/docs/us/codecounts/cdr.cpp.cccc deleted file mode 100644 index aa92c9f81bd..00000000000 --- a/TAO/IIOP/docs/us/codecounts/cdr.cpp.cccc +++ /dev/null @@ -1,36 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/cdr.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -CORBA_Boolean CDR::put_byte(){} 1 60 37 11 4 0.3 0.1 -CORBA_Boolean CDR::put_short(){} 63 90 7 18 4 2.6 0.6 -CORBA_Boolean CDR::put_long(){} 92 120 7 18 4 2.6 0.6 -CORBA_Boolean CDR::put_longlong(){} 122 149 7 18 4 2.6 0.6 -CORBA_Boolean CDR::put_longdouble() 151 178 7 18 4 2.6 0.6 -CORBA_Boolean CDR::get_byte(){} 181 196 3 11 3 3.7 1.0 -CORBA_Boolean CDR::get_short(){} 199 230 6 22 4 3.7 0.7 -CORBA_Boolean CDR::get_long(){} 232 269 10 24 4 2.4 0.4 -CORBA_Boolean CDR::get_longlong(){} 271 312 10 28 4 2.8 0.4 -CORBA_Boolean CDR::get_longdouble() 315 363 9 36 4 4.0 0.4 -CORBA_Boolean CDR::skip_string(){CO 366 377 2 8 4 4.0 2.0 -CORBA_Boolean CDR::grow(){} 380 460 37 34 ? 9 0.9 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 142 258 52 1.8 0.4 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/cdr.hh.cccc b/TAO/IIOP/docs/us/codecounts/cdr.hh.cccc deleted file mode 100644 index 627ff33a9d9..00000000000 --- a/TAO/IIOP/docs/us/codecounts/cdr.hh.cccc +++ /dev/null @@ -1,26 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/cdr.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -struct _EXPCLASS CDR{enum{SHORT_SIZ 1 362 155 ? 142 ! 25 0.9 0.2 -; 362 362 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 155 143 25 0.9 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/connmgr.cpp.cccc b/TAO/IIOP/docs/us/codecounts/connmgr.cpp.cccc deleted file mode 100644 index e934a7ebd12..00000000000 --- a/TAO/IIOP/docs/us/codecounts/connmgr.cpp.cccc +++ /dev/null @@ -1,38 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/connmgr.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static client_endpoint*client_list; 1 77 40 2 0 0.1 0.0 -static server_endpoint*server_list; 78 78 0 0 0 -static pthread_mutex_t client_lock= 82 88 6 0 0 0.0 0.0 -static pthread_mutex_t server_lock= 89 89 0 0 0 -static ACE_HANDLE signal_fd; 91 97 6 0 0 0.0 0.0 -static ACE_HANDLE signal_in_fd; 99 103 4 0 0 0.0 0.0 -void client_endpoint::release(){} 108 120 3 6 0 2.0 0.0 -client_endpoint*client_endpoint::lo 123 290 75 69 ? 18 0.9 0.2 -void client_endpoint::dump(){} 295 318 6 12 1 2.0 0.2 -void server_endpoint::release(){} 324 354 17 7 0 0.4 0.0 -server_endpoint*server_endpoint::in 357 507 50 72 ? 16 1.4 0.3 -server_endpoint*server_endpoint::bl 510 742 89 ? 105 ! 27 1.2 0.3 -void server_endpoint::shutdown_conn 744 765 0 16 2 ! *** ! *** -void server_endpoint::dump(){} 770 790 3 12 2 4.0 0.7 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 299 315 66 1.1 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/connmgr.hh.cccc b/TAO/IIOP/docs/us/codecounts/connmgr.hh.cccc deleted file mode 100644 index e688b27d271..00000000000 --- a/TAO/IIOP/docs/us/codecounts/connmgr.hh.cccc +++ /dev/null @@ -1,27 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/connmgr.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -template<>class autorelease{}; 1 47 14 16 6 1.1 0.4 -struct client_endpoint{}; 50 85 11 15 0 1.4 0.0 -class server_endpoint{}; 88 141 15 27 0 1.8 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 40 61 6 1.5 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/corbacom.cpp.cccc b/TAO/IIOP/docs/us/codecounts/corbacom.cpp.cccc deleted file mode 100644 index b7859bad94a..00000000000 --- a/TAO/IIOP/docs/us/codecounts/corbacom.cpp.cccc +++ /dev/null @@ -1,32 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/corbacom.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -CORBA_String CORBA_string_alloc(){} 1 26 10 5 1 0.5 0.1 -CORBA_String CORBA_string_copy(){} 28 37 0 7 3 ! *** ! *** -void CORBA_string_free(){} 39 43 0 4 0 ! *** -extern"unsigned wslen(const wchar_t 47 60 4 8 2 2.0 0.5 -extern"wchar_t*wscpy(wchar_t*dest,c 62 70 0 7 2 ! *** ! *** -CORBA_WString CORBA_wstring_alloc() 74 82 4 4 1 1.0 0.3 -CORBA_WString CORBA_wstring_copy(){ 84 92 0 7 3 ! *** ! *** -void CORBA_wstring_free(){} 94 98 0 4 0 ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 18 54 12 3.0 0.7 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/corbacom.hh.cccc b/TAO/IIOP/docs/us/codecounts/corbacom.hh.cccc deleted file mode 100644 index 256095a8f3e..00000000000 --- a/TAO/IIOP/docs/us/codecounts/corbacom.hh.cccc +++ /dev/null @@ -1,59 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/corbacom.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef bool CORBA_Boolean; 1 13 6 1 0 0.2 0.0 -typedef int CORBA_Boolean; 18 18 0 0 0 -enum{CORBA_B_FALSE=0,CORBA_B_TRUE=1 19 19 0 0 0 -; 19 19 0 0 0 -typedef unsigned char CORBA_Octet; 22 22 0 0 0 -typedef short CORBA_Short; 24 24 0 0 0 -typedef unsigned short CORBA_UShort 25 25 0 0 0 -typedef long CORBA_Long; 27 32 4 0 0 0.0 0.0 -typedef unsigned long CORBA_ULong; 33 33 0 0 0 -typedef int CORBA_Long; 35 36 1 0 0 0.0 0.0 -typedef unsigned CORBA_ULong; 37 37 0 0 0 -typedef long long CORBA_LongLong; 40 47 6 0 0 0.0 0.0 -typedef unsigned long long CORBA_UL 48 48 0 0 0 -typedef long CORBA_LongLong; 50 50 0 0 0 -typedef unsigned long CORBA_ULongLo 51 51 0 0 0 -typedef __int64 CORBA_LongLong; 53 53 0 0 0 -typedef unsigned __int64 CORBA_ULon 54 54 0 0 0 -struct CORBA_LongLong{}; 56 64 6 0 0 0.0 0.0 -struct CORBA_ULongLong{}; 65 65 0 0 0 -struct CORBA_LongLong{}; 67 67 0 0 0 -struct CORBA_ULongLong{}; 68 68 0 0 0 -typedef float CORBA_Float; 72 72 0 0 0 -typedef double CORBA_Double; 73 73 0 0 0 -typedef long double CORBA_LongDoubl 75 83 7 0 0 0.0 0.0 -struct CORBA_LongDouble{}; 86 88 0 2 0 ! *** -typedef char CORBA_Char; 91 91 0 0 0 -typedef CORBA_Char*CORBA_String; 92 92 0 0 0 -CORBA_String CORBA_string_alloc(); 94 94 0 0 0 -CORBA_String CORBA_string_copy(); 95 95 0 0 0 -void CORBA_string_free(); 96 96 0 0 0 -typedef wchar_t CORBA_WChar; 98 104 6 0 0 0.0 0.0 -typedef CORBA_WChar*CORBA_WString; 105 105 0 0 0 -CORBA_WString CORBA_wstring_alloc() 107 107 0 0 0 -CORBA_WString CORBA_wstring_copy(); 108 108 0 0 0 -void CORBA_wstring_free(); 109 109 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 36 37 0 1.0 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/debug.cpp.cccc b/TAO/IIOP/docs/us/codecounts/debug.cpp.cccc deleted file mode 100644 index 486b8373461..00000000000 --- a/TAO/IIOP/docs/us/codecounts/debug.cpp.cccc +++ /dev/null @@ -1,39 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/debug.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -unsigned debug_level=0; 1 43 13 1 0 0.1 0.0 -char*debug_filter="; 44 44 0 0 0 -static FILE*debug_stream=stderr; 45 45 0 0 0 -static pid_t my_pid; 48 63 13 1 0 0.1 0.0 -static pthread_once_t debug_init=PT 68 71 3 0 0 0.0 0.0 -static void setup_once(){} 75 79 0 4 0 ! *** -static void emit_prefix(){} 81 87 0 5 0 ! *** -static void setup(){} 91 102 5 6 1 1.2 0.2 -static void setup(){} 109 120 5 6 1 1.2 0.2 -void _EXPFUNC dmsg_filter(const cha 130 170 3 28 ? 12 ? 9.3 4.0 -void _EXPFUNC dmsg_filter(unsigned 172 193 1 15 3 ?15.0 3.0 -void _EXPFUNC dmsg_v(const char*_FA 195 213 1 13 1 ?13.0 1.0 -void _EXPFUNC _dmsg_x(CORBA_Environ 215 239 1 18 1 ?18.0 1.0 -void _EXPFUNC dmsg_opaque(char*_FAR 241 286 1 38 ? 10 !38.0 ?10.0 -void _EXPFUNC dmsg_opaque_full(char 288 335 1 39 ? 11 !39.0 ?11.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 47 189 40 4.0 0.9 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/debug.hh.cccc b/TAO/IIOP/docs/us/codecounts/debug.hh.cccc deleted file mode 100644 index 932d9fb5a19..00000000000 --- a/TAO/IIOP/docs/us/codecounts/debug.hh.cccc +++ /dev/null @@ -1,29 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/debug.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -extern"char*strerror(int); 1 12 6 1 0 0.2 0.0 -extern unsigned debug_level; 15 22 7 0 0 0.0 0.0 -extern char*debug_filter; 22 23 1 0 0 0.0 0.0 -_dmsg_x(env,s); 23 43 8 3 0 0.4 0.0 -line 43: syntax error at "}" missing Eof --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 42 21 0 0.5 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/except.cpp.cccc b/TAO/IIOP/docs/us/codecounts/except.cpp.cccc deleted file mode 100644 index 8b1b2294821..00000000000 --- a/TAO/IIOP/docs/us/codecounts/except.cpp.cccc +++ /dev/null @@ -1,53 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/except.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t except_lock= 1 31 12 1 0 0.1 0.0 -DEFINE_GUID(IID_CORBA_Exception,0x7 35 45 2 2 0 1.0 0.0 -DEFINE_GUID(IID_CORBA_UserException 47 49 1 1 0 1.0 0.0 -DEFINE_GUID(IID_CORBA_SystemExcepti 51 53 1 1 0 1.0 0.0 -CORBA_Exception::CORBA_Exception(){ 56 66 0 10 1 ! *** ! *** -CORBA_Exception::CORBA_Exception(){ 68 78 0 10 1 ! *** ! *** -CORBA_Exception::~CORBA_Exception() 80 91 5 5 0 1.0 0.0 -CORBA_Exception&CORBA_Exception::op 93 107 0 13 3 ! *** ! *** -const CORBA_String CORBA_Exception: 109 119 0 9 3 ! *** ! *** -const CORBA_TypeCode_ptr CORBA_Exce 121 126 0 5 1 ! *** ! *** -ULONG __stdcall CORBA_Exception::Ad 128 141 3 7 1 2.3 0.3 -ULONG __stdcall CORBA_Exception::Re 143 167 2 12 3 6.0 1.5 -HRESULT __stdcall CORBA_Exception:: 169 192 4 15 5 3.8 1.3 -CORBA_UserException::CORBA_UserExce 195 203 3 5 0 1.7 0.0 -CORBA_UserException::~CORBA_UserExc 205 207 0 2 0 ! *** -CORBA_SystemException::CORBA_System 209 218 0 9 0 ! *** -CORBA_SystemException::~CORBA_Syste 220 222 0 2 0 ! *** -static CORBA_TypeCode_ptr sys_excep 228 228 0 0 0 -CORBA_ExceptionList __system_except 229 229 0 0 0 -static void make_standard_typecode( 231 318 29 49 ? 10 1.7 0.3 -SYSEX(UNKNOWN)SYSEX(BAD_PARAM)SYSEX 321 396 24 36 1 1.5 0.0 -static CORBA_Octet tc_buf_Bounds[]= 400 418 7 11 0 1.6 0.0 -static CORBA_TypeCode tc_std_Bounds 419 420 0 1 0 ! *** -CORBA_TypeCode_ptr _tc_CORBA_Bounds 421 421 0 0 0 -static CORBA_Octet tc_buf_BadKind[] 423 437 3 11 0 3.7 0.0 -static CORBA_TypeCode tc_std_BadKin 438 439 0 1 0 ! *** -CORBA_TypeCode_ptr _tc_CORBA_BadKin 440 440 0 0 0 -CORBA_ExceptionType CORBA_Environme 444 469 8 13 6 1.6 0.8 -void _EXPFUNC print_exception(const 472 535 24 35 7 1.5 0.3 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 128 295 42 2.3 0.3 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/except.hh.cccc b/TAO/IIOP/docs/us/codecounts/except.hh.cccc deleted file mode 100644 index 430ef037b0d..00000000000 --- a/TAO/IIOP/docs/us/codecounts/except.hh.cccc +++ /dev/null @@ -1,37 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/except.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -extern const IID IID_CORBA_Exceptio 1 15 13 1 0 0.1 0.0 -extern const IID IID_CORBA_UserExce 16 16 0 0 0 -extern const IID IID_CORBA_SystemEx 17 17 0 0 0 -class _EXPCLASS CORBA_Exception:pub 19 52 3 25 2 ? 8.3 0.7 -; 52 52 0 0 0 -typedef CORBA_Exception*CORBA_Excep 53 53 0 0 0 -class _EXPCLASS CORBA_UserException 55 65 5 5 0 1.0 0.0 -; 65 65 0 0 0 -enum CORBA_CompletionStatus{}; 67 75 7 1 0 0.1 0.0 -class _EXPCLASS CORBA_SystemExcepti 77 99 2 16 2 ? 8.0 1.0 -; 99 99 0 0 0 -extern CORBA_TypeCode_ptr _tc_CORBA 102 117 6 4 0 0.7 0.0 -line 117: syntax error at "}" missing Eof --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 44 112 6 2.5 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/generate b/TAO/IIOP/docs/us/codecounts/generate deleted file mode 100755 index c04f8b92e19..00000000000 --- a/TAO/IIOP/docs/us/codecounts/generate +++ /dev/null @@ -1,24 +0,0 @@ -#/bin/sh - -error() -{ - ret=$1; shift - echo "ERROR: " $@ - return $ret -} - -test -x ${CCCC:=/usr/local/bin/cccc} \ - || error 1 "Value of \$CCCC ($CCCC) not found." - -test -d ${TOPDIR:=../../../lib} \ - || error 1 "Unable to locate \$TOPDIR ($TOPDIR)." - -find $TOPDIR \( -name '*.h' -o -name '*.i' -o -name '*.hh' -o -name '*.cpp' \) -print | -while read file -do - outname=`basename $file`.cccc - $CCCC $file > $outname 2>&1 - echo -n "." -done - -echo diff --git a/TAO/IIOP/docs/us/codecounts/giop.cpp.cccc b/TAO/IIOP/docs/us/codecounts/giop.cpp.cccc deleted file mode 100644 index d4aa24bb14b..00000000000 --- a/TAO/IIOP/docs/us/codecounts/giop.cpp.cccc +++ /dev/null @@ -1,50 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/giop.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t fwd_info_loc 1 79 45 2 0 0.0 0.0 -static inline CORBA_Boolean start_m 83 112 6 19 3 3.2 0.5 -static const char digits[]="; 115 115 0 0 0 -static const char*names[]={}; 116 120 0 4 0 ! *** -static void dump_msg(){} 122 136 0 13 4 ! *** ! *** -CORBA_Boolean GIOP::send_message(){ 142 226 30 43 ? 12 1.4 0.4 -static const char close_message[]={ 229 250 16 5 0 0.3 0.0 -void GIOP::close_connection(ACE_HAN 253 272 8 11 0 1.4 0.0 -static const char error_message[]={ 274 286 7 5 0 0.7 0.0 -static inline void send_error(ACE_H 288 297 0 9 0 ! *** -static int read_buffer(){} 300 331 6 18 4 3.0 0.7 -GIOP::MsgType GIOP::read_message(){ 334 481 75 56 ? 18 0.7 0.2 -GIOP::Invocation::Invocation(IIOP_O 484 524 22 14 0 0.6 0.0 -GIOP::Invocation::~Invocation(){} 526 528 0 2 0 ! *** -static const CORBA_Long _oc_opaque[ 530 543 13 0 0 0.0 0.0 -CORBA_TypeCode TC_opaque(); 544 546 0 2 0 ! *** -static const CORBA_Long _oc_svc_ctx 549 610 50 9 0 0.2 0.0 -static CORBA_TypeCode TC_ServiceCon 611 613 0 2 0 ! *** -void GIOP::Invocation::start(CORBA_ 616 729 58 45 ? 15 0.8 0.3 -extern CORBA_ExceptionList __system 731 731 0 0 0 -GIOP::ReplyStatusType GIOP::Invocat 733 1086 175 ? 144 ! 38 0.8 0.2 -void GIOP::incoming_message(){} 1089 1353 79 ? 151 ! 24 1.9 0.3 -template class autorelease 1 37 19 1 0 0.1 0.0 -class IOP{}; 39 109 45 21 0 0.5 0.0 -class GIOP{}; 112 321 65 ? 120 0 1.8 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 129 145 0 1.1 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/iiopobj.cpp.cccc b/TAO/IIOP/docs/us/codecounts/iiopobj.cpp.cccc deleted file mode 100644 index b440bf69b76..00000000000 --- a/TAO/IIOP/docs/us/codecounts/iiopobj.cpp.cccc +++ /dev/null @@ -1,34 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/iiopobj.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t iiopobj_lock 1 30 13 1 0 0.1 0.0 -IIOP::ProfileBody::ProfileBody(cons 35 50 0 13 0 ! *** -CORBA_ULong IIOP_Object::hash(){} 53 81 10 15 2 1.5 0.2 -CORBA_Boolean IIOP_Object::is_equiv 84 124 10 25 ? 9 2.5 0.9 -DEFINE_GUID(IID_IIOP_Object,0xa201e 127 133 4 2 0 0.5 0.0 -DEFINE_GUID(IID_STUB_Object,0xa201e 135 141 4 2 0 0.5 0.0 -DEFINE_GUID(IID_CORBA_Object,0xa201 143 145 1 1 0 1.0 0.0 -ULONG __stdcall IIOP_Object::AddRef 147 160 3 7 1 2.3 0.3 -ULONG __stdcall IIOP_Object::Releas 162 179 0 10 3 ! *** ! *** -HRESULT __stdcall IIOP_Object::Quer 182 214 11 18 7 1.6 0.6 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 56 104 22 1.9 0.4 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/iiopobj.hh.cccc b/TAO/IIOP/docs/us/codecounts/iiopobj.hh.cccc deleted file mode 100644 index 866ab27c769..00000000000 --- a/TAO/IIOP/docs/us/codecounts/iiopobj.hh.cccc +++ /dev/null @@ -1,30 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/iiopobj.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef CORBA_SEQUENCE 1 15 10 1 0 0.1 0.0 -class _EXPCLASS IIOP{public:struct 17 48 8 17 0 2.1 0.0 -; 48 48 0 0 0 -extern"const IID IID_IIOP_Object; 51 59 8 0 0 0.0 0.0 -class _EXPCLASS IIOP_Object:public 61 152 33 47 0 1.4 0.0 -; 152 152 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 59 69 0 1.2 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/iioporb.cpp.cccc b/TAO/IIOP/docs/us/codecounts/iioporb.cpp.cccc deleted file mode 100644 index 6d1e462cf27..00000000000 --- a/TAO/IIOP/docs/us/codecounts/iioporb.cpp.cccc +++ /dev/null @@ -1,35 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/iioporb.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static const char ior_prefix[]="; 1 27 9 1 0 0.1 0.0 -static const char iiop_prefix[]="; 28 28 0 0 0 -static const char xchars[]="; 29 29 0 0 0 -static inline char nibble2hex(unsig 32 39 3 4 1 1.3 0.3 -static inline unsigned char hex2byt 41 51 0 10 5 ! *** ! *** -CORBA_String IIOP_ORB::object_to_st 54 174 42 64 ? 17 1.5 0.4 -static CORBA_Object_ptr ior_string_ 177 231 14 33 ? 10 2.4 0.7 -static CORBA_Object_ptr iiop_string 234 349 34 68 ! 22 2.0 0.6 -CORBA_Object_ptr IIOP_ORB::string_t 352 374 6 13 5 2.2 0.8 -DEFINE_GUID(IID_IIOP_ORB,0xa201e4c4 376 382 4 2 0 0.5 0.0 -HRESULT __stdcall IIOP_ORB::QueryIn 385 408 3 16 6 5.3 2.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 115 222 66 1.9 0.6 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/iioporb.hh.cccc b/TAO/IIOP/docs/us/codecounts/iioporb.hh.cccc deleted file mode 100644 index e016469fd1e..00000000000 --- a/TAO/IIOP/docs/us/codecounts/iioporb.hh.cccc +++ /dev/null @@ -1,28 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/iioporb.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class IIOP_ORB*IIOP_ORB_ptr 1 13 9 1 0 0.1 0.0 -extern const IID IID_IIOP_ORB; 15 15 0 0 0 -class _EXPCLASS IIOP_ORB:public COR 17 47 4 22 0 5.5 0.0 -; 47 47 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 13 26 0 2.0 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/initguid.h.cccc b/TAO/IIOP/docs/us/codecounts/initguid.h.cccc deleted file mode 100644 index b106c9a8731..00000000000 --- a/TAO/IIOP/docs/us/codecounts/initguid.h.cccc +++ /dev/null @@ -1,25 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/initguid.h -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -const IID name={0} 1 6 2 1 0 0.5 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 2 2 0 1.0 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/interp.cpp.cccc b/TAO/IIOP/docs/us/codecounts/interp.cpp.cccc deleted file mode 100644 index 690563b2274..00000000000 --- a/TAO/IIOP/docs/us/codecounts/interp.cpp.cccc +++ /dev/null @@ -1,40 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/interp.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef size_t attribute_calculator 1 86 69 6 0 0.1 0.0 -static attribute_calculator calc_st 88 88 0 0 0 -static attribute_calculator calc_ex 89 89 0 0 0 -static attribute_calculator calc_un 90 90 0 0 0 -static attribute_calculator calc_al 91 91 0 0 0 -static attribute_calculator calc_ar 92 92 0 0 0 -typedef CORBA_Boolean param_skip_rt 95 99 4 0 0 0.0 0.0 -static CORBA_Boolean skip_encapsula 101 105 0 4 1 ! *** ! *** -static CORBA_Boolean skip_long(){} 107 113 0 5 1 ! *** ! *** -struct table_element{}; 116 139 18 5 0 0.3 0.0 -static table_element table[]={}; 141 188 37 10 0 0.3 0.0 -{struct align_struct_ x one;char du 191 221 23 4 0 0.2 0.0 -; 221 221 0 0 0 -align_struct_ table[t].size=sizeof( 223 224 0 0 0 -table[t].alignment=(char*)&align.tw 225 226 0 1 0 ! *** -line 227: syntax error at "}" missing Eof --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 603 709 174 1.2 0.3 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/invoke.cpp.cccc b/TAO/IIOP/docs/us/codecounts/invoke.cpp.cccc deleted file mode 100644 index a6b006f91e5..00000000000 --- a/TAO/IIOP/docs/us/codecounts/invoke.cpp.cccc +++ /dev/null @@ -1,26 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/invoke.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -void IIOP_Object::do_call(CORBA_Env 1 193 87 77 ! 24 0.9 0.3 -void IIOP_Object::do_dynamic_call(c 196 346 44 85 ! 26 1.9 0.6 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 131 164 50 1.3 0.4 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/marshal.cpp.cccc b/TAO/IIOP/docs/us/codecounts/marshal.cpp.cccc deleted file mode 100644 index 90175d333fb..00000000000 --- a/TAO/IIOP/docs/us/codecounts/marshal.cpp.cccc +++ /dev/null @@ -1,30 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/marshal.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -extern"{unsigned wslen(const wchar_ 1 58 39 4 0 0.1 0.0 -extern CORBA_TypeCode TC_opaque; 61 61 0 0 0 -CORBA_TypeCode::traverse_status CDR 64 494 146 ? 230 ! 71 1.6 0.5 -const CORBA_TypeCode_ptr __tc_const 497 548 23 24 0 1.0 0.0 -; 548 548 0 0 0 -CORBA_TypeCode::traverse_status CDR 551 1107 163 ? 323 ! 88 2.0 0.5 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 371 586 159 1.6 0.4 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/nvlist.cpp.cccc b/TAO/IIOP/docs/us/codecounts/nvlist.cpp.cccc deleted file mode 100644 index d07414860b1..00000000000 --- a/TAO/IIOP/docs/us/codecounts/nvlist.cpp.cccc +++ /dev/null @@ -1,40 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/nvlist.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t nvlist_lock= 1 21 9 1 0 0.1 0.0 -DEFINE_GUID(IID_CORBA_NamedValue,0x 26 32 4 2 0 0.5 0.0 -ULONG __stdcall CORBA_NamedValue::A 35 44 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_NamedValue::R 46 61 0 10 3 ! *** ! *** -HRESULT __stdcall CORBA_NamedValue: 63 80 0 14 5 ! *** ! *** -void CORBA_release(){} 82 90 3 5 1 1.7 0.3 -CORBA_Boolean CORBA_is_nil(){} 92 96 0 4 1 ! *** ! *** -CORBA_NamedValue::~CORBA_NamedValue 98 102 0 4 1 ! *** ! *** -DEFINE_GUID(IID_CORBA_NVList,0x7742 105 111 4 2 0 0.5 0.0 -ULONG __stdcall CORBA_NVList::AddRe 114 123 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_NVList::Relea 125 140 0 10 3 ! *** ! *** -HRESULT __stdcall CORBA_NVList::Que 142 159 0 14 5 ! *** ! *** -void CORBA_release(){} 161 169 3 5 1 1.7 0.3 -CORBA_Boolean CORBA_is_nil(){} 171 175 0 4 1 ! *** ! *** -CORBA_NVList::~CORBA_NVList(){} 177 188 0 9 2 ! *** ! *** -CORBA_NamedValue_ptr CORBA_NVList:: 190 262 32 35 6 1.1 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 55 147 31 2.7 0.6 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/nvlist.hh.cccc b/TAO/IIOP/docs/us/codecounts/nvlist.hh.cccc deleted file mode 100644 index b680140d4b9..00000000000 --- a/TAO/IIOP/docs/us/codecounts/nvlist.hh.cccc +++ /dev/null @@ -1,37 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/nvlist.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -class _EXPCLASS CORBA_NamedValue; 1 13 12 0 0 0.0 0.0 -void CORBA_release(); 15 15 0 0 0 -CORBA_Boolean CORBA_is_nil(); 16 16 0 0 0 -enum{CORBA_ARG_IN=0x01,CORBA_ARG_OU 18 25 1 6 0 6.0 0.0 -; 25 25 0 0 0 -class _EXPCLASS CORBA_NamedValue{pu 27 57 3 21 3 7.0 1.0 -; 57 57 0 0 0 -class _EXPCLASS CORBA_NVList; 60 71 11 0 0 0.0 0.0 -void CORBA_release(); 73 73 0 0 0 -CORBA_Boolean CORBA_is_nil(); 74 74 0 0 0 -extern"const IID IID_CORBA_NVList; 76 76 0 0 0 -class _EXPCLASS CORBA_NVList{public 78 119 3 31 2 ?10.3 0.7 -; 119 119 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 30 68 5 2.3 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/objbase.h.cccc b/TAO/IIOP/docs/us/codecounts/objbase.h.cccc deleted file mode 100644 index 02225ed7d9f..00000000000 --- a/TAO/IIOP/docs/us/codecounts/objbase.h.cccc +++ /dev/null @@ -1,37 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/objbase.h -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef unsigned long ULONG; 1 23 18 1 0 0.1 0.0 -typedef unsigned long HRESULT; 24 24 0 0 0 -typedef char IID[16]; 26 36 8 1 0 0.1 0.0 -typedef const IID&REFIID; 36 37 1 0 0 0.0 0.0 -DEFINE_GUID(IID_IUnknown,b,c,d,e,f, 41 55 4 9 0 2.3 0.0 -; 55 55 0 0 0 -typedef unsigned long SCODE; 59 61 1 1 0 1.0 0.0 -inline HRESULT ResultFromScode(SCOD 63 63 0 0 1 ! *** -typedef unsigned short VARTYPE; 69 79 10 0 0 0.0 0.0 -enum VARENUM{}; 80 98 18 0 0 0.0 0.0 -struct CY{}; 100 111 3 5 0 1.7 0.0 -typedef double DATE; 113 117 4 0 0 0.0 0.0 -struct VARIANT{}; 119 160 35 6 0 0.2 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 102 34 1 0.3 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/object.cpp.cccc b/TAO/IIOP/docs/us/codecounts/object.cpp.cccc deleted file mode 100644 index 82d8215949f..00000000000 --- a/TAO/IIOP/docs/us/codecounts/object.cpp.cccc +++ /dev/null @@ -1,55 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/object.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -CORBA_Object::CORBA_Object(){} 1 25 9 5 0 0.6 0.0 -CORBA_Object::~CORBA_Object(){} 27 29 0 2 0 ! *** -void CORBA_release(){} 31 41 3 7 1 2.3 0.3 -CORBA_Object_ptr CORBA_Object::_dup 43 49 0 6 2 ! *** ! *** -CORBA_Object_ptr CORBA_Object::_nil 51 58 3 4 1 1.3 0.3 -CORBA_Boolean CORBA_is_nil(){} 60 64 0 4 1 ! *** ! *** -void __stdcall CORBA_Object::_creat 67 86 6 13 0 2.2 0.0 -CORBA_Request_ptr __stdcall CORBA_O 89 98 0 9 1 ! *** ! *** -static const paramdata Object_get_i 101 108 5 2 0 0.4 0.0 -static const calldata Object_get_in 109 113 0 4 0 ! *** -; 113 113 0 0 0 -CORBA_InterfaceDef_ptr __stdcall CO 116 150 16 15 3 0.9 0.2 -static const paramdata Object_is_a_ 153 160 4 3 0 0.8 0.0 -static const calldata Object_is_a_c 161 165 0 4 0 ! *** -; 165 165 0 0 0 -CORBA_Boolean __stdcall CORBA_Objec 168 218 27 19 6 0.7 0.2 -static const paramdata Object_get_i 221 228 5 2 0 0.4 0.0 -static const calldata Object_get_im 229 233 0 4 0 ! *** -; 233 233 0 0 0 -CORBA_ImplementationDef_ptr __stdca 236 253 0 15 3 ! *** ! *** -static const paramdata Object_non_e 256 263 5 2 0 0.4 0.0 -static const calldata Object_non_ex 264 268 0 4 0 ! *** -; 268 268 0 0 0 -CORBA_Boolean __stdcall CORBA_Objec 271 306 3 28 ? 8 ? 9.3 2.7 -CORBA_ULong __stdcall CORBA_Object: 309 329 4 14 3 3.5 0.8 -CORBA_Boolean __stdcall CORBA_Objec 332 360 7 18 5 2.6 0.7 -DEFINE_GUID(IID_IUnknown,0x77420089 363 374 7 3 0 0.4 0.0 -DEFINE_GUID(IID_CORBA_Object,0xa201 378 380 1 1 0 1.0 0.0 -ULONG __stdcall CORBA_Object::AddRe 384 389 0 5 1 ! *** ! *** -ULONG __stdcall CORBA_Object::Relea 391 396 0 5 1 ! *** ! *** -HRESULT __stdcall CORBA_Object::Que 398 406 0 8 1 ! *** ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 105 233 37 2.2 0.4 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/object.hh.cccc b/TAO/IIOP/docs/us/codecounts/object.hh.cccc deleted file mode 100644 index b8f3b41f6c5..00000000000 --- a/TAO/IIOP/docs/us/codecounts/object.hh.cccc +++ /dev/null @@ -1,31 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/object.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class CORBA_Object*CORBA_Ob 1 11 10 0 0 0.0 0.0 -void CORBA_release(); 12 12 0 0 0 -CORBA_Boolean CORBA_is_nil(); 13 13 0 0 0 -extern const IID IID_CORBA_Object; 15 15 0 0 0 -class _EXPCLASS CORBA_Object:public 17 109 28 58 0 2.1 0.0 -; 109 109 0 0 0 -line 112: syntax error at "ÿ" missing Start --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 39 63 0 1.6 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/orb.hh.cccc b/TAO/IIOP/docs/us/codecounts/orb.hh.cccc deleted file mode 100644 index c5687f297f9..00000000000 --- a/TAO/IIOP/docs/us/codecounts/orb.hh.cccc +++ /dev/null @@ -1,33 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/orb.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class CORBA_TypeCode*CORBA_ 1 112 90 5 0 0.1 0.0 -typedef class CORBA_Any*CORBA_Any_p 113 113 0 0 0 -typedef class CORBA_ImplementationD 115 115 0 0 0 -typedef class CORBA_InterfaceDef*CO 117 117 0 0 0 -typedef class CORBA_Request*CORBA_R 119 119 0 0 0 -typedef class CORBA_NamedValue*CORB 121 121 0 0 0 -typedef class CORBA_NVList*CORBA_NV 123 123 0 0 0 -typedef unsigned CORBA_Flags; 125 125 0 0 0 -line 160: syntax error at "ÿ" missing Start --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 101 17 0 0.2 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/orbconf.hh.cccc b/TAO/IIOP/docs/us/codecounts/orbconf.hh.cccc deleted file mode 100644 index 12c296cc020..00000000000 --- a/TAO/IIOP/docs/us/codecounts/orbconf.hh.cccc +++ /dev/null @@ -1,26 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/orbconf.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef unsigned long pid_t; 1 148 56 24 0 0.4 0.0 -line 183: syntax error at "ÿ" missing Start --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 67 27 0 0.4 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/orbobj.cpp.cccc b/TAO/IIOP/docs/us/codecounts/orbobj.cpp.cccc deleted file mode 100644 index 927fc2f58fb..00000000000 --- a/TAO/IIOP/docs/us/codecounts/orbobj.cpp.cccc +++ /dev/null @@ -1,41 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/orbobj.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -extern void __TC_init_table(); 1 28 10 1 0 0.1 0.0 -extern void __TC_init_standard_exce 29 29 0 0 0 -static pthread_mutex_t refcnt_lock= 32 32 0 0 0 -CORBA_ORB::CORBA_ORB(){} 41 47 3 3 0 1.0 0.0 -CORBA_ORB::~CORBA_ORB(){} 49 52 0 3 0 ! *** -void CORBA_release(){} 54 64 3 7 1 2.3 0.3 -CORBA_ORB_ptr CORBA_ORB::_duplicate 66 72 0 6 2 ! *** ! *** -CORBA_ORB_ptr CORBA_ORB::_nil(){} 74 81 3 4 1 1.3 0.3 -CORBA_Boolean CORBA_is_nil(){} 83 87 0 4 1 ! *** ! *** -DEFINE_GUID(IID_CORBA_ORB,0xa201e4c 90 96 4 2 0 0.5 0.0 -DEFINE_GUID(IID_STUB_Object,0xa201e 99 101 1 1 0 1.0 0.0 -ULONG __stdcall CORBA_ORB::AddRef() 105 114 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_ORB::Release( 116 135 0 11 3 ! *** ! *** -static CORBA_ORB_ptr the_orb; 138 145 7 0 0 0.0 0.0 -CORBA_ORB_ptr CORBA_ORB_init(int&,c 147 290 59 60 ! 23 1.0 0.4 -void CORBA_ORB::create_list(){} 292 308 0 14 1 ! *** ! *** -CORBA_ORB_ptr _orb(){} 311 322 7 4 1 0.6 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 97 143 34 1.5 0.4 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/orbobj.hh.cccc b/TAO/IIOP/docs/us/codecounts/orbobj.hh.cccc deleted file mode 100644 index ccc192d6a06..00000000000 --- a/TAO/IIOP/docs/us/codecounts/orbobj.hh.cccc +++ /dev/null @@ -1,31 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/orbobj.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class CORBA_ORB*CORBA_ORB_p 1 8 7 0 0 0.0 0.0 -void CORBA_release(); 9 9 0 0 0 -CORBA_Boolean CORBA_is_nil(); 10 10 0 0 0 -extern const IID IID_CORBA_ORB; 12 12 0 0 0 -CORBA_ORB_ptr CORBA_ORB_init(); 14 23 3 6 0 2.0 0.0 -class _EXPCLASS CORBA_ORB:public IU 25 71 13 26 0 2.0 0.0 -; 71 71 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 23 38 0 1.7 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/principa.cpp.cccc b/TAO/IIOP/docs/us/codecounts/principa.cpp.cccc deleted file mode 100644 index 6486125713e..00000000000 --- a/TAO/IIOP/docs/us/codecounts/principa.cpp.cccc +++ /dev/null @@ -1,33 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/principa.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t principal_lo 1 22 9 1 0 0.1 0.0 -void CORBA_release(){} 26 31 0 5 1 ! *** ! *** -CORBA_Boolean CORBA_is_nil(){} 33 37 0 4 1 ! *** ! *** -CORBA_Principal::CORBA_Principal(){ 39 41 0 2 0 ! *** -CORBA_Principal::~CORBA_Principal() 43 49 0 5 1 ! *** ! *** -DEFINE_GUID(IID_CORBA_Principal,0xa 51 57 4 2 0 0.5 0.0 -ULONG __stdcall CORBA_Principal::Ad 60 69 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_Principal::Re 71 88 0 10 3 ! *** ! *** -HRESULT __stdcall CORBA_Principal:: 90 107 0 14 5 ! *** ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 13 58 12 4.5 0.9 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/principa.hh.cccc b/TAO/IIOP/docs/us/codecounts/principa.hh.cccc deleted file mode 100644 index eee81276ec6..00000000000 --- a/TAO/IIOP/docs/us/codecounts/principa.hh.cccc +++ /dev/null @@ -1,30 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/principa.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class CORBA_Principal*CORBA 1 8 7 0 0 0.0 0.0 -void CORBA_release(); 10 10 0 0 0 -CORBA_Boolean CORBA_is_nil(); 11 11 0 0 0 -extern const IID IID_CORBA_Principa 13 13 0 0 0 -class _EXPCLASS CORBA_Principal:pub 15 52 12 17 0 1.4 0.0 -; 52 52 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 19 22 0 1.2 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/request.cpp.cccc b/TAO/IIOP/docs/us/codecounts/request.cpp.cccc deleted file mode 100644 index 5b717985743..00000000000 --- a/TAO/IIOP/docs/us/codecounts/request.cpp.cccc +++ /dev/null @@ -1,36 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/request.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -DEFINE_GUID(IID_CORBA_Request,0x774 1 19 7 2 0 0.3 0.0 -static pthread_mutex_t refcnt_lock= 22 22 0 0 0 -ULONG __stdcall CORBA_Request::AddR 26 35 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_Request::Rele 37 52 0 10 3 ! *** ! *** -HRESULT __stdcall CORBA_Request::Qu 54 71 0 14 5 ! *** ! *** -void CORBA_release(){} 73 81 3 5 1 1.7 0.3 -CORBA_Boolean CORBA_is_nil(){} 83 87 0 4 1 ! *** ! *** -CORBA_Request::CORBA_Request(CORBA_ 89 106 3 14 0 4.7 0.0 -CORBA_Request::CORBA_Request(){} 109 121 0 11 0 ! *** -CORBA_Request::~CORBA_Request(){} 123 131 0 7 0 ! *** -void CORBA_Request::invoke(){} 133 154 8 11 2 1.4 0.3 -void CORBA_Request::send_oneway(){} 156 168 0 11 2 ! *** ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 21 107 15 5.1 0.7 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/request.hh.cccc b/TAO/IIOP/docs/us/codecounts/request.hh.cccc deleted file mode 100644 index 6859f7eaf38..00000000000 --- a/TAO/IIOP/docs/us/codecounts/request.hh.cccc +++ /dev/null @@ -1,31 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/request.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -void CORBA_release(); 1 8 6 1 0 0.2 0.0 -CORBA_Boolean CORBA_is_nil(); 9 9 0 0 0 -typedef CORBA_SEQUENCE 86 87 1 0 0 0.0 0.0 -template class ACE_Message_Queuestruct CORBA_SEQUENCE{}; 1 21 5 10 0 2.0 0.0 -typedef CORBA_SEQUENCE 23 23 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 5 12 0 2.4 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/stub.hh.cccc b/TAO/IIOP/docs/us/codecounts/stub.hh.cccc deleted file mode 100644 index 2dad231e858..00000000000 --- a/TAO/IIOP/docs/us/codecounts/stub.hh.cccc +++ /dev/null @@ -1,32 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/stub.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -enum param_type{}; 1 27 20 4 0 0.2 0.0 -struct paramdata{}; 29 49 19 1 0 0.1 0.0 -struct calldata{}; 52 83 28 3 0 0.1 0.0 -typedef void(*skeleton)(); 86 98 12 0 0 0.0 0.0 -struct skel_entry{}; 100 103 1 2 0 2.0 0.0 -extern const IID IID_STUB_Object; 107 117 10 0 0 0.0 0.0 -class _EXPCLASS STUB_Object:public 119 224 63 34 0 0.5 0.0 -; 224 224 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 153 51 0 0.3 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/svrrqst.cpp.cccc b/TAO/IIOP/docs/us/codecounts/svrrqst.cpp.cccc deleted file mode 100644 index b9e9230c2e0..00000000000 --- a/TAO/IIOP/docs/us/codecounts/svrrqst.cpp.cccc +++ /dev/null @@ -1,39 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/svrrqst.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -DEFINE_GUID(IID_IIOP_ServerRequest, 1 20 7 2 0 0.3 0.0 -DEFINE_GUID(IID_CORBA_ServerRequest 22 24 1 1 0 1.0 0.0 -static pthread_mutex_t svrqst_lock= 29 29 0 0 0 -IIOP_ServerRequest::~IIOP_ServerReq 33 42 0 9 3 ! *** ! *** -ULONG __stdcall IIOP_ServerRequest: 45 55 0 7 1 ! *** ! *** -ULONG __stdcall IIOP_ServerRequest: 57 73 0 11 3 ! *** ! *** -HRESULT __stdcall IIOP_ServerReques 75 95 0 17 6 ! *** ! *** -void __stdcall IIOP_ServerRequest:: 98 173 36 31 3 0.9 0.1 -void __stdcall IIOP_ServerRequest:: 176 196 6 12 3 2.0 0.5 -void __stdcall IIOP_ServerRequest:: 199 219 4 15 3 3.8 0.8 -CORBA_String __stdcall IIOP_ServerR 222 230 3 5 1 1.7 0.3 -CORBA_Object_ptr __stdcall IIOP_Ser 232 238 1 5 1 5.0 1.0 -CORBA_Principal_ptr __stdcall IIOP_ 240 246 1 5 1 5.0 1.0 -CORBA_ORB_ptr __stdcall IIOP_Server 248 253 0 5 1 ! *** ! *** -TOA_ptr __stdcall IIOP_ServerReques 255 260 0 5 1 ! *** ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 59 145 27 2.5 0.5 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/svrrqst.hh.cccc b/TAO/IIOP/docs/us/codecounts/svrrqst.hh.cccc deleted file mode 100644 index aa6da40edce..00000000000 --- a/TAO/IIOP/docs/us/codecounts/svrrqst.hh.cccc +++ /dev/null @@ -1,35 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/svrrqst.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class CORBA_ServerRequest*C 1 16 9 1 0 0.1 0.0 -typedef class CORBA_ORB*CORBA_ORB_p 17 17 0 0 0 -typedef class TOA*TOA_ptr; 18 18 0 0 0 -void CORBA_release(); 20 20 0 0 0 -CORBA_Boolean CORBA_is_nil(); 21 21 0 0 0 -extern const IID IID_CORBA_ServerRe 23 23 0 0 0 -class _EXPCLASS CORBA_ServerRequest 25 78 29 21 0 0.7 0.0 -; 78 78 0 0 0 -extern const IID IID_IIOP_ServerReq 80 80 0 0 0 -class _EXPCLASS IIOP_ServerRequest: 82 159 17 51 0 3.0 0.0 -; 159 159 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 55 82 0 1.5 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/t-sizes.cpp.cccc b/TAO/IIOP/docs/us/codecounts/t-sizes.cpp.cccc deleted file mode 100644 index 24592ade908..00000000000 --- a/TAO/IIOP/docs/us/codecounts/t-sizes.cpp.cccc +++ /dev/null @@ -1,25 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/t-sizes.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -int main(){} 6 15 0 9 0 ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 0 10 0 ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/t-xdr.cpp.cccc b/TAO/IIOP/docs/us/codecounts/t-xdr.cpp.cccc deleted file mode 100644 index b32010c4109..00000000000 --- a/TAO/IIOP/docs/us/codecounts/t-xdr.cpp.cccc +++ /dev/null @@ -1,29 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/t-xdr.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef CORBA_SEQUENCE 1 34 12 2 0 0.2 0.0 -struct interesting{}; 36 73 18 12 0 0.7 0.0 -extern CORBA_TypeCode TC_opaque; 75 78 2 1 0 0.5 0.0 -static void do_test(){} 80 225 34 82 ! 30 2.4 0.9 -int main(){} 228 264 3 29 3 ? 9.7 1.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 69 131 33 1.9 0.5 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/tc_const.cpp.cccc b/TAO/IIOP/docs/us/codecounts/tc_const.cpp.cccc deleted file mode 100644 index e606b23721b..00000000000 --- a/TAO/IIOP/docs/us/codecounts/tc_const.cpp.cccc +++ /dev/null @@ -1,68 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/tc_const.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static CORBA_TypeCode tc_null(); 1 25 18 1 0 0.1 0.0 -const CORBA_TypeCode_ptr _tc_CORBA_ 26 26 0 0 0 -CORBA_TypeCode_ptr CORBA_TypeCode:: 28 32 0 4 1 ! *** ! *** -static CORBA_TypeCode tc_void(); 34 34 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 35 35 0 0 0 -static CORBA_TypeCode tc_short(); 37 40 3 0 0 0.0 0.0 -const CORBA_TypeCode_ptr _tc_CORBA_ 41 41 0 0 0 -static CORBA_TypeCode tc_long(); 43 43 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 44 44 0 0 0 -static CORBA_TypeCode tc_longlong() 46 46 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 47 47 0 0 0 -static CORBA_TypeCode tc_ushort(); 49 49 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 50 50 0 0 0 -static CORBA_TypeCode tc_ulong(); 52 52 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 53 53 0 0 0 -static CORBA_TypeCode tc_ulonglong( 55 55 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 56 56 0 0 0 -static CORBA_TypeCode tc_float(); 58 61 3 0 0 0.0 0.0 -const CORBA_TypeCode_ptr _tc_CORBA_ 62 62 0 0 0 -static CORBA_TypeCode tc_double(); 64 64 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 65 65 0 0 0 -static CORBA_TypeCode tc_longdouble 67 67 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 68 68 0 0 0 -static CORBA_TypeCode tc_boolean(); 70 73 3 0 0 0.0 0.0 -const CORBA_TypeCode_ptr _tc_CORBA_ 74 74 0 0 0 -static CORBA_TypeCode tc_octet(); 76 76 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 77 77 0 0 0 -static CORBA_TypeCode tc_char(); 79 84 5 0 0 0.0 0.0 -const CORBA_TypeCode_ptr _tc_CORBA_ 85 85 0 0 0 -static CORBA_TypeCode tc_wchar(); 87 87 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 88 88 0 0 0 -static CORBA_TypeCode tc_string(); 90 90 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 91 91 0 0 0 -static CORBA_TypeCode tc_wstring(); 93 93 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 94 94 0 0 0 -static CORBA_TypeCode tc_any(); 96 100 4 0 0 0.0 0.0 -const CORBA_TypeCode_ptr _tc_CORBA_ 101 101 0 0 0 -static CORBA_TypeCode tc_typecode() 103 103 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 104 104 0 0 0 -static CORBA_TypeCode tc_principal( 106 106 0 0 0 -const CORBA_TypeCode_ptr _tc_CORBA_ 107 107 0 0 0 -static const unsigned char oc_objre 109 128 8 11 0 1.4 0.0 -static CORBA_TypeCode tc_objref(); 129 131 0 2 0 ! *** -const CORBA_TypeCode_ptr _tc_CORBA_ 132 132 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 44 62 1 1.4 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/tcpoa.cpp.cccc b/TAO/IIOP/docs/us/codecounts/tcpoa.cpp.cccc deleted file mode 100644 index a5e145edfe2..00000000000 --- a/TAO/IIOP/docs/us/codecounts/tcpoa.cpp.cccc +++ /dev/null @@ -1,51 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/tcpoa.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static TCP_OA*the_oa; 1 44 14 1 0 0.1 0.0 -static pthread_key_t request_key; 47 47 0 0 0 -static pthread_mutex_t tcpoa_mutex= 48 48 0 0 0 -static pthread_mutex_t tcpoa_lock=P 49 49 0 0 0 -static pthread_attr_t thread_attr; 50 50 0 0 0 -static void tcp_oa_dispatcher(){} 53 180 45 59 ? 10 1.3 0.2 -static GIOP::LocateStatusType tcp_o 182 206 4 18 5 4.5 1.3 -TCP_OA::TCP_OA(CORBA_ORB_ptr owning 209 237 5 19 3 3.8 0.6 -TCP_OA::~TCP_OA(){} 239 241 0 2 0 ! *** -TCP_OA_ptr TCP_OA::init(){} 244 288 11 18 3 1.6 0.3 -CORBA_Object_ptr __stdcall TCP_OA:: 291 348 9 41 ? 8 4.6 0.9 -CORBA_OctetSeq*__stdcall TCP_OA::ge 351 364 4 9 1 2.3 0.3 -((GIOP::RequestHeader*)pthread_gets 368 382 9 1 0 0.1 0.0 -CORBA_Object_ptr __stdcall _this(){ 386 436 23 22 6 1.0 0.3 -CORBA_OctetSeq*__stdcall TCP_OA::ge 439 454 6 8 1 1.3 0.2 -CORBA_Principal_ptr __stdcall TCP_O 457 472 6 8 1 1.3 0.2 -void TCP_OA::handle_message(){} 474 489 3 8 1 2.7 0.3 -void*TCP_OA::worker(){} 493 527 16 15 4 0.9 0.3 -void __stdcall TCP_OA::get_request( 531 779 128 82 ? 14 0.6 0.1 -void __stdcall TCP_OA::please_shutd 782 797 3 9 0 3.0 0.0 -void __stdcall TCP_OA::clean_shutdo 799 824 3 15 2 5.0 0.7 -void __stdcall TCP_OA::register_dir 827 848 3 16 2 5.3 0.7 -void __stdcall TCP_OA::get_request( 850 873 9 13 2 1.4 0.2 -DEFINE_GUID(IID_TCP_OA,0xa201e4c4,0 876 882 4 2 0 0.5 0.0 -ULONG __stdcall TCP_OA::AddRef(){Cr 885 894 0 6 1 ! *** ! *** -ULONG __stdcall TCP_OA::Release(){C 896 913 0 10 3 ! *** ! *** -HRESULT __stdcall TCP_OA::QueryInte 915 934 0 16 6 ! *** ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 305 425 73 1.4 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/tcpoa.hh.cccc b/TAO/IIOP/docs/us/codecounts/tcpoa.hh.cccc deleted file mode 100644 index 8feca7cce56..00000000000 --- a/TAO/IIOP/docs/us/codecounts/tcpoa.hh.cccc +++ /dev/null @@ -1,31 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/tcpoa.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -class _EXPCLASS TCP_OA; 1 33 26 1 0 0.0 0.0 -typedef TCP_OA*TCP_OA_ptr; 34 34 0 0 0 -extern const IID IID_TCP_OA; 38 38 0 0 0 -class _EXPCLASS TCP_OA:public TOA{p 40 224 93 61 2 0.7 0.0 -; 224 224 0 0 0 -typedef TCP_OA*TCP_OA_ptr; 226 226 0 0 0 -extern CORBA_Object_ptr __stdcall _ 229 245 16 0 0 0.0 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 135 68 2 0.5 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/thread.hh.cccc b/TAO/IIOP/docs/us/codecounts/thread.hh.cccc deleted file mode 100644 index 4b1e08a0cfd..00000000000 --- a/TAO/IIOP/docs/us/codecounts/thread.hh.cccc +++ /dev/null @@ -1,35 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/thread.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef thread_t pthread_t; 1 67 39 4 0 0.1 0.0 -typedef mutex_t pthread_mutex_t; 68 68 0 0 0 -typedef cond_t pthread_cond_t; 69 69 0 0 0 -typedef unsigned long pthread_attr_ 70 70 0 0 0 -typedef thread_key_t pthread_key_t; 71 71 0 0 0 -struct pthread_once_t{}; 81 84 0 3 0 ! *** -inline void pthread_once(pthread_on 88 97 0 9 1 ! *** ! *** -inline void*pthread_getspecific(pth 107 114 0 6 1 ! *** ! *** -inline int pthread_create(pthread_t 118 127 0 9 1 ! *** ! *** -class Critical{}; 133 156 6 14 0 2.3 0.0 -class ForceSynchronousCancel{}; 159 181 10 8 0 0.8 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 55 64 3 1.2 0.1 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/toa.cpp.cccc b/TAO/IIOP/docs/us/codecounts/toa.cpp.cccc deleted file mode 100644 index 98d352ea297..00000000000 --- a/TAO/IIOP/docs/us/codecounts/toa.cpp.cccc +++ /dev/null @@ -1,27 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/toa.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -DEFINE_GUID(IID_TOA,0xa201e4c8,0xf2 1 44 14 3 0 0.2 0.0 -TOA_ptr TOA::get_named_toa(){} 47 102 28 22 5 0.8 0.2 -TOA_ptr TOA::get_toa(){} 105 147 15 22 5 1.5 0.3 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 57 50 10 0.9 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/toa.hh.cccc b/TAO/IIOP/docs/us/codecounts/toa.hh.cccc deleted file mode 100644 index 3229e548e61..00000000000 --- a/TAO/IIOP/docs/us/codecounts/toa.hh.cccc +++ /dev/null @@ -1,30 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/toa.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -typedef class TOA*TOA_ptr; 1 18 10 1 0 0.1 0.0 -CORBA_Boolean is_nil(); 20 20 0 0 0 -void release(); 21 21 0 0 0 -extern const IID IID_TOA; 23 23 0 0 0 -class TOA:public IUnknown{public:vi 25 187 113 41 0 0.4 0.0 -; 187 187 0 0 0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 123 47 0 0.4 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/typecode.cpp.cccc b/TAO/IIOP/docs/us/codecounts/typecode.cpp.cccc deleted file mode 100644 index 11a4a8c0c88..00000000000 --- a/TAO/IIOP/docs/us/codecounts/typecode.cpp.cccc +++ /dev/null @@ -1,41 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/typecode.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -static pthread_mutex_t refcnt_lock= 1 38 20 1 0 0.1 0.0 -void CORBA_release(){} 42 47 0 5 1 ! *** ! *** -CORBA_Boolean CORBA_is_nil(){} 49 53 0 4 1 ! *** ! *** -CORBA_TypeCode::CORBA_TypeCode(CORB 55 69 4 10 0 2.5 0.0 -CORBA_TypeCode::CORBA_TypeCode(CORB 72 115 20 21 1 1.0 0.1 -CORBA_TypeCode::~CORBA_TypeCode(){} 118 129 5 6 2 1.2 0.4 -DEFINE_GUID(IID_CORBA_TypeCode,0xa2 132 139 5 2 0 0.4 0.0 -ULONG __stdcall CORBA_TypeCode::Add 142 151 0 6 1 ! *** ! *** -ULONG __stdcall CORBA_TypeCode::Rel 153 168 0 11 4 ! *** ! *** -HRESULT __stdcall CORBA_TypeCode::Q 170 187 0 14 5 ! *** ! *** -CORBA_TCKind CORBA_TypeCode::kind(C 190 200 3 7 1 2.3 0.3 -static CORBA_Boolean skip_typecode( 203 252 15 29 ? 9 1.9 0.6 -CORBA_Any_ptr CORBA_TypeCode::membe 255 341 29 44 ? 19 1.5 0.7 -CORBA_ULong CORBA_TypeCode::param_c 344 434 23 53 ! 22 2.3 1.0 -CORBA_ULong CORBA_TypeCode::ulong_p 437 507 26 36 ? 16 1.4 0.6 -CORBA_TypeCode_ptr CORBA_TypeCode:: 510 672 43 99 ! 58 2.3 1.3 -CORBA_String CORBA_TypeCode::id(COR 675 711 15 19 3 1.3 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 208 384 143 1.8 0.7 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/typecode.hh.cccc b/TAO/IIOP/docs/us/codecounts/typecode.hh.cccc deleted file mode 100644 index 494931168d4..00000000000 --- a/TAO/IIOP/docs/us/codecounts/typecode.hh.cccc +++ /dev/null @@ -1,36 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/typecode.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -enum CORBA_TCKind{}; 1 50 23 26 0 1.1 0.0 -extern CORBA_TypeCode_ptr _tc_CORBA 53 56 3 0 0 0.0 0.0 -class CORBA_Bounds{}; 57 62 0 5 0 ! *** -extern CORBA_TypeCode_ptr _tc_CORBA 64 64 0 0 0 -class CORBA_BadKind{}; 65 70 0 5 0 ! *** -typedef class CORBA_TypeCode*CORBA_ 73 82 9 0 0 0.0 0.0 -void CORBA_release(); 83 83 0 0 0 -CORBA_Boolean CORBA_is_nil(); 84 84 0 0 0 -extern const IID IID_CORBA_TypeCode 86 86 0 0 0 -class _EXPCLASS CORBA_TypeCode:publ 88 266 101 56 2 0.6 0.0 -; 266 266 0 0 0 -extern const CORBA_TypeCode_ptr _tc 268 298 3 21 0 7.0 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 139 124 2 0.9 0.0 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/xdr.cpp.cccc b/TAO/IIOP/docs/us/codecounts/xdr.cpp.cccc deleted file mode 100644 index 90d59d8dd98..00000000000 --- a/TAO/IIOP/docs/us/codecounts/xdr.cpp.cccc +++ /dev/null @@ -1,33 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/xdr.cpp -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -CORBA_Boolean XDR_stream::put_longl 1 52 31 6 1 0.2 0.0 -CORBA_Boolean XDR_stream::get_longl 54 59 0 5 1 ! *** ! *** -CORBA_Boolean XDR_stream::put_longd 62 70 3 5 1 1.7 0.3 -CORBA_Boolean XDR_stream::get_longd 72 77 0 5 1 ! *** ! *** -CORBA_TypeCode::traverse_status XDR 80 406 82 ? 202 ! 65 2.5 0.8 -extern CORBA_TypeCode_ptr __tc_cons 410 413 3 0 0 0.0 0.0 -CORBA_TypeCode::traverse_status XDR 416 766 82 ? 220 ! 60 2.7 0.7 -CORBA_Boolean XDR_stream::flush_fra 769 801 10 15 3 1.5 0.3 -CORBA_Boolean XDR_stream::read_frag 804 815 5 5 1 1.0 0.2 --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 216 472 133 2.2 0.6 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/codecounts/xdr.hh.cccc b/TAO/IIOP/docs/us/codecounts/xdr.hh.cccc deleted file mode 100644 index 45e2ca773c7..00000000000 --- a/TAO/IIOP/docs/us/codecounts/xdr.hh.cccc +++ /dev/null @@ -1,27 +0,0 @@ - -CCCC - a code counter for C and C++ -=================================== - -A program to analyse C and C++ source code and report on -some simple software metrics -Version 1.00 -Copyright Tim Littlefair, 1995 - -The development of this program was heavily dependent on -the Purdue Compiler Construction Tool Set (PCCTS) -by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung -and others. - -This software is provided with NO WARRANTY - - -Scope: ../../../lib/xdr.hh -Canonical name From To COM LOC MVG L/C M/C --------------------- ---- ---- ----- ----- ----- ----- ----- -class XDR_stream{}; 1 269 78 ? 149 ! 32 1.9 0.4 -inline CORBA_Boolean XDR_stream::ou 271 275 0 4 1 ! *** ! *** -inline CORBA_Boolean XDR_stream::pu 277 287 0 10 4 ! *** ! *** --------------------- ---- ---- ----- ----- ----- ----- ----- -Summary for scope: 78 166 37 2.1 0.5 --------------------- ---- ---- ----- ----- ----- ----- ----- - diff --git a/TAO/IIOP/docs/us/plan.html b/TAO/IIOP/docs/us/plan.html deleted file mode 100644 index 5650257a330..00000000000 --- a/TAO/IIOP/docs/us/plan.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - IIOP Notes - - - -

IIOP Notes

- -

- The current plan for transforming the Sun IIOP Reference - implementation into the basis of the TAO is: - -

    -
  1. Replace selected portions of code with ACE components while maintaining the current architecture and design. -
  2. Distill the design patterns and begin re-architecting. -
- -

- Please feel free to email additions to this list! - -


-
Chris Cleeland
- - -Last modified: Fri Feb 14 15:46:52 CST - - - diff --git a/TAO/IIOP/docs/us/server b/TAO/IIOP/docs/us/server deleted file mode 100644 index afad69638a8..00000000000 --- a/TAO/IIOP/docs/us/server +++ /dev/null @@ -1,5 +0,0 @@ -This note describes architectural differences between the Sun IIOP -Reference implementation (SIR) and a new architecture based on ACE. -After narrating the SIR architecture, shortcomings of that design are -highlighted, and a solution known as The ACE ORB (TAO) presented. - diff --git a/TAO/IIOP/test/Build/clnt.bld b/TAO/IIOP/test/Build/clnt.bld deleted file mode 100755 index 76e60ef8967..00000000000 --- a/TAO/IIOP/test/Build/clnt.bld +++ /dev/null @@ -1,8 +0,0 @@ -#!build -default: - program - :debuglevel=multi -../cubit.cpp - C++ -../clnt.cpp - C++ diff --git a/TAO/IIOP/test/Build/default.bld b/TAO/IIOP/test/Build/default.bld deleted file mode 100755 index cdf3e2e8210..00000000000 --- a/TAO/IIOP/test/Build/default.bld +++ /dev/null @@ -1,19 +0,0 @@ -#!build -default: - nobuild - :debuglevel=multi - :target=vxwppc - :sourcedirs=/home/ace/ACE_wrappers.vxworks - :sourcedirs=../../proto/include - :sourcedirs=../.. - :libraries=../../proto/lib/tao.a - :libraries=/home/ace/ACE_wrappers.vxworks/ace/libACE.a - :libraries=/appl/newgreen/vxppc603/indlib.o - :defines=DEBUG -clnt.bld - program - :debuglevel=multi -svr.bld - program - :debuglevel=multi - :defines=USE_ACE_EVENT_HANDLING diff --git a/TAO/IIOP/test/Build/svr.bld b/TAO/IIOP/test/Build/svr.bld deleted file mode 100755 index 7c8725356b2..00000000000 --- a/TAO/IIOP/test/Build/svr.bld +++ /dev/null @@ -1,8 +0,0 @@ -#!build -default: - program - :debuglevel=multi -../svr.cpp - C++ -../cubit.cpp - C++ diff --git a/TAO/IIOP/test/Makefile b/TAO/IIOP/test/Makefile deleted file mode 100644 index 370b9e427fa..00000000000 --- a/TAO/IIOP/test/Makefile +++ /dev/null @@ -1,121 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the ACE-ified Sun Ref. implementation -# of IIOP ORB -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lcorba - -PROG_SRCS = svr.cpp clnt.cpp cubit.cpp \ - test1.cpp test1_clnt.cpp test1_svr.cpp \ - echo_clnt.cpp echo_svr.cpp - -LSRC = $(PROG_SRCS) - -CUBIT_SVR_OBJS = svr.o cubit_i.o cubitS.o -CUBIT_CLT_OBJS = clnt.o cubitC.o - -BASIC_SVR_OBJS = test1.o test1_svr.o -BASIC_CLT_OBJS = test1.o test1_clnt.o - -ECHO_SVR_OBJS = test1.o echo_svr.o -ECHO_CLT_OBJS = test1.o echo_clnt.o - -BIN = svr clnt test1_svr test1_clnt -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -# Local modifications to variables imported by includes above. -LDFLAGS += -L../proto/lib -CPPFLAGS += -I../proto/include -DUSE_ACE_EVENT_HANDLING -DDEBUG - -svr: $(addprefix $(VDIR),$(CUBIT_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -clnt: $(addprefix $(VDIR),$(CUBIT_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -test1_svr: $(addprefix $(VDIR),$(BASIC_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -test1_clnt: $(addprefix $(VDIR),$(BASIC_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -######## -# Sanity check builds by running basic functionality tests. -# -# "sleep 5" in the server startup is usually enough to get the -# objref into the file so the client can read it. -# -check: $(TESTS) - @echo "testing with 'cube' calls, stub + DII, IOR strings" - @./svr -i30 -o non-internet > obj.1 & sleep 5 - @./clnt -n250 -O `cat obj.1` -x - @echo '' - @echo "testing request forwarding with 'cube' calls, stub + DII" - @./svr -f -i30 > obj.2 & sleep 5 - @./clnt -n250 -O `cat obj.2` -x - @echo '' - @echo "testing transmission of primitive data types" - @./test1_svr -i30 > obj.3 & sleep 5 - @./test1_clnt -n50 -O `cat obj.3` -x - @echo '' -# @echo "testing echo of primitive data values" -# @./echo_svr -i30 > obj.4 & sleep 5 -# @./echo_clnt -O `cat obj.4` -x -# @echo '' - @echo "testing with 'cube' calls, MT-ized (no forwarding)" - @./svr -t -i30 -o non-internet > obj.5 & sleep 5 - @./clnt -n250 -O `cat obj.5` -x - @echo '' - -ifdef LOCALRULES -######## -# CUBIT test -svr: svr.o cubit.o - $(LINK.cc) -o svr svr.o cubit.o $(LDLIBS) $(POSTLINK) -clnt: cubit.o clnt.o - $(LINK.cc) -o clnt clnt.o cubit.o $(LDLIBS) $(POSTLINK) - -######## -# BASIC DATATYPES test -test1_clnt: test1.o test1_clnt.o - $(LINK.cc) -o test1_clnt test1_clnt.o test1.o $(LDLIBS) $(POSTLINK) -test1_svr: test1.o test1_svr.o - $(LINK.cc) -o test1_svr test1_svr.o test1.o $(LDLIBS) $(POSTLINK) - -######## -# ECHO test ... "test1" where the operation semantics are violated; -# this aids some porting work, but is a less rigorous test -echo_clnt: test1.o echo_clnt.o - $(LINK.cc) -o echo_clnt echo_clnt.o test1.o $(LDLIBS) $(POSTLINK) -echo_svr: test1.o echo_svr.o - $(LINK.cc) -o echo_svr echo_svr.o test1.o $(LDLIBS) $(POSTLINK) -endif - -clean: - -rm -rf *.o Log $(BIN) obj.* core Templates.DB .make.state - -install: - -@echo "Nothing to install, these are tests!" - - - - - diff --git a/TAO/IIOP/test/Orbeline/base_server/Makefile b/TAO/IIOP/test/Orbeline/base_server/Makefile deleted file mode 100644 index 9fdad280ffc..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -include stdmk - -EXE = server - -all: $(EXE) - -clean: - -rm -f core *.o cubitC.* cubitS.* $(EXE) - -rm -rf Templates.DB - -cubitS.cpp: cubit.idl - $(ORBCC) cubit.idl - -cubitC.cpp: cubit.idl - $(ORBCC) cubit.idl - -server: cubitS.o cubitC.o server.o Profile_Timer.o cubit_impl.o - $(CC) -o server cubitS.o cubitC.o cubit_impl.o server.o Profile_Timer.o \ - $(LIBPATH) $(LIBORB) $(STDCC_LIBS) diff --git a/TAO/IIOP/test/Orbeline/base_server/Profile_Timer.cpp b/TAO/IIOP/test/Orbeline/base_server/Profile_Timer.cpp deleted file mode 100644 index a871b9cf179..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/Profile_Timer.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "Profile_Timer.h" - -/* Initialize interval timer. */ - -Profile_Timer::Profile_Timer (void) -{ - char buf[20]; - ::sprintf(buf, "/proc/%d", ::getpid ()); - - ::memset (&this->end_usage_, 0, sizeof this->end_usage_); - ::memset (&this->begin_usage_, 0, sizeof this->begin_usage_); - ::memset (&this->last_usage_, 0, sizeof this->last_usage_); - if ((this->proc_fd_ = ::open (buf, O_RDONLY, 0)) == -1) - ::perror (buf); -} - -/* Terminate the interval timer. */ -Profile_Timer::~Profile_Timer (void) -{ - if (::close (this->proc_fd_) == -1) - ::perror ("Profile_Timer::~Profile_Timer"); -} - -/* Return the resource utilization. */ - -void -Profile_Timer::get_rusage (prusage_t &rusage) -{ - rusage = this->end_usage_; -} - -/* Compute the amount of resource utilization since the start time. */ - -void -Profile_Timer::elapsed_rusage (prusage_t &rusage) -{ - rusage.pr_lwpid = this->end_usage_.pr_lwpid - this->last_usage_.pr_lwpid; - rusage.pr_count = this->end_usage_.pr_count - this->last_usage_.pr_count; - rusage.pr_minf = this->end_usage_.pr_minf - this->last_usage_.pr_minf; - rusage.pr_majf = this->end_usage_.pr_majf - this->last_usage_.pr_majf; - rusage.pr_inblk = this->end_usage_.pr_inblk - this->last_usage_.pr_inblk; - rusage.pr_oublk = this->end_usage_.pr_oublk - this->last_usage_.pr_oublk; - rusage.pr_msnd = this->end_usage_.pr_msnd - this->last_usage_.pr_msnd; - rusage.pr_mrcv = this->end_usage_.pr_mrcv - this->last_usage_.pr_mrcv; - rusage.pr_sigs = this->end_usage_.pr_sigs - this->last_usage_.pr_sigs; - this->subtract (rusage.pr_wtime, this->end_usage_.pr_wtime, this->last_usage_.pr_wtime); - this->subtract (rusage.pr_ltime, this->end_usage_.pr_ltime, this->last_usage_.pr_ltime); - this->subtract (rusage.pr_slptime, this->end_usage_.pr_slptime, this->last_usage_.pr_slptime); - rusage.pr_vctx = this->end_usage_.pr_vctx - this->last_usage_.pr_vctx; - rusage.pr_ictx = this->end_usage_.pr_ictx - this->last_usage_.pr_ictx; - rusage.pr_sysc = this->end_usage_.pr_sysc - this->last_usage_.pr_sysc; - rusage.pr_ioch = this->end_usage_.pr_ioch - this->last_usage_.pr_ioch; -} - -/* Compute the elapsed time. */ - -void -Profile_Timer::compute_times (Elapsed_Time &et, prusage_t &end, prusage_t &begin) -{ - timespec_t td; - - this->subtract (td, end.pr_tstamp, begin.pr_tstamp); - et.real_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_utime, begin.pr_utime); - et.user_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_stime, begin.pr_stime); - et.system_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); -} - -/* Compute the amount of time that has elapsed between start and stop. */ - -int -Profile_Timer::elapsed_time (Elapsed_Time &et) -{ - this->compute_times (et, this->end_usage_, this->begin_usage_); - return 0; -} - -/* Determine the difference between T1 and T2. */ - -void -Profile_Timer::subtract (timespec_t &tdiff, timespec_t &t1, timespec_t &t0) -{ - tdiff.tv_sec = t1.tv_sec - t0.tv_sec; - tdiff.tv_nsec = t1.tv_nsec - t0.tv_nsec; - - /* Normalize the time. */ - - while (tdiff.tv_nsec < 0) - { - tdiff.tv_sec--; - tdiff.tv_nsec += (1000 * 1000 * 1000); - } -} - -#if defined (DEBUG) -#include -extern "C" int gettimeofday (timeval *tp); - -const int DEFAULT_ITERATIONS = 1000000; - -int -main (int argc, char *argv[]) -{ - Profile_Timer timer; - int iterations = argc > 1 ? atoi (argv[1]) : DEFAULT_ITERATIONS; - timeval tv; - - timer.start (); - - for (int i = 0; i < iterations; i++) - gettimeofday (&tv); - - timer.stop (); - - Profile_Timer::Elapsed_Time et; - - timer.elapsed_time (et); - - printf ("iterations = %d\n", iterations); - printf ("real time = %f secs, user time = %f secs, system time = %f secs\n", - et.real_time, et.user_time, et.system_time); - - printf ("time per call = %f usecs\n", (et.real_time / double (iterations)) * 1000000); - return 0; -} -#endif /* DEBUG */ diff --git a/TAO/IIOP/test/Orbeline/base_server/Profile_Timer.h b/TAO/IIOP/test/Orbeline/base_server/Profile_Timer.h deleted file mode 100644 index f001f59be9a..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/Profile_Timer.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -/* An interval timer class using C++. */ - -#if !defined (ACE_PROFILE_TIMER_H) -#define ACE_PROFILE_TIMER_H - -#include -#include -#include -#include -#include -#include - -class Profile_Timer -{ -public: - struct Elapsed_Time - { - double real_time; - double user_time; - double system_time; - }; - - Profile_Timer (void); - ~Profile_Timer (void); - int start (void); - int stop (void); - int elapsed_time (Elapsed_Time &et); - void elapsed_rusage (prusage_t &rusage); - void get_rusage (prusage_t &rusage); - -private: - void subtract (timespec_t &tdiff, timespec_t &t0, timespec_t &t1); - void compute_times (Elapsed_Time &et, prusage_t &, prusage_t &); - - prusage_t begin_usage_; - prusage_t end_usage_; - prusage_t last_usage_; - int proc_fd_; -}; - -/* Start timing */ - -inline int -Profile_Timer::start (void) -{ - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->begin_usage_); -} - -/* Stop timing */ - -inline int -Profile_Timer::stop (void) -{ - this->last_usage_ = this->end_usage_; - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->end_usage_); -} - -#endif /* ACE_PROFILE_TIMER_H */ - diff --git a/TAO/IIOP/test/Orbeline/base_server/cubit.idl b/TAO/IIOP/test/Orbeline/base_server/cubit.idl deleted file mode 100644 index 3e2ea392619..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. -// -//#pragma prefix "Eng.SUN.COM" -//#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/Orbeline/base_server/cubit_impl.cpp b/TAO/IIOP/test/Orbeline/base_server/cubit_impl.cpp deleted file mode 100644 index 63c0bb3105f..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit () - {} diff --git a/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h b/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h deleted file mode 100644 index 0f6fd7dd6db..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h +++ /dev/null @@ -1,33 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubitS.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual _sk_Cubit { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - -#ifdef Cubit_USE_BOA - Cubit_Impl (const char *obj_name = NULL) : - _sk_Cubit(obj_name) - {} -#else - Cubit_Impl (const char *obj_name = NULL) - {} -#endif /* Cubit_USE_BOA */ - - virtual CORBA::Octet cube_octet(CORBA::Octet o); - virtual CORBA::Short cube_short(CORBA::Short s); - virtual CORBA::Long cube_long(CORBA::Long l); - virtual Cubit::Many cube_struct(const Cubit::Many& values); - virtual Cubit::oneof cube_union(const Cubit::oneof& values); - virtual void please_exit(); -}; - -#endif diff --git a/TAO/IIOP/test/Orbeline/base_server/server.cpp b/TAO/IIOP/test/Orbeline/base_server/server.cpp deleted file mode 100644 index a4a1c85ed47..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/server.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#include "cubit_impl.h" // server header file - -int -main (int argc, char** argv) -{ - - CORBA::ORB_var orb = CORBA::ORB_init(argc, argv); - CORBA::BOA_var boa = orb->BOA_init(argc, argv); - -#ifdef Cubit_USE_BOA - Cubit_Impl cb("Cubit"); - cout << "Using BOA approach" << endl; -#else - Cubit_Impl tied("Cubit"); - _tie_Cubit cb(tied, "Cubit"); - - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - try { - - boa->obj_is_ready(&cb); - - boa->impl_is_ready(); - - } catch (const CORBA::Exception &excep) { - cerr << "Server error: " << excep << endl; - return -1; - } catch (...) { - cerr << "Unknown exception" << endl; - return -1; - } - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/test/Orbeline/base_server/stdmk b/TAO/IIOP/test/Orbeline/base_server/stdmk deleted file mode 100644 index df4125a38d8..00000000000 --- a/TAO/IIOP/test/Orbeline/base_server/stdmk +++ /dev/null @@ -1,36 +0,0 @@ -CC = CC -DEBUG = - -ORBELINEDIR = /project/waltz/Orbeline2.0 - -ORBCC = $(ORBELINEDIR)/bin/orbeline -v C -m S -c cpp -h h - -CCINCLUDES = -I. -I$(ORBELINEDIR)/include -I$(STL_DIR) -I$(ACE_DIR) - -CCFLAGS = -g $(CCINCLUDES) $(DEBUG) -DCubit_USE_BOA - -LIBPATH = -L$(ORBELINEDIR)/lib -L$(ACE_DIR)/ace - -STDCC_LIBS = -lsocket -lnsl -ldl -mt - -LIBORB = -lorb - -LIBACE = -lACE - -.SUFFIXES: .C .o .h .hh .cc .cpp - -.C.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.cc.o: - $(CC) $(CCFLAGS) -c -o $@ $< -.cpp.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.C.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - -.cc.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - - diff --git a/TAO/IIOP/test/Orbeline/client/Makefile b/TAO/IIOP/test/Orbeline/client/Makefile deleted file mode 100644 index d9c26fe56f0..00000000000 --- a/TAO/IIOP/test/Orbeline/client/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -include stdmk - -EXE = client - -all: $(EXE) - -clean: - -rm -f core *.o cubitC.* cubitS.* $(EXE) - -rm -rf Templates.DB - -cubitS.cpp: cubit.idl - $(ORBCC) cubit.idl - -cubitC.cpp: cubit.idl - $(ORBCC) cubit.idl - -client: cubitC.o Profile_Timer.o client.o - $(CC) -o client cubitC.o Profile_Timer.o client.o \ - $(LIBPATH) $(LIBORB) $(STDCC_LIBS) diff --git a/TAO/IIOP/test/Orbeline/client/Profile_Timer.cpp b/TAO/IIOP/test/Orbeline/client/Profile_Timer.cpp deleted file mode 100644 index a871b9cf179..00000000000 --- a/TAO/IIOP/test/Orbeline/client/Profile_Timer.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "Profile_Timer.h" - -/* Initialize interval timer. */ - -Profile_Timer::Profile_Timer (void) -{ - char buf[20]; - ::sprintf(buf, "/proc/%d", ::getpid ()); - - ::memset (&this->end_usage_, 0, sizeof this->end_usage_); - ::memset (&this->begin_usage_, 0, sizeof this->begin_usage_); - ::memset (&this->last_usage_, 0, sizeof this->last_usage_); - if ((this->proc_fd_ = ::open (buf, O_RDONLY, 0)) == -1) - ::perror (buf); -} - -/* Terminate the interval timer. */ -Profile_Timer::~Profile_Timer (void) -{ - if (::close (this->proc_fd_) == -1) - ::perror ("Profile_Timer::~Profile_Timer"); -} - -/* Return the resource utilization. */ - -void -Profile_Timer::get_rusage (prusage_t &rusage) -{ - rusage = this->end_usage_; -} - -/* Compute the amount of resource utilization since the start time. */ - -void -Profile_Timer::elapsed_rusage (prusage_t &rusage) -{ - rusage.pr_lwpid = this->end_usage_.pr_lwpid - this->last_usage_.pr_lwpid; - rusage.pr_count = this->end_usage_.pr_count - this->last_usage_.pr_count; - rusage.pr_minf = this->end_usage_.pr_minf - this->last_usage_.pr_minf; - rusage.pr_majf = this->end_usage_.pr_majf - this->last_usage_.pr_majf; - rusage.pr_inblk = this->end_usage_.pr_inblk - this->last_usage_.pr_inblk; - rusage.pr_oublk = this->end_usage_.pr_oublk - this->last_usage_.pr_oublk; - rusage.pr_msnd = this->end_usage_.pr_msnd - this->last_usage_.pr_msnd; - rusage.pr_mrcv = this->end_usage_.pr_mrcv - this->last_usage_.pr_mrcv; - rusage.pr_sigs = this->end_usage_.pr_sigs - this->last_usage_.pr_sigs; - this->subtract (rusage.pr_wtime, this->end_usage_.pr_wtime, this->last_usage_.pr_wtime); - this->subtract (rusage.pr_ltime, this->end_usage_.pr_ltime, this->last_usage_.pr_ltime); - this->subtract (rusage.pr_slptime, this->end_usage_.pr_slptime, this->last_usage_.pr_slptime); - rusage.pr_vctx = this->end_usage_.pr_vctx - this->last_usage_.pr_vctx; - rusage.pr_ictx = this->end_usage_.pr_ictx - this->last_usage_.pr_ictx; - rusage.pr_sysc = this->end_usage_.pr_sysc - this->last_usage_.pr_sysc; - rusage.pr_ioch = this->end_usage_.pr_ioch - this->last_usage_.pr_ioch; -} - -/* Compute the elapsed time. */ - -void -Profile_Timer::compute_times (Elapsed_Time &et, prusage_t &end, prusage_t &begin) -{ - timespec_t td; - - this->subtract (td, end.pr_tstamp, begin.pr_tstamp); - et.real_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_utime, begin.pr_utime); - et.user_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_stime, begin.pr_stime); - et.system_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); -} - -/* Compute the amount of time that has elapsed between start and stop. */ - -int -Profile_Timer::elapsed_time (Elapsed_Time &et) -{ - this->compute_times (et, this->end_usage_, this->begin_usage_); - return 0; -} - -/* Determine the difference between T1 and T2. */ - -void -Profile_Timer::subtract (timespec_t &tdiff, timespec_t &t1, timespec_t &t0) -{ - tdiff.tv_sec = t1.tv_sec - t0.tv_sec; - tdiff.tv_nsec = t1.tv_nsec - t0.tv_nsec; - - /* Normalize the time. */ - - while (tdiff.tv_nsec < 0) - { - tdiff.tv_sec--; - tdiff.tv_nsec += (1000 * 1000 * 1000); - } -} - -#if defined (DEBUG) -#include -extern "C" int gettimeofday (timeval *tp); - -const int DEFAULT_ITERATIONS = 1000000; - -int -main (int argc, char *argv[]) -{ - Profile_Timer timer; - int iterations = argc > 1 ? atoi (argv[1]) : DEFAULT_ITERATIONS; - timeval tv; - - timer.start (); - - for (int i = 0; i < iterations; i++) - gettimeofday (&tv); - - timer.stop (); - - Profile_Timer::Elapsed_Time et; - - timer.elapsed_time (et); - - printf ("iterations = %d\n", iterations); - printf ("real time = %f secs, user time = %f secs, system time = %f secs\n", - et.real_time, et.user_time, et.system_time); - - printf ("time per call = %f usecs\n", (et.real_time / double (iterations)) * 1000000); - return 0; -} -#endif /* DEBUG */ diff --git a/TAO/IIOP/test/Orbeline/client/Profile_Timer.h b/TAO/IIOP/test/Orbeline/client/Profile_Timer.h deleted file mode 100644 index f001f59be9a..00000000000 --- a/TAO/IIOP/test/Orbeline/client/Profile_Timer.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -/* An interval timer class using C++. */ - -#if !defined (ACE_PROFILE_TIMER_H) -#define ACE_PROFILE_TIMER_H - -#include -#include -#include -#include -#include -#include - -class Profile_Timer -{ -public: - struct Elapsed_Time - { - double real_time; - double user_time; - double system_time; - }; - - Profile_Timer (void); - ~Profile_Timer (void); - int start (void); - int stop (void); - int elapsed_time (Elapsed_Time &et); - void elapsed_rusage (prusage_t &rusage); - void get_rusage (prusage_t &rusage); - -private: - void subtract (timespec_t &tdiff, timespec_t &t0, timespec_t &t1); - void compute_times (Elapsed_Time &et, prusage_t &, prusage_t &); - - prusage_t begin_usage_; - prusage_t end_usage_; - prusage_t last_usage_; - int proc_fd_; -}; - -/* Start timing */ - -inline int -Profile_Timer::start (void) -{ - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->begin_usage_); -} - -/* Stop timing */ - -inline int -Profile_Timer::stop (void) -{ - this->last_usage_ = this->end_usage_; - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->end_usage_); -} - -#endif /* ACE_PROFILE_TIMER_H */ - diff --git a/TAO/IIOP/test/Orbeline/client/client.cpp b/TAO/IIOP/test/Orbeline/client/client.cpp deleted file mode 100644 index c2b1d4070ae..00000000000 --- a/TAO/IIOP/test/Orbeline/client/client.cpp +++ /dev/null @@ -1,230 +0,0 @@ -//************************************************************************** -// -// NAME : client.C -// DESCRIPTION: -// -// Client for the Cubit example -// -//**************************************************************************** - -#include -#include -#include -#include -#include -#include "cubitC.h" -#include "Profile_Timer.h" - -int LOOP_COUNT; -char SERVER_HOST [1024]; - -inline int func (unsigned i) { return i - 117; } -void run_tests (Cubit_var, int); - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - if (argc != 3) { - cerr << "Format: client " << endl; - return -1; - } - - strcpy(SERVER_HOST, argv[1]); - - LOOP_COUNT = atoi(argv[2]); - - return 0; // Indicates successful parsing of command line -} - - -// -// Mainline -// -int -main (int argc, char *argv[]) -{ - if (parse_args (argc, argv) != 0) - return -1; - - Cubit_var cb; - // cout << "attempting to contact server at host " << SERVER_HOST << '\n' ; - - // - // Initialise client's binding to an - // arbitrary cubit server (at some host) - // - try { - cb = Cubit::_bind ("Cubit", SERVER_HOST); - - } catch (const CORBA::Exception & sysEx) { - cerr << "Binding failed: " << endl; - cerr << sysEx; - } catch (...) { - cerr << "Unexpected exception" << endl; - } - - run_tests (cb, LOOP_COUNT); - return 0; -} - - -void -run_tests (Cubit_var cb, int loop_count) -{ - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - Profile_Timer pt; - - pt.start(); - // - // Cube an octet. - // - - for (i = 0; i < loop_count; i++) - { - - call_count++; - - CORBA::Octet arg_octet = func (i), ret_octet; - - try { - ret_octet = cb->cube_octet (arg_octet); - - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - printf ("** cube_octet(%d) (--> %d)\n", arg_octet , ret_octet); - error_count++; - } - - - // - // Cube a short. - // - call_count++; - - CORBA::Short arg_short = func (i), ret_short; - - try { - ret_short = cb->cube_short (arg_short); - - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) { - printf ("** cube_short(%d) (--> %d)\n", arg_short , ret_short); - error_count++; - } - - // - // Cube a long. - // - - call_count++; - - CORBA::Long arg_long = func (i), ret_long; - - try { - ret_long = cb->cube_long (arg_long); - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - printf ("** cube_long(%d) (--> %d)\n", arg_long , ret_long); - error_count++; - } - - - // - // Cube a "struct" ... - // - Cubit::Many arg_struct, ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - try { - ret_struct = cb->cube_struct (arg_struct); - - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l ; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s ; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o ; - - if (arg_struct.l != ret_struct.l - || arg_struct.s != ret_struct.s - || arg_struct.o != ret_struct.o ) - { - cerr << "** cube_struct ERROR\n"; - error_count++; - } - } - - pt.stop(); - - Elapsed_Time et; - pt.elapsed_time(et); - - if (call_count > 0) - { - if (error_count == 0) - { - unsigned long us = et.real_time * 1000 * 1000; - - us /= call_count; - - if (us > 0) - printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - printf ("%d calls, %d errors\n", call_count, error_count); - } -} diff --git a/TAO/IIOP/test/Orbeline/client/cubit.idl b/TAO/IIOP/test/Orbeline/client/cubit.idl deleted file mode 100644 index 3e2ea392619..00000000000 --- a/TAO/IIOP/test/Orbeline/client/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. -// -//#pragma prefix "Eng.SUN.COM" -//#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/Orbeline/client/stdmk b/TAO/IIOP/test/Orbeline/client/stdmk deleted file mode 100644 index df4125a38d8..00000000000 --- a/TAO/IIOP/test/Orbeline/client/stdmk +++ /dev/null @@ -1,36 +0,0 @@ -CC = CC -DEBUG = - -ORBELINEDIR = /project/waltz/Orbeline2.0 - -ORBCC = $(ORBELINEDIR)/bin/orbeline -v C -m S -c cpp -h h - -CCINCLUDES = -I. -I$(ORBELINEDIR)/include -I$(STL_DIR) -I$(ACE_DIR) - -CCFLAGS = -g $(CCINCLUDES) $(DEBUG) -DCubit_USE_BOA - -LIBPATH = -L$(ORBELINEDIR)/lib -L$(ACE_DIR)/ace - -STDCC_LIBS = -lsocket -lnsl -ldl -mt - -LIBORB = -lorb - -LIBACE = -lACE - -.SUFFIXES: .C .o .h .hh .cc .cpp - -.C.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.cc.o: - $(CC) $(CCFLAGS) -c -o $@ $< -.cpp.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.C.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - -.cc.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - - diff --git a/TAO/IIOP/test/Orbix/Makefile b/TAO/IIOP/test/Orbix/Makefile deleted file mode 100644 index 96935fb78fc..00000000000 --- a/TAO/IIOP/test/Orbix/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the Gateway application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = README - -DIRS = base_server \ - client \ - tpr \ - tpool \ - tps - -#---------------------------------------------------------------------------- -# 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/IIOP/test/Orbix/base_server/Makefile b/TAO/IIOP/test/Orbix/base_server/Makefile deleted file mode 100644 index 3bf0684dfd5..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/test/Orbix/base_server/cubit.h b/TAO/IIOP/test/Orbix/base_server/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/base_server/cubit.idl b/TAO/IIOP/test/Orbix/base_server/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/Orbix/base_server/cubitC.cpp b/TAO/IIOP/test/Orbix/base_server/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/test/Orbix/base_server/cubitC.h b/TAO/IIOP/test/Orbix/base_server/cubitC.h deleted file mode 100644 index 15247168d3c..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubitC.h +++ /dev/null @@ -1,343 +0,0 @@ -#ifndef _cubitC_h -#define _cubitC_h - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -#include "corba.h" - - - -class Cubit; -typedef Cubit *Cubit_ptr; -typedef Cubit_ptr CubitRef; - -#ifndef _Cubit_var_ -#define _Cubit_var_ -class Cubit_var -{ - public: - Cubit_var(); - Cubit_var(Cubit_ptr); - Cubit_var(const Cubit_var&); - ~Cubit_var(); - Cubit_var& operator=(Cubit_ptr); - operator Cubit_ptr() const { return _ptr; } -#if defined(_HPCC_BUG) - operator Cubit *&() { return _ptr; } -#else - operator Cubit_ptr&() { return _ptr; } -#endif - Cubit_ptr operator->() const { return _ptr;} - friend NCistream& operator>>(NCistream&, Cubit_var&); - friend NCostream& operator<<(NCostream&, const Cubit_var&); - friend istream& operator>>(istream&, Cubit_var&); - friend ostream& operator<<(ostream&, const Cubit_var&); - private: - Cubit_ptr _ptr; - void operator=(const Cubit_var&) {} -}; -#endif -class Cubit: public virtual CORBA_Object -{ - private: - static const CORBA::TypeInfo _class_info; - Cubit(const Cubit&) {} - void operator=(const Cubit&){} - public: - static const CORBA::TypeInfo *_desc(); - virtual const CORBA::TypeInfo *_type_info() const; - virtual void *_safe_narrow(const CORBA::TypeInfo& ) const; - static CORBA::Object *_factory(); - protected: - Cubit(const char *obj_name = NULL) :CORBA_Object(obj_name, 1) {} - Cubit(NCistream& strm) :CORBA_Object(strm) {} - virtual ~Cubit() {} - public: - static Cubit_ptr _duplicate(Cubit_ptr obj) { - if (obj ) obj->_ref(); - return obj; - } - static Cubit_ptr _nil() { return (Cubit_ptr)NULL;} - static Cubit_ptr _narrow(CORBA::Object *obj); - static Cubit_ptr _clone(Cubit_ptr obj) { - CORBA::Object_var obj_var(__clone(obj)); - -#if defined(_HPCC_BUG) - return _narrow(obj_var.operator CORBA::Object_ptr()); -#else - return _narrow(obj_var); -#endif - } - static Cubit_ptr _bind(const char *object_name = NULL, - const char *host_name = NULL, - const CORBA::BindOptions* opt = NULL); - - virtual CORBA::Octet cube_octet(CORBA::Octet o); - - virtual CORBA::Short cube_short(CORBA::Short s); - - virtual CORBA::Long cube_long(CORBA::Long l); - - struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - }; - friend NCostream& operator<<(NCostream&, const Many& ); - friend NCistream& operator>>(NCistream&, Many& ); - - friend ostream& operator<<(ostream&, const Many& ); - inline friend istream& operator>>(istream& _strm, Many& _obj) { - NCistream _istrm(_strm); - _istrm >> _obj; - return _strm; - } - - - typedef Many *Many_ptr; - class Many_var - { - public: - Many_var() { _ptr = (Many*)NULL;} - Many_var(Many *ptr) { - _ptr = ptr; - } - Many_var(const Many_var& var) { - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - } - ~Many_var() { - if (_ptr != (Many *)NULL) delete _ptr; - } - Many_var& operator=(Many *ptr) { - if (_ptr != (Many *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - Many_var& operator=(const Many_var& var) { - if (_ptr != (Many *)NULL) delete _ptr; - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - return *this; - } - Many *operator->() { return _ptr; } - operator Many () const { return *_ptr; } - operator Many& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const Many_var& var) { - if (var._ptr == (Many *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - Many_var& var) { - if ( ! var._ptr) - var._ptr = new Many; - strm >> *var._ptr; - return strm; - } - private: - Many *_ptr; - }; - - - virtual Cubit::Many cube_struct(const Cubit::Many& values); - - enum discrim { - e_0th, - e_1st, - e_2nd, - e_3rd, - e_4th, - e_5th - }; - inline friend NCostream& operator<<(NCostream& _strm, discrim _enum_type) { - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend NCistream& operator>>(NCistream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - if (_temp >= 6) - throw CORBA::BAD_PARAM(); - _enum_type = discrim(_temp); - return _strm; - } - inline friend ostream& operator<<(ostream& _strm, discrim _enum_type) { - if( &_strm == &cout || &_strm == &cerr || &_strm == &clog) { - _strm << "discrim:"; - switch(_enum_type) { - case e_0th: - _strm << "e_0th" << endl; - break; - case e_1st: - _strm << "e_1st" << endl; - break; - case e_2nd: - _strm << "e_2nd" << endl; - break; - case e_3rd: - _strm << "e_3rd" << endl; - break; - case e_4th: - _strm << "e_4th" << endl; - break; - case e_5th: - _strm << "e_5th" << endl; - break; - } - } - else - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend istream& operator>>(istream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - _enum_type = discrim(_temp); - return _strm; - } - - - class oneof - { - public: - private: - discrim _disc; - CORBA::Octet __o; - CORBA::Short __s; - CORBA::Long __l; - Cubit::Many __cm; - public: - oneof() : _disc(discrim(0)) {} - ~oneof() {} - oneof(const oneof& obj); - oneof& operator=(const oneof& obj); - - void _d(discrim val) { _disc = val; } - discrim _d() const { return _disc; } - - void o(CORBA::Octet val) { - __o = val; - _disc = Cubit::e_0th; - } - CORBA::Octet o() const { return __o; } - - void s(CORBA::Short val) { - __s = val; - _disc = Cubit::e_1st; - } - CORBA::Short s() const { return __s; } - - void l(CORBA::Long val) { - __l = val; - _disc = Cubit::e_2nd; - } - CORBA::Long l() const { return __l; } - - void cm(const Cubit::Many& val) { - __cm = val; - _disc = Cubit::e_3rd; - } - const Cubit::Many& cm() const { return __cm; } - Cubit::Many& cm() { return __cm; } - - friend NCostream& operator<<(NCostream&, const oneof& ); - friend NCistream& operator>>(NCistream&, oneof& ); - friend ostream& operator<<(ostream&, const oneof&); - inline friend istream& operator>>(istream& strm, oneof& obj) { - NCistream istrm(strm); - strm >> obj; - return strm; - } - }; - - typedef oneof *oneof_ptr; - class oneof_var - { - public: - oneof_var() { _ptr = (oneof*)NULL;} - oneof_var(oneof *ptr) { - _ptr = ptr; - } - oneof_var(const oneof_var& var) { - _ptr = new oneof(*var._ptr); - } - ~oneof_var() { - if (_ptr != (oneof *)NULL) delete _ptr; - } - oneof_var& operator=(oneof *ptr) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - oneof_var& operator=(const oneof_var& var) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = new oneof(*var._ptr); - return *this; - } - oneof *operator->() { return _ptr; } - operator oneof () const { return *_ptr; } - operator oneof& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const oneof_var& var) { - if (var._ptr == (oneof *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - oneof_var& var) { - if ( ! var._ptr) - var._ptr = new oneof; - strm >> *var._ptr; - return strm; - } - private: - oneof *_ptr; - }; - - - virtual Cubit::oneof cube_union(const Cubit::oneof& values); - - virtual void please_exit(); - - inline friend NCistream& operator>>(NCistream& strm, Cubit_ptr& obj) { - CORBA::Object_var _obj(obj); - _obj = CORBA::Object::_read(strm, Cubit::_desc()); - obj = Cubit::_narrow(_obj); - return strm; - } - inline friend ostream& operator<<(ostream& strm, const Cubit_ptr obj) { - strm << (CORBA::Object_ptr)obj; - return strm; - } - inline friend istream& operator>>(istream& strm, Cubit_ptr& obj) { - NCistream istrm(strm); - istrm >> obj; - return strm; - } -}; - - -#endif - diff --git a/TAO/IIOP/test/Orbix/base_server/cubitS.cpp b/TAO/IIOP/test/Orbix/base_server/cubitS.cpp deleted file mode 100644 index 449a8c23548..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubitS.cpp +++ /dev/null @@ -1,226 +0,0 @@ -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/test/Orbix/base_server/cubitS.h b/TAO/IIOP/test/Orbix/base_server/cubitS.h deleted file mode 100644 index 757af4664ad..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubitS.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef _cubitS_h -#define _cubitS_h - -#include "cubitC.h" - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -class _sk_Cubit : public Cubit -{ - protected: - _sk_Cubit(const char *object_name = (const char *)NULL); - _sk_Cubit(const char *service_name, const CORBA::ReferenceData& data); - virtual ~_sk_Cubit() {} - public: - static const CORBA::TypeInfo _skel_info; - - // The following operations need to be implemented by the server. - virtual CORBA::Octet cube_octet(CORBA::Octet o) = 0; - virtual CORBA::Short cube_short(CORBA::Short s) = 0; - virtual CORBA::Long cube_long(CORBA::Long l) = 0; - virtual Cubit::Many cube_struct(const Cubit::Many& values) = 0; - virtual Cubit::oneof cube_union(const Cubit::oneof& values) = 0; - virtual void please_exit() = 0; - - // Skeleton Operations implemented automatically - - static void _cube_octet(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_short(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_long(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_struct(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_union(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _please_exit(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - -}; -template -class _tie_Cubit : public Cubit -{ - public: - _tie_Cubit(T& t, const char *obj_name=(char*)NULL) : - Cubit(obj_name), - _ref(t) { - _object_name(obj_name); - } - _tie_Cubit(T& t, const char *service_name, - const CORBA::ReferenceData& id) - :_ref(t) { - _service(service_name, id); - } - ~_tie_Cubit() {} - CORBA::Octet cube_octet(CORBA::Octet o) { - return _ref.cube_octet( - o); - } - CORBA::Short cube_short(CORBA::Short s) { - return _ref.cube_short( - s); - } - CORBA::Long cube_long(CORBA::Long l) { - return _ref.cube_long( - l); - } - Cubit::Many cube_struct(const Cubit::Many& values) { - return _ref.cube_struct( - values); - } - Cubit::oneof cube_union(const Cubit::oneof& values) { - return _ref.cube_union( - values); - } - void please_exit() { - _ref.please_exit(); - } - - private: - T& _ref; -}; - -#endif - diff --git a/TAO/IIOP/test/Orbix/base_server/cubit_impl.cpp b/TAO/IIOP/test/Orbix/base_server/cubit_impl.cpp deleted file mode 100644 index e35f1084118..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException) { -} diff --git a/TAO/IIOP/test/Orbix/base_server/cubit_impl.h b/TAO/IIOP/test/Orbix/base_server/cubit_impl.h deleted file mode 100644 index 1e710bb15d1..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/cubit_impl.h +++ /dev/null @@ -1,27 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/test/Orbix/base_server/server.cpp b/TAO/IIOP/test/Orbix/base_server/server.cpp deleted file mode 100644 index 96117fe3e0d..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/server.cpp +++ /dev/null @@ -1,40 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file - -int -main (int , char**) -{ - -#ifdef Cubit_USE_BOA - Cubit_var cb = new Cubit_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/test/Orbix/base_server/tpr.cpp b/TAO/IIOP/test/Orbix/base_server/tpr.cpp deleted file mode 100644 index 415410aea9f..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/tpr.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "tpr.h" - -void * -worker(void *vp) -{ - ACE_Thread_Control tc (ACE_Thread_Manager::instance ()); - CORBA::Orbix.continueThreadDispatch (*(CORBA::Request *)vp); - return NULL; -} - - -int -tpr_filter::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment&) -{ -// thread_t tid; -// thr_create(NULL, 0, worker, (void *)&r, THR_DETACHED, &tid); - - ACE_Thread_Manager *thr_mgr = ACE_Thread_Manager::instance (); - thr_mgr->spawn (ACE_THR_FUNC (worker), - (void *) &r, - THR_DETACHED); - - return -1; -} - -tpr_filter tpr_dispatcher; diff --git a/TAO/IIOP/test/Orbix/base_server/tpr.h b/TAO/IIOP/test/Orbix/base_server/tpr.h deleted file mode 100644 index 38c2ccc7069..00000000000 --- a/TAO/IIOP/test/Orbix/base_server/tpr.h +++ /dev/null @@ -1,10 +0,0 @@ -#include "cubit.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" - -// -// Create a thread filter to dispatch incoming calls -// -class tpr_filter : public CORBA::ThreadFilter { - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); -}; diff --git a/TAO/IIOP/test/Orbix/client/Makefile b/TAO/IIOP/test/Orbix/client/Makefile deleted file mode 100644 index 73f775bee2f..00000000000 --- a/TAO/IIOP/test/Orbix/client/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitC.cpp client.cpp - -CLT_OBJS = cubitC.o client.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: client - -client: $(addprefix $(VDIR),$(CLT_OBJS)) - $(LINK.cc) -o client $(addprefix $(VDIR),$(CLT_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITCLT) $(VLDLIBS) $(POSTLINK) - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubitC.o .shobj/cubitC.so: cubitC.cpp cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/client.o .shobj/client.so: client.cpp $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i cubit.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/test/Orbix/client/client.cpp b/TAO/IIOP/test/Orbix/client/client.cpp deleted file mode 100644 index fcf45bdf706..00000000000 --- a/TAO/IIOP/test/Orbix/client/client.cpp +++ /dev/null @@ -1,232 +0,0 @@ -//************************************************************************** -// -// NAME : client.C -// DESCRIPTION: -// -// Client for the Cubit example -// -//**************************************************************************** - -#include "ace/OS.h" -#include "ace/Get_Opt.h" -#include "cubit.h" - -int LOOP_COUNT; -char SERVER_HOST [1024]; - -inline int func (unsigned i) { return i - 117; } -void run_tests (Cubit_var, int); - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_OS::strcpy (SERVER_HOST, "localhost"); - ACE_Get_Opt opts (argc, argv, "dh:n:O:x"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - case 'h': - ACE_OS::strcpy (SERVER_HOST, opts.optarg); - continue; - case 'd': // debug flag - continue; - - case 'n': // loop count - LOOP_COUNT = (unsigned) ACE_OS::atoi (opts.optarg); - continue; - - case 'O': // stringified objref - continue; - - case 'x': - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-n loopcount]" - " [-h SERVER_HOST]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - - -// -// Mainline -// -int -main (int argc, char *argv[]) -{ - if (parse_args (argc, argv) != 0) - return -1; - - Cubit_var cb; - // cout << "attempting to contact server at host " << SERVER_HOST << '\n' ; - - // - // Initialise client's binding to an - // arbitrary cubit server (at some host) - // - TRY { - cb = Cubit::_bind ("", SERVER_HOST, IT_X); - } - CATCHANY { - cerr << "Binding failed: " << IT_X; - } - ENDTRY; - - run_tests (cb, LOOP_COUNT); - return 0; -} - - -void -run_tests (Cubit_var cb, int loop_count) -{ - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - ACE_Time_Value before, after; - - before = ACE_OS::gettimeofday(); - - // - // Cube an octet. - // - - for (i = 0; i < loop_count; i++) - { - - call_count++; - - CORBA::Octet arg_octet = func (i), ret_octet; - - TRY { - ret_octet = cb->cube_octet (arg_octet); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - ACE_OS::printf ("** cube_octet(%d) (--> %d)\n", arg_octet , ret_octet); - error_count++; - } - - - // - // Cube a short. - // - call_count++; - - CORBA::Short arg_short = func (i), ret_short; - - TRY { - ret_short = cb->cube_short (arg_short); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) { - ACE_OS::printf ("** cube_short(%d) (--> %d)\n", arg_short , ret_short); - error_count++; - } - - // - // Cube a long. - // - - call_count++; - - CORBA::Long arg_long = func (i), ret_long; - - TRY { - ret_long = cb->cube_long (arg_long); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - } - ENDTRY; - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - ACE_OS::printf ("** cube_long(%d) (--> %d)\n", arg_long , ret_long); - error_count++; - } - - - // - // Cube a "struct" ... - // - Cubit::Many arg_struct, ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - TRY { - ret_struct = cb->cube_struct (arg_struct); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l ; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s ; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o ; - - if (arg_struct.l != ret_struct.l - || arg_struct.s != ret_struct.s - || arg_struct.o != ret_struct.o ) - { - cerr << "** cube_struct ERROR\n"; - error_count++; - } - } - - - after = ACE_OS::gettimeofday(); - - if (call_count > 0) - { - if (error_count == 0) - { - ACE_Time_Value diff = after - before; - unsigned long us = diff.sec() * 1000 * 1000 + diff.usec(); - - us /= call_count; - - if (us > 0) - ACE_OS::printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - ACE_OS::printf ("%d calls, %d errors\n", call_count, error_count); - } -} diff --git a/TAO/IIOP/test/Orbix/client/cubit.h b/TAO/IIOP/test/Orbix/client/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/test/Orbix/client/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/client/cubit.idl b/TAO/IIOP/test/Orbix/client/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/test/Orbix/client/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/Orbix/client/cubitC.cpp b/TAO/IIOP/test/Orbix/client/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/test/Orbix/client/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/test/Orbix/factory_client/Makefile b/TAO/IIOP/test/Orbix/factory_client/Makefile deleted file mode 100644 index 63cc8a65e02..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitC.cpp client.cpp - -CLT_OBJS = cubitC.o client.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: client - -client: $(addprefix $(VDIR),$(CLT_OBJS)) - $(LINK.cc) -o client $(addprefix $(VDIR),$(CLT_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITCLT) $(VLDLIBS) $(POSTLINK) - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubitC.o .shobj/cubitC.so: cubitC.cpp cubit.h -.obj/client.o .shobj/client.so: client.cpp $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i cubit.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/test/Orbix/factory_client/client.cpp b/TAO/IIOP/test/Orbix/factory_client/client.cpp deleted file mode 100644 index c61cfbc85a5..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/client.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//************************************************************************** -// -// NAME : client.C -// DESCRIPTION: -// -// Client for the Cubit example -// -//**************************************************************************** - -#include "ace/OS.h" -#include "ace/Get_Opt.h" -#include "cubit.h" - -int LOOP_COUNT; -char SERVER_HOST [1024]; - -inline int func (unsigned i) { return i - 117; } -void run_tests (Cubit_var, int); - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_OS::strcpy (SERVER_HOST, "localhost"); - ACE_Get_Opt opts (argc, argv, "dh:n:O:x"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - case 'h': - ACE_OS::strcpy (SERVER_HOST, opts.optarg); - continue; - case 'd': // debug flag - continue; - - case 'n': // loop count - LOOP_COUNT = (unsigned) ACE_OS::atoi (opts.optarg); - continue; - - case 'O': // stringified objref - continue; - - case 'x': - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-n loopcount]" - " [-h SERVER_HOST]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - - -// -// Mainline -// -int -main (int argc, char *argv[]) -{ - if (parse_args (argc, argv) != 0) - return -1; - - Cubit_var cb; - Cubit_Factory_var cf; - - // cout << "attempting to contact server at host " << SERVER_HOST << '\n' ; - - // - // Initialise client's binding to an - // arbitrary cubit server (at some host) - // - TRY { - cf = Cubit_Factory::_bind ("", SERVER_HOST, IT_X); - } - CATCHANY { - cerr << "Binding failed: " << IT_X; - } - ENDTRY; - cb = cf->create_cubit ("My_Cubit"); - - run_tests (cb, LOOP_COUNT); - return 0; -} - - -void -run_tests (Cubit_var cb, int loop_count) -{ - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - ACE_Time_Value before, after; - - before = ACE_OS::gettimeofday(); - - // - // Cube an octet. - // - - for (i = 0; i < loop_count; i++) - { - - call_count++; - - CORBA::Octet arg_octet = func (i), ret_octet; - - TRY { - ret_octet = cb->cube_octet (arg_octet); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - ACE_OS::printf ("** cube_octet(%d) (--> %d)\n", arg_octet , ret_octet); - error_count++; - } - - - // - // Cube a short. - // - call_count++; - - CORBA::Short arg_short = func (i), ret_short; - - TRY { - ret_short = cb->cube_short (arg_short); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) { - ACE_OS::printf ("** cube_short(%d) (--> %d)\n", arg_short , ret_short); - error_count++; - } - - // - // Cube a long. - // - - call_count++; - - CORBA::Long arg_long = func (i), ret_long; - - TRY { - ret_long = cb->cube_long (arg_long); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - } - ENDTRY; - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - ACE_OS::printf ("** cube_long(%d) (--> %d)\n", arg_long , ret_long); - error_count++; - } - - - // - // Cube a "struct" ... - // - Cubit::Many arg_struct, ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - TRY { - ret_struct = cb->cube_struct (arg_struct); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l ; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s ; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o ; - - if (arg_struct.l != ret_struct.l - || arg_struct.s != ret_struct.s - || arg_struct.o != ret_struct.o ) - { - cerr << "** cube_struct ERROR\n"; - error_count++; - } - } - - - after = ACE_OS::gettimeofday(); - - if (call_count > 0) - { - if (error_count == 0) - { - ACE_Time_Value diff = after - before; - unsigned long us = diff.sec() * 1000 * 1000 + diff.usec(); - - us /= call_count; - - if (us > 0) - ACE_OS::printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - ACE_OS::printf ("%d calls, %d errors\n", call_count, error_count); - } -} diff --git a/TAO/IIOP/test/Orbix/factory_client/cubit.h b/TAO/IIOP/test/Orbix/factory_client/cubit.h deleted file mode 100644 index 72e2fb81395..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/cubit.h +++ /dev/null @@ -1,1111 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include - -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _Cubit_Factory_defined -#define _Cubit_Factory_defined -class Cubit_Factory_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_Factory_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) {} - - - Cubit_Factory_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_dispatch () {} - - Cubit_Factory_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_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 Cubit_Factory; - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - - -#ifndef Cubit_FactoryForwH -#define Cubit_FactoryForwH -CORBA::ObjectRef Cubit_Factory_getBase (void *); -void Cubit_Factory_release (Cubit_Factory *, CORBA::Environment &IT_env); -void Cubit_Factory_release (Cubit_Factory_ptr); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr, CORBA::Environment &IT_env); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr ); -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &IT_env); -Cubit_Factory_ptr Cubit_Factory_nil (); -#endif -#define Cubit_Factory_IMPL "Cubit_Factory" - - -class Cubit_Factory; - -typedef Cubit_Factory Cubit_FactoryProxy; -#define Cubit_Factory_IR "Cubit_Factory" -#define Cubit_Factory_IMPL "Cubit_Factory" - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - -class Cubit_Factory: public virtual CORBA::Object { -public: - Cubit_Factory (char *IT_OR); - Cubit_Factory (ObjectReference *IT_OR); - Cubit_Factory () : CORBA::Object (1) {} -protected: - Cubit_Factory_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_Factory_ptr _duplicate( - Cubit_Factory_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit_Factory* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _bind (CORBA::Environment &IT_env); - static Cubit_Factory* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_Factory_ptr) CORBA::OBJECT_NIL;} - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef Cubit_FactoryVarH -#define Cubit_FactoryVarH - -#ifndef Cubit_FactoryvPtr -#define Cubit_FactoryvPtr -typedef Cubit_Factory* Cubit_Factory_vPtr; -typedef const Cubit_Factory* Cubit_Factory_cvPtr; -#endif - -class Cubit_Factory_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_Factory_var &IT_s) { - { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_Factory_var (const Cubit_Factory_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_Factory_var () { - _ptr = Cubit_Factory_nil (); - } - - Cubit_Factory_var (Cubit_Factory *IT_p) { - _ptr = IT_p; - } - - Cubit_Factory_var &operator= (Cubit_Factory *IT_p) { - Cubit_Factory_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_Factory_var &operator= (const Cubit_Factory_var &IT_s) { - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_Factory_var () { - Cubit_Factory_release (_ptr); - } - - Cubit_Factory* operator-> () { - return _ptr; - } - - operator Cubit_Factory_cvPtr () const { return _ptr;} - operator Cubit_Factory_vPtr& () { return _ptr;} - - protected: - Cubit_Factory *_ptr; - private: - Cubit_Factory_var &operator= (const CORBA::_var &IT_s); - Cubit_Factory_var (const CORBA::_var &IT_s); - Cubit_Factory_var &operator= (const CORBA::_mgr &IT_s); - Cubit_Factory_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_Factory_var (const CORBA::_mgr &IT_s); - Cubit_Factory_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef Cubit_FactoryMgrH -#define Cubit_FactoryMgrH - -class Cubit_Factory_mgr : public CORBA::_mgr -{ - public: - - Cubit_Factory_mgr () { - _ptr = Cubit_Factory_nil (); - _release = 1; - } - - Cubit_Factory_mgr (const Cubit_Factory_mgr &IT_s) { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_Factory_mgr &operator= (Cubit_Factory *IT_p) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (const Cubit_Factory_mgr &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (Cubit_Factory_var &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_Factory_mgr () { - if (_release) - Cubit_Factory_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 Cubit_Factory* () const { - return (Cubit_Factory*) _ptr; - } - - Cubit_Factory_ptr operator-> () const { - return _ptr; - } - - Cubit_Factory *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_Factory_mgr Cubit_Factory_mgr_IT_const; -#endif - -#ifndef Cubit_FactorySeqElemH -#define Cubit_FactorySeqElemH - -class Cubit_Factory_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_Factory_SeqElem (Cubit_Factory_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_Factory_SeqElem &operator= (Cubit_Factory_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_Factory_SeqElem &operator= (const Cubit_Factory_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = Cubit_Factory_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_Factory_ptr () const { - return _ptr ? (Cubit_Factory_ptr) (*_ptr) : Cubit_Factory_nil(); - } - - Cubit_Factory_ptr operator->() const { return *_ptr;} - - protected: - Cubit_Factory_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit_Factory(X) Cubit_Factory##X - -#define DEF_TIE_Cubit_Factory(X) \ - class Cubit_Factory##X : public virtual Cubit_Factory { \ - X* m_obj; \ - public: \ - \ - \ - Cubit_Factory##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit_Factory(), m_obj(objp) { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,m,l,Cubit_Factory_IR,m_obj); \ - } \ - Cubit_Factory##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit_Factory() { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,IT_m,Cubit_Factory_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit_Factory##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit_Factory \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - - - - -class Cubit_FactoryProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - Cubit_FactoryProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_Factory_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 Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory; - -class Cubit_FactoryBOAImpl : public virtual Cubit_Factory { -public: - Cubit_FactoryBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_Factory_IR)) - m_pptr = new Cubit_Factory_dispatch ( (Cubit_Factory*)this, - (CORBA::Object*)this, m, l, Cubit_Factory_IR, this); -} - - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/factory_client/cubit.hh b/TAO/IIOP/test/Orbix/factory_client/cubit.hh deleted file mode 100644 index 72e2fb81395..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/cubit.hh +++ /dev/null @@ -1,1111 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include - -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _Cubit_Factory_defined -#define _Cubit_Factory_defined -class Cubit_Factory_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_Factory_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) {} - - - Cubit_Factory_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_dispatch () {} - - Cubit_Factory_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_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 Cubit_Factory; - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - - -#ifndef Cubit_FactoryForwH -#define Cubit_FactoryForwH -CORBA::ObjectRef Cubit_Factory_getBase (void *); -void Cubit_Factory_release (Cubit_Factory *, CORBA::Environment &IT_env); -void Cubit_Factory_release (Cubit_Factory_ptr); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr, CORBA::Environment &IT_env); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr ); -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &IT_env); -Cubit_Factory_ptr Cubit_Factory_nil (); -#endif -#define Cubit_Factory_IMPL "Cubit_Factory" - - -class Cubit_Factory; - -typedef Cubit_Factory Cubit_FactoryProxy; -#define Cubit_Factory_IR "Cubit_Factory" -#define Cubit_Factory_IMPL "Cubit_Factory" - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - -class Cubit_Factory: public virtual CORBA::Object { -public: - Cubit_Factory (char *IT_OR); - Cubit_Factory (ObjectReference *IT_OR); - Cubit_Factory () : CORBA::Object (1) {} -protected: - Cubit_Factory_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_Factory_ptr _duplicate( - Cubit_Factory_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit_Factory* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _bind (CORBA::Environment &IT_env); - static Cubit_Factory* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_Factory_ptr) CORBA::OBJECT_NIL;} - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef Cubit_FactoryVarH -#define Cubit_FactoryVarH - -#ifndef Cubit_FactoryvPtr -#define Cubit_FactoryvPtr -typedef Cubit_Factory* Cubit_Factory_vPtr; -typedef const Cubit_Factory* Cubit_Factory_cvPtr; -#endif - -class Cubit_Factory_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_Factory_var &IT_s) { - { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_Factory_var (const Cubit_Factory_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_Factory_var () { - _ptr = Cubit_Factory_nil (); - } - - Cubit_Factory_var (Cubit_Factory *IT_p) { - _ptr = IT_p; - } - - Cubit_Factory_var &operator= (Cubit_Factory *IT_p) { - Cubit_Factory_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_Factory_var &operator= (const Cubit_Factory_var &IT_s) { - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_Factory_var () { - Cubit_Factory_release (_ptr); - } - - Cubit_Factory* operator-> () { - return _ptr; - } - - operator Cubit_Factory_cvPtr () const { return _ptr;} - operator Cubit_Factory_vPtr& () { return _ptr;} - - protected: - Cubit_Factory *_ptr; - private: - Cubit_Factory_var &operator= (const CORBA::_var &IT_s); - Cubit_Factory_var (const CORBA::_var &IT_s); - Cubit_Factory_var &operator= (const CORBA::_mgr &IT_s); - Cubit_Factory_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_Factory_var (const CORBA::_mgr &IT_s); - Cubit_Factory_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef Cubit_FactoryMgrH -#define Cubit_FactoryMgrH - -class Cubit_Factory_mgr : public CORBA::_mgr -{ - public: - - Cubit_Factory_mgr () { - _ptr = Cubit_Factory_nil (); - _release = 1; - } - - Cubit_Factory_mgr (const Cubit_Factory_mgr &IT_s) { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_Factory_mgr &operator= (Cubit_Factory *IT_p) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (const Cubit_Factory_mgr &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (Cubit_Factory_var &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_Factory_mgr () { - if (_release) - Cubit_Factory_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 Cubit_Factory* () const { - return (Cubit_Factory*) _ptr; - } - - Cubit_Factory_ptr operator-> () const { - return _ptr; - } - - Cubit_Factory *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_Factory_mgr Cubit_Factory_mgr_IT_const; -#endif - -#ifndef Cubit_FactorySeqElemH -#define Cubit_FactorySeqElemH - -class Cubit_Factory_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_Factory_SeqElem (Cubit_Factory_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_Factory_SeqElem &operator= (Cubit_Factory_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_Factory_SeqElem &operator= (const Cubit_Factory_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = Cubit_Factory_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_Factory_ptr () const { - return _ptr ? (Cubit_Factory_ptr) (*_ptr) : Cubit_Factory_nil(); - } - - Cubit_Factory_ptr operator->() const { return *_ptr;} - - protected: - Cubit_Factory_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit_Factory(X) Cubit_Factory##X - -#define DEF_TIE_Cubit_Factory(X) \ - class Cubit_Factory##X : public virtual Cubit_Factory { \ - X* m_obj; \ - public: \ - \ - \ - Cubit_Factory##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit_Factory(), m_obj(objp) { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,m,l,Cubit_Factory_IR,m_obj); \ - } \ - Cubit_Factory##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit_Factory() { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,IT_m,Cubit_Factory_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit_Factory##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit_Factory \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - - - - -class Cubit_FactoryProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - Cubit_FactoryProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_Factory_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 Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory; - -class Cubit_FactoryBOAImpl : public virtual Cubit_Factory { -public: - Cubit_FactoryBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_Factory_IR)) - m_pptr = new Cubit_Factory_dispatch ( (Cubit_Factory*)this, - (CORBA::Object*)this, m, l, Cubit_Factory_IR, this); -} - - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/factory_client/cubit.idl b/TAO/IIOP/test/Orbix/factory_client/cubit.idl deleted file mode 100644 index 7dba408d0db..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/cubit.idl +++ /dev/null @@ -1,46 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - - interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); - }; - - - interface Cubit_Factory { - Cubit create_cubit (in string name); - }; - diff --git a/TAO/IIOP/test/Orbix/factory_client/cubitC.cpp b/TAO/IIOP/test/Orbix/factory_client/cubitC.cpp deleted file mode 100644 index c439fc4c800..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/cubitC.cpp +++ /dev/null @@ -1,710 +0,0 @@ - - -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - -Cubit_Factory::Cubit_Factory (char *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit_Factory::Cubit_Factory (ObjectReference *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef Cubit_FactoryForwC -#define Cubit_FactoryForwC -CORBA::ObjectRef Cubit_Factory_getBase(void *IT_p){ - return (Cubit_Factory*) IT_p;} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p) { - Cubit_Factory_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &) { - return Cubit_Factory:: _nil ();} - -Cubit_Factory_ptr Cubit_Factory_nil () { - return Cubit_Factory_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit_Factory::_duplicate(IT_p, IT_env)); } -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p) { - return Cubit_Factory_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_Factory_ptr Cubit_Factory::_duplicate(Cubit_Factory_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_Factory_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit_Factory*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_Factory_IMPL, Cubit_Factory_IR); -} - - - -Cubit_Factory* Cubit_Factory:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit_Factory* Cubit_Factory::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit_Factory:: _nil(); - } - - Cubit_Factory* IT_p = (Cubit_Factory*)CORBA::Object::_castDown (IT_obj, Cubit_Factory_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - -void* Cubit_FactoryProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New2 () { - return new class Cubit_Factory((char*)0);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::New2Object () { - return new class Cubit_Factory((char*)0);} - -void* Cubit_FactoryProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_Factory_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit_Factory*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* Cubit_FactoryProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit_Factory*)IT_p)->_pptr ();} - -void Cubit_FactoryProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_Factory_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory(1); - -Cubit_ptr Cubit_Factory:: create_cubit (const char * name, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return new Cubit; - } - CORBA::Request IT_r (this, "create_cubit",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.encodeStringOp (name); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit_ptr IT_result; - IT_result = (Cubit*) IT_r.decodeObjRef (Cubit_IR); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return new Cubit; -} - - - - - -#ifndef Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit_Factory"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/test/Orbix/factory_client/cubitS.cpp b/TAO/IIOP/test/Orbix/factory_client/cubitS.cpp deleted file mode 100644 index 2f0459962b8..00000000000 --- a/TAO/IIOP/test/Orbix/factory_client/cubitS.cpp +++ /dev/null @@ -1,282 +0,0 @@ - - -#include "cubit.hh" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#define Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"create_cubit")) { - Cubit_ptr IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~create_cubit~+name{0},>{O~Cubit},N{}\ -")) - return 1; - char * name; - - IT_r.decodeStringOp(name); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit_Factory*)IT_pp)->create_cubit ( name, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - CORBA::string_free (name); - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -O~Cubit\ -", IT_env)) return 1; - { - CORBA::Object* IT_l1 = (CORBA::Object*) IT_result; - IT_r << IT_l1; - } - if (IT_result) Cubit_release (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/test/Orbix/orb.mk b/TAO/IIOP/test/Orbix/orb.mk deleted file mode 100644 index cf7b12d3b1b..00000000000 --- a/TAO/IIOP/test/Orbix/orb.mk +++ /dev/null @@ -1,146 +0,0 @@ -# ------------------------------------------------------------ -# Orbix 2.2 implicit rules for SunOS/GNU Make -# ------------------------------------------------------------ -# -# If you cut'n'paste this into your /usr/include/make/default.mk -# file, beware! This is not officially supported by Iona -# Technologies, and you may want to be a bit of a Makefile hacker -# to make it integrate well with your site's setup. - -# The best thing to do would be put it in a standard place and -# anyone who wants the Orbix implicit rule set can include -# it with an "include /orbix.mk" line in their -# Makefile. A good place to put it might be /usr/include/make. - -# These rules define default C++, C++FLAGS and C++SUFFIX. -# C++ is the C++ compiler to use; C++FLAGS are command-line -# flags to the C++ compiler for use in compiling C++ source -# files into objects; C++SUFFIX is the filename suffix -# indicating C++ source. By default, it's set to "C" for AT&T C++, -# and "cc" for GNU g++. - -# Feel free to override these in your Makefiles *after* -# including this file. - -# IMPORTANT: If the -M switch is specified in IDLFLAGS, the IDL -# compiler appends to the user-specified file. The dependency for -# specified_file.o in the linking target should appear _after_ any use -# of the IDL compiler which takes the -M flag. Putting it _last_ -# is normally the best approach. - -# Note that these rule definitions use pattern matching, -# and therefore only work with SunOS make and GNU make. - -# They may not work with other vendor's versions of make. -# If they do not, you may wish to try using GNU make, which -# is free software produced by the Free Software Foundation. - -# If the version of make you wish to use does not support -# pattern matching, use the sample explicit rule set in -# the comments at the end of this file. - -# ------------------------------------------------------------ -# Essential: set these to the locations into which you -# have installed Orbix' components: - -ORBIX_BINDIR = /opt/Orbix_2.2MT/corba2/bin -ORBIX_LIBDIR = /opt/Orbix_2.2MT/corba2/lib -ORBIX_INCDIR = /opt/Orbix_2.2MT/corba2/include - -#------------------------------------------------------------- -# To compile the demos, you should change these values as -# appropriate for your particular system installation -#------------------------------------------------------------- - -X11BASE = /usr/openwin -X11INCDIR = $(X11BASE)/include -X11LIBDIR = $(X11BASE)/lib - -# C++ = CC -# C++FLAGS = -I$(ORBIX_INCDIR) -I. -mt -D_REENTRANT -# C++SUFFIX = cpp - -# ------------------------------------------------------------ -# ITCLT, IRCLT and ITSRV can be either statically or dynamically linked -# Use -Bdynamic or -Bstatic as appropriate. -# ------------------------------------------------------------ - -ITCLT = -Bstatic -lorbixmt -IRCLT = -Bstatic -lIRcltmt -ITSRV = -Bstatic -lorbixmt -ITIIOP = -Bstatic -liiopmt -ITDSI = -Bstatic -lDSImt -ITIFR = -Bstatic -lifrmt - -# ------------------------------------------------------------ -# SYSLIBS must be dynamically linked; otherwise you can expect to -# get linkage errors for symbols in the nsl library -# ------------------------------------------------------------ - -LDFLAGS += -L$(ORBIX_LIBDIR) -SYSLIBS = -Bdynamic -lnsl -lsocket - -IDL = $(ORBIX_BINDIR)/idl -IDLFLAGS = - -# ------------------------------------------------------------ -# The following section defines implicit rules for creating -# *.{C,S}.C files, rules for compiling those -# into objects, and even a rule for compiling C++ source into -# objects (in case one isn't already defined). - -# ------------------------------------------------------------ -# first, put the new suffixes at the *head* of the suffix list, -# overriding any existing .C compilation method. -.SUFFIXES: -.SUFFIXES: .$(C++SUFFIX) .idl $(SUFFIXES) - -# .SUFFIXES: .$(C++SUFFIX) .idl .hh $(SUFFIXES) -# ------------------------------------------------------------ -# *[CS].o must be compiled here, and depends -# mostly on the C++ files produced from the IDL file. - -%C.o: %C.$(C++SUFFIX) - $(C++) -c $(C++FLAGS) $< - -%S.o: %S.$(C++SUFFIX) - $(C++) -c $(C++FLAGS) $< - -%.o: %.$(C++SUFFIX) - $(C++) -c $(C++FLAGS) $< - -# and here's how to compile C++ files from the IDL file. -# only ONE of these rules will be run at make-time, - -%S.$(C++SUFFIX): %.idl - $(IDL) $(IDLFLAGS) $< - -%C.$(C++SUFFIX): %.idl - $(IDL) $(IDLFLAGS) $< - -%.hh: %.idl - $(IDL) $(IDLFLAGS) $< - -# ------------------------------------------------------------ -# If the version of make you wish to use does not support -# pattern matching, here's a sample of an explicit rule set. - -# We assume the IDL file is called "foobar.idl", we wish -# to compile "foobarC.o", "foobarS.o", and -# "foobar.hh", and the C++ file suffix. -# ------------------------------------------------------------ - -# foobarC.o: foobar.hh foobarC.C -# $(C++) -c ($C++FLAGS) foobarC.C -# -# foobarS.o: foobar.hh foobarS.C -# $(C++) -c ($C++FLAGS) foobarS.C -# -# foobarC.C: foobar.idl -# $(IDL) -c ($IDLFLAGS) foobar.idl -# -# foobarS.C: foobar.idl -# $(IDL) -c ($IDLFLAGS) foobar.idl -# -# foobar.hh: foobar.idl -# $(IDL) -c ($IDLFLAGS) foobar.idl diff --git a/TAO/IIOP/test/Orbix/tpool/Makefile b/TAO/IIOP/test/Orbix/tpool/Makefile deleted file mode 100644 index 0e425af78b1..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp tpool.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o tpool.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/test/Orbix/tpool/cubit.h b/TAO/IIOP/test/Orbix/tpool/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/tpool/cubit.idl b/TAO/IIOP/test/Orbix/tpool/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/Orbix/tpool/cubitC.cpp b/TAO/IIOP/test/Orbix/tpool/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/test/Orbix/tpool/cubitS.cpp b/TAO/IIOP/test/Orbix/tpool/cubitS.cpp deleted file mode 100644 index 449a8c23548..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/cubitS.cpp +++ /dev/null @@ -1,226 +0,0 @@ -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/test/Orbix/tpool/cubit_impl.cpp b/TAO/IIOP/test/Orbix/tpool/cubit_impl.cpp deleted file mode 100644 index e35f1084118..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException) { -} diff --git a/TAO/IIOP/test/Orbix/tpool/cubit_impl.h b/TAO/IIOP/test/Orbix/tpool/cubit_impl.h deleted file mode 100644 index 1e710bb15d1..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/cubit_impl.h +++ /dev/null @@ -1,27 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/test/Orbix/tpool/server.cpp b/TAO/IIOP/test/Orbix/tpool/server.cpp deleted file mode 100644 index 8cae4135876..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/server.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file -#include "tpool.h" - -int -main (int argc, char** argv) -{ - - -#ifdef Cubit_USE_BOA - Cubit_var cb = new Cubit_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // Register our thread-pool dispatcher - int n_threads = argc > 1 ? ACE_OS::atoi (argv[1]) : ACE_DEFAULT_THREADS; - Thread_Pool tpool_dispatcher (n_threads); - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/test/Orbix/tpool/tpool.cpp b/TAO/IIOP/test/Orbix/tpool/tpool.cpp deleted file mode 100644 index 5d1fbd1a638..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/tpool.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "tpool.h" - -Thread_Pool::Thread_Pool (int n_threads) - : ACE_Task (ACE_Thread_Manager::instance ()) -{ - if (this->activate (THR_DETACHED | THR_NEW_LWP, n_threads) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "activate failed")); -} - -int -Thread_Pool::svc (void) -{ - cout << "Pool thread activated" << endl; - while (1) - { - // Dequeue message - ACE_Message_Block *mb; - this->msg_queue ()->dequeue_head (mb); - CORBA::Request *vp = (CORBA::Request *) mb->base (); - mb->release (); - // Hand it off to Orbix - CORBA::Orbix.continueThreadDispatch (*vp); - } - return -1; -} - - -int -Thread_Pool::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment&) -{ -// thread_t tid; -// thr_create(NULL, 0, worker, (void *)&r, THR_DETACHED, &tid); - - // Enqueue the request - ACE_Message_Block *mb = new ACE_Message_Block ( (char *) (&r)); - this->msg_queue ()->enqueue (mb); - // Done - return -1; -} - - - diff --git a/TAO/IIOP/test/Orbix/tpool/tpool.h b/TAO/IIOP/test/Orbix/tpool/tpool.h deleted file mode 100644 index 3087ce42052..00000000000 --- a/TAO/IIOP/test/Orbix/tpool/tpool.h +++ /dev/null @@ -1,15 +0,0 @@ -#include "cubit.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" -#include "ace/Task.h" - -class Thread_Pool : public ACE_Task, public CORBA::ThreadFilter -{ -public: - Thread_Pool (int n_threads); - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); - virtual int svc (void); - -}; - - diff --git a/TAO/IIOP/test/Orbix/tpr/Makefile b/TAO/IIOP/test/Orbix/tpr/Makefile deleted file mode 100644 index 650d6aaf259..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp tpr.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o tpr.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/test/Orbix/tpr/cubit.h b/TAO/IIOP/test/Orbix/tpr/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/tpr/cubit.idl b/TAO/IIOP/test/Orbix/tpr/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/Orbix/tpr/cubitC.cpp b/TAO/IIOP/test/Orbix/tpr/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/test/Orbix/tpr/cubitC.h b/TAO/IIOP/test/Orbix/tpr/cubitC.h deleted file mode 100644 index 15247168d3c..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubitC.h +++ /dev/null @@ -1,343 +0,0 @@ -#ifndef _cubitC_h -#define _cubitC_h - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -#include "corba.h" - - - -class Cubit; -typedef Cubit *Cubit_ptr; -typedef Cubit_ptr CubitRef; - -#ifndef _Cubit_var_ -#define _Cubit_var_ -class Cubit_var -{ - public: - Cubit_var(); - Cubit_var(Cubit_ptr); - Cubit_var(const Cubit_var&); - ~Cubit_var(); - Cubit_var& operator=(Cubit_ptr); - operator Cubit_ptr() const { return _ptr; } -#if defined(_HPCC_BUG) - operator Cubit *&() { return _ptr; } -#else - operator Cubit_ptr&() { return _ptr; } -#endif - Cubit_ptr operator->() const { return _ptr;} - friend NCistream& operator>>(NCistream&, Cubit_var&); - friend NCostream& operator<<(NCostream&, const Cubit_var&); - friend istream& operator>>(istream&, Cubit_var&); - friend ostream& operator<<(ostream&, const Cubit_var&); - private: - Cubit_ptr _ptr; - void operator=(const Cubit_var&) {} -}; -#endif -class Cubit: public virtual CORBA_Object -{ - private: - static const CORBA::TypeInfo _class_info; - Cubit(const Cubit&) {} - void operator=(const Cubit&){} - public: - static const CORBA::TypeInfo *_desc(); - virtual const CORBA::TypeInfo *_type_info() const; - virtual void *_safe_narrow(const CORBA::TypeInfo& ) const; - static CORBA::Object *_factory(); - protected: - Cubit(const char *obj_name = NULL) :CORBA_Object(obj_name, 1) {} - Cubit(NCistream& strm) :CORBA_Object(strm) {} - virtual ~Cubit() {} - public: - static Cubit_ptr _duplicate(Cubit_ptr obj) { - if (obj ) obj->_ref(); - return obj; - } - static Cubit_ptr _nil() { return (Cubit_ptr)NULL;} - static Cubit_ptr _narrow(CORBA::Object *obj); - static Cubit_ptr _clone(Cubit_ptr obj) { - CORBA::Object_var obj_var(__clone(obj)); - -#if defined(_HPCC_BUG) - return _narrow(obj_var.operator CORBA::Object_ptr()); -#else - return _narrow(obj_var); -#endif - } - static Cubit_ptr _bind(const char *object_name = NULL, - const char *host_name = NULL, - const CORBA::BindOptions* opt = NULL); - - virtual CORBA::Octet cube_octet(CORBA::Octet o); - - virtual CORBA::Short cube_short(CORBA::Short s); - - virtual CORBA::Long cube_long(CORBA::Long l); - - struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - }; - friend NCostream& operator<<(NCostream&, const Many& ); - friend NCistream& operator>>(NCistream&, Many& ); - - friend ostream& operator<<(ostream&, const Many& ); - inline friend istream& operator>>(istream& _strm, Many& _obj) { - NCistream _istrm(_strm); - _istrm >> _obj; - return _strm; - } - - - typedef Many *Many_ptr; - class Many_var - { - public: - Many_var() { _ptr = (Many*)NULL;} - Many_var(Many *ptr) { - _ptr = ptr; - } - Many_var(const Many_var& var) { - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - } - ~Many_var() { - if (_ptr != (Many *)NULL) delete _ptr; - } - Many_var& operator=(Many *ptr) { - if (_ptr != (Many *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - Many_var& operator=(const Many_var& var) { - if (_ptr != (Many *)NULL) delete _ptr; - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - return *this; - } - Many *operator->() { return _ptr; } - operator Many () const { return *_ptr; } - operator Many& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const Many_var& var) { - if (var._ptr == (Many *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - Many_var& var) { - if ( ! var._ptr) - var._ptr = new Many; - strm >> *var._ptr; - return strm; - } - private: - Many *_ptr; - }; - - - virtual Cubit::Many cube_struct(const Cubit::Many& values); - - enum discrim { - e_0th, - e_1st, - e_2nd, - e_3rd, - e_4th, - e_5th - }; - inline friend NCostream& operator<<(NCostream& _strm, discrim _enum_type) { - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend NCistream& operator>>(NCistream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - if (_temp >= 6) - throw CORBA::BAD_PARAM(); - _enum_type = discrim(_temp); - return _strm; - } - inline friend ostream& operator<<(ostream& _strm, discrim _enum_type) { - if( &_strm == &cout || &_strm == &cerr || &_strm == &clog) { - _strm << "discrim:"; - switch(_enum_type) { - case e_0th: - _strm << "e_0th" << endl; - break; - case e_1st: - _strm << "e_1st" << endl; - break; - case e_2nd: - _strm << "e_2nd" << endl; - break; - case e_3rd: - _strm << "e_3rd" << endl; - break; - case e_4th: - _strm << "e_4th" << endl; - break; - case e_5th: - _strm << "e_5th" << endl; - break; - } - } - else - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend istream& operator>>(istream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - _enum_type = discrim(_temp); - return _strm; - } - - - class oneof - { - public: - private: - discrim _disc; - CORBA::Octet __o; - CORBA::Short __s; - CORBA::Long __l; - Cubit::Many __cm; - public: - oneof() : _disc(discrim(0)) {} - ~oneof() {} - oneof(const oneof& obj); - oneof& operator=(const oneof& obj); - - void _d(discrim val) { _disc = val; } - discrim _d() const { return _disc; } - - void o(CORBA::Octet val) { - __o = val; - _disc = Cubit::e_0th; - } - CORBA::Octet o() const { return __o; } - - void s(CORBA::Short val) { - __s = val; - _disc = Cubit::e_1st; - } - CORBA::Short s() const { return __s; } - - void l(CORBA::Long val) { - __l = val; - _disc = Cubit::e_2nd; - } - CORBA::Long l() const { return __l; } - - void cm(const Cubit::Many& val) { - __cm = val; - _disc = Cubit::e_3rd; - } - const Cubit::Many& cm() const { return __cm; } - Cubit::Many& cm() { return __cm; } - - friend NCostream& operator<<(NCostream&, const oneof& ); - friend NCistream& operator>>(NCistream&, oneof& ); - friend ostream& operator<<(ostream&, const oneof&); - inline friend istream& operator>>(istream& strm, oneof& obj) { - NCistream istrm(strm); - strm >> obj; - return strm; - } - }; - - typedef oneof *oneof_ptr; - class oneof_var - { - public: - oneof_var() { _ptr = (oneof*)NULL;} - oneof_var(oneof *ptr) { - _ptr = ptr; - } - oneof_var(const oneof_var& var) { - _ptr = new oneof(*var._ptr); - } - ~oneof_var() { - if (_ptr != (oneof *)NULL) delete _ptr; - } - oneof_var& operator=(oneof *ptr) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - oneof_var& operator=(const oneof_var& var) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = new oneof(*var._ptr); - return *this; - } - oneof *operator->() { return _ptr; } - operator oneof () const { return *_ptr; } - operator oneof& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const oneof_var& var) { - if (var._ptr == (oneof *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - oneof_var& var) { - if ( ! var._ptr) - var._ptr = new oneof; - strm >> *var._ptr; - return strm; - } - private: - oneof *_ptr; - }; - - - virtual Cubit::oneof cube_union(const Cubit::oneof& values); - - virtual void please_exit(); - - inline friend NCistream& operator>>(NCistream& strm, Cubit_ptr& obj) { - CORBA::Object_var _obj(obj); - _obj = CORBA::Object::_read(strm, Cubit::_desc()); - obj = Cubit::_narrow(_obj); - return strm; - } - inline friend ostream& operator<<(ostream& strm, const Cubit_ptr obj) { - strm << (CORBA::Object_ptr)obj; - return strm; - } - inline friend istream& operator>>(istream& strm, Cubit_ptr& obj) { - NCistream istrm(strm); - istrm >> obj; - return strm; - } -}; - - -#endif - diff --git a/TAO/IIOP/test/Orbix/tpr/cubitS.cpp b/TAO/IIOP/test/Orbix/tpr/cubitS.cpp deleted file mode 100644 index 449a8c23548..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubitS.cpp +++ /dev/null @@ -1,226 +0,0 @@ -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/test/Orbix/tpr/cubitS.h b/TAO/IIOP/test/Orbix/tpr/cubitS.h deleted file mode 100644 index 757af4664ad..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubitS.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef _cubitS_h -#define _cubitS_h - -#include "cubitC.h" - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -class _sk_Cubit : public Cubit -{ - protected: - _sk_Cubit(const char *object_name = (const char *)NULL); - _sk_Cubit(const char *service_name, const CORBA::ReferenceData& data); - virtual ~_sk_Cubit() {} - public: - static const CORBA::TypeInfo _skel_info; - - // The following operations need to be implemented by the server. - virtual CORBA::Octet cube_octet(CORBA::Octet o) = 0; - virtual CORBA::Short cube_short(CORBA::Short s) = 0; - virtual CORBA::Long cube_long(CORBA::Long l) = 0; - virtual Cubit::Many cube_struct(const Cubit::Many& values) = 0; - virtual Cubit::oneof cube_union(const Cubit::oneof& values) = 0; - virtual void please_exit() = 0; - - // Skeleton Operations implemented automatically - - static void _cube_octet(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_short(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_long(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_struct(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_union(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _please_exit(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - -}; -template -class _tie_Cubit : public Cubit -{ - public: - _tie_Cubit(T& t, const char *obj_name=(char*)NULL) : - Cubit(obj_name), - _ref(t) { - _object_name(obj_name); - } - _tie_Cubit(T& t, const char *service_name, - const CORBA::ReferenceData& id) - :_ref(t) { - _service(service_name, id); - } - ~_tie_Cubit() {} - CORBA::Octet cube_octet(CORBA::Octet o) { - return _ref.cube_octet( - o); - } - CORBA::Short cube_short(CORBA::Short s) { - return _ref.cube_short( - s); - } - CORBA::Long cube_long(CORBA::Long l) { - return _ref.cube_long( - l); - } - Cubit::Many cube_struct(const Cubit::Many& values) { - return _ref.cube_struct( - values); - } - Cubit::oneof cube_union(const Cubit::oneof& values) { - return _ref.cube_union( - values); - } - void please_exit() { - _ref.please_exit(); - } - - private: - T& _ref; -}; - -#endif - diff --git a/TAO/IIOP/test/Orbix/tpr/cubit_impl.cpp b/TAO/IIOP/test/Orbix/tpr/cubit_impl.cpp deleted file mode 100644 index e35f1084118..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException) { -} diff --git a/TAO/IIOP/test/Orbix/tpr/cubit_impl.h b/TAO/IIOP/test/Orbix/tpr/cubit_impl.h deleted file mode 100644 index 1e710bb15d1..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/cubit_impl.h +++ /dev/null @@ -1,27 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/test/Orbix/tpr/server.cpp b/TAO/IIOP/test/Orbix/tpr/server.cpp deleted file mode 100644 index 96117fe3e0d..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/server.cpp +++ /dev/null @@ -1,40 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file - -int -main (int , char**) -{ - -#ifdef Cubit_USE_BOA - Cubit_var cb = new Cubit_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/test/Orbix/tpr/tpr.cpp b/TAO/IIOP/test/Orbix/tpr/tpr.cpp deleted file mode 100644 index 415410aea9f..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/tpr.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "tpr.h" - -void * -worker(void *vp) -{ - ACE_Thread_Control tc (ACE_Thread_Manager::instance ()); - CORBA::Orbix.continueThreadDispatch (*(CORBA::Request *)vp); - return NULL; -} - - -int -tpr_filter::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment&) -{ -// thread_t tid; -// thr_create(NULL, 0, worker, (void *)&r, THR_DETACHED, &tid); - - ACE_Thread_Manager *thr_mgr = ACE_Thread_Manager::instance (); - thr_mgr->spawn (ACE_THR_FUNC (worker), - (void *) &r, - THR_DETACHED); - - return -1; -} - -tpr_filter tpr_dispatcher; diff --git a/TAO/IIOP/test/Orbix/tpr/tpr.h b/TAO/IIOP/test/Orbix/tpr/tpr.h deleted file mode 100644 index 38c2ccc7069..00000000000 --- a/TAO/IIOP/test/Orbix/tpr/tpr.h +++ /dev/null @@ -1,10 +0,0 @@ -#include "cubit.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" - -// -// Create a thread filter to dispatch incoming calls -// -class tpr_filter : public CORBA::ThreadFilter { - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); -}; diff --git a/TAO/IIOP/test/Orbix/tps/Makefile b/TAO/IIOP/test/Orbix/tps/Makefile deleted file mode 100644 index 69701ba3b63..00000000000 --- a/TAO/IIOP/test/Orbix/tps/Makefile +++ /dev/null @@ -1,349 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp tps.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o tps.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubitS.o .shobj/cubitS.so: cubitS.cpp cubit.h cubitC.cpp -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/Task.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/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.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/Synch_T.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.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/Reactor.i \ - $(ACE_ROOT)/ace/Proactor.h \ - $(ACE_ROOT)/ace/Asynch_IO.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Wheel.h \ - $(ACE_ROOT)/ace/Timer_Wheel_T.h \ - $(ACE_ROOT)/ace/ReactorEx.h \ - $(ACE_ROOT)/ace/ReactorEx.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/Task.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/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.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/Synch_T.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.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/Reactor.i \ - $(ACE_ROOT)/ace/Proactor.h \ - $(ACE_ROOT)/ace/Asynch_IO.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Wheel.h \ - $(ACE_ROOT)/ace/Timer_Wheel_T.h \ - $(ACE_ROOT)/ace/ReactorEx.h \ - $(ACE_ROOT)/ace/ReactorEx.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i -.obj/tps.o .shobj/tps.so: tps.cpp tps.h cubit.h cubit_impl.h \ - $(ACE_ROOT)/ace/Task.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/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.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/Synch_T.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.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/Reactor.i \ - $(ACE_ROOT)/ace/Proactor.h \ - $(ACE_ROOT)/ace/Asynch_IO.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Wheel.h \ - $(ACE_ROOT)/ace/Timer_Wheel_T.h \ - $(ACE_ROOT)/ace/ReactorEx.h \ - $(ACE_ROOT)/ace/ReactorEx.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/test/Orbix/tps/cubit.h b/TAO/IIOP/test/Orbix/tps/cubit.h deleted file mode 100644 index 72e2fb81395..00000000000 --- a/TAO/IIOP/test/Orbix/tps/cubit.h +++ /dev/null @@ -1,1111 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include - -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _Cubit_Factory_defined -#define _Cubit_Factory_defined -class Cubit_Factory_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_Factory_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) {} - - - Cubit_Factory_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_dispatch () {} - - Cubit_Factory_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_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 Cubit_Factory; - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - - -#ifndef Cubit_FactoryForwH -#define Cubit_FactoryForwH -CORBA::ObjectRef Cubit_Factory_getBase (void *); -void Cubit_Factory_release (Cubit_Factory *, CORBA::Environment &IT_env); -void Cubit_Factory_release (Cubit_Factory_ptr); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr, CORBA::Environment &IT_env); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr ); -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &IT_env); -Cubit_Factory_ptr Cubit_Factory_nil (); -#endif -#define Cubit_Factory_IMPL "Cubit_Factory" - - -class Cubit_Factory; - -typedef Cubit_Factory Cubit_FactoryProxy; -#define Cubit_Factory_IR "Cubit_Factory" -#define Cubit_Factory_IMPL "Cubit_Factory" - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - -class Cubit_Factory: public virtual CORBA::Object { -public: - Cubit_Factory (char *IT_OR); - Cubit_Factory (ObjectReference *IT_OR); - Cubit_Factory () : CORBA::Object (1) {} -protected: - Cubit_Factory_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_Factory_ptr _duplicate( - Cubit_Factory_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit_Factory* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _bind (CORBA::Environment &IT_env); - static Cubit_Factory* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_Factory_ptr) CORBA::OBJECT_NIL;} - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef Cubit_FactoryVarH -#define Cubit_FactoryVarH - -#ifndef Cubit_FactoryvPtr -#define Cubit_FactoryvPtr -typedef Cubit_Factory* Cubit_Factory_vPtr; -typedef const Cubit_Factory* Cubit_Factory_cvPtr; -#endif - -class Cubit_Factory_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_Factory_var &IT_s) { - { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_Factory_var (const Cubit_Factory_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_Factory_var () { - _ptr = Cubit_Factory_nil (); - } - - Cubit_Factory_var (Cubit_Factory *IT_p) { - _ptr = IT_p; - } - - Cubit_Factory_var &operator= (Cubit_Factory *IT_p) { - Cubit_Factory_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_Factory_var &operator= (const Cubit_Factory_var &IT_s) { - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_Factory_var () { - Cubit_Factory_release (_ptr); - } - - Cubit_Factory* operator-> () { - return _ptr; - } - - operator Cubit_Factory_cvPtr () const { return _ptr;} - operator Cubit_Factory_vPtr& () { return _ptr;} - - protected: - Cubit_Factory *_ptr; - private: - Cubit_Factory_var &operator= (const CORBA::_var &IT_s); - Cubit_Factory_var (const CORBA::_var &IT_s); - Cubit_Factory_var &operator= (const CORBA::_mgr &IT_s); - Cubit_Factory_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_Factory_var (const CORBA::_mgr &IT_s); - Cubit_Factory_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef Cubit_FactoryMgrH -#define Cubit_FactoryMgrH - -class Cubit_Factory_mgr : public CORBA::_mgr -{ - public: - - Cubit_Factory_mgr () { - _ptr = Cubit_Factory_nil (); - _release = 1; - } - - Cubit_Factory_mgr (const Cubit_Factory_mgr &IT_s) { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_Factory_mgr &operator= (Cubit_Factory *IT_p) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (const Cubit_Factory_mgr &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (Cubit_Factory_var &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_Factory_mgr () { - if (_release) - Cubit_Factory_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 Cubit_Factory* () const { - return (Cubit_Factory*) _ptr; - } - - Cubit_Factory_ptr operator-> () const { - return _ptr; - } - - Cubit_Factory *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_Factory_mgr Cubit_Factory_mgr_IT_const; -#endif - -#ifndef Cubit_FactorySeqElemH -#define Cubit_FactorySeqElemH - -class Cubit_Factory_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_Factory_SeqElem (Cubit_Factory_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_Factory_SeqElem &operator= (Cubit_Factory_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_Factory_SeqElem &operator= (const Cubit_Factory_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = Cubit_Factory_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_Factory_ptr () const { - return _ptr ? (Cubit_Factory_ptr) (*_ptr) : Cubit_Factory_nil(); - } - - Cubit_Factory_ptr operator->() const { return *_ptr;} - - protected: - Cubit_Factory_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit_Factory(X) Cubit_Factory##X - -#define DEF_TIE_Cubit_Factory(X) \ - class Cubit_Factory##X : public virtual Cubit_Factory { \ - X* m_obj; \ - public: \ - \ - \ - Cubit_Factory##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit_Factory(), m_obj(objp) { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,m,l,Cubit_Factory_IR,m_obj); \ - } \ - Cubit_Factory##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit_Factory() { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,IT_m,Cubit_Factory_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit_Factory##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit_Factory \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - - - - -class Cubit_FactoryProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - Cubit_FactoryProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_Factory_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 Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory; - -class Cubit_FactoryBOAImpl : public virtual Cubit_Factory { -public: - Cubit_FactoryBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_Factory_IR)) - m_pptr = new Cubit_Factory_dispatch ( (Cubit_Factory*)this, - (CORBA::Object*)this, m, l, Cubit_Factory_IR, this); -} - - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/test/Orbix/tps/cubit.idl b/TAO/IIOP/test/Orbix/tps/cubit.idl deleted file mode 100644 index 7dba408d0db..00000000000 --- a/TAO/IIOP/test/Orbix/tps/cubit.idl +++ /dev/null @@ -1,46 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - - interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); - }; - - - interface Cubit_Factory { - Cubit create_cubit (in string name); - }; - diff --git a/TAO/IIOP/test/Orbix/tps/cubitC.cpp b/TAO/IIOP/test/Orbix/tps/cubitC.cpp deleted file mode 100644 index c439fc4c800..00000000000 --- a/TAO/IIOP/test/Orbix/tps/cubitC.cpp +++ /dev/null @@ -1,710 +0,0 @@ - - -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - -Cubit_Factory::Cubit_Factory (char *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit_Factory::Cubit_Factory (ObjectReference *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef Cubit_FactoryForwC -#define Cubit_FactoryForwC -CORBA::ObjectRef Cubit_Factory_getBase(void *IT_p){ - return (Cubit_Factory*) IT_p;} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p) { - Cubit_Factory_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &) { - return Cubit_Factory:: _nil ();} - -Cubit_Factory_ptr Cubit_Factory_nil () { - return Cubit_Factory_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit_Factory::_duplicate(IT_p, IT_env)); } -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p) { - return Cubit_Factory_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_Factory_ptr Cubit_Factory::_duplicate(Cubit_Factory_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_Factory_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit_Factory*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_Factory_IMPL, Cubit_Factory_IR); -} - - - -Cubit_Factory* Cubit_Factory:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit_Factory* Cubit_Factory::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit_Factory:: _nil(); - } - - Cubit_Factory* IT_p = (Cubit_Factory*)CORBA::Object::_castDown (IT_obj, Cubit_Factory_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - -void* Cubit_FactoryProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New2 () { - return new class Cubit_Factory((char*)0);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::New2Object () { - return new class Cubit_Factory((char*)0);} - -void* Cubit_FactoryProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_Factory_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit_Factory*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* Cubit_FactoryProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit_Factory*)IT_p)->_pptr ();} - -void Cubit_FactoryProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_Factory_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory(1); - -Cubit_ptr Cubit_Factory:: create_cubit (const char * name, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return new Cubit; - } - CORBA::Request IT_r (this, "create_cubit",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.encodeStringOp (name); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit_ptr IT_result; - IT_result = (Cubit*) IT_r.decodeObjRef (Cubit_IR); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return new Cubit; -} - - - - - -#ifndef Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit_Factory"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/test/Orbix/tps/cubitS.cpp b/TAO/IIOP/test/Orbix/tps/cubitS.cpp deleted file mode 100644 index a2898e12914..00000000000 --- a/TAO/IIOP/test/Orbix/tps/cubitS.cpp +++ /dev/null @@ -1,282 +0,0 @@ - - -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#define Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"create_cubit")) { - Cubit_ptr IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~create_cubit~+name{0},>{O~Cubit},N{}\ -")) - return 1; - char * name; - - IT_r.decodeStringOp(name); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit_Factory*)IT_pp)->create_cubit ( name, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - CORBA::string_free (name); - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -O~Cubit\ -", IT_env)) return 1; - { - CORBA::Object* IT_l1 = (CORBA::Object*) IT_result; - IT_r << IT_l1; - } - if (IT_result) Cubit_release (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/test/Orbix/tps/cubit_impl.cpp b/TAO/IIOP/test/Orbix/tps/cubit_impl.cpp deleted file mode 100644 index 27ee125e4df..00000000000 --- a/TAO/IIOP/test/Orbix/tps/cubit_impl.cpp +++ /dev/null @@ -1,81 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &) throw (CORBA::SystemException) { -} - -Cubit_ptr Cubit_Factory_Impl:: create_cubit (const char * name, CORBA::Environment &) throw (CORBA::SystemException) { - cerr << "Creating Cubit for " << name << endl; - -#ifdef Cubit_USE_BOA - Cubit_Impl_Task *cubit = new Cubit_Impl_Task (); -#else - Cubit_Impl_Task *cubit = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl_Task); -#endif - Cubit::_duplicate ((Cubit *)cubit); - cubit->activate (1); - return (Cubit *) cubit; -} - -int -Cubit_Impl_Task::svc (void) -{ - while (1) - { - // Dequeue message - ACE_Message_Block *mb; - this->msg_queue ()->dequeue_head (mb); - CORBA::Request *vp = (CORBA::Request *) mb->base (); - mb->release (); - // Hand it off to Orbix - CORBA::Orbix.continueThreadDispatch (*vp); - } - return 0; -} - -void * -Cubit_Impl_Task::_deref (void) -{ - return this; -} diff --git a/TAO/IIOP/test/Orbix/tps/cubit_impl.h b/TAO/IIOP/test/Orbix/tps/cubit_impl.h deleted file mode 100644 index 31a8874f07b..00000000000 --- a/TAO/IIOP/test/Orbix/tps/cubit_impl.h +++ /dev/null @@ -1,46 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" -#include "ace/Task.h" - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - -}; - -#ifdef Cubit_USE_BOA -class Cubit_Factory_Impl : public virtual Cubit_FactoryBOAImpl { -#else -class Cubit_Factory_Impl { -#endif - -public: - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -class Cubit_Impl_Task : public virtual Cubit_Impl, public virtual ACE_Task { -public: - // For ACE_Task - int svc (void); - // for narrowing - virtual void *_deref (); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -DEF_TIE_Cubit_Factory (Cubit_Factory_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/test/Orbix/tps/server.cpp b/TAO/IIOP/test/Orbix/tps/server.cpp deleted file mode 100644 index 4e6baf18886..00000000000 --- a/TAO/IIOP/test/Orbix/tps/server.cpp +++ /dev/null @@ -1,40 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file - -int -main (int , char**) -{ - -#ifdef Cubit_USE_BOA - Cubit_Factory_var cf = new Cubit_Factory_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_Factory_var cf = new TIE_Cubit_Factory (Cubit_Factory) (new Cubit_Factory); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit_Factory", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/test/Orbix/tps/tps.cpp b/TAO/IIOP/test/Orbix/tps/tps.cpp deleted file mode 100644 index 1035f1e503f..00000000000 --- a/TAO/IIOP/test/Orbix/tps/tps.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "tps.h" - -int -TPS_Filter::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment& env) -{ - // Get target - CORBA::Object_ptr obj = r.target (); - Cubit * cb = Cubit::_narrow (obj, env); - - if (env) // Not for our object!! - return 1; // continue in the same thread - - // Enqueue the request - Cubit_Impl_Task *ct; - if (CORBA::is_nil (cb)) - return 1; - ct = (Cubit_Impl_Task *) DEREF(cb); - if (ct) { - ACE_Message_Block *mb = new ACE_Message_Block ( (char *) (&r)); - ct->msg_queue ()->enqueue (mb); - } - // Done - return -1; -} - -TPS_Filter tps_filter; diff --git a/TAO/IIOP/test/Orbix/tps/tps.h b/TAO/IIOP/test/Orbix/tps/tps.h deleted file mode 100644 index 272bc90f20d..00000000000 --- a/TAO/IIOP/test/Orbix/tps/tps.h +++ /dev/null @@ -1,11 +0,0 @@ -#include "cubit.h" -#include "cubit_impl.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" -#include "ace/Task.h" - -class TPS_Filter : public ACE_Task, public CORBA::ThreadFilter -{ -public: - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); -}; diff --git a/TAO/IIOP/test/clnt.cpp b/TAO/IIOP/test/clnt.cpp deleted file mode 100644 index f0249489889..00000000000 --- a/TAO/IIOP/test/clnt.cpp +++ /dev/null @@ -1,508 +0,0 @@ -// @(#)clnt.cpp 1.2 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: Simple "cube" client, calling hand-crafted stubs. -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include -//#include - -#if unix -# include -# include - -#elif defined (VXWORKS) -# include -# include - -#else // windows - -#endif // unix - -#include "cubitC.h" - -#include - - -#if !defined (_WIN32) -extern char *optarg; // missing on some platforms -#endif - -inline int func (unsigned i) { return i - 117; } - -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - - -// -// forward declarations -// -static void cube_union_stub(unsigned, unsigned&, unsigned&, - CORBA_Object_ptr, CORBA_Environment &); - -static void cube_union_dii(unsigned &, unsigned &, - CORBA_Object_ptr, CORBA_Environment &); - -// Global variables -const char* TAO_arg_ior = 0; -unsigned loop_count = 1; -int exit_later = 0; - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_Get_Opt opts (argc, argv, "dn:O:x"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - - case 'd': // debug flag - TAO_debug_level++; - continue; - - case 'n': // loop count - loop_count = (unsigned) ACE_OS::atoi (opts.optarg); - continue; - - case 'O': // stringified objref - { - TAO_arg_ior = ACE_OS::strdup(opts.optarg); - } - continue; - - case 'x': - exit_later++; - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-n loopcount]" - " [-O objref]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - -int -main (int argc, char *argv[]) -{ - CORBA_ORB_ptr orb_ptr; - CORBA_Object_ptr objref = CORBA_Object::_nil(); - CORBA_Environment env; - - orb_ptr = CORBA_ORB_init(argc, argv, "internet", env); - if (env.exception() != 0) - { - print_exception(env.exception(), "ORB initialization"); - return 1; - } - - // - // Parse command line and verify parameters. - // - parse_args(argc, argv); - - if (TAO_arg_ior == 0) - ACE_ERROR_RETURN((LM_ERROR, "%s: must specify an object reference using -O \n", argv[0]), 1); - - objref = orb_ptr->string_to_object ((CORBA_String)TAO_arg_ior, env); - - ACE_OS::free((void*)TAO_arg_ior); - TAO_arg_ior = 0; - - if (env.exception () != 0) - { - print_exception (env.exception (), "string2object"); - return 1; - } - - if (CORBA_is_nil (objref) == CORBA_B_TRUE) - ACE_ERROR_RETURN((LM_ERROR, "%s: must identify non-null target objref\n", argv [0]), 1); - - // Narrow the CORBA_Object reference to the stub object, checking - // the type along the way using _is_a - Cubit_ptr aCubit = Cubit::_narrow(objref); - if (aCubit == 0) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to narrow object reference to a Cubit_ptr.\n"), 1); - - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - ACE_Time_Value before, after; - - before = ACE_OS::gettimeofday(); - - for (i = 0; i < loop_count; i++) - { - // - // Cube an octet. - // - CORBA_Octet arg_octet, ret_octet; - - call_count++; - ret_octet = aCubit->Cubit_cube_octet (arg_octet = func (i), env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_octet"); - error_count++; - } - else - { - dmsg2 ("cube octet: %d --> %d\n", arg_octet, ret_octet); - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - ACE_OS::printf ("** cube_octet(%d) ERROR (--> %d)\n", - (CORBA_Octet) func (i), ret_octet); - error_count++; - } - } - - // - // Cube a short. - // - CORBA_Short arg_short, ret_short; - - call_count++; - ret_short = aCubit->Cubit_cube_short (arg_short = func (i), env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_short"); - error_count++; - } - else - { - dmsg2 ("cube short: %d --> %d\n", arg_short, ret_short); - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) - { - ACE_OS::printf ("** cube_short(%d) ERROR (--> %d)\n", - (CORBA_Short) func (i), ret_short); - error_count++; - } - } - - // - // Cube a long. - // - CORBA_Long arg_long, ret_long; - - call_count++; - ret_long = aCubit->Cubit_cube_long (arg_long = func (i), env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_long"); - error_count++; - } - else - { - dmsg2 ("cube long: %d --> %d\n", arg_long, ret_long); - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - ACE_OS::printf ("** cube_long(%ld) ERROR (--> %ld)\n", - (CORBA_Long) func (i), ret_long); - error_count++; - } - } - - // - // Cube a "struct" ... - // - Cubit_Many arg_struct, *ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - ret_struct = aCubit->Cubit_cube_struct (arg_struct, env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_struct"); - error_count++; - } - else - { - dmsg ("cube struct ..."); - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o; - - if (arg_struct.l != ret_struct->l - || arg_struct.s != ret_struct->s - || arg_struct.o != ret_struct->o) - { - ACE_OS::printf ("** cube_struct ERROR\n"); - error_count++; - } - delete ret_struct; - } - - } - - after = ACE_OS::gettimeofday(); - - if (call_count > 0) - { - if (error_count == 0) - { - ACE_Time_Value diff = after - before; - unsigned long us = diff.sec() * 1000 * 1000 + diff.usec(); - - us /= call_count; - - if (us > 0) - ACE_OS::printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - ACE_OS::printf ("%d calls, %d errors\n", call_count, error_count); - } - - // - // Simple test for DII: call "cube_struct". (It's not timed - // since the copious mallocation of DII would bias numbers against - // typical stub-based calls.) - // - do { - // - // Create the request ... - // - CORBA_Request_ptr req; - - req = objref->_request ((const CORBA_String) "cube_struct", env); - if (env.exception () != 0) { - print_exception (env.exception (), "DII request create"); - break; - } - - // - // ... initialise the argument list and result ... - // - Cubit_Many arg, *result; - - arg.o = 3; arg.l = 5; arg.s = -7; - - CORBA_Any tmp_arg (TC_Cubit_Many, &arg, CORBA_B_FALSE); - - req->arguments ()->add_value (0, tmp_arg, CORBA_ARG_IN, env); - if (env.exception () != 0) { - print_exception (env.exception (), "DII request arg add"); - CORBA_release (req); - break; - } - - req->result ()->value () - ->replace (TC_Cubit_Many, 0, CORBA_B_TRUE, env); - if (env.exception () != 0) { - print_exception (env.exception (), "DII request result type"); - CORBA_release (req); - break; - } - - // - // Make the invocation, verify the result - // - req->invoke (); - if (req->env ()->exception () != 0) { - print_exception (req->env ()->exception (), "DII invoke"); - CORBA_release (req); - break; - } - - result = (Cubit_Many *) req->result ()->value ()->value (); - - if (result->o != 27 || result->l != 125 || result->s != -343) - ACE_OS::fprintf (stderr, "DII cube_struct -- bad results\n"); - else - dmsg ("DII cube_struct ... success!!"); - - CORBA_release (req); - - } while (0); - - // - // Two more tests, using the "cube_union" function - // - cube_union_dii(call_count, error_count, objref, env); - if (env.exception () != 0) - error_count++; - - cube_union_stub(i, call_count, error_count, objref, env); - if (env.exception () != 0) - error_count++; - - if (exit_later) { - aCubit->Cubit_please_exit (env); - dexc (env, "server, please ACE_OS::exit"); - } - - CORBA_release (objref); - - return (error_count == 0) ? 0 : 1; -} - - -static void -cube_union_stub(unsigned i, - unsigned &call_count, - unsigned &error_count, - CORBA_Object_ptr objref, - CORBA_Environment &env) -{ - Cubit_ptr aCubit = Cubit::_narrow(objref); - // - // Cube a "union" ... - // - Cubit_oneof u, *r; - - call_count++; - - u._disc = e_2nd; - u.l = 3; - - r = aCubit->Cubit_cube_union (u, env); - if (env.exception () != 0) { - print_exception (env.exception (), "from cube_union"); - error_count++; - } else { - dmsg ("cube union ..."); - u.l = u.l * u.l * u.l ; - - if (u.l != r->l) { - ACE_OS::printf ("** cube_union ERROR\n"); - error_count++; - } - - delete r; - } - - // - // Cube another "union" which uses the default arm ... - // - call_count++; - - u._disc = e_5th; - u.cm.l = func (i); - u.cm.s = func (i); - u.cm.o = func (i); - - u.cm.l = 7; - u.cm.s = 5; - u.cm.o = 3; - - r = aCubit->Cubit_cube_union (u, env); - if (env.exception () != 0) { - print_exception (env.exception (), "from cube_union"); - error_count++; - } else { - dmsg ("cube union ..."); - u.cm.l = u.cm.l * u.cm.l * u.cm.l; - u.cm.s = u.cm.s * u.cm.s * u.cm.s; - u.cm.o = u.cm.o * u.cm.o * u.cm.o; - - if (u.cm.l != r->cm.l - || u.cm.s != r->cm.s - || u.cm.o != r->cm.o) { - ACE_OS::printf ("** cube_union ERROR\n"); - error_count++; - } - - delete r; - } -} - - -static void -cube_union_dii (unsigned &call_count, - unsigned &error_count, - CORBA_Object_ptr objref, - CORBA_Environment &env) -{ - // - // Create the request ... - // - CORBA_Request_ptr req; - - call_count++; - - req = objref->_request ((const CORBA_String) "cube_union", env); - if (env.exception () != 0) { - error_count++; - - print_exception (env.exception (), "cube_union_dii request create"); - return; - } - - // - // ... initialise the argument list and result ... - // - Cubit_oneof u, *r; - - u._disc = e_3rd; - u.cm.l = 5; - u.cm.s = -7; - u.cm.o = 3; - - CORBA_Any tmp_arg (TC_Cubit_oneof, &u, CORBA_B_FALSE); - - req->arguments ()->add_value (0, tmp_arg, CORBA_ARG_IN, env); - if (env.exception () != 0) { - error_count++; - print_exception (env.exception (), "cube_union_dii request arg add"); - CORBA_release (req); - return; - } - - req->result ()->value ()->replace (TC_Cubit_oneof, 0, CORBA_B_TRUE, env); - if (env.exception () != 0) { - error_count++; - print_exception (env.exception (), "cube_union_dii result type"); - CORBA_release (req); - return; - } - - // - // Make the invocation, verify the result - // - req->invoke (); - if (req->env ()->exception () != 0) { - error_count++; - print_exception (req->env ()->exception (),"cube_union_dii invoke"); - CORBA_release (req); - return; - } - - r = (Cubit_oneof *) req->result ()->value ()->value (); - - if (r->cm.o != 27 || r->cm.l != 125 || r->cm.s != -343) { - error_count++; - ACE_OS::fprintf (stderr, "cube_union_dii -- bad results\n"); - } - else - dmsg ("cube_union_dii ... success!!"); - - CORBA_release (req); -} diff --git a/TAO/IIOP/test/cubit.cpp b/TAO/IIOP/test/cubit.cpp deleted file mode 100644 index d232de8eee8..00000000000 --- a/TAO/IIOP/test/cubit.cpp +++ /dev/null @@ -1,576 +0,0 @@ -// @(#)cubit.cpp 1.2 95/09/29 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written C-style "Cubit" stubs and "skeletons" -// -// NOTE: these "skeletons" are really the methods, using DSI. No real -// ORB would be implemented in this particular way. Several things would -// be more typical of real (static) skeletons: -// -// * Most of the "in" (and much of the "out") parameter data would -// be preallocated on the stack, not heap allocated. (Static -// preallocation doesnt' really work in a multithreaded system, -// and moreover can waste a lot of space.) -// -// * The ORB core wouldn't be told about parameters using heap -// allocated data structures (e.g. NVList). -// -// * Skeletons would need to some kind of "marshal the response NOW" -// API so that stack-allocated "out" values wouldn't become invalid -// up until they were safely marshaled. -// -// * They'd handle exceptions rather than just generating debugging -// messages when they happen. -// -// * Method code would be called by the skeletons, not written as -// part of the "skeleton" itself! -// -// A key part of turning this code into a complete ORB would be to ensure -// that skeletons were always efficient and correct. They might not need -// to be sharable between different implementations of the same OMG-IDL -// object interface, but many ORBs choose to be structured that way. -// - -#include "cubit.h" // for stubs ... -#include // ... and skeletons - -#include // ... and debugging - - -// -// CUBE OCTET -// - -static const TAO_Param_Data Cubit_cube_octet_params [] = { - { _tc_CORBA_Octet, PARAM_RETURN, 0 }, - { _tc_CORBA_Octet, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_octet_calldata = { - "cube_octet", CORBA_B_TRUE, - 2, &Cubit_cube_octet_params [0], - 0, 0 -}; - - -CORBA_Octet -Cubit_cube_octet ( - Cubit_ptr target, - CORBA_Octet o, - CORBA_Environment &env -) -{ - CORBA_Octet retval = 0; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &Cubit_cube_octet_calldata, - &retval, &o); - data->Release (); - } - return retval; -} - -static void -_cube_octet_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_Octet); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_octet, add value"); - - req.params (nvlist, env); - dexc (env, "cube_octet, get params"); - - CORBA_Octet* value = new CORBA_Octet; - - *value = *(CORBA_Octet *)nv->value ()->value (); - // dmsg1 ("cube octet, parameter '%d'", *value); - *value = (CORBA_Octet) ((*value) * (*value) * (*value)); - // dmsg1 ("cube octet, result '%d'", *value); - - CORBA_Any* any = - new CORBA_Any (_tc_CORBA_Octet, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_octet, result"); -} - - -// -// CUBE SHORT -// - -static const TAO_Param_Data Cubit_cube_short_params [] = { - { _tc_CORBA_Short, PARAM_RETURN, 0 }, - { _tc_CORBA_Short, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_short_calldata = { - "cube_short", CORBA_B_TRUE, - 2, &Cubit_cube_short_params [0], - 0, 0 -}; - - -CORBA_Short -Cubit_cube_short (Cubit_ptr target, - CORBA_Short s, - CORBA_Environment &env) -{ - CORBA_Short retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &Cubit_cube_short_calldata, - &retval, &s); - data->Release (); - } - return retval; -} - -static void -_cube_short_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_Short); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_short, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_short, get params"); - - CORBA_Short* value = new CORBA_Short; - - *value = *(CORBA_Short *)nv->value ()->value (); - // dmsg1 ("cube short, parameter '%d'", *value); - *value =(CORBA_Short) ((*value) * (*value) * (*value)); - // dmsg1 ("cube short, result '%d'", *value); - - CORBA_Any* any = - new CORBA_Any (_tc_CORBA_Short, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_short, result"); -} - - -// -// CUBE LONG -// - -static const TAO_Param_Data Cubit_cube_long_params [] = { - { _tc_CORBA_Long, PARAM_RETURN, 0 }, - { _tc_CORBA_Long, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_long_calldata = { - "cube_long", CORBA_B_TRUE, - 2, &Cubit_cube_long_params [0], - 0, 0 -}; - - -CORBA_Long -Cubit_cube_long (Cubit_ptr target, - CORBA_Long l, - CORBA_Environment &env) -{ - CORBA_Long retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else - { - data->do_call (env, &Cubit_cube_long_calldata, - &retval, &l); - data->Release (); - } - return retval; -} - - -static void -_cube_long_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_Long); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_long, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_long, get params"); - - CORBA_Long* value = new CORBA_Long; - - *value = *(CORBA_Long *)nv->value ()->value (); - // dmsg1 ("cube long, parameter '%d'", *value); - *value = (*value) * (*value) * (*value); - // dmsg1 ("cube long, result '%d'", *value); - - CORBA_Any* any = - new CORBA_Any (_tc_CORBA_Long, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_long, result"); -} - -// -// Encapsulated parameters for struct "Cubit_Many" typecode. -// None of these parameters is complicated, so this is just -// a linear sequence of element encodings -// -// NOTE: it's important that this be longword aligned!! -// -static const CORBA_Long _oc_Cubit_Many [] = { - 1, // byte order flag (TRICKY!) - - 1, 0, // empty string: repository/type ID - 1, 0, // empty string: struct name - - 3, // three struct elements - - // First structure element: name, typecode for Octet - 1, 0, // empty string: name "o" - tk_octet, - - // Second structure element: name, typecode for Long - 1, 0, // empty string: name "l" - tk_long, - - // Third structure element: name, typecode for Short - 1, 0, // empty string: name "s" - tk_short, -}; - -static CORBA_TypeCode _tc_Cubit_Many (tk_struct, - sizeof _oc_Cubit_Many, (unsigned char *) &_oc_Cubit_Many, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_Many = &_tc_Cubit_Many; - - -// -// CUBE STRUCT -// - -static const TAO_Param_Data Cubit_cube_struct_params [] = { - { &_tc_Cubit_Many, PARAM_RETURN, sizeof (Cubit_Many) }, - { &_tc_Cubit_Many, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_struct_calldata = { - "cube_struct", CORBA_B_TRUE, - 2, &Cubit_cube_struct_params [0], - 0, 0 -}; - -Cubit_Many * -Cubit_cube_struct (Cubit_ptr target, - Cubit_Many &values, - CORBA_Environment &env) -{ - Cubit_Many *retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else - { - data->do_call (env, &Cubit_cube_struct_calldata, - &retval, &values); - data->Release (); - } - return retval; -} - - -static void -_cube_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_Many); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_struct, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_struct, get params"); - - Cubit_Many *value; - Cubit_Many *retval = new Cubit_Many; - - value = (Cubit_Many *)nv->value ()->value (); - - retval->o = (CORBA_Octet) (value->o * value->o * value->o); - retval->s = (CORBA_Short) (value->s * value->s * value->s); - retval->l = value->l * value->l * value->l; - - // dmsg2 ("cube struct.o, %d -> %d", value->o, retval->o); - // dmsg2 ("cube struct.s, %d -> %d", value->s, retval->s); - // dmsg2 ("cube struct.l, %d -> %d", value->l, retval->l); - - CORBA_Any *any = - new CORBA_Any (TC_Cubit_Many, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - -// -// CUBE UNION -// - -// -// NOTE: not all union typecodes can be encoded as an array -// of "long "values, but this one can. Ones with discriminants -// that are one or two bytes long can't easily be coded portably. -// -// The benefit of doing it as an array of "long" values is -// twofold: (a) easier to read; (b) on most systems it's then -// adequately aligned for the typecode interpreter to use, so -// no additional runtime copy needs to be made. -// -static const CORBA_Long _oc_Cubit_oneof [] = { - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "oneof" - - // - // discriminant typecode: - // - tk_enum, // tk_enum - 72, // encapsulation length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted enum name, "discrim" - 6, // 5 elements in the enum - - 1, 0, // omitted member name, "e_0th" - 1, 0, // omitted member name, "e_1st" - 1, 0, // omitted member name, "e_2nd" - 1, 0, // omitted member name, "e_3rd" - 1, 0, // omitted member name, "e_4th" - 1, 0, // omitted member name, "e_5th" - - 4, // default member index (zero based) - 5, // number of union members - - // the 1st union branch arm - e_0th, // member label value - 1, 0, // omitted member name, "o" - tk_octet, // member typecode - - // the 2nd union branch arm - e_1st, // member label value - 1, 0, // omitted member name, "s" - tk_short, // member typecode - - // the 3rd union branch arm - e_2nd, // member label value - 1, 0, // omitted member name, "l" - tk_long, // member typecode - - // the 4th union branch arm - e_3rd, // member label value - 1, 0, // omitted member name, "cm" - - // the 4th union member typecode - tk_struct, // tk_struct - 60, // encap length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "Many" - 3, // three struct members - - // First structure element - 1, 0, // omitted member name, "o" - tk_octet, // member type, tk_octet - - // Second structure element - 1, 0, // omitted member name, "l" - tk_long, // member type, tk_long - - // Third structure element - 1, 0, // omitted member name, "s" - tk_short, // member type, tk_short - - // the 5th union branch arm - 4, // the 5th member label value - 1, 0, // omitted member name, "cm" - ~0, // indirected typecode (~0) - -84 // offset to struct "Many" typecode -}; - -static CORBA_TypeCode _tc_Cubit_oneof (tk_union, - (sizeof _oc_Cubit_oneof), (unsigned char *) &_oc_Cubit_oneof, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_oneof = &_tc_Cubit_oneof; - -static const TAO_Param_Data Cubit_cube_union_params [] = { - { &_tc_Cubit_oneof, PARAM_RETURN, sizeof (Cubit_oneof) }, - { &_tc_Cubit_oneof, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_union_calldata = { - "cube_union", CORBA_B_TRUE, - 2, &Cubit_cube_union_params [0], - 0, 0 -}; - -Cubit_oneof * -Cubit_cube_union (Cubit_ptr target, - Cubit_oneof &values, - CORBA_Environment &env) -{ - Cubit_oneof *retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else - { - data->do_call (env, &Cubit_cube_union_calldata, - &retval, &values); - data->Release (); - } - return retval; -} - - -static void -_cube_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_oneof); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_union_3rd, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_union_3rd, get params"); - - Cubit_oneof *v; - Cubit_oneof *r = new Cubit_oneof; - - v = (Cubit_oneof *)nv->value ()->value (); - r->_disc = v->_disc; - - switch (v->_disc) { - case e_0th: - r->o = (CORBA_Octet) (v->o * v->o * v->o); - break; - - case e_1st: - r->s = (CORBA_Short) (v->s * v->s * v->s); - break; - - case e_2nd: - r->l = v->l * v->l * v->l; - break; - - case e_3rd: - default: - r->cm.o = (CORBA_Octet) (v->cm.o * v->cm.o * v->cm.o); - r->cm.s = (CORBA_Short) (v->cm.s * v->cm.s * v->cm.s); - r->cm.l = v->cm.l * v->cm.l * v->cm.l; - break; - } - - CORBA_Any *any = new CORBA_Any (TC_Cubit_oneof, r, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - - -// -// PLEASE EXIT -// - -static const TAO_Call_Data Cubit_please_exit_calldata = { - "please_exit", CORBA_B_FALSE, - 0, 0, - 0, 0 -}; - -void -Cubit_please_exit ( - Cubit_ptr target, - CORBA_Environment &env -) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &Cubit_please_exit_calldata - ); - data->Release (); - } -} - -static void -_please_exit_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - dmsg ("I've been asked to shut down..."); - req.oa ()->please_shutdown (env); - dexc (env, "please_exit, please_shutdown"); -} - - -const CORBA_Char *Cubit__id = (CORBA_Char *) - "IDL:Eng.SUN.COM/Cubit:1.1"; - - -// -// table of all operations, used by operation dispatch to get to the -// right skeleton ... could be sorted by the IDL compiler so bsearch -// is effective, perhaps with help from opname hashes and a small cache -// (e.g. like Obj-C?). for now, just lsearch. -// -const TAO_Skel_Entry Cubit_operations [] = { - { &Cubit_cube_octet_calldata, _cube_octet_skel }, - { &Cubit_cube_short_calldata, _cube_short_skel }, - { &Cubit_cube_long_calldata, _cube_long_skel }, - { &Cubit_cube_struct_calldata, _cube_struct_skel }, - { &Cubit_cube_union_calldata, _cube_union_skel }, - { &Cubit_please_exit_calldata, _please_exit_skel }, - { 0, 0 } // last entry -}; diff --git a/TAO/IIOP/test/cubit.h b/TAO/IIOP/test/cubit.h deleted file mode 100644 index 92dd6b381bd..00000000000 --- a/TAO/IIOP/test/cubit.h +++ /dev/null @@ -1,106 +0,0 @@ -// @(#)cubit.hh 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Hand-crafted C language binding glue ... -// -// This doesn't use C++ since doing the obvious derivation -// (all parent interfaces are virtual public parents) makes -// object references have different "views". That is, a -// pointer to a Cubit (i.e. a Cubit_ptr) would not have -// the same binary value as a pointer to a CORBA_Object -// (i.e. a CORBA_Object_ptr, generic objref). That'd -// mean lots of narrowing/widening/RTTI infrastructure. -// - -#ifndef _CUBIT_HH -#define _CUBIT_HH - -#ifdef _MSC_VER -#pragma pack (push, 1) // VC++, known padding rules -#endif // VC++ - -#include -#include - - -// -// C style binding -// - -typedef CORBA_Object Cubit; -typedef Cubit *Cubit_ptr, *CubitRef; - -extern CORBA_TypeCode_ptr TC_Cubit_Many; -extern CORBA_TypeCode_ptr TC_Cubit_oneof; - -struct Cubit_Many { - CORBA_Octet o; - CORBA_Long l; - CORBA_Short s; -}; - -enum Cubit_discrim {e_0th = 0, e_1st = 1, e_2nd = 2, - e_3rd = 3, e_4th = 4, e_5th = 5}; - -struct Cubit_oneof { - Cubit_discrim _disc; - - union { - CORBA_Octet o; - CORBA_Short s; - CORBA_Long l; - Cubit_Many cm; - }; -}; - -CORBA_Octet -Cubit_cube_octet ( - Cubit_ptr target, - CORBA_Octet o, - CORBA_Environment &env -); - -CORBA_Short -Cubit_cube_short ( - Cubit_ptr target, - CORBA_Short s, - CORBA_Environment &env -); - -CORBA_Long -Cubit_cube_long ( - Cubit_ptr target, - CORBA_Long l, - CORBA_Environment &env -); - -Cubit_Many * -Cubit_cube_struct ( - Cubit_ptr target, - Cubit_Many &values, - CORBA_Environment &env -); - -Cubit_oneof * -Cubit_cube_union ( - Cubit_ptr target, - Cubit_oneof &values, - CORBA_Environment &env -); - -void -Cubit_please_exit ( - Cubit_ptr target, - CORBA_Environment &env -); - -extern const CORBA_Char *Cubit__id; // type ID - -extern const TAO_Skel_Entry Cubit_operations []; - -#ifdef _MSC_VER -#pragma pack (pop) // VC++, go back to other padding rules -#endif // VC++ - -#endif // _CUBIT_HH diff --git a/TAO/IIOP/test/cubit.idl b/TAO/IIOP/test/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/test/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/test/cubitC.cpp b/TAO/IIOP/test/cubitC.cpp deleted file mode 100644 index 99416520c15..00000000000 --- a/TAO/IIOP/test/cubitC.cpp +++ /dev/null @@ -1,381 +0,0 @@ -// @(#)cubitC.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include "cubitC.h" // for stubs ... - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj) -{ - if (obj) - obj->AddRef(); - - return obj; -} - -Cubit_ptr Cubit::_narrow(CORBA_Object_ptr obj) -{ - CORBA_Environment env; - if (obj->_is_a("IDL:Cubit:1.0", env)) - { - STUB_Object *istub; - if (obj->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - return Cubit::_nil(); - } - Cubit_ptr new_obj = new Cubit(istub); - return Cubit::_duplicate(new_obj); - } - return Cubit::_nil(); -} - -Cubit_ptr Cubit::_nil() -{ - return (Cubit_ptr)NULL; -} - -// -// CUBE OCTET -// - -static const TAO_Param_Data Cubit_cube_octet_params [] = -{ - { _tc_CORBA_Octet, PARAM_RETURN, 0 }, - { _tc_CORBA_Octet, PARAM_IN, 0 } -}; - - -static const TAO_Call_Data Cubit_cube_octet_calldata = -{ - "cube_octet", CORBA_B_TRUE, - 2, &Cubit_cube_octet_params [0], - 0, 0 -}; - - -CORBA_Octet -Cubit::Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env) -{ - CORBA_Octet retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_octet_calldata, - &retval, &o); - istub->Release (); - - return retval; -} - - -// -// CUBE SHORT -// - -static const TAO_Param_Data Cubit_cube_short_params [] = -{ - { _tc_CORBA_Short, PARAM_RETURN, 0 }, - { _tc_CORBA_Short, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_short_calldata = -{ - "cube_short", CORBA_B_TRUE, - 2, &Cubit_cube_short_params [0], - 0, 0 -}; - - -CORBA_Short -Cubit::Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env) -{ - CORBA_Short retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call(env, &Cubit_cube_short_calldata, - &retval, &s); - - istub->Release (); - - return retval; -} - -// -// CUBE LONG -// - -static const TAO_Param_Data Cubit_cube_long_params [] = -{ - { _tc_CORBA_Long, PARAM_RETURN, 0 }, - { _tc_CORBA_Long, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_long_calldata = -{ - "cube_long", CORBA_B_TRUE, - 2, &Cubit_cube_long_params [0], - 0, 0 -}; - - -CORBA_Long -Cubit::Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env) -{ - CORBA_Long retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_long_calldata, - &retval, &l); - istub->Release (); - - return retval; -} - - -// -// Encapsulated parameters for struct "Cubit_Many" typecode. -// None of these parameters is complicated, so this is just -// a linear sequence of element encodings -// -// NOTE: it's important that this be longword aligned!! -// -static const CORBA_Long _oc_Cubit_Many [] = -{ - 1, // byte order flag (TRICKY!) - - 1, 0, // empty string: repository/type ID - 1, 0, // empty string: struct name - - 3, // three struct elements - - // First structure element: name, typecode for Octet - 1, 0, // empty string: name "o" - tk_octet, - - // Second structure element: name, typecode for Long - 1, 0, // empty string: name "l" - tk_long, - - // Third structure element: name, typecode for Short - 1, 0, // empty string: name "s" - tk_short, -}; - -static CORBA_TypeCode _tc_Cubit_Many (tk_struct, - sizeof _oc_Cubit_Many, (unsigned char *) &_oc_Cubit_Many, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_Many = &_tc_Cubit_Many; - - -// -// CUBE STRUCT -// - -static const TAO_Param_Data Cubit_cube_struct_params [] = -{ - { &_tc_Cubit_Many, PARAM_RETURN, sizeof (Cubit_Many) }, - { &_tc_Cubit_Many, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_struct_calldata = -{ - "cube_struct", CORBA_B_TRUE, - 2, &Cubit_cube_struct_params [0], - 0, 0 -}; - -Cubit_Many* -Cubit::Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env) -{ - Cubit_Many *retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_struct_calldata, - &retval, &values); - istub->Release (); - - return retval; -} - - -// -// CUBE UNION -// - -// -// NOTE: not all union typecodes can be encoded as an array -// of "long "values, but this one can. Ones with discriminants -// that are one or two bytes long can't easily be coded portably. -// -// The benefit of doing it as an array of "long" values is -// twofold: (a) easier to read; (b) on most systems it's then -// adequately aligned for the typecode interpreter to use, so -// no additional runtime copy needs to be made. -// -static const CORBA_Long _oc_Cubit_oneof [] = -{ - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "oneof" - - // - // discriminant typecode: - // - tk_enum, // tk_enum - 72, // encapsulation length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted enum name, "discrim" - 6, // 5 elements in the enum - - 1, 0, // omitted member name, "e_0th" - 1, 0, // omitted member name, "e_1st" - 1, 0, // omitted member name, "e_2nd" - 1, 0, // omitted member name, "e_3rd" - 1, 0, // omitted member name, "e_4th" - 1, 0, // omitted member name, "e_5th" - - 4, // default member index (zero based) - 5, // number of union members - - // the 1st union branch arm - e_0th, // member label value - 1, 0, // omitted member name, "o" - tk_octet, // member typecode - - // the 2nd union branch arm - e_1st, // member label value - 1, 0, // omitted member name, "s" - tk_short, // member typecode - - // the 3rd union branch arm - e_2nd, // member label value - 1, 0, // omitted member name, "l" - tk_long, // member typecode - - // the 4th union branch arm - e_3rd, // member label value - 1, 0, // omitted member name, "cm" - - // the 4th union member typecode - tk_struct, // tk_struct - 60, // encap length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "Many" - 3, // three struct members - - // First structure element - 1, 0, // omitted member name, "o" - tk_octet, // member type, tk_octet - - // Second structure element - 1, 0, // omitted member name, "l" - tk_long, // member type, tk_long - - // Third structure element - 1, 0, // omitted member name, "s" - tk_short, // member type, tk_short - - // the 5th union branch arm - 4, // the 5th member label value - 1, 0, // omitted member name, "cm" - ~0, // indirected typecode (~0) - -84 // offset to struct "Many" typecode -}; - -static CORBA_TypeCode _tc_Cubit_oneof (tk_union, - (sizeof _oc_Cubit_oneof), (unsigned char *) &_oc_Cubit_oneof, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_oneof = &_tc_Cubit_oneof; - -static const TAO_Param_Data Cubit_cube_union_params [] = -{ - { &_tc_Cubit_oneof, PARAM_RETURN, sizeof (Cubit_oneof) }, - { &_tc_Cubit_oneof, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_union_calldata = -{ - "cube_union", CORBA_B_TRUE, - 2, &Cubit_cube_union_params [0], - 0, 0 -}; - -Cubit_oneof* -Cubit::Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env) -{ - Cubit_oneof *retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_union_calldata, - &retval, &values); - istub->Release (); - - return retval; -} - - - -// -// PLEASE EXIT -// - -static const TAO_Call_Data Cubit_please_exit_calldata = -{ - "please_exit", CORBA_B_FALSE, - 0, 0, - 0, 0 -}; - -void -Cubit::Cubit_please_exit (CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - - istub->do_call (env, &Cubit_please_exit_calldata); - istub->Release (); -} diff --git a/TAO/IIOP/test/cubitC.h b/TAO/IIOP/test/cubitC.h deleted file mode 100644 index 8f9dfe53841..00000000000 --- a/TAO/IIOP/test/cubitC.h +++ /dev/null @@ -1,102 +0,0 @@ -// @(#)cubitC.h 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of the SUN's IIOP -implementation -***************************************************************************/ - -#ifndef _CUBIT_HH -#define _CUBIT_HH - -#ifdef _MSC_VER -#pragma pack (push, 1) // VC++, known padding rules -#endif // VC++ - -#include "corba/orb.h" -#include "corba/stub.h" - -#include - -extern CORBA_TypeCode_ptr TC_Cubit_Many; -extern CORBA_TypeCode_ptr TC_Cubit_oneof; - -struct Cubit_Many -{ - CORBA_Octet o; - CORBA_Long l; - CORBA_Short s; -}; - -enum Cubit_discrim - { e_0th = 0, e_1st = 1, e_2nd = 2, - e_3rd = 3, e_4th = 4, e_5th = 5 }; - -struct Cubit_oneof -{ - Cubit_discrim _disc; - - union - { - CORBA_Octet o; - CORBA_Short s; - CORBA_Long l; - Cubit_Many cm; - }; -}; - -class Cubit; -typedef Cubit *Cubit_ptr; -typedef Cubit_ptr Cubit_ref; - -class Cubit : public virtual CORBA_Object -{ -public: - - static Cubit_ptr _duplicate(Cubit_ptr obj); - static Cubit_ptr _narrow(CORBA_Object_ptr obj); - static Cubit_ptr _nil(); - - virtual - CORBA_Octet Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env); - - virtual - CORBA_Short Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env); - - virtual - CORBA_Long Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env); - - virtual - Cubit_Many* Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env); - - virtual - Cubit_oneof* Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env); - - virtual - void Cubit_please_exit (CORBA_Environment &env); - -protected: - Cubit() { } - Cubit(STUB_Object *objref) - : CORBA_Object(objref) { } - virtual ~Cubit() { } - - -}; - -extern const CORBA_Char *Cubit__id; // type ID - -#ifdef _MSC_VER -#pragma pack (pop) // VC++, go back to other padding rules -#endif // VC++ - -#endif // _CUBIT_HH diff --git a/TAO/IIOP/test/cubitS.cpp b/TAO/IIOP/test/cubitS.cpp deleted file mode 100644 index b153b71db1b..00000000000 --- a/TAO/IIOP/test/cubitS.cpp +++ /dev/null @@ -1,232 +0,0 @@ -// @(#)cubitS.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written C-style "Cubit" stubs and "skeletons" -// - -#include "cubitS.h" -#include "cubitC.cpp" - -#include "connect.h" -#include "params.h" - -#include "corba/debug.h" // ... and debugging -#include "corba/optable.h" // TAO Dynamic Operation Table -#include "method_db.i" -#include "iiopobj.h" - -#if defined(CUBIT_USE_DYNAMIC_HASH) -TAO_Dynamic_Hash_OpTable tao_cubit_optable(7); // Dynamic Operation Table -#else -TAO_Linear_OpTable tao_cubit_optable(7); -#endif - -_skel_Cubit::_skel_Cubit(const char* obj_name) -{ - const char* mn = "_skel_Cubit::_skel_Cubit()"; - - // Initialize Method Database - initialize_method_db (&tao_cubit_optable); - - char *type_id = "IDL:Cubit:1.0"; - // CORBA_String type_id = "IDL:Cubit:1.0"; - IIOP_Object *data; - - CORBA_BOA_ptr oa = TAO_OA_PARAMS::instance()->oa(); - if (oa == 0) - { - // We just have to assume that oa will be good, or we have to - // throw an exception. For now we "assume", but we'll - ACE_ERROR((LM_ERROR, "(%P|%t) %s Unable to locate a valid object adapter\n", mn)); - return; - } - - this->optable_ = &tao_cubit_optable; - data = new IIOP_Object(type_id); - - 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+1); - - this->set_parent(data); - this->sub_ = this; - - if (oa->bind(data->profile.object_key, this) == -1) - { - ACE_ERROR((LM_ERROR, "(%P|%t) %s Unable to bind object to key '%s': %p\n", mn, data->profile.object_key.buffer)); - return; - } -} - -void -_skel_Cubit::_cube_octet_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_Octet); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_octet, add value"); - - req.params (nvlist, env); - dexc (env, "cube_octet, get params"); - - // Call Implementation - CORBA_Octet *value = new CORBA_Octet; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - - *value = the_cubit->Cubit_cube_octet(*(CORBA_Octet *)nv->value()->value(), env); - - CORBA_Any *any = new CORBA_Any (_tc_CORBA_Octet, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_octet, result"); -} - -void -_skel_Cubit::_cube_short_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_Short); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_short, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_short, get params"); - - // Call Implementation - CORBA_Short *value = new CORBA_Short; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - *value = the_cubit->Cubit_cube_short(*(CORBA_Short *)nv->value ()->value (), env); - - CORBA_Any *any = new CORBA_Any (_tc_CORBA_Short, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_short, result"); -} - -void -_skel_Cubit::_cube_long_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_Long); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_long, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_long, get params"); - - // Call Implementation - CORBA_Long *value = new CORBA_Long; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - *value = the_cubit->Cubit_cube_long(*(CORBA_Long *)nv->value ()->value (), env); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Long, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_long, result"); -} - -void -_skel_Cubit::_cube_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_Many); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_struct, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_struct, get params"); - - // Call Implementation - Cubit_Many *value; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - value = the_cubit->Cubit_cube_struct(*(Cubit_Many*)nv->value()->value(), env); - - Cubit_Many *retval = new Cubit_Many; - retval->o = (CORBA_Octet)value->o; - retval->s = (CORBA_Short)value->s; - retval->l = value->l; - - // dmsg2 ("cube struct.o, %d -> %d", value->o, retval->o); - // dmsg2 ("cube struct.s, %d -> %d", value->s, retval->s); - // dmsg2 ("cube struct.l, %d -> %d", value->l, retval->l); - - CORBA_Any *any = new CORBA_Any (TC_Cubit_Many, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - -void -_skel_Cubit::_cube_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_oneof); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_union_3rd, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_union_3rd, get params"); - - // Call Implementation - Cubit_oneof *v; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - v = the_cubit->Cubit_cube_union(*(Cubit_oneof *)nv->value ()->value (), env); - - Cubit_oneof *r = new Cubit_oneof; - r->_disc = v->_disc; - r->o = (CORBA_Octet) (v->o); - r->s = (CORBA_Short) (v->s); - r->l = v->l; - r->cm.o = (CORBA_Octet) (v->cm.o); - r->cm.s = (CORBA_Short) (v->cm.s); - r->cm.l = v->cm.l; - - CORBA_Any *any = new CORBA_Any (TC_Cubit_oneof, r, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - -void -_skel_Cubit::_please_exit_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - the_cubit->Cubit_please_exit(env); -} diff --git a/TAO/IIOP/test/cubitS.h b/TAO/IIOP/test/cubitS.h deleted file mode 100644 index 84c07b741b0..00000000000 --- a/TAO/IIOP/test/cubitS.h +++ /dev/null @@ -1,82 +0,0 @@ -// @(#)cubitS.h 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of the SUN's IIOP -implementation -***************************************************************************/ - -#ifndef _SKEL_CUBIT_HH -#define _SKEL_CUBIT_HH - -#include "cubitC.h" - -class _skel_Cubit; -typedef _skel_Cubit *_skel_Cubit_ptr; -typedef _skel_Cubit_ptr _skel_Cubit_ref; - -class _skel_Cubit : public Cubit -{ -public: - virtual - CORBA_Octet Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env) = 0; - static - void _cube_octet_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - CORBA_Short Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env) = 0; - - static - void _cube_short_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - CORBA_Long Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env) = 0; - - static - void _cube_long_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - Cubit_Many* Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env) = 0; - - static - void _cube_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - Cubit_oneof* Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env) = 0; - - static - void _cube_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - void Cubit_please_exit (CORBA_Environment &env) = 0; - - static - void _please_exit_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); -protected: - _skel_Cubit(const char* obj_name = 0); - virtual ~_skel_Cubit() { } - -}; - -#endif // _SKEL_CUBIT_HH diff --git a/TAO/IIOP/test/cubit_i.cpp b/TAO/IIOP/test/cubit_i.cpp deleted file mode 100644 index ae22b7cd12c..00000000000 --- a/TAO/IIOP/test/cubit_i.cpp +++ /dev/null @@ -1,91 +0,0 @@ -// @(#)cubit_i.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written Cubit Implementation -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include "cubit_i.h" - -#include // ... and skeletons -#include // ... and debugging - -#include "connect.h" -#include "params.h" - -Cubit_i::Cubit_i(const char* obj_name) -: _skel_Cubit(obj_name) -{ -} - -Cubit_i::~Cubit_i() -{ -} - -CORBA_Octet -Cubit_i::Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env) -{ - - return (CORBA_Octet) (o * o * o); -} - -CORBA_Short -Cubit_i::Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env) -{ - return (CORBA_Short) (s * s * s); -} - - -CORBA_Long -Cubit_i::Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env) -{ - return (CORBA_Long) (l * l * l); -} - -Cubit_Many* -Cubit_i::Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env) -{ - values.o = values.o * values.o * values.o; - values.s = values.s * values.s * values.s; - values.l = values.l * values.l * values.l; - - return &values; -} - -Cubit_oneof* -Cubit_i::Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env) -{ - switch (values._disc) { - case e_0th: - values.o = (CORBA_Octet) (values.o * values.o * values.o); - break; - case e_1st: - values.s = (CORBA_Short) (values.s * values.s * values.s); - break; - case e_2nd: - values.l = values.l * values.l * values.l; - break; - case e_3rd: - default: - values.cm.o = (CORBA_Octet) (values.cm.o * values.cm.o * values.cm.o); - values.cm.s = (CORBA_Short) (values.cm.s * values.cm.s * values.cm.s); - values.cm.l = values.cm.l * values.cm.l * values.cm.l; - } - return &values; -} - -void Cubit_i::Cubit_please_exit (CORBA_Environment &env) -{ - TAO_OA_Parameters* params = TAO_OA_PARAMS::instance(); - - dmsg ("I've been asked to shut down..."); - params->oa()->please_shutdown(env); - dexc (env, "please_exit, please_shutdown"); -} diff --git a/TAO/IIOP/test/cubit_i.h b/TAO/IIOP/test/cubit_i.h deleted file mode 100644 index 6f4bee0d486..00000000000 --- a/TAO/IIOP/test/cubit_i.h +++ /dev/null @@ -1,54 +0,0 @@ -// @(#)cubit_i.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written Cubit Implementation -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of the SUN's IIOP -implementation -***************************************************************************/ - -#ifndef _CUBIT_I_HH -#define _CUBIT_I_HH - -#include "cubitS.h" - -class Cubit_i; -typedef Cubit_i *Cubit_i_ptr; -typedef Cubit_i_ptr Cubit_i_ref; - -class Cubit_i : public _skel_Cubit -{ -public: - Cubit_i(const char* obj_name = 0); - ~Cubit_i(); - - virtual - CORBA_Octet Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env); - - virtual - CORBA_Short Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env); - - virtual - CORBA_Long Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env); - - virtual - Cubit_Many* Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env); - - virtual - Cubit_oneof* Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env); - - virtual - void Cubit_please_exit (CORBA_Environment &env); -}; - -#endif // _CUBIT_I_HH diff --git a/TAO/IIOP/test/method_db.i b/TAO/IIOP/test/method_db.i deleted file mode 100644 index 6b77cdf040a..00000000000 --- a/TAO/IIOP/test/method_db.i +++ /dev/null @@ -1,67 +0,0 @@ -// @(#)method_db.i 05/14/97 - -// This file provides a way of initializing the method database -// Written by: Brian Mendel - -#include "cubitS.h" - -static void -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); - - 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(); - - if (ACE_OS::strcmp ((char*)value, "IDL:Cubit:1.0") == 0 - || ACE_OS::strcmp ((char *)value, _tc_CORBA_Object->id (env)) == 0) - retval = new CORBA_Boolean (CORBA_B_TRUE); - else - retval = new CORBA_Boolean (CORBA_B_FALSE); - - CORBA_Any *any = new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "_is_a, result"); -} - - -struct method_db -{ - CORBA_String opname; - TAO_Skeleton skel_ptr; -}; - -static const method_db cubit_operations[] = { - { "_is_a", &is_a_skel }, - { "cube_octet", &_skel_Cubit::_cube_octet_skel }, - { "cube_short", &_skel_Cubit::_cube_short_skel }, - { "cube_long", &_skel_Cubit::_cube_long_skel }, - { "cube_struct", &_skel_Cubit::_cube_struct_skel }, - { "cube_union", &_skel_Cubit::_cube_union_skel }, - { "please_exit", &_skel_Cubit::_please_exit_skel }, - { 0, 0 } -}; - - -void initialize_method_db (TAO_Operation_Table *the_optable) -{ - for (int ndx = 0; ndx < 7; ndx++) - the_optable->bind(cubit_operations[ndx].opname, - cubit_operations[ndx].skel_ptr); - -} diff --git a/TAO/IIOP/test/results/Orbix b/TAO/IIOP/test/results/Orbix deleted file mode 100644 index c3abce78d3f..00000000000 --- a/TAO/IIOP/test/results/Orbix +++ /dev/null @@ -1,133 +0,0 @@ -Cubit results over Ethernet with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 1.876 533 - 2 2.202 454 - 3 2.740 364 - -MT-Orbix Thread-Per-Request 1 1.886 530 - 2 3.1 322 - 3 5.0 200 - -MT-Orbix Thread-Pool (25) 1 1.875 533 - 2 3.1 322 - 3 5.1 196 - -MT-Orbix Thread-Per-Session 1 2.002 499 - 2 3.306 302 - 3 5.15 194 - - -Cubit results over ATM with 20,000 calls ----------------------------------------- - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 1.818 550 - 2 1.968 508 - 3 2.803 356 - - -MT-Orbix Thread-Per-Request 1 1.846 541 - 2 3.1 322 - 3 4.98 200 - -MT-Orbix Thread-Pool (25) 1 1.913 522 - 2 3.18 314 - 3 5.1 196 - -MT-Orbix Thread-Per-Session 1 1.959 510 - 2 3.29 303 - 3 5.15 194 - - -Prime_Factor results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 7.918 126 - 2 14.300 70 - 3 21.000 47 - - -MT-Orbix Thread-Per-Request 1 8.302 120 - 2 10.128 98 - 3 13.722 72 - -MT-Orbix Thread-Pool (25) 1 8.442 118 - 2 15.764 63 - 3 22.595 44 - -MT-Orbix Thread-Per-Session 1 8.956 111 - 2 9.581 104 - 3 16.702 59 - -IO-intensive results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 6.667 149 - 2 12.165 82 - 3 18.634 54 - - -MT-Orbix Thread-Per-Request 1 6.812 146 - 2 6.937 144 - 3 7.706 128 - -MT-Orbix Thread-Pool (25) 1 6.813 146 - 2 6.954 144 - 3 7.776 128 - -MT-Orbix Thread-Per-Session 1 6.85 145 - 2 7.253 137 - 3 7.645 130 - - TNF client-side profile for MT-Orbix without filters for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -cond_wait 6.23 4250.242 1824 2.330 106.171 1.205 0.091 -mutex_lock 0.23 159.830 56662 0.003 1.215 0.002 0.000 -mutex_unlock 0.22 146.756 56663 0.003 0.326 0.002 0.000 -cond_signal 0.09 61.030 1825 0.033 0.475 0.009 0.000 -rw_rdlock 0.01 7.179 1826 0.004 0.014 0.003 0.000 -rw_unlock 0.01 6.548 1827 0.004 0.014 0.003 0.000 -rw_wrlock 0.00 0.004 1 0.004 0.004 0.004 0.000 - - TNF server-side profile for MT-Orbix without filters for 20000 calls - - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -cond_timedwait 1.25 923.527 797 1.159 20.219 0.324 0.028 -mutex_lock 0.21 153.839 56435 0.003 4.342 0.002 0.000 -mutex_unlock 0.20 149.208 56433 0.003 3.559 0.002 0.000 -cond_signal 0.03 21.506 809 0.027 1.826 0.003 0.002 -rw_unlock 0.02 16.058 3224 0.005 2.915 0.003 0.001 -rw_rdlock 0.02 11.924 3221 0.004 0.087 0.003 0.000 -rw_wrlock 0.00 0.010 2 0.005 0.005 0.004 0.000 - - TNF server-side profile for MT-Orbix with thread-per-request for 20000 calls - - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.55 797.890 57618 0.014 4.624 0.002 0.000 -cond_timedwait 0.52 748.560 478 1.566 3.918 0.222 0.019 -mutex_unlock 0.36 514.627 57616 0.009 3.975 0.002 0.000 -cond_signal 0.02 24.216 1151 0.021 1.161 0.002 0.001 -rw_rdlock 0.01 13.120 2301 0.006 1.180 0.003 0.001 -rw_unlock 0.01 10.575 2307 0.005 0.316 0.003 0.000 -thr_sigsetmask 0.00 1.949 30 0.065 1.064 0.013 0.035 -rw_wrlock 0.00 0.033 6 0.006 0.008 0.004 0.001 - - - diff --git a/TAO/IIOP/test/results/TAO b/TAO/IIOP/test/results/TAO deleted file mode 100644 index de4a7bf23ae..00000000000 --- a/TAO/IIOP/test/results/TAO +++ /dev/null @@ -1,92 +0,0 @@ -Cubit results over Ethernet with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 1.172 853 - 2 1.342 745 - 3 1.902 525 - -TAO threaded version 1 1.174 851 - 2 1.219 820 - 3 1.600 625 - - -Cubit results over ATM with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 1.161 861 - 2 1.302 768 - 3 1.732 577 - -TAO threaded version 1 1.170 854 - 2 1.3 769 - 3 1.600 625 - - -Cubit results over ATM after optimizations with 20,000 calls ------------------------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 1.127 887 - 2 1.238 807 - 3 1.501 666 - -TAO threaded version 1 1.057 946 - 2 1.225 816 - 3 1.471 679 - -Prime_Factor results over ATM with 20,000 calls -------------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 7.407 135 - 2 13.7 73 - 3 19.7 51 - -TAO threaded version 1 7.389 135 - 2 8.080 124 - 3 10.726 93 - -IO-bound results over ATM with 20,000 calls --------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 6.404 156 - 2 11.909 83 - 3 17.324 57 - -TAO threaded version 1 6.378 156 - 2 6.449 155 - 3 6.500 153 - - - - - Sample client-side profile for TAO for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -rw_rdlock 0.40 146.579 20006 0.007 1.200 0.005 0.000 -rw_unlock 0.25 91.386 20009 0.005 0.058 0.004 0.000 -mutex_lock 0.06 21.087 5265 0.004 0.178 0.002 0.000 -mutex_unlock 0.04 14.372 5271 0.003 0.075 0.002 0.000 -rw_wrlock 0.00 0.045 3 0.015 0.034 0.005 0.008 - - - Sample server-side profile for TAO for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 1.12 154.491 54507 0.003 0.140 0.002 0.000 -mutex_unlock 1.06 145.638 54508 0.003 0.310 0.002 0.000 -rw_rdlock 0.27 37.265 6813 0.005 0.037 0.004 0.000 -rw_unlock 0.20 27.792 6813 0.004 0.045 0.004 0.000 - diff --git a/TAO/IIOP/test/results/Visibroker b/TAO/IIOP/test/results/Visibroker deleted file mode 100644 index 8d6bb2457c7..00000000000 --- a/TAO/IIOP/test/results/Visibroker +++ /dev/null @@ -1,79 +0,0 @@ -Cubit results over Ethernet with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - - -Visibroker reactive 1 1.167 856 - 2 1.39 718 - 3 1.664 600 - -Visibroker thr-per-connection 1 1.077 928 - 2 1.228 814 - 3 1.789 558 - - - -Cubit results over ATM with 20,000 calls ----------------------------------------- - - Clients Latency (ms) Calls/Sec - -Visibroker reactive 1 1.195 836 - 2 1.241 805 - 3 1.56 641 - -Visibroker thr-per-connection 1 1.060 943 - 2 1.327 753 - 3 2.108 474 - - -Prime_Factor results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -Visibroker reactive 1 7.43 134 - 2 13.652 73 - 3 17.738 56 - -Visibroker thr-per-connection 1 7.371 135 - 2 8.561 116 - 3 11.376 87 - -IO-intensive results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -Visibroker reactive 1 6.424 155 - 2 11.895 84 - 3 17.468 57 - -Visibroker thr-per-connection 1 6.41 156 - 2 6.496 154 - 3 6.524 153 - - - - - TNF client-side profile for Visibroker for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_unlock 1.31 188.930 61797 0.003 1.027 0.002 0.000 -mutex_lock 1.21 175.465 61790 0.003 0.330 0.002 0.000 - - - TNF server-side profile for Visibroker for 20000 calls - - Profile - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.18 165.141 60432 0.003 0.501 0.002 0.000 -mutex_unlock 0.16 153.891 60432 0.003 0.373 0.002 0.000 - - diff --git a/TAO/IIOP/test/results/orbs.xls b/TAO/IIOP/test/results/orbs.xls deleted file mode 100644 index 149078dd383..00000000000 Binary files a/TAO/IIOP/test/results/orbs.xls and /dev/null differ diff --git a/TAO/IIOP/test/svr.cpp b/TAO/IIOP/test/svr.cpp deleted file mode 100644 index 53fac60bf6d..00000000000 --- a/TAO/IIOP/test/svr.cpp +++ /dev/null @@ -1,212 +0,0 @@ -// @(#)svr.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: simple IIOP server for "cubit.idl" interface. -// -// Starts up, builds an objref, prints its string in debug mode, -// listens for messages, responds to them. -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include "ace/Get_Opt.h" -#include "ace/Log_Msg.h" - -#include "corba/orb.h" -#include "corba/debug.h" -#include "connect.h" - -#include "cubit_i.h" - -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - -// Global Variables -CORBA_String key = (CORBA_String)"key0"; -int num_of_objs = 1; - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_Get_Opt opts (argc, argv, "dk:n:"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - - case 'd': // debug flag - TAO_debug_level++; - continue; - - case 'k': // key (str) - key = (CORBA_String) opts.optarg; - continue; - - case 'n': // idle seconds b4 exit - num_of_objs = ACE_OS::atoi(opts.optarg); - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-k {object_key}]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - - -// -// Standard command line parsing utilities used. -// -int -main (int argc, char *argv[]) -{ - CORBA_Environment env; - CORBA_Object_ptr obj = 0; - CORBA_ORB_ptr orb_ptr; - CORBA_BOA_ptr oa_ptr; - char *orb_name = "internet"; - int idle = -1; - - orb_ptr = CORBA_ORB_init (argc, argv, orb_name, env); - if (env.exception () != 0) { - print_exception (env.exception (), "ORB init"); - return 1; - } - - // Initialize the Basic Object Adapter - oa_ptr = orb_ptr->BOA_init(argc, argv, "ROA"); - if (oa_ptr == 0) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to initialize the BOA.\n"), 1); - - - // - // Parse remaining command line and verify parameters. - // - parse_args(argc, argv); - - // Create implementation object with user specified key - Cubit_i_ptr *my_cubit = new Cubit_i_ptr[num_of_objs]; - for (int ndx = 0; ndx < num_of_objs; ndx++) - { - CORBA_String obj_str = CORBA_string_alloc(ACE_OS::strlen ((char *)key)+2); - sprintf(obj_str, "%s%d", (char*)key, ndx); - my_cubit[ndx] = new Cubit_i(obj_str); - if (my_cubit[ndx] == 0) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to create implementation object&d\n", ndx), 2); - - if (TAO_debug_level >= 1) - { - // Why are we getting the BOA_ptr from here when we've already - // got it above? - CORBA_OctetSeq obj_key; - obj_key.buffer = (CORBA_Octet *) obj_str; - obj_key.length = obj_key.maximum = ACE_OS::strlen (obj_str); - - if (oa_ptr->find(obj_key, obj) == -1) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to locate object with key '%s', %p\n", key), 3); - - // - // Stringify the objref we'll be implementing, and - // print it to stdout. Someone will take that string - // and give it to some client. Then release the object. - // - CORBA_String str; - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("Object Created at: '%ul'", obj); - dmsg1 ("listening as object '%s'", str); - - } - CORBA_string_free(obj_str); - } -// Cubit_i_ptr my_cubit = new Cubit_i(key); -// if (my_cubit1 == 0) -// ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to create implementation object\n"), 2); - -/* if (TAO_debug_level >= 1) - { - // Why are we getting the BOA_ptr from here when we've already - // got it above? - CORBA_OctetSeq obj_key; - obj_key.buffer = (CORBA_Octet *) key; - obj_key.length = obj_key.maximum = ACE_OS::strlen ((char *)key); - - if (oa_ptr->find(obj_key, obj) == -1) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to locate object with key '%s', %p\n", key), 3); - - // - // Stringify the objref we'll be implementing, and - // print it to stdout. Someone will take that string - // and give it to some client. Then release the object. - // - CORBA_String str; - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("listening as object '%s'", str); - - obj_key.buffer = (CORBA_Octet *)"key1"; - obj_key.length = obj_key.maximum = 4; - if (oa_ptr->find(obj_key, obj) == -1) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to locate object with key '%s', %p\n", key), 3); - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("listening as object '%s'", str); - } -*/ - // Handle requests for this object until we're killed, or one of - // the methods asks us to exit. - // - int terminationStatus = 0; - - -#if !defined(USE_HOMEBREW_EVENT_LOOP) - ACE_Reactor::run_event_loop(); -#else - while (1) - { - int result = params->reactor()->handle_events (); - - if (result == -1) - { - terminationStatus = -1; - break; - } - } -#endif - - // - // Shut down the OA -- recycles all underlying resources (e.g. file - // descriptors, etc). - // - oa_ptr->clean_shutdown (env); - return 0; -} diff --git a/TAO/IIOP/test/test.mak b/TAO/IIOP/test/test.mak deleted file mode 100644 index a27147d5f32..00000000000 --- a/TAO/IIOP/test/test.mak +++ /dev/null @@ -1,463 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=server - Win32 Debug -!MESSAGE No configuration specified. Defaulting to server - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "client - Win32 Release" && "$(CFG)" != "client - Win32 Debug"\ - && "$(CFG)" != "server - Win32 Release" && "$(CFG)" != "server - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "test.mak" CFG="server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "server - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "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 "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "client" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\client.exe" - -CLEAN : - -@erase "$(INTDIR)\clnt.obj" - -@erase "$(INTDIR)\cubitC.obj" - -@erase "$(OUTDIR)\client.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/client.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/client.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=ace.lib ..\lib\TAO.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 /incremental:no\ - /pdb:"$(OUTDIR)/client.pdb" /machine:I386 /out:"$(OUTDIR)/client.exe" -LINK32_OBJS= \ - "$(INTDIR)\clnt.obj" \ - "$(INTDIR)\cubitC.obj" - -"$(OUTDIR)\client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "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 Target_Dir "client" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\client.exe" - -CLEAN : - -@erase "$(INTDIR)\clnt.obj" - -@erase "$(INTDIR)\cubitC.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\client.exe" - -@erase "$(OUTDIR)\client.ilk" - -@erase "$(OUTDIR)\client.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# 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 "..\proto\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\proto\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fp"$(INTDIR)/client.pch" /YX /Fo"$(INTDIR)/"\ - /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/client.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=aced.lib ..\lib\TAO.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 /incremental:yes\ - /pdb:"$(OUTDIR)/client.pdb" /debug /machine:I386 /out:"$(OUTDIR)/client.exe" -LINK32_OBJS= \ - "$(INTDIR)\clnt.obj" \ - "$(INTDIR)\cubitC.obj" - -"$(OUTDIR)\client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "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 "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "server" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\server.exe" - -CLEAN : - -@erase "$(INTDIR)\cubit_i.obj" - -@erase "$(INTDIR)\cubitS.obj" - -@erase "$(INTDIR)\svr.obj" - -@erase "$(OUTDIR)\server.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/server.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/server.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=ace.lib ..\lib\TAO.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 /incremental:no\ - /pdb:"$(OUTDIR)/server.pdb" /machine:I386 /out:"$(OUTDIR)/server.exe" -LINK32_OBJS= \ - "$(INTDIR)\cubit_i.obj" \ - "$(INTDIR)\cubitS.obj" \ - "$(INTDIR)\svr.obj" - -"$(OUTDIR)\server.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "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 Target_Dir "server" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\server.exe" - -CLEAN : - -@erase "$(INTDIR)\cubit_i.obj" - -@erase "$(INTDIR)\cubitS.obj" - -@erase "$(INTDIR)\svr.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\server.exe" - -@erase "$(OUTDIR)\server.ilk" - -@erase "$(OUTDIR)\server.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# 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 "..\proto\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\proto\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fp"$(INTDIR)/server.pch" /YX /Fo"$(INTDIR)/"\ - /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/server.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=aced.lib ..\lib\TAO.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 /incremental:yes\ - /pdb:"$(OUTDIR)/server.pdb" /debug /machine:I386 /out:"$(OUTDIR)/server.exe" -LINK32_OBJS= \ - "$(INTDIR)\cubit_i.obj" \ - "$(INTDIR)\cubitS.obj" \ - "$(INTDIR)\svr.obj" - -"$(OUTDIR)\server.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "client - Win32 Release" -# Name "client - Win32 Debug" - -!IF "$(CFG)" == "client - Win32 Release" - -!ELSEIF "$(CFG)" == "client - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\clnt.cpp -DEP_CPP_CLNT_=\ - "..\..\..\ace\config-win32.h"\ - ".\cubitC.h"\ - {$(INCLUDE)}"\ace\ACE.h"\ - {$(INCLUDE)}"\ace\ACE.i"\ - {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ - {$(INCLUDE)}"\ace\Auto_Ptr.h"\ - {$(INCLUDE)}"\ace\Auto_Ptr.i"\ - {$(INCLUDE)}"\ace\config-win32-common.h"\ - {$(INCLUDE)}"\ace\config.h"\ - {$(INCLUDE)}"\ace\Get_Opt.h"\ - {$(INCLUDE)}"\ace\Get_Opt.i"\ - {$(INCLUDE)}"\ace\Log_Msg.h"\ - {$(INCLUDE)}"\ace\Log_Priority.h"\ - {$(INCLUDE)}"\ace\Log_Record.h"\ - {$(INCLUDE)}"\ace\Log_Record.i"\ - {$(INCLUDE)}"\ace\Object_Manager.h"\ - {$(INCLUDE)}"\ace\Object_Manager.i"\ - {$(INCLUDE)}"\ace\OS.h"\ - {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\SString.h"\ - {$(INCLUDE)}"\ace\SString.i"\ - {$(INCLUDE)}"\ace\stdcpp.h"\ - {$(INCLUDE)}"\ace\Trace.h"\ - {$(INCLUDE)}"\ace\ws2tcpip.h"\ - -NODEP_CPP_CLNT_=\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - - -"$(INTDIR)\clnt.obj" : $(SOURCE) $(DEP_CPP_CLNT_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cubitC.cpp -DEP_CPP_CUBIT=\ - ".\cubitC.h"\ - -NODEP_CPP_CUBIT=\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - - -"$(INTDIR)\cubitC.obj" : $(SOURCE) $(DEP_CPP_CUBIT) "$(INTDIR)" - - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "server - Win32 Release" -# Name "server - Win32 Debug" - -!IF "$(CFG)" == "server - Win32 Release" - -!ELSEIF "$(CFG)" == "server - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\cubitS.cpp -DEP_CPP_CUBITS=\ - ".\cubitC.cpp"\ - ".\cubitC.h"\ - ".\cubitS.h"\ - ".\method_db.i"\ - -NODEP_CPP_CUBITS=\ - ".\connect.h"\ - ".\corba\debug.h"\ - ".\corba\optable.h"\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - ".\iiopobj.h"\ - ".\params.h"\ - - -"$(INTDIR)\cubitS.obj" : $(SOURCE) $(DEP_CPP_CUBITS) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cubit_i.cpp -DEP_CPP_CUBIT_=\ - ".\cubit_i.h"\ - ".\cubitC.h"\ - ".\cubitS.h"\ - -NODEP_CPP_CUBIT_=\ - ".\connect.h"\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - ".\params.h"\ - - -"$(INTDIR)\cubit_i.obj" : $(SOURCE) $(DEP_CPP_CUBIT_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\svr.cpp -DEP_CPP_SVR_C=\ - "..\..\..\ace\config-win32.h"\ - ".\cubit_i.h"\ - ".\cubitC.h"\ - ".\cubitS.h"\ - {$(INCLUDE)}"\ace\ACE.h"\ - {$(INCLUDE)}"\ace\ACE.i"\ - {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ - {$(INCLUDE)}"\ace\Auto_Ptr.h"\ - {$(INCLUDE)}"\ace\Auto_Ptr.i"\ - {$(INCLUDE)}"\ace\config-win32-common.h"\ - {$(INCLUDE)}"\ace\config.h"\ - {$(INCLUDE)}"\ace\Get_Opt.h"\ - {$(INCLUDE)}"\ace\Get_Opt.i"\ - {$(INCLUDE)}"\ace\Log_Msg.h"\ - {$(INCLUDE)}"\ace\Log_Priority.h"\ - {$(INCLUDE)}"\ace\Log_Record.h"\ - {$(INCLUDE)}"\ace\Log_Record.i"\ - {$(INCLUDE)}"\ace\Object_Manager.h"\ - {$(INCLUDE)}"\ace\Object_Manager.i"\ - {$(INCLUDE)}"\ace\OS.h"\ - {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\SString.h"\ - {$(INCLUDE)}"\ace\SString.i"\ - {$(INCLUDE)}"\ace\stdcpp.h"\ - {$(INCLUDE)}"\ace\Trace.h"\ - {$(INCLUDE)}"\ace\ws2tcpip.h"\ - -NODEP_CPP_SVR_C=\ - ".\connect.h"\ - ".\corba\debug.h"\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - - -"$(INTDIR)\svr.obj" : $(SOURCE) $(DEP_CPP_SVR_C) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/TAO/IIOP/test/test.mdp b/TAO/IIOP/test/test.mdp deleted file mode 100644 index dc1aea7d5be..00000000000 Binary files a/TAO/IIOP/test/test.mdp and /dev/null differ diff --git a/TAO/IIOP/test/test1.cpp b/TAO/IIOP/test/test1.cpp deleted file mode 100644 index a27c29ee378..00000000000 --- a/TAO/IIOP/test/test1.cpp +++ /dev/null @@ -1,390 +0,0 @@ -// @(#)test1.cpp 1.4 95/09/28 -// Copyright 1995 by Sun Microsystems, Inc. -// All Rights Reserved -// -// TEST stubs for "test1" -// - -#include - -#include "test1.h" - - -// -// Define all the stubs ... it's a lot less error prone to do it with -// macros than by hand! -// -// NOTE: the "calldata" is exported for use by the skeletons. At some -// point skeletons will probably be fully abstracted; for now they aren't. -// -// Also, for some reason, name mangling is changed by the explicit -// declaration as "extern" -- if it's not done, linking fails. -// -#define DEFINE_TEST3(typename, truetype, truetypename) \ - static const TAO_Param_Data test1_ ## typename ## _paramdata [4] = { \ - { _tc_CORBA_ ## truetypename, PARAM_RETURN, 0 }, \ - { _tc_CORBA_ ## truetypename, PARAM_IN, 0 }, \ - { _tc_CORBA_ ## truetypename, PARAM_OUT, 0 }, \ - { _tc_CORBA_ ## truetypename, PARAM_INOUT, 0 }, \ - }; \ - \ - extern const TAO_Call_Data test1_ ## typename ## _calldata; \ - \ - const TAO_Call_Data test1_ ## typename ## _calldata = { \ - "test_" #typename, CORBA_B_TRUE, \ - 4, &test1_ ## typename ## _paramdata [0], \ - 0, 0, \ - }; \ - \ - CORBA_ ## truetype \ - test1_test_ ## typename (test1_ptr target, \ - CORBA_ ## truetype in_a1, \ - CORBA_ ## truetype &out_a2, \ - CORBA_ ## truetype &inout_a3, \ - CORBA_Environment &env) { \ - CORBA_ ## truetype _retval; \ - STUB_Object *_obj; \ - if (target->QueryInterface (IID_STUB_Object, (void **)&_obj) \ - != NOERROR) \ - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); \ - else { \ - _obj->do_call (env, &test1_ ## typename ## _calldata, \ - &_retval, &in_a1, &out_a2, &inout_a3); \ - _obj->Release (); \ - } \ - return _retval; \ - } - -// changed extern const calldata test1_ ## typename ## _calldata; -// to const calldata test1_ ## typename ## _calldata; \ - -// changed CORBA_ ## truetype _retval = 0; to changed CORBA_ ## truetype _retval; - -#define DEFINE_TEST(typename, truetype) \ - DEFINE_TEST3(typename, truetype, truetype) - - -// -// Generate a system exception, passing an operation ID that's -// not allowed by IIOP (much less this interface) and verifying -// that the server returns some kind of system exception. -// -static const TAO_Call_Data illegal_calldata = { - "+_illegal", CORBA_B_TRUE, - 0, 0, - 0, 0 -}; - -void -test_illegal (test1_ptr target, CORBA_Environment &env) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &illegal_calldata - ); - data->Release (); - } -} - - -extern const TAO_Call_Data test1_void_calldata; -const TAO_Call_Data test1_void_calldata = { - "test_void", CORBA_B_TRUE, - 0, 0, - 0, 0 -}; - -void -test1_test_void (test1_ptr target, CORBA_Environment &env) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &test1_void_calldata - ); - data->Release (); - } -} - -DEFINE_TEST (short, Short); -DEFINE_TEST (long, Long); -DEFINE_TEST (ushort, UShort); -DEFINE_TEST (ulong, ULong); - -#if defined(MIPS) -// -// NOTE: C/C++ compilers as a rule pass a "float" in the space that -// a "double" takes up. Conversions are evidently optional; portability -// forces the following "explicit temporary" hack to work on at least -// one MIPS platform, which converts the parameter to "double" and -// hence changes the binary representation. (Even if that is a compiler -// bug, it's probably required by now for binary compatibility!) -// -// A "-k ansi" compiler flag may be needed to get correct behaviour; -// passing the "in" parameters by reference apparently works too. At -// this time, none of these solutions is used by default. -// -// This stub-level hackery seems like it could be replaced inside of the -// stub interpreter, which could just manually convert "float" parameters -// (all of them) as special cases. But of course, that would slow the -// interpreter down on _every_ call, not just the ones that require it -// (such as this one). Tradeoffs! -// -static const TAO_Param_Data test1_float_paramdata [4] = { - { _tc_CORBA_Float , PARAM_RETURN , 0 }, - { _tc_CORBA_Float , PARAM_IN , 0 }, - { _tc_CORBA_Float , PARAM_OUT , 0 }, - { _tc_CORBA_Float , PARAM_INOUT , 0 } -}; - -extern const TAO_Call_Data test1_float_calldata; - -const TAO_Call_Data test1_float_calldata = { - "test_float", CORBA_B_TRUE, - 4 , &test1_float_paramdata [0], - 0 , 0 -}; - -CORBA_Float -test1_test_float ( - test1_ptr target, - CORBA_Float in_a1, - CORBA_Float &out_a2, - CORBA_Float &inout_a3, - CORBA_Environment &env -) -{ - CORBA_Float _retval; - - // These three temporaries required due to MIPS compiler bug - CORBA_Float _in_a1 = in_a1; - CORBA_Float _out_a2 = out_a2; - CORBA_Float _inout_a3 = inout_a3; - - target -> data -> do_call (env, - &test1_float_calldata, - &_retval, - &_in_a1, - &_out_a2, - &_inout_a3); - return _retval; -} - -#else -DEFINE_TEST (float, Float); -#endif // MIPS - - -DEFINE_TEST (double, Double); -DEFINE_TEST (boolean, Boolean); -DEFINE_TEST (char, Char); -DEFINE_TEST (octet, Octet); - -/* -CORBA_Any * -test1_test_any (test1_ptr target, - const CORBA_Any &in_a1, - CORBA_Any *&out_a2, - CORBA_Any &inout_a3, - CORBA_Environment &env) -{ - // XXX implement this stub! ... annoying that C++ mapping - // calls for so much special casing -} -*/ - - -DEFINE_TEST3 (TypeCode, TypeCode_ptr, TypeCode); -DEFINE_TEST3 (Principal, Principal_ptr, Principal); -DEFINE_TEST3 (Object, Object_ptr, Object); - -// NOTE: C++ mapping has "in" strings as "const", which doesn't -// show up in this macro ... -DEFINE_TEST3 (string, Char *, String); - -DEFINE_TEST (longlong, LongLong); -DEFINE_TEST (ulonglong, ULongLong); -DEFINE_TEST (wchar, WChar); - -// NOTE: C++ mapping has "in" strings as "const", which doesn't -// show up in this macro ... -DEFINE_TEST3 (wstring, WChar *, WString); - -#if !defined(NONNATIVE_LONGDOUBLE) -DEFINE_TEST (longdouble, LongDouble); -#endif - -#undef DEFINE_TEST - - -// -// Utility macros used to construct octet codes that are aligned -// on longword boundaries, and with a known byte order. This -// happens to use big endian encoding since it was convenient. -// (Longword alignment is a happy accident of the specification -// of OMG-IDL ... it could have been much worse!) -// -// It'd be much simpler to lay out such data in assembler! -// - -#if defined (WORDS_BIGENDIAN) -# define MAKE_BIG_LONG(a,b,c,d) \ - ((((a) & 0xff) << 24) | (((b) & 0xff) << 16) \ - | (((c) & 0xff) << 8) | ((d) & 0xff)) -# define BIG_ENDIAN_LONG(x) (x) - -#else // LITTLE_ENDIAN -# define MAKE_BIG_LONG(a,b,c,d) \ - ((((d) & 0xff) << 24) | (((c) & 0xff) << 16) \ - | (((b) & 0xff) << 8) | ((a) & 0xff)) -# define BYTE_FROM(n,integer) (((integer)>>(8*(n)))&0xff) -# define BIG_ENDIAN_LONG(integer) \ - MAKE_BIG_LONG (BYTE_FROM(3,integer), BYTE_FROM(2,integer),\ - BYTE_FROM(1,integer), BYTE_FROM(0,integer)) -#endif - - - -// -// "x1" exception typecode ... must be longword aligned -// -static CORBA_Long oc_x1 [] = { - 0, // big endian flag + padding - BIG_ENDIAN_LONG (29), // length of ID string + NUL - MAKE_BIG_LONG ('I', 'D', 'L', ':'), // bytes of ID string - MAKE_BIG_LONG ('E', 'n', 'g', '.'), - MAKE_BIG_LONG ('S', 'U', 'N', '.'), - MAKE_BIG_LONG ('C', 'O', 'M', '/'), - MAKE_BIG_LONG ('t', 'e', 's', 't'), - MAKE_BIG_LONG ('1', '/', 'x', '1'), - MAKE_BIG_LONG (':', '1', '.', '0'), - 0, - BIG_ENDIAN_LONG (1), // (empty) namelen + NUL - 0, - BIG_ENDIAN_LONG (1), // only one struct member - BIG_ENDIAN_LONG (1), // (empty) member name + NUL - 0, - BIG_ENDIAN_LONG (tk_long) -}; -static CORBA_TypeCode tc_x1 (tk_except, sizeof oc_x1, - (unsigned char *)&oc_x1, CORBA_B_FALSE); -CORBA_TypeCode_ptr _tc_test1_x1 = &tc_x1; - - - -// -// "x2" exception typecode ... must be longword aligned -// -static CORBA_Long oc_x2 [] = { - 0, // big endian flag + padding - BIG_ENDIAN_LONG (29), // length of ID string + NUL - MAKE_BIG_LONG ('I', 'D', 'L', ':'), // bytes of ID string - MAKE_BIG_LONG ('E', 'n', 'g', '.'), - MAKE_BIG_LONG ('S', 'U', 'N', '.'), - MAKE_BIG_LONG ('C', 'O', 'M', '/'), - MAKE_BIG_LONG ('t', 'e', 's', 't'), - MAKE_BIG_LONG ('1', '/', 'x', '2'), - MAKE_BIG_LONG (':', '1', '.', '0'), - 0, - BIG_ENDIAN_LONG (1), // (empty) namelen + NUL - 0, - BIG_ENDIAN_LONG (2), // two struct members - - BIG_ENDIAN_LONG (1), // (empty) member name + NUL - 0, - BIG_ENDIAN_LONG (tk_objref), - BIG_ENDIAN_LONG (29), // type ID + NUL - MAKE_BIG_LONG ('I', 'D', 'L', ':'), // bytes of ID string - MAKE_BIG_LONG ('o', 'm', 'g', '.'), - MAKE_BIG_LONG ('o', 'r', 'g', '/'), - MAKE_BIG_LONG ('C', 'O', 'R', 'B'), - MAKE_BIG_LONG ('A', '/', 'O', 'b'), - MAKE_BIG_LONG ('j', 'e', 'c', 't'), - MAKE_BIG_LONG (':', '1', '.', '0'), - 0, - - BIG_ENDIAN_LONG (1), // (empty) member name + NUL - 0, - BIG_ENDIAN_LONG (tk_long) -}; -static CORBA_TypeCode tc_x2 (tk_except, sizeof oc_x2, - (unsigned char *)&oc_x2, CORBA_B_FALSE); -CORBA_TypeCode_ptr _tc_test1_x2 = &tc_x2; - - -// -// parameter, exception, and call descriptions for "test_throw" -// -static const TAO_Param_Data test1_test_throw_paramdata [1] = { - { _tc_CORBA_Long, PARAM_IN, 0 } -}; - -static CORBA_TypeCode_ptr test1_test_throw_excepts [2] = { - &tc_x1, &tc_x2 -}; - -extern const TAO_Call_Data test1_test_throw_calldata; - -const TAO_Call_Data test1_test_throw_calldata = { - "test_throw", CORBA_B_TRUE, - 1, &test1_test_throw_paramdata [0], - 2, &test1_test_throw_excepts [0] -}; - -// -// "test_throw" stub -// -void -test1_test_throw ( - test1_ptr target, - CORBA_Long case_num, - CORBA_Environment &env // throw (x1, x2) -) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &test1_test_throw_calldata, - &case_num); - data->Release (); - } -} - -// -// PLEASE EXIT -// - -static const TAO_Call_Data test1_please_exit_calldata = { - "please_exit", CORBA_B_FALSE, - 0, 0, - 0, 0 -}; - -void -test1_please_exit ( - test1_ptr target, - CORBA_Environment &env -) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &test1_please_exit_calldata - ); - data->Release (); - } -} - diff --git a/TAO/IIOP/test/test1.h b/TAO/IIOP/test/test1.h deleted file mode 100644 index 7d3bd0e08a5..00000000000 --- a/TAO/IIOP/test/test1.h +++ /dev/null @@ -1,124 +0,0 @@ -// @(#)test1.hh 1.2 95/09/12 -// Copyright 1995 by Sun Microsystems, Inc. -// All Rights Reserved -// -// TEST interface for "test1" -// - -#ifndef _TEST1_HH -#define _TEST1_HH - -#include -#include - - -#ifdef _MSC_VER -#pragma pack (push, 1) // VC++, known padding rules -#endif // VC++ - -typedef CORBA_UShort test1_ushort; -typedef CORBA_ULong test1_ulong; - -typedef CORBA_LongLong test1_longlong; -typedef CORBA_ULongLong test1_ulonglong; -typedef CORBA_LongDouble test1_longdouble; - -typedef CORBA_Object test1; -typedef test1 *test1_ptr; - -#define DECL_TEST(typename, truetype) \ - truetype \ - test1_test_ ## typename ( \ - test1_ptr target, \ - truetype in_a1, \ - truetype &out_a2, \ - truetype &inout_a3, \ - CORBA_Environment &env \ - ) - -void test_illegal (test1_ptr target, CORBA_Environment &env); -void test1_test_void (test1_ptr target, CORBA_Environment &env); - -DECL_TEST (short, CORBA_Short); -DECL_TEST (long, CORBA_Long); -DECL_TEST (ushort, CORBA_UShort); -DECL_TEST (ulong, CORBA_ULong); -DECL_TEST (float, CORBA_Float); -DECL_TEST (double, CORBA_Double); -DECL_TEST (boolean, CORBA_Boolean); -DECL_TEST (char, CORBA_Char); -DECL_TEST (octet, CORBA_Octet); - -CORBA_Any * -test1_test_any ( - test1_ptr target, - const CORBA_Any &in_a1, - CORBA_Any *&out_a2, - CORBA_Any &inout_a3, - CORBA_Environment &env -); - -DECL_TEST (TypeCode, CORBA_TypeCode_ptr); -DECL_TEST (Principal, CORBA_Principal_ptr); -DECL_TEST (Object, CORBA_Object_ptr); - -// NOTE: CORBA C++ mapping says the "in" string is const -DECL_TEST (string, CORBA_String); - -DECL_TEST (longlong, CORBA_LongLong); -DECL_TEST (ulonglong, CORBA_ULongLong); -DECL_TEST (wchar, CORBA_WChar); - -// NOTE: CORBA C++ mapping says the "in" string is const -DECL_TEST (wstring, CORBA_WString); - -DECL_TEST (longdouble, CORBA_LongDouble); - -#undef DECL_TEST - -extern CORBA_TypeCode_ptr _tc_test1_x1; - -class test1_x1 : public CORBA_UserException { - public: - CORBA_Long case_num; - - test1_x1 (CORBA_Long n) - : CORBA_UserException (_tc_test1_x1), case_num (n) - { } -}; - -extern CORBA_TypeCode_ptr _tc_test1_x2; - -class test1_x2 : public CORBA_UserException { - public: - CORBA_Object_ptr obj; - CORBA_Long case_num; - - test1_x2 (CORBA_Object_ptr obj1, - CORBA_Long n) - : CORBA_UserException (_tc_test1_x2), - obj (obj1), case_num (n) { } - - ~test1_x2 () - { CORBA_release (obj); } -}; - -void -test1_test_throw ( - test1_ptr target, - CORBA_Long case_num, - CORBA_Environment &env // throw (x1, x2) -); - -void -test1_please_exit ( - test1_ptr target, - CORBA_Environment &env -); - -#ifdef _MSC_VER -#pragma pack (pop) // VC++, go back to other padding rules -#endif // VC++ - -#endif // _TEST1_HH - diff --git a/TAO/IIOP/test/test1.idl b/TAO/IIOP/test/test1.idl deleted file mode 100644 index e6cf20cd2de..00000000000 --- a/TAO/IIOP/test/test1.idl +++ /dev/null @@ -1,78 +0,0 @@ -// @(#)test1.idl 1.1 95/09/11 -// Copyright 1994-1995 by Sun Microsystems, Inc. -// -// TEST basic marshaling tests for all IDL primitive types, modes -// -// This test omits constructed types (struct, union, enum, sequence, and -// array types), and only tests very simple user defined exceptions. -// -// Values returned are well defined functions of the input values: -// -// * For numeric types (octet, short, long, longlong, float, double, -// longdouble, and unsigned variants) the value is cubed. -// * For Boolean, it's the negation. -// * For Any, TypeCode, Principal, Object, char and wchar, -// string and wstring, it's the input value. -// -// The "return" and "out" parameter is the function of the "in" parameter; -// the "inout" parameter is the function of its original value. -// -// The "echo" test has all output values be the input values, with no -// changes to the bit patterns originally transmitted. While easier to -// use to identify some kinds of problem, it is not as complete a test. -// - -#define DECL_TEST(type) \ - type test_ ## type ( in type a1, out type a2, inout type a3) - -#pragma prefix "Eng.SUN.COM" // only for Sun-defined interfaces - -interface test1 { - void test_void (); - - typedef unsigned short ushort; - typedef unsigned long ulong; - - typedef long long longlong; - typedef unsigned long long ulonglong; - typedef long double longdouble; - - DECL_TEST (short); - DECL_TEST (long); - DECL_TEST (ushort); - DECL_TEST (ulong); - DECL_TEST (float); - DECL_TEST (double); - DECL_TEST (boolean); - DECL_TEST (char); - DECL_TEST (octet); - DECL_TEST (any); - DECL_TEST (TypeCode); - DECL_TEST (Principal); - DECL_TEST (Object); // CORBA::Object - DECL_TEST (string); // unbounded string - - DECL_TEST (longlong); - DECL_TEST (ulonglong); - DECL_TEST (wchar); - DECL_TEST (wstring); // unbounded wstring - DECL_TEST (longdouble); - - // - // All cases, "case_num" in the exception is the same as the 'in' param - // * negative or zero, throws x1 - // * positive even cases, throws x2 with obj = null objref - // * positive odd cases, throws x2 with obj = target objref - // - exception x1 { long case_num; }; - exception x2 { Object obj; long case_num; }; - - void test_throw (in long case_num) raises (x1, x2); - - // - // Aid for test cleanup in case server's not told to quit after - // being idle for some time period - // - oneway void please_exit (); -}; - diff --git a/TAO/IIOP/test/test1_clnt.cpp b/TAO/IIOP/test/test1_clnt.cpp deleted file mode 100644 index 831a0189371..00000000000 --- a/TAO/IIOP/test/test1_clnt.cpp +++ /dev/null @@ -1,636 +0,0 @@ -// @(#)test1_clnt.cpp 1.5 95/09/24 -// Copyright 1995 by Sun Microsystems, Inc. -// All Rights Reserved -// -// TEST client driver for "test1" -// - -#ifdef USE_IOSTREAM -#include -#endif - -#include -#include -#include - -#if unix -# include - -#else // windows - -#endif // unix - -#include "test1.h" -#include - - -#if !defined (_WIN32) -extern char *optarg; // missing on some platforms -#endif - -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - - -// -// All tests are specified so that the return value and "out" (second) -// parameters are easily tested functions of the "in" (first) parameter, -// and the "inout" (third) parameter is the same function the its -// initial value. Caller is expected to specify two different "in" -// values. This helps make the marshaled bits vary, and turn up a class -// of potential problems that'd be hidden if parameter order had no -// effect on the test. -// -// PERFORM_TEST calls a test for a given type, reporting in cases where -// the ORB or operation failed. The COMPARE symbol can be redefined -// to achieve different functions -- e.g. cubing numbers, identity, -// negation, etc. It should return true iff the correct result was -// returned. -// -// BAD_COMPARE_VALUES is to produce diagnostics when a test fails, -// showing the actual and expected values of returned parameters. -// This helps diagnose specific porting problems. -// -// The RELEASE symbol may be defined to free memory, eliminating client -// side memory leaks in the test. -// -#define RELEASE(X) // NOP by default -#define PERFORM_TEST(name,type,value1,value2) \ - { \ - CORBA_ ## type v1, v2, v3; \ - \ - v1 = (CORBA_ ## type)(value1); \ - v2 = 0; \ - v3 = (CORBA_ ## type)(value2); \ - \ - test_count++; \ - v1 = test1_test_ ## name (target, v1, v2, v3, env); \ - if (env.exception () != 0) { \ - print_exception (env.exception (), "perform test_" #name); \ - error_count++; \ - } else if (!COMPARE (CORBA_ ## type, v1, value1) \ - || !COMPARE (CORBA_ ## type, v2, value1) \ - || !COMPARE (CORBA_ ## type, v3, value2) ) { \ - ACE_OS::fprintf (stderr, "bad comparison, test_" #name "\n"); \ - BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) \ - error_count++; \ - } \ - RELEASE (v1); RELEASE (v2); RELEASE (v3); \ - } - -// -// This messing about is because the ostream op << cannot always -// be used with all kinds of data ... e.g. LongDouble, TypeCode. -// -#ifdef USE_IOSTREAM -# define DO_IO(x) x -#else -# define DO_IO(x) -#endif -#define BAD_COMPARE_VALUE_OUT(type,v1,v2,v3,value1,value2) \ - DO_IO( cerr << " v1=" << v1; \ - cerr << " expecting " << EXPVAL(CORBA_ ## type, value1) << "\n"; \ - cerr << " v2=" << v2; \ - cerr << " expecting " << EXPVAL(CORBA_ ## type, value1) << "\n"; \ - cerr << " v3=" << v3; \ - cerr << " expecting " << EXPVAL(CORBA_ ## type, value2) << "\n"); -#define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) \ - BAD_COMPARE_VALUE_OUT(type,v1,v2,v3,value1,value2) - - -// -// test utility -- should be able to just use is_equivalent() directly -// but this implementation uses null pointers for nil, so this must -// check for nulls first. (May be noncompliant with C++ mapping!) -// -static CORBA_Boolean -compare_objrefs ( - CORBA_Object_ptr v1, - CORBA_Object_ptr v2 -) -{ - CORBA_Boolean temp; - CORBA_Environment env; - - if (v1 == v2) - return CORBA_B_TRUE; - - if (CORBA_is_nil (v1)) - return CORBA_is_nil (v2); - - temp = v1->_is_equivalent (v2, env); - if (env.exception () != 0) { - print_exception (env.exception (), "compare objref"); - return CORBA_B_FALSE; - } - return temp; -} - - -// -// Helper routine to help sure math (especially for floating point) -// gets done correctly. -// -template -Type cube (Type arg) -{ - Type temp = arg; - - temp = temp * arg; - temp = temp * arg; - return temp; -} - - -static int skip_longdouble = 0; - -// -// This just performs the tests ... -// -void -do_tests ( - test1_ptr target, - unsigned loop_count, - unsigned &test_count, - unsigned &error_count -) -{ - int count; - - for (count = 0; count < loop_count; count++) { - CORBA_Environment env; - CORBA_Environment env2; // XXX - - // - // test_void - // - test_count++; - test1_test_void (target, env); - if (env.exception () != 0) { - print_exception (env.exception (), "perform test_void"); - error_count++; - } - - // - // Numeric tests ... try some variety in computation, no real - // rationale in the choice of initial parameter values except - // not to use the same values all the time. - // -#define EXPVAL(type,original_value) ((type) cube((type)(original_value))) -#define COMPARE(type,retval,original_value) \ - ((retval) == EXPVAL(type, original_value)) - - PERFORM_TEST (octet, Octet, count + 29, count - 22); - - PERFORM_TEST (short, Short, count - 23, count + 19); - PERFORM_TEST (ushort, UShort, count + 23, count - 19); - - PERFORM_TEST (long, Long, count - 17, count + 20); - PERFORM_TEST (ulong, ULong, count + 17, count - 20); - -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... - PERFORM_TEST (longlong, LongLong, count - 177, count + 3); - PERFORM_TEST (ulonglong, ULongLong, count + 177, count - 3); -#endif // !NONNATIVE_LONGLONG - -#if !defined (i386) - // - // XXX not sure what's wrong with the COMPARE macro with respect to - // floating point on x86, since fprintf shows the values basically - // look correct ... but these float/double tests fail. - // - PERFORM_TEST (float, Float, count - 0.29, count + 3.14159); - PERFORM_TEST (double, Double, count * 1.77, count * 2.71); -#endif // !defined (i386) - - -#ifndef NONNATIVE_LONGDOUBLE -#undef BAD_COMPARE_VALUES -#define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) // NOP - - // - // don't try this between two platforms that don't provide - // arithmetic support for LongDouble values ... - // - if (!skip_longdouble) { - PERFORM_TEST (longdouble, LongDouble, - count - 2.33, count * 3.14159); - } - -# undef BAD_COMPARE_VALUES -# define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) \ - BAD_COMPARE_VALUE_OUT(type,v1,v2,v3,value1,value2) -#endif // !NONNATIVE_LONGDOUBLE - -#undef COMPARE -#undef EXPVAL - - - // - // Boolean -- negation - // -#define EXPVAL(type,original_value) (!(type)(original_value)) -#define COMPARE(type,retval,original_value) \ - (((type)(retval)) == EXPVAL(type,original_value)) - - PERFORM_TEST (boolean, Boolean, - (count & 0x01) != 0, (count & 0x01) == 0); -#undef COMPARE -#undef EXPVAL - - // - // Char, WChar -- identity - // -#define EXPVAL(type,original_value) ((type)(original_value)) -#define COMPARE(type,retval,original_value) \ - (((type)(retval)) == EXPVAL(type,original_value)) - - PERFORM_TEST (char, Char, count + 26, count - 5); - PERFORM_TEST (wchar, WChar, count, count + 25); -#undef COMPARE -#undef EXPVAL - - // - // Object_ptr -- identity (special comparision) - // -#define EXPVAL(type,original_value) ((type)(original_value)) -#define COMPARE(type,retval,original_value) \ - (compare_objrefs (retval, original_value) == CORBA_B_TRUE) -#undef RELEASE -#define RELEASE(obj) \ - { CORBA_release (obj); } - - PERFORM_TEST (Object, Object_ptr, target, CORBA_Object::_nil ()); -#undef COMPARE -#undef EXPVAL - - // - // TypeCode_ptr -- identity (special comparision), and verifies - // that most of the built-in typecode constants exist. - // - // XXX should try this on all standard and system exceptions! - // - // XXX this currently tests only marshaling/unmarshaling of - // "no parameter" TypeCodes ... complex ones (objref, struct, - // union, enum, sequence, array, alias, exception) are _NOT_ - // currently attempted. - // - // XXX for the simple typecodes (string, wstring), the single - // "bound" parameter isn't exercised/verified as it should be. - // -#define EXPVAL(type,original_value) ((type)(original_value)) -#define COMPARE(type,retval,original) \ - (((retval) == (original)) || \ - ((retval)->_kind == (original)->_kind)) - -#undef RELEASE -#define RELEASE(tc) \ - { CORBA_release (tc); } - -#undef BAD_COMPARE_VALUES -#define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) // NOP - - { - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Null, _tc_CORBA_Void); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Short, _tc_CORBA_UShort); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Long, _tc_CORBA_ULong); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_LongLong, _tc_CORBA_ULongLong); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Float, _tc_CORBA_Double); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Boolean, _tc_CORBA_Octet); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Any, _tc_CORBA_TypeCode); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_LongDouble, _tc_CORBA_Principal); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Char, _tc_CORBA_String); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_WChar, _tc_CORBA_WString); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_LongDouble, _tc_CORBA_Octet); - - // - // Try all of the standard exception typecodes. - // - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_UNKNOWN, _tc_CORBA_BAD_PARAM); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_NO_MEMORY, _tc_CORBA_IMP_LIMIT); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_COMM_FAILURE, _tc_CORBA_INV_OBJREF); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_OBJECT_NOT_EXIST, _tc_CORBA_NO_PERMISSION); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INTERNAL, _tc_CORBA_MARSHAL); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INITIALIZE, _tc_CORBA_NO_IMPLEMENT); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_BAD_TYPECODE, _tc_CORBA_BAD_OPERATION); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_NO_RESOURCES, _tc_CORBA_NO_RESPONSE); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_PERSIST_STORE, _tc_CORBA_BAD_INV_ORDER); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_TRANSIENT, _tc_CORBA_FREE_MEM); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INV_IDENT, _tc_CORBA_INV_FLAG); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INTF_REPOS, _tc_CORBA_BAD_CONTEXT); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_OBJ_ADAPTER, _tc_CORBA_DATA_CONVERSION); - - // - // All the built-in "user defined" system exceptions. - // - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_BadKind, _tc_CORBA_Bounds); - } -#undef COMPARE -#undef RELEASE - - // - // string (unbounded)-- identity (special comparision) - // -#define COMPARE(type,retval,original_value) \ - (strcmp ((char *)(retval), (char*)(original_value)) == 0) -#undef RELEASE -#define RELEASE(obj) CORBA_string_free(obj) - static const CORBA_Char str1 [] = "small"; - static const CORBA_Char str2 [] = - "relatively long string, constructed" - " with the aid of C++ implicit string" - " catenation, which simplifies much stuff"; - PERFORM_TEST (string, String, str1, str2); -#undef COMPARE -#undef RELEASE - - - // XXX any, principal, wstring ... output _is_ input - - - // - // Three test cases involve throwing user-defined exceptions. - // - { - CORBA_Exception *xp; - - // - // Case one: with parameter <= zero, must throw - // an "x1" exception whose "case_num" is that parameter - // - test_count++; - - test1_test_throw (target, -5, env); - if (env.exception () != 0) { - xp = env.exception (); - - if (strcmp ((char *)xp->id (), - (char *) _tc_test1_x1->id (env2)) != 0) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 1, " - "wrong exception thrown (id = '%s')\n", - xp->id ()); - } else { - test1_x1 *xp2 = (test1_x1 *) xp; - - if (xp2->case_num != -5) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 1, " - "wrong value (case_num = '%ld')\n", - xp2->case_num); - } - - // else, right exception was thrown - } - } else { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 1, " - "no exception thrown !!\n"); - } - - - // - // Case two: with positive odd parameter, must throw - // an "x2" exception whose obj is null, and whose case_num - // is that parameter - // - test_count++; - - test1_test_throw (target, 101, env); - if (env.exception () != 0) { - xp = env.exception (); - - if (strcmp ((char *)xp->id (), - (char *) _tc_test1_x2->id (env2)) != 0) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "wrong exception thrown (id = '%s')\n", - xp->id ()); - } else { - test1_x2 *xp2 = (test1_x2 *) xp; - - if (xp2->case_num != 101) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "wrong value (case_num = '%ld')\n", - xp2->case_num); - } - - if (!CORBA_is_nil (xp2->obj)) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "non-null objref thrown\n"); - } - - // else, right exception was thrown - } - } else { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "no exception thrown !!\n"); - } - - -#if 0 -// 18-sept-95: commented this out. Work remains to be done in -// this area: (a) ServerRequest::target operation unimplemented, -// so for the servers of current interest this test is no help; -// (b) probable pointer leak in exceptions holding data. - - // - // Case three: with positive even parameter, must throw - // an "x2" exception whose obj is the target, and whose - // case_num is that parameter - // - test_count++; - - test1_test_throw (target, 42, env); - if (env.exception () != 0) { - xp = env.exception (); - - if (strcmp ((char *)xp->id (), - (char *) _tc_test1_x2->id (env2)) != 0) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "wrong exception thrown (id = '%s')\n", - xp->id ()); - } else { - test1_x2 *xp2 = (test1_x2 *) xp; - - if (xp2->case_num != 42) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "wrong value (case_num = '%ld')\n", - xp2->case_num); - } - - CORBA_Boolean status; - - status = target->_is_equivalent (xp2->obj, env); - - if (env.exception () != 0) { - error_count++; - print_exception (env.exception (), - "test_throw/3 call to is_equivalent"); - } else if (status != CORBA_B_TRUE) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "non-equivalent objref thrown\n"); - } - - // else, right exception was thrown - } - } else { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "no exception thrown !!\n"); - } - - env.clear (); -#endif // 0 - - } - - // - // test_illegal -- generate a BAD_OPERATION system exception - // from the remote process - // - test_count++; - test_illegal (target, env); - if (env.exception () == 0 - || ACE_OS::strcmp ((char *) env.exception()->id(), - (char *) _tc_CORBA_BAD_OPERATION->id (env2)) != 0) { - ACE_OS::fprintf (stderr, "couldn't generate BAD_OPERATION exception\n"); - error_count++; - } - } -} - - -int -main (int argc, char *argv[]) -{ - CORBA_ORB_ptr orb_ptr; - CORBA_Environment env; - CORBA_Object_ptr objref = CORBA_Object::_nil(); - unsigned loop_count = 1; - unsigned tests = 0, errors = 0; - int exit_later = 0; - - orb_ptr = CORBA_ORB_init (argc, argv, "internet", env); - if (env.exception () != 0) { - dexc (env, "ORB initialisation"); - return 1; - } - - // - // Parse and verify parameters. - // - ACE_Get_Opt get_opt (argc, argv, "dln:O:x"); - int c; - - while ((c = get_opt ()) != -1) - switch (c) { - case 'd': // debug flag - TAO_debug_level++; - continue; - - case 'l': // skip "long double" test - skip_longdouble++; - continue; - - case 'n': // loop count - loop_count = (unsigned) ACE_OS::atoi (get_opt.optarg); - continue; - - case 'O': // stringified objref - { - objref = orb_ptr->string_to_object ( - (CORBA_String)get_opt.optarg, env); - if (env.exception () != 0) { - dexc (env, "string2object"); - return 1; - } - } - continue; - - case 'x': - exit_later++; - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-l]" - " [-n loopcount]" - " [-O objref]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - if (CORBA_is_nil (objref) == CORBA_B_TRUE) { - ACE_OS::fprintf (stderr, "%s: must identify non-null target objref\n", - argv [0]); - return 1; - } - - - do_tests (objref, loop_count, tests, errors); - - char *progname = ACE_OS::strrchr (argv [0], '/'); - - if (progname != 0) - progname += 1; - else - progname = argv [0]; - - ACE_OS::fprintf (stderr, "%s: %d loops, %d tests (%d errors)\n", - progname, loop_count, tests, errors); - - if (exit_later) { - test1_please_exit (objref, env); - if (env.exception () != 0) - print_exception (env.exception (), "test1_please_exit"); - } - - CORBA_release (objref); - - return errors != 0; -} diff --git a/TAO/IIOP/test/test1_svr.cpp b/TAO/IIOP/test/test1_svr.cpp deleted file mode 100644 index c4a51a036c7..00000000000 --- a/TAO/IIOP/test/test1_svr.cpp +++ /dev/null @@ -1,670 +0,0 @@ -// @(#)test1_svr.cpp 1.7 95/09/25 -// Copyright 1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: simple IIOP server for "test1.idl" interface. -// -// Starts up, builds an objref, prints its string, listens for -// messages, responds to them. -// - -#include -#include -#include - -#if unix -# include // for getopt on some systems - -#else // windows - -#endif - -#include "test1.h" -#include -#include - -#include - - - -#if !defined (_WIN32) -extern char *optarg; // missing on some platforms -#endif - -// -// Skeleton code ... just a macro for a bunch of DSI-based method code, -// in lieu of having an IDL compmiler generate static skeletons. Static -// skeletons would be more efficient; most mallocation could go away. -// -// Use by: defining OPERATION macro, call DEFINE_SKEL3 as needed, then -// undef OPERATION. -// -// NOTE: "v1_copy" below is needed to work around a bug with the -// HP9000 G++ 2.6.3 compiler, with "LongLong". -// -// XXX this could probably be a template ... or could even be merged -// directly into the Dynamic Implementation Routine below. -// -// XXX we must currently use IN_COPY_VALUE since the memory consumed -// by the parameters must be deallocated by the ORB. When we get an -// updated version of DSI which provides "send it now" semantics, -// these should preallocate the values and not use IN_COPY_VALUE. A -// net decrease in malloc overhead can be had that way. (NVList should -// also get a public constructor, and a way to provide the buffer.) -// -#define DEFINE_SKEL3(name,truetype,truetypename) \ - static void \ - _test1_test_ ## name ( \ - CORBA_ServerRequest &req, \ - CORBA_Object_ptr obj, \ - CORBA_Environment &env \ - ) \ - { \ - CORBA_NVList_ptr nvlist; \ - CORBA_ ## truetype scratch = 0; \ - CORBA_Any temp_value (_tc_CORBA_ ## truetypename, \ - &scratch, CORBA_B_FALSE); \ - \ - req.orb ()->create_list (3, nvlist); \ - (void) nvlist->add_value (0, temp_value, \ - CORBA_IN_COPY_VALUE|CORBA_ARG_IN, env); \ - (void) nvlist->add_value (0, temp_value, \ - CORBA_IN_COPY_VALUE|CORBA_ARG_OUT, env); \ - (void) nvlist->add_value (0, temp_value, \ - CORBA_IN_COPY_VALUE|CORBA_ARG_INOUT, env); \ - \ - req.params (nvlist, env); \ - if (env.exception () != 0) { \ - dexc (env, "test1_test_" # name "skeleton, req.params"); \ - return; \ - } \ - \ - CORBA_ ## truetype *v1, *v2, *retval; \ - \ - v1 = (CORBA_ ## truetype *) nvlist->item (0)->value ()->value (); \ - v2 = new CORBA_ ## truetype; \ - *v2 = (CORBA_ ## truetype) OPERATION (*v1); \ - retval = new CORBA_ ## truetype; \ - *retval = (CORBA_ ## truetype) OPERATION (*v1); \ - \ - CORBA_Any_ptr any_val; \ - \ - any_val = nvlist->item (1)->value (); \ - any_val->replace (any_val->type (), v2, CORBA_B_TRUE, env); \ - if (env.exception () != 0) { \ - dexc (env, "test1_test_" # name "skeleton, val2 replace"); \ - return; \ - } \ - \ - v1 = (CORBA_ ## truetype *) nvlist->item (2)->value ()->value (); \ - CORBA_ ## truetype v1copy = *v1; \ - *v1 = (CORBA_ ## truetype) OPERATION (v1copy); \ - \ - any_val = new CORBA_Any (_tc_CORBA_ ## truetypename, \ - retval, CORBA_B_TRUE); \ - req.result (any_val, env); \ - if (env.exception () != 0) { \ - dexc (env, "test1_test_" # name "skeleton, result"); \ - return; \ - } \ - } \ - extern TAO_Call_Data test1_ ## name ## _calldata; - - -extern const TAO_Call_Data test1_void_calldata; - -static void -_test1_test_void (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - - req.orb ()->create_list (0, nvlist); - req.params (nvlist, env); - - if (env.exception () != 0) - dexc (env, "test_throw, get params"); -} - - -// -// Dynamic Skeleton methods for numeric types ... these all just -// cube their parameters in various permutations -// -template -Type cube (Type arg) -{ - Type temp = arg; - - temp = temp * arg; - temp = temp * arg; - return temp; -} - -#define OPERATION(n) cube(n) - -DEFINE_SKEL3 (octet, Octet, Octet) - -DEFINE_SKEL3 (short, Short, Short) -DEFINE_SKEL3 (ushort, UShort, UShort) - -DEFINE_SKEL3 (long, Long, Long) -DEFINE_SKEL3 (ulong, ULong, ULong) - -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... -DEFINE_SKEL3 (longlong, LongLong, LongLong) -DEFINE_SKEL3 (ulonglong, ULongLong, ULongLong) -#endif // !NONNATIVE_LONGLONG - -DEFINE_SKEL3 (float, Float, Float) -DEFINE_SKEL3 (double, Double, Double) - -#if !defined (NONNATIVE_LONGDOUBLE) - // don't try this on platforms that don't support - // math on long doubles ... -DEFINE_SKEL3 (longdouble, LongDouble, LongDouble) -#endif // !NONNATIVE_LONGDOUBLE - -#undef OPERATION - -// -// Dynamic Skeleton methods for Boolean type ... just negates its -// parameters -// -#define OPERATION(x) (!(x)) -DEFINE_SKEL3 (boolean, Boolean, Boolean) -#undef OPERATION - -// -// For character types, output is same as input, no magic needed. -// -#define OPERATION(x) (x) -DEFINE_SKEL3 (char, Char, Char) -DEFINE_SKEL3 (wchar, WChar, WChar) -#undef OPERATION - -// -// For objref, typecode, output is same as input but duplication -// is needed -// -#define OPERATION(x) ((x) ? (x)->AddRef() : 0, x) -DEFINE_SKEL3 (Object, Object_ptr, Object) -DEFINE_SKEL3 (TypeCode, TypeCode_ptr, TypeCode) -#undef OPERATION - -// -// For string, output is copy of input -// -#define OPERATION(x) (CORBA_string_copy(x)) -DEFINE_SKEL3 (string, String, String) -#undef OPERATION - -// -// For wstring, output is copy of input -// -#define OPERATION(x) (CORBA_wstring_copy(x)) -DEFINE_SKEL3 (wstring, WString, WString) -#undef OPERATION - -// -// XXX IMPLEMENT THE REST OF THE DATA TYPES -// -// any, principal -- out is in -// - - -// -// All cases, "case_num" in the exception is the same as the 'in' param -// * negative or zero, throws x1 -// * positive even cases, throws x2 with obj = null objref -// * positive odd cases, throws x2 with obj = target objref -// -// exception x1 { long case_num; }; -// exception x2 { Object obj; long case_num; }; -// -// void test_throw (in long case_num) raises (x1, x2); -// - -extern const TAO_Call_Data test1_test_throw_calldata; - -static void -_test1_test_throw (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (_tc_CORBA_Long); - CORBA_Long value; - - 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, "test_throw, get params"); - return; - } - - value = *(CORBA_Long *)nv->value ()->value (); - if (env.exception () != 0) - { - dexc (env, "test_throw, param value"); - return; - } - - CORBA_Any_ptr any; - - if (value <= 0) - { - test1_x1 *x; - - x = new test1_x1 (value); - any = new CORBA_Any (_tc_test1_x1, x, CORBA_B_TRUE); - - } - else if (value & 0x01) - { - test1_x2 *x; - - x = new test1_x2 (CORBA_Object::_nil (), value); - any = new CORBA_Any (_tc_test1_x2, x, CORBA_B_TRUE); - - } - else - { -#if 0 - test1_x2 *x; - - x = new test1_x2 (req.oa()->target (), value); - any = new CORBA_Any (_tc_test1_x2, x, CORBA_B_TRUE); -#else - // - // XXX right now, we don't have a target() operation on the - // BOA ... needs to be added. Verify the client side memory - // leak of pointers embedded in user exceptions is fixed, too. - // - env.exception (new CORBA_IMP_LIMIT (COMPLETED_NO)); - return; -#endif - } - - req.exception (USER_EXCEPTION, any, env); -} - - -// -// This table is used to associate operation names with the Dynamic -// Skeleton method ... someday it could return static skeletons. -// -#define DECL_SKEL(name) \ - { & test1_ ## name ## _calldata, _test1_test_ ## name } - -static const TAO_Skel_Entry test1_operations [] = { - DECL_SKEL (void), - - DECL_SKEL (octet), - DECL_SKEL (char), - - DECL_SKEL (wchar), - - DECL_SKEL (short), - DECL_SKEL (ushort), - DECL_SKEL (long), - DECL_SKEL (ulong), - -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... - DECL_SKEL (longlong), - DECL_SKEL (ulonglong), -#endif - - DECL_SKEL (float), - DECL_SKEL (double), - -#if !defined (NONNATIVE_LONGDOUBLE) - // don't try this on platforms that don't support - // math on long doubles ... - DECL_SKEL (longdouble), -#endif // !NONNATIVE_LONGDOUBLE - - DECL_SKEL (boolean), - - DECL_SKEL (Object), - DECL_SKEL (TypeCode), - - DECL_SKEL (string), - DECL_SKEL (wstring), - - { & test1_test_throw_calldata, _test1_test_throw }, - - { 0, 0 } -}; - - -// -// Dispatch to method code ... -// -// Knows how to interpret "context" to get target objref, and where to -// get second level skeletons for that target. Both of those operations -// will generally be abstracted (into library and stub code) so the main -// body of this routine would be invisible to most applications. -// -// However, there are applications that need to do this stuff themselves -// (like bridging between environments, e.g. different ORBs, languages, or -// other object systems). Everything needed to work without using an IDL -// compiler is a public, supported API. -// -static void -level1_skeleton ( - CORBA_OctetSeq &key, - CORBA_ServerRequest &req, - void *context, - CORBA_Environment &env -) -{ - // - // Verify that the target object and "this" object have the - // same key. Normally, this would be used to figure out - // which object was the target, and hence which operations - // vector to dispatch the request. - // - CORBA_OctetSeq *obj_key; - - obj_key = (CORBA_OctetSeq *) context; - if (obj_key->length != key.length - || ACE_OS::memcmp (obj_key->buffer, key.buffer, - obj_key->length) != 0) - { - env.exception (new CORBA_OBJECT_NOT_EXIST (COMPLETED_NO)); -#ifdef DEBUG - if (TAO_debug_level) - dmsg_opaque ("request to nonexistent object, key = ", - key.buffer, key.length); -#endif - return; - } - - // - // Find a "level 2 skeleton" for this operation, then - // call it with the right per-object state. - // - const TAO_Skel_Entry *entry; - CORBA_String opname; - - opname = req.op_name (); - for (entry = &test1_operations [0]; entry->op_descriptor; entry++) - { - if (strcmp ((char *)opname, entry->op_descriptor->opname) == 0) - { - // We pass a bogus object because this version of the cubit example is - // so tightly coupled that it doesn't use it. Future modifications will, - // hopefully! - CORBA_Object_ptr bogus_object = 0; - entry->impl_skeleton (req, bogus_object, env); - return; - } - } - - // - // XXX True top-level skeleton code would also have to understand - // the built-in operations: - // - // * _is_a (for narrowing tests) ... can be derived by searching an - // appropriately structured graph of level2 skeletons. - // - // * _non_existent ... if the level1 skeleton consults a module - // which understands object lifespans, this should be simple. - // - // * _get_interface ... could either (a) fail; (b) return the ref - // from some IFR; or most interestingly (c) return a ref to some - // code in this process that can answer all IFR queries from the - // skeleton data structures. - // - // * _get_implementation ... return some administrative hook to - // the object implementation: - // - // No other legal operations start with a character that's not an - // ASCII alphanumeric, for what it's worth. - // - // The skeleton might want to use data in the object key to find - // the objref's type; if it's integrated with object creation, and - // an per-process implementation repository, this should be easy. - // - - // - // bypass level 2 skeletons for this one ... - // - if (strcmp ((char *) opname, "please_exit") == 0) - { - dmsg ("I've been asked to shut down..."); - req.oa ()->please_shutdown (env); - dexc (env, "please_exit, please_shutdown"); - return; - } - - // - // No match. Operation not implemented; say so. - // - dmsg1 ("unknown operation, %s", opname); - env.exception (new CORBA_BAD_OPERATION (COMPLETED_NO)); -} - - -// -// Create and print the objref, listen for calls on it until done. -// -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - -int -OA_listen (CORBA_ORB_ptr orb_ptr, - CORBA_BOA_ptr oa_ptr, - CORBA_String key, - int idle) -{ - // - // Create the object we'll be implementing. - // - CORBA_OctetSeq obj_key; - CORBA_Object_ptr obj; - CORBA_Environment env; - - obj_key.buffer = (CORBA_Octet *) key; - obj_key.length = obj_key.maximum = ACE_OS::strlen (key); - - obj = oa_ptr->create (obj_key, (CORBA_String) "", env); - if (env.exception () != 0) - { - print_exception (env.exception (), "BOA::create"); - return 1; - } - - // - // Stringify the objref we'll be implementing, and - // print it to stdout. Someone will take that string - // and give it to some client. - // - CORBA_String str; - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) - { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("listening as object '%s'", str); - - // - // Clean up -- "key" is sufficient to dispatch all requests. - // - CORBA_release (obj); - CORBA_string_free (str); - env.clear (); - - // - // Handle requests for this object until we're killed, or one of - // the methods makes us exit. - // - // NOTE: apart from registering the top level skeleton, the rest - // of this loop is exactly what BOA::run() does. It's here to - // show there's no magic. - // -#if 0 - oa_ptr->register_dir (level1_skeleton, &obj_key, env); -#else - oa_ptr->register_dir (oa_ptr->dispatch, &obj_key, env); -#endif - if (env.exception () != 0) - { - print_exception (env.exception (), "register_dir"); - return 1; - } - - for (;;) { - if (idle == -1) - oa_ptr->get_request (CORBA_B_FALSE, 0, env); - else - { - timeval tv; - - tv.tv_sec = idle; - tv.tv_usec = 0; - oa_ptr->get_request (CORBA_B_FALSE, &tv, env); - } - - CORBA_Exception_ptr xp; - - if ((xp = env.exception ()) != 0) - { - CORBA_Environment env2; // XXX - char *id; - - id = env.exception ()->id (); - - // - // We get BAD_INV_ORDER if we call get_request() after - // shutdown was initiated. Simpler to rely on that - // than to arrange any handshaking in this simple app. - // - if (strcmp (id, _tc_CORBA_BAD_INV_ORDER->id (env2)) == 0) - { - break; - - // - // Other exceptions are errors. - // - } - else - { - print_exception (env.exception (), "BOA::get_request"); - return 1; - } - } - env.clear (); - } - - // - // Shut down the OA -- recycles all underlying resources (e.g. file - // descriptors, etc). - // - // XXX shutdown is not quite the same as release, unless we want mem - // leaks to cause some rude failure modes. BOA just hasn't been - // updated yet to have any handshake about this though. - // - oa_ptr->Release (); - return 0; -} - - -// -// Standard command line parsing utilities used. -// -int -main (int argc, char *argv[]) -{ - CORBA_Environment env; - CORBA_ORB_ptr orb_ptr; - CORBA_BOA_ptr oa_ptr; - CORBA_String key = (CORBA_String) "elvis"; - char *oa_name = 0; - char *orb_name = "internet"; - int idle = -1; - - // - // Parse the command line, get options - // - ACE_Get_Opt get_opt (argc, argv, "dln:O:x"); - int c; - - while ((c = get_opt ()) != -1) - switch (c) - { - case 'd': // more debug noise - TAO_debug_level++; - continue; - - case 'i': // idle seconds b4 exit - idle = ACE_OS::atoi (get_opt.optarg); - continue; - - case 'k': // key (str) - key = (CORBA_String) get_opt.optarg; - continue; - - case 'o': // orb name - orb_name = get_opt.optarg; - continue; - - case 'p': // portnum - oa_name = get_opt.optarg; - continue; - - // XXX set debug filters ... - - // - // XXX ignore OMG-specified options ... hope nobody ever tries - // to use that "-ORB* param" and "-OA* param" syntax, it flies - // in the face of standard command parsing algorithms which - // require single-character option specifiers. - // - - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-i idle_seconds]" - " [-k object_key=elvis]" - " [-o orbname=internet]" - " [-p oa_name]" - "\n", argv [0] - ); - return 1; - } - - orb_ptr = CORBA_ORB_init (argc, argv, orb_name, env); - if (env.exception () != 0) { - print_exception (env.exception (), "ORB init"); - return 1; - } - - // - // The BOA may or may not actually be named ... - // - oa_ptr = CORBA_BOA::get_named_boa (orb_ptr, oa_name, env); - if (env.exception () != 0) { - print_exception (env.exception (), "OA init"); - return 1; - } - - return OA_listen (orb_ptr, oa_ptr, key, idle); -} - diff --git a/TAO/IIOP/test/tnf/Orbix.svr.summary b/TAO/IIOP/test/tnf/Orbix.svr.summary deleted file mode 100644 index 1c01995f7d5..00000000000 --- a/TAO/IIOP/test/tnf/Orbix.svr.summary +++ /dev/null @@ -1,32 +0,0 @@ - Profile for 10000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.04 8.505 3386 0.003 0.349 0.002 0.000 -mutex_unlock 0.04 8.205 3386 0.002 0.127 0.002 0.000 - - - Profile for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.01 8.875 3386 0.003 0.373 0.002 0.000 -mutex_unlock 0.01 8.353 3386 0.002 0.093 0.002 0.000 - - Profile for 30000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.02 8.979 3386 0.003 0.386 0.002 0.000 -mutex_unlock 0.02 8.465 3386 0.002 0.030 0.002 0.000 - - Profile for 40000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.01 8.849 3388 0.003 0.355 0.002 0.000 -mutex_unlock 0.01 7.937 3388 0.002 0.029 0.002 0.000 diff --git a/TAO/IIOP/test/tnf/clnt.summary b/TAO/IIOP/test/tnf/clnt.summary deleted file mode 100644 index bed4a22d35e..00000000000 --- a/TAO/IIOP/test/tnf/clnt.summary +++ /dev/null @@ -1,43 +0,0 @@ - Profile for 10000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -rw_rdlock 0.28 53.642 10006 0.005 0.192 0.004 0.000 -rw_unlock 0.28 52.672 10009 0.005 0.037 0.005 0.000 -mutex_lock 0.06 11.366 2765 0.004 0.161 0.002 0.000 -mutex_unlock 0.04 6.996 2771 0.003 0.028 0.002 0.000 -rw_wrlock 0.00 0.047 3 0.016 0.034 0.006 0.007 - - Profile for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -rw_rdlock 0.40 146.579 20006 0.007 1.200 0.005 0.000 -rw_unlock 0.25 91.386 20009 0.005 0.058 0.004 0.000 -mutex_lock 0.06 21.087 5265 0.004 0.178 0.002 0.000 -mutex_unlock 0.04 14.372 5271 0.003 0.075 0.002 0.000 -rw_wrlock 0.00 0.045 3 0.015 0.034 0.005 0.008 - - Profile for 30000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -rw_rdlock 0.41 241.807 30006 0.008 1.181 0.005 0.000 -rw_unlock 0.24 141.506 30009 0.005 0.503 0.004 0.000 -mutex_lock 0.07 38.545 7765 0.005 0.171 0.002 0.000 -mutex_unlock 0.03 19.591 7771 0.003 0.078 0.002 0.000 -rw_wrlock 0.00 0.045 3 0.015 0.033 0.005 0.007 - - Profile for 40000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -rw_rdlock 0.39 307.763 40006 0.008 2.031 0.005 0.000 -rw_unlock 0.23 184.537 40009 0.005 0.138 0.004 0.000 -mutex_lock 0.05 38.808 10265 0.004 0.173 0.002 0.000 -mutex_unlock 0.03 25.931 10271 0.003 0.078 0.002 0.000 -rw_wrlock 0.00 0.043 3 0.014 0.033 0.004 0.008 diff --git a/TAO/IIOP/test/tnf/svr.summary b/TAO/IIOP/test/tnf/svr.summary deleted file mode 100644 index 6e1c024aacd..00000000000 --- a/TAO/IIOP/test/tnf/svr.summary +++ /dev/null @@ -1,49 +0,0 @@ - Profile for 10000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_unlock 1.18 191.077 54588 0.004 1.158 0.003 0.000 -mutex_lock 1.18 190.652 54587 0.003 0.198 0.003 0.000 -rw_rdlock 0.29 46.844 6823 0.007 0.173 0.004 0.000 -rw_unlock 0.18 28.419 6823 0.004 0.064 0.004 0.000 - - Profile for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 1.12 154.491 54507 0.003 0.140 0.002 0.000 -mutex_unlock 1.06 145.638 54508 0.003 0.310 0.002 0.000 -rw_rdlock 0.27 37.265 6813 0.005 0.037 0.004 0.000 -rw_unlock 0.20 27.792 6813 0.004 0.045 0.004 0.000 - - Profile for 30000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 1.19 150.344 54654 0.003 0.621 0.002 0.000 -mutex_unlock 1.15 144.776 54655 0.003 0.071 0.002 0.000 -rw_rdlock 0.27 33.772 6832 0.005 0.078 0.004 0.000 -rw_unlock 0.19 23.613 6832 0.003 0.105 0.003 0.000 - - Profile for 40000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_unlock 1.48 209.259 54770 0.004 18.223 0.002 0.000 -mutex_lock 1.46 206.619 54769 0.004 10.473 0.002 0.000 -rw_rdlock 0.78 110.047 6846 0.016 38.115 0.003 0.006 -rw_unlock 0.17 23.844 6846 0.003 0.112 0.003 0.000 - - Profile for 50000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_unlock 1.19 150.149 54477 0.003 0.152 0.002 0.000 -mutex_lock 1.18 149.113 54477 0.003 1.376 0.002 0.000 -rw_rdlock 0.34 43.048 6809 0.006 10.113 0.003 0.001 -rw_unlock 0.19 23.796 6810 0.003 0.326 0.003 0.000 diff --git a/TAO/IIOP/tests/Cubit/Build/clnt.bld b/TAO/IIOP/tests/Cubit/Build/clnt.bld deleted file mode 100755 index 76e60ef8967..00000000000 --- a/TAO/IIOP/tests/Cubit/Build/clnt.bld +++ /dev/null @@ -1,8 +0,0 @@ -#!build -default: - program - :debuglevel=multi -../cubit.cpp - C++ -../clnt.cpp - C++ diff --git a/TAO/IIOP/tests/Cubit/Build/default.bld b/TAO/IIOP/tests/Cubit/Build/default.bld deleted file mode 100755 index cdf3e2e8210..00000000000 --- a/TAO/IIOP/tests/Cubit/Build/default.bld +++ /dev/null @@ -1,19 +0,0 @@ -#!build -default: - nobuild - :debuglevel=multi - :target=vxwppc - :sourcedirs=/home/ace/ACE_wrappers.vxworks - :sourcedirs=../../proto/include - :sourcedirs=../.. - :libraries=../../proto/lib/tao.a - :libraries=/home/ace/ACE_wrappers.vxworks/ace/libACE.a - :libraries=/appl/newgreen/vxppc603/indlib.o - :defines=DEBUG -clnt.bld - program - :debuglevel=multi -svr.bld - program - :debuglevel=multi - :defines=USE_ACE_EVENT_HANDLING diff --git a/TAO/IIOP/tests/Cubit/Build/svr.bld b/TAO/IIOP/tests/Cubit/Build/svr.bld deleted file mode 100755 index 7c8725356b2..00000000000 --- a/TAO/IIOP/tests/Cubit/Build/svr.bld +++ /dev/null @@ -1,8 +0,0 @@ -#!build -default: - program - :debuglevel=multi -../svr.cpp - C++ -../cubit.cpp - C++ diff --git a/TAO/IIOP/tests/Cubit/Orbix/Makefile b/TAO/IIOP/tests/Cubit/Orbix/Makefile deleted file mode 100644 index 96935fb78fc..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the Gateway application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = README - -DIRS = base_server \ - client \ - tpr \ - tpool \ - tps - -#---------------------------------------------------------------------------- -# 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/IIOP/tests/Cubit/Orbix/base_server/Makefile b/TAO/IIOP/tests/Cubit/Orbix/base_server/Makefile deleted file mode 100644 index 3bf0684dfd5..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.h b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.idl b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.cpp b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.h b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.h deleted file mode 100644 index 15247168d3c..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitC.h +++ /dev/null @@ -1,343 +0,0 @@ -#ifndef _cubitC_h -#define _cubitC_h - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -#include "corba.h" - - - -class Cubit; -typedef Cubit *Cubit_ptr; -typedef Cubit_ptr CubitRef; - -#ifndef _Cubit_var_ -#define _Cubit_var_ -class Cubit_var -{ - public: - Cubit_var(); - Cubit_var(Cubit_ptr); - Cubit_var(const Cubit_var&); - ~Cubit_var(); - Cubit_var& operator=(Cubit_ptr); - operator Cubit_ptr() const { return _ptr; } -#if defined(_HPCC_BUG) - operator Cubit *&() { return _ptr; } -#else - operator Cubit_ptr&() { return _ptr; } -#endif - Cubit_ptr operator->() const { return _ptr;} - friend NCistream& operator>>(NCistream&, Cubit_var&); - friend NCostream& operator<<(NCostream&, const Cubit_var&); - friend istream& operator>>(istream&, Cubit_var&); - friend ostream& operator<<(ostream&, const Cubit_var&); - private: - Cubit_ptr _ptr; - void operator=(const Cubit_var&) {} -}; -#endif -class Cubit: public virtual CORBA_Object -{ - private: - static const CORBA::TypeInfo _class_info; - Cubit(const Cubit&) {} - void operator=(const Cubit&){} - public: - static const CORBA::TypeInfo *_desc(); - virtual const CORBA::TypeInfo *_type_info() const; - virtual void *_safe_narrow(const CORBA::TypeInfo& ) const; - static CORBA::Object *_factory(); - protected: - Cubit(const char *obj_name = NULL) :CORBA_Object(obj_name, 1) {} - Cubit(NCistream& strm) :CORBA_Object(strm) {} - virtual ~Cubit() {} - public: - static Cubit_ptr _duplicate(Cubit_ptr obj) { - if (obj ) obj->_ref(); - return obj; - } - static Cubit_ptr _nil() { return (Cubit_ptr)NULL;} - static Cubit_ptr _narrow(CORBA::Object *obj); - static Cubit_ptr _clone(Cubit_ptr obj) { - CORBA::Object_var obj_var(__clone(obj)); - -#if defined(_HPCC_BUG) - return _narrow(obj_var.operator CORBA::Object_ptr()); -#else - return _narrow(obj_var); -#endif - } - static Cubit_ptr _bind(const char *object_name = NULL, - const char *host_name = NULL, - const CORBA::BindOptions* opt = NULL); - - virtual CORBA::Octet cube_octet(CORBA::Octet o); - - virtual CORBA::Short cube_short(CORBA::Short s); - - virtual CORBA::Long cube_long(CORBA::Long l); - - struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - }; - friend NCostream& operator<<(NCostream&, const Many& ); - friend NCistream& operator>>(NCistream&, Many& ); - - friend ostream& operator<<(ostream&, const Many& ); - inline friend istream& operator>>(istream& _strm, Many& _obj) { - NCistream _istrm(_strm); - _istrm >> _obj; - return _strm; - } - - - typedef Many *Many_ptr; - class Many_var - { - public: - Many_var() { _ptr = (Many*)NULL;} - Many_var(Many *ptr) { - _ptr = ptr; - } - Many_var(const Many_var& var) { - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - } - ~Many_var() { - if (_ptr != (Many *)NULL) delete _ptr; - } - Many_var& operator=(Many *ptr) { - if (_ptr != (Many *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - Many_var& operator=(const Many_var& var) { - if (_ptr != (Many *)NULL) delete _ptr; - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - return *this; - } - Many *operator->() { return _ptr; } - operator Many () const { return *_ptr; } - operator Many& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const Many_var& var) { - if (var._ptr == (Many *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - Many_var& var) { - if ( ! var._ptr) - var._ptr = new Many; - strm >> *var._ptr; - return strm; - } - private: - Many *_ptr; - }; - - - virtual Cubit::Many cube_struct(const Cubit::Many& values); - - enum discrim { - e_0th, - e_1st, - e_2nd, - e_3rd, - e_4th, - e_5th - }; - inline friend NCostream& operator<<(NCostream& _strm, discrim _enum_type) { - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend NCistream& operator>>(NCistream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - if (_temp >= 6) - throw CORBA::BAD_PARAM(); - _enum_type = discrim(_temp); - return _strm; - } - inline friend ostream& operator<<(ostream& _strm, discrim _enum_type) { - if( &_strm == &cout || &_strm == &cerr || &_strm == &clog) { - _strm << "discrim:"; - switch(_enum_type) { - case e_0th: - _strm << "e_0th" << endl; - break; - case e_1st: - _strm << "e_1st" << endl; - break; - case e_2nd: - _strm << "e_2nd" << endl; - break; - case e_3rd: - _strm << "e_3rd" << endl; - break; - case e_4th: - _strm << "e_4th" << endl; - break; - case e_5th: - _strm << "e_5th" << endl; - break; - } - } - else - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend istream& operator>>(istream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - _enum_type = discrim(_temp); - return _strm; - } - - - class oneof - { - public: - private: - discrim _disc; - CORBA::Octet __o; - CORBA::Short __s; - CORBA::Long __l; - Cubit::Many __cm; - public: - oneof() : _disc(discrim(0)) {} - ~oneof() {} - oneof(const oneof& obj); - oneof& operator=(const oneof& obj); - - void _d(discrim val) { _disc = val; } - discrim _d() const { return _disc; } - - void o(CORBA::Octet val) { - __o = val; - _disc = Cubit::e_0th; - } - CORBA::Octet o() const { return __o; } - - void s(CORBA::Short val) { - __s = val; - _disc = Cubit::e_1st; - } - CORBA::Short s() const { return __s; } - - void l(CORBA::Long val) { - __l = val; - _disc = Cubit::e_2nd; - } - CORBA::Long l() const { return __l; } - - void cm(const Cubit::Many& val) { - __cm = val; - _disc = Cubit::e_3rd; - } - const Cubit::Many& cm() const { return __cm; } - Cubit::Many& cm() { return __cm; } - - friend NCostream& operator<<(NCostream&, const oneof& ); - friend NCistream& operator>>(NCistream&, oneof& ); - friend ostream& operator<<(ostream&, const oneof&); - inline friend istream& operator>>(istream& strm, oneof& obj) { - NCistream istrm(strm); - strm >> obj; - return strm; - } - }; - - typedef oneof *oneof_ptr; - class oneof_var - { - public: - oneof_var() { _ptr = (oneof*)NULL;} - oneof_var(oneof *ptr) { - _ptr = ptr; - } - oneof_var(const oneof_var& var) { - _ptr = new oneof(*var._ptr); - } - ~oneof_var() { - if (_ptr != (oneof *)NULL) delete _ptr; - } - oneof_var& operator=(oneof *ptr) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - oneof_var& operator=(const oneof_var& var) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = new oneof(*var._ptr); - return *this; - } - oneof *operator->() { return _ptr; } - operator oneof () const { return *_ptr; } - operator oneof& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const oneof_var& var) { - if (var._ptr == (oneof *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - oneof_var& var) { - if ( ! var._ptr) - var._ptr = new oneof; - strm >> *var._ptr; - return strm; - } - private: - oneof *_ptr; - }; - - - virtual Cubit::oneof cube_union(const Cubit::oneof& values); - - virtual void please_exit(); - - inline friend NCistream& operator>>(NCistream& strm, Cubit_ptr& obj) { - CORBA::Object_var _obj(obj); - _obj = CORBA::Object::_read(strm, Cubit::_desc()); - obj = Cubit::_narrow(_obj); - return strm; - } - inline friend ostream& operator<<(ostream& strm, const Cubit_ptr obj) { - strm << (CORBA::Object_ptr)obj; - return strm; - } - inline friend istream& operator>>(istream& strm, Cubit_ptr& obj) { - NCistream istrm(strm); - istrm >> obj; - return strm; - } -}; - - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.cpp b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.cpp deleted file mode 100644 index 449a8c23548..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.cpp +++ /dev/null @@ -1,226 +0,0 @@ -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.h b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.h deleted file mode 100644 index 757af4664ad..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubitS.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef _cubitS_h -#define _cubitS_h - -#include "cubitC.h" - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -class _sk_Cubit : public Cubit -{ - protected: - _sk_Cubit(const char *object_name = (const char *)NULL); - _sk_Cubit(const char *service_name, const CORBA::ReferenceData& data); - virtual ~_sk_Cubit() {} - public: - static const CORBA::TypeInfo _skel_info; - - // The following operations need to be implemented by the server. - virtual CORBA::Octet cube_octet(CORBA::Octet o) = 0; - virtual CORBA::Short cube_short(CORBA::Short s) = 0; - virtual CORBA::Long cube_long(CORBA::Long l) = 0; - virtual Cubit::Many cube_struct(const Cubit::Many& values) = 0; - virtual Cubit::oneof cube_union(const Cubit::oneof& values) = 0; - virtual void please_exit() = 0; - - // Skeleton Operations implemented automatically - - static void _cube_octet(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_short(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_long(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_struct(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_union(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _please_exit(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - -}; -template -class _tie_Cubit : public Cubit -{ - public: - _tie_Cubit(T& t, const char *obj_name=(char*)NULL) : - Cubit(obj_name), - _ref(t) { - _object_name(obj_name); - } - _tie_Cubit(T& t, const char *service_name, - const CORBA::ReferenceData& id) - :_ref(t) { - _service(service_name, id); - } - ~_tie_Cubit() {} - CORBA::Octet cube_octet(CORBA::Octet o) { - return _ref.cube_octet( - o); - } - CORBA::Short cube_short(CORBA::Short s) { - return _ref.cube_short( - s); - } - CORBA::Long cube_long(CORBA::Long l) { - return _ref.cube_long( - l); - } - Cubit::Many cube_struct(const Cubit::Many& values) { - return _ref.cube_struct( - values); - } - Cubit::oneof cube_union(const Cubit::oneof& values) { - return _ref.cube_union( - values); - } - void please_exit() { - _ref.please_exit(); - } - - private: - T& _ref; -}; - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.cpp b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.cpp deleted file mode 100644 index e35f1084118..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException) { -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.h b/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.h deleted file mode 100644 index 1e710bb15d1..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/cubit_impl.h +++ /dev/null @@ -1,27 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/server.cpp b/TAO/IIOP/tests/Cubit/Orbix/base_server/server.cpp deleted file mode 100644 index 96117fe3e0d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/server.cpp +++ /dev/null @@ -1,40 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file - -int -main (int , char**) -{ - -#ifdef Cubit_USE_BOA - Cubit_var cb = new Cubit_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.cpp b/TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.cpp deleted file mode 100644 index 415410aea9f..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "tpr.h" - -void * -worker(void *vp) -{ - ACE_Thread_Control tc (ACE_Thread_Manager::instance ()); - CORBA::Orbix.continueThreadDispatch (*(CORBA::Request *)vp); - return NULL; -} - - -int -tpr_filter::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment&) -{ -// thread_t tid; -// thr_create(NULL, 0, worker, (void *)&r, THR_DETACHED, &tid); - - ACE_Thread_Manager *thr_mgr = ACE_Thread_Manager::instance (); - thr_mgr->spawn (ACE_THR_FUNC (worker), - (void *) &r, - THR_DETACHED); - - return -1; -} - -tpr_filter tpr_dispatcher; diff --git a/TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.h b/TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.h deleted file mode 100644 index 38c2ccc7069..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/base_server/tpr.h +++ /dev/null @@ -1,10 +0,0 @@ -#include "cubit.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" - -// -// Create a thread filter to dispatch incoming calls -// -class tpr_filter : public CORBA::ThreadFilter { - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); -}; diff --git a/TAO/IIOP/tests/Cubit/Orbix/client/Makefile b/TAO/IIOP/tests/Cubit/Orbix/client/Makefile deleted file mode 100644 index 73f775bee2f..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/client/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitC.cpp client.cpp - -CLT_OBJS = cubitC.o client.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: client - -client: $(addprefix $(VDIR),$(CLT_OBJS)) - $(LINK.cc) -o client $(addprefix $(VDIR),$(CLT_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITCLT) $(VLDLIBS) $(POSTLINK) - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubitC.o .shobj/cubitC.so: cubitC.cpp cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/client.o .shobj/client.so: client.cpp $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i cubit.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/tests/Cubit/Orbix/client/client.cpp b/TAO/IIOP/tests/Cubit/Orbix/client/client.cpp deleted file mode 100644 index fcf45bdf706..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/client/client.cpp +++ /dev/null @@ -1,232 +0,0 @@ -//************************************************************************** -// -// NAME : client.C -// DESCRIPTION: -// -// Client for the Cubit example -// -//**************************************************************************** - -#include "ace/OS.h" -#include "ace/Get_Opt.h" -#include "cubit.h" - -int LOOP_COUNT; -char SERVER_HOST [1024]; - -inline int func (unsigned i) { return i - 117; } -void run_tests (Cubit_var, int); - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_OS::strcpy (SERVER_HOST, "localhost"); - ACE_Get_Opt opts (argc, argv, "dh:n:O:x"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - case 'h': - ACE_OS::strcpy (SERVER_HOST, opts.optarg); - continue; - case 'd': // debug flag - continue; - - case 'n': // loop count - LOOP_COUNT = (unsigned) ACE_OS::atoi (opts.optarg); - continue; - - case 'O': // stringified objref - continue; - - case 'x': - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-n loopcount]" - " [-h SERVER_HOST]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - - -// -// Mainline -// -int -main (int argc, char *argv[]) -{ - if (parse_args (argc, argv) != 0) - return -1; - - Cubit_var cb; - // cout << "attempting to contact server at host " << SERVER_HOST << '\n' ; - - // - // Initialise client's binding to an - // arbitrary cubit server (at some host) - // - TRY { - cb = Cubit::_bind ("", SERVER_HOST, IT_X); - } - CATCHANY { - cerr << "Binding failed: " << IT_X; - } - ENDTRY; - - run_tests (cb, LOOP_COUNT); - return 0; -} - - -void -run_tests (Cubit_var cb, int loop_count) -{ - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - ACE_Time_Value before, after; - - before = ACE_OS::gettimeofday(); - - // - // Cube an octet. - // - - for (i = 0; i < loop_count; i++) - { - - call_count++; - - CORBA::Octet arg_octet = func (i), ret_octet; - - TRY { - ret_octet = cb->cube_octet (arg_octet); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - ACE_OS::printf ("** cube_octet(%d) (--> %d)\n", arg_octet , ret_octet); - error_count++; - } - - - // - // Cube a short. - // - call_count++; - - CORBA::Short arg_short = func (i), ret_short; - - TRY { - ret_short = cb->cube_short (arg_short); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) { - ACE_OS::printf ("** cube_short(%d) (--> %d)\n", arg_short , ret_short); - error_count++; - } - - // - // Cube a long. - // - - call_count++; - - CORBA::Long arg_long = func (i), ret_long; - - TRY { - ret_long = cb->cube_long (arg_long); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - } - ENDTRY; - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - ACE_OS::printf ("** cube_long(%d) (--> %d)\n", arg_long , ret_long); - error_count++; - } - - - // - // Cube a "struct" ... - // - Cubit::Many arg_struct, ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - TRY { - ret_struct = cb->cube_struct (arg_struct); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l ; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s ; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o ; - - if (arg_struct.l != ret_struct.l - || arg_struct.s != ret_struct.s - || arg_struct.o != ret_struct.o ) - { - cerr << "** cube_struct ERROR\n"; - error_count++; - } - } - - - after = ACE_OS::gettimeofday(); - - if (call_count > 0) - { - if (error_count == 0) - { - ACE_Time_Value diff = after - before; - unsigned long us = diff.sec() * 1000 * 1000 + diff.usec(); - - us /= call_count; - - if (us > 0) - ACE_OS::printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - ACE_OS::printf ("%d calls, %d errors\n", call_count, error_count); - } -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/client/cubit.h b/TAO/IIOP/tests/Cubit/Orbix/client/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/client/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/client/cubit.idl b/TAO/IIOP/tests/Cubit/Orbix/client/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/client/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/Orbix/client/cubitC.cpp b/TAO/IIOP/tests/Cubit/Orbix/client/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/client/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/Makefile b/TAO/IIOP/tests/Cubit/Orbix/factory_client/Makefile deleted file mode 100644 index 63cc8a65e02..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitC.cpp client.cpp - -CLT_OBJS = cubitC.o client.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: client - -client: $(addprefix $(VDIR),$(CLT_OBJS)) - $(LINK.cc) -o client $(addprefix $(VDIR),$(CLT_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITCLT) $(VLDLIBS) $(POSTLINK) - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubitC.o .shobj/cubitC.so: cubitC.cpp cubit.h -.obj/client.o .shobj/client.so: client.cpp $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i cubit.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/client.cpp b/TAO/IIOP/tests/Cubit/Orbix/factory_client/client.cpp deleted file mode 100644 index c61cfbc85a5..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/client.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//************************************************************************** -// -// NAME : client.C -// DESCRIPTION: -// -// Client for the Cubit example -// -//**************************************************************************** - -#include "ace/OS.h" -#include "ace/Get_Opt.h" -#include "cubit.h" - -int LOOP_COUNT; -char SERVER_HOST [1024]; - -inline int func (unsigned i) { return i - 117; } -void run_tests (Cubit_var, int); - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_OS::strcpy (SERVER_HOST, "localhost"); - ACE_Get_Opt opts (argc, argv, "dh:n:O:x"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - case 'h': - ACE_OS::strcpy (SERVER_HOST, opts.optarg); - continue; - case 'd': // debug flag - continue; - - case 'n': // loop count - LOOP_COUNT = (unsigned) ACE_OS::atoi (opts.optarg); - continue; - - case 'O': // stringified objref - continue; - - case 'x': - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-n loopcount]" - " [-h SERVER_HOST]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - - -// -// Mainline -// -int -main (int argc, char *argv[]) -{ - if (parse_args (argc, argv) != 0) - return -1; - - Cubit_var cb; - Cubit_Factory_var cf; - - // cout << "attempting to contact server at host " << SERVER_HOST << '\n' ; - - // - // Initialise client's binding to an - // arbitrary cubit server (at some host) - // - TRY { - cf = Cubit_Factory::_bind ("", SERVER_HOST, IT_X); - } - CATCHANY { - cerr << "Binding failed: " << IT_X; - } - ENDTRY; - cb = cf->create_cubit ("My_Cubit"); - - run_tests (cb, LOOP_COUNT); - return 0; -} - - -void -run_tests (Cubit_var cb, int loop_count) -{ - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - ACE_Time_Value before, after; - - before = ACE_OS::gettimeofday(); - - // - // Cube an octet. - // - - for (i = 0; i < loop_count; i++) - { - - call_count++; - - CORBA::Octet arg_octet = func (i), ret_octet; - - TRY { - ret_octet = cb->cube_octet (arg_octet); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - ACE_OS::printf ("** cube_octet(%d) (--> %d)\n", arg_octet , ret_octet); - error_count++; - } - - - // - // Cube a short. - // - call_count++; - - CORBA::Short arg_short = func (i), ret_short; - - TRY { - ret_short = cb->cube_short (arg_short); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) { - ACE_OS::printf ("** cube_short(%d) (--> %d)\n", arg_short , ret_short); - error_count++; - } - - // - // Cube a long. - // - - call_count++; - - CORBA::Long arg_long = func (i), ret_long; - - TRY { - ret_long = cb->cube_long (arg_long); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - } - ENDTRY; - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - ACE_OS::printf ("** cube_long(%d) (--> %d)\n", arg_long , ret_long); - error_count++; - } - - - // - // Cube a "struct" ... - // - Cubit::Many arg_struct, ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - TRY { - ret_struct = cb->cube_struct (arg_struct); - } - CATCHANY { - cerr << "Call failed: " << IT_X; - error_count++; - } - ENDTRY; - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l ; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s ; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o ; - - if (arg_struct.l != ret_struct.l - || arg_struct.s != ret_struct.s - || arg_struct.o != ret_struct.o ) - { - cerr << "** cube_struct ERROR\n"; - error_count++; - } - } - - - after = ACE_OS::gettimeofday(); - - if (call_count > 0) - { - if (error_count == 0) - { - ACE_Time_Value diff = after - before; - unsigned long us = diff.sec() * 1000 * 1000 + diff.usec(); - - us /= call_count; - - if (us > 0) - ACE_OS::printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - ACE_OS::printf ("%d calls, %d errors\n", call_count, error_count); - } -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.h b/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.h deleted file mode 100644 index 72e2fb81395..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.h +++ /dev/null @@ -1,1111 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include - -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _Cubit_Factory_defined -#define _Cubit_Factory_defined -class Cubit_Factory_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_Factory_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) {} - - - Cubit_Factory_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_dispatch () {} - - Cubit_Factory_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_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 Cubit_Factory; - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - - -#ifndef Cubit_FactoryForwH -#define Cubit_FactoryForwH -CORBA::ObjectRef Cubit_Factory_getBase (void *); -void Cubit_Factory_release (Cubit_Factory *, CORBA::Environment &IT_env); -void Cubit_Factory_release (Cubit_Factory_ptr); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr, CORBA::Environment &IT_env); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr ); -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &IT_env); -Cubit_Factory_ptr Cubit_Factory_nil (); -#endif -#define Cubit_Factory_IMPL "Cubit_Factory" - - -class Cubit_Factory; - -typedef Cubit_Factory Cubit_FactoryProxy; -#define Cubit_Factory_IR "Cubit_Factory" -#define Cubit_Factory_IMPL "Cubit_Factory" - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - -class Cubit_Factory: public virtual CORBA::Object { -public: - Cubit_Factory (char *IT_OR); - Cubit_Factory (ObjectReference *IT_OR); - Cubit_Factory () : CORBA::Object (1) {} -protected: - Cubit_Factory_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_Factory_ptr _duplicate( - Cubit_Factory_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit_Factory* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _bind (CORBA::Environment &IT_env); - static Cubit_Factory* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_Factory_ptr) CORBA::OBJECT_NIL;} - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef Cubit_FactoryVarH -#define Cubit_FactoryVarH - -#ifndef Cubit_FactoryvPtr -#define Cubit_FactoryvPtr -typedef Cubit_Factory* Cubit_Factory_vPtr; -typedef const Cubit_Factory* Cubit_Factory_cvPtr; -#endif - -class Cubit_Factory_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_Factory_var &IT_s) { - { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_Factory_var (const Cubit_Factory_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_Factory_var () { - _ptr = Cubit_Factory_nil (); - } - - Cubit_Factory_var (Cubit_Factory *IT_p) { - _ptr = IT_p; - } - - Cubit_Factory_var &operator= (Cubit_Factory *IT_p) { - Cubit_Factory_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_Factory_var &operator= (const Cubit_Factory_var &IT_s) { - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_Factory_var () { - Cubit_Factory_release (_ptr); - } - - Cubit_Factory* operator-> () { - return _ptr; - } - - operator Cubit_Factory_cvPtr () const { return _ptr;} - operator Cubit_Factory_vPtr& () { return _ptr;} - - protected: - Cubit_Factory *_ptr; - private: - Cubit_Factory_var &operator= (const CORBA::_var &IT_s); - Cubit_Factory_var (const CORBA::_var &IT_s); - Cubit_Factory_var &operator= (const CORBA::_mgr &IT_s); - Cubit_Factory_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_Factory_var (const CORBA::_mgr &IT_s); - Cubit_Factory_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef Cubit_FactoryMgrH -#define Cubit_FactoryMgrH - -class Cubit_Factory_mgr : public CORBA::_mgr -{ - public: - - Cubit_Factory_mgr () { - _ptr = Cubit_Factory_nil (); - _release = 1; - } - - Cubit_Factory_mgr (const Cubit_Factory_mgr &IT_s) { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_Factory_mgr &operator= (Cubit_Factory *IT_p) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (const Cubit_Factory_mgr &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (Cubit_Factory_var &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_Factory_mgr () { - if (_release) - Cubit_Factory_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 Cubit_Factory* () const { - return (Cubit_Factory*) _ptr; - } - - Cubit_Factory_ptr operator-> () const { - return _ptr; - } - - Cubit_Factory *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_Factory_mgr Cubit_Factory_mgr_IT_const; -#endif - -#ifndef Cubit_FactorySeqElemH -#define Cubit_FactorySeqElemH - -class Cubit_Factory_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_Factory_SeqElem (Cubit_Factory_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_Factory_SeqElem &operator= (Cubit_Factory_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_Factory_SeqElem &operator= (const Cubit_Factory_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = Cubit_Factory_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_Factory_ptr () const { - return _ptr ? (Cubit_Factory_ptr) (*_ptr) : Cubit_Factory_nil(); - } - - Cubit_Factory_ptr operator->() const { return *_ptr;} - - protected: - Cubit_Factory_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit_Factory(X) Cubit_Factory##X - -#define DEF_TIE_Cubit_Factory(X) \ - class Cubit_Factory##X : public virtual Cubit_Factory { \ - X* m_obj; \ - public: \ - \ - \ - Cubit_Factory##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit_Factory(), m_obj(objp) { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,m,l,Cubit_Factory_IR,m_obj); \ - } \ - Cubit_Factory##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit_Factory() { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,IT_m,Cubit_Factory_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit_Factory##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit_Factory \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - - - - -class Cubit_FactoryProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - Cubit_FactoryProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_Factory_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 Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory; - -class Cubit_FactoryBOAImpl : public virtual Cubit_Factory { -public: - Cubit_FactoryBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_Factory_IR)) - m_pptr = new Cubit_Factory_dispatch ( (Cubit_Factory*)this, - (CORBA::Object*)this, m, l, Cubit_Factory_IR, this); -} - - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.hh b/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.hh deleted file mode 100644 index 72e2fb81395..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.hh +++ /dev/null @@ -1,1111 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include - -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _Cubit_Factory_defined -#define _Cubit_Factory_defined -class Cubit_Factory_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_Factory_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) {} - - - Cubit_Factory_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_dispatch () {} - - Cubit_Factory_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_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 Cubit_Factory; - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - - -#ifndef Cubit_FactoryForwH -#define Cubit_FactoryForwH -CORBA::ObjectRef Cubit_Factory_getBase (void *); -void Cubit_Factory_release (Cubit_Factory *, CORBA::Environment &IT_env); -void Cubit_Factory_release (Cubit_Factory_ptr); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr, CORBA::Environment &IT_env); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr ); -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &IT_env); -Cubit_Factory_ptr Cubit_Factory_nil (); -#endif -#define Cubit_Factory_IMPL "Cubit_Factory" - - -class Cubit_Factory; - -typedef Cubit_Factory Cubit_FactoryProxy; -#define Cubit_Factory_IR "Cubit_Factory" -#define Cubit_Factory_IMPL "Cubit_Factory" - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - -class Cubit_Factory: public virtual CORBA::Object { -public: - Cubit_Factory (char *IT_OR); - Cubit_Factory (ObjectReference *IT_OR); - Cubit_Factory () : CORBA::Object (1) {} -protected: - Cubit_Factory_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_Factory_ptr _duplicate( - Cubit_Factory_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit_Factory* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _bind (CORBA::Environment &IT_env); - static Cubit_Factory* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_Factory_ptr) CORBA::OBJECT_NIL;} - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef Cubit_FactoryVarH -#define Cubit_FactoryVarH - -#ifndef Cubit_FactoryvPtr -#define Cubit_FactoryvPtr -typedef Cubit_Factory* Cubit_Factory_vPtr; -typedef const Cubit_Factory* Cubit_Factory_cvPtr; -#endif - -class Cubit_Factory_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_Factory_var &IT_s) { - { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_Factory_var (const Cubit_Factory_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_Factory_var () { - _ptr = Cubit_Factory_nil (); - } - - Cubit_Factory_var (Cubit_Factory *IT_p) { - _ptr = IT_p; - } - - Cubit_Factory_var &operator= (Cubit_Factory *IT_p) { - Cubit_Factory_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_Factory_var &operator= (const Cubit_Factory_var &IT_s) { - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_Factory_var () { - Cubit_Factory_release (_ptr); - } - - Cubit_Factory* operator-> () { - return _ptr; - } - - operator Cubit_Factory_cvPtr () const { return _ptr;} - operator Cubit_Factory_vPtr& () { return _ptr;} - - protected: - Cubit_Factory *_ptr; - private: - Cubit_Factory_var &operator= (const CORBA::_var &IT_s); - Cubit_Factory_var (const CORBA::_var &IT_s); - Cubit_Factory_var &operator= (const CORBA::_mgr &IT_s); - Cubit_Factory_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_Factory_var (const CORBA::_mgr &IT_s); - Cubit_Factory_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef Cubit_FactoryMgrH -#define Cubit_FactoryMgrH - -class Cubit_Factory_mgr : public CORBA::_mgr -{ - public: - - Cubit_Factory_mgr () { - _ptr = Cubit_Factory_nil (); - _release = 1; - } - - Cubit_Factory_mgr (const Cubit_Factory_mgr &IT_s) { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_Factory_mgr &operator= (Cubit_Factory *IT_p) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (const Cubit_Factory_mgr &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (Cubit_Factory_var &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_Factory_mgr () { - if (_release) - Cubit_Factory_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 Cubit_Factory* () const { - return (Cubit_Factory*) _ptr; - } - - Cubit_Factory_ptr operator-> () const { - return _ptr; - } - - Cubit_Factory *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_Factory_mgr Cubit_Factory_mgr_IT_const; -#endif - -#ifndef Cubit_FactorySeqElemH -#define Cubit_FactorySeqElemH - -class Cubit_Factory_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_Factory_SeqElem (Cubit_Factory_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_Factory_SeqElem &operator= (Cubit_Factory_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_Factory_SeqElem &operator= (const Cubit_Factory_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = Cubit_Factory_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_Factory_ptr () const { - return _ptr ? (Cubit_Factory_ptr) (*_ptr) : Cubit_Factory_nil(); - } - - Cubit_Factory_ptr operator->() const { return *_ptr;} - - protected: - Cubit_Factory_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit_Factory(X) Cubit_Factory##X - -#define DEF_TIE_Cubit_Factory(X) \ - class Cubit_Factory##X : public virtual Cubit_Factory { \ - X* m_obj; \ - public: \ - \ - \ - Cubit_Factory##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit_Factory(), m_obj(objp) { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,m,l,Cubit_Factory_IR,m_obj); \ - } \ - Cubit_Factory##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit_Factory() { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,IT_m,Cubit_Factory_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit_Factory##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit_Factory \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - - - - -class Cubit_FactoryProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - Cubit_FactoryProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_Factory_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 Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory; - -class Cubit_FactoryBOAImpl : public virtual Cubit_Factory { -public: - Cubit_FactoryBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_Factory_IR)) - m_pptr = new Cubit_Factory_dispatch ( (Cubit_Factory*)this, - (CORBA::Object*)this, m, l, Cubit_Factory_IR, this); -} - - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.idl b/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.idl deleted file mode 100644 index 7dba408d0db..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubit.idl +++ /dev/null @@ -1,46 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - - interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); - }; - - - interface Cubit_Factory { - Cubit create_cubit (in string name); - }; - diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitC.cpp b/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitC.cpp deleted file mode 100644 index c439fc4c800..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitC.cpp +++ /dev/null @@ -1,710 +0,0 @@ - - -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - -Cubit_Factory::Cubit_Factory (char *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit_Factory::Cubit_Factory (ObjectReference *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef Cubit_FactoryForwC -#define Cubit_FactoryForwC -CORBA::ObjectRef Cubit_Factory_getBase(void *IT_p){ - return (Cubit_Factory*) IT_p;} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p) { - Cubit_Factory_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &) { - return Cubit_Factory:: _nil ();} - -Cubit_Factory_ptr Cubit_Factory_nil () { - return Cubit_Factory_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit_Factory::_duplicate(IT_p, IT_env)); } -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p) { - return Cubit_Factory_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_Factory_ptr Cubit_Factory::_duplicate(Cubit_Factory_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_Factory_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit_Factory*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_Factory_IMPL, Cubit_Factory_IR); -} - - - -Cubit_Factory* Cubit_Factory:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit_Factory* Cubit_Factory::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit_Factory:: _nil(); - } - - Cubit_Factory* IT_p = (Cubit_Factory*)CORBA::Object::_castDown (IT_obj, Cubit_Factory_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - -void* Cubit_FactoryProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New2 () { - return new class Cubit_Factory((char*)0);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::New2Object () { - return new class Cubit_Factory((char*)0);} - -void* Cubit_FactoryProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_Factory_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit_Factory*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* Cubit_FactoryProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit_Factory*)IT_p)->_pptr ();} - -void Cubit_FactoryProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_Factory_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory(1); - -Cubit_ptr Cubit_Factory:: create_cubit (const char * name, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return new Cubit; - } - CORBA::Request IT_r (this, "create_cubit",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.encodeStringOp (name); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit_ptr IT_result; - IT_result = (Cubit*) IT_r.decodeObjRef (Cubit_IR); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return new Cubit; -} - - - - - -#ifndef Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit_Factory"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitS.cpp b/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitS.cpp deleted file mode 100644 index 2f0459962b8..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/factory_client/cubitS.cpp +++ /dev/null @@ -1,282 +0,0 @@ - - -#include "cubit.hh" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#define Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"create_cubit")) { - Cubit_ptr IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~create_cubit~+name{0},>{O~Cubit},N{}\ -")) - return 1; - char * name; - - IT_r.decodeStringOp(name); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit_Factory*)IT_pp)->create_cubit ( name, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - CORBA::string_free (name); - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -O~Cubit\ -", IT_env)) return 1; - { - CORBA::Object* IT_l1 = (CORBA::Object*) IT_result; - IT_r << IT_l1; - } - if (IT_result) Cubit_release (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/tests/Cubit/Orbix/orb.mk b/TAO/IIOP/tests/Cubit/Orbix/orb.mk deleted file mode 100644 index cf7b12d3b1b..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/orb.mk +++ /dev/null @@ -1,146 +0,0 @@ -# ------------------------------------------------------------ -# Orbix 2.2 implicit rules for SunOS/GNU Make -# ------------------------------------------------------------ -# -# If you cut'n'paste this into your /usr/include/make/default.mk -# file, beware! This is not officially supported by Iona -# Technologies, and you may want to be a bit of a Makefile hacker -# to make it integrate well with your site's setup. - -# The best thing to do would be put it in a standard place and -# anyone who wants the Orbix implicit rule set can include -# it with an "include /orbix.mk" line in their -# Makefile. A good place to put it might be /usr/include/make. - -# These rules define default C++, C++FLAGS and C++SUFFIX. -# C++ is the C++ compiler to use; C++FLAGS are command-line -# flags to the C++ compiler for use in compiling C++ source -# files into objects; C++SUFFIX is the filename suffix -# indicating C++ source. By default, it's set to "C" for AT&T C++, -# and "cc" for GNU g++. - -# Feel free to override these in your Makefiles *after* -# including this file. - -# IMPORTANT: If the -M switch is specified in IDLFLAGS, the IDL -# compiler appends to the user-specified file. The dependency for -# specified_file.o in the linking target should appear _after_ any use -# of the IDL compiler which takes the -M flag. Putting it _last_ -# is normally the best approach. - -# Note that these rule definitions use pattern matching, -# and therefore only work with SunOS make and GNU make. - -# They may not work with other vendor's versions of make. -# If they do not, you may wish to try using GNU make, which -# is free software produced by the Free Software Foundation. - -# If the version of make you wish to use does not support -# pattern matching, use the sample explicit rule set in -# the comments at the end of this file. - -# ------------------------------------------------------------ -# Essential: set these to the locations into which you -# have installed Orbix' components: - -ORBIX_BINDIR = /opt/Orbix_2.2MT/corba2/bin -ORBIX_LIBDIR = /opt/Orbix_2.2MT/corba2/lib -ORBIX_INCDIR = /opt/Orbix_2.2MT/corba2/include - -#------------------------------------------------------------- -# To compile the demos, you should change these values as -# appropriate for your particular system installation -#------------------------------------------------------------- - -X11BASE = /usr/openwin -X11INCDIR = $(X11BASE)/include -X11LIBDIR = $(X11BASE)/lib - -# C++ = CC -# C++FLAGS = -I$(ORBIX_INCDIR) -I. -mt -D_REENTRANT -# C++SUFFIX = cpp - -# ------------------------------------------------------------ -# ITCLT, IRCLT and ITSRV can be either statically or dynamically linked -# Use -Bdynamic or -Bstatic as appropriate. -# ------------------------------------------------------------ - -ITCLT = -Bstatic -lorbixmt -IRCLT = -Bstatic -lIRcltmt -ITSRV = -Bstatic -lorbixmt -ITIIOP = -Bstatic -liiopmt -ITDSI = -Bstatic -lDSImt -ITIFR = -Bstatic -lifrmt - -# ------------------------------------------------------------ -# SYSLIBS must be dynamically linked; otherwise you can expect to -# get linkage errors for symbols in the nsl library -# ------------------------------------------------------------ - -LDFLAGS += -L$(ORBIX_LIBDIR) -SYSLIBS = -Bdynamic -lnsl -lsocket - -IDL = $(ORBIX_BINDIR)/idl -IDLFLAGS = - -# ------------------------------------------------------------ -# The following section defines implicit rules for creating -# *.{C,S}.C files, rules for compiling those -# into objects, and even a rule for compiling C++ source into -# objects (in case one isn't already defined). - -# ------------------------------------------------------------ -# first, put the new suffixes at the *head* of the suffix list, -# overriding any existing .C compilation method. -.SUFFIXES: -.SUFFIXES: .$(C++SUFFIX) .idl $(SUFFIXES) - -# .SUFFIXES: .$(C++SUFFIX) .idl .hh $(SUFFIXES) -# ------------------------------------------------------------ -# *[CS].o must be compiled here, and depends -# mostly on the C++ files produced from the IDL file. - -%C.o: %C.$(C++SUFFIX) - $(C++) -c $(C++FLAGS) $< - -%S.o: %S.$(C++SUFFIX) - $(C++) -c $(C++FLAGS) $< - -%.o: %.$(C++SUFFIX) - $(C++) -c $(C++FLAGS) $< - -# and here's how to compile C++ files from the IDL file. -# only ONE of these rules will be run at make-time, - -%S.$(C++SUFFIX): %.idl - $(IDL) $(IDLFLAGS) $< - -%C.$(C++SUFFIX): %.idl - $(IDL) $(IDLFLAGS) $< - -%.hh: %.idl - $(IDL) $(IDLFLAGS) $< - -# ------------------------------------------------------------ -# If the version of make you wish to use does not support -# pattern matching, here's a sample of an explicit rule set. - -# We assume the IDL file is called "foobar.idl", we wish -# to compile "foobarC.o", "foobarS.o", and -# "foobar.hh", and the C++ file suffix. -# ------------------------------------------------------------ - -# foobarC.o: foobar.hh foobarC.C -# $(C++) -c ($C++FLAGS) foobarC.C -# -# foobarS.o: foobar.hh foobarS.C -# $(C++) -c ($C++FLAGS) foobarS.C -# -# foobarC.C: foobar.idl -# $(IDL) -c ($IDLFLAGS) foobar.idl -# -# foobarS.C: foobar.idl -# $(IDL) -c ($IDLFLAGS) foobar.idl -# -# foobar.hh: foobar.idl -# $(IDL) -c ($IDLFLAGS) foobar.idl diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/Makefile b/TAO/IIOP/tests/Cubit/Orbix/tpool/Makefile deleted file mode 100644 index 0e425af78b1..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp tpool.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o tpool.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.h b/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.idl b/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubitC.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpool/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubitS.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpool/cubitS.cpp deleted file mode 100644 index 449a8c23548..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubitS.cpp +++ /dev/null @@ -1,226 +0,0 @@ -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.cpp deleted file mode 100644 index e35f1084118..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException) { -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.h b/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.h deleted file mode 100644 index 1e710bb15d1..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/cubit_impl.h +++ /dev/null @@ -1,27 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp deleted file mode 100644 index 8cae4135876..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file -#include "tpool.h" - -int -main (int argc, char** argv) -{ - - -#ifdef Cubit_USE_BOA - Cubit_var cb = new Cubit_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // Register our thread-pool dispatcher - int n_threads = argc > 1 ? ACE_OS::atoi (argv[1]) : ACE_DEFAULT_THREADS; - Thread_Pool tpool_dispatcher (n_threads); - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.cpp deleted file mode 100644 index 5d1fbd1a638..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.cpp +++ /dev/null @@ -1,42 +0,0 @@ -#include "tpool.h" - -Thread_Pool::Thread_Pool (int n_threads) - : ACE_Task (ACE_Thread_Manager::instance ()) -{ - if (this->activate (THR_DETACHED | THR_NEW_LWP, n_threads) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "activate failed")); -} - -int -Thread_Pool::svc (void) -{ - cout << "Pool thread activated" << endl; - while (1) - { - // Dequeue message - ACE_Message_Block *mb; - this->msg_queue ()->dequeue_head (mb); - CORBA::Request *vp = (CORBA::Request *) mb->base (); - mb->release (); - // Hand it off to Orbix - CORBA::Orbix.continueThreadDispatch (*vp); - } - return -1; -} - - -int -Thread_Pool::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment&) -{ -// thread_t tid; -// thr_create(NULL, 0, worker, (void *)&r, THR_DETACHED, &tid); - - // Enqueue the request - ACE_Message_Block *mb = new ACE_Message_Block ( (char *) (&r)); - this->msg_queue ()->enqueue (mb); - // Done - return -1; -} - - - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.h b/TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.h deleted file mode 100644 index 3087ce42052..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpool/tpool.h +++ /dev/null @@ -1,15 +0,0 @@ -#include "cubit.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" -#include "ace/Task.h" - -class Thread_Pool : public ACE_Task, public CORBA::ThreadFilter -{ -public: - Thread_Pool (int n_threads); - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); - virtual int svc (void); - -}; - - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/Makefile b/TAO/IIOP/tests/Cubit/Orbix/tpr/Makefile deleted file mode 100644 index 650d6aaf259..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp tpr.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o tpr.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.h b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.h deleted file mode 100644 index 1c868a6597d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.h +++ /dev/null @@ -1,727 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include "ace/OS.h" -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.idl b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.cpp deleted file mode 100644 index c47e38f26ee..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.cpp +++ /dev/null @@ -1,557 +0,0 @@ -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.h b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.h deleted file mode 100644 index 15247168d3c..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitC.h +++ /dev/null @@ -1,343 +0,0 @@ -#ifndef _cubitC_h -#define _cubitC_h - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -#include "corba.h" - - - -class Cubit; -typedef Cubit *Cubit_ptr; -typedef Cubit_ptr CubitRef; - -#ifndef _Cubit_var_ -#define _Cubit_var_ -class Cubit_var -{ - public: - Cubit_var(); - Cubit_var(Cubit_ptr); - Cubit_var(const Cubit_var&); - ~Cubit_var(); - Cubit_var& operator=(Cubit_ptr); - operator Cubit_ptr() const { return _ptr; } -#if defined(_HPCC_BUG) - operator Cubit *&() { return _ptr; } -#else - operator Cubit_ptr&() { return _ptr; } -#endif - Cubit_ptr operator->() const { return _ptr;} - friend NCistream& operator>>(NCistream&, Cubit_var&); - friend NCostream& operator<<(NCostream&, const Cubit_var&); - friend istream& operator>>(istream&, Cubit_var&); - friend ostream& operator<<(ostream&, const Cubit_var&); - private: - Cubit_ptr _ptr; - void operator=(const Cubit_var&) {} -}; -#endif -class Cubit: public virtual CORBA_Object -{ - private: - static const CORBA::TypeInfo _class_info; - Cubit(const Cubit&) {} - void operator=(const Cubit&){} - public: - static const CORBA::TypeInfo *_desc(); - virtual const CORBA::TypeInfo *_type_info() const; - virtual void *_safe_narrow(const CORBA::TypeInfo& ) const; - static CORBA::Object *_factory(); - protected: - Cubit(const char *obj_name = NULL) :CORBA_Object(obj_name, 1) {} - Cubit(NCistream& strm) :CORBA_Object(strm) {} - virtual ~Cubit() {} - public: - static Cubit_ptr _duplicate(Cubit_ptr obj) { - if (obj ) obj->_ref(); - return obj; - } - static Cubit_ptr _nil() { return (Cubit_ptr)NULL;} - static Cubit_ptr _narrow(CORBA::Object *obj); - static Cubit_ptr _clone(Cubit_ptr obj) { - CORBA::Object_var obj_var(__clone(obj)); - -#if defined(_HPCC_BUG) - return _narrow(obj_var.operator CORBA::Object_ptr()); -#else - return _narrow(obj_var); -#endif - } - static Cubit_ptr _bind(const char *object_name = NULL, - const char *host_name = NULL, - const CORBA::BindOptions* opt = NULL); - - virtual CORBA::Octet cube_octet(CORBA::Octet o); - - virtual CORBA::Short cube_short(CORBA::Short s); - - virtual CORBA::Long cube_long(CORBA::Long l); - - struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - }; - friend NCostream& operator<<(NCostream&, const Many& ); - friend NCistream& operator>>(NCistream&, Many& ); - - friend ostream& operator<<(ostream&, const Many& ); - inline friend istream& operator>>(istream& _strm, Many& _obj) { - NCistream _istrm(_strm); - _istrm >> _obj; - return _strm; - } - - - typedef Many *Many_ptr; - class Many_var - { - public: - Many_var() { _ptr = (Many*)NULL;} - Many_var(Many *ptr) { - _ptr = ptr; - } - Many_var(const Many_var& var) { - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - } - ~Many_var() { - if (_ptr != (Many *)NULL) delete _ptr; - } - Many_var& operator=(Many *ptr) { - if (_ptr != (Many *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - Many_var& operator=(const Many_var& var) { - if (_ptr != (Many *)NULL) delete _ptr; - if (var._ptr) - _ptr = new Many(*var._ptr); - else - _ptr = (Many *)NULL; - return *this; - } - Many *operator->() { return _ptr; } - operator Many () const { return *_ptr; } - operator Many& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const Many_var& var) { - if (var._ptr == (Many *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - Many_var& var) { - if ( ! var._ptr) - var._ptr = new Many; - strm >> *var._ptr; - return strm; - } - private: - Many *_ptr; - }; - - - virtual Cubit::Many cube_struct(const Cubit::Many& values); - - enum discrim { - e_0th, - e_1st, - e_2nd, - e_3rd, - e_4th, - e_5th - }; - inline friend NCostream& operator<<(NCostream& _strm, discrim _enum_type) { - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend NCistream& operator>>(NCistream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - if (_temp >= 6) - throw CORBA::BAD_PARAM(); - _enum_type = discrim(_temp); - return _strm; - } - inline friend ostream& operator<<(ostream& _strm, discrim _enum_type) { - if( &_strm == &cout || &_strm == &cerr || &_strm == &clog) { - _strm << "discrim:"; - switch(_enum_type) { - case e_0th: - _strm << "e_0th" << endl; - break; - case e_1st: - _strm << "e_1st" << endl; - break; - case e_2nd: - _strm << "e_2nd" << endl; - break; - case e_3rd: - _strm << "e_3rd" << endl; - break; - case e_4th: - _strm << "e_4th" << endl; - break; - case e_5th: - _strm << "e_5th" << endl; - break; - } - } - else - _strm << (CORBA::ULong)_enum_type; - return _strm; - } - inline friend istream& operator>>(istream& _strm, discrim& _enum_type) { - CORBA::ULong _temp; - _strm >> _temp; - _enum_type = discrim(_temp); - return _strm; - } - - - class oneof - { - public: - private: - discrim _disc; - CORBA::Octet __o; - CORBA::Short __s; - CORBA::Long __l; - Cubit::Many __cm; - public: - oneof() : _disc(discrim(0)) {} - ~oneof() {} - oneof(const oneof& obj); - oneof& operator=(const oneof& obj); - - void _d(discrim val) { _disc = val; } - discrim _d() const { return _disc; } - - void o(CORBA::Octet val) { - __o = val; - _disc = Cubit::e_0th; - } - CORBA::Octet o() const { return __o; } - - void s(CORBA::Short val) { - __s = val; - _disc = Cubit::e_1st; - } - CORBA::Short s() const { return __s; } - - void l(CORBA::Long val) { - __l = val; - _disc = Cubit::e_2nd; - } - CORBA::Long l() const { return __l; } - - void cm(const Cubit::Many& val) { - __cm = val; - _disc = Cubit::e_3rd; - } - const Cubit::Many& cm() const { return __cm; } - Cubit::Many& cm() { return __cm; } - - friend NCostream& operator<<(NCostream&, const oneof& ); - friend NCistream& operator>>(NCistream&, oneof& ); - friend ostream& operator<<(ostream&, const oneof&); - inline friend istream& operator>>(istream& strm, oneof& obj) { - NCistream istrm(strm); - strm >> obj; - return strm; - } - }; - - typedef oneof *oneof_ptr; - class oneof_var - { - public: - oneof_var() { _ptr = (oneof*)NULL;} - oneof_var(oneof *ptr) { - _ptr = ptr; - } - oneof_var(const oneof_var& var) { - _ptr = new oneof(*var._ptr); - } - ~oneof_var() { - if (_ptr != (oneof *)NULL) delete _ptr; - } - oneof_var& operator=(oneof *ptr) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = ptr; - return *this; - } - oneof_var& operator=(const oneof_var& var) { - if (_ptr != (oneof *)NULL) delete _ptr; - _ptr = new oneof(*var._ptr); - return *this; - } - oneof *operator->() { return _ptr; } - operator oneof () const { return *_ptr; } - operator oneof& () { return *_ptr; } - inline friend NCostream& operator<<(NCostream& strm, - const oneof_var& var) { - if (var._ptr == (oneof *)NULL) { - throw CORBA::BAD_PARAM(); - } - else - strm << *var._ptr; - return strm; - } - inline friend NCistream& operator>>(NCistream& strm, - oneof_var& var) { - if ( ! var._ptr) - var._ptr = new oneof; - strm >> *var._ptr; - return strm; - } - private: - oneof *_ptr; - }; - - - virtual Cubit::oneof cube_union(const Cubit::oneof& values); - - virtual void please_exit(); - - inline friend NCistream& operator>>(NCistream& strm, Cubit_ptr& obj) { - CORBA::Object_var _obj(obj); - _obj = CORBA::Object::_read(strm, Cubit::_desc()); - obj = Cubit::_narrow(_obj); - return strm; - } - inline friend ostream& operator<<(ostream& strm, const Cubit_ptr obj) { - strm << (CORBA::Object_ptr)obj; - return strm; - } - inline friend istream& operator>>(istream& strm, Cubit_ptr& obj) { - NCistream istrm(strm); - istrm >> obj; - return strm; - } -}; - - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.cpp deleted file mode 100644 index 449a8c23548..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.cpp +++ /dev/null @@ -1,226 +0,0 @@ -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.h b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.h deleted file mode 100644 index 757af4664ad..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubitS.h +++ /dev/null @@ -1,118 +0,0 @@ -#ifndef _cubitS_h -#define _cubitS_h - -#include "cubitC.h" - -/************************************************************************/ -/* */ -/* This file is automatically generated by ORBeline IDL compiler */ -/* Do not modify this file. */ -/* */ -/* ORBeline (c) is copyrighted by PostModern Computing, Inc. */ -/* */ -/* The generated code conforms to OMG's IDL C++ mapping as */ -/* specified in OMG Document Number: 94-9-14. */ -/* */ -/************************************************************************/ - -class _sk_Cubit : public Cubit -{ - protected: - _sk_Cubit(const char *object_name = (const char *)NULL); - _sk_Cubit(const char *service_name, const CORBA::ReferenceData& data); - virtual ~_sk_Cubit() {} - public: - static const CORBA::TypeInfo _skel_info; - - // The following operations need to be implemented by the server. - virtual CORBA::Octet cube_octet(CORBA::Octet o) = 0; - virtual CORBA::Short cube_short(CORBA::Short s) = 0; - virtual CORBA::Long cube_long(CORBA::Long l) = 0; - virtual Cubit::Many cube_struct(const Cubit::Many& values) = 0; - virtual Cubit::oneof cube_union(const Cubit::oneof& values) = 0; - virtual void please_exit() = 0; - - // Skeleton Operations implemented automatically - - static void _cube_octet(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_short(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_long(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_struct(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _cube_union(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - - static void _please_exit(void *obj, - CORBA::MarshalStream &strm, - CORBA::Principal_ptr principal, - const char *oper, - void *priv_data); - -}; -template -class _tie_Cubit : public Cubit -{ - public: - _tie_Cubit(T& t, const char *obj_name=(char*)NULL) : - Cubit(obj_name), - _ref(t) { - _object_name(obj_name); - } - _tie_Cubit(T& t, const char *service_name, - const CORBA::ReferenceData& id) - :_ref(t) { - _service(service_name, id); - } - ~_tie_Cubit() {} - CORBA::Octet cube_octet(CORBA::Octet o) { - return _ref.cube_octet( - o); - } - CORBA::Short cube_short(CORBA::Short s) { - return _ref.cube_short( - s); - } - CORBA::Long cube_long(CORBA::Long l) { - return _ref.cube_long( - l); - } - Cubit::Many cube_struct(const Cubit::Many& values) { - return _ref.cube_struct( - values); - } - Cubit::oneof cube_union(const Cubit::oneof& values) { - return _ref.cube_union( - values); - } - void please_exit() { - _ref.please_exit(); - } - - private: - T& _ref; -}; - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.cpp deleted file mode 100644 index e35f1084118..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException) { -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.h b/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.h deleted file mode 100644 index 1e710bb15d1..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/cubit_impl.h +++ /dev/null @@ -1,27 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/server.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpr/server.cpp deleted file mode 100644 index 96117fe3e0d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/server.cpp +++ /dev/null @@ -1,40 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#define IT_EX_MACROS - -#include "cubit_impl.h" // server header file - -int -main (int , char**) -{ - -#ifdef Cubit_USE_BOA - Cubit_var cb = new Cubit_Impl; - cout << "Using BOA approach" << endl; -#else - Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl); - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - IT_TRY { - CORBA::Orbix.impl_is_ready("Cubit", IT_X); - } - IT_CATCHANY { - cout << IT_X << endl; - } - IT_ENDTRY; - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.cpp deleted file mode 100644 index 415410aea9f..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "tpr.h" - -void * -worker(void *vp) -{ - ACE_Thread_Control tc (ACE_Thread_Manager::instance ()); - CORBA::Orbix.continueThreadDispatch (*(CORBA::Request *)vp); - return NULL; -} - - -int -tpr_filter::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment&) -{ -// thread_t tid; -// thr_create(NULL, 0, worker, (void *)&r, THR_DETACHED, &tid); - - ACE_Thread_Manager *thr_mgr = ACE_Thread_Manager::instance (); - thr_mgr->spawn (ACE_THR_FUNC (worker), - (void *) &r, - THR_DETACHED); - - return -1; -} - -tpr_filter tpr_dispatcher; diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.h b/TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.h deleted file mode 100644 index 38c2ccc7069..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tpr/tpr.h +++ /dev/null @@ -1,10 +0,0 @@ -#include "cubit.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" - -// -// Create a thread filter to dispatch incoming calls -// -class tpr_filter : public CORBA::ThreadFilter { - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); -}; diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/Makefile b/TAO/IIOP/tests/Cubit/Orbix/tps/Makefile deleted file mode 100644 index 69701ba3b63..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/Makefile +++ /dev/null @@ -1,349 +0,0 @@ -#---------------------------------------------------------------------------- -# @(#)Makefile 1.1 10/18/96 -# -# Makefile for the ACE_MT_CORBA_Handler tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SRC = cubitS.cpp cubit_impl.cpp server.cpp tps.cpp - -SVR_OBJS = cubitS.o cubit_impl.o server.o tps.o - -LDLIBS = - -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 - -#---------------------------------------------------------------------------- -# Orbix related macros and target settings. -#---------------------------------------------------------------------------- - - -ORBIX_BINDIR = $(ORBIX_ROOT)/bin -ORBIX_LIBDIR = $(ORBIX_ROOT)/corba2/lib -ORBIX_INCDIR = $(ORBIX_ROOT)/corba2/include - -# Remove -DCubit_USE_BOA from below to use the TIE approach - -CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA -LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace - -IDLFLAGS = -s S.cpp -c C.cpp -B - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -all: server - -server: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/cubitS.o .shobj/cubitS.so: cubitS.cpp cubit.h cubitC.cpp -.obj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/Task.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/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.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/Synch_T.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.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/Reactor.i \ - $(ACE_ROOT)/ace/Proactor.h \ - $(ACE_ROOT)/ace/Asynch_IO.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Wheel.h \ - $(ACE_ROOT)/ace/Timer_Wheel_T.h \ - $(ACE_ROOT)/ace/ReactorEx.h \ - $(ACE_ROOT)/ace/ReactorEx.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i -.obj/server.o .shobj/server.so: server.cpp cubit_impl.h cubit.h \ - $(ACE_ROOT)/ace/Task.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/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.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/Synch_T.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.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/Reactor.i \ - $(ACE_ROOT)/ace/Proactor.h \ - $(ACE_ROOT)/ace/Asynch_IO.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Wheel.h \ - $(ACE_ROOT)/ace/Timer_Wheel_T.h \ - $(ACE_ROOT)/ace/ReactorEx.h \ - $(ACE_ROOT)/ace/ReactorEx.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i -.obj/tps.o .shobj/tps.so: tps.cpp tps.h cubit.h cubit_impl.h \ - $(ACE_ROOT)/ace/Task.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/config.h \ - $(ACE_ROOT)/ace/config-sunos5.5-sunc++-4.x.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/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.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/Synch_T.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(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/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.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/Reactor.i \ - $(ACE_ROOT)/ace/Proactor.h \ - $(ACE_ROOT)/ace/Asynch_IO.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Wheel.h \ - $(ACE_ROOT)/ace/Timer_Wheel_T.h \ - $(ACE_ROOT)/ace/ReactorEx.h \ - $(ACE_ROOT)/ace/ReactorEx.i \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit.h b/TAO/IIOP/tests/Cubit/Orbix/tps/cubit.h deleted file mode 100644 index 72e2fb81395..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit.h +++ /dev/null @@ -1,1111 +0,0 @@ - -#ifndef cubit_hh -#define cubit_hh - -#include - -#include - - -#ifndef _Cubit_defined -#define _Cubit_defined -class Cubit_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_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) {} - - - Cubit_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_dispatch () {} - - Cubit_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_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 Cubit; - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - - -#ifndef CubitForwH -#define CubitForwH -CORBA::ObjectRef Cubit_getBase (void *); -void Cubit_release (Cubit *, CORBA::Environment &IT_env); -void Cubit_release (Cubit_ptr); -Cubit* Cubit_duplicate (Cubit_ptr, CORBA::Environment &IT_env); -Cubit* Cubit_duplicate (Cubit_ptr ); -Cubit_ptr Cubit_nil (CORBA::Environment &IT_env); -Cubit_ptr Cubit_nil (); -#endif -#define Cubit_IMPL "Cubit" - - -class Cubit; - -typedef Cubit CubitProxy; -#define Cubit_IR "Cubit$v1.1" -#define Cubit_IMPL "Cubit" - -#ifndef CubitPtr -#define CubitPtr - -typedef Cubit* Cubit_ptr; - -typedef Cubit* CubitRef; - -#endif - -class Cubit: public virtual CORBA::Object { -public: - Cubit (char *IT_OR); - Cubit (ObjectReference *IT_OR); - Cubit () : CORBA::Object (1) {} -protected: - Cubit_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_ptr _duplicate( - Cubit_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _bind (CORBA::Environment &IT_env); - static Cubit* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_ptr) CORBA::OBJECT_NIL;} - -#ifndef Cubit_Many_defined -#define Cubit_Many_defined - -struct Many { - CORBA::Octet o; - CORBA::Long l; - CORBA::Short s; - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - Many(const Many &); - Many(); - ~Many(); - Many& operator= (const Many&); -}; - -#ifndef Cubit_ManyVarH -#define Cubit_ManyVarH - -#ifndef Cubit_ManyvPtr -#define Cubit_ManyvPtr -typedef Many* Many_vPtr; -typedef const Many* Many_cvPtr; -#endif - -class Many_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Many_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - Many_var (const Many_var &IT_s) { - (void) copyHelper (IT_s); - } - - Many_var () { - _ptr = new Many; -; - } - - Many_var (Many *IT_p) { - _ptr = IT_p; - } - - Many_var &operator= (Many *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - Many_var &operator= (const Many_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new Many; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~Many_var () { - delete _ptr; - } - - Many* operator-> () { - return _ptr; - } - - operator Many_cvPtr () const { return _ptr;} - operator Many_vPtr& () { return _ptr;} - operator Many& () const { return * _ptr;} - - protected: - Many *_ptr; - private: - Many_var &operator= (const CORBA::_var &IT_s); - Many_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - -enum discrim {e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th, IT__ENUM_Cubit_discrim=CORBA_ULONG_MAX}; - -#ifndef Cubit_oneof_defined -#define Cubit_oneof_defined - -struct oneof { - private: - - discrim __d; - union { - CORBA::Octet _o_; - CORBA::Short _s_; - CORBA::Long _l_; - Many * _cm_; - }; - - public: - - void encodeOp (CORBA::Request &IT_r) const; - void decodeOp (CORBA::Request &IT_r); - void decodeInOutOp (CORBA::Request &IT_r); - - private: - - unsigned char isSet; - - public: - - discrim _d () const { return __d; } - - CORBA::Octet o () const { - return _o_; - } - - void o (CORBA::Octet IT_member) { - if (isSet && (__d != Cubit::e_0th)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_0th; - isSet = 1; - _o_ = IT_member; - } - - CORBA::Short s () const { - return _s_; - } - - void s (CORBA::Short IT_member) { - if (isSet && (__d != Cubit::e_1st)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_1st; - isSet = 1; - _s_ = IT_member; - } - - CORBA::Long l () const { - return _l_; - } - - void l (CORBA::Long IT_member) { - if (isSet && (__d != Cubit::e_2nd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_2nd; - isSet = 1; - _l_ = IT_member; - } - - Many& cm () { - return (*_cm_); - } - - const Many& cm () const { - return (*_cm_); - } - - void cm (const Many& IT_member) { - if (isSet && (__d != Cubit::e_3rd)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = Cubit::e_3rd; - - if (!isSet) { - _cm_ = new Many; - isSet = 1; - } - *(_cm_) = IT_member; - } - - - oneof(); - oneof(const oneof &); - ~oneof(); - oneof& operator= (const oneof&); -}; - -#ifndef Cubit_oneofVarH -#define Cubit_oneofVarH - -#ifndef Cubit_oneofvPtr -#define Cubit_oneofvPtr -typedef oneof* oneof_vPtr; -typedef const oneof* oneof_cvPtr; -#endif - -class oneof_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const oneof_var &IT_s) { - if (!IT_s._ptr) { - _ptr = IT_s._ptr; - } else - { - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - } - return 1; - } - - public: - - oneof_var (const oneof_var &IT_s) { - (void) copyHelper (IT_s); - } - - oneof_var () { - _ptr = NULL; - } - - oneof_var (oneof *IT_p) { - _ptr = IT_p; - } - - oneof_var &operator= (oneof *IT_p) { - if (_ptr != IT_p) { - delete _ptr; - } - _ptr = IT_p; - return (*this); - } - - oneof_var &operator= (const oneof_var &IT_s) { - if (_ptr != IT_s._ptr) { - delete _ptr; - } - _ptr = new oneof; - *(_ptr) = *(IT_s._ptr); - return (*this); - } - - ~oneof_var () { - delete _ptr; - } - - oneof* operator-> () { - return _ptr; - } - - operator oneof_cvPtr () const { return _ptr;} - operator oneof_vPtr& () { return _ptr;} - operator oneof& () const { return * _ptr;} - - protected: - oneof *_ptr; - private: - oneof_var &operator= (const CORBA::_var &IT_s); - oneof_var (const CORBA::_var &IT_s); -}; - -#endif - - -#endif - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef CubitVarH -#define CubitVarH - -#ifndef CubitvPtr -#define CubitvPtr -typedef Cubit* Cubit_vPtr; -typedef const Cubit* Cubit_cvPtr; -#endif - -class Cubit_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_var &IT_s) { - { - _ptr = Cubit_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_var (const Cubit_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_var () { - _ptr = Cubit_nil (); - } - - Cubit_var (Cubit *IT_p) { - _ptr = IT_p; - } - - Cubit_var &operator= (Cubit *IT_p) { - Cubit_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_var &operator= (const Cubit_var &IT_s) { - Cubit_release (_ptr); - _ptr = Cubit_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_var () { - Cubit_release (_ptr); - } - - Cubit* operator-> () { - return _ptr; - } - - operator Cubit_cvPtr () const { return _ptr;} - operator Cubit_vPtr& () { return _ptr;} - - protected: - Cubit *_ptr; - private: - Cubit_var &operator= (const CORBA::_var &IT_s); - Cubit_var (const CORBA::_var &IT_s); - Cubit_var &operator= (const CORBA::_mgr &IT_s); - Cubit_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_var (const CORBA::_mgr &IT_s); - Cubit_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef CubitMgrH -#define CubitMgrH - -class Cubit_mgr : public CORBA::_mgr -{ - public: - - Cubit_mgr () { - _ptr = Cubit_nil (); - _release = 1; - } - - Cubit_mgr (const Cubit_mgr &IT_s) { - _ptr = Cubit_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_mgr &operator= (Cubit *IT_p) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (const Cubit_mgr &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_mgr &operator= (Cubit_var &IT_s) { - if (_ptr && _release) - Cubit_release (_ptr); - _ptr = Cubit_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_mgr () { - if (_release) - Cubit_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 Cubit* () const { - return (Cubit*) _ptr; - } - - Cubit_ptr operator-> () const { - return _ptr; - } - - Cubit *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_mgr Cubit_mgr_IT_const; -#endif - -#ifndef CubitSeqElemH -#define CubitSeqElemH - -class Cubit_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_SeqElem (Cubit_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_SeqElem &operator= (Cubit_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_SeqElem &operator= (const Cubit_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_release (*(_ptr)); - *(_ptr) = Cubit_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_ptr () const { - return _ptr ? (Cubit_ptr) (*_ptr) : Cubit_nil(); - } - - Cubit_ptr operator->() const { return *_ptr;} - - protected: - Cubit_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit(X) Cubit##X - -#define DEF_TIE_Cubit(X) \ - class Cubit##X : public virtual Cubit { \ - X* m_obj; \ - public: \ - \ - \ - Cubit##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit(), m_obj(objp) { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,m,l,Cubit_IR,m_obj); \ - } \ - Cubit##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit() { \ - m_pptr = new Cubit_dispatch \ - (( Cubit*)this,(CORBA::Object*)this,IT_m,Cubit_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit \ -virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_octet ( o,IT_env);\ -}\ - \ -virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_short ( s,IT_env);\ -}\ - \ -virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_long ( l,IT_env);\ -}\ - \ -virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_struct ( values,IT_env);\ -}\ - \ -virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->cube_union ( values,IT_env);\ -}\ - \ -virtual void please_exit (CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -m_obj->please_exit (IT_env);\ -}\ - - - - -class CubitProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - CubitProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_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 CubitProxyFactoryClass CubitProxyFactory; - -class CubitBOAImpl : public virtual Cubit { -public: - CubitBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_IR)) - m_pptr = new Cubit_dispatch ( (Cubit*)this, - (CORBA::Object*)this, m, l, Cubit_IR, this); -} - - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual Many cube_struct (const Many& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual oneof cube_union (const oneof& values, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; - virtual void please_exit (CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#ifndef _Cubit_Factory_defined -#define _Cubit_Factory_defined -class Cubit_Factory_dispatch : public virtual CORBA::PPTR { -public: - - Cubit_Factory_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) {} - - - Cubit_Factory_dispatch (char *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_dispatch () {} - - Cubit_Factory_dispatch (ObjectReference *IT_OR, void *IT_p, CORBA::Object *IT_o) - : PPTR (IT_OR,IT_p,IT_o) {} - - - Cubit_Factory_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 Cubit_Factory; - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - - -#ifndef Cubit_FactoryForwH -#define Cubit_FactoryForwH -CORBA::ObjectRef Cubit_Factory_getBase (void *); -void Cubit_Factory_release (Cubit_Factory *, CORBA::Environment &IT_env); -void Cubit_Factory_release (Cubit_Factory_ptr); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr, CORBA::Environment &IT_env); -Cubit_Factory* Cubit_Factory_duplicate (Cubit_Factory_ptr ); -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &IT_env); -Cubit_Factory_ptr Cubit_Factory_nil (); -#endif -#define Cubit_Factory_IMPL "Cubit_Factory" - - -class Cubit_Factory; - -typedef Cubit_Factory Cubit_FactoryProxy; -#define Cubit_Factory_IR "Cubit_Factory" -#define Cubit_Factory_IMPL "Cubit_Factory" - -#ifndef Cubit_FactoryPtr -#define Cubit_FactoryPtr - -typedef Cubit_Factory* Cubit_Factory_ptr; - -typedef Cubit_Factory* Cubit_FactoryRef; - -#endif - -class Cubit_Factory: public virtual CORBA::Object { -public: - Cubit_Factory (char *IT_OR); - Cubit_Factory (ObjectReference *IT_OR); - Cubit_Factory () : CORBA::Object (1) {} -protected: - Cubit_Factory_ptr __duplicate( - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) { - CORBA::Object::__duplicate (IT_env); - return this; - } -public: - static Cubit_Factory_ptr _duplicate( - Cubit_Factory_ptr, - CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()); -public: - static Cubit_Factory* _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _bind (CORBA::Environment &IT_env); - static Cubit_Factory* _bind (const char* IT_markerServer=NULL, const char* host=NULL, - CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory* _narrow (CORBA::Object* , CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()); - static Cubit_Factory_ptr _nil (CORBA::Environment &IT_pEnv=CORBA::IT_chooseDefaultEnv ()) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - return (Cubit_Factory_ptr) CORBA::OBJECT_NIL;} - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException); -}; - -#ifndef Cubit_FactoryVarH -#define Cubit_FactoryVarH - -#ifndef Cubit_FactoryvPtr -#define Cubit_FactoryvPtr -typedef Cubit_Factory* Cubit_Factory_vPtr; -typedef const Cubit_Factory* Cubit_Factory_cvPtr; -#endif - -class Cubit_Factory_var : public CORBA::_var -{ - private: - - unsigned char copyHelper (const Cubit_Factory_var &IT_s) { - { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - } - return 1; - } - - public: - - Cubit_Factory_var (const Cubit_Factory_var &IT_s) { - (void) copyHelper (IT_s); - } - - Cubit_Factory_var () { - _ptr = Cubit_Factory_nil (); - } - - Cubit_Factory_var (Cubit_Factory *IT_p) { - _ptr = IT_p; - } - - Cubit_Factory_var &operator= (Cubit_Factory *IT_p) { - Cubit_Factory_release (_ptr); - _ptr = IT_p; - return (*this); - } - - Cubit_Factory_var &operator= (const Cubit_Factory_var &IT_s) { - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - return (*this); - } - - ~Cubit_Factory_var () { - Cubit_Factory_release (_ptr); - } - - Cubit_Factory* operator-> () { - return _ptr; - } - - operator Cubit_Factory_cvPtr () const { return _ptr;} - operator Cubit_Factory_vPtr& () { return _ptr;} - - protected: - Cubit_Factory *_ptr; - private: - Cubit_Factory_var &operator= (const CORBA::_var &IT_s); - Cubit_Factory_var (const CORBA::_var &IT_s); - Cubit_Factory_var &operator= (const CORBA::_mgr &IT_s); - Cubit_Factory_var &operator= (const CORBA::_SeqElem &IT_s); - Cubit_Factory_var (const CORBA::_mgr &IT_s); - Cubit_Factory_var (const CORBA::_SeqElem &IT_s); -}; - -#endif - - -#ifndef Cubit_FactoryMgrH -#define Cubit_FactoryMgrH - -class Cubit_Factory_mgr : public CORBA::_mgr -{ - public: - - Cubit_Factory_mgr () { - _ptr = Cubit_Factory_nil (); - _release = 1; - } - - Cubit_Factory_mgr (const Cubit_Factory_mgr &IT_s) { - _ptr = Cubit_Factory_duplicate (IT_s._ptr); - _release = 1; - } - - Cubit_Factory_mgr &operator= (Cubit_Factory *IT_p) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = IT_p; - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (const Cubit_Factory_mgr &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s._ptr); - _release = 1; - return (*this); - } - - Cubit_Factory_mgr &operator= (Cubit_Factory_var &IT_s) { - if (_ptr && _release) - Cubit_Factory_release (_ptr); - _ptr = Cubit_Factory_duplicate(IT_s); - _release = 1; - return (*this); - } - - ~Cubit_Factory_mgr () { - if (_release) - Cubit_Factory_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 Cubit_Factory* () const { - return (Cubit_Factory*) _ptr; - } - - Cubit_Factory_ptr operator-> () const { - return _ptr; - } - - Cubit_Factory *_ptr; - - protected: - - unsigned char _release; -}; - -typedef Cubit_Factory_mgr Cubit_Factory_mgr_IT_const; -#endif - -#ifndef Cubit_FactorySeqElemH -#define Cubit_FactorySeqElemH - -class Cubit_Factory_SeqElem : public CORBA::_SeqElem -{ - public: - - Cubit_Factory_SeqElem (Cubit_Factory_ptr* IT_p, unsigned char rel) { - _ptr = IT_p; - _release = rel; - } - - Cubit_Factory_SeqElem &operator= (Cubit_Factory_ptr IT_p) { - if (_ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = IT_p; - } - return (*this); - } - - Cubit_Factory_SeqElem &operator= (const Cubit_Factory_SeqElem &IT_s) { - if (_ptr && IT_s._ptr) { - if (*(_ptr) && _release) - Cubit_Factory_release (*(_ptr)); - *(_ptr) = Cubit_Factory_duplicate(*(IT_s._ptr)); - } - return (*this); - } - - operator Cubit_Factory_ptr () const { - return _ptr ? (Cubit_Factory_ptr) (*_ptr) : Cubit_Factory_nil(); - } - - Cubit_Factory_ptr operator->() const { return *_ptr;} - - protected: - Cubit_Factory_ptr *_ptr; - unsigned char _release; -}; - -#endif - - -#define TIE_Cubit_Factory(X) Cubit_Factory##X - -#define DEF_TIE_Cubit_Factory(X) \ - class Cubit_Factory##X : public virtual Cubit_Factory { \ - X* m_obj; \ - public: \ - \ - \ - Cubit_Factory##X (X *objp, const char* m="", CORBA::LoaderClass *l=0)\ - : Cubit_Factory(), m_obj(objp) { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,m,l,Cubit_Factory_IR,m_obj); \ - } \ - Cubit_Factory##X (CORBA::Object *IT_p, const char* IT_m="", void *IT_q=0)\ - : Cubit_Factory() { \ - m_pptr = new Cubit_Factory_dispatch \ - (( Cubit_Factory*)this,(CORBA::Object*)this,IT_m,Cubit_Factory_IR,IT_p,IT_q); \ - m_obj = (X*)(m_pptr->getImplObj ()); \ - } \ - \ - virtual ~Cubit_Factory##X () { \ - if (_okToDeleteImpl ()) delete m_obj; } \ - virtual void* _deref () { \ - return m_obj; } \ - \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - \ - }; \ - - -#define QUALS_Cubit_Factory \ -virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env) throw (CORBA::SystemException){\ -return m_obj->create_cubit ( name,IT_env);\ -}\ - - - - -class Cubit_FactoryProxyFactoryClass : public virtual CORBA::ObjectFactoryClass { -public: - Cubit_FactoryProxyFactoryClass (unsigned char IT_p=0) - : CORBA::ProxyFactory (Cubit_Factory_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 Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory; - -class Cubit_FactoryBOAImpl : public virtual Cubit_Factory { -public: - Cubit_FactoryBOAImpl (const char *m="", CORBA::LoaderClass *l=NULL) { - if (CORBA::PPTR::isOK (m_pptr, Cubit_Factory_IR)) - m_pptr = new Cubit_Factory_dispatch ( (Cubit_Factory*)this, - (CORBA::Object*)this, m, l, Cubit_Factory_IR, this); -} - - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::IT_chooseDefaultEnv ()) throw (CORBA::SystemException) =0; -}; - - -#endif - - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit.idl b/TAO/IIOP/tests/Cubit/Orbix/tps/cubit.idl deleted file mode 100644 index 7dba408d0db..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit.idl +++ /dev/null @@ -1,46 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - - interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); - }; - - - interface Cubit_Factory { - Cubit create_cubit (in string name); - }; - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/cubitC.cpp b/TAO/IIOP/tests/Cubit/Orbix/tps/cubitC.cpp deleted file mode 100644 index c439fc4c800..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/cubitC.cpp +++ /dev/null @@ -1,710 +0,0 @@ - - -#include "cubit.h" - -Cubit::Cubit (char *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit::Cubit (ObjectReference *IT_OR) { - m_pptr = new Cubit_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef CubitForwC -#define CubitForwC -CORBA::ObjectRef Cubit_getBase(void *IT_p){ - return (Cubit*) IT_p;} - -void Cubit_release (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_release (Cubit_ptr IT_p) { - Cubit_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_ptr Cubit_nil (CORBA::Environment &) { - return Cubit:: _nil ();} - -Cubit_ptr Cubit_nil () { - return Cubit_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit::_duplicate(IT_p, IT_env)); } -Cubit_ptr Cubit_duplicate (Cubit_ptr IT_p) { - return Cubit_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_IMPL, Cubit_IR); -} - - - -Cubit* Cubit:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit* Cubit:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit* Cubit::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit:: _nil(); - } - - Cubit* IT_p = (Cubit*)CORBA::Object::_castDown (IT_obj, Cubit_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - - -#ifndef Cubit_Many_Ops -#define Cubit_Many_Ops - -void Cubit::Many:: encodeOp (CORBA::Request &IT_r) const { - - IT_r.insertOctet (o); - - IT_r << l; - - IT_r << s; -} - -void Cubit::Many:: decodeOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -void Cubit::Many:: decodeInOutOp (CORBA::Request &IT_r) { - - IT_r.extractOctet (o); - - IT_r >> l; - - IT_r >> s; -} - -Cubit::Many ::~Many () { -} - -Cubit::Many:: Many (const Cubit::Many &IT_s) - { - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; -} - -Cubit::Many:: Many () { -} - -Cubit::Many &Cubit::Many:: operator= (const Cubit::Many& IT_s) { - if (this == &IT_s) return *this; - o = IT_s.o; - l = IT_s.l; - s = IT_s.s; - return *this; -} - - -#endif - - -#ifndef Cubit_oneof_Ops -#define Cubit_oneof_Ops -void Cubit::oneof:: encodeOp (CORBA::Request &IT_r) const { - if (!isSet) return; - { - CORBA::ULong IT_0 = (CORBA::ULong) __d; - IT_r << IT_0; - } - switch (__d) { - case Cubit::e_0th: - IT_r.insertOctet (_o_); - break; - case Cubit::e_1st: - IT_r << _s_; - break; - case Cubit::e_2nd: - IT_r << _l_; - break; - case Cubit::e_3rd: - default: - (*_cm_).encodeOp (IT_r); - break; - } - -} - -void Cubit::oneof:: decodeOp (CORBA::Request &IT_r) { - isSet = 0; - { - CORBA::ULong IT_1; - IT_r >> IT_1; - __d = Cubit::discrim(IT_1); - } - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - -} -void Cubit::oneof:: decodeInOutOp (CORBA::Request &IT_r) { - Cubit::discrim IT_d; - { - CORBA::ULong IT_2; - IT_r >> IT_2; - IT_d = Cubit::discrim(IT_2); - } - if (IT_d == __d) - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeInOutOp (IT_r); - break; - } - - else { - this->oneof:: ~oneof(); - memset(this, 0, sizeof(*this)); - __d = IT_d; - switch (__d) { - case Cubit::e_0th: - if (!isSet) { - isSet = 1; - } - IT_r.extractOctet (_o_); - break; - case Cubit::e_1st: - if (!isSet) { - isSet = 1; - } - IT_r >> _s_; - break; - case Cubit::e_2nd: - if (!isSet) { - isSet = 1; - } - IT_r >> _l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - (*_cm_).decodeOp (IT_r); - break; - } - isSet = 1; - } - -} - -Cubit::oneof:: oneof() { - memset(this, 0, sizeof(*this)); - isSet = 0; -} - -Cubit::oneof ::~oneof() { - if (!isSet) return; - switch (__d) { - case Cubit::e_0th: break; - case Cubit::e_1st: break; - case Cubit::e_2nd: break; - case Cubit::e_3rd: - default: if (_cm_) delete _cm_; - break; - } - - isSet = 0; -} - -Cubit::oneof:: oneof (const Cubit::oneof &IT_s) { - isSet = 0; - memset(this, 0, sizeof(*this)); - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; -} - -Cubit::oneof& Cubit::oneof:: operator= (const Cubit::oneof & IT_s) { - if (this == &IT_s) return *this; - if (isSet && (__d != IT_s.__d)) - { - this-> oneof::~oneof(); - memset(this, 0, sizeof(*this)); - } - - __d = IT_s.__d; - switch (__d) { - case Cubit::e_0th: isSet = 1; - _o_ = IT_s._o_; - break; - case Cubit::e_1st: isSet = 1; - _s_ = IT_s._s_; - break; - case Cubit::e_2nd: isSet = 1; - _l_ = IT_s._l_; - break; - case Cubit::e_3rd: - default: - if (!isSet) { - _cm_ = new Cubit::Many; - isSet = 1; - } - *(_cm_) = *(IT_s._cm_); - break; - } - isSet = 1; - return *this; -} - - -#endif - -void* CubitProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -void* CubitProxyFactoryClass::New2 () { - return new class Cubit((char*)0);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit(IT_OR);} - -CORBA::Object* CubitProxyFactoryClass::New2Object () { - return new class Cubit((char*)0);} - -void* CubitProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* CubitProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit*)IT_p)->_pptr ();} - -void CubitProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -CubitProxyFactoryClass CubitProxyFactory(1); - -CORBA::Octet Cubit:: cube_octet (CORBA::Octet o, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_octet",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.insertOctet (o); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Octet IT_result; - IT_r.extractOctet (IT_result); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Short Cubit:: cube_short (CORBA::Short s, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_short",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << s; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Short IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -CORBA::Long Cubit:: cube_long (CORBA::Long l, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return 0; - } - CORBA::Request IT_r (this, "cube_long",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r << l; - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - CORBA::Long IT_result; - IT_r >> IT_result; - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return 0; -} - -Cubit::Many Cubit:: cube_struct (const Cubit::Many& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::Many IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_struct",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::Many IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::Many IT_l1; - return IT_l1; - } -} - -Cubit::oneof Cubit:: cube_union (const Cubit::oneof& values, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - { - Cubit::oneof IT_l0; - return IT_l0; - } - } - CORBA::Request IT_r (this, "cube_union",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - values.encodeOp (IT_r); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit::oneof IT_result; - IT_result.decodeOp (IT_r); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - { - Cubit::oneof IT_l1; - return IT_l1; - } -} - -void Cubit:: please_exit (CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return ; - } - CORBA::Request IT_r (this, "please_exit",IT_env,1,1); - - IT_r.invoke (CORBA::Flags(CORBA::INV_NO_RESPONSE), IT_env); - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } -} - - - - - -#ifndef Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit"); - return 0; -} - -#endif - -Cubit_Factory::Cubit_Factory (char *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} -Cubit_Factory::Cubit_Factory (ObjectReference *IT_OR) { - m_pptr = new Cubit_Factory_dispatch (IT_OR, this,(CORBA::Object*)this); -} - -#ifndef Cubit_FactoryForwC -#define Cubit_FactoryForwC -CORBA::ObjectRef Cubit_Factory_getBase(void *IT_p){ - return (Cubit_Factory*) IT_p;} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - CORBA::release(IT_p, IT_env);} - -void Cubit_Factory_release (Cubit_Factory_ptr IT_p) { - Cubit_Factory_release (IT_p, CORBA::IT_chooseDefaultEnv ()); } - -Cubit_Factory_ptr Cubit_Factory_nil (CORBA::Environment &) { - return Cubit_Factory:: _nil ();} - -Cubit_Factory_ptr Cubit_Factory_nil () { - return Cubit_Factory_nil (CORBA::IT_chooseDefaultEnv ());} - -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p, CORBA::Environment &IT_env) { - return (Cubit_Factory::_duplicate(IT_p, IT_env)); } -Cubit_Factory_ptr Cubit_Factory_duplicate (Cubit_Factory_ptr IT_p) { - return Cubit_Factory_duplicate (IT_p, CORBA::IT_chooseDefaultEnv ()); } -#endif - -Cubit_Factory_ptr Cubit_Factory::_duplicate(Cubit_Factory_ptr obj, CORBA::Environment& IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (!obj) { - return (obj); - } - Cubit_Factory_ptr IT_obj = obj->__duplicate (IT_env); - return IT_obj; -} - - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - const CORBA::Context &IT_c, - CORBA::Environment &IT_env) { - return (Cubit_Factory*)CORBA::Factory.New (IT_markerServer, IT_env, IT_c, host, - Cubit_Factory_IMPL, Cubit_Factory_IR); -} - - - -Cubit_Factory* Cubit_Factory:: _bind (CORBA::Environment &IT_env) { - return _bind (NULL,NULL,CORBA::Context(), IT_env); } - - -Cubit_Factory* Cubit_Factory:: _bind (const char* IT_markerServer, const char* host, - CORBA::Environment &IT_env) { - return _bind (IT_markerServer, host, CORBA::Context (), IT_env); } -Cubit_Factory* Cubit_Factory::_narrow (CORBA::Object* IT_obj, CORBA::Environment &IT_pEnv) { - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (CORBA::is_nil (IT_obj)) { - return Cubit_Factory:: _nil(); - } - - Cubit_Factory* IT_p = (Cubit_Factory*)CORBA::Object::_castDown (IT_obj, Cubit_Factory_IR, IT_env); - IT_p = IT_p ? IT_p->__duplicate(IT_env) : NULL; - if ((IT_env) &&(!strcmp(IT_env.exception()->id(), "CORBA::StExcep::BAD_PARAM")) && (((CORBA::BAD_PARAM*)IT_env.exception())-> minor() == NARROW_FAILED)) { - IT_env.exception_free(); - } - return IT_p; - } - -void* Cubit_FactoryProxyFactoryClass::New (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -void* Cubit_FactoryProxyFactoryClass::New2 () { - return new class Cubit_Factory((char*)0);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (char *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::NewObject (ObjectReference *IT_OR, CORBA::Environment&) { - return new class Cubit_Factory(IT_OR);} - -CORBA::Object* Cubit_FactoryProxyFactoryClass::New2Object () { - return new class Cubit_Factory((char*)0);} - -void* Cubit_FactoryProxyFactoryClass::IT_castUp (void *IT_p, char* IT_s, CORBA::Environment &IT_env) { - void *IT_l; - if (!CORBA::_interfaceCmp (IT_s,Cubit_Factory_IR, IT_env)) - return IT_p; - else if (IT_l=CORBA::ObjectFactoryClass::IT_castUp((CORBA::Object*)((class Cubit_Factory*)IT_p),IT_s, IT_env)) - return IT_l; - else return NULL; - } - - -CORBA::PPTR* Cubit_FactoryProxyFactoryClass::pptr (void *IT_p) { - return ((class Cubit_Factory*)IT_p)->_pptr ();} - -void Cubit_FactoryProxyFactoryClass::baseInterfaces (_IDL_SEQUENCE_string& seq) { - add (seq, Cubit_Factory_IR); - CORBA::ObjectFactoryClass::baseInterfaces (seq); -} - -Cubit_FactoryProxyFactoryClass Cubit_FactoryProxyFactory(1); - -Cubit_ptr Cubit_Factory:: create_cubit (const char * name, CORBA::Environment &IT_pEnv) throw (CORBA::SystemException) { - - CORBA::EnvExcRaiser IT_raise; - CORBA::Environment &IT_env = IT_raise.registerEnv (&IT_pEnv); - if (IT_env || m_isNull) { - return new Cubit; - } - CORBA::Request IT_r (this, "create_cubit",IT_env,1,0); - if (!IT_r.isException (IT_env)) { - - IT_r.encodeStringOp (name); - } - - IT_r.invoke (CORBA::Flags(0),IT_env); - if (!IT_r.isException (IT_env)) { - Cubit_ptr IT_result; - IT_result = (Cubit*) IT_r.decodeObjRef (Cubit_IR); - IT_r.checkEnv (IT_env); - return IT_result; - } - if (IT_r.exceptionKind () == CORBA::SYSTEM_EXCEPTION) { - IT_r.checkEnv (IT_env); - } - return new Cubit; -} - - - - - -#ifndef Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char, void *) { - IT_r.makeRuntimeException1 ("Cubit_Factory"); - return 0; -} - -#endif - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/cubitS.cpp b/TAO/IIOP/tests/Cubit/Orbix/tps/cubitS.cpp deleted file mode 100644 index a2898e12914..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/cubitS.cpp +++ /dev/null @@ -1,282 +0,0 @@ - - -#include "cubit.h" - - -#define Cubit_dispatch_impl - -unsigned char Cubit_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"cube_octet")) { - CORBA::Octet IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_octet~+o{o},>{o},N{}\ -")) - return 1; - CORBA::Octet o; - - IT_r.extractOctet (o); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_octet ( o, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -o\ -", IT_env)) return 1; - IT_r.insertOctet (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_short")) { - CORBA::Short IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_short~+s{s},>{s},N{}\ -")) - return 1; - CORBA::Short s; - - IT_r >> s; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_short ( s, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -s\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_long")) { - CORBA::Long IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_long~+l{l},>{l},N{}\ -")) - return 1; - CORBA::Long l; - - IT_r >> l; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_long ( l, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -l\ -", IT_env)) return 1; - IT_r << IT_result; - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_struct")) { - Cubit::Many IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~cube_struct~+values{R~Cubit::Many~o{o},l{l},s{s}},>{R~Cubit::Many~o{o},l{l},s{s}},N{}\ -")) - return 1; - Cubit::Many values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_struct ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -R~Cubit::Many~o{o},l{l},s{s}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"cube_union")) { - Cubit::oneof IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - IT_r.tcPreAssert ( -"\ -Ro~cube_union~+values{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},>{U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,\ -"); - if (!IT_r.tcAssert ("\ -e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}},N{}\ -")) - return 1; - Cubit::oneof values; - - values.decodeOp (IT_r); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit*)IT_pp)->cube_union ( values, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -U~Cubit::oneof~{E~Cubit::discrim~e_0th,e_1st,e_2nd,e_3rd,e_4th,e_5th}~Cubit::e_0th o{o};Cubit::e_1st s{s};Cubit::e_2nd l{l};Cubit::e_3rd,$ cm{R~Cubit::Many~o{o},l{l},s{s}}\ -", IT_env)) return 1; - IT_result.encodeOp (IT_r); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (!strcmp(IT_s,"please_exit")) { - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~please_exit~>{v},O{}\ -")) - return 1; - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - ((Cubit*)IT_pp)->please_exit (IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - IT_r.replyNoResults (CORBA::Flags(CORBA::INV_NO_RESPONSE),IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#define Cubit_Factory_dispatch_impl - -unsigned char Cubit_Factory_dispatch::dispatch (CORBA::Request &IT_r, - unsigned char IT_isTarget, void *IT_pp) { - if (!IT_pp) - IT_pp = m_obj; - const char *IT_s = IT_r.getOperation (); - if (!strcmp(IT_s,"create_cubit")) { - Cubit_ptr IT_result; - CORBA::Environment IT_env (IT_r); - CORBA::Filter* IT_f = CORBA::Orbix.getFilter (); - if (!IT_r.tcAssert ("\ -Ro~create_cubit~+name{0},>{O~Cubit},N{}\ -")) - return 1; - char * name; - - IT_r.decodeStringOp(name); - - if (IT_f && !IT_r.isException (IT_env)) - IT_f->inRequestPostM (IT_r, IT_env); - if (!IT_r.isException (IT_env)) { - try { - IT_result = ((Cubit_Factory*)IT_pp)->create_cubit ( name, IT_env); - - } catch (CORBA::SystemException &IT_exSys) { - IT_env.propagate (&IT_exSys); - } catch (CORBA::UserException &IT_exUsr) { - IT_env.propagate (&IT_exUsr); - } - } - CORBA::string_free (name); - - if (!IT_r.isException (IT_env)) { - if (!IT_r.convertToReply ("\ -O~Cubit\ -", IT_env)) return 1; - { - CORBA::Object* IT_l1 = (CORBA::Object*) IT_result; - IT_r << IT_l1; - } - if (IT_result) Cubit_release (IT_result); - } - - else IT_r.makeSystemException (IT_env); - return 1; - } - - if (IT_isTarget) - IT_r.makeRuntimeException2 (); - - return 0; -} - -#include "cubitC.cpp" - diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.cpp b/TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.cpp deleted file mode 100644 index 27ee125e4df..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.cpp +++ /dev/null @@ -1,81 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o, CORBA::Environment &) throw (CORBA::SystemException) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s, CORBA::Environment &) throw (CORBA::SystemException) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l, CORBA::Environment &) throw (CORBA::SystemException) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values, CORBA::Environment &) throw (CORBA::SystemException) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values, CORBA::Environment &) throw (CORBA::SystemException) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit (CORBA::Environment &) throw (CORBA::SystemException) { -} - -Cubit_ptr Cubit_Factory_Impl:: create_cubit (const char * name, CORBA::Environment &) throw (CORBA::SystemException) { - cerr << "Creating Cubit for " << name << endl; - -#ifdef Cubit_USE_BOA - Cubit_Impl_Task *cubit = new Cubit_Impl_Task (); -#else - Cubit_Impl_Task *cubit = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl_Task); -#endif - Cubit::_duplicate ((Cubit *)cubit); - cubit->activate (1); - return (Cubit *) cubit; -} - -int -Cubit_Impl_Task::svc (void) -{ - while (1) - { - // Dequeue message - ACE_Message_Block *mb; - this->msg_queue ()->dequeue_head (mb); - CORBA::Request *vp = (CORBA::Request *) mb->base (); - mb->release (); - // Hand it off to Orbix - CORBA::Orbix.continueThreadDispatch (*vp); - } - return 0; -} - -void * -Cubit_Impl_Task::_deref (void) -{ - return this; -} diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.h b/TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.h deleted file mode 100644 index 31a8874f07b..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/cubit_impl.h +++ /dev/null @@ -1,46 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubit.h" -#include "ace/Task.h" - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ -public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - -}; - -#ifdef Cubit_USE_BOA -class Cubit_Factory_Impl : public virtual Cubit_FactoryBOAImpl { -#else -class Cubit_Factory_Impl { -#endif - -public: - virtual Cubit_ptr create_cubit (const char * name, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; - -class Cubit_Impl_Task : public virtual Cubit_Impl, public virtual ACE_Task { -public: - // For ACE_Task - int svc (void); - // for narrowing - virtual void *_deref (); -}; - -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) -DEF_TIE_Cubit_Factory (Cubit_Factory_Impl) -#endif /* Cubit_USE_BOA */ - -#endif diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/tps.cpp b/TAO/IIOP/tests/Cubit/Orbix/tps/tps.cpp deleted file mode 100644 index 1035f1e503f..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/tps.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "tps.h" - -int -TPS_Filter::inRequestPreMarshal(CORBA::Request &r, CORBA::Environment& env) -{ - // Get target - CORBA::Object_ptr obj = r.target (); - Cubit * cb = Cubit::_narrow (obj, env); - - if (env) // Not for our object!! - return 1; // continue in the same thread - - // Enqueue the request - Cubit_Impl_Task *ct; - if (CORBA::is_nil (cb)) - return 1; - ct = (Cubit_Impl_Task *) DEREF(cb); - if (ct) { - ACE_Message_Block *mb = new ACE_Message_Block ( (char *) (&r)); - ct->msg_queue ()->enqueue (mb); - } - // Done - return -1; -} - -TPS_Filter tps_filter; diff --git a/TAO/IIOP/tests/Cubit/Orbix/tps/tps.h b/TAO/IIOP/tests/Cubit/Orbix/tps/tps.h deleted file mode 100644 index 272bc90f20d..00000000000 --- a/TAO/IIOP/tests/Cubit/Orbix/tps/tps.h +++ /dev/null @@ -1,11 +0,0 @@ -#include "cubit.h" -#include "cubit_impl.h" -#include "ace/Service_Config.h" -#include "ace/Thread_Manager.h" -#include "ace/Task.h" - -class TPS_Filter : public ACE_Task, public CORBA::ThreadFilter -{ -public: - virtual int inRequestPreMarshal(CORBA::Request &, CORBA::Environment&); -}; diff --git a/TAO/IIOP/tests/Cubit/README b/TAO/IIOP/tests/Cubit/README deleted file mode 100644 index 5eaf42ec2e3..00000000000 --- a/TAO/IIOP/tests/Cubit/README +++ /dev/null @@ -1,7 +0,0 @@ - Cubit - -This is the example from the SunSoft's IIOP 1.4 distribution modified -to work with TAO. There is a Cubit example for Orbix and -VisiBroker. - -Benchmarking results are under results and tnf directories. diff --git a/TAO/IIOP/tests/Cubit/TAO/Makefile b/TAO/IIOP/tests/Cubit/TAO/Makefile deleted file mode 100644 index 8883d4b52a8..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/Makefile +++ /dev/null @@ -1,121 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the ACE-ified Sun Ref. implementation -# of IIOP ORB -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lcorba - -PROG_SRCS = svr.cpp clnt.cpp cubit.cpp \ - test1.cpp test1_clnt.cpp test1_svr.cpp \ - echo_clnt.cpp echo_svr.cpp - -LSRC = $(PROG_SRCS) - -CUBIT_SVR_OBJS = svr.o cubit_i.o cubitS.o -CUBIT_CLT_OBJS = clnt.o cubitC.o - -BASIC_SVR_OBJS = test1.o test1_svr.o -BASIC_CLT_OBJS = test1.o test1_clnt.o - -ECHO_SVR_OBJS = test1.o echo_svr.o -ECHO_CLT_OBJS = test1.o echo_clnt.o - -BIN = svr clnt test1_svr test1_clnt -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.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -# Local modifications to variables imported by includes above. -LDFLAGS += -L../../../proto/lib -CPPFLAGS += -I../../../proto/include -DUSE_ACE_EVENT_HANDLING -DDEBUG - -svr: $(addprefix $(VDIR),$(CUBIT_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -clnt: $(addprefix $(VDIR),$(CUBIT_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -test1_svr: $(addprefix $(VDIR),$(BASIC_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -test1_clnt: $(addprefix $(VDIR),$(BASIC_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -######## -# Sanity check builds by running basic functionality tests. -# -# "sleep 5" in the server startup is usually enough to get the -# objref into the file so the client can read it. -# -check: $(TESTS) - @echo "testing with 'cube' calls, stub + DII, IOR strings" - @./svr -i30 -o non-internet > obj.1 & sleep 5 - @./clnt -n250 -O `cat obj.1` -x - @echo '' - @echo "testing request forwarding with 'cube' calls, stub + DII" - @./svr -f -i30 > obj.2 & sleep 5 - @./clnt -n250 -O `cat obj.2` -x - @echo '' - @echo "testing transmission of primitive data types" - @./test1_svr -i30 > obj.3 & sleep 5 - @./test1_clnt -n50 -O `cat obj.3` -x - @echo '' -# @echo "testing echo of primitive data values" -# @./echo_svr -i30 > obj.4 & sleep 5 -# @./echo_clnt -O `cat obj.4` -x -# @echo '' - @echo "testing with 'cube' calls, MT-ized (no forwarding)" - @./svr -t -i30 -o non-internet > obj.5 & sleep 5 - @./clnt -n250 -O `cat obj.5` -x - @echo '' - -ifdef LOCALRULES -######## -# CUBIT test -svr: svr.o cubit.o - $(LINK.cc) -o svr svr.o cubit.o $(LDLIBS) $(POSTLINK) -clnt: cubit.o clnt.o - $(LINK.cc) -o clnt clnt.o cubit.o $(LDLIBS) $(POSTLINK) - -######## -# BASIC DATATYPES test -test1_clnt: test1.o test1_clnt.o - $(LINK.cc) -o test1_clnt test1_clnt.o test1.o $(LDLIBS) $(POSTLINK) -test1_svr: test1.o test1_svr.o - $(LINK.cc) -o test1_svr test1_svr.o test1.o $(LDLIBS) $(POSTLINK) - -######## -# ECHO test ... "test1" where the operation semantics are violated; -# this aids some porting work, but is a less rigorous test -echo_clnt: test1.o echo_clnt.o - $(LINK.cc) -o echo_clnt echo_clnt.o test1.o $(LDLIBS) $(POSTLINK) -echo_svr: test1.o echo_svr.o - $(LINK.cc) -o echo_svr echo_svr.o test1.o $(LDLIBS) $(POSTLINK) -endif - -clean: - -rm -rf *.o Log $(BIN) obj.* core Templates.DB .make.state - -install: - -@echo "Nothing to install, these are tests!" - - - - - diff --git a/TAO/IIOP/tests/Cubit/TAO/clnt.cpp b/TAO/IIOP/tests/Cubit/TAO/clnt.cpp deleted file mode 100644 index f0249489889..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/clnt.cpp +++ /dev/null @@ -1,508 +0,0 @@ -// @(#)clnt.cpp 1.2 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: Simple "cube" client, calling hand-crafted stubs. -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include -//#include - -#if unix -# include -# include - -#elif defined (VXWORKS) -# include -# include - -#else // windows - -#endif // unix - -#include "cubitC.h" - -#include - - -#if !defined (_WIN32) -extern char *optarg; // missing on some platforms -#endif - -inline int func (unsigned i) { return i - 117; } - -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - - -// -// forward declarations -// -static void cube_union_stub(unsigned, unsigned&, unsigned&, - CORBA_Object_ptr, CORBA_Environment &); - -static void cube_union_dii(unsigned &, unsigned &, - CORBA_Object_ptr, CORBA_Environment &); - -// Global variables -const char* TAO_arg_ior = 0; -unsigned loop_count = 1; -int exit_later = 0; - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_Get_Opt opts (argc, argv, "dn:O:x"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - - case 'd': // debug flag - TAO_debug_level++; - continue; - - case 'n': // loop count - loop_count = (unsigned) ACE_OS::atoi (opts.optarg); - continue; - - case 'O': // stringified objref - { - TAO_arg_ior = ACE_OS::strdup(opts.optarg); - } - continue; - - case 'x': - exit_later++; - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-n loopcount]" - " [-O objref]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - -int -main (int argc, char *argv[]) -{ - CORBA_ORB_ptr orb_ptr; - CORBA_Object_ptr objref = CORBA_Object::_nil(); - CORBA_Environment env; - - orb_ptr = CORBA_ORB_init(argc, argv, "internet", env); - if (env.exception() != 0) - { - print_exception(env.exception(), "ORB initialization"); - return 1; - } - - // - // Parse command line and verify parameters. - // - parse_args(argc, argv); - - if (TAO_arg_ior == 0) - ACE_ERROR_RETURN((LM_ERROR, "%s: must specify an object reference using -O \n", argv[0]), 1); - - objref = orb_ptr->string_to_object ((CORBA_String)TAO_arg_ior, env); - - ACE_OS::free((void*)TAO_arg_ior); - TAO_arg_ior = 0; - - if (env.exception () != 0) - { - print_exception (env.exception (), "string2object"); - return 1; - } - - if (CORBA_is_nil (objref) == CORBA_B_TRUE) - ACE_ERROR_RETURN((LM_ERROR, "%s: must identify non-null target objref\n", argv [0]), 1); - - // Narrow the CORBA_Object reference to the stub object, checking - // the type along the way using _is_a - Cubit_ptr aCubit = Cubit::_narrow(objref); - if (aCubit == 0) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to narrow object reference to a Cubit_ptr.\n"), 1); - - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - ACE_Time_Value before, after; - - before = ACE_OS::gettimeofday(); - - for (i = 0; i < loop_count; i++) - { - // - // Cube an octet. - // - CORBA_Octet arg_octet, ret_octet; - - call_count++; - ret_octet = aCubit->Cubit_cube_octet (arg_octet = func (i), env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_octet"); - error_count++; - } - else - { - dmsg2 ("cube octet: %d --> %d\n", arg_octet, ret_octet); - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - ACE_OS::printf ("** cube_octet(%d) ERROR (--> %d)\n", - (CORBA_Octet) func (i), ret_octet); - error_count++; - } - } - - // - // Cube a short. - // - CORBA_Short arg_short, ret_short; - - call_count++; - ret_short = aCubit->Cubit_cube_short (arg_short = func (i), env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_short"); - error_count++; - } - else - { - dmsg2 ("cube short: %d --> %d\n", arg_short, ret_short); - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) - { - ACE_OS::printf ("** cube_short(%d) ERROR (--> %d)\n", - (CORBA_Short) func (i), ret_short); - error_count++; - } - } - - // - // Cube a long. - // - CORBA_Long arg_long, ret_long; - - call_count++; - ret_long = aCubit->Cubit_cube_long (arg_long = func (i), env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_long"); - error_count++; - } - else - { - dmsg2 ("cube long: %d --> %d\n", arg_long, ret_long); - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - ACE_OS::printf ("** cube_long(%ld) ERROR (--> %ld)\n", - (CORBA_Long) func (i), ret_long); - error_count++; - } - } - - // - // Cube a "struct" ... - // - Cubit_Many arg_struct, *ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - ret_struct = aCubit->Cubit_cube_struct (arg_struct, env); - if (env.exception () != 0) - { - print_exception (env.exception (), "from cube_struct"); - error_count++; - } - else - { - dmsg ("cube struct ..."); - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o; - - if (arg_struct.l != ret_struct->l - || arg_struct.s != ret_struct->s - || arg_struct.o != ret_struct->o) - { - ACE_OS::printf ("** cube_struct ERROR\n"); - error_count++; - } - delete ret_struct; - } - - } - - after = ACE_OS::gettimeofday(); - - if (call_count > 0) - { - if (error_count == 0) - { - ACE_Time_Value diff = after - before; - unsigned long us = diff.sec() * 1000 * 1000 + diff.usec(); - - us /= call_count; - - if (us > 0) - ACE_OS::printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - ACE_OS::printf ("%d calls, %d errors\n", call_count, error_count); - } - - // - // Simple test for DII: call "cube_struct". (It's not timed - // since the copious mallocation of DII would bias numbers against - // typical stub-based calls.) - // - do { - // - // Create the request ... - // - CORBA_Request_ptr req; - - req = objref->_request ((const CORBA_String) "cube_struct", env); - if (env.exception () != 0) { - print_exception (env.exception (), "DII request create"); - break; - } - - // - // ... initialise the argument list and result ... - // - Cubit_Many arg, *result; - - arg.o = 3; arg.l = 5; arg.s = -7; - - CORBA_Any tmp_arg (TC_Cubit_Many, &arg, CORBA_B_FALSE); - - req->arguments ()->add_value (0, tmp_arg, CORBA_ARG_IN, env); - if (env.exception () != 0) { - print_exception (env.exception (), "DII request arg add"); - CORBA_release (req); - break; - } - - req->result ()->value () - ->replace (TC_Cubit_Many, 0, CORBA_B_TRUE, env); - if (env.exception () != 0) { - print_exception (env.exception (), "DII request result type"); - CORBA_release (req); - break; - } - - // - // Make the invocation, verify the result - // - req->invoke (); - if (req->env ()->exception () != 0) { - print_exception (req->env ()->exception (), "DII invoke"); - CORBA_release (req); - break; - } - - result = (Cubit_Many *) req->result ()->value ()->value (); - - if (result->o != 27 || result->l != 125 || result->s != -343) - ACE_OS::fprintf (stderr, "DII cube_struct -- bad results\n"); - else - dmsg ("DII cube_struct ... success!!"); - - CORBA_release (req); - - } while (0); - - // - // Two more tests, using the "cube_union" function - // - cube_union_dii(call_count, error_count, objref, env); - if (env.exception () != 0) - error_count++; - - cube_union_stub(i, call_count, error_count, objref, env); - if (env.exception () != 0) - error_count++; - - if (exit_later) { - aCubit->Cubit_please_exit (env); - dexc (env, "server, please ACE_OS::exit"); - } - - CORBA_release (objref); - - return (error_count == 0) ? 0 : 1; -} - - -static void -cube_union_stub(unsigned i, - unsigned &call_count, - unsigned &error_count, - CORBA_Object_ptr objref, - CORBA_Environment &env) -{ - Cubit_ptr aCubit = Cubit::_narrow(objref); - // - // Cube a "union" ... - // - Cubit_oneof u, *r; - - call_count++; - - u._disc = e_2nd; - u.l = 3; - - r = aCubit->Cubit_cube_union (u, env); - if (env.exception () != 0) { - print_exception (env.exception (), "from cube_union"); - error_count++; - } else { - dmsg ("cube union ..."); - u.l = u.l * u.l * u.l ; - - if (u.l != r->l) { - ACE_OS::printf ("** cube_union ERROR\n"); - error_count++; - } - - delete r; - } - - // - // Cube another "union" which uses the default arm ... - // - call_count++; - - u._disc = e_5th; - u.cm.l = func (i); - u.cm.s = func (i); - u.cm.o = func (i); - - u.cm.l = 7; - u.cm.s = 5; - u.cm.o = 3; - - r = aCubit->Cubit_cube_union (u, env); - if (env.exception () != 0) { - print_exception (env.exception (), "from cube_union"); - error_count++; - } else { - dmsg ("cube union ..."); - u.cm.l = u.cm.l * u.cm.l * u.cm.l; - u.cm.s = u.cm.s * u.cm.s * u.cm.s; - u.cm.o = u.cm.o * u.cm.o * u.cm.o; - - if (u.cm.l != r->cm.l - || u.cm.s != r->cm.s - || u.cm.o != r->cm.o) { - ACE_OS::printf ("** cube_union ERROR\n"); - error_count++; - } - - delete r; - } -} - - -static void -cube_union_dii (unsigned &call_count, - unsigned &error_count, - CORBA_Object_ptr objref, - CORBA_Environment &env) -{ - // - // Create the request ... - // - CORBA_Request_ptr req; - - call_count++; - - req = objref->_request ((const CORBA_String) "cube_union", env); - if (env.exception () != 0) { - error_count++; - - print_exception (env.exception (), "cube_union_dii request create"); - return; - } - - // - // ... initialise the argument list and result ... - // - Cubit_oneof u, *r; - - u._disc = e_3rd; - u.cm.l = 5; - u.cm.s = -7; - u.cm.o = 3; - - CORBA_Any tmp_arg (TC_Cubit_oneof, &u, CORBA_B_FALSE); - - req->arguments ()->add_value (0, tmp_arg, CORBA_ARG_IN, env); - if (env.exception () != 0) { - error_count++; - print_exception (env.exception (), "cube_union_dii request arg add"); - CORBA_release (req); - return; - } - - req->result ()->value ()->replace (TC_Cubit_oneof, 0, CORBA_B_TRUE, env); - if (env.exception () != 0) { - error_count++; - print_exception (env.exception (), "cube_union_dii result type"); - CORBA_release (req); - return; - } - - // - // Make the invocation, verify the result - // - req->invoke (); - if (req->env ()->exception () != 0) { - error_count++; - print_exception (req->env ()->exception (),"cube_union_dii invoke"); - CORBA_release (req); - return; - } - - r = (Cubit_oneof *) req->result ()->value ()->value (); - - if (r->cm.o != 27 || r->cm.l != 125 || r->cm.s != -343) { - error_count++; - ACE_OS::fprintf (stderr, "cube_union_dii -- bad results\n"); - } - else - dmsg ("cube_union_dii ... success!!"); - - CORBA_release (req); -} diff --git a/TAO/IIOP/tests/Cubit/TAO/cubit.cpp b/TAO/IIOP/tests/Cubit/TAO/cubit.cpp deleted file mode 100644 index d232de8eee8..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubit.cpp +++ /dev/null @@ -1,576 +0,0 @@ -// @(#)cubit.cpp 1.2 95/09/29 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written C-style "Cubit" stubs and "skeletons" -// -// NOTE: these "skeletons" are really the methods, using DSI. No real -// ORB would be implemented in this particular way. Several things would -// be more typical of real (static) skeletons: -// -// * Most of the "in" (and much of the "out") parameter data would -// be preallocated on the stack, not heap allocated. (Static -// preallocation doesnt' really work in a multithreaded system, -// and moreover can waste a lot of space.) -// -// * The ORB core wouldn't be told about parameters using heap -// allocated data structures (e.g. NVList). -// -// * Skeletons would need to some kind of "marshal the response NOW" -// API so that stack-allocated "out" values wouldn't become invalid -// up until they were safely marshaled. -// -// * They'd handle exceptions rather than just generating debugging -// messages when they happen. -// -// * Method code would be called by the skeletons, not written as -// part of the "skeleton" itself! -// -// A key part of turning this code into a complete ORB would be to ensure -// that skeletons were always efficient and correct. They might not need -// to be sharable between different implementations of the same OMG-IDL -// object interface, but many ORBs choose to be structured that way. -// - -#include "cubit.h" // for stubs ... -#include // ... and skeletons - -#include // ... and debugging - - -// -// CUBE OCTET -// - -static const TAO_Param_Data Cubit_cube_octet_params [] = { - { _tc_CORBA_Octet, PARAM_RETURN, 0 }, - { _tc_CORBA_Octet, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_octet_calldata = { - "cube_octet", CORBA_B_TRUE, - 2, &Cubit_cube_octet_params [0], - 0, 0 -}; - - -CORBA_Octet -Cubit_cube_octet ( - Cubit_ptr target, - CORBA_Octet o, - CORBA_Environment &env -) -{ - CORBA_Octet retval = 0; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &Cubit_cube_octet_calldata, - &retval, &o); - data->Release (); - } - return retval; -} - -static void -_cube_octet_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_Octet); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_octet, add value"); - - req.params (nvlist, env); - dexc (env, "cube_octet, get params"); - - CORBA_Octet* value = new CORBA_Octet; - - *value = *(CORBA_Octet *)nv->value ()->value (); - // dmsg1 ("cube octet, parameter '%d'", *value); - *value = (CORBA_Octet) ((*value) * (*value) * (*value)); - // dmsg1 ("cube octet, result '%d'", *value); - - CORBA_Any* any = - new CORBA_Any (_tc_CORBA_Octet, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_octet, result"); -} - - -// -// CUBE SHORT -// - -static const TAO_Param_Data Cubit_cube_short_params [] = { - { _tc_CORBA_Short, PARAM_RETURN, 0 }, - { _tc_CORBA_Short, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_short_calldata = { - "cube_short", CORBA_B_TRUE, - 2, &Cubit_cube_short_params [0], - 0, 0 -}; - - -CORBA_Short -Cubit_cube_short (Cubit_ptr target, - CORBA_Short s, - CORBA_Environment &env) -{ - CORBA_Short retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &Cubit_cube_short_calldata, - &retval, &s); - data->Release (); - } - return retval; -} - -static void -_cube_short_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_Short); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_short, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_short, get params"); - - CORBA_Short* value = new CORBA_Short; - - *value = *(CORBA_Short *)nv->value ()->value (); - // dmsg1 ("cube short, parameter '%d'", *value); - *value =(CORBA_Short) ((*value) * (*value) * (*value)); - // dmsg1 ("cube short, result '%d'", *value); - - CORBA_Any* any = - new CORBA_Any (_tc_CORBA_Short, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_short, result"); -} - - -// -// CUBE LONG -// - -static const TAO_Param_Data Cubit_cube_long_params [] = { - { _tc_CORBA_Long, PARAM_RETURN, 0 }, - { _tc_CORBA_Long, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_long_calldata = { - "cube_long", CORBA_B_TRUE, - 2, &Cubit_cube_long_params [0], - 0, 0 -}; - - -CORBA_Long -Cubit_cube_long (Cubit_ptr target, - CORBA_Long l, - CORBA_Environment &env) -{ - CORBA_Long retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else - { - data->do_call (env, &Cubit_cube_long_calldata, - &retval, &l); - data->Release (); - } - return retval; -} - - -static void -_cube_long_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_Long); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_long, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_long, get params"); - - CORBA_Long* value = new CORBA_Long; - - *value = *(CORBA_Long *)nv->value ()->value (); - // dmsg1 ("cube long, parameter '%d'", *value); - *value = (*value) * (*value) * (*value); - // dmsg1 ("cube long, result '%d'", *value); - - CORBA_Any* any = - new CORBA_Any (_tc_CORBA_Long, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_long, result"); -} - -// -// Encapsulated parameters for struct "Cubit_Many" typecode. -// None of these parameters is complicated, so this is just -// a linear sequence of element encodings -// -// NOTE: it's important that this be longword aligned!! -// -static const CORBA_Long _oc_Cubit_Many [] = { - 1, // byte order flag (TRICKY!) - - 1, 0, // empty string: repository/type ID - 1, 0, // empty string: struct name - - 3, // three struct elements - - // First structure element: name, typecode for Octet - 1, 0, // empty string: name "o" - tk_octet, - - // Second structure element: name, typecode for Long - 1, 0, // empty string: name "l" - tk_long, - - // Third structure element: name, typecode for Short - 1, 0, // empty string: name "s" - tk_short, -}; - -static CORBA_TypeCode _tc_Cubit_Many (tk_struct, - sizeof _oc_Cubit_Many, (unsigned char *) &_oc_Cubit_Many, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_Many = &_tc_Cubit_Many; - - -// -// CUBE STRUCT -// - -static const TAO_Param_Data Cubit_cube_struct_params [] = { - { &_tc_Cubit_Many, PARAM_RETURN, sizeof (Cubit_Many) }, - { &_tc_Cubit_Many, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_struct_calldata = { - "cube_struct", CORBA_B_TRUE, - 2, &Cubit_cube_struct_params [0], - 0, 0 -}; - -Cubit_Many * -Cubit_cube_struct (Cubit_ptr target, - Cubit_Many &values, - CORBA_Environment &env) -{ - Cubit_Many *retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else - { - data->do_call (env, &Cubit_cube_struct_calldata, - &retval, &values); - data->Release (); - } - return retval; -} - - -static void -_cube_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_Many); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_struct, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_struct, get params"); - - Cubit_Many *value; - Cubit_Many *retval = new Cubit_Many; - - value = (Cubit_Many *)nv->value ()->value (); - - retval->o = (CORBA_Octet) (value->o * value->o * value->o); - retval->s = (CORBA_Short) (value->s * value->s * value->s); - retval->l = value->l * value->l * value->l; - - // dmsg2 ("cube struct.o, %d -> %d", value->o, retval->o); - // dmsg2 ("cube struct.s, %d -> %d", value->s, retval->s); - // dmsg2 ("cube struct.l, %d -> %d", value->l, retval->l); - - CORBA_Any *any = - new CORBA_Any (TC_Cubit_Many, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - -// -// CUBE UNION -// - -// -// NOTE: not all union typecodes can be encoded as an array -// of "long "values, but this one can. Ones with discriminants -// that are one or two bytes long can't easily be coded portably. -// -// The benefit of doing it as an array of "long" values is -// twofold: (a) easier to read; (b) on most systems it's then -// adequately aligned for the typecode interpreter to use, so -// no additional runtime copy needs to be made. -// -static const CORBA_Long _oc_Cubit_oneof [] = { - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "oneof" - - // - // discriminant typecode: - // - tk_enum, // tk_enum - 72, // encapsulation length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted enum name, "discrim" - 6, // 5 elements in the enum - - 1, 0, // omitted member name, "e_0th" - 1, 0, // omitted member name, "e_1st" - 1, 0, // omitted member name, "e_2nd" - 1, 0, // omitted member name, "e_3rd" - 1, 0, // omitted member name, "e_4th" - 1, 0, // omitted member name, "e_5th" - - 4, // default member index (zero based) - 5, // number of union members - - // the 1st union branch arm - e_0th, // member label value - 1, 0, // omitted member name, "o" - tk_octet, // member typecode - - // the 2nd union branch arm - e_1st, // member label value - 1, 0, // omitted member name, "s" - tk_short, // member typecode - - // the 3rd union branch arm - e_2nd, // member label value - 1, 0, // omitted member name, "l" - tk_long, // member typecode - - // the 4th union branch arm - e_3rd, // member label value - 1, 0, // omitted member name, "cm" - - // the 4th union member typecode - tk_struct, // tk_struct - 60, // encap length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "Many" - 3, // three struct members - - // First structure element - 1, 0, // omitted member name, "o" - tk_octet, // member type, tk_octet - - // Second structure element - 1, 0, // omitted member name, "l" - tk_long, // member type, tk_long - - // Third structure element - 1, 0, // omitted member name, "s" - tk_short, // member type, tk_short - - // the 5th union branch arm - 4, // the 5th member label value - 1, 0, // omitted member name, "cm" - ~0, // indirected typecode (~0) - -84 // offset to struct "Many" typecode -}; - -static CORBA_TypeCode _tc_Cubit_oneof (tk_union, - (sizeof _oc_Cubit_oneof), (unsigned char *) &_oc_Cubit_oneof, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_oneof = &_tc_Cubit_oneof; - -static const TAO_Param_Data Cubit_cube_union_params [] = { - { &_tc_Cubit_oneof, PARAM_RETURN, sizeof (Cubit_oneof) }, - { &_tc_Cubit_oneof, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_union_calldata = { - "cube_union", CORBA_B_TRUE, - 2, &Cubit_cube_union_params [0], - 0, 0 -}; - -Cubit_oneof * -Cubit_cube_union (Cubit_ptr target, - Cubit_oneof &values, - CORBA_Environment &env) -{ - Cubit_oneof *retval; - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else - { - data->do_call (env, &Cubit_cube_union_calldata, - &retval, &values); - data->Release (); - } - return retval; -} - - -static void -_cube_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_oneof); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_union_3rd, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_union_3rd, get params"); - - Cubit_oneof *v; - Cubit_oneof *r = new Cubit_oneof; - - v = (Cubit_oneof *)nv->value ()->value (); - r->_disc = v->_disc; - - switch (v->_disc) { - case e_0th: - r->o = (CORBA_Octet) (v->o * v->o * v->o); - break; - - case e_1st: - r->s = (CORBA_Short) (v->s * v->s * v->s); - break; - - case e_2nd: - r->l = v->l * v->l * v->l; - break; - - case e_3rd: - default: - r->cm.o = (CORBA_Octet) (v->cm.o * v->cm.o * v->cm.o); - r->cm.s = (CORBA_Short) (v->cm.s * v->cm.s * v->cm.s); - r->cm.l = v->cm.l * v->cm.l * v->cm.l; - break; - } - - CORBA_Any *any = new CORBA_Any (TC_Cubit_oneof, r, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - - -// -// PLEASE EXIT -// - -static const TAO_Call_Data Cubit_please_exit_calldata = { - "please_exit", CORBA_B_FALSE, - 0, 0, - 0, 0 -}; - -void -Cubit_please_exit ( - Cubit_ptr target, - CORBA_Environment &env -) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &Cubit_please_exit_calldata - ); - data->Release (); - } -} - -static void -_please_exit_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - dmsg ("I've been asked to shut down..."); - req.oa ()->please_shutdown (env); - dexc (env, "please_exit, please_shutdown"); -} - - -const CORBA_Char *Cubit__id = (CORBA_Char *) - "IDL:Eng.SUN.COM/Cubit:1.1"; - - -// -// table of all operations, used by operation dispatch to get to the -// right skeleton ... could be sorted by the IDL compiler so bsearch -// is effective, perhaps with help from opname hashes and a small cache -// (e.g. like Obj-C?). for now, just lsearch. -// -const TAO_Skel_Entry Cubit_operations [] = { - { &Cubit_cube_octet_calldata, _cube_octet_skel }, - { &Cubit_cube_short_calldata, _cube_short_skel }, - { &Cubit_cube_long_calldata, _cube_long_skel }, - { &Cubit_cube_struct_calldata, _cube_struct_skel }, - { &Cubit_cube_union_calldata, _cube_union_skel }, - { &Cubit_please_exit_calldata, _please_exit_skel }, - { 0, 0 } // last entry -}; diff --git a/TAO/IIOP/tests/Cubit/TAO/cubit.h b/TAO/IIOP/tests/Cubit/TAO/cubit.h deleted file mode 100644 index 92dd6b381bd..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubit.h +++ /dev/null @@ -1,106 +0,0 @@ -// @(#)cubit.hh 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Hand-crafted C language binding glue ... -// -// This doesn't use C++ since doing the obvious derivation -// (all parent interfaces are virtual public parents) makes -// object references have different "views". That is, a -// pointer to a Cubit (i.e. a Cubit_ptr) would not have -// the same binary value as a pointer to a CORBA_Object -// (i.e. a CORBA_Object_ptr, generic objref). That'd -// mean lots of narrowing/widening/RTTI infrastructure. -// - -#ifndef _CUBIT_HH -#define _CUBIT_HH - -#ifdef _MSC_VER -#pragma pack (push, 1) // VC++, known padding rules -#endif // VC++ - -#include -#include - - -// -// C style binding -// - -typedef CORBA_Object Cubit; -typedef Cubit *Cubit_ptr, *CubitRef; - -extern CORBA_TypeCode_ptr TC_Cubit_Many; -extern CORBA_TypeCode_ptr TC_Cubit_oneof; - -struct Cubit_Many { - CORBA_Octet o; - CORBA_Long l; - CORBA_Short s; -}; - -enum Cubit_discrim {e_0th = 0, e_1st = 1, e_2nd = 2, - e_3rd = 3, e_4th = 4, e_5th = 5}; - -struct Cubit_oneof { - Cubit_discrim _disc; - - union { - CORBA_Octet o; - CORBA_Short s; - CORBA_Long l; - Cubit_Many cm; - }; -}; - -CORBA_Octet -Cubit_cube_octet ( - Cubit_ptr target, - CORBA_Octet o, - CORBA_Environment &env -); - -CORBA_Short -Cubit_cube_short ( - Cubit_ptr target, - CORBA_Short s, - CORBA_Environment &env -); - -CORBA_Long -Cubit_cube_long ( - Cubit_ptr target, - CORBA_Long l, - CORBA_Environment &env -); - -Cubit_Many * -Cubit_cube_struct ( - Cubit_ptr target, - Cubit_Many &values, - CORBA_Environment &env -); - -Cubit_oneof * -Cubit_cube_union ( - Cubit_ptr target, - Cubit_oneof &values, - CORBA_Environment &env -); - -void -Cubit_please_exit ( - Cubit_ptr target, - CORBA_Environment &env -); - -extern const CORBA_Char *Cubit__id; // type ID - -extern const TAO_Skel_Entry Cubit_operations []; - -#ifdef _MSC_VER -#pragma pack (pop) // VC++, go back to other padding rules -#endif // VC++ - -#endif // _CUBIT_HH diff --git a/TAO/IIOP/tests/Cubit/TAO/cubit.idl b/TAO/IIOP/tests/Cubit/TAO/cubit.idl deleted file mode 100644 index d9b38c34a2a..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. - -#pragma prefix "Eng.SUN.COM" -#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/TAO/cubitC.cpp b/TAO/IIOP/tests/Cubit/TAO/cubitC.cpp deleted file mode 100644 index 99416520c15..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubitC.cpp +++ /dev/null @@ -1,381 +0,0 @@ -// @(#)cubitC.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include "cubitC.h" // for stubs ... - -Cubit_ptr Cubit::_duplicate(Cubit_ptr obj) -{ - if (obj) - obj->AddRef(); - - return obj; -} - -Cubit_ptr Cubit::_narrow(CORBA_Object_ptr obj) -{ - CORBA_Environment env; - if (obj->_is_a("IDL:Cubit:1.0", env)) - { - STUB_Object *istub; - if (obj->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - return Cubit::_nil(); - } - Cubit_ptr new_obj = new Cubit(istub); - return Cubit::_duplicate(new_obj); - } - return Cubit::_nil(); -} - -Cubit_ptr Cubit::_nil() -{ - return (Cubit_ptr)NULL; -} - -// -// CUBE OCTET -// - -static const TAO_Param_Data Cubit_cube_octet_params [] = -{ - { _tc_CORBA_Octet, PARAM_RETURN, 0 }, - { _tc_CORBA_Octet, PARAM_IN, 0 } -}; - - -static const TAO_Call_Data Cubit_cube_octet_calldata = -{ - "cube_octet", CORBA_B_TRUE, - 2, &Cubit_cube_octet_params [0], - 0, 0 -}; - - -CORBA_Octet -Cubit::Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env) -{ - CORBA_Octet retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_octet_calldata, - &retval, &o); - istub->Release (); - - return retval; -} - - -// -// CUBE SHORT -// - -static const TAO_Param_Data Cubit_cube_short_params [] = -{ - { _tc_CORBA_Short, PARAM_RETURN, 0 }, - { _tc_CORBA_Short, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_short_calldata = -{ - "cube_short", CORBA_B_TRUE, - 2, &Cubit_cube_short_params [0], - 0, 0 -}; - - -CORBA_Short -Cubit::Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env) -{ - CORBA_Short retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call(env, &Cubit_cube_short_calldata, - &retval, &s); - - istub->Release (); - - return retval; -} - -// -// CUBE LONG -// - -static const TAO_Param_Data Cubit_cube_long_params [] = -{ - { _tc_CORBA_Long, PARAM_RETURN, 0 }, - { _tc_CORBA_Long, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_long_calldata = -{ - "cube_long", CORBA_B_TRUE, - 2, &Cubit_cube_long_params [0], - 0, 0 -}; - - -CORBA_Long -Cubit::Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env) -{ - CORBA_Long retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_long_calldata, - &retval, &l); - istub->Release (); - - return retval; -} - - -// -// Encapsulated parameters for struct "Cubit_Many" typecode. -// None of these parameters is complicated, so this is just -// a linear sequence of element encodings -// -// NOTE: it's important that this be longword aligned!! -// -static const CORBA_Long _oc_Cubit_Many [] = -{ - 1, // byte order flag (TRICKY!) - - 1, 0, // empty string: repository/type ID - 1, 0, // empty string: struct name - - 3, // three struct elements - - // First structure element: name, typecode for Octet - 1, 0, // empty string: name "o" - tk_octet, - - // Second structure element: name, typecode for Long - 1, 0, // empty string: name "l" - tk_long, - - // Third structure element: name, typecode for Short - 1, 0, // empty string: name "s" - tk_short, -}; - -static CORBA_TypeCode _tc_Cubit_Many (tk_struct, - sizeof _oc_Cubit_Many, (unsigned char *) &_oc_Cubit_Many, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_Many = &_tc_Cubit_Many; - - -// -// CUBE STRUCT -// - -static const TAO_Param_Data Cubit_cube_struct_params [] = -{ - { &_tc_Cubit_Many, PARAM_RETURN, sizeof (Cubit_Many) }, - { &_tc_Cubit_Many, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_struct_calldata = -{ - "cube_struct", CORBA_B_TRUE, - 2, &Cubit_cube_struct_params [0], - 0, 0 -}; - -Cubit_Many* -Cubit::Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env) -{ - Cubit_Many *retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_struct_calldata, - &retval, &values); - istub->Release (); - - return retval; -} - - -// -// CUBE UNION -// - -// -// NOTE: not all union typecodes can be encoded as an array -// of "long "values, but this one can. Ones with discriminants -// that are one or two bytes long can't easily be coded portably. -// -// The benefit of doing it as an array of "long" values is -// twofold: (a) easier to read; (b) on most systems it's then -// adequately aligned for the typecode interpreter to use, so -// no additional runtime copy needs to be made. -// -static const CORBA_Long _oc_Cubit_oneof [] = -{ - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "oneof" - - // - // discriminant typecode: - // - tk_enum, // tk_enum - 72, // encapsulation length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted enum name, "discrim" - 6, // 5 elements in the enum - - 1, 0, // omitted member name, "e_0th" - 1, 0, // omitted member name, "e_1st" - 1, 0, // omitted member name, "e_2nd" - 1, 0, // omitted member name, "e_3rd" - 1, 0, // omitted member name, "e_4th" - 1, 0, // omitted member name, "e_5th" - - 4, // default member index (zero based) - 5, // number of union members - - // the 1st union branch arm - e_0th, // member label value - 1, 0, // omitted member name, "o" - tk_octet, // member typecode - - // the 2nd union branch arm - e_1st, // member label value - 1, 0, // omitted member name, "s" - tk_short, // member typecode - - // the 3rd union branch arm - e_2nd, // member label value - 1, 0, // omitted member name, "l" - tk_long, // member typecode - - // the 4th union branch arm - e_3rd, // member label value - 1, 0, // omitted member name, "cm" - - // the 4th union member typecode - tk_struct, // tk_struct - 60, // encap length - - 1, // byte order flag (TRICKY) - 1, 0, // omitted repository/type ID - 1, 0, // omitted struct name, "Many" - 3, // three struct members - - // First structure element - 1, 0, // omitted member name, "o" - tk_octet, // member type, tk_octet - - // Second structure element - 1, 0, // omitted member name, "l" - tk_long, // member type, tk_long - - // Third structure element - 1, 0, // omitted member name, "s" - tk_short, // member type, tk_short - - // the 5th union branch arm - 4, // the 5th member label value - 1, 0, // omitted member name, "cm" - ~0, // indirected typecode (~0) - -84 // offset to struct "Many" typecode -}; - -static CORBA_TypeCode _tc_Cubit_oneof (tk_union, - (sizeof _oc_Cubit_oneof), (unsigned char *) &_oc_Cubit_oneof, - CORBA_B_FALSE); -CORBA_TypeCode_ptr TC_Cubit_oneof = &_tc_Cubit_oneof; - -static const TAO_Param_Data Cubit_cube_union_params [] = -{ - { &_tc_Cubit_oneof, PARAM_RETURN, sizeof (Cubit_oneof) }, - { &_tc_Cubit_oneof, PARAM_IN, 0 } -}; - -static const TAO_Call_Data Cubit_cube_union_calldata = -{ - "cube_union", CORBA_B_TRUE, - 2, &Cubit_cube_union_params [0], - 0, 0 -}; - -Cubit_oneof* -Cubit::Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env) -{ - Cubit_oneof *retval; - - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return 0; - } - - istub->do_call (env, &Cubit_cube_union_calldata, - &retval, &values); - istub->Release (); - - return retval; -} - - - -// -// PLEASE EXIT -// - -static const TAO_Call_Data Cubit_please_exit_calldata = -{ - "please_exit", CORBA_B_FALSE, - 0, 0, - 0, 0 -}; - -void -Cubit::Cubit_please_exit (CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR) - { - env.exception(new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } - - istub->do_call (env, &Cubit_please_exit_calldata); - istub->Release (); -} diff --git a/TAO/IIOP/tests/Cubit/TAO/cubitC.h b/TAO/IIOP/tests/Cubit/TAO/cubitC.h deleted file mode 100644 index 8f9dfe53841..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubitC.h +++ /dev/null @@ -1,102 +0,0 @@ -// @(#)cubitC.h 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of the SUN's IIOP -implementation -***************************************************************************/ - -#ifndef _CUBIT_HH -#define _CUBIT_HH - -#ifdef _MSC_VER -#pragma pack (push, 1) // VC++, known padding rules -#endif // VC++ - -#include "corba/orb.h" -#include "corba/stub.h" - -#include - -extern CORBA_TypeCode_ptr TC_Cubit_Many; -extern CORBA_TypeCode_ptr TC_Cubit_oneof; - -struct Cubit_Many -{ - CORBA_Octet o; - CORBA_Long l; - CORBA_Short s; -}; - -enum Cubit_discrim - { e_0th = 0, e_1st = 1, e_2nd = 2, - e_3rd = 3, e_4th = 4, e_5th = 5 }; - -struct Cubit_oneof -{ - Cubit_discrim _disc; - - union - { - CORBA_Octet o; - CORBA_Short s; - CORBA_Long l; - Cubit_Many cm; - }; -}; - -class Cubit; -typedef Cubit *Cubit_ptr; -typedef Cubit_ptr Cubit_ref; - -class Cubit : public virtual CORBA_Object -{ -public: - - static Cubit_ptr _duplicate(Cubit_ptr obj); - static Cubit_ptr _narrow(CORBA_Object_ptr obj); - static Cubit_ptr _nil(); - - virtual - CORBA_Octet Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env); - - virtual - CORBA_Short Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env); - - virtual - CORBA_Long Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env); - - virtual - Cubit_Many* Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env); - - virtual - Cubit_oneof* Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env); - - virtual - void Cubit_please_exit (CORBA_Environment &env); - -protected: - Cubit() { } - Cubit(STUB_Object *objref) - : CORBA_Object(objref) { } - virtual ~Cubit() { } - - -}; - -extern const CORBA_Char *Cubit__id; // type ID - -#ifdef _MSC_VER -#pragma pack (pop) // VC++, go back to other padding rules -#endif // VC++ - -#endif // _CUBIT_HH diff --git a/TAO/IIOP/tests/Cubit/TAO/cubitS.cpp b/TAO/IIOP/tests/Cubit/TAO/cubitS.cpp deleted file mode 100644 index b153b71db1b..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubitS.cpp +++ /dev/null @@ -1,232 +0,0 @@ -// @(#)cubitS.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written C-style "Cubit" stubs and "skeletons" -// - -#include "cubitS.h" -#include "cubitC.cpp" - -#include "connect.h" -#include "params.h" - -#include "corba/debug.h" // ... and debugging -#include "corba/optable.h" // TAO Dynamic Operation Table -#include "method_db.i" -#include "iiopobj.h" - -#if defined(CUBIT_USE_DYNAMIC_HASH) -TAO_Dynamic_Hash_OpTable tao_cubit_optable(7); // Dynamic Operation Table -#else -TAO_Linear_OpTable tao_cubit_optable(7); -#endif - -_skel_Cubit::_skel_Cubit(const char* obj_name) -{ - const char* mn = "_skel_Cubit::_skel_Cubit()"; - - // Initialize Method Database - initialize_method_db (&tao_cubit_optable); - - char *type_id = "IDL:Cubit:1.0"; - // CORBA_String type_id = "IDL:Cubit:1.0"; - IIOP_Object *data; - - CORBA_BOA_ptr oa = TAO_OA_PARAMS::instance()->oa(); - if (oa == 0) - { - // We just have to assume that oa will be good, or we have to - // throw an exception. For now we "assume", but we'll - ACE_ERROR((LM_ERROR, "(%P|%t) %s Unable to locate a valid object adapter\n", mn)); - return; - } - - this->optable_ = &tao_cubit_optable; - data = new IIOP_Object(type_id); - - 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+1); - - this->set_parent(data); - this->sub_ = this; - - if (oa->bind(data->profile.object_key, this) == -1) - { - ACE_ERROR((LM_ERROR, "(%P|%t) %s Unable to bind object to key '%s': %p\n", mn, data->profile.object_key.buffer)); - return; - } -} - -void -_skel_Cubit::_cube_octet_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_Octet); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_octet, add value"); - - req.params (nvlist, env); - dexc (env, "cube_octet, get params"); - - // Call Implementation - CORBA_Octet *value = new CORBA_Octet; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - - *value = the_cubit->Cubit_cube_octet(*(CORBA_Octet *)nv->value()->value(), env); - - CORBA_Any *any = new CORBA_Any (_tc_CORBA_Octet, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_octet, result"); -} - -void -_skel_Cubit::_cube_short_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_Short); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_short, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_short, get params"); - - // Call Implementation - CORBA_Short *value = new CORBA_Short; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - *value = the_cubit->Cubit_cube_short(*(CORBA_Short *)nv->value ()->value (), env); - - CORBA_Any *any = new CORBA_Any (_tc_CORBA_Short, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_short, result"); -} - -void -_skel_Cubit::_cube_long_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_Long); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_long, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_long, get params"); - - // Call Implementation - CORBA_Long *value = new CORBA_Long; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - *value = the_cubit->Cubit_cube_long(*(CORBA_Long *)nv->value ()->value (), env); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Long, value, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_long, result"); -} - -void -_skel_Cubit::_cube_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_Many); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_struct, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_struct, get params"); - - // Call Implementation - Cubit_Many *value; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - value = the_cubit->Cubit_cube_struct(*(Cubit_Many*)nv->value()->value(), env); - - Cubit_Many *retval = new Cubit_Many; - retval->o = (CORBA_Octet)value->o; - retval->s = (CORBA_Short)value->s; - retval->l = value->l; - - // dmsg2 ("cube struct.o, %d -> %d", value->o, retval->o); - // dmsg2 ("cube struct.s, %d -> %d", value->s, retval->s); - // dmsg2 ("cube struct.l, %d -> %d", value->l, retval->l); - - CORBA_Any *any = new CORBA_Any (TC_Cubit_Many, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - -void -_skel_Cubit::_cube_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (TC_Cubit_oneof); - - req.orb()->create_list (0, nvlist); - nv = nvlist->add_value (0, temp_value, CORBA_ARG_IN, env); - dexc (env, "cube_union_3rd, add_value"); - - req.params (nvlist, env); - dexc (env, "cube_union_3rd, get params"); - - // Call Implementation - Cubit_oneof *v; - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - v = the_cubit->Cubit_cube_union(*(Cubit_oneof *)nv->value ()->value (), env); - - Cubit_oneof *r = new Cubit_oneof; - r->_disc = v->_disc; - r->o = (CORBA_Octet) (v->o); - r->s = (CORBA_Short) (v->s); - r->l = v->l; - r->cm.o = (CORBA_Octet) (v->cm.o); - r->cm.s = (CORBA_Short) (v->cm.s); - r->cm.l = v->cm.l; - - CORBA_Any *any = new CORBA_Any (TC_Cubit_oneof, r, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "cube_struct, result"); -} - -void -_skel_Cubit::_please_exit_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - Cubit *the_cubit = (Cubit*)obj->get_subclass(); - the_cubit->Cubit_please_exit(env); -} diff --git a/TAO/IIOP/tests/Cubit/TAO/cubitS.h b/TAO/IIOP/tests/Cubit/TAO/cubitS.h deleted file mode 100644 index 84c07b741b0..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubitS.h +++ /dev/null @@ -1,82 +0,0 @@ -// @(#)cubitS.h 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of the SUN's IIOP -implementation -***************************************************************************/ - -#ifndef _SKEL_CUBIT_HH -#define _SKEL_CUBIT_HH - -#include "cubitC.h" - -class _skel_Cubit; -typedef _skel_Cubit *_skel_Cubit_ptr; -typedef _skel_Cubit_ptr _skel_Cubit_ref; - -class _skel_Cubit : public Cubit -{ -public: - virtual - CORBA_Octet Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env) = 0; - static - void _cube_octet_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - CORBA_Short Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env) = 0; - - static - void _cube_short_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - CORBA_Long Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env) = 0; - - static - void _cube_long_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - Cubit_Many* Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env) = 0; - - static - void _cube_struct_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - Cubit_oneof* Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env) = 0; - - static - void _cube_union_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - - virtual - void Cubit_please_exit (CORBA_Environment &env) = 0; - - static - void _please_exit_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); -protected: - _skel_Cubit(const char* obj_name = 0); - virtual ~_skel_Cubit() { } - -}; - -#endif // _SKEL_CUBIT_HH diff --git a/TAO/IIOP/tests/Cubit/TAO/cubit_i.cpp b/TAO/IIOP/tests/Cubit/TAO/cubit_i.cpp deleted file mode 100644 index ae22b7cd12c..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubit_i.cpp +++ /dev/null @@ -1,91 +0,0 @@ -// @(#)cubit_i.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written Cubit Implementation -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include "cubit_i.h" - -#include // ... and skeletons -#include // ... and debugging - -#include "connect.h" -#include "params.h" - -Cubit_i::Cubit_i(const char* obj_name) -: _skel_Cubit(obj_name) -{ -} - -Cubit_i::~Cubit_i() -{ -} - -CORBA_Octet -Cubit_i::Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env) -{ - - return (CORBA_Octet) (o * o * o); -} - -CORBA_Short -Cubit_i::Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env) -{ - return (CORBA_Short) (s * s * s); -} - - -CORBA_Long -Cubit_i::Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env) -{ - return (CORBA_Long) (l * l * l); -} - -Cubit_Many* -Cubit_i::Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env) -{ - values.o = values.o * values.o * values.o; - values.s = values.s * values.s * values.s; - values.l = values.l * values.l * values.l; - - return &values; -} - -Cubit_oneof* -Cubit_i::Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env) -{ - switch (values._disc) { - case e_0th: - values.o = (CORBA_Octet) (values.o * values.o * values.o); - break; - case e_1st: - values.s = (CORBA_Short) (values.s * values.s * values.s); - break; - case e_2nd: - values.l = values.l * values.l * values.l; - break; - case e_3rd: - default: - values.cm.o = (CORBA_Octet) (values.cm.o * values.cm.o * values.cm.o); - values.cm.s = (CORBA_Short) (values.cm.s * values.cm.s * values.cm.s); - values.cm.l = values.cm.l * values.cm.l * values.cm.l; - } - return &values; -} - -void Cubit_i::Cubit_please_exit (CORBA_Environment &env) -{ - TAO_OA_Parameters* params = TAO_OA_PARAMS::instance(); - - dmsg ("I've been asked to shut down..."); - params->oa()->please_shutdown(env); - dexc (env, "please_exit, please_shutdown"); -} diff --git a/TAO/IIOP/tests/Cubit/TAO/cubit_i.h b/TAO/IIOP/tests/Cubit/TAO/cubit_i.h deleted file mode 100644 index 6f4bee0d486..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/cubit_i.h +++ /dev/null @@ -1,54 +0,0 @@ -// @(#)cubit_i.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: hand-written Cubit Implementation -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -/************************************************************************** -This file has been hand-crafted to work with the ORB API of the SUN's IIOP -implementation -***************************************************************************/ - -#ifndef _CUBIT_I_HH -#define _CUBIT_I_HH - -#include "cubitS.h" - -class Cubit_i; -typedef Cubit_i *Cubit_i_ptr; -typedef Cubit_i_ptr Cubit_i_ref; - -class Cubit_i : public _skel_Cubit -{ -public: - Cubit_i(const char* obj_name = 0); - ~Cubit_i(); - - virtual - CORBA_Octet Cubit_cube_octet (CORBA_Octet o, - CORBA_Environment &env); - - virtual - CORBA_Short Cubit_cube_short (CORBA_Short s, - CORBA_Environment &env); - - virtual - CORBA_Long Cubit_cube_long (CORBA_Long l, - CORBA_Environment &env); - - virtual - Cubit_Many* Cubit_cube_struct (Cubit_Many &values, - CORBA_Environment &env); - - virtual - Cubit_oneof* Cubit_cube_union (Cubit_oneof &values, - CORBA_Environment &env); - - virtual - void Cubit_please_exit (CORBA_Environment &env); -}; - -#endif // _CUBIT_I_HH diff --git a/TAO/IIOP/tests/Cubit/TAO/method_db.i b/TAO/IIOP/tests/Cubit/TAO/method_db.i deleted file mode 100644 index 6b77cdf040a..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/method_db.i +++ /dev/null @@ -1,67 +0,0 @@ -// @(#)method_db.i 05/14/97 - -// This file provides a way of initializing the method database -// Written by: Brian Mendel - -#include "cubitS.h" - -static void -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); - - 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(); - - if (ACE_OS::strcmp ((char*)value, "IDL:Cubit:1.0") == 0 - || ACE_OS::strcmp ((char *)value, _tc_CORBA_Object->id (env)) == 0) - retval = new CORBA_Boolean (CORBA_B_TRUE); - else - retval = new CORBA_Boolean (CORBA_B_FALSE); - - CORBA_Any *any = new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "_is_a, result"); -} - - -struct method_db -{ - CORBA_String opname; - TAO_Skeleton skel_ptr; -}; - -static const method_db cubit_operations[] = { - { "_is_a", &is_a_skel }, - { "cube_octet", &_skel_Cubit::_cube_octet_skel }, - { "cube_short", &_skel_Cubit::_cube_short_skel }, - { "cube_long", &_skel_Cubit::_cube_long_skel }, - { "cube_struct", &_skel_Cubit::_cube_struct_skel }, - { "cube_union", &_skel_Cubit::_cube_union_skel }, - { "please_exit", &_skel_Cubit::_please_exit_skel }, - { 0, 0 } -}; - - -void initialize_method_db (TAO_Operation_Table *the_optable) -{ - for (int ndx = 0; ndx < 7; ndx++) - the_optable->bind(cubit_operations[ndx].opname, - cubit_operations[ndx].skel_ptr); - -} diff --git a/TAO/IIOP/tests/Cubit/TAO/svr.cpp b/TAO/IIOP/tests/Cubit/TAO/svr.cpp deleted file mode 100644 index 53fac60bf6d..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/svr.cpp +++ /dev/null @@ -1,212 +0,0 @@ -// @(#)svr.cpp 05/14/97 -// Copyright 1994-1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: simple IIOP server for "cubit.idl" interface. -// -// Starts up, builds an objref, prints its string in debug mode, -// listens for messages, responds to them. -// -// Modified version of Cubit Example written by Sun Microsystems Inc. -// Modified by: Brian Mendel - -#include "ace/Get_Opt.h" -#include "ace/Log_Msg.h" - -#include "corba/orb.h" -#include "corba/debug.h" -#include "connect.h" - -#include "cubit_i.h" - -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - -// Global Variables -CORBA_String key = (CORBA_String)"key0"; -int num_of_objs = 1; - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - ACE_Get_Opt opts (argc, argv, "dk:n:"); - int c; - - while ((c = opts ()) != -1) - switch (c) { - - case 'd': // debug flag - TAO_debug_level++; - continue; - - case 'k': // key (str) - key = (CORBA_String) opts.optarg; - continue; - - case 'n': // idle seconds b4 exit - num_of_objs = ACE_OS::atoi(opts.optarg); - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-k {object_key}]" - "\n", argv [0] - ); - return 1; - } - - return 0; // Indicates successful parsing of command line -} - - -// -// Standard command line parsing utilities used. -// -int -main (int argc, char *argv[]) -{ - CORBA_Environment env; - CORBA_Object_ptr obj = 0; - CORBA_ORB_ptr orb_ptr; - CORBA_BOA_ptr oa_ptr; - char *orb_name = "internet"; - int idle = -1; - - orb_ptr = CORBA_ORB_init (argc, argv, orb_name, env); - if (env.exception () != 0) { - print_exception (env.exception (), "ORB init"); - return 1; - } - - // Initialize the Basic Object Adapter - oa_ptr = orb_ptr->BOA_init(argc, argv, "ROA"); - if (oa_ptr == 0) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to initialize the BOA.\n"), 1); - - - // - // Parse remaining command line and verify parameters. - // - parse_args(argc, argv); - - // Create implementation object with user specified key - Cubit_i_ptr *my_cubit = new Cubit_i_ptr[num_of_objs]; - for (int ndx = 0; ndx < num_of_objs; ndx++) - { - CORBA_String obj_str = CORBA_string_alloc(ACE_OS::strlen ((char *)key)+2); - sprintf(obj_str, "%s%d", (char*)key, ndx); - my_cubit[ndx] = new Cubit_i(obj_str); - if (my_cubit[ndx] == 0) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to create implementation object&d\n", ndx), 2); - - if (TAO_debug_level >= 1) - { - // Why are we getting the BOA_ptr from here when we've already - // got it above? - CORBA_OctetSeq obj_key; - obj_key.buffer = (CORBA_Octet *) obj_str; - obj_key.length = obj_key.maximum = ACE_OS::strlen (obj_str); - - if (oa_ptr->find(obj_key, obj) == -1) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to locate object with key '%s', %p\n", key), 3); - - // - // Stringify the objref we'll be implementing, and - // print it to stdout. Someone will take that string - // and give it to some client. Then release the object. - // - CORBA_String str; - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("Object Created at: '%ul'", obj); - dmsg1 ("listening as object '%s'", str); - - } - CORBA_string_free(obj_str); - } -// Cubit_i_ptr my_cubit = new Cubit_i(key); -// if (my_cubit1 == 0) -// ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to create implementation object\n"), 2); - -/* if (TAO_debug_level >= 1) - { - // Why are we getting the BOA_ptr from here when we've already - // got it above? - CORBA_OctetSeq obj_key; - obj_key.buffer = (CORBA_Octet *) key; - obj_key.length = obj_key.maximum = ACE_OS::strlen ((char *)key); - - if (oa_ptr->find(obj_key, obj) == -1) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to locate object with key '%s', %p\n", key), 3); - - // - // Stringify the objref we'll be implementing, and - // print it to stdout. Someone will take that string - // and give it to some client. Then release the object. - // - CORBA_String str; - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("listening as object '%s'", str); - - obj_key.buffer = (CORBA_Octet *)"key1"; - obj_key.length = obj_key.maximum = 4; - if (oa_ptr->find(obj_key, obj) == -1) - ACE_ERROR_RETURN((LM_ERROR, "(%P|%t) Unable to locate object with key '%s', %p\n", key), 3); - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("listening as object '%s'", str); - } -*/ - // Handle requests for this object until we're killed, or one of - // the methods asks us to exit. - // - int terminationStatus = 0; - - -#if !defined(USE_HOMEBREW_EVENT_LOOP) - ACE_Reactor::run_event_loop(); -#else - while (1) - { - int result = params->reactor()->handle_events (); - - if (result == -1) - { - terminationStatus = -1; - break; - } - } -#endif - - // - // Shut down the OA -- recycles all underlying resources (e.g. file - // descriptors, etc). - // - oa_ptr->clean_shutdown (env); - return 0; -} diff --git a/TAO/IIOP/tests/Cubit/TAO/test.mak b/TAO/IIOP/tests/Cubit/TAO/test.mak deleted file mode 100644 index 58b77c28283..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/test.mak +++ /dev/null @@ -1,463 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=server - Win32 Debug -!MESSAGE No configuration specified. Defaulting to server - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "client - Win32 Release" && "$(CFG)" != "client - Win32 Debug"\ - && "$(CFG)" != "server - Win32 Release" && "$(CFG)" != "server - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "test.mak" CFG="server - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "client - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "client - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "server - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "server - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "server - Win32 Debug" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "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 "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "client" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\client.exe" - -CLEAN : - -@erase "$(INTDIR)\clnt.obj" - -@erase "$(INTDIR)\cubitC.obj" - -@erase "$(OUTDIR)\client.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/client.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/client.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=ace.lib ..\lib\TAO.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 /incremental:no\ - /pdb:"$(OUTDIR)/client.pdb" /machine:I386 /out:"$(OUTDIR)/client.exe" -LINK32_OBJS= \ - "$(INTDIR)\clnt.obj" \ - "$(INTDIR)\cubitC.obj" - -"$(OUTDIR)\client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "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 Target_Dir "client" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\client.exe" - -CLEAN : - -@erase "$(INTDIR)\clnt.obj" - -@erase "$(INTDIR)\cubitC.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\client.exe" - -@erase "$(OUTDIR)\client.ilk" - -@erase "$(OUTDIR)\client.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# 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 "..\proto\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\proto\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fp"$(INTDIR)/client.pch" /YX /Fo"$(INTDIR)/"\ - /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/client.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=aced.lib ..\lib\TAO.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 /incremental:yes\ - /pdb:"$(OUTDIR)/client.pdb" /debug /machine:I386 /out:"$(OUTDIR)/client.exe" -LINK32_OBJS= \ - "$(INTDIR)\clnt.obj" \ - "$(INTDIR)\cubitC.obj" - -"$(OUTDIR)\client.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "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 "" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "server" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\server.exe" - -CLEAN : - -@erase "$(INTDIR)\cubit_i.obj" - -@erase "$(INTDIR)\cubitS.obj" - -@erase "$(INTDIR)\svr.obj" - -@erase "$(OUTDIR)\server.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\proto\include" /D "WIN32" /D "NDEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/server.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/server.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=ace.lib ..\lib\TAO.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 /incremental:no\ - /pdb:"$(OUTDIR)/server.pdb" /machine:I386 /out:"$(OUTDIR)/server.exe" -LINK32_OBJS= \ - "$(INTDIR)\cubit_i.obj" \ - "$(INTDIR)\cubitS.obj" \ - "$(INTDIR)\svr.obj" - -"$(OUTDIR)\server.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "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 Target_Dir "server" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\server.exe" - -CLEAN : - -@erase "$(INTDIR)\cubit_i.obj" - -@erase "$(INTDIR)\cubitS.obj" - -@erase "$(INTDIR)\svr.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\server.exe" - -@erase "$(OUTDIR)\server.ilk" - -@erase "$(OUTDIR)\server.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# 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 "..\proto\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\proto\include" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /Fp"$(INTDIR)/server.pch" /YX /Fo"$(INTDIR)/"\ - /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/server.bsc" -BSC32_SBRS= \ - -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 ..\lib\TAO.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 -LINK32_FLAGS=aced.lib ..\lib\TAO.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 /incremental:yes\ - /pdb:"$(OUTDIR)/server.pdb" /debug /machine:I386 /out:"$(OUTDIR)/server.exe" -LINK32_OBJS= \ - "$(INTDIR)\cubit_i.obj" \ - "$(INTDIR)\cubitS.obj" \ - "$(INTDIR)\svr.obj" - -"$(OUTDIR)\server.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "client - Win32 Release" -# Name "client - Win32 Debug" - -!IF "$(CFG)" == "client - Win32 Release" - -!ELSEIF "$(CFG)" == "client - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\clnt.cpp -DEP_CPP_CLNT_=\ - "..\..\..\..\..\ace\config-win32.h"\ - ".\cubitC.h"\ - {$(INCLUDE)}"\ace\ACE.h"\ - {$(INCLUDE)}"\ace\ACE.i"\ - {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ - {$(INCLUDE)}"\ace\Auto_Ptr.h"\ - {$(INCLUDE)}"\ace\Auto_Ptr.i"\ - {$(INCLUDE)}"\ace\config-win32-common.h"\ - {$(INCLUDE)}"\ace\config.h"\ - {$(INCLUDE)}"\ace\Get_Opt.h"\ - {$(INCLUDE)}"\ace\Get_Opt.i"\ - {$(INCLUDE)}"\ace\Log_Msg.h"\ - {$(INCLUDE)}"\ace\Log_Priority.h"\ - {$(INCLUDE)}"\ace\Log_Record.h"\ - {$(INCLUDE)}"\ace\Log_Record.i"\ - {$(INCLUDE)}"\ace\Object_Manager.h"\ - {$(INCLUDE)}"\ace\Object_Manager.i"\ - {$(INCLUDE)}"\ace\OS.h"\ - {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\SString.h"\ - {$(INCLUDE)}"\ace\SString.i"\ - {$(INCLUDE)}"\ace\stdcpp.h"\ - {$(INCLUDE)}"\ace\Trace.h"\ - {$(INCLUDE)}"\ace\ws2tcpip.h"\ - -NODEP_CPP_CLNT_=\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - - -"$(INTDIR)\clnt.obj" : $(SOURCE) $(DEP_CPP_CLNT_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cubitC.cpp -DEP_CPP_CUBIT=\ - ".\cubitC.h"\ - -NODEP_CPP_CUBIT=\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - - -"$(INTDIR)\cubitC.obj" : $(SOURCE) $(DEP_CPP_CUBIT) "$(INTDIR)" - - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "server - Win32 Release" -# Name "server - Win32 Debug" - -!IF "$(CFG)" == "server - Win32 Release" - -!ELSEIF "$(CFG)" == "server - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\cubitS.cpp -DEP_CPP_CUBITS=\ - ".\cubitC.cpp"\ - ".\cubitC.h"\ - ".\cubitS.h"\ - ".\method_db.i"\ - -NODEP_CPP_CUBITS=\ - ".\connect.h"\ - ".\corba\debug.h"\ - ".\corba\optable.h"\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - ".\iiopobj.h"\ - ".\params.h"\ - - -"$(INTDIR)\cubitS.obj" : $(SOURCE) $(DEP_CPP_CUBITS) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cubit_i.cpp -DEP_CPP_CUBIT_=\ - ".\cubit_i.h"\ - ".\cubitC.h"\ - ".\cubitS.h"\ - -NODEP_CPP_CUBIT_=\ - ".\connect.h"\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - ".\params.h"\ - - -"$(INTDIR)\cubit_i.obj" : $(SOURCE) $(DEP_CPP_CUBIT_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\svr.cpp -DEP_CPP_SVR_C=\ - "..\..\..\..\..\ace\config-win32.h"\ - ".\cubit_i.h"\ - ".\cubitC.h"\ - ".\cubitS.h"\ - {$(INCLUDE)}"\ace\ACE.h"\ - {$(INCLUDE)}"\ace\ACE.i"\ - {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\ - {$(INCLUDE)}"\ace\Auto_Ptr.h"\ - {$(INCLUDE)}"\ace\Auto_Ptr.i"\ - {$(INCLUDE)}"\ace\config-win32-common.h"\ - {$(INCLUDE)}"\ace\config.h"\ - {$(INCLUDE)}"\ace\Get_Opt.h"\ - {$(INCLUDE)}"\ace\Get_Opt.i"\ - {$(INCLUDE)}"\ace\Log_Msg.h"\ - {$(INCLUDE)}"\ace\Log_Priority.h"\ - {$(INCLUDE)}"\ace\Log_Record.h"\ - {$(INCLUDE)}"\ace\Log_Record.i"\ - {$(INCLUDE)}"\ace\Object_Manager.h"\ - {$(INCLUDE)}"\ace\Object_Manager.i"\ - {$(INCLUDE)}"\ace\OS.h"\ - {$(INCLUDE)}"\ace\OS.i"\ - {$(INCLUDE)}"\ace\SString.h"\ - {$(INCLUDE)}"\ace\SString.i"\ - {$(INCLUDE)}"\ace\stdcpp.h"\ - {$(INCLUDE)}"\ace\Trace.h"\ - {$(INCLUDE)}"\ace\ws2tcpip.h"\ - -NODEP_CPP_SVR_C=\ - ".\connect.h"\ - ".\corba\debug.h"\ - ".\corba\orb.h"\ - ".\corba\stub.h"\ - - -"$(INTDIR)\svr.obj" : $(SOURCE) $(DEP_CPP_SVR_C) "$(INTDIR)" - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/TAO/IIOP/tests/Cubit/TAO/test.mdp b/TAO/IIOP/tests/Cubit/TAO/test.mdp deleted file mode 100644 index eccc5e94b69..00000000000 Binary files a/TAO/IIOP/tests/Cubit/TAO/test.mdp and /dev/null differ diff --git a/TAO/IIOP/tests/Cubit/TAO/test1.cpp b/TAO/IIOP/tests/Cubit/TAO/test1.cpp deleted file mode 100644 index a27c29ee378..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/test1.cpp +++ /dev/null @@ -1,390 +0,0 @@ -// @(#)test1.cpp 1.4 95/09/28 -// Copyright 1995 by Sun Microsystems, Inc. -// All Rights Reserved -// -// TEST stubs for "test1" -// - -#include - -#include "test1.h" - - -// -// Define all the stubs ... it's a lot less error prone to do it with -// macros than by hand! -// -// NOTE: the "calldata" is exported for use by the skeletons. At some -// point skeletons will probably be fully abstracted; for now they aren't. -// -// Also, for some reason, name mangling is changed by the explicit -// declaration as "extern" -- if it's not done, linking fails. -// -#define DEFINE_TEST3(typename, truetype, truetypename) \ - static const TAO_Param_Data test1_ ## typename ## _paramdata [4] = { \ - { _tc_CORBA_ ## truetypename, PARAM_RETURN, 0 }, \ - { _tc_CORBA_ ## truetypename, PARAM_IN, 0 }, \ - { _tc_CORBA_ ## truetypename, PARAM_OUT, 0 }, \ - { _tc_CORBA_ ## truetypename, PARAM_INOUT, 0 }, \ - }; \ - \ - extern const TAO_Call_Data test1_ ## typename ## _calldata; \ - \ - const TAO_Call_Data test1_ ## typename ## _calldata = { \ - "test_" #typename, CORBA_B_TRUE, \ - 4, &test1_ ## typename ## _paramdata [0], \ - 0, 0, \ - }; \ - \ - CORBA_ ## truetype \ - test1_test_ ## typename (test1_ptr target, \ - CORBA_ ## truetype in_a1, \ - CORBA_ ## truetype &out_a2, \ - CORBA_ ## truetype &inout_a3, \ - CORBA_Environment &env) { \ - CORBA_ ## truetype _retval; \ - STUB_Object *_obj; \ - if (target->QueryInterface (IID_STUB_Object, (void **)&_obj) \ - != NOERROR) \ - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); \ - else { \ - _obj->do_call (env, &test1_ ## typename ## _calldata, \ - &_retval, &in_a1, &out_a2, &inout_a3); \ - _obj->Release (); \ - } \ - return _retval; \ - } - -// changed extern const calldata test1_ ## typename ## _calldata; -// to const calldata test1_ ## typename ## _calldata; \ - -// changed CORBA_ ## truetype _retval = 0; to changed CORBA_ ## truetype _retval; - -#define DEFINE_TEST(typename, truetype) \ - DEFINE_TEST3(typename, truetype, truetype) - - -// -// Generate a system exception, passing an operation ID that's -// not allowed by IIOP (much less this interface) and verifying -// that the server returns some kind of system exception. -// -static const TAO_Call_Data illegal_calldata = { - "+_illegal", CORBA_B_TRUE, - 0, 0, - 0, 0 -}; - -void -test_illegal (test1_ptr target, CORBA_Environment &env) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &illegal_calldata - ); - data->Release (); - } -} - - -extern const TAO_Call_Data test1_void_calldata; -const TAO_Call_Data test1_void_calldata = { - "test_void", CORBA_B_TRUE, - 0, 0, - 0, 0 -}; - -void -test1_test_void (test1_ptr target, CORBA_Environment &env) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &test1_void_calldata - ); - data->Release (); - } -} - -DEFINE_TEST (short, Short); -DEFINE_TEST (long, Long); -DEFINE_TEST (ushort, UShort); -DEFINE_TEST (ulong, ULong); - -#if defined(MIPS) -// -// NOTE: C/C++ compilers as a rule pass a "float" in the space that -// a "double" takes up. Conversions are evidently optional; portability -// forces the following "explicit temporary" hack to work on at least -// one MIPS platform, which converts the parameter to "double" and -// hence changes the binary representation. (Even if that is a compiler -// bug, it's probably required by now for binary compatibility!) -// -// A "-k ansi" compiler flag may be needed to get correct behaviour; -// passing the "in" parameters by reference apparently works too. At -// this time, none of these solutions is used by default. -// -// This stub-level hackery seems like it could be replaced inside of the -// stub interpreter, which could just manually convert "float" parameters -// (all of them) as special cases. But of course, that would slow the -// interpreter down on _every_ call, not just the ones that require it -// (such as this one). Tradeoffs! -// -static const TAO_Param_Data test1_float_paramdata [4] = { - { _tc_CORBA_Float , PARAM_RETURN , 0 }, - { _tc_CORBA_Float , PARAM_IN , 0 }, - { _tc_CORBA_Float , PARAM_OUT , 0 }, - { _tc_CORBA_Float , PARAM_INOUT , 0 } -}; - -extern const TAO_Call_Data test1_float_calldata; - -const TAO_Call_Data test1_float_calldata = { - "test_float", CORBA_B_TRUE, - 4 , &test1_float_paramdata [0], - 0 , 0 -}; - -CORBA_Float -test1_test_float ( - test1_ptr target, - CORBA_Float in_a1, - CORBA_Float &out_a2, - CORBA_Float &inout_a3, - CORBA_Environment &env -) -{ - CORBA_Float _retval; - - // These three temporaries required due to MIPS compiler bug - CORBA_Float _in_a1 = in_a1; - CORBA_Float _out_a2 = out_a2; - CORBA_Float _inout_a3 = inout_a3; - - target -> data -> do_call (env, - &test1_float_calldata, - &_retval, - &_in_a1, - &_out_a2, - &_inout_a3); - return _retval; -} - -#else -DEFINE_TEST (float, Float); -#endif // MIPS - - -DEFINE_TEST (double, Double); -DEFINE_TEST (boolean, Boolean); -DEFINE_TEST (char, Char); -DEFINE_TEST (octet, Octet); - -/* -CORBA_Any * -test1_test_any (test1_ptr target, - const CORBA_Any &in_a1, - CORBA_Any *&out_a2, - CORBA_Any &inout_a3, - CORBA_Environment &env) -{ - // XXX implement this stub! ... annoying that C++ mapping - // calls for so much special casing -} -*/ - - -DEFINE_TEST3 (TypeCode, TypeCode_ptr, TypeCode); -DEFINE_TEST3 (Principal, Principal_ptr, Principal); -DEFINE_TEST3 (Object, Object_ptr, Object); - -// NOTE: C++ mapping has "in" strings as "const", which doesn't -// show up in this macro ... -DEFINE_TEST3 (string, Char *, String); - -DEFINE_TEST (longlong, LongLong); -DEFINE_TEST (ulonglong, ULongLong); -DEFINE_TEST (wchar, WChar); - -// NOTE: C++ mapping has "in" strings as "const", which doesn't -// show up in this macro ... -DEFINE_TEST3 (wstring, WChar *, WString); - -#if !defined(NONNATIVE_LONGDOUBLE) -DEFINE_TEST (longdouble, LongDouble); -#endif - -#undef DEFINE_TEST - - -// -// Utility macros used to construct octet codes that are aligned -// on longword boundaries, and with a known byte order. This -// happens to use big endian encoding since it was convenient. -// (Longword alignment is a happy accident of the specification -// of OMG-IDL ... it could have been much worse!) -// -// It'd be much simpler to lay out such data in assembler! -// - -#if defined (WORDS_BIGENDIAN) -# define MAKE_BIG_LONG(a,b,c,d) \ - ((((a) & 0xff) << 24) | (((b) & 0xff) << 16) \ - | (((c) & 0xff) << 8) | ((d) & 0xff)) -# define BIG_ENDIAN_LONG(x) (x) - -#else // LITTLE_ENDIAN -# define MAKE_BIG_LONG(a,b,c,d) \ - ((((d) & 0xff) << 24) | (((c) & 0xff) << 16) \ - | (((b) & 0xff) << 8) | ((a) & 0xff)) -# define BYTE_FROM(n,integer) (((integer)>>(8*(n)))&0xff) -# define BIG_ENDIAN_LONG(integer) \ - MAKE_BIG_LONG (BYTE_FROM(3,integer), BYTE_FROM(2,integer),\ - BYTE_FROM(1,integer), BYTE_FROM(0,integer)) -#endif - - - -// -// "x1" exception typecode ... must be longword aligned -// -static CORBA_Long oc_x1 [] = { - 0, // big endian flag + padding - BIG_ENDIAN_LONG (29), // length of ID string + NUL - MAKE_BIG_LONG ('I', 'D', 'L', ':'), // bytes of ID string - MAKE_BIG_LONG ('E', 'n', 'g', '.'), - MAKE_BIG_LONG ('S', 'U', 'N', '.'), - MAKE_BIG_LONG ('C', 'O', 'M', '/'), - MAKE_BIG_LONG ('t', 'e', 's', 't'), - MAKE_BIG_LONG ('1', '/', 'x', '1'), - MAKE_BIG_LONG (':', '1', '.', '0'), - 0, - BIG_ENDIAN_LONG (1), // (empty) namelen + NUL - 0, - BIG_ENDIAN_LONG (1), // only one struct member - BIG_ENDIAN_LONG (1), // (empty) member name + NUL - 0, - BIG_ENDIAN_LONG (tk_long) -}; -static CORBA_TypeCode tc_x1 (tk_except, sizeof oc_x1, - (unsigned char *)&oc_x1, CORBA_B_FALSE); -CORBA_TypeCode_ptr _tc_test1_x1 = &tc_x1; - - - -// -// "x2" exception typecode ... must be longword aligned -// -static CORBA_Long oc_x2 [] = { - 0, // big endian flag + padding - BIG_ENDIAN_LONG (29), // length of ID string + NUL - MAKE_BIG_LONG ('I', 'D', 'L', ':'), // bytes of ID string - MAKE_BIG_LONG ('E', 'n', 'g', '.'), - MAKE_BIG_LONG ('S', 'U', 'N', '.'), - MAKE_BIG_LONG ('C', 'O', 'M', '/'), - MAKE_BIG_LONG ('t', 'e', 's', 't'), - MAKE_BIG_LONG ('1', '/', 'x', '2'), - MAKE_BIG_LONG (':', '1', '.', '0'), - 0, - BIG_ENDIAN_LONG (1), // (empty) namelen + NUL - 0, - BIG_ENDIAN_LONG (2), // two struct members - - BIG_ENDIAN_LONG (1), // (empty) member name + NUL - 0, - BIG_ENDIAN_LONG (tk_objref), - BIG_ENDIAN_LONG (29), // type ID + NUL - MAKE_BIG_LONG ('I', 'D', 'L', ':'), // bytes of ID string - MAKE_BIG_LONG ('o', 'm', 'g', '.'), - MAKE_BIG_LONG ('o', 'r', 'g', '/'), - MAKE_BIG_LONG ('C', 'O', 'R', 'B'), - MAKE_BIG_LONG ('A', '/', 'O', 'b'), - MAKE_BIG_LONG ('j', 'e', 'c', 't'), - MAKE_BIG_LONG (':', '1', '.', '0'), - 0, - - BIG_ENDIAN_LONG (1), // (empty) member name + NUL - 0, - BIG_ENDIAN_LONG (tk_long) -}; -static CORBA_TypeCode tc_x2 (tk_except, sizeof oc_x2, - (unsigned char *)&oc_x2, CORBA_B_FALSE); -CORBA_TypeCode_ptr _tc_test1_x2 = &tc_x2; - - -// -// parameter, exception, and call descriptions for "test_throw" -// -static const TAO_Param_Data test1_test_throw_paramdata [1] = { - { _tc_CORBA_Long, PARAM_IN, 0 } -}; - -static CORBA_TypeCode_ptr test1_test_throw_excepts [2] = { - &tc_x1, &tc_x2 -}; - -extern const TAO_Call_Data test1_test_throw_calldata; - -const TAO_Call_Data test1_test_throw_calldata = { - "test_throw", CORBA_B_TRUE, - 1, &test1_test_throw_paramdata [0], - 2, &test1_test_throw_excepts [0] -}; - -// -// "test_throw" stub -// -void -test1_test_throw ( - test1_ptr target, - CORBA_Long case_num, - CORBA_Environment &env // throw (x1, x2) -) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &test1_test_throw_calldata, - &case_num); - data->Release (); - } -} - -// -// PLEASE EXIT -// - -static const TAO_Call_Data test1_please_exit_calldata = { - "please_exit", CORBA_B_FALSE, - 0, 0, - 0, 0 -}; - -void -test1_please_exit ( - test1_ptr target, - CORBA_Environment &env -) -{ - STUB_Object *data; - - if (target->QueryInterface (IID_STUB_Object, (void **)&data) - != NOERROR) - env.exception (new CORBA_INV_OBJREF (COMPLETED_NO)); - else { - data->do_call (env, &test1_please_exit_calldata - ); - data->Release (); - } -} - diff --git a/TAO/IIOP/tests/Cubit/TAO/test1.h b/TAO/IIOP/tests/Cubit/TAO/test1.h deleted file mode 100644 index 7d3bd0e08a5..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/test1.h +++ /dev/null @@ -1,124 +0,0 @@ -// @(#)test1.hh 1.2 95/09/12 -// Copyright 1995 by Sun Microsystems, Inc. -// All Rights Reserved -// -// TEST interface for "test1" -// - -#ifndef _TEST1_HH -#define _TEST1_HH - -#include -#include - - -#ifdef _MSC_VER -#pragma pack (push, 1) // VC++, known padding rules -#endif // VC++ - -typedef CORBA_UShort test1_ushort; -typedef CORBA_ULong test1_ulong; - -typedef CORBA_LongLong test1_longlong; -typedef CORBA_ULongLong test1_ulonglong; -typedef CORBA_LongDouble test1_longdouble; - -typedef CORBA_Object test1; -typedef test1 *test1_ptr; - -#define DECL_TEST(typename, truetype) \ - truetype \ - test1_test_ ## typename ( \ - test1_ptr target, \ - truetype in_a1, \ - truetype &out_a2, \ - truetype &inout_a3, \ - CORBA_Environment &env \ - ) - -void test_illegal (test1_ptr target, CORBA_Environment &env); -void test1_test_void (test1_ptr target, CORBA_Environment &env); - -DECL_TEST (short, CORBA_Short); -DECL_TEST (long, CORBA_Long); -DECL_TEST (ushort, CORBA_UShort); -DECL_TEST (ulong, CORBA_ULong); -DECL_TEST (float, CORBA_Float); -DECL_TEST (double, CORBA_Double); -DECL_TEST (boolean, CORBA_Boolean); -DECL_TEST (char, CORBA_Char); -DECL_TEST (octet, CORBA_Octet); - -CORBA_Any * -test1_test_any ( - test1_ptr target, - const CORBA_Any &in_a1, - CORBA_Any *&out_a2, - CORBA_Any &inout_a3, - CORBA_Environment &env -); - -DECL_TEST (TypeCode, CORBA_TypeCode_ptr); -DECL_TEST (Principal, CORBA_Principal_ptr); -DECL_TEST (Object, CORBA_Object_ptr); - -// NOTE: CORBA C++ mapping says the "in" string is const -DECL_TEST (string, CORBA_String); - -DECL_TEST (longlong, CORBA_LongLong); -DECL_TEST (ulonglong, CORBA_ULongLong); -DECL_TEST (wchar, CORBA_WChar); - -// NOTE: CORBA C++ mapping says the "in" string is const -DECL_TEST (wstring, CORBA_WString); - -DECL_TEST (longdouble, CORBA_LongDouble); - -#undef DECL_TEST - -extern CORBA_TypeCode_ptr _tc_test1_x1; - -class test1_x1 : public CORBA_UserException { - public: - CORBA_Long case_num; - - test1_x1 (CORBA_Long n) - : CORBA_UserException (_tc_test1_x1), case_num (n) - { } -}; - -extern CORBA_TypeCode_ptr _tc_test1_x2; - -class test1_x2 : public CORBA_UserException { - public: - CORBA_Object_ptr obj; - CORBA_Long case_num; - - test1_x2 (CORBA_Object_ptr obj1, - CORBA_Long n) - : CORBA_UserException (_tc_test1_x2), - obj (obj1), case_num (n) { } - - ~test1_x2 () - { CORBA_release (obj); } -}; - -void -test1_test_throw ( - test1_ptr target, - CORBA_Long case_num, - CORBA_Environment &env // throw (x1, x2) -); - -void -test1_please_exit ( - test1_ptr target, - CORBA_Environment &env -); - -#ifdef _MSC_VER -#pragma pack (pop) // VC++, go back to other padding rules -#endif // VC++ - -#endif // _TEST1_HH - diff --git a/TAO/IIOP/tests/Cubit/TAO/test1.idl b/TAO/IIOP/tests/Cubit/TAO/test1.idl deleted file mode 100644 index e6cf20cd2de..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/test1.idl +++ /dev/null @@ -1,78 +0,0 @@ -// @(#)test1.idl 1.1 95/09/11 -// Copyright 1994-1995 by Sun Microsystems, Inc. -// -// TEST basic marshaling tests for all IDL primitive types, modes -// -// This test omits constructed types (struct, union, enum, sequence, and -// array types), and only tests very simple user defined exceptions. -// -// Values returned are well defined functions of the input values: -// -// * For numeric types (octet, short, long, longlong, float, double, -// longdouble, and unsigned variants) the value is cubed. -// * For Boolean, it's the negation. -// * For Any, TypeCode, Principal, Object, char and wchar, -// string and wstring, it's the input value. -// -// The "return" and "out" parameter is the function of the "in" parameter; -// the "inout" parameter is the function of its original value. -// -// The "echo" test has all output values be the input values, with no -// changes to the bit patterns originally transmitted. While easier to -// use to identify some kinds of problem, it is not as complete a test. -// - -#define DECL_TEST(type) \ - type test_ ## type ( in type a1, out type a2, inout type a3) - -#pragma prefix "Eng.SUN.COM" // only for Sun-defined interfaces - -interface test1 { - void test_void (); - - typedef unsigned short ushort; - typedef unsigned long ulong; - - typedef long long longlong; - typedef unsigned long long ulonglong; - typedef long double longdouble; - - DECL_TEST (short); - DECL_TEST (long); - DECL_TEST (ushort); - DECL_TEST (ulong); - DECL_TEST (float); - DECL_TEST (double); - DECL_TEST (boolean); - DECL_TEST (char); - DECL_TEST (octet); - DECL_TEST (any); - DECL_TEST (TypeCode); - DECL_TEST (Principal); - DECL_TEST (Object); // CORBA::Object - DECL_TEST (string); // unbounded string - - DECL_TEST (longlong); - DECL_TEST (ulonglong); - DECL_TEST (wchar); - DECL_TEST (wstring); // unbounded wstring - DECL_TEST (longdouble); - - // - // All cases, "case_num" in the exception is the same as the 'in' param - // * negative or zero, throws x1 - // * positive even cases, throws x2 with obj = null objref - // * positive odd cases, throws x2 with obj = target objref - // - exception x1 { long case_num; }; - exception x2 { Object obj; long case_num; }; - - void test_throw (in long case_num) raises (x1, x2); - - // - // Aid for test cleanup in case server's not told to quit after - // being idle for some time period - // - oneway void please_exit (); -}; - diff --git a/TAO/IIOP/tests/Cubit/TAO/test1_clnt.cpp b/TAO/IIOP/tests/Cubit/TAO/test1_clnt.cpp deleted file mode 100644 index 52169789ded..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/test1_clnt.cpp +++ /dev/null @@ -1,678 +0,0 @@ -// @(#)test1_clnt.cpp 1.5 95/09/24 -// Copyright 1995 by Sun Microsystems, Inc. -// All Rights Reserved -// -// TEST client driver for "test1" -// - -#ifdef USE_IOSTREAM -#include -#endif - -#include -#include -#include - -#if unix -# include - -#else // windows - -#endif // unix - -#include "test1.h" -#include - - -#if !defined (_WIN32) -extern char *optarg; // missing on some platforms -#endif - -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - -// All tests are specified so that the return value and "out" (second) -// parameters are easily tested functions of the "in" (first) -// parameter, and the "inout" (third) parameter is the same function -// the its initial value. Caller is expected to specify two different -// "in" values. This helps make the marshaled bits vary, and turn up -// a class of potential problems that'd be hidden if parameter order -// had no effect on the test. -// -// PERFORM_TEST calls a test for a given type, reporting in cases -// where the ORB or operation failed. The COMPARE symbol can be -// redefined to achieve different functions -- e.g. cubing numbers, -// identity, negation, etc. It should return true iff the correct -// result was returned. -// -// BAD_COMPARE_VALUES is to produce diagnostics when a test fails, -// showing the actual and expected values of returned parameters. -// This helps diagnose specific porting problems. -// -// The RELEASE symbol may be defined to free memory, eliminating -// client side memory leaks in the test. -// -#define RELEASE(X) // NOP by default -#define PERFORM_TEST(name,type,value1,value2) \ - { \ - CORBA_ ## type v1, v2, v3; \ - \ - v1 = (CORBA_ ## type)(value1); \ - v2 = 0; \ - v3 = (CORBA_ ## type)(value2); \ - \ - test_count++; \ - v1 = test1_test_ ## name (target, v1, v2, v3, env); \ - if (env.exception () != 0) { \ - print_exception (env.exception (), "perform test_" #name); \ - error_count++; \ - } else if (!COMPARE (CORBA_ ## type, v1, value1) \ - || !COMPARE (CORBA_ ## type, v2, value1) \ - || !COMPARE (CORBA_ ## type, v3, value2) ) { \ - ACE_OS::fprintf (stderr, "bad comparison, test_" #name "\n"); \ - BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) \ - error_count++; \ - } \ - RELEASE (v1); RELEASE (v2); RELEASE (v3); \ - } - -// -// This messing about is because the ostream op << cannot always -// be used with all kinds of data ... e.g. LongDouble, TypeCode. -// -#ifdef USE_IOSTREAM -# define DO_IO(x) x -#else -# define DO_IO(x) -#endif -#define BAD_COMPARE_VALUE_OUT(type,v1,v2,v3,value1,value2) \ - DO_IO( cerr << " v1=" << v1; \ - cerr << " expecting " << EXPVAL(CORBA_ ## type, value1) << "\n"; \ - cerr << " v2=" << v2; \ - cerr << " expecting " << EXPVAL(CORBA_ ## type, value1) << "\n"; \ - cerr << " v3=" << v3; \ - cerr << " expecting " << EXPVAL(CORBA_ ## type, value2) << "\n"); -#define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) \ - BAD_COMPARE_VALUE_OUT(type,v1,v2,v3,value1,value2) - -// test utility -- should be able to just use is_equivalent() directly -// but this implementation uses null pointers for nil, so this must -// check for nulls first. (May be noncompliant with C++ mapping!) - -static CORBA_Boolean -compare_objrefs (CORBA_Object_ptr v1, - CORBA_Object_ptr v2) -{ - CORBA_Boolean temp; - CORBA_Environment env; - - if (v1 == v2) - return CORBA_B_TRUE; - - if (CORBA_is_nil (v1)) - return CORBA_is_nil (v2); - - temp = v1->_is_equivalent (v2, env); - - if (env.exception () != 0) - { - print_exception (env.exception (), "compare objref"); - return CORBA_B_FALSE; - } - return temp; -} - - -// -// Helper routine to help sure math (especially for floating point) -// gets done correctly. -// -template -Type cube (Type arg) -{ - Type temp = arg; - - temp = temp * arg; - temp = temp * arg; - return temp; -} - -static int skip_longdouble = 0; - -// This just performs the tests ... - -void -do_tests (test1_ptr target, - unsigned loop_count, - unsigned &test_count, - unsigned &error_count) -{ - int count; - - for (count = 0; count < loop_count; count++) - { - CORBA_Environment env; - CORBA_Environment env2; // XXX - - // - // test_void - // - test_count++; - test1_test_void (target, env); - if (env.exception () != 0) - { - print_exception (env.exception (), "perform test_void"); - error_count++; - } - - // - // Numeric tests ... try some variety in computation, no real - // rationale in the choice of initial parameter values except - // not to use the same values all the time. - // -#define EXPVAL(type,original_value) ((type) cube((type)(original_value))) -#define COMPARE(type,retval,original_value) \ - ((retval) == EXPVAL(type, original_value)) - - PERFORM_TEST (octet, Octet, count + 29, count - 22); - - PERFORM_TEST (short, Short, count - 23, count + 19); - PERFORM_TEST (ushort, UShort, count + 23, count - 19); - - PERFORM_TEST (long, Long, count - 17, count + 20); - PERFORM_TEST (ulong, ULong, count + 17, count - 20); - -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... - PERFORM_TEST (longlong, LongLong, count - 177, count + 3); - PERFORM_TEST (ulonglong, ULongLong, count + 177, count - 3); -#endif // !NONNATIVE_LONGLONG - -#if !defined (i386) - // - // XXX not sure what's wrong with the COMPARE macro with respect to - // floating point on x86, since fprintf shows the values basically - // look correct ... but these float/double tests fail. - // - PERFORM_TEST (float, Float, count - 0.29, count + 3.14159); - PERFORM_TEST (double, Double, count * 1.77, count * 2.71); -#endif // !defined (i386) - - -#ifndef NONNATIVE_LONGDOUBLE -#undef BAD_COMPARE_VALUES -#define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) // NOP - - // - // don't try this between two platforms that don't provide - // arithmetic support for LongDouble values ... - // - if (!skip_longdouble) - PERFORM_TEST (longdouble, LongDouble, - count - 2.33, count * 3.14159); - -# undef BAD_COMPARE_VALUES -# define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) \ - BAD_COMPARE_VALUE_OUT(type,v1,v2,v3,value1,value2) -#endif // !NONNATIVE_LONGDOUBLE - -#undef COMPARE -#undef EXPVAL - - - // - // Boolean -- negation - // -#define EXPVAL(type,original_value) (!(type)(original_value)) -#define COMPARE(type,retval,original_value) \ - (((type)(retval)) == EXPVAL(type,original_value)) - - PERFORM_TEST (boolean, Boolean, - (count & 0x01) != 0, (count & 0x01) == 0); -#undef COMPARE -#undef EXPVAL - - // - // Char, WChar -- identity - // -#define EXPVAL(type,original_value) ((type)(original_value)) -#define COMPARE(type,retval,original_value) \ - (((type)(retval)) == EXPVAL(type,original_value)) - - PERFORM_TEST (char, Char, count + 26, count - 5); - PERFORM_TEST (wchar, WChar, count, count + 25); -#undef COMPARE -#undef EXPVAL - - // - // Object_ptr -- identity (special comparision) - // -#define EXPVAL(type,original_value) ((type)(original_value)) -#define COMPARE(type,retval,original_value) \ - (compare_objrefs (retval, original_value) == CORBA_B_TRUE) -#undef RELEASE -#define RELEASE(obj) \ - { CORBA_release (obj); } - - PERFORM_TEST (Object, Object_ptr, target, CORBA_Object::_nil ()); -#undef COMPARE -#undef EXPVAL - - // - // TypeCode_ptr -- identity (special comparision), and verifies - // that most of the built-in typecode constants exist. - // - // XXX should try this on all standard and system exceptions! - // - // XXX this currently tests only marshaling/unmarshaling of - // "no parameter" TypeCodes ... complex ones (objref, struct, - // union, enum, sequence, array, alias, exception) are _NOT_ - // currently attempted. - // - // XXX for the simple typecodes (string, wstring), the single - // "bound" parameter isn't exercised/verified as it should be. - // -#define EXPVAL(type,original_value) ((type)(original_value)) -#define COMPARE(type,retval,original) \ - (((retval) == (original)) || \ - ((retval)->_kind == (original)->_kind)) - -#undef RELEASE -#define RELEASE(tc) \ - { CORBA_release (tc); } - -#undef BAD_COMPARE_VALUES -#define BAD_COMPARE_VALUES(type,v1,v2,v3,value1,value2) // NOP - - { - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Null, _tc_CORBA_Void); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Short, _tc_CORBA_UShort); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Long, _tc_CORBA_ULong); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_LongLong, _tc_CORBA_ULongLong); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Float, _tc_CORBA_Double); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Boolean, _tc_CORBA_Octet); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Any, _tc_CORBA_TypeCode); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_LongDouble, _tc_CORBA_Principal); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_Char, _tc_CORBA_String); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_WChar, _tc_CORBA_WString); - - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_LongDouble, _tc_CORBA_Octet); - - // - // Try all of the standard exception typecodes. - // - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_UNKNOWN, _tc_CORBA_BAD_PARAM); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_NO_MEMORY, _tc_CORBA_IMP_LIMIT); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_COMM_FAILURE, _tc_CORBA_INV_OBJREF); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_OBJECT_NOT_EXIST, _tc_CORBA_NO_PERMISSION); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INTERNAL, _tc_CORBA_MARSHAL); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INITIALIZE, _tc_CORBA_NO_IMPLEMENT); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_BAD_TYPECODE, _tc_CORBA_BAD_OPERATION); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_NO_RESOURCES, _tc_CORBA_NO_RESPONSE); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_PERSIST_STORE, _tc_CORBA_BAD_INV_ORDER); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_TRANSIENT, _tc_CORBA_FREE_MEM); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INV_IDENT, _tc_CORBA_INV_FLAG); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_INTF_REPOS, _tc_CORBA_BAD_CONTEXT); - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_OBJ_ADAPTER, _tc_CORBA_DATA_CONVERSION); - - // - // All the built-in "user defined" system exceptions. - // - PERFORM_TEST (TypeCode, TypeCode_ptr, - _tc_CORBA_BadKind, _tc_CORBA_Bounds); - } -#undef COMPARE -#undef RELEASE - - // - // string (unbounded)-- identity (special comparision) - // -#define COMPARE(type,retval,original_value) \ - (strcmp ((char *)(retval), (char*)(original_value)) == 0) -#undef RELEASE -#define RELEASE(obj) CORBA_string_free(obj) - static const CORBA_Char str1 [] = "small"; - static const CORBA_Char str2 [] = - "relatively long string, constructed" - " with the aid of C++ implicit string" - " catenation, which simplifies much stuff"; - PERFORM_TEST (string, String, str1, str2); -#undef COMPARE -#undef RELEASE - - - // XXX any, principal, wstring ... output _is_ input - - - // - // Three test cases involve throwing user-defined exceptions. - // - { - CORBA_Exception *xp; - - // - // Case one: with parameter <= zero, must throw - // an "x1" exception whose "case_num" is that parameter - // - test_count++; - - test1_test_throw (target, -5, env); - if (env.exception () != 0) { - xp = env.exception (); - - if (strcmp ((char *)xp->id (), - (char *) _tc_test1_x1->id (env2)) != 0) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 1, " - "wrong exception thrown (id = '%s')\n", - xp->id ()); - } - else - { - test1_x1 *xp2 = (test1_x1 *) xp; - - if (xp2->case_num != -5) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 1, " - "wrong value (case_num = '%ld')\n", - xp2->case_num); - } - - // else, right exception was thrown - } - } - else - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 1, " - "no exception thrown !!\n"); - } - - - // - // Case two: with positive odd parameter, must throw - // an "x2" exception whose obj is null, and whose case_num - // is that parameter - // - test_count++; - - test1_test_throw (target, 101, env); - if (env.exception () != 0) - { - xp = env.exception (); - - if (strcmp ((char *)xp->id (), - (char *) _tc_test1_x2->id (env2)) != 0) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "wrong exception thrown (id = '%s')\n", - xp->id ()); - } - else - { - test1_x2 *xp2 = (test1_x2 *) xp; - - if (xp2->case_num != 101) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "wrong value (case_num = '%ld')\n", - xp2->case_num); - } - - if (!CORBA_is_nil (xp2->obj)) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "non-null objref thrown\n"); - } - - // else, right exception was thrown - } - } - else - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 2, " - "no exception thrown !!\n"); - } - - -#if 0 - // 18-sept-95: commented this out. Work remains to be done in - // this area: (a) ServerRequest::target operation unimplemented, - // so for the servers of current interest this test is no help; - // (b) probable pointer leak in exceptions holding data. - - // - // Case three: with positive even parameter, must throw - // an "x2" exception whose obj is the target, and whose - // case_num is that parameter - // - test_count++; - - test1_test_throw (target, 42, env); - if (env.exception () != 0) - { - xp = env.exception (); - - if (strcmp ((char *)xp->id (), - (char *) _tc_test1_x2->id (env2)) != 0) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "wrong exception thrown (id = '%s')\n", - xp->id ()); - } - else - { - test1_x2 *xp2 = (test1_x2 *) xp; - - if (xp2->case_num != 42) { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "wrong value (case_num = '%ld')\n", - xp2->case_num); - } - - CORBA_Boolean status; - - status = target->_is_equivalent (xp2->obj, env); - - if (env.exception () != 0) - { - error_count++; - print_exception (env.exception (), - "test_throw/3 call to is_equivalent"); - } - else if (status != CORBA_B_TRUE) - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "non-equivalent objref thrown\n"); - } - - // else, right exception was thrown - } - } - else - { - error_count++; - ACE_OS::fprintf (stderr, "test_throw case 3, " - "no exception thrown !!\n"); - } - - env.clear (); -#endif // 0 - - } - - // - // test_illegal -- generate a BAD_OPERATION system exception - // from the remote process - // - test_count++; - test_illegal (target, env); - if (env.exception () == 0 - || ACE_OS::strcmp ((char *) env.exception()->id(), - (char *) _tc_CORBA_BAD_OPERATION->id (env2)) != 0) - { - ACE_OS::fprintf (stderr, "couldn't generate BAD_OPERATION exception\n"); - error_count++; - } - } -} - -int -main (int argc, char *argv[]) -{ - CORBA_ORB_ptr orb_ptr; - CORBA_Environment env; - CORBA_Object_ptr objref = CORBA_Object::_nil(); - unsigned loop_count = 1; - unsigned tests = 0, errors = 0; - int exit_later = 0; - - orb_ptr = CORBA_ORB_init (argc, argv, "internet", env); - - if (env.exception () != 0) - { - dexc (env, "ORB initialisation"); - return 1; - } - - // - // Parse and verify parameters. - // - ACE_Get_Opt get_opt (argc, argv, "dln:O:x"); - int c; - - while ((c = get_opt ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - continue; - - case 'l': // skip "long double" test - skip_longdouble++; - continue; - - case 'n': // loop count - loop_count = (unsigned) ACE_OS::atoi (get_opt.optarg); - continue; - - case 'O': // stringified objref - { - objref = orb_ptr->string_to_object ( - (CORBA_String)get_opt.optarg, env); - if (env.exception () != 0) - { - dexc (env, "string2object"); - return 1; - } - } - continue; - - case 'x': - exit_later++; - continue; - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-l]" - " [-n loopcount]" - " [-O objref]" - " [-x]" - "\n", argv [0] - ); - return 1; - } - - if (CORBA_is_nil (objref) == CORBA_B_TRUE) { - ACE_OS::fprintf (stderr, "%s: must identify non-null target objref\n", - argv [0]); - return 1; - } - - - do_tests (objref, loop_count, tests, errors); - - char *progname = ACE_OS::strrchr (argv [0], '/'); - - if (progname != 0) - progname += 1; - else - progname = argv [0]; - - ACE_OS::fprintf (stderr, "%s: %d loops, %d tests (%d errors)\n", - progname, loop_count, tests, errors); - - if (exit_later) - { - test1_please_exit (objref, env); - if (env.exception () != 0) - print_exception (env.exception (), "test1_please_exit"); - } - - CORBA_release (objref); - - return errors != 0; -} - -#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) -template CORBA_Octet cube(CORBA_Octet); -template CORBA_Short cube(CORBA_Short); -template CORBA_UShort cube(CORBA_UShort); -template CORBA_Long cube(CORBA_Long); -template CORBA_ULong cube(CORBA_ULong); -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... -template CORBA_LongLong cube(CORBA_LongLong); -template CORBA_ULongLong cube(CORBA_ULongLong); -#endif // !NONNATIVE_LONGLONG -template CORBA_Float cube(CORBA_Float); -template CORBA_Double cube(CORBA_Double); -#if !defined (NONNATIVE_LONGDOUBLE) - // don't try this on platforms that don't support - // math on long doubles ... -template CORBA_LongDouble cube(CORBA_LongDouble); -#endif // !NONNATIVE_LONGDOUBLE -#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ diff --git a/TAO/IIOP/tests/Cubit/TAO/test1_svr.cpp b/TAO/IIOP/tests/Cubit/TAO/test1_svr.cpp deleted file mode 100644 index 083b119fcaa..00000000000 --- a/TAO/IIOP/tests/Cubit/TAO/test1_svr.cpp +++ /dev/null @@ -1,691 +0,0 @@ -// @(#)test1_svr.cpp 1.7 95/09/25 -// Copyright 1995 by Sun Microsystems Inc. -// All Rights Reserved -// -// TEST: simple IIOP server for "test1.idl" interface. -// -// Starts up, builds an objref, prints its string, listens for -// messages, responds to them. -// - -#include -#include -#include - -#if unix -# include // for getopt on some systems - -#else // windows - -#endif - -#include "test1.h" -#include -#include - -#include - - - -#if !defined (_WIN32) -extern char *optarg; // missing on some platforms -#endif - -// -// Skeleton code ... just a macro for a bunch of DSI-based method -// code, in lieu of having an IDL compmiler generate static skeletons. -// Static skeletons would be more efficient; most mallocation could go -// away. -// -// Use by: defining OPERATION macro, call DEFINE_SKEL3 as needed, then -// undef OPERATION. -// -// NOTE: "v1_copy" below is needed to work around a bug with the -// HP9000 G++ 2.6.3 compiler, with "LongLong". -// -// XXX this could probably be a template ... or could even be merged -// directly into the Dynamic Implementation Routine below. -// -// XXX we must currently use IN_COPY_VALUE since the memory consumed -// by the parameters must be deallocated by the ORB. When we get an -// updated version of DSI which provides "send it now" semantics, -// these should preallocate the values and not use IN_COPY_VALUE. A -// net decrease in malloc overhead can be had that way. (NVList -// should also get a public constructor, and a way to provide the -// buffer.) -// -#define DEFINE_SKEL3(name,truetype,truetypename) \ - static void \ - _test1_test_ ## name ( \ - CORBA_ServerRequest &req, \ - CORBA_Object_ptr obj, \ - CORBA_Environment &env \ - ) \ - { \ - CORBA_NVList_ptr nvlist; \ - CORBA_ ## truetype scratch = 0; \ - CORBA_Any temp_value (_tc_CORBA_ ## truetypename, \ - &scratch, CORBA_B_FALSE); \ - \ - req.orb ()->create_list (3, nvlist); \ - (void) nvlist->add_value (0, temp_value, \ - CORBA_IN_COPY_VALUE|CORBA_ARG_IN, env); \ - (void) nvlist->add_value (0, temp_value, \ - CORBA_IN_COPY_VALUE|CORBA_ARG_OUT, env); \ - (void) nvlist->add_value (0, temp_value, \ - CORBA_IN_COPY_VALUE|CORBA_ARG_INOUT, env); \ - \ - req.params (nvlist, env); \ - if (env.exception () != 0) { \ - dexc (env, "test1_test_" # name "skeleton, req.params"); \ - return; \ - } \ - \ - CORBA_ ## truetype *v1, *v2, *retval; \ - \ - v1 = (CORBA_ ## truetype *) nvlist->item (0)->value ()->value (); \ - v2 = new CORBA_ ## truetype; \ - *v2 = (CORBA_ ## truetype) OPERATION (*v1); \ - retval = new CORBA_ ## truetype; \ - *retval = (CORBA_ ## truetype) OPERATION (*v1); \ - \ - CORBA_Any_ptr any_val; \ - \ - any_val = nvlist->item (1)->value (); \ - any_val->replace (any_val->type (), v2, CORBA_B_TRUE, env); \ - if (env.exception () != 0) { \ - dexc (env, "test1_test_" # name "skeleton, val2 replace"); \ - return; \ - } \ - \ - v1 = (CORBA_ ## truetype *) nvlist->item (2)->value ()->value (); \ - CORBA_ ## truetype v1copy = *v1; \ - *v1 = (CORBA_ ## truetype) OPERATION (v1copy); \ - \ - any_val = new CORBA_Any (_tc_CORBA_ ## truetypename, \ - retval, CORBA_B_TRUE); \ - req.result (any_val, env); \ - if (env.exception () != 0) { \ - dexc (env, "test1_test_" # name "skeleton, result"); \ - return; \ - } \ - } \ - extern TAO_Call_Data test1_ ## name ## _calldata; - - -extern const TAO_Call_Data test1_void_calldata; - -static void -_test1_test_void (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - - req.orb ()->create_list (0, nvlist); - req.params (nvlist, env); - - if (env.exception () != 0) - dexc (env, "test_throw, get params"); -} - - -// -// Dynamic Skeleton methods for numeric types ... these all just -// cube their parameters in various permutations -// -template -Type cube (Type arg) -{ - Type temp = arg; - - temp = temp * arg; - temp = temp * arg; - return temp; -} - -#define OPERATION(n) cube(n) - -DEFINE_SKEL3 (octet, Octet, Octet) - -DEFINE_SKEL3 (short, Short, Short) -DEFINE_SKEL3 (ushort, UShort, UShort) - -DEFINE_SKEL3 (long, Long, Long) -DEFINE_SKEL3 (ulong, ULong, ULong) - -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... -DEFINE_SKEL3 (longlong, LongLong, LongLong) -DEFINE_SKEL3 (ulonglong, ULongLong, ULongLong) -#endif // !NONNATIVE_LONGLONG - -DEFINE_SKEL3 (float, Float, Float) -DEFINE_SKEL3 (double, Double, Double) - -#if !defined (NONNATIVE_LONGDOUBLE) - // don't try this on platforms that don't support - // math on long doubles ... -DEFINE_SKEL3 (longdouble, LongDouble, LongDouble) -#endif // !NONNATIVE_LONGDOUBLE - -#undef OPERATION - -// -// Dynamic Skeleton methods for Boolean type ... just negates its -// parameters -// -#define OPERATION(x) (!(x)) -DEFINE_SKEL3 (boolean, Boolean, Boolean) -#undef OPERATION - -// -// For character types, output is same as input, no magic needed. -// -#define OPERATION(x) (x) -DEFINE_SKEL3 (char, Char, Char) -DEFINE_SKEL3 (wchar, WChar, WChar) -#undef OPERATION - -// -// For objref, typecode, output is same as input but duplication -// is needed -// -#define OPERATION(x) ((x) ? (x)->AddRef() : 0, x) -DEFINE_SKEL3 (Object, Object_ptr, Object) -DEFINE_SKEL3 (TypeCode, TypeCode_ptr, TypeCode) -#undef OPERATION - -// -// For string, output is copy of input -// -#define OPERATION(x) (CORBA_string_copy(x)) -DEFINE_SKEL3 (string, String, String) -#undef OPERATION - -// -// For wstring, output is copy of input -// -#define OPERATION(x) (CORBA_wstring_copy(x)) -DEFINE_SKEL3 (wstring, WString, WString) -#undef OPERATION - -// -// XXX IMPLEMENT THE REST OF THE DATA TYPES -// -// any, principal -- out is in -// - - -// -// All cases, "case_num" in the exception is the same as the 'in' param -// * negative or zero, throws x1 -// * positive even cases, throws x2 with obj = null objref -// * positive odd cases, throws x2 with obj = target objref -// -// exception x1 { long case_num; }; -// exception x2 { Object obj; long case_num; }; -// -// void test_throw (in long case_num) raises (x1, x2); -// - -extern const TAO_Call_Data test1_test_throw_calldata; - -static void -_test1_test_throw (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value (_tc_CORBA_Long); - CORBA_Long value; - - 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, "test_throw, get params"); - return; - } - - value = *(CORBA_Long *)nv->value ()->value (); - if (env.exception () != 0) - { - dexc (env, "test_throw, param value"); - return; - } - - CORBA_Any_ptr any; - - if (value <= 0) - { - test1_x1 *x; - - x = new test1_x1 (value); - any = new CORBA_Any (_tc_test1_x1, x, CORBA_B_TRUE); - - } - else if (value & 0x01) - { - test1_x2 *x; - - x = new test1_x2 (CORBA_Object::_nil (), value); - any = new CORBA_Any (_tc_test1_x2, x, CORBA_B_TRUE); - - } - else - { -#if 0 - test1_x2 *x; - - x = new test1_x2 (req.oa()->target (), value); - any = new CORBA_Any (_tc_test1_x2, x, CORBA_B_TRUE); -#else - // - // XXX right now, we don't have a target() operation on the - // BOA ... needs to be added. Verify the client side memory - // leak of pointers embedded in user exceptions is fixed, too. - // - env.exception (new CORBA_IMP_LIMIT (COMPLETED_NO)); - return; -#endif - } - - req.exception (USER_EXCEPTION, any, env); -} - - -// -// This table is used to associate operation names with the Dynamic -// Skeleton method ... someday it could return static skeletons. -// -#define DECL_SKEL(name) \ - { & test1_ ## name ## _calldata, _test1_test_ ## name } - -static const TAO_Skel_Entry test1_operations [] = { - DECL_SKEL (void), - - DECL_SKEL (octet), - DECL_SKEL (char), - - DECL_SKEL (wchar), - - DECL_SKEL (short), - DECL_SKEL (ushort), - DECL_SKEL (long), - DECL_SKEL (ulong), - -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... - DECL_SKEL (longlong), - DECL_SKEL (ulonglong), -#endif - - DECL_SKEL (float), - DECL_SKEL (double), - -#if !defined (NONNATIVE_LONGDOUBLE) - // don't try this on platforms that don't support - // math on long doubles ... - DECL_SKEL (longdouble), -#endif // !NONNATIVE_LONGDOUBLE - - DECL_SKEL (boolean), - - DECL_SKEL (Object), - DECL_SKEL (TypeCode), - - DECL_SKEL (string), - DECL_SKEL (wstring), - - { & test1_test_throw_calldata, _test1_test_throw }, - - { 0, 0 } -}; - - -// -// Dispatch to method code ... -// -// Knows how to interpret "context" to get target objref, and where to -// get second level skeletons for that target. Both of those operations -// will generally be abstracted (into library and stub code) so the main -// body of this routine would be invisible to most applications. -// -// However, there are applications that need to do this stuff themselves -// (like bridging between environments, e.g. different ORBs, languages, or -// other object systems). Everything needed to work without using an IDL -// compiler is a public, supported API. -// -static void -level1_skeleton (CORBA_OctetSeq &key, - CORBA_ServerRequest &req, - void *context, - CORBA_Environment &env) -{ - // - // Verify that the target object and "this" object have the - // same key. Normally, this would be used to figure out - // which object was the target, and hence which operations - // vector to dispatch the request. - // - CORBA_OctetSeq *obj_key; - - obj_key = (CORBA_OctetSeq *) context; - if (obj_key->length != key.length - || ACE_OS::memcmp (obj_key->buffer, key.buffer, - obj_key->length) != 0) - { - env.exception (new CORBA_OBJECT_NOT_EXIST (COMPLETED_NO)); -#ifdef DEBUG - if (TAO_debug_level) - dmsg_opaque ("request to nonexistent object, key = ", - key.buffer, key.length); -#endif - return; - } - - // - // Find a "level 2 skeleton" for this operation, then - // call it with the right per-object state. - // - const TAO_Skel_Entry *entry; - CORBA_String opname; - - opname = req.op_name (); - for (entry = &test1_operations [0]; entry->op_descriptor; entry++) - { - if (strcmp ((char *)opname, entry->op_descriptor->opname) == 0) - { - // We pass a bogus object because this version of the cubit example is - // so tightly coupled that it doesn't use it. Future modifications will, - // hopefully! - CORBA_Object_ptr bogus_object = 0; - entry->impl_skeleton (req, bogus_object, env); - return; - } - } - - // - // XXX True top-level skeleton code would also have to understand - // the built-in operations: - // - // * _is_a (for narrowing tests) ... can be derived by searching an - // appropriately structured graph of level2 skeletons. - // - // * _non_existent ... if the level1 skeleton consults a module - // which understands object lifespans, this should be simple. - // - // * _get_interface ... could either (a) fail; (b) return the ref - // from some IFR; or most interestingly (c) return a ref to some - // code in this process that can answer all IFR queries from the - // skeleton data structures. - // - // * _get_implementation ... return some administrative hook to - // the object implementation: - // - // No other legal operations start with a character that's not an - // ASCII alphanumeric, for what it's worth. - // - // The skeleton might want to use data in the object key to find - // the objref's type; if it's integrated with object creation, and - // an per-process implementation repository, this should be easy. - // - - // - // bypass level 2 skeletons for this one ... - // - if (strcmp ((char *) opname, "please_exit") == 0) - { - dmsg ("I've been asked to shut down..."); - req.oa ()->please_shutdown (env); - dexc (env, "please_exit, please_shutdown"); - return; - } - - // - // No match. Operation not implemented; say so. - // - dmsg1 ("unknown operation, %s", opname); - env.exception (new CORBA_BAD_OPERATION (COMPLETED_NO)); -} - - -// -// Create and print the objref, listen for calls on it until done. -// -extern void -print_exception (const CORBA_Exception *, const char *, FILE *f=stdout); - -int -OA_listen (CORBA_ORB_ptr orb_ptr, - CORBA_BOA_ptr oa_ptr, - CORBA_String key, - int idle) -{ - // - // Create the object we'll be implementing. - // - CORBA_OctetSeq obj_key; - CORBA_Object_ptr obj; - CORBA_Environment env; - - obj_key.buffer = (CORBA_Octet *) key; - obj_key.length = obj_key.maximum = ACE_OS::strlen (key); - - obj = oa_ptr->create (obj_key, (CORBA_String) "", env); - if (env.exception () != 0) - { - print_exception (env.exception (), "BOA::create"); - return 1; - } - - // - // Stringify the objref we'll be implementing, and - // print it to stdout. Someone will take that string - // and give it to some client. - // - CORBA_String str; - - str = orb_ptr->object_to_string (obj, env); - if (env.exception () != 0) - { - print_exception (env.exception (), "object2string"); - return 1; - } - ACE_OS::puts ((char *)str); - ACE_OS::fflush (stdout); - dmsg1 ("listening as object '%s'", str); - - // - // Clean up -- "key" is sufficient to dispatch all requests. - // - CORBA_release (obj); - CORBA_string_free (str); - env.clear (); - - // - // Handle requests for this object until we're killed, or one of - // the methods makes us exit. - // - // NOTE: apart from registering the top level skeleton, the rest - // of this loop is exactly what BOA::run() does. It's here to - // show there's no magic. - // -#if 0 - oa_ptr->register_dir (level1_skeleton, &obj_key, env); -#else - oa_ptr->register_dir (oa_ptr->dispatch, &obj_key, env); -#endif - if (env.exception () != 0) - { - print_exception (env.exception (), "register_dir"); - return 1; - } - - for (;;) { - if (idle == -1) - oa_ptr->get_request (CORBA_B_FALSE, 0, env); - else - { - timeval tv; - - tv.tv_sec = idle; - tv.tv_usec = 0; - oa_ptr->get_request (CORBA_B_FALSE, &tv, env); - } - - CORBA_Exception_ptr xp; - - if ((xp = env.exception ()) != 0) - { - CORBA_Environment env2; // XXX - char *id; - - id = env.exception ()->id (); - - // - // We get BAD_INV_ORDER if we call get_request() after - // shutdown was initiated. Simpler to rely on that - // than to arrange any handshaking in this simple app. - // - if (strcmp (id, _tc_CORBA_BAD_INV_ORDER->id (env2)) == 0) - { - break; - - // - // Other exceptions are errors. - // - } - else - { - print_exception (env.exception (), "BOA::get_request"); - return 1; - } - } - env.clear (); - } - - // - // Shut down the OA -- recycles all underlying resources (e.g. file - // descriptors, etc). - // - // XXX shutdown is not quite the same as release, unless we want mem - // leaks to cause some rude failure modes. BOA just hasn't been - // updated yet to have any handshake about this though. - // - oa_ptr->Release (); - return 0; -} - - -// -// Standard command line parsing utilities used. -// -int -main (int argc, char *argv[]) -{ - CORBA_Environment env; - CORBA_ORB_ptr orb_ptr; - CORBA_BOA_ptr oa_ptr; - CORBA_String key = (CORBA_String) "elvis"; - char *oa_name = 0; - char *orb_name = "internet"; - int idle = -1; - - // - // Parse the command line, get options - // - ACE_Get_Opt get_opt (argc, argv, "di:ln:O:x"); - int c; - - while ((c = get_opt ()) != -1) - switch (c) - { - case 'd': // more debug noise - TAO_debug_level++; - continue; - - case 'i': // idle seconds b4 exit - idle = ACE_OS::atoi (get_opt.optarg); - continue; - - case 'k': // key (str) - key = (CORBA_String) get_opt.optarg; - continue; - - case 'o': // orb name - orb_name = get_opt.optarg; - continue; - - case 'p': // portnum - oa_name = get_opt.optarg; - continue; - - // XXX set debug filters ... - - // - // XXX ignore OMG-specified options ... hope nobody ever tries - // to use that "-ORB* param" and "-OA* param" syntax, it flies - // in the face of standard command parsing algorithms which - // require single-character option specifiers. - // - - - case '?': - default: - ACE_OS::fprintf (stderr, "usage: %s" - " [-d]" - " [-i idle_seconds]" - " [-k object_key=elvis]" - " [-o orbname=internet]" - " [-p oa_name]" - "\n", argv [0] - ); - return 1; - } - - orb_ptr = CORBA_ORB_init (argc, argv, orb_name, env); - if (env.exception () != 0) { - print_exception (env.exception (), "ORB init"); - return 1; - } - - // - // The BOA may or may not actually be named ... - // - oa_ptr = CORBA_BOA::get_named_boa (orb_ptr, oa_name, env); - if (env.exception () != 0) - { - print_exception (env.exception (), "OA init"); - return 1; - } - - return OA_listen (orb_ptr, oa_ptr, key, idle); -} - -#if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) -template CORBA_Octet cube(CORBA_Octet); -template CORBA_Short cube(CORBA_Short); -template CORBA_UShort cube(CORBA_UShort); -template CORBA_Long cube(CORBA_Long); -template CORBA_ULong cube(CORBA_ULong); -#if !defined (NONNATIVE_LONGLONG) - // don't try this on platforms that don't support - // math on longlongs ... -template CORBA_LongLong cube(CORBA_LongLong); -template CORBA_ULongLong cube(CORBA_ULongLong); -#endif // !NONNATIVE_LONGLONG -template CORBA_Float cube(CORBA_Float); -template CORBA_Double cube(CORBA_Double); -#if !defined (NONNATIVE_LONGDOUBLE) - // don't try this on platforms that don't support - // math on long doubles ... -template CORBA_LongDouble cube(CORBA_LongDouble); -#endif // !NONNATIVE_LONGDOUBLE -#endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Makefile b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Makefile deleted file mode 100644 index 9fdad280ffc..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -include stdmk - -EXE = server - -all: $(EXE) - -clean: - -rm -f core *.o cubitC.* cubitS.* $(EXE) - -rm -rf Templates.DB - -cubitS.cpp: cubit.idl - $(ORBCC) cubit.idl - -cubitC.cpp: cubit.idl - $(ORBCC) cubit.idl - -server: cubitS.o cubitC.o server.o Profile_Timer.o cubit_impl.o - $(CC) -o server cubitS.o cubitC.o cubit_impl.o server.o Profile_Timer.o \ - $(LIBPATH) $(LIBORB) $(STDCC_LIBS) diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp deleted file mode 100644 index a871b9cf179..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "Profile_Timer.h" - -/* Initialize interval timer. */ - -Profile_Timer::Profile_Timer (void) -{ - char buf[20]; - ::sprintf(buf, "/proc/%d", ::getpid ()); - - ::memset (&this->end_usage_, 0, sizeof this->end_usage_); - ::memset (&this->begin_usage_, 0, sizeof this->begin_usage_); - ::memset (&this->last_usage_, 0, sizeof this->last_usage_); - if ((this->proc_fd_ = ::open (buf, O_RDONLY, 0)) == -1) - ::perror (buf); -} - -/* Terminate the interval timer. */ -Profile_Timer::~Profile_Timer (void) -{ - if (::close (this->proc_fd_) == -1) - ::perror ("Profile_Timer::~Profile_Timer"); -} - -/* Return the resource utilization. */ - -void -Profile_Timer::get_rusage (prusage_t &rusage) -{ - rusage = this->end_usage_; -} - -/* Compute the amount of resource utilization since the start time. */ - -void -Profile_Timer::elapsed_rusage (prusage_t &rusage) -{ - rusage.pr_lwpid = this->end_usage_.pr_lwpid - this->last_usage_.pr_lwpid; - rusage.pr_count = this->end_usage_.pr_count - this->last_usage_.pr_count; - rusage.pr_minf = this->end_usage_.pr_minf - this->last_usage_.pr_minf; - rusage.pr_majf = this->end_usage_.pr_majf - this->last_usage_.pr_majf; - rusage.pr_inblk = this->end_usage_.pr_inblk - this->last_usage_.pr_inblk; - rusage.pr_oublk = this->end_usage_.pr_oublk - this->last_usage_.pr_oublk; - rusage.pr_msnd = this->end_usage_.pr_msnd - this->last_usage_.pr_msnd; - rusage.pr_mrcv = this->end_usage_.pr_mrcv - this->last_usage_.pr_mrcv; - rusage.pr_sigs = this->end_usage_.pr_sigs - this->last_usage_.pr_sigs; - this->subtract (rusage.pr_wtime, this->end_usage_.pr_wtime, this->last_usage_.pr_wtime); - this->subtract (rusage.pr_ltime, this->end_usage_.pr_ltime, this->last_usage_.pr_ltime); - this->subtract (rusage.pr_slptime, this->end_usage_.pr_slptime, this->last_usage_.pr_slptime); - rusage.pr_vctx = this->end_usage_.pr_vctx - this->last_usage_.pr_vctx; - rusage.pr_ictx = this->end_usage_.pr_ictx - this->last_usage_.pr_ictx; - rusage.pr_sysc = this->end_usage_.pr_sysc - this->last_usage_.pr_sysc; - rusage.pr_ioch = this->end_usage_.pr_ioch - this->last_usage_.pr_ioch; -} - -/* Compute the elapsed time. */ - -void -Profile_Timer::compute_times (Elapsed_Time &et, prusage_t &end, prusage_t &begin) -{ - timespec_t td; - - this->subtract (td, end.pr_tstamp, begin.pr_tstamp); - et.real_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_utime, begin.pr_utime); - et.user_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_stime, begin.pr_stime); - et.system_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); -} - -/* Compute the amount of time that has elapsed between start and stop. */ - -int -Profile_Timer::elapsed_time (Elapsed_Time &et) -{ - this->compute_times (et, this->end_usage_, this->begin_usage_); - return 0; -} - -/* Determine the difference between T1 and T2. */ - -void -Profile_Timer::subtract (timespec_t &tdiff, timespec_t &t1, timespec_t &t0) -{ - tdiff.tv_sec = t1.tv_sec - t0.tv_sec; - tdiff.tv_nsec = t1.tv_nsec - t0.tv_nsec; - - /* Normalize the time. */ - - while (tdiff.tv_nsec < 0) - { - tdiff.tv_sec--; - tdiff.tv_nsec += (1000 * 1000 * 1000); - } -} - -#if defined (DEBUG) -#include -extern "C" int gettimeofday (timeval *tp); - -const int DEFAULT_ITERATIONS = 1000000; - -int -main (int argc, char *argv[]) -{ - Profile_Timer timer; - int iterations = argc > 1 ? atoi (argv[1]) : DEFAULT_ITERATIONS; - timeval tv; - - timer.start (); - - for (int i = 0; i < iterations; i++) - gettimeofday (&tv); - - timer.stop (); - - Profile_Timer::Elapsed_Time et; - - timer.elapsed_time (et); - - printf ("iterations = %d\n", iterations); - printf ("real time = %f secs, user time = %f secs, system time = %f secs\n", - et.real_time, et.user_time, et.system_time); - - printf ("time per call = %f usecs\n", (et.real_time / double (iterations)) * 1000000); - return 0; -} -#endif /* DEBUG */ diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h deleted file mode 100644 index f001f59be9a..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -/* An interval timer class using C++. */ - -#if !defined (ACE_PROFILE_TIMER_H) -#define ACE_PROFILE_TIMER_H - -#include -#include -#include -#include -#include -#include - -class Profile_Timer -{ -public: - struct Elapsed_Time - { - double real_time; - double user_time; - double system_time; - }; - - Profile_Timer (void); - ~Profile_Timer (void); - int start (void); - int stop (void); - int elapsed_time (Elapsed_Time &et); - void elapsed_rusage (prusage_t &rusage); - void get_rusage (prusage_t &rusage); - -private: - void subtract (timespec_t &tdiff, timespec_t &t0, timespec_t &t1); - void compute_times (Elapsed_Time &et, prusage_t &, prusage_t &); - - prusage_t begin_usage_; - prusage_t end_usage_; - prusage_t last_usage_; - int proc_fd_; -}; - -/* Start timing */ - -inline int -Profile_Timer::start (void) -{ - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->begin_usage_); -} - -/* Stop timing */ - -inline int -Profile_Timer::stop (void) -{ - this->last_usage_ = this->end_usage_; - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->end_usage_); -} - -#endif /* ACE_PROFILE_TIMER_H */ - diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit.idl b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit.idl deleted file mode 100644 index 3e2ea392619..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. -// -//#pragma prefix "Eng.SUN.COM" -//#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.cpp b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.cpp deleted file mode 100644 index 63c0bb3105f..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include "cubit_impl.h" - -CORBA::Octet Cubit_Impl:: cube_octet (CORBA::Octet o) { - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short Cubit_Impl:: cube_short (CORBA::Short s) { - return (CORBA::Short) (s * s * s); -} - -CORBA::Long Cubit_Impl:: cube_long (CORBA::Long l) { - return (CORBA::Long) (l * l * l); -} - -Cubit::Many Cubit_Impl:: cube_struct (const Cubit::Many& values) { - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - return out_values; -} - -Cubit::oneof Cubit_Impl:: cube_union (const Cubit::oneof& values) { - Cubit::oneof out_values; - switch (values._d ()) { - case Cubit::e_0th: - out_values.o (values.o () * values.o () * values.o ()); - break; - case Cubit::e_1st: - out_values.s (values.s () * values.s () * values.s ()); - break; - case Cubit::e_2nd: - out_values.l (values.l () * values.l () * values.l ()); - break; - case Cubit::e_3rd: - default: - out_values.cm ().o = values.cm ().o * values.cm ().o * values.cm ().o ; - out_values.cm ().s = values.cm ().s * values.cm ().s * values.cm ().s ; - out_values.cm ().l = values.cm ().l * values.cm ().l * values.cm ().l ; - break; - } - return out_values; -} - -void Cubit_Impl:: please_exit () - {} diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.h b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.h deleted file mode 100644 index 0f6fd7dd6db..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/cubit_impl.h +++ /dev/null @@ -1,33 +0,0 @@ - -#ifndef cubit_ih -#define cubit_ih - -#include "cubitS.h" - - -#ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual _sk_Cubit { -#else -class Cubit_Impl { -#endif /* Cubit_USE_BOA */ - -public: - -#ifdef Cubit_USE_BOA - Cubit_Impl (const char *obj_name = NULL) : - _sk_Cubit(obj_name) - {} -#else - Cubit_Impl (const char *obj_name = NULL) - {} -#endif /* Cubit_USE_BOA */ - - virtual CORBA::Octet cube_octet(CORBA::Octet o); - virtual CORBA::Short cube_short(CORBA::Short s); - virtual CORBA::Long cube_long(CORBA::Long l); - virtual Cubit::Many cube_struct(const Cubit::Many& values); - virtual Cubit::oneof cube_union(const Cubit::oneof& values); - virtual void please_exit(); -}; - -#endif diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/server.cpp b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/server.cpp deleted file mode 100644 index a4a1c85ed47..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/server.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//************************************************************************** -// -// NAME : tpr_server.cpp -// DESCRIPTION: -// -// Server mainline -// -//**************************************************************************** -#include "cubit_impl.h" // server header file - -int -main (int argc, char** argv) -{ - - CORBA::ORB_var orb = CORBA::ORB_init(argc, argv); - CORBA::BOA_var boa = orb->BOA_init(argc, argv); - -#ifdef Cubit_USE_BOA - Cubit_Impl cb("Cubit"); - cout << "Using BOA approach" << endl; -#else - Cubit_Impl tied("Cubit"); - _tie_Cubit cb(tied, "Cubit"); - - cout << "Using TIE approach" << endl; -#endif /* Cubit_USE_BOA */ - - // - // Go get some work to do.... - // - try { - - boa->obj_is_ready(&cb); - - boa->impl_is_ready(); - - } catch (const CORBA::Exception &excep) { - cerr << "Server error: " << excep << endl; - return -1; - } catch (...) { - cerr << "Unknown exception" << endl; - return -1; - } - - cout << "Cubit server is exiting." << endl; - - - return 0; -} diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/stdmk b/TAO/IIOP/tests/Cubit/VisiBroker/base_server/stdmk deleted file mode 100644 index df4125a38d8..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/base_server/stdmk +++ /dev/null @@ -1,36 +0,0 @@ -CC = CC -DEBUG = - -ORBELINEDIR = /project/waltz/Orbeline2.0 - -ORBCC = $(ORBELINEDIR)/bin/orbeline -v C -m S -c cpp -h h - -CCINCLUDES = -I. -I$(ORBELINEDIR)/include -I$(STL_DIR) -I$(ACE_DIR) - -CCFLAGS = -g $(CCINCLUDES) $(DEBUG) -DCubit_USE_BOA - -LIBPATH = -L$(ORBELINEDIR)/lib -L$(ACE_DIR)/ace - -STDCC_LIBS = -lsocket -lnsl -ldl -mt - -LIBORB = -lorb - -LIBACE = -lACE - -.SUFFIXES: .C .o .h .hh .cc .cpp - -.C.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.cc.o: - $(CC) $(CCFLAGS) -c -o $@ $< -.cpp.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.C.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - -.cc.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - - diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/client/Makefile b/TAO/IIOP/tests/Cubit/VisiBroker/client/Makefile deleted file mode 100644 index d9c26fe56f0..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/client/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -include stdmk - -EXE = client - -all: $(EXE) - -clean: - -rm -f core *.o cubitC.* cubitS.* $(EXE) - -rm -rf Templates.DB - -cubitS.cpp: cubit.idl - $(ORBCC) cubit.idl - -cubitC.cpp: cubit.idl - $(ORBCC) cubit.idl - -client: cubitC.o Profile_Timer.o client.o - $(CC) -o client cubitC.o Profile_Timer.o client.o \ - $(LIBPATH) $(LIBORB) $(STDCC_LIBS) diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp b/TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp deleted file mode 100644 index a871b9cf179..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "Profile_Timer.h" - -/* Initialize interval timer. */ - -Profile_Timer::Profile_Timer (void) -{ - char buf[20]; - ::sprintf(buf, "/proc/%d", ::getpid ()); - - ::memset (&this->end_usage_, 0, sizeof this->end_usage_); - ::memset (&this->begin_usage_, 0, sizeof this->begin_usage_); - ::memset (&this->last_usage_, 0, sizeof this->last_usage_); - if ((this->proc_fd_ = ::open (buf, O_RDONLY, 0)) == -1) - ::perror (buf); -} - -/* Terminate the interval timer. */ -Profile_Timer::~Profile_Timer (void) -{ - if (::close (this->proc_fd_) == -1) - ::perror ("Profile_Timer::~Profile_Timer"); -} - -/* Return the resource utilization. */ - -void -Profile_Timer::get_rusage (prusage_t &rusage) -{ - rusage = this->end_usage_; -} - -/* Compute the amount of resource utilization since the start time. */ - -void -Profile_Timer::elapsed_rusage (prusage_t &rusage) -{ - rusage.pr_lwpid = this->end_usage_.pr_lwpid - this->last_usage_.pr_lwpid; - rusage.pr_count = this->end_usage_.pr_count - this->last_usage_.pr_count; - rusage.pr_minf = this->end_usage_.pr_minf - this->last_usage_.pr_minf; - rusage.pr_majf = this->end_usage_.pr_majf - this->last_usage_.pr_majf; - rusage.pr_inblk = this->end_usage_.pr_inblk - this->last_usage_.pr_inblk; - rusage.pr_oublk = this->end_usage_.pr_oublk - this->last_usage_.pr_oublk; - rusage.pr_msnd = this->end_usage_.pr_msnd - this->last_usage_.pr_msnd; - rusage.pr_mrcv = this->end_usage_.pr_mrcv - this->last_usage_.pr_mrcv; - rusage.pr_sigs = this->end_usage_.pr_sigs - this->last_usage_.pr_sigs; - this->subtract (rusage.pr_wtime, this->end_usage_.pr_wtime, this->last_usage_.pr_wtime); - this->subtract (rusage.pr_ltime, this->end_usage_.pr_ltime, this->last_usage_.pr_ltime); - this->subtract (rusage.pr_slptime, this->end_usage_.pr_slptime, this->last_usage_.pr_slptime); - rusage.pr_vctx = this->end_usage_.pr_vctx - this->last_usage_.pr_vctx; - rusage.pr_ictx = this->end_usage_.pr_ictx - this->last_usage_.pr_ictx; - rusage.pr_sysc = this->end_usage_.pr_sysc - this->last_usage_.pr_sysc; - rusage.pr_ioch = this->end_usage_.pr_ioch - this->last_usage_.pr_ioch; -} - -/* Compute the elapsed time. */ - -void -Profile_Timer::compute_times (Elapsed_Time &et, prusage_t &end, prusage_t &begin) -{ - timespec_t td; - - this->subtract (td, end.pr_tstamp, begin.pr_tstamp); - et.real_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_utime, begin.pr_utime); - et.user_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); - this->subtract (td, end.pr_stime, begin.pr_stime); - et.system_time = td.tv_sec + ((double) td.tv_nsec) / (1000 * 1000 * 1000); -} - -/* Compute the amount of time that has elapsed between start and stop. */ - -int -Profile_Timer::elapsed_time (Elapsed_Time &et) -{ - this->compute_times (et, this->end_usage_, this->begin_usage_); - return 0; -} - -/* Determine the difference between T1 and T2. */ - -void -Profile_Timer::subtract (timespec_t &tdiff, timespec_t &t1, timespec_t &t0) -{ - tdiff.tv_sec = t1.tv_sec - t0.tv_sec; - tdiff.tv_nsec = t1.tv_nsec - t0.tv_nsec; - - /* Normalize the time. */ - - while (tdiff.tv_nsec < 0) - { - tdiff.tv_sec--; - tdiff.tv_nsec += (1000 * 1000 * 1000); - } -} - -#if defined (DEBUG) -#include -extern "C" int gettimeofday (timeval *tp); - -const int DEFAULT_ITERATIONS = 1000000; - -int -main (int argc, char *argv[]) -{ - Profile_Timer timer; - int iterations = argc > 1 ? atoi (argv[1]) : DEFAULT_ITERATIONS; - timeval tv; - - timer.start (); - - for (int i = 0; i < iterations; i++) - gettimeofday (&tv); - - timer.stop (); - - Profile_Timer::Elapsed_Time et; - - timer.elapsed_time (et); - - printf ("iterations = %d\n", iterations); - printf ("real time = %f secs, user time = %f secs, system time = %f secs\n", - et.real_time, et.user_time, et.system_time); - - printf ("time per call = %f usecs\n", (et.real_time / double (iterations)) * 1000000); - return 0; -} -#endif /* DEBUG */ diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h b/TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h deleted file mode 100644 index f001f59be9a..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -*- C++ -*- */ -/* An interval timer class using C++. */ - -#if !defined (ACE_PROFILE_TIMER_H) -#define ACE_PROFILE_TIMER_H - -#include -#include -#include -#include -#include -#include - -class Profile_Timer -{ -public: - struct Elapsed_Time - { - double real_time; - double user_time; - double system_time; - }; - - Profile_Timer (void); - ~Profile_Timer (void); - int start (void); - int stop (void); - int elapsed_time (Elapsed_Time &et); - void elapsed_rusage (prusage_t &rusage); - void get_rusage (prusage_t &rusage); - -private: - void subtract (timespec_t &tdiff, timespec_t &t0, timespec_t &t1); - void compute_times (Elapsed_Time &et, prusage_t &, prusage_t &); - - prusage_t begin_usage_; - prusage_t end_usage_; - prusage_t last_usage_; - int proc_fd_; -}; - -/* Start timing */ - -inline int -Profile_Timer::start (void) -{ - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->begin_usage_); -} - -/* Stop timing */ - -inline int -Profile_Timer::stop (void) -{ - this->last_usage_ = this->end_usage_; - return ::ioctl (this->proc_fd_, PIOCUSAGE, &this->end_usage_); -} - -#endif /* ACE_PROFILE_TIMER_H */ - diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/client/client.cpp b/TAO/IIOP/tests/Cubit/VisiBroker/client/client.cpp deleted file mode 100644 index c2b1d4070ae..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/client/client.cpp +++ /dev/null @@ -1,230 +0,0 @@ -//************************************************************************** -// -// NAME : client.C -// DESCRIPTION: -// -// Client for the Cubit example -// -//**************************************************************************** - -#include -#include -#include -#include -#include -#include "cubitC.h" -#include "Profile_Timer.h" - -int LOOP_COUNT; -char SERVER_HOST [1024]; - -inline int func (unsigned i) { return i - 117; } -void run_tests (Cubit_var, int); - -// = TITLE -// Parses the command line arguments and returns an error status -// -// = DESCRIPTION -// This method parses the command line arguments -int parse_args(int argc, char *argv[]) -{ - if (argc != 3) { - cerr << "Format: client " << endl; - return -1; - } - - strcpy(SERVER_HOST, argv[1]); - - LOOP_COUNT = atoi(argv[2]); - - return 0; // Indicates successful parsing of command line -} - - -// -// Mainline -// -int -main (int argc, char *argv[]) -{ - if (parse_args (argc, argv) != 0) - return -1; - - Cubit_var cb; - // cout << "attempting to contact server at host " << SERVER_HOST << '\n' ; - - // - // Initialise client's binding to an - // arbitrary cubit server (at some host) - // - try { - cb = Cubit::_bind ("Cubit", SERVER_HOST); - - } catch (const CORBA::Exception & sysEx) { - cerr << "Binding failed: " << endl; - cerr << sysEx; - } catch (...) { - cerr << "Unexpected exception" << endl; - } - - run_tests (cb, LOOP_COUNT); - return 0; -} - - -void -run_tests (Cubit_var cb, int loop_count) -{ - // - // Make the calls in a loop. - // - unsigned i; - unsigned call_count, error_count; - - call_count = 0; - error_count = 0; - - Profile_Timer pt; - - pt.start(); - // - // Cube an octet. - // - - for (i = 0; i < loop_count; i++) - { - - call_count++; - - CORBA::Octet arg_octet = func (i), ret_octet; - - try { - ret_octet = cb->cube_octet (arg_octet); - - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - arg_octet = arg_octet * arg_octet * arg_octet; - if (arg_octet != ret_octet) { - printf ("** cube_octet(%d) (--> %d)\n", arg_octet , ret_octet); - error_count++; - } - - - // - // Cube a short. - // - call_count++; - - CORBA::Short arg_short = func (i), ret_short; - - try { - ret_short = cb->cube_short (arg_short); - - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - arg_short = arg_short * arg_short * arg_short; - if (arg_short != ret_short) { - printf ("** cube_short(%d) (--> %d)\n", arg_short , ret_short); - error_count++; - } - - // - // Cube a long. - // - - call_count++; - - CORBA::Long arg_long = func (i), ret_long; - - try { - ret_long = cb->cube_long (arg_long); - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - arg_long = arg_long * arg_long * arg_long; - if (arg_long != ret_long) { - printf ("** cube_long(%d) (--> %d)\n", arg_long , ret_long); - error_count++; - } - - - // - // Cube a "struct" ... - // - Cubit::Many arg_struct, ret_struct; - - call_count++; - - arg_struct.l = func (i); - arg_struct.s = func (i); - arg_struct.o = func (i); - - try { - ret_struct = cb->cube_struct (arg_struct); - - } catch (const CORBA::Exception &sysEx) { - cerr << "Call failed: " << endl; - cerr << sysEx; - error_count++; - } catch (...) { - cerr << "Unexpected exception" << endl; - error_count++; - } - - - arg_struct.l = arg_struct.l * arg_struct.l * arg_struct.l ; - arg_struct.s = arg_struct.s * arg_struct.s * arg_struct.s ; - arg_struct.o = arg_struct.o * arg_struct.o * arg_struct.o ; - - if (arg_struct.l != ret_struct.l - || arg_struct.s != ret_struct.s - || arg_struct.o != ret_struct.o ) - { - cerr << "** cube_struct ERROR\n"; - error_count++; - } - } - - pt.stop(); - - Elapsed_Time et; - pt.elapsed_time(et); - - if (call_count > 0) - { - if (error_count == 0) - { - unsigned long us = et.real_time * 1000 * 1000; - - us /= call_count; - - if (us > 0) - printf ("cube average call ACE_OS::time\t= %ld.%.03ldms, \t" - "%ld calls/second\n", - us / 1000, us % 1000, - 1000000L / us); - } - - printf ("%d calls, %d errors\n", call_count, error_count); - } -} diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/client/cubit.idl b/TAO/IIOP/tests/Cubit/VisiBroker/client/cubit.idl deleted file mode 100644 index 3e2ea392619..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/client/cubit.idl +++ /dev/null @@ -1,40 +0,0 @@ -// @(#)cubit.idl 1.1 95/09/10 -// Copyright 1994-1995 by Sun Microsystems, Inc. -// -//#pragma prefix "Eng.SUN.COM" -//#pragma version Cubit 1.1 - -interface Cubit { - octet cube_octet (in octet o); - short cube_short (in short s); - long cube_long (in long l); - - struct Many { - octet o; // + 3 bytes padding (normally) ... - long l; - short s; // + 2 bytes padding (normally) ... - }; - - Many cube_struct (in Many values); - - enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; - - union oneof - switch (discrim) { - // this is an easy union to interpret; no padding - // is needed between discriminant and value. - case e_0th: - octet o; - case e_1st: - short s; - case e_2nd: - long l; - case e_3rd: - default: - Many cm; - }; - - oneof cube_union (in oneof values); - - oneway void please_exit (); -}; diff --git a/TAO/IIOP/tests/Cubit/VisiBroker/client/stdmk b/TAO/IIOP/tests/Cubit/VisiBroker/client/stdmk deleted file mode 100644 index df4125a38d8..00000000000 --- a/TAO/IIOP/tests/Cubit/VisiBroker/client/stdmk +++ /dev/null @@ -1,36 +0,0 @@ -CC = CC -DEBUG = - -ORBELINEDIR = /project/waltz/Orbeline2.0 - -ORBCC = $(ORBELINEDIR)/bin/orbeline -v C -m S -c cpp -h h - -CCINCLUDES = -I. -I$(ORBELINEDIR)/include -I$(STL_DIR) -I$(ACE_DIR) - -CCFLAGS = -g $(CCINCLUDES) $(DEBUG) -DCubit_USE_BOA - -LIBPATH = -L$(ORBELINEDIR)/lib -L$(ACE_DIR)/ace - -STDCC_LIBS = -lsocket -lnsl -ldl -mt - -LIBORB = -lorb - -LIBACE = -lACE - -.SUFFIXES: .C .o .h .hh .cc .cpp - -.C.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.cc.o: - $(CC) $(CCFLAGS) -c -o $@ $< -.cpp.o: - $(CC) $(CCFLAGS) -c -o $@ $< - -.C.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - -.cc.cpp: - $(CC) -E $(CCFLAGS) $< > $@ - - diff --git a/TAO/IIOP/tests/Cubit/results/Orbix b/TAO/IIOP/tests/Cubit/results/Orbix deleted file mode 100644 index c3abce78d3f..00000000000 --- a/TAO/IIOP/tests/Cubit/results/Orbix +++ /dev/null @@ -1,133 +0,0 @@ -Cubit results over Ethernet with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 1.876 533 - 2 2.202 454 - 3 2.740 364 - -MT-Orbix Thread-Per-Request 1 1.886 530 - 2 3.1 322 - 3 5.0 200 - -MT-Orbix Thread-Pool (25) 1 1.875 533 - 2 3.1 322 - 3 5.1 196 - -MT-Orbix Thread-Per-Session 1 2.002 499 - 2 3.306 302 - 3 5.15 194 - - -Cubit results over ATM with 20,000 calls ----------------------------------------- - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 1.818 550 - 2 1.968 508 - 3 2.803 356 - - -MT-Orbix Thread-Per-Request 1 1.846 541 - 2 3.1 322 - 3 4.98 200 - -MT-Orbix Thread-Pool (25) 1 1.913 522 - 2 3.18 314 - 3 5.1 196 - -MT-Orbix Thread-Per-Session 1 1.959 510 - 2 3.29 303 - 3 5.15 194 - - -Prime_Factor results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 7.918 126 - 2 14.300 70 - 3 21.000 47 - - -MT-Orbix Thread-Per-Request 1 8.302 120 - 2 10.128 98 - 3 13.722 72 - -MT-Orbix Thread-Pool (25) 1 8.442 118 - 2 15.764 63 - 3 22.595 44 - -MT-Orbix Thread-Per-Session 1 8.956 111 - 2 9.581 104 - 3 16.702 59 - -IO-intensive results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -MT-Orbix without filters 1 6.667 149 - 2 12.165 82 - 3 18.634 54 - - -MT-Orbix Thread-Per-Request 1 6.812 146 - 2 6.937 144 - 3 7.706 128 - -MT-Orbix Thread-Pool (25) 1 6.813 146 - 2 6.954 144 - 3 7.776 128 - -MT-Orbix Thread-Per-Session 1 6.85 145 - 2 7.253 137 - 3 7.645 130 - - TNF client-side profile for MT-Orbix without filters for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -cond_wait 6.23 4250.242 1824 2.330 106.171 1.205 0.091 -mutex_lock 0.23 159.830 56662 0.003 1.215 0.002 0.000 -mutex_unlock 0.22 146.756 56663 0.003 0.326 0.002 0.000 -cond_signal 0.09 61.030 1825 0.033 0.475 0.009 0.000 -rw_rdlock 0.01 7.179 1826 0.004 0.014 0.003 0.000 -rw_unlock 0.01 6.548 1827 0.004 0.014 0.003 0.000 -rw_wrlock 0.00 0.004 1 0.004 0.004 0.004 0.000 - - TNF server-side profile for MT-Orbix without filters for 20000 calls - - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -cond_timedwait 1.25 923.527 797 1.159 20.219 0.324 0.028 -mutex_lock 0.21 153.839 56435 0.003 4.342 0.002 0.000 -mutex_unlock 0.20 149.208 56433 0.003 3.559 0.002 0.000 -cond_signal 0.03 21.506 809 0.027 1.826 0.003 0.002 -rw_unlock 0.02 16.058 3224 0.005 2.915 0.003 0.001 -rw_rdlock 0.02 11.924 3221 0.004 0.087 0.003 0.000 -rw_wrlock 0.00 0.010 2 0.005 0.005 0.004 0.000 - - TNF server-side profile for MT-Orbix with thread-per-request for 20000 calls - - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.55 797.890 57618 0.014 4.624 0.002 0.000 -cond_timedwait 0.52 748.560 478 1.566 3.918 0.222 0.019 -mutex_unlock 0.36 514.627 57616 0.009 3.975 0.002 0.000 -cond_signal 0.02 24.216 1151 0.021 1.161 0.002 0.001 -rw_rdlock 0.01 13.120 2301 0.006 1.180 0.003 0.001 -rw_unlock 0.01 10.575 2307 0.005 0.316 0.003 0.000 -thr_sigsetmask 0.00 1.949 30 0.065 1.064 0.013 0.035 -rw_wrlock 0.00 0.033 6 0.006 0.008 0.004 0.001 - - - diff --git a/TAO/IIOP/tests/Cubit/results/TAO b/TAO/IIOP/tests/Cubit/results/TAO deleted file mode 100644 index de4a7bf23ae..00000000000 --- a/TAO/IIOP/tests/Cubit/results/TAO +++ /dev/null @@ -1,92 +0,0 @@ -Cubit results over Ethernet with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 1.172 853 - 2 1.342 745 - 3 1.902 525 - -TAO threaded version 1 1.174 851 - 2 1.219 820 - 3 1.600 625 - - -Cubit results over ATM with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 1.161 861 - 2 1.302 768 - 3 1.732 577 - -TAO threaded version 1 1.170 854 - 2 1.3 769 - 3 1.600 625 - - -Cubit results over ATM after optimizations with 20,000 calls ------------------------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 1.127 887 - 2 1.238 807 - 3 1.501 666 - -TAO threaded version 1 1.057 946 - 2 1.225 816 - 3 1.471 679 - -Prime_Factor results over ATM with 20,000 calls -------------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 7.407 135 - 2 13.7 73 - 3 19.7 51 - -TAO threaded version 1 7.389 135 - 2 8.080 124 - 3 10.726 93 - -IO-bound results over ATM with 20,000 calls --------------------------------------------- - - Clients Latency (ms) Calls/Sec - -TAO reactive 1 6.404 156 - 2 11.909 83 - 3 17.324 57 - -TAO threaded version 1 6.378 156 - 2 6.449 155 - 3 6.500 153 - - - - - Sample client-side profile for TAO for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -rw_rdlock 0.40 146.579 20006 0.007 1.200 0.005 0.000 -rw_unlock 0.25 91.386 20009 0.005 0.058 0.004 0.000 -mutex_lock 0.06 21.087 5265 0.004 0.178 0.002 0.000 -mutex_unlock 0.04 14.372 5271 0.003 0.075 0.002 0.000 -rw_wrlock 0.00 0.045 3 0.015 0.034 0.005 0.008 - - - Sample server-side profile for TAO for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 1.12 154.491 54507 0.003 0.140 0.002 0.000 -mutex_unlock 1.06 145.638 54508 0.003 0.310 0.002 0.000 -rw_rdlock 0.27 37.265 6813 0.005 0.037 0.004 0.000 -rw_unlock 0.20 27.792 6813 0.004 0.045 0.004 0.000 - diff --git a/TAO/IIOP/tests/Cubit/results/Visibroker b/TAO/IIOP/tests/Cubit/results/Visibroker deleted file mode 100644 index 8d6bb2457c7..00000000000 --- a/TAO/IIOP/tests/Cubit/results/Visibroker +++ /dev/null @@ -1,79 +0,0 @@ -Cubit results over Ethernet with 20,000 calls ---------------------------------------------- - - Clients Latency (ms) Calls/Sec - - -Visibroker reactive 1 1.167 856 - 2 1.39 718 - 3 1.664 600 - -Visibroker thr-per-connection 1 1.077 928 - 2 1.228 814 - 3 1.789 558 - - - -Cubit results over ATM with 20,000 calls ----------------------------------------- - - Clients Latency (ms) Calls/Sec - -Visibroker reactive 1 1.195 836 - 2 1.241 805 - 3 1.56 641 - -Visibroker thr-per-connection 1 1.060 943 - 2 1.327 753 - 3 2.108 474 - - -Prime_Factor results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -Visibroker reactive 1 7.43 134 - 2 13.652 73 - 3 17.738 56 - -Visibroker thr-per-connection 1 7.371 135 - 2 8.561 116 - 3 11.376 87 - -IO-intensive results over ATM with 20,000 calls ------------------------------------------------ - - Clients Latency (ms) Calls/Sec - -Visibroker reactive 1 6.424 155 - 2 11.895 84 - 3 17.468 57 - -Visibroker thr-per-connection 1 6.41 156 - 2 6.496 154 - 3 6.524 153 - - - - - TNF client-side profile for Visibroker for 20000 calls - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_unlock 1.31 188.930 61797 0.003 1.027 0.002 0.000 -mutex_lock 1.21 175.465 61790 0.003 0.330 0.002 0.000 - - - TNF server-side profile for Visibroker for 20000 calls - - Profile - -Function name % self+desc. mean max min std. - time ms calls ms/call ms/call ms/call err -________________________________________________________________________________ -mutex_lock 0.18 165.141 60432 0.003 0.501 0.002 0.000 -mutex_unlock 0.16 153.891 60432 0.003 0.373 0.002 0.000 - - diff --git a/TAO/IIOP/tests/Cubit/results/orbs.xls b/TAO/IIOP/tests/Cubit/results/orbs.xls deleted file mode 100644 index 149078dd383..00000000000 Binary files a/TAO/IIOP/tests/Cubit/results/orbs.xls and /dev/null differ diff --git a/TAO/IIOP/tests/Thruput_test/Makefile b/TAO/IIOP/tests/Thruput_test/Makefile deleted file mode 100644 index f6b0e338f8b..00000000000 --- a/TAO/IIOP/tests/Thruput_test/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the TAO_TTCP benchmark -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lcorba - -PROG_SRCS = client.cpp ttcpC.cpp ttcpS.cpp ttcp_i.cpp server.cpp utils.cpp - -LSRC = $(PROG_SRCS) - -TTCP_CLIENT_OBJS = client.o ttcpC.o utils.o - -TTCP_SERVER_OBJS = server.o ttcpC.o ttcpS.o ttcp_i.o utils.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. -#---------------------------------------------------------------------------- - -LDFLAGS += -L../../proto/lib -CPPFLAGS += -I../../proto/include -DUSE_ACE_EVENT_HANDLING -DDEBUG #-DONEWAY - -server: $(addprefix $(VDIR),$(TTCP_SERVER_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -client: $(addprefix $(VDIR),$(TTCP_CLIENT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - - - diff --git a/TAO/IIOP/tests/Thruput_test/README b/TAO/IIOP/tests/Thruput_test/README deleted file mode 100644 index 628ef0c50a4..00000000000 --- a/TAO/IIOP/tests/Thruput_test/README +++ /dev/null @@ -1,50 +0,0 @@ - TAO_TTCP Benchmark README file - -This directory contains a modified version of the TTCP benchmark that -uses the TAO ORB. TAO_TTCP is used to measure the throughput of TAO -for sending different data types. This code tests sequences of short, -long, octet, char, double, and richly-typed data such as a struct. -This benchmark uses an interpretive form of marshaling the data by -using the dynamic invocation interfaces provided by the TAO ORB. - -Organization ------------- - -client.cpp Client main program -server.cpp Server main program -ttcpC.cpp Client side stubs -ttcpS.cpp Server side skeletons -ttcpC.h Header file for stubs -ttcpS.h Header file for the skeletons -ttcp_i.cpp Implementaion of the interface -ttcp_i.h Header for the implementation -utils.cpp Utilities to calculate throughput -ttcp_decls.h Common declarations - -Results -------- -Throughput results are stored under the results directory. If testing -for REMOTE transfers, use the ./results/REMOTE directory. - -Running the tests ------------------ -Three scripts are provided - -(1) run_server : runs the server. Be sure to change the host name -(2) run_client : runs tests for various data types -(3) run_test : called by run_client - -Compiling ---------- - -Type make - -To provide for 2way tests (no data is sent in the reverse -direction. Sender blocks for a minimal ACK), comment out the -DONEWAY -flag from the CPPFLAGS - -TO-DO ------ - - --Aniruddha Gokhale \ No newline at end of file diff --git a/TAO/IIOP/tests/Thruput_test/client.cpp b/TAO/IIOP/tests/Thruput_test/client.cpp deleted file mode 100644 index 51b0096d9f0..00000000000 --- a/TAO/IIOP/tests/Thruput_test/client.cpp +++ /dev/null @@ -1,336 +0,0 @@ -#include "ttcp_decl.h" -#include "debug.h" - -#include -#include - -void print_exception (const CORBA_Exception *x, - const char *info, - FILE *stream - ); - -char Usage[] = "\ -Usage: client [-options] [ORBeline options] host \n\ -Common options:\n\ --l ## length of bufs read from or written to network (default 8192)\n\ --A align the start of buffers to this modulus (default 16384)\n\ --o start buffers at this offset from the modulus (default 0)\n\ --v verbose: print more statistics\n\ --d set SO_DEBUG socket option\n\ --b ## set socket buffer size (if supported)\n\ --f X format for rate: k,K = kilo{bit,byte}; m,M = mega; g,G = giga\n\ --n ## number of source bufs written to network (default 2048)\n\ --x Use new lines after each entry in output file\n\ --h ## Remote host to send data to\n\ --D don't buffer TCP writes (sets TCP_NODELAY socket option)\n\ --L ## Output file name for the data type used\n\ --S \n\ --q Send Sequence: Enumeration for various data types:\n\ -s = short, l = long, d = double, c = char\n\ -o = octet, S = struct, C = composite\n\ -"; - -#if !defined (__cplusplus) -typedef void (*SIG_TYP)(); -#endif - -#ifdef SVR4 -void -sigpipe (int foo) -#else - void -sigpipe () -#endif -{ -} - -int fromlen; -int domain = PF_INET; /* Default is to use Internet domain sockets. */ -char *domainname; /* Rendezvous address for UNIX domain sockets. */ -int fd; /* fd of network socket */ -int buflen = 8 * 1024; /* length of buffer */ -char *buf; /* ptr to dynamic buffer */ -int nbuf = 2 * 1024; /* number of buffers to send in sinkmode */ - -int bufoffset = 0; /* align buffer to this */ -int bufalign = 16 * 1024; /* modulo this */ - -int udp = 0; /* 0 = tcp, !0 = udp */ -int options = 0; /* socket options */ -int one = 1; /* for 4.3 BSD style setsockopt() */ -short port = 5001; /* TCP port number */ -char *host; /* ptr to name of host */ -int trans =1; /* 0=receive, !0=transmit mode */ -int sinkmode = 1; /* 0=normal I/O, !0=sink/source mode */ -int verbose = 0; /* 0=print basic info, 1=print cpu rate, proc -* resource usage. */ -int nodelay = 0; /* set TCP_NODELAY socket option */ -int b_flag = 0; /* use mread() */ -int sockbufsize = 0; /* socket buffer size to use */ -int new_line=0; /* This is a special flag */ -int write_to_file=1; /* indecates writing to file (default)*/ -char fmt = 'K'; /* output format:k=kilobits,K=kilobytes, -* m = megabits, M = megabytes, -* g = gigabits, G = gigabytes */ -int touchdata = 0; /* access data after reading */ - -struct hostent *addr; -char *title = 0; - -char stats[128]; -unsigned long srcDataSize; /* Total amount of source data */ -unsigned long nbytes; /* bytes on net */ -unsigned long numCalls; /* # of I/O system calls */ -double cput, realt; /* user, real time (seconds) */ -unsigned long dt; - -/* declare struct variables for various message types */ -ttcp_sequence::ShortSeq *sseq; -ttcp_sequence::LongSeq *lseq; -ttcp_sequence::OctetSeq *oseq; -ttcp_sequence::DoubleSeq *dseq; -ttcp_sequence::CharSeq *cseq; -ttcp_sequence::StructSeq *Sseq; - -static const char ior_prefix [] = "IOR:"; -static const char iiop_prefix [] = "iiop:"; - -int -main (int argc, char *argv[]) -{ - - unsigned long addr_tmp; - unsigned short done = 0; - int c; - - CORBA_ORB_ptr orb_ptr; - CORBA_Environment env; - CORBA_Object_ptr objref = CORBA_Object::_nil(); - ttcp_sequence_ptr ttcp_seq; - unsigned loop_count = 1; - int exit_later = 0; - CORBA_String str; - fstream iorfile; - - if (argc < 2) - goto usage; - - TAO_debug_level = 0; - while (!done && ((c = getopt (argc, argv, "d:vDb:h:f:l:n:A:o:L:xS:q:")) != -1)) - { - switch (c) - { - case 'h': - host = optarg; - break; - case 'x': - new_line = 1; - break; - case 'L': - title = optarg; - break; - case 'd': - TAO_debug_level = atoi(optarg); - if (TAO_debug_level > 10) - TAO_debug_level = 10; - break; - case 'D': -#ifdef TCP_NODELAY - nodelay = 1; -#else - fprintf (stderr, - "ttcp: -D option ignored: TCP_NODELAY socket option not supported\n"); -#endif - break; - case 'n': - nbuf = atoi (optarg); - break; - case 'l': - buflen = atoi (optarg); - break; - case 'v': - verbose = 1; - break; - case 'A': - bufalign = atoi (optarg); - break; - case 'o': - bufoffset = atoi (optarg); - break; - case 'b': -#if defined(SO_SNDBUF) || defined(SO_RCVBUF) - sockbufsize = atoi (optarg); -#else - fprintf (stderr, - "ttcp: -b option ignored: SO_SNDBUF/SO_RCVBUF socket options not supported\n"); -#endif - break; - case 'f': - fmt = *optarg; - break; - case 'S': /* total source data to send. */ - /* modify nbuf accordingly */ - srcDataSize = atoi(optarg); - break; - case 'q': /* Send sequence of desired data type */ - switch(*optarg){ - case 's': - dt = SEND_SHORT; - break; - case 'l': - dt = SEND_LONG; - break; - case 'd': - dt = SEND_DOUBLE; - break; - case 'c': - dt = SEND_CHAR; - break; - case 'o': - dt = SEND_OCTET; - break; - case 'S': - dt = SEND_STRUCT; - break; - case 'C': - dt = SEND_COMPOSITE; - break; - } - break; - case '?': - done = 1; - break; - default: - goto usage; - } - } - - // - // Transmitter - // - orb_ptr = CORBA_ORB_init(argc, argv, "internet", env); - if (env.exception () != 0) { - print_exception (env.exception (), "ORB initialization", stdout); - 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; - - objref = orb_ptr->string_to_object(str, env); - if (env.exception() != 0){ - print_exception(env.exception(), "string2object", stdout); - return 1; - } - CORBA_string_free(str); - - - if (!CORBA_is_nil(objref)){ - ttcp_seq = ttcp_sequence::_narrow(objref); - - if (!CORBA_is_nil(ttcp_seq)){ - - /* modify nbuf according to Total data size */ - nbuf = srcDataSize/buflen; - fprintf(stderr, "data size = %d, buflen = %d, nbuf = %d\n",srcDataSize, buflen, nbuf); - - // - // Prepare the Message to be sent - // - - errno = 0; - if ((buf = (char *) malloc (buflen + bufalign)) == (char *) NULL) - err ("malloc"); - if (bufalign != 0) - buf += (bufalign - ((int) buf % bufalign) + bufoffset) % bufalign; - - - cout << "Sizeof PerfStruct = " << sizeof(PerfStruct) << endl; - // fill the appropriate buffers - FillPattern (buf, buflen, dt); - // - // Start the timers on the client and server sides - // - - prep_timer (); - ttcp_seq->start_timer (env); - if (env.exception () != 0) { - print_exception (env.exception (), "start_timer operation", stdout); - return 1; - } -#if defined (USE_QUANTIFY) - /* start recording quantify data from here */ - quantify_clear_data(); - quantify_start_recording_data(); -#endif - while (nbuf--) - { - switch(dt){ - case SEND_SHORT: - ttcp_seq->sendShortSeq(*sseq, env); - nbytes += sseq->length()*sizeof(CORBA_Short); - break; - case SEND_LONG: - ttcp_seq->sendLongSeq(*lseq, env); - nbytes += lseq->length()*sizeof(CORBA_Long); - break; - case SEND_OCTET: - ttcp_seq->sendOctetSeq(*oseq, env); - nbytes += oseq->length()*sizeof(CORBA_Octet); - break; - case SEND_DOUBLE: - ttcp_seq->sendDoubleSeq(*dseq, env); - nbytes += dseq->length()*sizeof(CORBA_Double); - break; - case SEND_CHAR: - ttcp_seq->sendCharSeq(*cseq, env); - nbytes += cseq->length()*sizeof(CORBA_Char); - break; - case SEND_STRUCT: - ttcp_seq->sendStructSeq(*Sseq, env); - nbytes += Sseq->length()*sizeof(PerfStruct); - break; - } - numCalls++; - if (env.exception () != 0) { - print_exception (env.exception (), "send operation", stdout); - return 1; - } - } -#if defined(USE_QUANTIFY) - quantify_stop_recording_data(); -#endif - // - // Stop the timer - // - ttcp_seq->stop_timer(env); - if (env.exception () != 0) { - print_exception (env.exception (), "stop_timer operation", stdout); - return 1; - } - (void) read_timer (stats, sizeof (stats)); - - // print results - PrintStats(); - - } - } - - CORBA_release(ttcp_seq); - return(0); -usage: - fprintf (stderr, Usage); - return 1; -} - - - - - - diff --git a/TAO/IIOP/tests/Thruput_test/run b/TAO/IIOP/tests/Thruput_test/run deleted file mode 100755 index b746a09536d..00000000000 --- a/TAO/IIOP/tests/Thruput_test/run +++ /dev/null @@ -1 +0,0 @@ -client -S 67108864 -f m -D -l $1 -L temp -q $2 -b 65536 -d $3 diff --git a/TAO/IIOP/tests/Thruput_test/run_client b/TAO/IIOP/tests/Thruput_test/run_client deleted file mode 100755 index 41f9fd5bc51..00000000000 --- a/TAO/IIOP/tests/Thruput_test/run_client +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/csh -f -# All ATM tests: 64k socket Queue Size -# -# shorts -run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 s -sleep 5 -# longs -run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 l -sleep 5 -# octets -run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 o -sleep 5 -# doubles -run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 d -sleep 5 -# chars -#run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 c -#sleep 5 -# structures -run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 S -sleep 5 -# Composite Structs -#run_test 67108864 128 mambo-atm.wustl.edu ./results/REMOTE/$1/sun-iiop.atm.64 C -#sleep 5 -# diff --git a/TAO/IIOP/tests/Thruput_test/run_server b/TAO/IIOP/tests/Thruput_test/run_server deleted file mode 100755 index 9ce44a510b1..00000000000 --- a/TAO/IIOP/tests/Thruput_test/run_server +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/csh -# -# Usage: server -# -u : use IOR -# -f m : output results in Mbps -# -b ** not implemented ** -# -OAhost ************* must provide this for this version -# -OAthread : use threaded version as opposed to reactive -# -server -u -f m -b 65536 -OAhost mambo-cip #-OAthread diff --git a/TAO/IIOP/tests/Thruput_test/run_test b/TAO/IIOP/tests/Thruput_test/run_test deleted file mode 100755 index e36938f42b6..00000000000 --- a/TAO/IIOP/tests/Thruput_test/run_test +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/csh -f -if ($#argv < 3) then - echo "Usage: sclt " - exit 1 -endif -# -@ msize=1024 -@ limit= ($argv[2] * 1024) -#echo $limit -#echo $msize -echo "Iteration#" 1 ": client -S" $1 "-D -f m -s -t -l" $msize "-h" $3 "-x -L" $4 "-q" $5 -b 65536 -client -S $1 -D -f m -l $msize -h $3 -x -L $4 -q $5 -b 65536 -set flag=0 -while ($msize <= $limit) - if ($flag == 0) goto label - echo "Iteration#" 1 ": client -S" $1 "-D -f m -l" $msize "-h" $3 "-x -L" $4 "-q" $5 -b 65536 - client -S $1 -D -f m -l $msize -h $3 -x -L $4 -q $5 -b 65536 - label: - set flag=1 - sleep 5 - foreach i (2) - echo "Iteration#" $i ": client -S" $1 "-D -f m -s -t -l" $msize "-h" $3 "-x -L " $4 "-q" $5 -b 65536 - client -S $1 -D -f m -l $msize -h $3 -x -L $4 -q $5 -b 65536 - end - echo "---------------------------" - @ msize = ($msize * 2) - sleep 5 -end - -echo " " -echo "Done at:" -date diff --git a/TAO/IIOP/tests/Thruput_test/server.cpp b/TAO/IIOP/tests/Thruput_test/server.cpp deleted file mode 100644 index 6f1cf2c4895..00000000000 --- a/TAO/IIOP/tests/Thruput_test/server.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include "ttcp_i.h" - -#include -#include - -void print_exception (const CORBA_Exception *x, - const char *info, - FILE *stream - ); - -char Usage[] = "\ -Usage: server [options] \n\ -Common options:\n\ --l ## length of bufs read from or written to network (default 8192)\n\ --A align the start of buffers to this modulus (default 16384)\n\ --O start buffers at this offset from the modulus (default 0)\n\ --v verbose: print more statistics\n\ --d set SO_DEBUG socket option\n\ --b ## set socket buffer size (if supported)\n\ --f X format for rate: k,K = kilo{bit,byte}; m,M = mega; g,G = giga\n\ --L ## Output file name for the data type used\n\ -Options specific to -r:\n\ --B for -s, only output full blocks as specified by -l (for TAR)\n\ --T \"touch\": access each byte as it's read\n\ -"; - -#if !defined (__cplusplus) -typedef void (*SIG_TYP)(); -#endif - -#ifdef SVR4 -void -sigpipe (int foo) -#else - void -sigpipe () -#endif -{ -} - -int fromlen; -int domain = PF_INET; /* Default is to use Internet domain sockets. */ -char *domainname; /* Rendezvous address for UNIX domain sockets. */ -int fd; /* fd of network socket */ -int buflen = 8 * 1024; /* length of buffer */ -char *buf; /* ptr to dynamic buffer */ -int nbuf = 2 * 1024; /* number of buffers to send in sinkmode */ - -int bufoffset = 0; /* align buffer to this */ -int bufalign = 16 * 1024; /* modulo this */ - -int udp = 0; /* 0 = tcp, !0 = udp */ -int options = 0; /* socket options */ -int one = 1; /* for 4.3 BSD style setsockopt() */ -short port = 5001; /* TCP port number */ -char *host; /* ptr to name of host */ -int trans; /* 0=receive, !0=transmit mode */ -int sinkmode = 0; /* 0=normal I/O, !0=sink/source mode */ -int verbose = 0; /* 0=print basic info, 1=print cpu rate, proc - * resource usage. */ -int nodelay = 0; /* set TCP_NODELAY socket option */ -int b_flag = 0; /* use mread() */ -int sockbufsize = 0; /* socket buffer size to use */ -int new_line=0; /* This is a special flag */ -int write_to_file=1; /* indecates writing to file (default)*/ -char fmt = 'K'; /* output format:k=kilobits,K=kilobytes, - * m = megabits, M = megabytes, - * g = gigabits, G = gigabytes */ -int touchdata = 0; /* access data after reading */ - -struct hostent *addr; -char *title = 0; - -char stats[128]; -unsigned long srcDataSize; /* Total amount of source data */ -unsigned long nbytes; /* bytes on net */ -unsigned long numCalls; /* # of I/O system calls */ -double cput, realt; /* user, real time (seconds) */ -unsigned long dt; - -/* declare struct variables for various message types */ -ttcp_sequence::ShortSeq *sseq; -ttcp_sequence::LongSeq *lseq; -ttcp_sequence::OctetSeq *oseq; -ttcp_sequence::DoubleSeq *dseq; -ttcp_sequence::CharSeq *cseq; -ttcp_sequence::StructSeq *Sseq; - -unsigned short isDone = 0; -ttcp_sequence_i *my_ttcp; - -// -// forwarding support -// -static CORBA_Object_ptr fwd_ref; - -int -main (int argc, char *const *argv) -{ - - unsigned long addr_tmp; - int c; - unsigned short done = 0; - CORBA_Environment env; - CORBA_ORB_ptr orb_ptr; - CORBA_BOA_ptr oa_ptr; - CORBA_Boolean do_fork = CORBA_B_FALSE; - CORBA_Boolean do_threads = CORBA_B_FALSE; - CORBA_String key = (CORBA_String) "key0"; - char *oa_name = "ROA"; - char *orb_name = "internet"; - int idle = -1; - int use_ior = 0; - fstream iorfile; - CORBA_String str; - - - if (argc < 2) - goto usage; - - orb_ptr = CORBA_ORB_init (argc, argv, orb_name, env); - if (env.exception () != 0) { - print_exception (env.exception (), "ORB init", stdout); - return 1; - } - - oa_ptr = orb_ptr->BOA_init(argc, argv, oa_name); - if (env.exception () != 0) { - print_exception (env.exception (), "OA init", stdout); - return 1; - } - - TAO_debug_level = 0; - // Now process the options other than Orbix specific options - while (!done && ((c = getopt (argc, argv, "ui:d:vb:f:l:L:")) != -1)) - { - switch (c) - { - case 'u': - use_ior = 1; - orb_name = ""; - break; - case 'L': - title = optarg; - break; - case 'd': - TAO_debug_level = atoi(optarg); - if (TAO_debug_level > 10) - TAO_debug_level = 10; - break; - case 'l': - buflen = atoi (optarg); - break; - case 'i': - idle = atoi (optarg); - break; - case 'v': - verbose = 1; - break; - case 'b': -#if defined(SO_SNDBUF) || defined(SO_RCVBUF) - sockbufsize = atoi (optarg); -#else - fprintf (stderr, - "ttcp: -b option ignored: SO_SNDBUF/SO_RCVBUF socket options not supported\n"); -#endif - break; - case 'f': - fmt = *optarg; - break; - case 'O': - case '?': - done = 1; - break; - default: - goto usage; - } - } - - // - // Receiver - // - - iorfile.open("ior.txt", ios::out); - my_ttcp = new ttcp_sequence_i("TTCP_IIOP_test"); - str = orb_ptr->object_to_string(my_ttcp, env); - if (env.exception() != 0) - { - print_exception (env.exception(), "object_to_string", stdout); - return 1; - } - iorfile << ((char *)str) << endl; - -#if defined (USE_QUANTIFY) - quantify_clear_data(); - quantify_start_recording_data(); -#endif - - ACE_Reactor::run_event_loop(); - -#if 0 - while (1) - { - int result = params->reactor()->handle_events (); - - if (result == -1) - { - terminationStatus = -1; - break; - } - } -#endif - return 0; -usage: - fprintf (stderr, Usage); - return(1); -} - - - - - - - diff --git a/TAO/IIOP/tests/Thruput_test/ttcp.idl b/TAO/IIOP/tests/Thruput_test/ttcp.idl deleted file mode 100644 index eab3b148658..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcp.idl +++ /dev/null @@ -1,32 +0,0 @@ -/* -*- C++ -*- */ -struct PerfStruct{ - short s; - char c; - long l; - octet o; - double d; - octet pad[8]; // to make it 32 bytes -}; - -// Richly typed data -interface ttcp_sequence -{ - typedef sequence ShortSeq; - typedef sequence LongSeq; - typedef sequence DoubleSeq; - typedef sequence CharSeq; - typedef sequence OctetSeq; - typedef sequence StructSeq; - - - // Routines to send sequences of various data types - oneway void sendShortSeq (in ShortSeq ttcp_seq); - oneway void sendLongSeq (in LongSeq ttcp_seq); - oneway void sendDoubleSeq (in DoubleSeq ttcp_seq); - oneway void sendCharSeq (in CharSeq ttcp_seq); - oneway void sendOctetSeq (in OctetSeq ttcp_seq); - oneway void sendStructSeq (in StructSeq ttcp_seq); - - oneway void start_timer (); - oneway void stop_timer (); -}; diff --git a/TAO/IIOP/tests/Thruput_test/ttcpC.cpp b/TAO/IIOP/tests/Thruput_test/ttcpC.cpp deleted file mode 100644 index c301ec498b5..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcpC.cpp +++ /dev/null @@ -1,1005 +0,0 @@ -#include -#include "ttcpC.h" - -// constructor -ttcp_sequence::ttcp_sequence(STUB_Object *refdata) - : CORBA_Object(refdata) -{ -} - -// static duplicate method -ttcp_sequence_ptr ttcp_sequence::_duplicate(ttcp_sequence_ptr obj) -{ - void *dupl; - - if (obj) - { - obj->AddRef(); - } - return obj; -} - -// static _narrow method -ttcp_sequence_ptr ttcp_sequence::_narrow(CORBA_Object_ptr obj) -{ - CORBA_Environment env; - if (obj->_is_a("IDL:ttcp_sequence:1.0", env)){ - STUB_Object *istub; - if (obj->QueryInterface(IID_STUB_Object, (void **)&istub) != NOERROR){ - return ttcp_sequence::_nil(); - } - ttcp_sequence_ptr new_obj = new ttcp_sequence(istub); - return ttcp_sequence::_duplicate(new_obj); - } - return ttcp_sequence::_nil(); -} - -ttcp_sequence_ptr ttcp_sequence::_nil() -{ - return (ttcp_sequence_ptr)NULL; -} - -ttcp_sequence::ShortSeq::ShortSeq() - : _maximum(0), - _length(0), - _buffer(0), - _release(CORBA_B_FALSE) -{ -} - -ttcp_sequence::ShortSeq::ShortSeq(CORBA_ULong max) - : _maximum(max), - _length(0), - _release(CORBA_B_FALSE) -{ - if (this->_maximum > 0){ - this->_buffer = new CORBA_Short[this->_maximum]; - } else { - this->_buffer = 0; - } -} - -ttcp_sequence::ShortSeq::ShortSeq(CORBA_ULong max, CORBA_ULong length, - CORBA_Short *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -ttcp_sequence::ShortSeq::~ShortSeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) - delete this->_buffer; -} - -void ttcp_sequence::ShortSeq::length(CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - CORBA_Short *temp = new CORBA_Short[newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof(CORBA_Short))); - 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_Short)); - this->_length = newlen; -} - -CORBA_ULong ttcp_sequence::ShortSeq::length() const -{ - return this->_length; -} - -CORBA_Short& ttcp_sequence::ShortSeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const CORBA_Short& ttcp_sequence::ShortSeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -// LongSeq -ttcp_sequence::LongSeq::LongSeq() - : _maximum(0), - _length(0), - _buffer(0), - _release(CORBA_B_FALSE) -{ -} - -ttcp_sequence::LongSeq::LongSeq(CORBA_ULong max) - : _maximum(max), - _length(0), - _release(CORBA_B_FALSE) -{ - if (this->_maximum > 0){ - this->_buffer = new CORBA_Long[this->_maximum]; - } else { - this->_buffer = 0; - } -} - -ttcp_sequence::LongSeq::LongSeq(CORBA_ULong max, CORBA_ULong length, - CORBA_Long *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -ttcp_sequence::LongSeq::~LongSeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) - delete this->_buffer; -} - -void ttcp_sequence::LongSeq::length(CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - CORBA_Long *temp = new CORBA_Long[newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof(CORBA_Long))); - 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_Long)); - this->_length = newlen; -} - -CORBA_ULong ttcp_sequence::LongSeq::length() const -{ - return this->_length; -} - -CORBA_Long& ttcp_sequence::LongSeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const CORBA_Long& ttcp_sequence::LongSeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -// DoubleSeq -ttcp_sequence::DoubleSeq::DoubleSeq() - : _maximum(0), - _length(0), - _buffer(0), - _release(CORBA_B_FALSE) -{ -} - -ttcp_sequence::DoubleSeq::DoubleSeq(CORBA_ULong max) - : _maximum(max), - _length(0), - _release(CORBA_B_FALSE) -{ - if (this->_maximum > 0){ - this->_buffer = new CORBA_Double[this->_maximum]; - } else { - this->_buffer = 0; - } -} - -ttcp_sequence::DoubleSeq::DoubleSeq(CORBA_ULong max, CORBA_ULong length, - CORBA_Double *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -ttcp_sequence::DoubleSeq::~DoubleSeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) - delete this->_buffer; -} - -void ttcp_sequence::DoubleSeq::length(CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - CORBA_Double *temp = new CORBA_Double[newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof(CORBA_Double))); - 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_Double)); - this->_length = newlen; -} - -CORBA_ULong ttcp_sequence::DoubleSeq::length() const -{ - return this->_length; -} - -CORBA_Double& ttcp_sequence::DoubleSeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const CORBA_Double& ttcp_sequence::DoubleSeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -// Char seq -ttcp_sequence::CharSeq::CharSeq() - : _maximum(0), - _length(0), - _buffer(0), - _release(CORBA_B_FALSE) -{ -} - -ttcp_sequence::CharSeq::CharSeq(CORBA_ULong max) - : _maximum(max), - _length(0), - _release(CORBA_B_FALSE) -{ - if (this->_maximum > 0){ - this->_buffer = new CORBA_Char[this->_maximum]; - } else { - this->_buffer = 0; - } -} - -ttcp_sequence::CharSeq::CharSeq(CORBA_ULong max, CORBA_ULong length, - CORBA_Char *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -ttcp_sequence::CharSeq::~CharSeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) - delete this->_buffer; -} - -void ttcp_sequence::CharSeq::length(CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - CORBA_Char *temp = new CORBA_Char[newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof(CORBA_Char))); - 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_Char)); - this->_length = newlen; -} - -CORBA_ULong ttcp_sequence::CharSeq::length() const -{ - return this->_length; -} - -CORBA_Char& ttcp_sequence::CharSeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const CORBA_Char& ttcp_sequence::CharSeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -//Octet Seq -ttcp_sequence::OctetSeq::OctetSeq() - : _maximum(0), - _length(0), - _buffer(0), - _release(CORBA_B_FALSE) -{ -} - -ttcp_sequence::OctetSeq::OctetSeq(CORBA_ULong max) - : _maximum(max), - _length(0), - _release(CORBA_B_FALSE) -{ - if (this->_maximum > 0){ - this->_buffer = new CORBA_Octet[this->_maximum]; - } else { - this->_buffer = 0; - } -} - -ttcp_sequence::OctetSeq::OctetSeq(CORBA_ULong max, CORBA_ULong length, - CORBA_Octet *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -ttcp_sequence::OctetSeq::~OctetSeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) - delete this->_buffer; -} - -void ttcp_sequence::OctetSeq::length(CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - CORBA_Octet *temp = new CORBA_Octet[newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof(CORBA_Octet))); - 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_Octet)); - this->_length = newlen; -} - -CORBA_ULong ttcp_sequence::OctetSeq::length() const -{ - return this->_length; -} - -CORBA_Octet& ttcp_sequence::OctetSeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const CORBA_Octet& ttcp_sequence::OctetSeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - - -//struct seq -ttcp_sequence::StructSeq::StructSeq() - : _maximum(0), - _length(0), - _buffer(0), - _release(CORBA_B_FALSE) -{ -} - -ttcp_sequence::StructSeq::StructSeq(CORBA_ULong max) - : _maximum(max), - _length(0), - _release(CORBA_B_FALSE) -{ - if (this->_maximum > 0){ - this->_buffer = new PerfStruct[this->_maximum]; - } else { - this->_buffer = 0; - } -} - -ttcp_sequence::StructSeq::StructSeq(CORBA_ULong max, CORBA_ULong length, - PerfStruct *value, CORBA_Boolean release) - : _maximum(max), - _length(length), - _buffer(value), - _release(release) -{ -} - -ttcp_sequence::StructSeq::~StructSeq() -{ - this->_maximum = this->_length = 0; - if (this->_release != CORBA_B_FALSE) - delete this->_buffer; -} - -void ttcp_sequence::StructSeq::length(CORBA_ULong newlen) -{ - if (newlen > this->_maximum) { - PerfStruct *temp = new PerfStruct[newlen]; - ::memcpy(temp, this->_buffer, (size_t(this->_length) * sizeof(PerfStruct))); - 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(PerfStruct)); - this->_length = newlen; -} - -CORBA_ULong ttcp_sequence::StructSeq::length() const -{ - return this->_length; -} - -PerfStruct& ttcp_sequence::StructSeq::operator[](CORBA_ULong index) -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - -const PerfStruct& ttcp_sequence::StructSeq::operator[](CORBA_ULong index) const -{ - if (index >= this->_length) - exit(1); - return this->_buffer[index]; -} - - -/***************** TypeCodes **************/ - -// encapsulated parameters for struct PerfStruct typecode -static const CORBA_Long _oc_PerfStruct [] = { - // strings are encoded as length followed by the string. A length of 1 stands - // for the NULL character - MY_BYTE_SEX, // byte order - 1, 0, // empty string, repoID - 1, 0, // empty string, struct name - 6, // 6 struct elements - - // short - 1, 0, // empty string - tk_short, - - // char - 1, 0, - tk_char, - - // long - 1, 0, - tk_long, - - // octet - 1, 0, - tk_octet, - - // double - 1, 0, - tk_double, - - // padding - 1, 0, - tk_array, - 12, // encapsulation length - MY_BYTE_SEX, - tk_octet, - 8 -}; - - -static CORBA_TypeCode _tc__tc_PerfStruct(tk_struct, - sizeof _oc_PerfStruct, - (unsigned char *) &_oc_PerfStruct, - CORBA_B_FALSE); -CORBA_TypeCode_ptr _tc_PerfStruct = &_tc__tc_PerfStruct; - -// Typecodes for all the sequences - -// StructSeq -static const CORBA_Long _oc_ttcp_sequence_StructSeq [] = { - MY_BYTE_SEX, // byte order - tk_struct, // sequence of struct - 112, // encapsulaton length - MY_BYTE_SEX, // byte order - 1, 0, // empty string, repoID - 1, 0, // empty string, struct name - 6, // 6 struct elements - - // short - 1, 0, // empty string - tk_short, - - // char - 1, 0, - tk_char, - - // long - 1, 0, - tk_long, - - // octet - 1, 0, - tk_octet, - - // double - 1, 0, - tk_double, - - // padding - 1, 0, - tk_array, // array - 12, //encapsulation length - MY_BYTE_SEX, - tk_octet, - 8, - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_ttcp_sequence_StructSeq(tk_sequence, - sizeof - _oc_ttcp_sequence_StructSeq, - (unsigned char *) - &_oc_ttcp_sequence_StructSeq, - CORBA_B_FALSE); -CORBA_TypeCode_ptr ttcp_sequence::_tc_StructSeq = &_tc__tc_ttcp_sequence_StructSeq; - -// ShortSeq -static const CORBA_Long _oc_ttcp_sequence_ShortSeq [] = { - MY_BYTE_SEX, // byte order - tk_short, // sequence of short - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_ttcp_sequence_ShortSeq(tk_sequence, - sizeof - _oc_ttcp_sequence_ShortSeq, - (unsigned char *) - &_oc_ttcp_sequence_ShortSeq, - CORBA_B_FALSE); -CORBA_TypeCode_ptr ttcp_sequence::_tc_ShortSeq = &_tc__tc_ttcp_sequence_ShortSeq; - -// LongSeq -static const CORBA_Long _oc_ttcp_sequence_LongSeq [] = { - MY_BYTE_SEX, // byte order - tk_long, // sequence of long - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_ttcp_sequence_LongSeq(tk_sequence, - sizeof - _oc_ttcp_sequence_LongSeq, - (unsigned char *) - &_oc_ttcp_sequence_LongSeq, - CORBA_B_FALSE); -CORBA_TypeCode_ptr ttcp_sequence::_tc_LongSeq = &_tc__tc_ttcp_sequence_LongSeq; - -// DoubleSeq -static const CORBA_Long _oc_ttcp_sequence_DoubleSeq [] = { - MY_BYTE_SEX, // byte order - tk_double, // sequence of doubles - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_ttcp_sequence_DoubleSeq(tk_sequence, - sizeof - _oc_ttcp_sequence_DoubleSeq, - (unsigned char *) - &_oc_ttcp_sequence_DoubleSeq, - CORBA_B_FALSE); -CORBA_TypeCode_ptr ttcp_sequence::_tc_DoubleSeq = &_tc__tc_ttcp_sequence_DoubleSeq; - -// CharSeq -static const CORBA_Long _oc_ttcp_sequence_CharSeq [] = { - MY_BYTE_SEX, // byte order - tk_char, // sequence of chars - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_ttcp_sequence_CharSeq(tk_sequence, - sizeof - _oc_ttcp_sequence_CharSeq, - (unsigned char *) - &_oc_ttcp_sequence_CharSeq, - CORBA_B_FALSE); -CORBA_TypeCode_ptr ttcp_sequence::_tc_CharSeq = &_tc__tc_ttcp_sequence_CharSeq; - -//OctetSeq -static const CORBA_Long _oc_ttcp_sequence_OctetSeq [] = { - MY_BYTE_SEX, // byte order - tk_octet, // sequence of octets - 0, // a length of 0 => unbounded sequence -}; -static CORBA_TypeCode _tc__tc_ttcp_sequence_OctetSeq(tk_sequence, - sizeof - _oc_ttcp_sequence_OctetSeq, - (unsigned char *) - &_oc_ttcp_sequence_OctetSeq, - CORBA_B_FALSE); -CORBA_TypeCode_ptr ttcp_sequence::_tc_OctetSeq = &_tc__tc_ttcp_sequence_OctetSeq; - - - -/***************** All the methods ********************/ - -//sendShortSeq -static const TAO_Param_Data ttcp_sequence_sendShortSeq_params [] = { -#ifndef ONEWAY - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - }, -#endif - { ttcp_sequence::_tc_ShortSeq, - PARAM_IN, - 0 - } -}; - -static const TAO_Call_Data ttcp_sequence_sendShortSeq_TAO_Call_Data = { - "sendShortSeq", // opname -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 2, // param count -#else - CORBA_B_FALSE, // oneway - 1, -#endif - &ttcp_sequence_sendShortSeq_params [0], - 0, 0 -}; - -// stub -void ttcp_sequence::sendShortSeq(const ttcp_sequence::ShortSeq &ttcp_seq, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_sendShortSeq_TAO_Call_Data, 0, &ttcp_seq); -#else - istub->do_call(env, &ttcp_sequence_sendShortSeq_TAO_Call_Data, &ttcp_seq); -#endif -} - -//sendLongSeq -static const TAO_Param_Data ttcp_sequence_sendLongSeq_params [] = { -#ifndef ONEWAY - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - }, -#endif - { ttcp_sequence::_tc_LongSeq, - PARAM_IN, - 0 - } -}; - -static const TAO_Call_Data ttcp_sequence_sendLongSeq_TAO_Call_Data = { - "sendLongSeq", // opname -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 2, // param count -#else - CORBA_B_FALSE, // oneway - 1, -#endif - &ttcp_sequence_sendLongSeq_params [0], - 0, 0 -}; - -// stub -void ttcp_sequence::sendLongSeq(const ttcp_sequence::LongSeq &ttcp_seq, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_sendLongSeq_TAO_Call_Data, 0, &ttcp_seq); -#else - istub->do_call(env, &ttcp_sequence_sendLongSeq_TAO_Call_Data, &ttcp_seq); -#endif -} - -//sendDoubleSeq -static const TAO_Param_Data ttcp_sequence_sendDoubleSeq_params [] = { -#ifndef ONEWAY - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - }, -#endif - { ttcp_sequence::_tc_DoubleSeq, - PARAM_IN, - 0 - } -}; - -static const TAO_Call_Data ttcp_sequence_sendDoubleSeq_TAO_Call_Data = { - "sendDoubleSeq", // opname -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 2, // param count -#else - CORBA_B_FALSE, // oneway - 1, -#endif - &ttcp_sequence_sendDoubleSeq_params [0], - 0, 0 -}; - -// stub -void ttcp_sequence::sendDoubleSeq(const ttcp_sequence::DoubleSeq &ttcp_seq, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_sendDoubleSeq_TAO_Call_Data, 0, &ttcp_seq); -#else - istub->do_call(env, &ttcp_sequence_sendDoubleSeq_TAO_Call_Data, &ttcp_seq); -#endif -} - -//sendCharSeq -static const TAO_Param_Data ttcp_sequence_sendCharSeq_params [] = { -#ifndef ONEWAY - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - }, -#endif - { ttcp_sequence::_tc_CharSeq, - PARAM_IN, - 0 - } -}; - -static const TAO_Call_Data ttcp_sequence_sendCharSeq_TAO_Call_Data = { - "sendCharSeq", // opname -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 2, // param count -#else - CORBA_B_FALSE, // oneway - 1, -#endif - &ttcp_sequence_sendCharSeq_params [0], - 0, 0 -}; - -// stub -void ttcp_sequence::sendCharSeq(const ttcp_sequence::CharSeq &ttcp_seq, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_sendCharSeq_TAO_Call_Data, 0, &ttcp_seq); -#else - istub->do_call(env, &ttcp_sequence_sendCharSeq_TAO_Call_Data, &ttcp_seq); -#endif -} - -//sendOctetSeq -static const TAO_Param_Data ttcp_sequence_sendOctetSeq_params [] = { -#ifndef ONEWAY - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - }, -#endif - { ttcp_sequence::_tc_OctetSeq, - PARAM_IN, - 0 - } -}; - -static const TAO_Call_Data ttcp_sequence_sendOctetSeq_TAO_Call_Data = { - "sendOctetSeq", // opname -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 2, // param count -#else - CORBA_B_FALSE, // oneway - 1, -#endif - &ttcp_sequence_sendOctetSeq_params [0], - 0, 0 -}; - -// stub -void ttcp_sequence::sendOctetSeq(const ttcp_sequence::OctetSeq &ttcp_seq, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_sendOctetSeq_TAO_Call_Data, 0, &ttcp_seq); -#else - istub->do_call(env, &ttcp_sequence_sendOctetSeq_TAO_Call_Data, &ttcp_seq); -#endif -} - -//sendStructSeq -static const TAO_Param_Data ttcp_sequence_sendStructSeq_params [] = { -#ifndef ONEWAY - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - }, -#endif - { ttcp_sequence::_tc_StructSeq, - PARAM_IN, - 0 - } -}; - -static const TAO_Call_Data ttcp_sequence_sendStructSeq_TAO_Call_Data = { - "sendStructSeq", // opname -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 2, // param count -#else - CORBA_B_FALSE, // oneway - 1, -#endif - &ttcp_sequence_sendStructSeq_params [0], - 0, 0 -}; - -// stub -void ttcp_sequence::sendStructSeq(const ttcp_sequence::StructSeq &ttcp_seq, - CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_sendStructSeq_TAO_Call_Data, 0, &ttcp_seq); -#else - istub->do_call(env, &ttcp_sequence_sendStructSeq_TAO_Call_Data, &ttcp_seq); -#endif -} - -// start timer -#ifndef ONEWAY -static const TAO_Param_Data ttcp_sequence_start_timer_params [] = { - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - } -}; -#endif - -static const TAO_Call_Data ttcp_sequence_start_timer_TAO_Call_Data = { - "start_timer", -#ifndef ONEWAY - CORBA_B_TRUE, // twoway - 1, - &ttcp_sequence_start_timer_params [0], -#else - CORBA_B_FALSE, // oneway - 0, - 0, -#endif - 0, 0 -}; - -//stub -void ttcp_sequence::start_timer(CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_start_timer_TAO_Call_Data); -#else - istub->do_call(env, &ttcp_sequence_start_timer_TAO_Call_Data); -#endif -} - -// stop timer -#ifndef ONEWAY -static const TAO_Param_Data ttcp_sequence_stop_timer_params [] = { - { _tc_CORBA_Void, - PARAM_RETURN, - 0 - } -}; -#endif - -static const TAO_Call_Data ttcp_sequence_stop_timer_TAO_Call_Data = { - "stop_timer", -#ifndef ONEWAY - CORBA_B_TRUE, - 1, - &ttcp_sequence_stop_timer_params[0], -#else - CORBA_B_FALSE, // oneway - 0, - 0, -#endif - 0, 0 -}; - -//stub -void ttcp_sequence::stop_timer(CORBA_Environment &env) -{ - STUB_Object *istub; - if (this->QueryInterface (IID_STUB_Object, (void **) &istub) != NOERROR){ - env.exception (new CORBA_DATA_CONVERSION (COMPLETED_NO)); - return; - } -#ifndef ONEWAY - // twoway - istub->do_call(env, &ttcp_sequence_stop_timer_TAO_Call_Data); -#else - istub->do_call(env, &ttcp_sequence_stop_timer_TAO_Call_Data); -#endif -} diff --git a/TAO/IIOP/tests/Thruput_test/ttcpC.h b/TAO/IIOP/tests/Thruput_test/ttcpC.h deleted file mode 100644 index e163dc7ff75..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcpC.h +++ /dev/null @@ -1,227 +0,0 @@ -/************************************************************************** -This file has been hand-crafted to work with the ORB API of TAO -***************************************************************************/ - -#ifndef TTCP_SEQUENCE_C_H -#define TTCP_SEQUENCE_C_H - -#include -#include - -#include "corba/orb.h" -#include "corba/stub.h" -#include "debug.h" - -// mapping for PerfStruct -struct PerfStruct{ - CORBA_Short s; - CORBA_Char c; - CORBA_Long l; - CORBA_Octet o; - CORBA_Double d; - CORBA_Octet pad[8]; - - - typedef CORBA_Octet pad_slice; - typedef pad_slice *pad_slice_ptr; - - static inline pad_slice *pad_alloc() { - return new CORBA_Octet[8]; - } - - static inline void pad_free(pad_slice *data) { - if (data) delete[] data; - } - -}; -extern CORBA_TypeCode_ptr _tc_PerfStruct; - -class ttcp_sequence; -typedef ttcp_sequence *ttcp_sequence_ptr; -typedef ttcp_sequence_ptr ttcp_sequenceRef; - -class ttcp_sequence: public virtual CORBA_Object -{ -public: - static ttcp_sequence_ptr _duplicate(ttcp_sequence_ptr obj); - static ttcp_sequence_ptr _narrow(CORBA_Object_ptr obj); - static ttcp_sequence_ptr _nil(); - - - class ShortSeq - { - public: - ShortSeq(); - ShortSeq(CORBA_ULong max); - ShortSeq(CORBA_ULong max, - CORBA_ULong length, - CORBA_Short *value, - CORBA_Boolean release = CORBA_B_FALSE - ); - // ShortSeq(const ShortSeq&); - ~ShortSeq(); - CORBA_ULong maximum() const; - void length(CORBA_ULong); - CORBA_ULong length() const; - CORBA_Short &operator[](CORBA_ULong index); - const CORBA_Short &operator[](CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - CORBA_Short *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_ShortSeq; - - class LongSeq - { - public: - LongSeq(); - LongSeq(CORBA_ULong max); - LongSeq(CORBA_ULong max, - CORBA_ULong length, - CORBA_Long *value, - CORBA_Boolean release = CORBA_B_FALSE - ); - // LongSeq(const LongSeq&); - ~LongSeq(); - CORBA_ULong maximum() const; - void length(CORBA_ULong); - CORBA_ULong length() const; - CORBA_Long &operator[](CORBA_ULong index); - const CORBA_Long &operator[](CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - CORBA_Long *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_LongSeq; - - class DoubleSeq - { - public: - DoubleSeq(); - DoubleSeq(CORBA_ULong max); - DoubleSeq(CORBA_ULong max, - CORBA_ULong length, - CORBA_Double *value, - CORBA_Boolean release = CORBA_B_FALSE - ); - // DoubleSeq(const DoubleSeq&); - ~DoubleSeq(); - CORBA_ULong maximum() const; - void length(CORBA_ULong); - CORBA_ULong length() const; - CORBA_Double &operator[](CORBA_ULong index); - const CORBA_Double &operator[](CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - CORBA_Double *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_DoubleSeq; - - class CharSeq - { - public: - CharSeq(); - CharSeq(CORBA_ULong max); - CharSeq(CORBA_ULong max, - CORBA_ULong length, - CORBA_Char *value, - CORBA_Boolean release = CORBA_B_FALSE - ); - // CharSeq(const CharSeq&); - ~CharSeq(); - CORBA_ULong maximum() const; - void length(CORBA_ULong); - CORBA_ULong length() const; - CORBA_Char &operator[](CORBA_ULong index); - const CORBA_Char &operator[](CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - CORBA_Char *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_CharSeq; - - class OctetSeq - { - public: - OctetSeq(); - OctetSeq(CORBA_ULong max); - OctetSeq(CORBA_ULong max, - CORBA_ULong length, - CORBA_Octet *value, - CORBA_Boolean release = CORBA_B_FALSE - ); - // OctetSeq(const OctetSeq&); - ~OctetSeq(); - CORBA_ULong maximum() const; - void length(CORBA_ULong); - CORBA_ULong length() const; - CORBA_Octet &operator[](CORBA_ULong index); - const CORBA_Octet &operator[](CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - CORBA_Octet *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_OctetSeq; - - class StructSeq - { - public: - StructSeq(); - StructSeq(CORBA_ULong max); - StructSeq(CORBA_ULong max, - CORBA_ULong length, - PerfStruct *value, - CORBA_Boolean release = CORBA_B_FALSE - ); - // StructSeq(const StructSeq&); - ~StructSeq(); - CORBA_ULong maximum() const; - void length(CORBA_ULong); - CORBA_ULong length() const; - PerfStruct &operator[](CORBA_ULong index); - const PerfStruct &operator[](CORBA_ULong index) const; - private: - CORBA_ULong _maximum; - CORBA_ULong _length; - PerfStruct *_buffer; - CORBA_Boolean _release; - }; - static CORBA_TypeCode_ptr _tc_StructSeq; - - - // now the methods - virtual void sendShortSeq(const ShortSeq& ttcp_seq, CORBA_Environment &); - virtual void sendLongSeq(const LongSeq& ttcp_seq, CORBA_Environment &); - virtual void sendDoubleSeq(const DoubleSeq& ttcp_seq, CORBA_Environment &); - virtual void sendOctetSeq(const OctetSeq& ttcp_seq, CORBA_Environment &); - virtual void sendCharSeq(const CharSeq& ttcp_seq, CORBA_Environment &); - virtual void sendStructSeq(const StructSeq& ttcp_seq, CORBA_Environment &); - - virtual void start_timer(CORBA_Environment &); - virtual void stop_timer(CORBA_Environment &); - -protected: - ttcp_sequence() {} - ttcp_sequence(STUB_Object *refdata); - virtual ~ttcp_sequence() {} - -private: - ttcp_sequence(const ttcp_sequence &) {} - void operator=(const ttcp_sequence &) {} -}; - -#endif - - - - diff --git a/TAO/IIOP/tests/Thruput_test/ttcpS.cpp b/TAO/IIOP/tests/Thruput_test/ttcpS.cpp deleted file mode 100644 index c124dd60138..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcpS.cpp +++ /dev/null @@ -1,321 +0,0 @@ -#include -#include "ttcpS.h" -#include "corba/orb.h" -#include "params.h" -#include "iiopobj.h" -#include "corba/optable.h" // for registering our methods -#include "corba/corbacom.h" - -TAO_Dynamic_Hash_OpTable tao_ttcp_sequence_optable(9); // 8 + 1 operations on our - // interface -// operation database -struct method_db -{ - CORBA_String opname; - TAO_Skeleton skel_ptr; -}; - -static const method_db ttcp_sequence_operations[] = { - {"_is_a", &_skel_ttcp_sequence::_ttcp_sequence_is_a_skel}, - { "sendShortSeq", &_skel_ttcp_sequence::_ttcp_sequence_sendShortSeq_skel}, - { "sendLongSeq", &_skel_ttcp_sequence::_ttcp_sequence_sendLongSeq_skel}, - { "sendDoubleSeq", &_skel_ttcp_sequence::_ttcp_sequence_sendDoubleSeq_skel}, - { "sendOctetSeq", &_skel_ttcp_sequence::_ttcp_sequence_sendOctetSeq_skel}, - { "sendCharSeq", &_skel_ttcp_sequence::_ttcp_sequence_sendCharSeq_skel}, - { "sendStructSeq", &_skel_ttcp_sequence::_ttcp_sequence_sendStructSeq_skel}, - { "start_timer", &_skel_ttcp_sequence::_ttcp_sequence_start_timer_skel}, - { "stop_timer", &_skel_ttcp_sequence::_ttcp_sequence_stop_timer_skel}, - { 0, 0 } -}; - -// constructor -_skel_ttcp_sequence::_skel_ttcp_sequence(const char *obj_name) -{ - CORBA_String_var type_id = "IDL:ttcp_sequence:1.0"; // repository ID - IIOP_Object *data; // IIOP object - CORBA_BOA_ptr oa = TAO_OA_PARAMS::instance()->oa(); // underlying BOA - this->optable_ = &tao_ttcp_sequence_optable; // operation database - CORBA_Long i; - - // insert operation names into the operation table - for (i=0; i < 9; i++) - { - this->optable_->bind(ttcp_sequence_operations[i].opname, - ttcp_sequence_operations[i].skel_ptr); - } - - // setup an IIOP object - data = new IIOP_Object(type_id); - 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 -} - -// skeleton sendShortSeq -void _skel_ttcp_sequence::_ttcp_sequence_sendShortSeq_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(ttcp_sequence::_tc_ShortSeq); - ttcp_sequence_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); - - ttcp_sequence::ShortSeq *value = (ttcp_sequence::ShortSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (ttcp_sequence_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, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton sendLongSeq -void _skel_ttcp_sequence::_ttcp_sequence_sendLongSeq_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(ttcp_sequence::_tc_LongSeq); - ttcp_sequence_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); - - ttcp_sequence::LongSeq *value = (ttcp_sequence::LongSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->sendLongSeq(*value, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton sendDoubleSeq -void _skel_ttcp_sequence::_ttcp_sequence_sendDoubleSeq_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(ttcp_sequence::_tc_DoubleSeq); - ttcp_sequence_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); - - ttcp_sequence::DoubleSeq *value = (ttcp_sequence::DoubleSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->sendDoubleSeq(*value, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton sendOctetSeq -void _skel_ttcp_sequence::_ttcp_sequence_sendOctetSeq_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(ttcp_sequence::_tc_OctetSeq); - ttcp_sequence_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); - - ttcp_sequence::OctetSeq *value = (ttcp_sequence::OctetSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->sendOctetSeq(*value, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton sendCharSeq -void _skel_ttcp_sequence::_ttcp_sequence_sendCharSeq_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(ttcp_sequence::_tc_CharSeq); - ttcp_sequence_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); - - ttcp_sequence::CharSeq *value = (ttcp_sequence::CharSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->sendCharSeq(*value, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton sendStructSeq -void _skel_ttcp_sequence::_ttcp_sequence_sendStructSeq_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - CORBA_NamedValue_ptr nv; - CORBA_Any temp_value(ttcp_sequence::_tc_StructSeq); - ttcp_sequence_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); - - ttcp_sequence::StructSeq *value = (ttcp_sequence::StructSeq *)nv->value()->value(); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->sendStructSeq(*value, env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton start_timer -void _skel_ttcp_sequence::_ttcp_sequence_start_timer_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - ttcp_sequence_ptr impl; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->start_timer(env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -// skeleton stop_timer -void _skel_ttcp_sequence::_ttcp_sequence_stop_timer_skel(CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env) -{ - CORBA_NVList_ptr nvlist; - ttcp_sequence_ptr impl; - - // now create a request and populate it with the typecodes - req.orb()->create_list (0, nvlist); - - // retrieve params - call the interpreter to interpret the parameters for us. - req.params(nvlist, env); - - // now invoke the implementation - impl = (ttcp_sequence_ptr)(obj->get_subclass()); - // now the magic of dynamic binding - impl->stop_timer(env); - - // result - NO result - CORBA_Any *any = new CORBA_Any(_tc_CORBA_Void, 0, CORBA_B_TRUE); - req.result(any, env); -} - -void _skel_ttcp_sequence::_ttcp_sequence_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:ttcp_sequence: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 (CORBA_B_TRUE); - else - retval = new CORBA_Boolean (CORBA_B_FALSE); - - CORBA_Any *any = - new CORBA_Any (_tc_CORBA_Boolean, retval, CORBA_B_TRUE); - - req.result (any, env); - dexc (env, "_is_a, result"); -} - diff --git a/TAO/IIOP/tests/Thruput_test/ttcpS.h b/TAO/IIOP/tests/Thruput_test/ttcpS.h deleted file mode 100644 index 0ee9412d275..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcpS.h +++ /dev/null @@ -1,68 +0,0 @@ -/************************************************************************** -This file has been hand-crafted to work with the ORB API of TAO -***************************************************************************/ - -#ifndef TTCP_SEQUENCE_S_H -#define TTCP_SEQUENCE_S_H - -#include -#include - -#include "ttcpC.h" - - -class _skel_ttcp_sequence; -typedef _skel_ttcp_sequence *_skel_ttcp_sequence_ptr; -typedef _skel_ttcp_sequence *_skel_ttcp_sequence_ref; - -class _skel_ttcp_sequence: public ttcp_sequence -{ -public: - // pure virtual functions implemented by the implementation class - virtual void sendShortSeq(const ShortSeq& ttcp_seq, CORBA_Environment &) = 0; - virtual void sendLongSeq(const LongSeq& ttcp_seq, CORBA_Environment &) = 0; - virtual void sendDoubleSeq(const DoubleSeq& ttcp_seq, CORBA_Environment &) = 0; - virtual void sendOctetSeq(const OctetSeq& ttcp_seq, CORBA_Environment &) = 0; - virtual void sendCharSeq(const CharSeq& ttcp_seq, CORBA_Environment &) = 0; - virtual void sendStructSeq(const StructSeq& ttcp_seq, CORBA_Environment &) = 0; - virtual void start_timer(CORBA_Environment &) = 0; - virtual void stop_timer(CORBA_Environment &) = 0; - - // skeletons that do the upcall - static void _ttcp_sequence_is_a_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_sendShortSeq_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_sendLongSeq_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_sendDoubleSeq_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_sendOctetSeq_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_sendCharSeq_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_sendStructSeq_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_start_timer_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); - static void _ttcp_sequence_stop_timer_skel (CORBA_ServerRequest &req, - CORBA_Object_ptr obj, - CORBA_Environment &env); -protected: - _skel_ttcp_sequence(const char *obj_name = 0); - virtual ~_skel_ttcp_sequence() {} -}; - -#endif - - - - diff --git a/TAO/IIOP/tests/Thruput_test/ttcp_decl.h b/TAO/IIOP/tests/Thruput_test/ttcp_decl.h deleted file mode 100644 index e478a6f88c2..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcp_decl.h +++ /dev/null @@ -1,151 +0,0 @@ - -/* - * T T C P Header File - * - */ - -/* This file includes all the declarations and prototypes */ - -#ifndef _TTCP_DECL_H_ -#define _TTCP_DECL_H_ - -#include "ttcpC.h" - -/* #define BSD43 */ -/* #define BSD42 */ -/* #define BSD41a */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include /* struct itimerval */ -#include -#include -#include -#include -#include - -/* File to be included if Quantify is to be used */ -#if defined (USE_QUANTIFY) -#include -#endif - - -#if defined(SYSV) -#define bcopy(b1,b2,n) memcpy(b2,b1,n) -#define bzero(b1,n) memset(b1,0,n) -#include -#include -#endif - -#if defined(SUNOS54) -struct rusage - { - struct timeval ru_utime, ru_stime; - }; -#define RUSAGE_SELF 0 -#else -#include -#endif - -/* define the data types to be sent */ -#define SEND_SHORT ((unsigned long)(1)) -#define SEND_LONG ((unsigned long)(2)) -#define SEND_CHAR ((unsigned long)(3)) -#define SEND_OCTET ((unsigned long)(4)) -#define SEND_DOUBLE ((unsigned long)(5)) -#define SEND_STRUCT ((unsigned long)(6)) -#define SEND_COMPOSITE ((unsigned long)(7)) - -/************** -// Prototypes -***************/ -void err (char *s); -void mes (char *s); -char *outfmt (double b); -//static void getrusage (int ignored, register struct rusage *ru); -static void gettimeofday (struct timeval *tp, struct timezone *zp); -void prep_timer (void); -double read_timer (char *str, int len); -static void prusage (register struct rusage *r0, struct rusage *r1, struct timeval *e, struct timeval *b, char *outp); -static void tvadd (struct timeval *tsum, struct timeval *t0, struct timeval *t1); -static void tvsub (struct timeval *tdiff, struct timeval *t1, struct timeval *t0); -static void psecs (long l, register char *cp); -void delay (int us); -int mread (int fd, register char *bufp, unsigned n); -int Nread (int fd, void *buf, int count); -int Nwrite (int fd, void *buf, int count); -void FillPattern(register char *cp, register int bufLen, unsigned long dt); -void PrintStats(); -int SetSocketBufferSize(int size, unsigned short isTrans); -int SetNoDelay(); -void ProcessArguments(int argc, char **argv, unsigned short isTrans); - -/* Global variables defined here as extern */ -extern int fromlen; -extern int domain; /* Default is to use Internet domain sockets. */ -extern char *domainname; /* Rendezvous address for UNIX domain sockets. */ -extern int fd; /* fd of network socket */ - -extern int buflen; /* length of buffer */ -extern char *buf; /* ptr to dynamic buffer */ -extern int nbuf; /* number of buffers to send in sinkmode */ - -extern int bufoffset; /* align buffer to this */ -extern int bufalign; /* modulo this */ - -extern int udp; /* 0 = tcp, !0 = udp */ -extern int options; /* socket options */ -extern int one; /* for 4.3 BSD style setsockopt() */ -extern short port; /* TCP port number */ -extern char *host; /* ptr to name of host */ -extern int trans; /* 0=receive, !0=transmit mode */ -extern int sinkmode; /* 0=normal I/O, !0=sink/source mode */ -extern int verbose; /* 0=print basic info, 1=print cpu rate, proc - * resource usage. */ -extern int nodelay; /* set TCP_NODELAY socket option */ -extern int b_flag; /* use mread() */ -extern int sockbufsize; /* socket buffer size to use */ -extern int new_line; /* This is a special flag */ -extern int write_to_file; /* indecates writing to file (default)*/ -extern char fmt; /* output format:k=kilobits,K=kilobytes, - * m = megabits, M = megabytes, - * g = gigabits, G = gigabytes */ -extern int touchdata; /* access data after reading */ - -extern struct hostent *addr; -extern int errno; -extern int optind; -extern char *optarg; -extern char *title; - -extern char stats[128]; -extern unsigned long srcDataSize; /* Total amount of source data */ -extern unsigned long nbytes; /* bytes on net */ -extern unsigned long numCalls; /* # of I/O system calls */ -extern double cput, realt; /* user, real time (seconds) */ -extern unsigned long dt; - -extern unsigned short isDone; - -/* declare struct variables for various message types */ -extern ttcp_sequence::ShortSeq *sseq; -extern ttcp_sequence::LongSeq *lseq; -extern ttcp_sequence::OctetSeq *oseq; -extern ttcp_sequence::DoubleSeq *dseq; -extern ttcp_sequence::CharSeq *cseq; -extern ttcp_sequence::StructSeq *Sseq; - -#endif diff --git a/TAO/IIOP/tests/Thruput_test/ttcp_i.cpp b/TAO/IIOP/tests/Thruput_test/ttcp_i.cpp deleted file mode 100644 index daba9fe6139..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcp_i.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include "ttcp_i.h" -#include - -/* the ttcp_i class implementation */ -ttcp_sequence_i::ttcp_sequence_i(const char *obj_name) - :_skel_ttcp_sequence(obj_name) -{ - this->nbytes_ = 0; - numCalls = 0; -} - - -void -ttcp_sequence_i::start_timer (CORBA_Environment &IT_env) -{ - this->nbytes_ = 0; - ::prep_timer (); -} - -void -ttcp_sequence_i::stop_timer (CORBA_Environment &IT_env) -{ - (void) ::read_timer (stats, sizeof (stats)); - ::nbytes = this->nbytes_; - ::PrintStats(); - // reset - this->nbytes_ = 0; - numCalls = 0; -#if defined (USE_QUANTIFY) - quantify_stop_recording_data(); - ACE_Reactor::end_event_loop(); - cerr << "*********** just before exiting " << endl; -#endif -} - -void -ttcp_sequence_i::sendShortSeq(const ttcp_sequence::ShortSeq& ttcp_seq, CORBA_Environment &IT_env) -{ - numCalls++; - this->nbytes_ += ttcp_seq.length()*sizeof(CORBA_Short); -} - -void -ttcp_sequence_i::sendLongSeq(const ttcp_sequence::LongSeq& ttcp_seq, CORBA_Environment &IT_env) -{ - numCalls++; - this->nbytes_ += ttcp_seq.length()*sizeof(CORBA_Long) ; -} - -void -ttcp_sequence_i::sendOctetSeq(const ttcp_sequence::OctetSeq& ttcp_seq, CORBA_Environment &IT_env) -{ - numCalls++; - this->nbytes_ += ttcp_seq.length()*sizeof(CORBA_Octet) ; -} - -void -ttcp_sequence_i::sendDoubleSeq(const ttcp_sequence::DoubleSeq& ttcp_seq, CORBA_Environment &IT_env) -{ - numCalls++; - this->nbytes_ += ttcp_seq.length()*sizeof(CORBA_Double) ; -} - -void -ttcp_sequence_i::sendCharSeq(const ttcp_sequence::CharSeq& ttcp_seq, CORBA_Environment &IT_env) -{ - numCalls++; - this->nbytes_ += ttcp_seq.length()*sizeof(CORBA_Char) ; -} - -void -ttcp_sequence_i::sendStructSeq(const ttcp_sequence::StructSeq& ttcp_seq, CORBA_Environment &IT_env) -{ - numCalls++; - this->nbytes_ += ttcp_seq.length()*sizeof(PerfStruct) ; -#ifdef DEBUG - // cout << "Bytes received so far = " << this->nbytes_ << endl; -#endif -} - - - - - - - - - diff --git a/TAO/IIOP/tests/Thruput_test/ttcp_i.h b/TAO/IIOP/tests/Thruput_test/ttcp_i.h deleted file mode 100644 index dcac4813cdf..00000000000 --- a/TAO/IIOP/tests/Thruput_test/ttcp_i.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- C++ -*- */ - -// ttcp_i.h -// -// This header file provides facility to use it either as a BOA approach or as -// a TIE approach. -// -#if !defined (TTCP_I_H) -#define TTCP_I_H - -#include "ttcp_decl.h" -#include "ttcpS.h" - -/* define the data types to be sent */ -#define SEND_SHORT ((unsigned long)(1)) -#define SEND_LONG ((unsigned long)(2)) -#define SEND_CHAR ((unsigned long)(3)) -#define SEND_OCTET ((unsigned long)(4)) -#define SEND_DOUBLE ((unsigned long)(5)) -#define SEND_STRUCT ((unsigned long)(6)) - - -class ttcp_sequence_i: public _skel_ttcp_sequence -{ -public: - ttcp_sequence_i(const char *obj_name = 0); - - virtual void sendShortSeq (const ttcp_sequence::ShortSeq& ttcp_seq, - CORBA_Environment &IT_env); - virtual void sendLongSeq (const ttcp_sequence::LongSeq& ttcp_seq, - CORBA_Environment &IT_env); - virtual void sendDoubleSeq (const ttcp_sequence::DoubleSeq& ttcp_seq, - CORBA_Environment &IT_env); - virtual void sendCharSeq (const ttcp_sequence::CharSeq& ttcp_seq, - CORBA_Environment &IT_env); - virtual void sendStructSeq (const ttcp_sequence::StructSeq& ttcp_seq, - CORBA_Environment &IT_env); - virtual void sendOctetSeq (const ttcp_sequence::OctetSeq& ttcp_seq, - CORBA_Environment &IT_env); - - /* Routines to calculate the time required to transfer */ - virtual void start_timer (CORBA_Environment &IT_env); - virtual void stop_timer (CORBA_Environment &IT_env); - -private: - unsigned long nbytes_; -}; - -#endif // defined (TTCP_I_H) - diff --git a/TAO/IIOP/tests/Thruput_test/utils.cpp b/TAO/IIOP/tests/Thruput_test/utils.cpp deleted file mode 100644 index d3ba1e195df..00000000000 --- a/TAO/IIOP/tests/Thruput_test/utils.cpp +++ /dev/null @@ -1,559 +0,0 @@ -#include "ttcp_decl.h" - -int SetSocketBufferSize(int size, unsigned short isTrans) -{ - // go thru open file descriptors and check if its is a socket and - // if so, set its socket size to "size" - struct rlimit rlm; - memset(&rlm, 0, sizeof(struct rlimit)); - (void) getrlimit(RLIMIT_NOFILE, &rlm); - cout << "Total file descriptors = " << rlm.rlim_max << endl; - for (int i=3; i < rlm.rlim_max; i++){ - if (isTrans) - (void) setsockopt(i, SOL_SOCKET, SO_SNDBUF, - (char *) &size, sizeof(size)); - else - (void) setsockopt(i, SOL_SOCKET, SO_RCVBUF, - (char *) &size, sizeof(size)); - } - return 1; -} - -void -err (char *s) -{ - fprintf (stderr, "ttcp%s: ", trans ? "-t" : "-r"); - perror (s); - fprintf (stderr, "errno=%d\n", errno); - exit (1); -} - -void -mes (char *s) -{ - fprintf (stderr, "ttcp%s: %s\n", trans ? "-t" : "-r", s); -} - -char * -outfmt (double b) -{ - static char obuf[50]; - switch (fmt) - { - case 'G': - sprintf (obuf, "%.2f GB", b / 1024.0 / 1024.0 / 1024.0); - break; - default: - case 'K': - sprintf (obuf, "%.2f KB", b / 1024.0); - break; - case 'M': - sprintf (obuf, "%.2f MB", b / 1024.0 / 1024.0); - break; - case 'g': - sprintf (obuf, "%.2f Gbit", b * 8.0 / 1024.0 / 1024.0 / 1024.0); - break; - case 'k': - sprintf (obuf, "%.2f Kbit", b * 8.0 / 1024.0); - break; - case 'm': - sprintf (obuf, "%.2f Mbit", b * 8.0 / 1024.0 / 1024.0); - break; - } - return obuf; -} - -static struct itimerval itime0; /* Time at which timing started */ -static struct rusage ru0; /* Resource utilization at the start */ - -#if defined(SYSV) -/*ARGSUSED */ -static void -getrusage (int ignored, register struct rusage *ru) -{ - struct tms buf; - - times (&buf); - - /* Assumption: HZ <= 2147 (LONG_MAX/1000000) */ - ru->ru_stime.tv_sec = buf.tms_stime / HZ; - ru->ru_stime.tv_usec = ((buf.tms_stime % HZ) * 1000000) / HZ; - ru->ru_utime.tv_sec = buf.tms_utime / HZ; - ru->ru_utime.tv_usec = ((buf.tms_utime % HZ) * 1000000) / HZ; -} - -/*ARGSUSED */ -static void -gettimeofday (struct timeval *tp, struct timezone *zp) -{ - tp->tv_sec = time (0); - tp->tv_usec = 0; -} -#endif /* SYSV */ -/* - * P R E P _ T I M E R - */ -void -prep_timer () -{ - itime0.it_interval.tv_sec = 0; - itime0.it_interval.tv_usec = 0; - itime0.it_value.tv_sec = LONG_MAX / 22; /* greatest possible value , itimer() count backwards */ - itime0.it_value.tv_usec = 0; - - - getrusage (RUSAGE_SELF, &ru0); - - /* Init REAL Timer */ - if (setitimer (ITIMER_REAL, &itime0, NULL)) - { - perror ("Setting 'itimer' REAL failed"); - return; - } - -} - -/* - * R E A D _ T I M E R - * - */ -double -read_timer (char *str, int len) -{ - struct itimerval itimedol; - struct rusage ru1; - struct timeval td; - struct timeval tend, tstart; - char line[132]; - - getrusage (RUSAGE_SELF, &ru1); - - if (getitimer (ITIMER_REAL, &itimedol)) - { - perror ("Getting 'itimer' REAL failed"); - return (0.0); - } - - prusage (&ru0, &ru1, &itime0.it_value, &itimedol.it_value, line); - (void) strncpy (str, line, len); - - /* Get real time */ - tvsub (&td, &itime0.it_value, &itimedol.it_value); - realt = td.tv_sec + ((double) td.tv_usec) / 1000000; - - /* Get CPU time (user+sys) */ - tvadd (&tend, &ru1.ru_utime, &ru1.ru_stime); - tvadd (&tstart, &ru0.ru_utime, &ru0.ru_stime); - tvsub (&td, &tend, &tstart); - cput = td.tv_sec + ((double) td.tv_usec) / 1000000; - if (cput < 0.00001) - cput = 0.00001; - return (cput); -} - -static void -prusage (register struct rusage *r0, struct rusage *r1, - struct timeval *e, struct timeval *b, char *outp) -{ - struct timeval tdiff; - register time_t t; - register char *cp; - register int i; - int ms; - - t = (r1->ru_utime.tv_sec - r0->ru_utime.tv_sec) * 100 + - (r1->ru_utime.tv_usec - r0->ru_utime.tv_usec) / 10000 + - (r1->ru_stime.tv_sec - r0->ru_stime.tv_sec) * 100 + - (r1->ru_stime.tv_usec - r0->ru_stime.tv_usec) / 10000; - ms = (e->tv_sec - b->tv_sec) * 100 + (e->tv_usec - b->tv_usec) / 10000; - -#define END(x) {while(*x) x++;} -#if defined(SYSV) - cp = "%Uuser %Ssys %Ereal %P"; -#else -#if defined(sgi) /* IRIX 3.3 will show 0 for %M,%F,%R,%C */ - cp = "%Uuser %Ssys %Ereal %P %Mmaxrss %F+%Rpf %Ccsw"; -#else - cp = "%Uuser %Ssys %Ereal %P %Xi+%Dd %Mmaxrss %F+%Rpf %Ccsw"; -#endif -#endif - for (; *cp; cp++) - { - if (*cp != '%') - *outp++ = *cp; - else if (cp[1]) - switch (*++cp) - { - - case 'U': - tvsub (&tdiff, &r1->ru_utime, &r0->ru_utime); - sprintf (outp, "%d.%01d", tdiff.tv_sec, tdiff.tv_usec / 100000); - END (outp); - break; - - case 'S': - tvsub (&tdiff, &r1->ru_stime, &r0->ru_stime); - sprintf (outp, "%d.%01d", tdiff.tv_sec, tdiff.tv_usec / 100000); - END (outp); - break; - - case 'E': - psecs (ms / 100, outp); - END (outp); - break; - - case 'P': - sprintf (outp, "%d%%", (int) (t * 100 / ((ms ? ms : 1)))); - END (outp); - break; - -#if !defined(SYSV) - case 'W': - i = r1->ru_nswap - r0->ru_nswap; - sprintf (outp, "%d", i); - END (outp); - break; - - case 'X': - sprintf (outp, "%d", t == 0 ? 0 : (r1->ru_ixrss - r0->ru_ixrss) / t); - END (outp); - break; - - case 'D': - sprintf (outp, "%d", t == 0 ? 0 : - (r1->ru_idrss + r1->ru_isrss - (r0->ru_idrss + r0->ru_isrss)) / t); - END (outp); - break; - - case 'K': - sprintf (outp, "%d", t == 0 ? 0 : - ((r1->ru_ixrss + r1->ru_isrss + r1->ru_idrss) - - (r0->ru_ixrss + r0->ru_idrss + r0->ru_isrss)) / t); - END (outp); - break; - - case 'M': - sprintf (outp, "%d", r1->ru_maxrss / 2); - END (outp); - break; - - case 'F': - sprintf (outp, "%d", r1->ru_majflt - r0->ru_majflt); - END (outp); - break; - - case 'R': - sprintf (outp, "%d", r1->ru_minflt - r0->ru_minflt); - END (outp); - break; - - case 'I': - sprintf (outp, "%d", r1->ru_inblock - r0->ru_inblock); - END (outp); - break; - - case 'O': - sprintf (outp, "%d", r1->ru_oublock - r0->ru_oublock); - END (outp); - break; - case 'C': - sprintf (outp, "%d+%d", r1->ru_nvcsw - r0->ru_nvcsw, - r1->ru_nivcsw - r0->ru_nivcsw); - END (outp); - break; -#endif /* !SYSV */ - } - } - *outp = '\0'; -} - -static void -tvadd (struct timeval *tsum, struct timeval *t0, struct timeval *t1) -{ - - tsum->tv_sec = t0->tv_sec + t1->tv_sec; - tsum->tv_usec = t0->tv_usec + t1->tv_usec; - if (tsum->tv_usec > 1000000) - tsum->tv_sec++, tsum->tv_usec -= 1000000; -} - -static void -tvsub (struct timeval *tdiff, struct timeval *t1, struct timeval *t0) -{ - - tdiff->tv_sec = t1->tv_sec - t0->tv_sec; - tdiff->tv_usec = t1->tv_usec - t0->tv_usec; - if (tdiff->tv_usec < 0) - tdiff->tv_sec--, tdiff->tv_usec += 1000000; -} - -static void -psecs (long l, register char *cp) -{ - register int i; - - i = l / 3600; - if (i) - { - sprintf (cp, "%d:", i); - END (cp); - i = l % 3600; - sprintf (cp, "%d%d", (i / 60) / 10, (i / 60) % 10); - END (cp); - } - else - { - i = l; - sprintf (cp, "%d", i / 60); - END (cp); - } - i %= 60; - *cp++ = ':'; - sprintf (cp, "%d%d", i / 10, i % 10); -} - -/* - * N R E A D - */ -int -Nread (int fd, void *buf, int count) -{ - struct sockaddr_in from; - int len = sizeof (from); - register int cnt; - if (udp) - { - cnt = recvfrom (fd, (char *) buf, count, 0, (struct sockaddr *) &from, &len); - numCalls++; - } - else - { - if (b_flag) - cnt = mread (fd, (char *) buf, count); /* fill buf */ - else - { - cnt = read (fd, buf, count); - numCalls++; - } - if (touchdata && cnt > 0) - { - register int c = cnt, sum; - register char *b = (char *) buf; - while (c--) - sum += *b++; - } - } - return (cnt); -} - - -/* - * N W R I T E - */ -int -Nwrite (int fd, void *buf, int count) -{ - return 0; -} - -void -delay (int us) -{ - struct timeval tv; - - tv.tv_sec = 0; - tv.tv_usec = us; - (void) select (1, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &tv); -} - -/* - * M R E A D - * - * This function performs the function of a read(II) but will - * call read(II) multiple times in order to get the requested - * number of characters. This can be necessary because - * network connections don't deliver data with the same - * grouping as it is written with. Written by Robert S. Miles, BRL. - */ -int -mread (int fd, register char *bufp, unsigned n) -{ - register unsigned count = 0; - register int nread; - - do - { - nread = read (fd, bufp, n - count); - numCalls++; - if (nread < 0) - { - perror ("ttcp_mread"); - return (-1); - } - if (nread == 0) - return ((int) count); - count += (unsigned) nread; - bufp += nread; - } - while (count < n); - - return ((int) count); -} - -void -FillPattern (register char *cp, register int bufLen, unsigned long dt) -{ - unsigned long - num, i; - - switch(dt){ - case SEND_SHORT: - { - register short *SeqPtr = (short *)cp; - num = bufLen/sizeof(short); - for (i=0; i < num; i++) - SeqPtr[i] = (short)lrand48(); - sseq = new ttcp_sequence::ShortSeq(num,num, SeqPtr); - } - break; - case SEND_LONG: - { - register long *SeqPtr = (long *)cp; - num = bufLen/sizeof(long); - for (i=0; i < num; i++) - SeqPtr[i] = lrand48(); - lseq = new ttcp_sequence::LongSeq(num, num, SeqPtr); - } - break; - case SEND_DOUBLE: - { - register double *SeqPtr = (double *)cp; - num = bufLen/sizeof(double); - for (i=0; i < num; i++) - SeqPtr[i] = drand48(); - dseq = new ttcp_sequence::DoubleSeq(num, num, SeqPtr); - } - break; - case SEND_CHAR: - { - register CORBA_Char *SeqPtr = (CORBA_Char *)cp; - register char c = 0; - num = bufLen/sizeof(char); - for(i=0; i < num; i++){ - while (!isprint(c & 0x7f)) - c++; - SeqPtr[i] = (c++ & 0x7f); - } - cseq = new ttcp_sequence::CharSeq(num, num, SeqPtr); - } - break; - case SEND_STRUCT: - { - register PerfStruct *SeqPtr = (PerfStruct *)cp; - register char c = 0; - num = bufLen/sizeof(PerfStruct); - for (i=0; i < num; i++){ - SeqPtr[i].s = (short)lrand48(); - SeqPtr[i].l = lrand48(); - SeqPtr[i].d = drand48(); - while (!isprint(c & 0x7f)) - c++; - SeqPtr[i].c = (c++ & 0x7f); - while (!isprint(c & 0x7f)) - c++; - SeqPtr[i].o = (unsigned char)(c++ & 0x7f); - } - Sseq = new ttcp_sequence::StructSeq(num, num, SeqPtr); - - } - break; - case SEND_OCTET: - default: - { - register CORBA_Octet *SeqPtr = (CORBA_Octet *)cp; - register char c = 0; - num = bufLen/sizeof(CORBA_Octet); - for(i=0; i < num; i++){ - while (!isprint(c & 0x7f)) - c++; - SeqPtr[i] = (c++ & 0x7f); - } - oseq = new ttcp_sequence::OctetSeq(num, num, SeqPtr); - } - break; - } -} -void PrintStats() -{ - if (cput <= 0.0) - cput = 0.001; - if (realt <= 0.0) - realt = 0.001; - -//#if defined (LM_RESULTS) - if (trans && (title != 0)) - { - double tmp; - FILE *outFile; - char filename[BUFSIZ]; - - strcpy(filename, title); - switch(dt){ - case SEND_SHORT: - strcat(filename, ".shortSeq.results"); - break; - case SEND_LONG: - strcat(filename, ".longSeq.results"); - break; - case SEND_DOUBLE: - strcat(filename, ".doubleSeq.results"); - break; - case SEND_CHAR: - strcat(filename, ".charSeq.results"); - break; - case SEND_STRUCT: - strcat(filename, ".structSeq.results"); - break; - case SEND_COMPOSITE: - strcat(filename, ".compositeSeq.results"); - break; - case SEND_OCTET: - default: - strcat(filename, ".octetSeq.results"); - break; - } - outFile = fopen (filename, "a+"); - if (new_line) - fprintf (outFile, "\n -l %ldk \t", buflen / 1024); - tmp = ((double) nbytes) / realt; - fprintf (outFile, "%.2f ", tmp * 8.0 / 1024.0 / 1024.0); - fclose (outFile); - } -//#endif - - fprintf (stdout, - "ttcp%s: %ld bytes in %.2f real seconds = %s/sec +++\n", - trans ? "-t" : "-r", - nbytes, realt, outfmt (((double) nbytes) / realt)); - if (verbose) - { - fprintf (stdout, - "ttcp%s: %ld bytes in %.2f CPU seconds = %s/cpu sec\n", - trans ? "-t" : "-r", - nbytes, cput, outfmt (((double) nbytes) / cput)); - } - fprintf (stdout, - "ttcp%s: %d Server Method calls, msec/call = %.2f, calls/sec = %.2f\n", - trans ? "-t" : "-r", - numCalls, - 1024.0 * realt / ((double) numCalls), - ((double) numCalls) / realt); - fprintf (stdout, "ttcp%s: %s\n", trans ? "-t" : "-r", stats); - if (verbose) - { - fprintf (stdout, - "ttcp%s: buffer address %#x\n", - trans ? "-t" : "-r", - buf); - } -} diff --git a/TAO/INSTALL b/TAO/INSTALL deleted file mode 100644 index 8129cfb2860..00000000000 --- a/TAO/INSTALL +++ /dev/null @@ -1,92 +0,0 @@ - - _________________________________________________________________ - - Building and Installing TAO - - TAO has been ported and tested Windows NT, Solaris, VxWorks, and - Linux. I expect that major portions of the release will port easily to - other platforms that ACE has been ported to. If you can help port TAO - to other platforms we'd appreciate it. - - TAO can be obtained [1]electronically via the WWW and ftp. Besides - getting the [2]TAO release you will need [3]ACE. You will likely need - the most recent [4]beta version of ACE because TAO tends to track - changes to ACE rather closely. - - A quick build note for users who have used ACE with other ORBs: - linking TAO with a version of ACE that must also be 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 [5]ACE - installation notes. - 2. Build and install ACE under $ACE_ROOT. - + Change directory to $ACE_ROOT/ace and execute [6]make. - 3. Set TAO_ROOT environment variable to $ACE_ROOT/TAO. - 4. Build and install the TAO release under $TAO_ROOT. - + Change directory to $TAO_ROOT/tao and execute [7]make. - 5. Change directory to $TAO_ROOT/tests and execute [8]make. - 6. 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. - _________________________________________________________________ - - On Windows NT - - Before compiling TAO_IDL on NT, you may need to set the environment - variable CPP_PATH to where CL.exe is installed on your machine. By - default, we set this variable to "C:/Program Files/DevStudio/VC/bin". - Your location may vary, however. Notice that if you forget to set this - variable before compiling TAO_IDL, you can use CPP_LOCATION to specify - the absolute pathname to CL.exe. We set if to "C:/Program - Files/DevStudio/VC/bin/CL.exe" when we do use it. - - Visual C++ 5.0 - - It works best if TAO is placed in ACE_wrappers so TAO ends up in - ACE_wrappers\TAO because the Visual C++ 5.0 Project files are set up - to work in this configuration. If you move it, then make sure you - change the project file to look for the include and library files in - the correct place. - - 1. Make sure ACE is built (For Visual C++ 5.0, use ace.dsw or - ace-vc50.dsw, whichever is in your copy of ACE). - 2. Load the workspace tao\TAO.dsw and build the TAO library. - 3. To build the Cubit test, load the workspace - tests\Cubit\TAO\test.dsw and build both client and server. - - Visual C++ 4.x - - 1. In Tools|Options, go to the Directories page and make sure that - include files paths includes ACE_wrappers\ and the root directory - of TAO (which can be ACE_wrappers\TAO if installed there). The - library files paths should include ACE_wrappers\ace. - 2. Load the project file tao\TAO.mdp and build the TAO library. - 3. To build the Cubit test, load the project file - tests\Cubit\TAO\test.mdp and build both client and server. - _________________________________________________________________ - - Back to the [9]TAO home page. - -References - - 1. file://localhost/project/doc/chris/tmpwrk/ACE_wrappers/TAO/TAO-obtain.html - 2. http://siesta.cs.wustl.edu/~schmidt/TAO-obtain.html - 3. http://siesta.cs.wustl.edu/~schmidt/ACE-obtain.html - 4. http://www.cs.wustl.edu/~schmidt/ACE_wrappers/ACE.tar.gz - 5. http://www.cs.wustl.edu/~schmidt/ACE-INSTALL.html - 6. file://localhost/project/doc/chris/tmpwrk/ACE_wrappers/TAO/TAO-INSTALL.html#makenotes - 7. file://localhost/project/doc/chris/tmpwrk/ACE_wrappers/TAO/TAO-INSTALL.html#makenotes - 8. file://localhost/project/doc/chris/tmpwrk/ACE_wrappers/TAO/TAO-INSTALL.html#makenotes - 9. http://www.cs.wustl.edu/~schmidt/TAO.html 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 d298d935fdc..00000000000 --- a/TAO/Makefile +++ /dev/null @@ -1,107 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the TAO -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = README \ - VERSION - -DIRS = tao \ - TAO_IDL \ - orbsvcs \ - tests \ - - -CLONE = Makefile \ - tao \ - TAO_IDL \ - orbsvcs \ - tests \ - -#---------------------------------------------------------------------------- -# 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). - -clone: - @for dir in $(CLONE) ;\ - do \ - (clone -s $(ACE_ROOT)/$$dir $$dir) \ - done - -RELEASE_FILES = TAO/ChangeLog \ - TAO/INSTALL \ - TAO/TAO-INSTALL.html \ - TAO/COPYING \ - TAO/COPYING.sun \ - TAO/release.chk \ - TAO/rules.tao.GNU \ - TAO/taoconfig.mk \ - TAO/docs \ - TAO/LICENSE.sun \ - TAO/Makefile \ - TAO/README \ - TAO/README.sun \ - TAO/tao \ - TAO/TAO_IDL \ - TAO/orbsvcs \ - TAO/tests \ - TAO/VERSION - -INSTALL: TAO-INSTALL.html - lynx -dump $^ > $@ - -#### If creating the "official" TAO release: -#### 1) Check that the workspace is up-to-date, and bail out if not. -#### 2) Update the timestamp in the VERSION file. -#### 3) Add a ChangeLog entry to the ChangeLog plain file. -#### Detect if we are creating the "official" release by looking at the PWD. -#### To disable this feature, add "TIMESTAMP=" to the make command line. -#### NOTE: if the version number in the VERSION file contains three components, -#### e.g., 4.1.5, then the third one will be incremented. This assumes -#### that alpha/beta releases are numbered with three components, and -#### that final releases are not. So, if the version number is, e.g., -#### 4.2, it will not be modified because it is assumed to be for a -#### final release. -#ifeq ($(shell pwd),/project/adaptive/ACE_wrappers/TAO) - TIMESTAMP = (CHANGELOG='ChangeLog'; export CHANGELOG; \ - if [ -z "$$CHANGELOG" ]; then echo unable to find latest ChangeLog file; exit 1; fi; \ - cd ..; UPTODATE=`cvs -nq update $(RELEASE_FILES) | egrep -v '/tests/log/' | perl -pi -e 's%/TAO%%g; s/$$/\\\n /g'`; cd TAO; \ - if [ "$$UPTODATE" ]; then /pkg/gnu/bin/echo -e ERROR: workspace must be updated, and/or non-controlled files must be removed or added/committed: $$UPTODATE; exit 1; fi; \ - perl release.pl) && -#else -# TIMESTAMP = -#endif - -#### The following tar creation commands assume that cpio supports -H tar. -#### Old versions of cpio might not, but the version that's shipped with -#### Solaris 2.5.1, and gnu cpio 2.3, do support that option. - -FILTER = -name CVS -prune -o ! -name '.\#*' ! -name '\#*' ! -name '*~' -print - -cleanrelease: INSTALL - @$(TIMESTAMP) (make realclean; cd ..; \ - find $(RELEASE_FILES) $(FILTER) | cpio -o -H tar | gzip -9 > TAO.tar.gz; \ - chmod a+r TAO.tar.gz; ) - -release: INSTALL - @$(TIMESTAMP) (cd ..; \ - find $(RELEASE_FILES) $(FILTER) | cpio -o -H tar | gzip -9 > TAO.tar.gz; \ - chmod a+r TAO.tar.gz; ) - -releaseall: INSTALL - @$(TIMESTAMP) true diff --git a/TAO/README b/TAO/README deleted file mode 100644 index 822803d1567..00000000000 --- a/TAO/README +++ /dev/null @@ -1,77 +0,0 @@ -Welcome to the latest release of The ACE ORB (TAO). TAO is an -implementation of a CORBA 2.x-compliant ORB that supports real-time -extensions. Please see http://www.cs.wustl.edu/~schmidt/TAO.html for -more information on TAO. - -Some detailed information on this version of TAO is available in the -'docs' subdirectory in HTML format. - -The current alpha release of TAO contains the following: - - * An ORB Core based on ACE C++ components. This ORB Core provides 3 - concurrency models: (1) Reactive, (2) Thread-per-Connection, - and (3) Thread-per-Rate (which is optimized for certain types - of deterministic real-time systems). - - * An optimized version of the SunSoft IIOP protocol - interpreter; - - * An implementation of the Portable Object Adapter (POA) - specification. - - * A prototype IDL compiler, based on the SunSoft IDL - compiler. This IDL compiler generates stubs and skeletons that - utilize the SunSoft IIOP protocol engine. - - * A Real-time Scheduling Service that determines the priority at - which Client requests are dispatched by the ORB. - - * A Real-time Event Service that dispatches CORBA events in - real-time. - - * Implementations of the CORBA COS Naming service and Trader - service, as well as a logging service. - - * Various tests illustrating how to use TAO. - -The current version of TAO contains source code and tests that are -around 1.5 Megabytes when compressed using GNU gzip. - -We've gotten TAO to interoperate with other ORBs (e.g., Orbix, -VisiBroker, miniCOOL, and CORBAplus), so we're confident that its -implementation of IIOP is robust. We're currently working on the -following features for TAO: - - * An IDL compiler that generates optimized compiled stubs and - skeletons. For this, we're planning to use the Flick IDL - compiler from University of Utah. - - * A highly extensible, highly optimized set of request - demultiplexing strategies that provide constant time lookup of - servants based on object keys and operation names contained in - CORBA requests. - - * An implementation of the new OMG Audio/Video Streaming - service, as well as the Property service. - -We plan to release these features throughout the spring of 1998. You -can keep track of our progress online at URL - -http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO/docs/releasenotes/ - -A quick build note for users who have used ACE with other ORBs: -linking TAO with a version of ACE that must also be linked against -another ORB vendor's library, e.g., liborbix.so, will produce -undefined and most likely unpredictable and erroneous results. - -We welcome suggestions for improvement, bug fixes, portability -enhancements, etc. and will strive to integrate correct bug fixes -quickly! 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). - -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 877e27942d3..00000000000 --- a/TAO/TAO-INSTALL.html +++ /dev/null @@ -1,127 +0,0 @@ - - -Building and Installing TAO - - - -
-

Building and Installing TAO

- -TAO has been ported and tested Windows NT, Solaris, VxWorks, and -Linux. I expect that major portions of the release will port easily -to other platforms that ACE has been ported to. If you can help port -TAO to other platforms we'd appreciate it.

- -TAO can be obtained electronically via -the WWW and ftp. Besides getting the TAO -release you will need ACE. -You will likely need the most recent beta -version of ACE because TAO tends to track changes to ACE rather -closely.

- -A quick build note for users who have used ACE with other ORBs: -linking TAO with a version of ACE that must also be 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. - -

  3. Build and install ACE under $ACE_ROOT.
  4. - -

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

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

    - -

  6. Build and install the TAO release under $TAO_ROOT.
  7. - -

      -
    • Change directory to $TAO_ROOT/tao and - execute make.
    • -

    - -
  8. Change directory to $TAO_ROOT/tests and - execute make.
  9. - -

  10. 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. - - -


-

On Windows NT

- -Before compiling TAO_IDL on NT, you may need to set the -environment variable CPP_PATH to where CL.exe is -installed on your machine. By default, we set this variable to -"C:/Program Files/DevStudio/VC/bin". Your location may vary, however. -Notice that if you forget to set this variable before compiling -TAO_IDL, you can use CPP_LOCATION to specify -the absolute pathname to CL.exe. We set if to "C:/Program -Files/DevStudio/VC/bin/CL.exe" when we do use it.

- -

Visual C++ 5.0

- -

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

- -
    -
  1. Make sure ACE is built (For Visual C++ 5.0, use ace.dsw or ace-vc50.dsw, - whichever is in your copy of ACE).

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

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

    -
- -

Visual C++ 4.x

- -
    -
  1. In Tools|Options, go to the Directories page and make sure that include - files paths includes ACE_wrappers\ and the root directory of TAO (which - can be ACE_wrappers\TAO if installed there). The -library files paths - should include ACE_wrappers\ace.

    - -

  2. Load the project file tao\TAO.mdp and build the -TAO library.

    - -

  3. To build the Cubit test, load the project file tests\Cubit\TAO\test.mdp - and build both client and server.

    -

- -


-Back to the TAO home page. - - - - 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/GenExportH.BAT b/TAO/TAO_IDL/GenExportH.BAT deleted file mode 100755 index f60e420b3f0..00000000000 --- a/TAO/TAO_IDL/GenExportH.BAT +++ /dev/null @@ -1,48 +0,0 @@ -@Echo off -REM -REM $Id$ -REM -REM Usage: -REM GenExportH.BAT > -REM -REM Author: Nanbor Wang -REM - -if "%1%" == "" goto emptyexport -Echo // Definition for Win32 Export directives. -Echo // This file is generated automatically by -Echo // ${TAO_ROOT}/TAO_IDL/GenExportH.BAT -Echo // ------------------------------ -Echo #if !defined (%1%_EXPORT_H) -Echo #define %1%_EXPORT_H -Echo. -Echo #include "ace/OS.h" -Echo. -Echo #if defined (%1%_HAS_DLL) -Echo # if (%1%_HAS_DLL == 1) -Echo # if defined (%1%_BUILD_DLL) -Echo # define %1%_Export ACE_Proper_Export_Flag -Echo # define %1%_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -Echo # define %1%_SINGLETON_INSTANTIATION(T) ACE_PROPER_SINGLETON_INSTANTIATION (T) -Echo # else -Echo # define %1%_Export ACE_Proper_Import_Flag -Echo # define %1%_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -Echo # define %1%_SINGLETON_INSTANTIATION(T) -Echo # endif /* %1%_BUILD_DLL */ -Echo # else -Echo # define %1%_Export -Echo # define %1%_SINGLETON_DECLARATION(T) -Echo # define %1%_SINGLETON_INSTANTIATION(T) -Echo # endif /* ! %1%_HAS_DLL == 1 */ -Echo #else -Echo # define %1%_Export -Echo # define %1%_SINGLETON_DECLARATION(T) -Echo # define %1%_SINGLETON_INSTANTIATION(T) -Echo #endif /* %1%_HAS_DLL */ -Echo. -Echo #endif /* %1%_EXPORT_H */ -Echo // End of auto generated file. -goto endrun -:emptyexport -Echo #error usage: GenExportH.BAT EXPORT_TAG (Remember to redirect the output to a file.) -:endrun \ No newline at end of file diff --git a/TAO/TAO_IDL/INSTALL b/TAO/TAO_IDL/INSTALL deleted file mode 100644 index 6fcaa710042..00000000000 --- a/TAO/TAO_IDL/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/Makefile b/TAO/TAO_IDL/Makefile deleted file mode 100644 index fcf50449abd..00000000000 --- a/TAO/TAO_IDL/Makefile +++ /dev/null @@ -1,6948 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the TAO IDL compiler -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -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_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_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_factory \ - be/be_sunsoft \ - be/be_decl \ - be/be_scope \ - be/be_state \ - be/be_state_array \ - be/be_state_argument \ - be/be_state_attribute \ - be/be_state_exception \ - be/be_state_operation \ - be/be_state_sequence \ - be/be_state_structure \ - be/be_state_typedef \ - be/be_state_union \ - be/be_visitor \ - be/be_visitor_args \ - 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_module \ - be/be_visitor_operation \ - be/be_visitor_root \ - be/be_visitor_scope \ - be/be_visitor_sequence \ - be/be_visitor_structure \ - be/be_visitor_typedef \ - be/be_visitor_union \ - be/be_visitor_union_branch \ - be/be_interpretive - -LSRC = $(addsuffix .cpp,$(FILES)) \ -#VOBJS = $(LSRC:%.cpp=$(VDIR)%.$(OBJEXT)) -#$(BIN): $(VOBJS) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -ifndef CROSS-COMPILE - 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 - include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU - include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -endif # ! CROSS-COMPILE - - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -ifdef 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 - IDL_CFE_VERSION = \"1.3.0\" - - ifeq ($(findstring g++,$(CXX)),g++) - CCFLAGS += -Wno-switch -Wno-unused - endif # g++ - - CPPFLAGS += -Iinclude -Ibe_include -Ife -DCPP_LOCATION=\"$(CXX)\" \ - -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - - clean: realclean.old - rm -f tao_idl - - realclean: realclean.old - rm -f tao_idl TAGS -endif # ! CROSS-COMPILE - -tags: - rm -f TAGS - etags -C include/*.h be_include/*.h - etags -a ast/*.cpp util/*.cpp narrow/*.cpp \ - driver/*.cpp fe/*.cpp be/*.cpp - - -#---------------------------------------------------------------------------- -# Cleanup -#---------------------------------------------------------------------------- -# This section can be removed eventually. It's purpose is to clean out -# builds that were created with nested version of this TAO_IDL Makefile. - -realclean.old: - @for dir in driver fe ast util narrow be;\ - do \ - (echo " ========> Making $(@:.nested=): `pwd`"; \ - $(MAKE) -C $$dir realclean; \ - echo "<======== End $(@:.nested=): `pwd`") ; \ - done - - -#---------------------------------------------------------------------------- -# 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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 include/idl.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/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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_visitor_sequence.h \ - be_include/be_visitor_decl.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_interpretive.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_factory.o .obj/be_factory.so .shobj/be_factory.o .shobj/be_factory.so: be/be_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_sunsoft.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state.o .obj/be_state.so .shobj/be_state.o .shobj/be_state.so: be/be_state.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_array.o .obj/be_state_array.so .shobj/be_state_array.o .shobj/be_state_array.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_argument.o .obj/be_state_argument.so .shobj/be_state_argument.o .shobj/be_state_argument.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_attribute.o .obj/be_state_attribute.so .shobj/be_state_attribute.o .shobj/be_state_attribute.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_exception.o .obj/be_state_exception.so .shobj/be_state_exception.o .shobj/be_state_exception.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_operation.o .obj/be_state_operation.so .shobj/be_state_operation.o .shobj/be_state_operation.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_sequence.o .obj/be_state_sequence.so .shobj/be_state_sequence.o .shobj/be_state_sequence.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_structure.o .obj/be_state_structure.so .shobj/be_state_structure.o .shobj/be_state_structure.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_typedef.o .obj/be_state_typedef.so .shobj/be_state_typedef.o .shobj/be_state_typedef.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_state_union.o .obj/be_state_union.so .shobj/be_state_union.o .shobj/be_state_union.so: be/be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h -.obj/be_visitor_args.o .obj/be_visitor_args.so .shobj/be_visitor_args.o .shobj/be_visitor_args.so: be/be_visitor_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_visitor_args.h \ - be_include/be_visitor_decl.h -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_visitor_field.h \ - be_include/be_visitor_decl.h -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_visitor_sequence.h \ - be_include/be_visitor_decl.h -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.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 -.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_visitor_union_branch.h \ - be_include/be_visitor_decl.h -.obj/be_interpretive.o .obj/be_interpretive.so .shobj/be_interpretive.o .shobj/be_interpretive.so: be/be_interpretive.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h be_include/be_codegen.h \ - be_include/be_factory.h be_include/be_visitor.h \ - be_include/be_visitor_context.h be_include/be_interpretive.h \ - be_include/be_visitor_args.h be_include/be_visitor_decl.h \ - be_include/be_visitor_attribute.h be_include/be_visitor_scope.h \ - be_include/be_visitor_constant.h be_include/be_visitor_enum.h \ - be_include/be_visitor_exception.h be_include/be_visitor_field.h \ - be_include/be_visitor_interface.h \ - be_include/be_visitor_interface_fwd.h be_include/be_visitor_module.h \ - be_include/be_visitor_operation.h be_include/be_visitor_root.h \ - be_include/be_visitor_sequence.h be_include/be_visitor_structure.h \ - be_include/be_visitor_typedef.h be_include/be_visitor_union.h \ - be_include/be_visitor_union_branch.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/README b/TAO/TAO_IDL/README deleted file mode 100644 index 6d73554acce..00000000000 --- a/TAO/TAO_IDL/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/TAO_IDL4.mak b/TAO/TAO_IDL/TAO_IDL4.mak deleted file mode 100644 index 3eae728d494..00000000000 --- a/TAO/TAO_IDL/TAO_IDL4.mak +++ /dev/null @@ -1,14255 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=TAO_IDL - Win32 Release -!MESSAGE No configuration specified. Defaulting to TAO_IDL - Win32 Release. -!ENDIF - -!IF "$(CFG)" != "TAO_IDL - Win32 Release" && "$(CFG)" !=\ - "TAO_IDL - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "TAO_IDL4.mak" CFG="TAO_IDL - Win32 Release" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TAO_IDL - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "TAO_IDL - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "TAO_IDL - Win32 Release" -RSC=rc.exe -CPP=cl.exe - -!IF "$(CFG)" == "TAO_IDL - 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 Target_Dir "" -OUTDIR=. -INTDIR=.\Release - -ALL : "$(OUTDIR)\TAO_IDL4.exe" - -CLEAN : - -@erase "$(INTDIR)\ast_argument.obj" - -@erase "$(INTDIR)\ast_array.obj" - -@erase "$(INTDIR)\ast_attribute.obj" - -@erase "$(INTDIR)\ast_check.obj" - -@erase "$(INTDIR)\ast_concrete_type.obj" - -@erase "$(INTDIR)\ast_constant.obj" - -@erase "$(INTDIR)\ast_decl.obj" - -@erase "$(INTDIR)\ast_enum.obj" - -@erase "$(INTDIR)\ast_enum_val.obj" - -@erase "$(INTDIR)\ast_exception.obj" - -@erase "$(INTDIR)\ast_expression.obj" - -@erase "$(INTDIR)\ast_field.obj" - -@erase "$(INTDIR)\ast_generator.obj" - -@erase "$(INTDIR)\ast_interface.obj" - -@erase "$(INTDIR)\ast_interface_fwd.obj" - -@erase "$(INTDIR)\ast_module.obj" - -@erase "$(INTDIR)\ast_operation.obj" - -@erase "$(INTDIR)\ast_predefined_type.obj" - -@erase "$(INTDIR)\ast_recursive.obj" - -@erase "$(INTDIR)\ast_redef.obj" - -@erase "$(INTDIR)\ast_root.obj" - -@erase "$(INTDIR)\ast_sequence.obj" - -@erase "$(INTDIR)\ast_string.obj" - -@erase "$(INTDIR)\ast_structure.obj" - -@erase "$(INTDIR)\ast_type.obj" - -@erase "$(INTDIR)\ast_typedef.obj" - -@erase "$(INTDIR)\ast_union.obj" - -@erase "$(INTDIR)\ast_union_branch.obj" - -@erase "$(INTDIR)\ast_union_label.obj" - -@erase "$(INTDIR)\be_args.obj" - -@erase "$(INTDIR)\be_argument.obj" - -@erase "$(INTDIR)\be_array.obj" - -@erase "$(INTDIR)\be_attribute.obj" - -@erase "$(INTDIR)\be_codegen.obj" - -@erase "$(INTDIR)\be_constant.obj" - -@erase "$(INTDIR)\be_decl.obj" - -@erase "$(INTDIR)\be_enum.obj" - -@erase "$(INTDIR)\be_enum_val.obj" - -@erase "$(INTDIR)\be_exception.obj" - -@erase "$(INTDIR)\be_expression.obj" - -@erase "$(INTDIR)\be_factory.obj" - -@erase "$(INTDIR)\be_field.obj" - -@erase "$(INTDIR)\be_generator.obj" - -@erase "$(INTDIR)\be_helper.obj" - -@erase "$(INTDIR)\be_init.obj" - -@erase "$(INTDIR)\be_interface.obj" - -@erase "$(INTDIR)\be_interface_fwd.obj" - -@erase "$(INTDIR)\be_module.obj" - -@erase "$(INTDIR)\be_operation.obj" - -@erase "$(INTDIR)\be_predefined_type.obj" - -@erase "$(INTDIR)\be_produce.obj" - -@erase "$(INTDIR)\be_root.obj" - -@erase "$(INTDIR)\be_scope.obj" - -@erase "$(INTDIR)\be_sequence.obj" - -@erase "$(INTDIR)\be_state.obj" - -@erase "$(INTDIR)\be_state_argument.obj" - -@erase "$(INTDIR)\be_state_array.obj" - -@erase "$(INTDIR)\be_state_attribute.obj" - -@erase "$(INTDIR)\be_state_operation.obj" - -@erase "$(INTDIR)\be_state_sequence.obj" - -@erase "$(INTDIR)\be_state_structure.obj" - -@erase "$(INTDIR)\be_state_typedef.obj" - -@erase "$(INTDIR)\be_state_union.obj" - -@erase "$(INTDIR)\be_string.obj" - -@erase "$(INTDIR)\be_structure.obj" - -@erase "$(INTDIR)\be_sunsoft.obj" - -@erase "$(INTDIR)\be_type.obj" - -@erase "$(INTDIR)\be_typedef.obj" - -@erase "$(INTDIR)\be_union.obj" - -@erase "$(INTDIR)\be_union_branch.obj" - -@erase "$(INTDIR)\be_union_label.obj" - -@erase "$(INTDIR)\drv_args.obj" - -@erase "$(INTDIR)\drv_fork.obj" - -@erase "$(INTDIR)\drv_init.obj" - -@erase "$(INTDIR)\drv_link.obj" - -@erase "$(INTDIR)\drv_main.obj" - -@erase "$(INTDIR)\drv_preproc.obj" - -@erase "$(INTDIR)\drv_private.obj" - -@erase "$(INTDIR)\fe_declarator.obj" - -@erase "$(INTDIR)\fe_extern.obj" - -@erase "$(INTDIR)\fe_init.obj" - -@erase "$(INTDIR)\fe_interface_header.obj" - -@erase "$(INTDIR)\fe_private.obj" - -@erase "$(INTDIR)\lex.yy.obj" - -@erase "$(INTDIR)\narrow.obj" - -@erase "$(INTDIR)\utl_decllist.obj" - -@erase "$(INTDIR)\utl_error.obj" - -@erase "$(INTDIR)\utl_exceptlist.obj" - -@erase "$(INTDIR)\utl_exprlist.obj" - -@erase "$(INTDIR)\utl_global.obj" - -@erase "$(INTDIR)\utl_identifier.obj" - -@erase "$(INTDIR)\utl_idlist.obj" - -@erase "$(INTDIR)\utl_indenter.obj" - -@erase "$(INTDIR)\utl_labellist.obj" - -@erase "$(INTDIR)\utl_list.obj" - -@erase "$(INTDIR)\utl_namelist.obj" - -@erase "$(INTDIR)\utl_scope.obj" - -@erase "$(INTDIR)\utl_stack.obj" - -@erase "$(INTDIR)\utl_string.obj" - -@erase "$(INTDIR)\utl_strlist.obj" - -@erase "$(INTDIR)\y.tab.obj" - -@erase "$(OUTDIR)\TAO_IDL4.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "..\.." /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D CPP_LOCATION=\"cl\" /YX /c -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "..\.." /D\ - "NDEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D\ - CPP_LOCATION=\"cl\" /Fp"$(INTDIR)/TAO_IDL4.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/TAO_IDL4.bsc" -BSC32_SBRS= \ - -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 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 -LINK32_FLAGS=ace.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 /incremental:no\ - /pdb:"$(OUTDIR)/TAO_IDL4.pdb" /machine:I386 /out:"$(OUTDIR)/TAO_IDL4.exe" -LINK32_OBJS= \ - "$(INTDIR)\ast_argument.obj" \ - "$(INTDIR)\ast_array.obj" \ - "$(INTDIR)\ast_attribute.obj" \ - "$(INTDIR)\ast_check.obj" \ - "$(INTDIR)\ast_concrete_type.obj" \ - "$(INTDIR)\ast_constant.obj" \ - "$(INTDIR)\ast_decl.obj" \ - "$(INTDIR)\ast_enum.obj" \ - "$(INTDIR)\ast_enum_val.obj" \ - "$(INTDIR)\ast_exception.obj" \ - "$(INTDIR)\ast_expression.obj" \ - "$(INTDIR)\ast_field.obj" \ - "$(INTDIR)\ast_generator.obj" \ - "$(INTDIR)\ast_interface.obj" \ - "$(INTDIR)\ast_interface_fwd.obj" \ - "$(INTDIR)\ast_module.obj" \ - "$(INTDIR)\ast_operation.obj" \ - "$(INTDIR)\ast_predefined_type.obj" \ - "$(INTDIR)\ast_recursive.obj" \ - "$(INTDIR)\ast_redef.obj" \ - "$(INTDIR)\ast_root.obj" \ - "$(INTDIR)\ast_sequence.obj" \ - "$(INTDIR)\ast_string.obj" \ - "$(INTDIR)\ast_structure.obj" \ - "$(INTDIR)\ast_type.obj" \ - "$(INTDIR)\ast_typedef.obj" \ - "$(INTDIR)\ast_union.obj" \ - "$(INTDIR)\ast_union_branch.obj" \ - "$(INTDIR)\ast_union_label.obj" \ - "$(INTDIR)\be_args.obj" \ - "$(INTDIR)\be_argument.obj" \ - "$(INTDIR)\be_array.obj" \ - "$(INTDIR)\be_attribute.obj" \ - "$(INTDIR)\be_codegen.obj" \ - "$(INTDIR)\be_constant.obj" \ - "$(INTDIR)\be_decl.obj" \ - "$(INTDIR)\be_enum.obj" \ - "$(INTDIR)\be_enum_val.obj" \ - "$(INTDIR)\be_exception.obj" \ - "$(INTDIR)\be_expression.obj" \ - "$(INTDIR)\be_factory.obj" \ - "$(INTDIR)\be_field.obj" \ - "$(INTDIR)\be_generator.obj" \ - "$(INTDIR)\be_helper.obj" \ - "$(INTDIR)\be_init.obj" \ - "$(INTDIR)\be_interface.obj" \ - "$(INTDIR)\be_interface_fwd.obj" \ - "$(INTDIR)\be_module.obj" \ - "$(INTDIR)\be_operation.obj" \ - "$(INTDIR)\be_predefined_type.obj" \ - "$(INTDIR)\be_produce.obj" \ - "$(INTDIR)\be_root.obj" \ - "$(INTDIR)\be_scope.obj" \ - "$(INTDIR)\be_sequence.obj" \ - "$(INTDIR)\be_state.obj" \ - "$(INTDIR)\be_state_argument.obj" \ - "$(INTDIR)\be_state_array.obj" \ - "$(INTDIR)\be_state_attribute.obj" \ - "$(INTDIR)\be_state_operation.obj" \ - "$(INTDIR)\be_state_sequence.obj" \ - "$(INTDIR)\be_state_structure.obj" \ - "$(INTDIR)\be_state_typedef.obj" \ - "$(INTDIR)\be_state_union.obj" \ - "$(INTDIR)\be_string.obj" \ - "$(INTDIR)\be_structure.obj" \ - "$(INTDIR)\be_sunsoft.obj" \ - "$(INTDIR)\be_type.obj" \ - "$(INTDIR)\be_typedef.obj" \ - "$(INTDIR)\be_union.obj" \ - "$(INTDIR)\be_union_branch.obj" \ - "$(INTDIR)\be_union_label.obj" \ - "$(INTDIR)\drv_args.obj" \ - "$(INTDIR)\drv_fork.obj" \ - "$(INTDIR)\drv_init.obj" \ - "$(INTDIR)\drv_link.obj" \ - "$(INTDIR)\drv_main.obj" \ - "$(INTDIR)\drv_preproc.obj" \ - "$(INTDIR)\drv_private.obj" \ - "$(INTDIR)\fe_declarator.obj" \ - "$(INTDIR)\fe_extern.obj" \ - "$(INTDIR)\fe_init.obj" \ - "$(INTDIR)\fe_interface_header.obj" \ - "$(INTDIR)\fe_private.obj" \ - "$(INTDIR)\lex.yy.obj" \ - "$(INTDIR)\narrow.obj" \ - "$(INTDIR)\utl_decllist.obj" \ - "$(INTDIR)\utl_error.obj" \ - "$(INTDIR)\utl_exceptlist.obj" \ - "$(INTDIR)\utl_exprlist.obj" \ - "$(INTDIR)\utl_global.obj" \ - "$(INTDIR)\utl_identifier.obj" \ - "$(INTDIR)\utl_idlist.obj" \ - "$(INTDIR)\utl_indenter.obj" \ - "$(INTDIR)\utl_labellist.obj" \ - "$(INTDIR)\utl_list.obj" \ - "$(INTDIR)\utl_namelist.obj" \ - "$(INTDIR)\utl_scope.obj" \ - "$(INTDIR)\utl_stack.obj" \ - "$(INTDIR)\utl_string.obj" \ - "$(INTDIR)\utl_strlist.obj" \ - "$(INTDIR)\y.tab.obj" - -"$(OUTDIR)\TAO_IDL4.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "TAO_IDL - 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 "" -OUTDIR=. -INTDIR=.\Debug - -ALL : "$(OUTDIR)\TAO_IDL4.exe" - -CLEAN : - -@erase "$(INTDIR)\ast_argument.obj" - -@erase "$(INTDIR)\ast_array.obj" - -@erase "$(INTDIR)\ast_attribute.obj" - -@erase "$(INTDIR)\ast_check.obj" - -@erase "$(INTDIR)\ast_concrete_type.obj" - -@erase "$(INTDIR)\ast_constant.obj" - -@erase "$(INTDIR)\ast_decl.obj" - -@erase "$(INTDIR)\ast_enum.obj" - -@erase "$(INTDIR)\ast_enum_val.obj" - -@erase "$(INTDIR)\ast_exception.obj" - -@erase "$(INTDIR)\ast_expression.obj" - -@erase "$(INTDIR)\ast_field.obj" - -@erase "$(INTDIR)\ast_generator.obj" - -@erase "$(INTDIR)\ast_interface.obj" - -@erase "$(INTDIR)\ast_interface_fwd.obj" - -@erase "$(INTDIR)\ast_module.obj" - -@erase "$(INTDIR)\ast_operation.obj" - -@erase "$(INTDIR)\ast_predefined_type.obj" - -@erase "$(INTDIR)\ast_recursive.obj" - -@erase "$(INTDIR)\ast_redef.obj" - -@erase "$(INTDIR)\ast_root.obj" - -@erase "$(INTDIR)\ast_sequence.obj" - -@erase "$(INTDIR)\ast_string.obj" - -@erase "$(INTDIR)\ast_structure.obj" - -@erase "$(INTDIR)\ast_type.obj" - -@erase "$(INTDIR)\ast_typedef.obj" - -@erase "$(INTDIR)\ast_union.obj" - -@erase "$(INTDIR)\ast_union_branch.obj" - -@erase "$(INTDIR)\ast_union_label.obj" - -@erase "$(INTDIR)\be_args.obj" - -@erase "$(INTDIR)\be_argument.obj" - -@erase "$(INTDIR)\be_array.obj" - -@erase "$(INTDIR)\be_attribute.obj" - -@erase "$(INTDIR)\be_codegen.obj" - -@erase "$(INTDIR)\be_constant.obj" - -@erase "$(INTDIR)\be_decl.obj" - -@erase "$(INTDIR)\be_enum.obj" - -@erase "$(INTDIR)\be_enum_val.obj" - -@erase "$(INTDIR)\be_exception.obj" - -@erase "$(INTDIR)\be_expression.obj" - -@erase "$(INTDIR)\be_factory.obj" - -@erase "$(INTDIR)\be_field.obj" - -@erase "$(INTDIR)\be_generator.obj" - -@erase "$(INTDIR)\be_helper.obj" - -@erase "$(INTDIR)\be_init.obj" - -@erase "$(INTDIR)\be_interface.obj" - -@erase "$(INTDIR)\be_interface_fwd.obj" - -@erase "$(INTDIR)\be_module.obj" - -@erase "$(INTDIR)\be_operation.obj" - -@erase "$(INTDIR)\be_predefined_type.obj" - -@erase "$(INTDIR)\be_produce.obj" - -@erase "$(INTDIR)\be_root.obj" - -@erase "$(INTDIR)\be_scope.obj" - -@erase "$(INTDIR)\be_sequence.obj" - -@erase "$(INTDIR)\be_state.obj" - -@erase "$(INTDIR)\be_state_argument.obj" - -@erase "$(INTDIR)\be_state_array.obj" - -@erase "$(INTDIR)\be_state_attribute.obj" - -@erase "$(INTDIR)\be_state_operation.obj" - -@erase "$(INTDIR)\be_state_sequence.obj" - -@erase "$(INTDIR)\be_state_structure.obj" - -@erase "$(INTDIR)\be_state_typedef.obj" - -@erase "$(INTDIR)\be_state_union.obj" - -@erase "$(INTDIR)\be_string.obj" - -@erase "$(INTDIR)\be_structure.obj" - -@erase "$(INTDIR)\be_sunsoft.obj" - -@erase "$(INTDIR)\be_type.obj" - -@erase "$(INTDIR)\be_typedef.obj" - -@erase "$(INTDIR)\be_union.obj" - -@erase "$(INTDIR)\be_union_branch.obj" - -@erase "$(INTDIR)\be_union_label.obj" - -@erase "$(INTDIR)\drv_args.obj" - -@erase "$(INTDIR)\drv_fork.obj" - -@erase "$(INTDIR)\drv_init.obj" - -@erase "$(INTDIR)\drv_link.obj" - -@erase "$(INTDIR)\drv_main.obj" - -@erase "$(INTDIR)\drv_preproc.obj" - -@erase "$(INTDIR)\drv_private.obj" - -@erase "$(INTDIR)\fe_declarator.obj" - -@erase "$(INTDIR)\fe_extern.obj" - -@erase "$(INTDIR)\fe_init.obj" - -@erase "$(INTDIR)\fe_interface_header.obj" - -@erase "$(INTDIR)\fe_private.obj" - -@erase "$(INTDIR)\lex.yy.obj" - -@erase "$(INTDIR)\narrow.obj" - -@erase "$(INTDIR)\utl_decllist.obj" - -@erase "$(INTDIR)\utl_error.obj" - -@erase "$(INTDIR)\utl_exceptlist.obj" - -@erase "$(INTDIR)\utl_exprlist.obj" - -@erase "$(INTDIR)\utl_global.obj" - -@erase "$(INTDIR)\utl_identifier.obj" - -@erase "$(INTDIR)\utl_idlist.obj" - -@erase "$(INTDIR)\utl_indenter.obj" - -@erase "$(INTDIR)\utl_labellist.obj" - -@erase "$(INTDIR)\utl_list.obj" - -@erase "$(INTDIR)\utl_namelist.obj" - -@erase "$(INTDIR)\utl_scope.obj" - -@erase "$(INTDIR)\utl_stack.obj" - -@erase "$(INTDIR)\utl_string.obj" - -@erase "$(INTDIR)\utl_strlist.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(INTDIR)\y.tab.obj" - -@erase "$(OUTDIR)\TAO_IDL4.exe" - -@erase "$(OUTDIR)\TAO_IDL4.ilk" - -@erase "$(OUTDIR)\TAO_IDL4.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -# 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 "include" /I "be_include" /I "..\.." /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D CPP_LOCATION=\"cl\" /YX /c -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "include" /I "be_include" /I\ - "..\.." /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D\ - CPP_LOCATION=\"cl\" /Fp"$(INTDIR)/TAO_IDL4.pch" /YX /Fo"$(INTDIR)/"\ - /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/TAO_IDL4.bsc" -BSC32_SBRS= \ - -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 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 -LINK32_FLAGS=aced.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 /incremental:yes\ - /pdb:"$(OUTDIR)/TAO_IDL4.pdb" /debug /machine:I386\ - /out:"$(OUTDIR)/TAO_IDL4.exe" -LINK32_OBJS= \ - "$(INTDIR)\ast_argument.obj" \ - "$(INTDIR)\ast_array.obj" \ - "$(INTDIR)\ast_attribute.obj" \ - "$(INTDIR)\ast_check.obj" \ - "$(INTDIR)\ast_concrete_type.obj" \ - "$(INTDIR)\ast_constant.obj" \ - "$(INTDIR)\ast_decl.obj" \ - "$(INTDIR)\ast_enum.obj" \ - "$(INTDIR)\ast_enum_val.obj" \ - "$(INTDIR)\ast_exception.obj" \ - "$(INTDIR)\ast_expression.obj" \ - "$(INTDIR)\ast_field.obj" \ - "$(INTDIR)\ast_generator.obj" \ - "$(INTDIR)\ast_interface.obj" \ - "$(INTDIR)\ast_interface_fwd.obj" \ - "$(INTDIR)\ast_module.obj" \ - "$(INTDIR)\ast_operation.obj" \ - "$(INTDIR)\ast_predefined_type.obj" \ - "$(INTDIR)\ast_recursive.obj" \ - "$(INTDIR)\ast_redef.obj" \ - "$(INTDIR)\ast_root.obj" \ - "$(INTDIR)\ast_sequence.obj" \ - "$(INTDIR)\ast_string.obj" \ - "$(INTDIR)\ast_structure.obj" \ - "$(INTDIR)\ast_type.obj" \ - "$(INTDIR)\ast_typedef.obj" \ - "$(INTDIR)\ast_union.obj" \ - "$(INTDIR)\ast_union_branch.obj" \ - "$(INTDIR)\ast_union_label.obj" \ - "$(INTDIR)\be_args.obj" \ - "$(INTDIR)\be_argument.obj" \ - "$(INTDIR)\be_array.obj" \ - "$(INTDIR)\be_attribute.obj" \ - "$(INTDIR)\be_codegen.obj" \ - "$(INTDIR)\be_constant.obj" \ - "$(INTDIR)\be_decl.obj" \ - "$(INTDIR)\be_enum.obj" \ - "$(INTDIR)\be_enum_val.obj" \ - "$(INTDIR)\be_exception.obj" \ - "$(INTDIR)\be_expression.obj" \ - "$(INTDIR)\be_factory.obj" \ - "$(INTDIR)\be_field.obj" \ - "$(INTDIR)\be_generator.obj" \ - "$(INTDIR)\be_helper.obj" \ - "$(INTDIR)\be_init.obj" \ - "$(INTDIR)\be_interface.obj" \ - "$(INTDIR)\be_interface_fwd.obj" \ - "$(INTDIR)\be_module.obj" \ - "$(INTDIR)\be_operation.obj" \ - "$(INTDIR)\be_predefined_type.obj" \ - "$(INTDIR)\be_produce.obj" \ - "$(INTDIR)\be_root.obj" \ - "$(INTDIR)\be_scope.obj" \ - "$(INTDIR)\be_sequence.obj" \ - "$(INTDIR)\be_state.obj" \ - "$(INTDIR)\be_state_argument.obj" \ - "$(INTDIR)\be_state_array.obj" \ - "$(INTDIR)\be_state_attribute.obj" \ - "$(INTDIR)\be_state_operation.obj" \ - "$(INTDIR)\be_state_sequence.obj" \ - "$(INTDIR)\be_state_structure.obj" \ - "$(INTDIR)\be_state_typedef.obj" \ - "$(INTDIR)\be_state_union.obj" \ - "$(INTDIR)\be_string.obj" \ - "$(INTDIR)\be_structure.obj" \ - "$(INTDIR)\be_sunsoft.obj" \ - "$(INTDIR)\be_type.obj" \ - "$(INTDIR)\be_typedef.obj" \ - "$(INTDIR)\be_union.obj" \ - "$(INTDIR)\be_union_branch.obj" \ - "$(INTDIR)\be_union_label.obj" \ - "$(INTDIR)\drv_args.obj" \ - "$(INTDIR)\drv_fork.obj" \ - "$(INTDIR)\drv_init.obj" \ - "$(INTDIR)\drv_link.obj" \ - "$(INTDIR)\drv_main.obj" \ - "$(INTDIR)\drv_preproc.obj" \ - "$(INTDIR)\drv_private.obj" \ - "$(INTDIR)\fe_declarator.obj" \ - "$(INTDIR)\fe_extern.obj" \ - "$(INTDIR)\fe_init.obj" \ - "$(INTDIR)\fe_interface_header.obj" \ - "$(INTDIR)\fe_private.obj" \ - "$(INTDIR)\lex.yy.obj" \ - "$(INTDIR)\narrow.obj" \ - "$(INTDIR)\utl_decllist.obj" \ - "$(INTDIR)\utl_error.obj" \ - "$(INTDIR)\utl_exceptlist.obj" \ - "$(INTDIR)\utl_exprlist.obj" \ - "$(INTDIR)\utl_global.obj" \ - "$(INTDIR)\utl_identifier.obj" \ - "$(INTDIR)\utl_idlist.obj" \ - "$(INTDIR)\utl_indenter.obj" \ - "$(INTDIR)\utl_labellist.obj" \ - "$(INTDIR)\utl_list.obj" \ - "$(INTDIR)\utl_namelist.obj" \ - "$(INTDIR)\utl_scope.obj" \ - "$(INTDIR)\utl_stack.obj" \ - "$(INTDIR)\utl_string.obj" \ - "$(INTDIR)\utl_strlist.obj" \ - "$(INTDIR)\y.tab.obj" - -"$(OUTDIR)\TAO_IDL4.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "TAO_IDL - Win32 Release" -# Name "TAO_IDL - Win32 Debug" - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_decllist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_D=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_decllist.obj" : $(SOURCE) $(DEP_CPP_UTL_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_D=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_decllist.obj" : $(SOURCE) $(DEP_CPP_UTL_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_error.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_E=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_error.obj" : $(SOURCE) $(DEP_CPP_UTL_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_E=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_error.obj" : $(SOURCE) $(DEP_CPP_UTL_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_exceptlist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_EX=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_exceptlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_EX=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_exceptlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_exprlist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_EXP=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_exprlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_EXP=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_exprlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_global.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_G=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_global.obj" : $(SOURCE) $(DEP_CPP_UTL_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_G=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_global.obj" : $(SOURCE) $(DEP_CPP_UTL_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_identifier.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_I=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_identifier.obj" : $(SOURCE) $(DEP_CPP_UTL_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_I=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_identifier.obj" : $(SOURCE) $(DEP_CPP_UTL_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_idlist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_ID=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_idlist.obj" : $(SOURCE) $(DEP_CPP_UTL_ID) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_ID=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_idlist.obj" : $(SOURCE) $(DEP_CPP_UTL_ID) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_indenter.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_IN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_indenter.obj" : $(SOURCE) $(DEP_CPP_UTL_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_IN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_indenter.obj" : $(SOURCE) $(DEP_CPP_UTL_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_labellist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_L=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_labellist.obj" : $(SOURCE) $(DEP_CPP_UTL_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_L=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_labellist.obj" : $(SOURCE) $(DEP_CPP_UTL_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_list.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_LI=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_list.obj" : $(SOURCE) $(DEP_CPP_UTL_LI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_LI=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_list.obj" : $(SOURCE) $(DEP_CPP_UTL_LI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_namelist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_N=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_namelist.obj" : $(SOURCE) $(DEP_CPP_UTL_N) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_N=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_namelist.obj" : $(SOURCE) $(DEP_CPP_UTL_N) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_scope.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_S=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_scope.obj" : $(SOURCE) $(DEP_CPP_UTL_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_S=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_scope.obj" : $(SOURCE) $(DEP_CPP_UTL_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_stack.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_ST=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_stack.obj" : $(SOURCE) $(DEP_CPP_UTL_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_ST=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_stack.obj" : $(SOURCE) $(DEP_CPP_UTL_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_string.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_STR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_string.obj" : $(SOURCE) $(DEP_CPP_UTL_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_STR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_string.obj" : $(SOURCE) $(DEP_CPP_UTL_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\util\utl_strlist.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_UTL_STRL=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_strlist.obj" : $(SOURCE) $(DEP_CPP_UTL_STRL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_UTL_STRL=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\utl_strlist.obj" : $(SOURCE) $(DEP_CPP_UTL_STRL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\narrow\narrow.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_NARRO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\narrow.obj" : $(SOURCE) $(DEP_CPP_NARRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_NARRO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\narrow.obj" : $(SOURCE) $(DEP_CPP_NARRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\fe_declarator.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_FE_DE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_declarator.obj" : $(SOURCE) $(DEP_CPP_FE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_FE_DE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_declarator.obj" : $(SOURCE) $(DEP_CPP_FE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\fe_extern.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_FE_EX=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_extern.obj" : $(SOURCE) $(DEP_CPP_FE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_FE_EX=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_extern.obj" : $(SOURCE) $(DEP_CPP_FE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\fe_init.cpp - -!IF "$(CFG)" == "TAO_IDL - Win32 Release" - -DEP_CPP_FE_IN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_init.obj" : $(SOURCE) $(DEP_CPP_FE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug" - -DEP_CPP_FE_IN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/Basic_Types.h"\ - "..\..\ace/Basic_Types.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/inc_user_config.h"\ - "..\..\ace/iosfwd.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/streams.h"\ - "..\..\ace/sys_conf.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_init.obj" : $(SOURCE) $(DEP_CPP_FE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\fe_interface_header.cpp -DEP_CPP_FE_INT=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_interface_header.obj" : $(SOURCE) $(DEP_CPP_FE_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\fe_private.cpp -DEP_CPP_FE_PR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\fe_private.obj" : $(SOURCE) $(DEP_CPP_FE_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\lex.yy.cpp -DEP_CPP_LEX_Y=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\fe\y.tab.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\lex.yy.obj" : $(SOURCE) $(DEP_CPP_LEX_Y) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fe\y.tab.cpp -DEP_CPP_Y_TAB=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\y.tab.obj" : $(SOURCE) $(DEP_CPP_Y_TAB) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_args.cpp -DEP_CPP_DRV_A=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_args.obj" : $(SOURCE) $(DEP_CPP_DRV_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_fork.cpp -DEP_CPP_DRV_F=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Process.h"\ - "..\..\ace/Process.i"\ - "..\..\ace/Process_Manager.h"\ - "..\..\ace/Process_Manager.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_fork.obj" : $(SOURCE) $(DEP_CPP_DRV_F) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_init.cpp -DEP_CPP_DRV_I=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_init.obj" : $(SOURCE) $(DEP_CPP_DRV_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_link.cpp -DEP_CPP_DRV_L=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_link.obj" : $(SOURCE) $(DEP_CPP_DRV_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_main.cpp -DEP_CPP_DRV_M=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_main.obj" : $(SOURCE) $(DEP_CPP_DRV_M) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_preproc.cpp -DEP_CPP_DRV_P=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Process.h"\ - "..\..\ace/Process.i"\ - "..\..\ace/Process_Manager.h"\ - "..\..\ace/Process_Manager.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_preproc.obj" : $(SOURCE) $(DEP_CPP_DRV_P) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\driver\drv_private.cpp -DEP_CPP_DRV_PR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\drv_private.obj" : $(SOURCE) $(DEP_CPP_DRV_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_args.cpp -DEP_CPP_BE_AR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_args.obj" : $(SOURCE) $(DEP_CPP_BE_AR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_argument.cpp -DEP_CPP_BE_ARG=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_argument.obj" : $(SOURCE) $(DEP_CPP_BE_ARG) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_array.cpp -DEP_CPP_BE_ARR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_array.obj" : $(SOURCE) $(DEP_CPP_BE_ARR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_attribute.cpp -DEP_CPP_BE_AT=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_AT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_codegen.cpp -DEP_CPP_BE_CO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_codegen.obj" : $(SOURCE) $(DEP_CPP_BE_CO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_constant.cpp -DEP_CPP_BE_CON=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_constant.obj" : $(SOURCE) $(DEP_CPP_BE_CON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_decl.cpp -DEP_CPP_BE_DE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_decl.obj" : $(SOURCE) $(DEP_CPP_BE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_enum.cpp -DEP_CPP_BE_EN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_enum.obj" : $(SOURCE) $(DEP_CPP_BE_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_enum_val.cpp -DEP_CPP_BE_ENU=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_enum_val.obj" : $(SOURCE) $(DEP_CPP_BE_ENU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_exception.cpp -DEP_CPP_BE_EX=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_exception.obj" : $(SOURCE) $(DEP_CPP_BE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_expression.cpp -DEP_CPP_BE_EXP=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_expression.obj" : $(SOURCE) $(DEP_CPP_BE_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_factory.cpp -DEP_CPP_BE_FA=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_sunsoft.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_factory.obj" : $(SOURCE) $(DEP_CPP_BE_FA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_field.cpp -DEP_CPP_BE_FI=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_field.obj" : $(SOURCE) $(DEP_CPP_BE_FI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_generator.cpp -DEP_CPP_BE_GE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_generator.obj" : $(SOURCE) $(DEP_CPP_BE_GE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_helper.cpp -DEP_CPP_BE_HE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_helper.obj" : $(SOURCE) $(DEP_CPP_BE_HE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_init.cpp -DEP_CPP_BE_IN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_init.obj" : $(SOURCE) $(DEP_CPP_BE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_interface.cpp -DEP_CPP_BE_INT=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_interface.obj" : $(SOURCE) $(DEP_CPP_BE_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_interface_fwd.cpp -DEP_CPP_BE_INTE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_BE_INTE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_module.cpp -DEP_CPP_BE_MO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_module.obj" : $(SOURCE) $(DEP_CPP_BE_MO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_operation.cpp -DEP_CPP_BE_OP=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_operation.obj" : $(SOURCE) $(DEP_CPP_BE_OP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_predefined_type.cpp -DEP_CPP_BE_PR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_predefined_type.obj" : $(SOURCE) $(DEP_CPP_BE_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_produce.cpp -DEP_CPP_BE_PRO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_produce.obj" : $(SOURCE) $(DEP_CPP_BE_PRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_root.cpp -DEP_CPP_BE_RO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_root.obj" : $(SOURCE) $(DEP_CPP_BE_RO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_scope.cpp -DEP_CPP_BE_SC=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_scope.obj" : $(SOURCE) $(DEP_CPP_BE_SC) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_sequence.cpp -DEP_CPP_BE_SE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_SE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state.cpp -DEP_CPP_BE_ST=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state.obj" : $(SOURCE) $(DEP_CPP_BE_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_string.cpp -DEP_CPP_BE_STR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_string.obj" : $(SOURCE) $(DEP_CPP_BE_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_structure.cpp -DEP_CPP_BE_STRU=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STRU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_sunsoft.cpp -DEP_CPP_BE_SU=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_sunsoft.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_sunsoft.obj" : $(SOURCE) $(DEP_CPP_BE_SU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_type.cpp -DEP_CPP_BE_TY=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_type.obj" : $(SOURCE) $(DEP_CPP_BE_TY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_typedef.cpp -DEP_CPP_BE_TYP=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_TYP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_union.cpp -DEP_CPP_BE_UN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_union.obj" : $(SOURCE) $(DEP_CPP_BE_UN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_union_branch.cpp -DEP_CPP_BE_UNI=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_union_branch.obj" : $(SOURCE) $(DEP_CPP_BE_UNI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_union_label.cpp -DEP_CPP_BE_UNIO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_union_label.obj" : $(SOURCE) $(DEP_CPP_BE_UNIO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_argument.cpp -DEP_CPP_AST_A=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_argument.obj" : $(SOURCE) $(DEP_CPP_AST_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_array.cpp -DEP_CPP_AST_AR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_array.obj" : $(SOURCE) $(DEP_CPP_AST_AR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_attribute.cpp -DEP_CPP_AST_AT=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_attribute.obj" : $(SOURCE) $(DEP_CPP_AST_AT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_check.cpp -DEP_CPP_AST_C=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_check.obj" : $(SOURCE) $(DEP_CPP_AST_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_concrete_type.cpp -DEP_CPP_AST_CO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_concrete_type.obj" : $(SOURCE) $(DEP_CPP_AST_CO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_constant.cpp -DEP_CPP_AST_CON=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_constant.obj" : $(SOURCE) $(DEP_CPP_AST_CON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_decl.cpp -DEP_CPP_AST_D=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_decl.obj" : $(SOURCE) $(DEP_CPP_AST_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_enum.cpp -DEP_CPP_AST_E=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_enum.obj" : $(SOURCE) $(DEP_CPP_AST_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_enum_val.cpp -DEP_CPP_AST_EN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_enum_val.obj" : $(SOURCE) $(DEP_CPP_AST_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_exception.cpp -DEP_CPP_AST_EX=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_exception.obj" : $(SOURCE) $(DEP_CPP_AST_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_expression.cpp -DEP_CPP_AST_EXP=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_expression.obj" : $(SOURCE) $(DEP_CPP_AST_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_field.cpp -DEP_CPP_AST_F=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_field.obj" : $(SOURCE) $(DEP_CPP_AST_F) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_generator.cpp -DEP_CPP_AST_G=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_generator.obj" : $(SOURCE) $(DEP_CPP_AST_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_interface.cpp -DEP_CPP_AST_I=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_interface.obj" : $(SOURCE) $(DEP_CPP_AST_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_interface_fwd.cpp -DEP_CPP_AST_IN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_AST_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_module.cpp -DEP_CPP_AST_M=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_module.obj" : $(SOURCE) $(DEP_CPP_AST_M) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_operation.cpp -DEP_CPP_AST_O=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_operation.obj" : $(SOURCE) $(DEP_CPP_AST_O) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_predefined_type.cpp -DEP_CPP_AST_P=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_predefined_type.obj" : $(SOURCE) $(DEP_CPP_AST_P) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_recursive.cpp -DEP_CPP_AST_R=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_recursive.obj" : $(SOURCE) $(DEP_CPP_AST_R) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_redef.cpp -DEP_CPP_AST_RE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_redef.obj" : $(SOURCE) $(DEP_CPP_AST_RE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_root.cpp -DEP_CPP_AST_RO=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_root.obj" : $(SOURCE) $(DEP_CPP_AST_RO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_sequence.cpp -DEP_CPP_AST_S=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_sequence.obj" : $(SOURCE) $(DEP_CPP_AST_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_string.cpp -DEP_CPP_AST_ST=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_string.obj" : $(SOURCE) $(DEP_CPP_AST_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_structure.cpp -DEP_CPP_AST_STR=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_structure.obj" : $(SOURCE) $(DEP_CPP_AST_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_type.cpp -DEP_CPP_AST_T=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_type.obj" : $(SOURCE) $(DEP_CPP_AST_T) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_typedef.cpp -DEP_CPP_AST_TY=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_typedef.obj" : $(SOURCE) $(DEP_CPP_AST_TY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_union.cpp -DEP_CPP_AST_U=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_union.obj" : $(SOURCE) $(DEP_CPP_AST_U) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_union_branch.cpp -DEP_CPP_AST_UN=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_union_branch.obj" : $(SOURCE) $(DEP_CPP_AST_UN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ast\ast_union_label.cpp -DEP_CPP_AST_UNI=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\ast_union_label.obj" : $(SOURCE) $(DEP_CPP_AST_UNI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_union.cpp -DEP_CPP_BE_STA=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_union.obj" : $(SOURCE) $(DEP_CPP_BE_STA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_array.cpp -DEP_CPP_BE_STAT=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_array.obj" : $(SOURCE) $(DEP_CPP_BE_STAT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_attribute.cpp -DEP_CPP_BE_STATE=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_STATE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_operation.cpp -DEP_CPP_BE_STATE_=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_operation.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_sequence.cpp -DEP_CPP_BE_STATE_S=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_structure.cpp -DEP_CPP_BE_STATE_ST=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_ST)\ - "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_typedef.cpp -DEP_CPP_BE_STATE_T=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_T) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\be\be_state_argument.cpp -DEP_CPP_BE_STATE_A=\ - "..\..\ace/ACE.h"\ - "..\..\ace/ACE.i"\ - "..\..\ace/Atomic_Op.i"\ - "..\..\ace/Auto_Ptr.cpp"\ - "..\..\ace/Auto_Ptr.h"\ - "..\..\ace/Auto_Ptr.i"\ - "..\..\ace/config-win32-common.h"\ - "..\..\ace/config-win32.h"\ - "..\..\ace/config.h"\ - "..\..\ace/Event_Handler.h"\ - "..\..\ace/Event_Handler.i"\ - "..\..\ace/Log_Msg.h"\ - "..\..\ace/Log_Priority.h"\ - "..\..\ace/Log_Record.h"\ - "..\..\ace/Log_Record.i"\ - "..\..\ace/Managed_Object.cpp"\ - "..\..\ace/Managed_Object.h"\ - "..\..\ace/Managed_Object.i"\ - "..\..\ace/Object_Manager.h"\ - "..\..\ace/Object_Manager.i"\ - "..\..\ace/OS.h"\ - "..\..\ace/OS.i"\ - "..\..\ace/Singleton.cpp"\ - "..\..\ace/Singleton.h"\ - "..\..\ace/Singleton.i"\ - "..\..\ace/SString.h"\ - "..\..\ace/SString.i"\ - "..\..\ace/stdcpp.h"\ - "..\..\ace/SV_Semaphore_Complex.h"\ - "..\..\ace/SV_Semaphore_Complex.i"\ - "..\..\ace/SV_Semaphore_Simple.h"\ - "..\..\ace/SV_Semaphore_Simple.i"\ - "..\..\ace/Synch.h"\ - "..\..\ace/Synch.i"\ - "..\..\ace/Synch_T.cpp"\ - "..\..\ace/Synch_T.h"\ - "..\..\ace/Synch_T.i"\ - "..\..\ace/Thread.h"\ - "..\..\ace/Thread.i"\ - "..\..\ace/Trace.h"\ - "..\..\ace/Version.h"\ - "..\..\ace/ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\be_state_argument.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/TAO/TAO_IDL/TAO_IDL4.mdp b/TAO/TAO_IDL/TAO_IDL4.mdp deleted file mode 100644 index 30167b40695..00000000000 Binary files a/TAO/TAO_IDL/TAO_IDL4.mdp and /dev/null differ diff --git a/TAO/TAO_IDL/VCAUTO.MAK b/TAO/TAO_IDL/VCAUTO.MAK deleted file mode 100644 index 3aa0d8e38b9..00000000000 --- a/TAO/TAO_IDL/VCAUTO.MAK +++ /dev/null @@ -1,5 +0,0 @@ -# TAO/TAO_IDL/ - -MAK_LIST = tao_idl - -!INCLUDE <$(ACE_ROOT)\include\makeinclude\VC50_DIR.MAK> diff --git a/TAO/TAO_IDL/ast/Makefile b/TAO/TAO_IDL/ast/Makefile deleted file mode 100644 index 9cc6c17fb69..00000000000 --- a/TAO/TAO_IDL/ast/Makefile +++ /dev/null @@ -1,1376 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libast -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libast -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -AST_FILES = \ - ast_array \ - ast_argument \ - ast_attribute \ - ast_check \ - ast_concrete_type \ - ast_constant \ - ast_decl \ - ast_enum \ - ast_enum_val \ - ast_exception \ - ast_expression \ - ast_field \ - ast_interface \ - ast_interface_fwd \ - ast_module \ - ast_native \ - ast_operation \ - ast_predefined_type \ - ast_root \ - ast_sequence \ - ast_string \ - ast_structure \ - ast_type \ - ast_typedef \ - ast_union \ - ast_union_branch \ - ast_union_label \ - ast_generator \ - ast_redef \ - ast_recursive - -FILES = $(AST_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# 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 targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/ast_array.o .obj/ast_array.so .shobj/ast_array.o .shobj/ast_array.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/ast/ast_argument.cpp b/TAO/TAO_IDL/ast/ast_argument.cpp deleted file mode 100644 index 3e1b2e34cd0..00000000000 --- a/TAO/TAO_IDL/ast/ast_argument.cpp +++ /dev/null @@ -1,152 +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. - - */ - -/* - * 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" - -/* - * Static functions - */ - -/* - * Convert an enum Direction value to a char * - */ -static 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 6a273498668..00000000000 --- a/TAO/TAO_IDL/ast/ast_array.cpp +++ /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. - - */ - -/* - * 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" - -/* - * 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 57019823810..00000000000 --- a/TAO/TAO_IDL/ast/ast_attribute.cpp +++ /dev/null @@ -1,132 +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. - - */ - -/* - * 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" - -/* - * 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 a8e3677cceb..00000000000 --- a/TAO/TAO_IDL/ast/ast_check.cpp +++ /dev/null @@ -1,138 +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. - - */ - -/* - * 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" - -/* - * 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 44f010e19df..00000000000 --- a/TAO/TAO_IDL/ast/ast_concrete_type.cpp +++ /dev/null @@ -1,104 +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. - - */ - -/* - * 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" - -/* - * 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 d17bd242159..00000000000 --- a/TAO/TAO_IDL/ast/ast_constant.cpp +++ /dev/null @@ -1,210 +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. - - */ - -/* - * 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" - -/* - * Static functions - */ - -/* - * Convert a value from the enum AST_Expression::ExprType to a char * - */ -static 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_wstring: - case AST_Expression::EV_wchar: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longlong: - 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 b7d376a3576..00000000000 --- a/TAO/TAO_IDL/ast/ast_decl.cpp +++ /dev/null @@ -1,312 +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. - - */ - -/* - * 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" - -/* - * 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_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); -} - -/* - * 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; -} - -String * -AST_Decl::file_name() -{ - return pd_file_name; -} - -void -AST_Decl::set_file_name(String *s) -{ - pd_file_name = s; -} - -UTL_ScopedName * -AST_Decl::name() -{ - return pd_name; -} - -void -AST_Decl::set_name(UTL_ScopedName *n) -{ - pd_name = n; - if (n != NULL) - pd_local_name = n->last_component(); -} - -Identifier * -AST_Decl::local_name() -{ - return pd_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 e77fdece3cd..00000000000 --- a/TAO/TAO_IDL/ast/ast_enum.cpp +++ /dev/null @@ -1,253 +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. - - */ - -/* - * 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" - -/* - * 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 e8b263d1b2b..00000000000 --- a/TAO/TAO_IDL/ast/ast_enum_val.cpp +++ /dev/null @@ -1,117 +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. - - */ - -/* - * 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" - -/* - * 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 a465674521d..00000000000 --- a/TAO/TAO_IDL/ast/ast_exception.cpp +++ /dev/null @@ -1,304 +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. - - */ - -/* - * 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" - -/* - * 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 fd9d03fabbd..00000000000 --- a/TAO/TAO_IDL/ast/ast_expression.cpp +++ /dev/null @@ -1,1597 +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. - - */ - -/* * 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" - -#include -#include - -#undef MAXCHAR -#define MAXCHAR 128 - -// 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; -} - -/* - * 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(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) SHRT_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) SHRT_MAX || ev->u.lval < (long) -(SHRT_MAX)) - 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) SHRT_MAX) - return NULL; - ev->u.sval = (short) ev->u.ulval; - ev->et = AST_Expression::EV_short; - return ev; - 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) SHRT_MAX || ev->u.fval < (float) -(SHRT_MAX)) - 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) SHRT_MAX || ev->u.dval < (double) -(SHRT_MAX)) - 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_octet: - ev->u.sval = (short) ev->u.oval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - 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) (SHRT_MAX << 1) || 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) (SHRT_MAX << 1)) - return NULL; - ev->u.usval = (unsigned short) ev->u.ulval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_bool: - ev->u.usval = (unsigned short) ev->u.bval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 || ev->u.fval > (float) (SHRT_MAX << 1)) - return NULL; - ev->u.usval = (unsigned short) ev->u.fval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 || ev->u.dval > (double) (SHRT_MAX << 1)) - return NULL; - ev->u.usval = (unsigned short) ev->u.dval; - ev->et = AST_Expression::EV_short; - 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_octet: - ev->u.usval = (unsigned short) ev->u.oval; - ev->et = AST_Expression::EV_ushort; - return ev; - 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: - 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) LONG_MAX) - return NULL; - ev->u.lval = (long) ev->u.ulval; - ev->et = AST_Expression::EV_long; - return ev; - 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) -(LONG_MAX)) - 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) -(LONG_MAX)) - 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_octet: - ev->u.lval = (long) ev->u.oval; - ev->et = AST_Expression::EV_long; - return ev; - 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: - 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_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) LONG_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) LONG_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_octet: - ev->u.ulval = (unsigned long) ev->u.oval; - ev->et = AST_Expression::EV_ulong; - return ev; - 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: - 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_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_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_octet: - ev->u.bval = (ev->u.oval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - 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: - 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_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 > FLT_MAX || ev->u.dval < -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_octet: - ev->u.fval = (float) ev->u.oval; - ev->et = AST_Expression::EV_float; - return ev; - 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: - 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_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_octet: - ev->u.dval = (double) ev->u.oval; - ev->et = AST_Expression::EV_double; - return ev; - 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: - 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) MAXCHAR || ev->u.sval < (short) -(MAXCHAR)) - 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) MAXCHAR) - 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) MAXCHAR || ev->u.lval < (long) -(MAXCHAR)) - 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) MAXCHAR) - return NULL; - ev->u.cval = (char) ev->u.ulval; - ev->et = AST_Expression::EV_char; - return ev; - 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) MAXCHAR || ev->u.fval < (float) -(MAXCHAR)) - 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) MAXCHAR || ev->u.dval < (double) -(MAXCHAR)) - 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_octet: - if (ev->u.oval > (unsigned char) MAXCHAR) - return NULL; - ev->u.cval = (char) ev->u.oval; - ev->et = AST_Expression::EV_char; - return ev; - 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: - 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) (MAXCHAR << 1)) - 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) (MAXCHAR << 1)) - 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) (MAXCHAR << 1)) - 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) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.ulval; - ev->et = AST_Expression::EV_octet; - return ev; - 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) (MAXCHAR << 1)) - 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) (MAXCHAR << 1)) - 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_octet: - return ev; - 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: - 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_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; -} - -/* - * 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; - pd_v1->set_ev(pd_v1->coerce(EV_double)); - if (pd_v1->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_double; - - switch (pd_ec) { - case EC_u_plus: - retval->u.lval = pd_v1->ev()->u.lval; - break; - case EC_u_minus: - retval->u.lval = -(pd_v1->ev()->u.lval); - break; - case EC_bit_neg: - pd_v1->set_ev(pd_v1->coerce(EV_long)); - if (pd_v1->ev() == NULL) - return NULL; - retval->u.lval = ~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_longlong: - case EV_ulonglong: - case EV_longdouble: - case EV_wchar: - 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_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_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_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: - case EV_ulonglong: - case EV_longdouble: - case EV_wchar: - 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_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: - case EV_ulonglong: - case EV_longdouble: - case EV_wchar: - 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, 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, 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_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: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - 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; -} - -String * -AST_Expression::file_name() -{ - return pd_file_name; -} - -void -AST_Expression::set_file_name(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 44912c1d03b..00000000000 --- a/TAO/TAO_IDL/ast/ast_field.cpp +++ /dev/null @@ -1,151 +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. - - */ - -/* - * 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" - -/* - * Constructor(s) and destructor - */ - -/* - * Default constructor - */ -AST_Field::AST_Field() - : pd_field_type(NULL) -{ -} - -/* - * To be used when constructing an AST_Field node - */ -AST_Field::AST_Field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_field, n, p), - pd_field_type(ft) -{ -} - -/* - * 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) - : AST_Decl(nt, n, p), - pd_field_type(ft) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Field node to the ostream o - */ -void -AST_Field::dump(ostream &o) -{ - pd_field_type->local_name()->dump(o); - o << " "; - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Type * -AST_Field::field_type() -{ - return pd_field_type; -} - -/* - * 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 1725bf5cf3d..00000000000 --- a/TAO/TAO_IDL/ast/ast_generator.cpp +++ /dev/null @@ -1,420 +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" - -/* - * 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(n, p); -} - -/* - * 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) -{ - return new AST_Field(ft, n, p); -} - -/* - * 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(AST_UnionLabel *lab, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_UnionBranch(lab, 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(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) -{ -#if defined (ACE_HAS_WCHAR_TYPEDEFS_CHAR) - typedef short WChar; -#else /* ! ACE_HAS_WCHAR_TYPEDEFS_CHAR */ - typedef wchar_t WChar; -#endif /* ! ACE_HAS_WCHAR_TYPEDEFS_CHAR */ - - return new AST_String(ms, sizeof(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 e0d1ecbc3de..00000000000 --- a/TAO/TAO_IDL/ast/ast_interface.cpp +++ /dev/null @@ -1,603 +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. - - */ - -/* - * 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" - -/* - * 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 - */ - - -/* - * 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 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; - - 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 << "}"; -} - -/* - * Data accessors - */ - -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; -} - -/* - * 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 1382fb91468..00000000000 --- a/TAO/TAO_IDL/ast/ast_interface_fwd.cpp +++ /dev/null @@ -1,145 +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. - - */ - -/* - * 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" - -/* - * Constructor(s) and destructor - */ -AST_InterfaceFwd::AST_InterfaceFwd() - : pd_full_definition(NULL) -{ -} - -AST_InterfaceFwd::AST_InterfaceFwd(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 = 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 - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_InterfaceFwd node to the ostream o - */ -void -AST_InterfaceFwd::dump(ostream &o) -{ - 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 52d1219a315..00000000000 --- a/TAO/TAO_IDL/ast/ast_module.cpp +++ /dev/null @@ -1,590 +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. - - */ - -/* - * 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" - -/* - * 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) -{ -} - -/* - * 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 (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_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; - - i->set_full_definition(itf); - 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 << "}"; -} - -/* - * 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 22d72392381..00000000000 --- a/TAO/TAO_IDL/ast/ast_native.cpp +++ /dev/null @@ -1,31 +0,0 @@ - -// AST_Native: New IDL type added by the POA spec - -#include "idl.h" -#include "idl_extern.h" - -/* - * 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 c0371591258..00000000000 --- a/TAO/TAO_IDL/ast/ast_operation.cpp +++ /dev/null @@ -1,328 +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" - -/* - * 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 (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; - 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 3e0d868bdce..00000000000 --- a/TAO/TAO_IDL/ast/ast_predefined_type.cpp +++ /dev/null @@ -1,128 +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. - - */ - -/* - * 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" - -/* - * 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 6a904999b63..00000000000 --- a/TAO/TAO_IDL/ast/ast_recursive.cpp +++ /dev/null @@ -1,165 +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. - - */ - -/* - * 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" - -/* - * 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 6567e90ebbf..00000000000 --- a/TAO/TAO_IDL/ast/ast_redef.cpp +++ /dev/null @@ -1,106 +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. - - */ - -/* - * ast_redef.cc - Implement utility function to decide when redefinition - * is allowed - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * 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 2af71a474b5..00000000000 --- a/TAO/TAO_IDL/ast/ast_root.cpp +++ /dev/null @@ -1,164 +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. - - */ - -/* - * 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" - -/* - * 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 276cc31a137..00000000000 --- a/TAO/TAO_IDL/ast/ast_sequence.cpp +++ /dev/null @@ -1,143 +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" - -/* - * 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 e6a502d7604..00000000000 --- a/TAO/TAO_IDL/ast/ast_string.cpp +++ /dev/null @@ -1,153 +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" - -/* - * 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 e821569c05d..00000000000 --- a/TAO/TAO_IDL/ast/ast_structure.cpp +++ /dev/null @@ -1,309 +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. - - */ - -/* - * 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" - -/* - * 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 fb9b83ae219..00000000000 --- a/TAO/TAO_IDL/ast/ast_type.cpp +++ /dev/null @@ -1,103 +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. - - */ - -/* - * 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" - -/* - * 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 ecd4f28de46..00000000000 --- a/TAO/TAO_IDL/ast/ast_typedef.cpp +++ /dev/null @@ -1,129 +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. - - */ - -/* - * 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" - -/* - * 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 b5bb4c14f2d..00000000000 --- a/TAO/TAO_IDL/ast/ast_union.cpp +++ /dev/null @@ -1,553 +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. - - */ - -/* - * 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" - -/* - * 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 55220d7c29f..00000000000 --- a/TAO/TAO_IDL/ast/ast_union_branch.cpp +++ /dev/null @@ -1,129 +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. - - */ - -/* - * 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" - -/* - * Constructor(s) and destructor - */ -AST_UnionBranch::AST_UnionBranch() - : pd_label(NULL) -{ -} - -AST_UnionBranch::AST_UnionBranch(AST_UnionLabel *fl, 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_label(fl) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_UnionBranch node to the ostream o - */ -void -AST_UnionBranch::dump(ostream &o) -{ - o << "case "; - pd_label->dump(o); - o << ": "; - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -AST_UnionLabel * -AST_UnionBranch::label() -{ - return pd_label; -} - -// 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 18b080d323c..00000000000 --- a/TAO/TAO_IDL/ast/ast_union_label.cpp +++ /dev/null @@ -1,133 +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. - - */ - -/* - * 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" - -/* - * 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 b/TAO/TAO_IDL/be/Makefile deleted file mode 100644 index ae2e334725d..00000000000 --- a/TAO/TAO_IDL/be/Makefile +++ /dev/null @@ -1,5005 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libbe -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libbe -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -BE_FILES = \ - be_array \ - be_argument \ - be_attribute \ - be_constant \ - be_enum \ - be_enum_val \ - be_exception \ - be_expression \ - be_field \ - be_interface \ - be_interface_fwd \ - be_module \ - be_native \ - be_operation \ - be_predefined_type \ - be_root \ - be_sequence \ - be_string \ - be_structure \ - be_type \ - be_typedef \ - be_union \ - be_union_branch \ - be_union_label \ - be_generator \ - be_init \ - be_produce \ - be_args \ - be_helper \ - be_state \ - be_state_array \ - be_state_argument \ - be_state_attribute \ - be_state_exception \ - be_state_operation \ - be_state_sequence \ - be_state_structure \ - be_state_typedef \ - be_state_union \ - be_codegen \ - be_factory \ - be_sunsoft \ - be_decl \ - be_scope \ - be_visitor \ - be_visitor_args \ - be_visitor_attribute \ - be_visitor_constant \ - be_visitor_context \ - be_visitor_decl \ - be_visitor_enum \ - be_visitor_exception \ - be_visitor_field \ - be_visitor_interface \ - be_visitor_interface_fwd \ - be_visitor_module \ - be_visitor_operation \ - be_visitor_root \ - be_visitor_scope \ - be_visitor_sequence \ - be_visitor_structure \ - be_visitor_typedef \ - be_visitor_union \ - be_visitor_union_branch \ - be_interpretive - -FILES = $(BE_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - -#---------------------------------------------------------------------------- -# 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 targets (and local hacks) -#---------------------------------------------------------------------------- - -ifeq ($(CXX),g++) -CCFLAGS += -Wno-switch -PIC = -fPIC -endif - -CPPFLAGS += -I../include -I../be_include -I. -DCPP_LOCATION=\"$(CXX)\" \ - -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/be_array.o .obj/be_array.so .shobj/be_array.o .shobj/be_array.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_argument.o .obj/be_argument.so .shobj/be_argument.o .shobj/be_argument.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_attribute.o .obj/be_attribute.so .shobj/be_attribute.o .shobj/be_attribute.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_constant.o .obj/be_constant.so .shobj/be_constant.o .shobj/be_constant.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_enum.o .obj/be_enum.so .shobj/be_enum.o .shobj/be_enum.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_exception.o .obj/be_exception.so .shobj/be_exception.o .shobj/be_exception.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_expression.o .obj/be_expression.so .shobj/be_expression.o .shobj/be_expression.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_field.o .obj/be_field.so .shobj/be_field.o .shobj/be_field.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_interface.o .obj/be_interface.so .shobj/be_interface.o .shobj/be_interface.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_module.o .obj/be_module.so .shobj/be_module.o .shobj/be_module.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_native.o .obj/be_native.so .shobj/be_native.o .shobj/be_native.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_operation.o .obj/be_operation.so .shobj/be_operation.o .shobj/be_operation.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_root.o .obj/be_root.so .shobj/be_root.o .shobj/be_root.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_sequence.o .obj/be_sequence.so .shobj/be_sequence.o .shobj/be_sequence.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h \ - ../be_include/be_visitor_sequence.h ../be_include/be_visitor_decl.h -.obj/be_string.o .obj/be_string.so .shobj/be_string.o .shobj/be_string.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_structure.o .obj/be_structure.so .shobj/be_structure.o .shobj/be_structure.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_type.o .obj/be_type.so .shobj/be_type.o .shobj/be_type.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_typedef.o .obj/be_typedef.so .shobj/be_typedef.o .shobj/be_typedef.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_union.o .obj/be_union.so .shobj/be_union.o .shobj/be_union.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_generator.o .obj/be_generator.so .shobj/be_generator.o .shobj/be_generator.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_init.o .obj/be_init.so .shobj/be_init.o .shobj/be_init.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_produce.o .obj/be_produce.so .shobj/be_produce.o .shobj/be_produce.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h ../be_include/be_interpretive.h -.obj/be_args.o .obj/be_args.so .shobj/be_args.o .shobj/be_args.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_helper.o .obj/be_helper.so .shobj/be_helper.o .shobj/be_helper.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state.o .obj/be_state.so .shobj/be_state.o .shobj/be_state.so: be_state.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_array.o .obj/be_state_array.so .shobj/be_state_array.o .shobj/be_state_array.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_argument.o .obj/be_state_argument.so .shobj/be_state_argument.o .shobj/be_state_argument.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_attribute.o .obj/be_state_attribute.so .shobj/be_state_attribute.o .shobj/be_state_attribute.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_exception.o .obj/be_state_exception.so .shobj/be_state_exception.o .shobj/be_state_exception.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_operation.o .obj/be_state_operation.so .shobj/be_state_operation.o .shobj/be_state_operation.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_sequence.o .obj/be_state_sequence.so .shobj/be_state_sequence.o .shobj/be_state_sequence.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_structure.o .obj/be_state_structure.so .shobj/be_state_structure.o .shobj/be_state_structure.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_typedef.o .obj/be_state_typedef.so .shobj/be_state_typedef.o .shobj/be_state_typedef.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_state_union.o .obj/be_state_union.so .shobj/be_state_union.o .shobj/be_state_union.so: be_state_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_codegen.o .obj/be_codegen.so .shobj/be_codegen.o .shobj/be_codegen.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_factory.o .obj/be_factory.so .shobj/be_factory.o .shobj/be_factory.so: be_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h ../be_include/be_sunsoft.h -.obj/be_sunsoft.o .obj/be_sunsoft.so .shobj/be_sunsoft.o .shobj/be_sunsoft.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_scope.o .obj/be_scope.so .shobj/be_scope.o .shobj/be_scope.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_visitor.o .obj/be_visitor.so .shobj/be_visitor.o .shobj/be_visitor.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h -.obj/be_visitor_args.o .obj/be_visitor_args.so .shobj/be_visitor_args.o .shobj/be_visitor_args.so: be_visitor_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h ../be_include/be_visitor_args.h \ - ../be_include/be_visitor_decl.h -.obj/be_visitor_constant.o .obj/be_visitor_constant.so .shobj/be_visitor_constant.o .shobj/be_visitor_constant.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_context.o .obj/be_visitor_context.so .shobj/be_visitor_context.o .shobj/be_visitor_context.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_field.o .obj/be_visitor_field.so .shobj/be_visitor_field.o .shobj/be_visitor_field.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h ../be_include/be_visitor_field.h \ - ../be_include/be_visitor_decl.h -.obj/be_visitor_interface.o .obj/be_visitor_interface.so .shobj/be_visitor_interface.o .shobj/be_visitor_interface.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_module.o .obj/be_visitor_module.so .shobj/be_visitor_module.o .shobj/be_visitor_module.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_operation.o .obj/be_visitor_operation.so .shobj/be_visitor_operation.o .shobj/be_visitor_operation.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_root.o .obj/be_visitor_root.so .shobj/be_visitor_root.o .shobj/be_visitor_root.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_scope.o .obj/be_visitor_scope.so .shobj/be_visitor_scope.o .shobj/be_visitor_scope.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h \ - ../be_include/be_visitor_sequence.h ../be_include/be_visitor_decl.h -.obj/be_visitor_structure.o .obj/be_visitor_structure.so .shobj/be_visitor_structure.o .shobj/be_visitor_structure.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_typedef.o .obj/be_visitor_typedef.so .shobj/be_visitor_typedef.o .shobj/be_visitor_typedef.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.obj/be_visitor_union.o .obj/be_visitor_union.so .shobj/be_visitor_union.o .shobj/be_visitor_union.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.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 -.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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h \ - ../be_include/be_visitor_union_branch.h \ - ../be_include/be_visitor_decl.h -.obj/be_interpretive.o .obj/be_interpretive.so .shobj/be_interpretive.o .shobj/be_interpretive.so: be_interpretive.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.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_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_state.h ../be_include/be_codegen.h \ - ../be_include/be_factory.h ../be_include/be_visitor.h \ - ../be_include/be_visitor_context.h ../be_include/be_interpretive.h \ - ../be_include/be_visitor_args.h ../be_include/be_visitor_decl.h \ - ../be_include/be_visitor_constant.h ../be_include/be_visitor_scope.h \ - ../be_include/be_visitor_enum.h ../be_include/be_visitor_field.h \ - ../be_include/be_visitor_interface.h \ - ../be_include/be_visitor_interface_fwd.h \ - ../be_include/be_visitor_module.h \ - ../be_include/be_visitor_operation.h ../be_include/be_visitor_root.h \ - ../be_include/be_visitor_sequence.h \ - ../be_include/be_visitor_structure.h \ - ../be_include/be_visitor_typedef.h ../be_include/be_visitor_union.h \ - ../be_include/be_visitor_union_branch.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/be/be_args.cpp b/TAO/TAO_IDL/be/be_args.cpp deleted file mode 100644 index 6416609a684..00000000000 --- a/TAO/TAO_IDL/be/be_args.cpp +++ /dev/null @@ -1,105 +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. - - */ - -// be_args.cc - Collect command line arguments for the BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * 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="; - - 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 - { - 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 6b2fd6c167c..00000000000 --- a/TAO/TAO_IDL/be/be_argument.cpp +++ /dev/null @@ -1,158 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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) -{ -} - - -// All the methods here are very similar. The state is set by the be_operation -// method which then invokes its scope which inturn calls one of these methods -// with the state that was set. - - -int -be_argument::gen_client_header (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_client_header - " - "error generating type\n"), - -1); - } - return 0; -} - -int -be_argument::gen_client_stubs (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_client_stubs - " - "error generating type\n"), - -1); - } - return 0; -} - -int -be_argument::gen_server_header (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_server_header - " - "error generating type\n"), - -1); - } - return 0; -} - -int -be_argument::gen_server_skeletons (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_server_skeletons - " - "error generating type\n"), - -1); - } - return 0; -} - -// Generates the client-side inline information -int -be_argument::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_argument::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -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 347e3282b48..00000000000 --- a/TAO/TAO_IDL/be/be_array.cpp +++ /dev/null @@ -1,1533 +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" - -/* - * 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) -{ -#if 0 - // if we are inside of a union, we change our local name to have an - // underscore before us - AST_Decl *d = ScopeAsDecl (this->defined_in ()); - if (d && (d->node_type () == AST_Decl::NT_union)) - { - static char namebuf [200]; - UTL_ScopedName *myname; - - ACE_OS::memset (namebuf, '\0', 200); - - // make a copy of our parent's name - myname = (UTL_ScopedName *)d->name ()->copy (); - ACE_OS::sprintf (namebuf, "_%s", this->local_name ()->get_string ()); - myname->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, 0, - I_FALSE), NULL)); - this->set_name (myname); - } -#endif -} - -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; -} - -int -be_array::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - be_type *bt; // our base type - be_state *s; // state based code gen object - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ARRAY_DEFN_CH); // set current code gen state - - ch = cg->client_header (); // retrieve client hdr stream - -#if 0 - if (this->create_name () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "name creation failed\n"), - 0); - } -#endif - s = cg->make_state (); // get the state-based code generation object - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "Bad state\n"), - -1); - } - - // retrieve the base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "Bad type\n"), - -1); - } - - // generate the ifdefined macro for the array type - ch->gen_ifdef_macro (this->flatname ()); - - ch->indent (); // start from current indentation - // generate code for our base type if required and then print the type - // name - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - - // print our name - *ch << " " << this->local_name (); - // print our dimensions - if (this->gen_dimensions (ch) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "dimension codegen failed\n"), - -1); - } - - *ch << ";" << nl; - - // if our base type is VARIABLE length, then we are variable length too - this->size_type (bt->size_type ()); - cg->pop (); - - cg->push (TAO_CodeGen::TAO_ARRAY_OTHER_CH); // rest of the array defn - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "bad state\n"), - -1); - } - - // now generate the slice definition - *ch << "typedef "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - - *ch << " " << this->local_name () << "_slice"; - // print dimensions except first one - if (this->gen_dimensions (ch, 1) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "slice dimensions codegen failed\n"), - -1); - } - *ch << ";" << nl; - - // memory management functions - - // The T_alloc method - // first find if we are inside a scope - if (this->is_nested ()) // we were defined inside a scope. Hence the - // memory management functions become static - // members of the enclosing class - *ch << "static "; - - // the return type is a pointer to slice - *ch << this->local_name () << "_slice *" - << this->local_name () << "_alloc (void);" << nl; - // the T_dup method - if (this->is_nested ()) - *ch << "static "; - *ch << this->local_name () << "_slice *" << this->local_name () << - "_dup (const " << this->local_name () << "_slice *);" << nl; - // the T_free method - if (this->is_nested ()) - *ch << "static "; - *ch << "void " << this->local_name () << "_free (" << this->local_name () - << "_slice *);\n\n"; - - // Generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " - << this->tao_name () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tao_name () << ";\n\n"; - } - ch->gen_endif (); - - // generate the ifdefined macro - ch->gen_ifdef_macro (this->flatname (), "_var"); - // generate the _var, _out, and _forany definition - if (this->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "error generating _var class\n"), - -1); - } - ch->gen_endif (); - - // generate the ifdefined macro - ch->gen_ifdef_macro (this->flatname (), "_out"); - if (this->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "error generating _out class\n"), - -1); - } - ch->gen_endif (); - - // generate the ifdefined macro - ch->gen_ifdef_macro (this->flatname (), "_forany"); - if (this->gen_forany_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_header - " - "error generating _forany class\n"), - -1); - } - ch->gen_endif (); - - this->cli_hdr_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -int -be_array::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - unsigned long i; - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CS); // set current code gen state - - cs = cg->client_stubs (); - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" - << this->tao_name () << "[] =" << nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array:Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" - << this->tao_name () - << " (CORBA::tk_sequence, " - << "sizeof (_oc_" << this->tao_name () - << "), (char *) &_oc_" - << this->tao_name () - << ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " - << this->tao_name () << " = &_tc__tc_" - << this->tao_name () << ";\n\n"; - - cg->pop (); - this->cli_stub_gen_ = I_TRUE; - - // T_dup method - *cs << this->name () << "_slice *" << nl; - *cs << this->name () << "_dup (const " - << this->name () << "_slice * s)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << this->name () << "_slice *temp;" << nl; - *cs << "// alloc an array" << nl; - *cs << "temp = " << this->name () << "_alloc ();" << nl; - *cs << "// copy each individual elements" << nl; - // generate nested loops for as many dimensions as there are - 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::" - "gen_client_stubs - " - "bad array dimension\n"), - -1); - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - // generate a loop for each dimension - *cs << "for (CORBA::ULong i" << i << " = 0; i" << i << " < " << - expr->ev ()->u.ulval << "; i" << i << "++)\n"; - cs->incr_indent (); - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_stubs - " - "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 - *cs << "temp"; // generate the lvalue - for (i = 0; i < this->n_dims (); i++) - { - *cs << "[i" << i << "]"; - } - *cs << " = "; - *cs << "s"; // generate the rvalue - for (i = 0; i < this->n_dims (); i++) - { - *cs << "[i" << i << "]"; - } - *cs << ";\n"; - for (i = 0; i < this->n_dims (); i++) - { - // decrement indentation as many times as the number of dimensions - cs->decr_indent (0); - } - cs->indent (); - *cs << "return temp;\n"; - // one more to get to the outermost level - cs->decr_indent (); - *cs << "}\n\n"; - } - return 0; -} - -// Generates the client-side inline information -int -be_array::gen_client_inline (void) -{ - if (!this->cli_inline_gen_) - { - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - be_type *bt; // our base type - be_state *s; // state based code gen obj - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->push (TAO_CodeGen::TAO_ARRAY_DEFN_CI); - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_inline - " - "bad state\n"), - -1); - } - - // retrieve our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_inline - " - "bad base type\n"), - -1); - } - - // first define the _alloc, _dup and _free methods - // If we are defined inside some scope, these methods become static - // members of the enclosing scope - - // alloc method - ci->indent (); // start from current indentation - *ci << "ACE_INLINE " << this->name () << "_slice *" << nl; - *ci << this->name () << "_alloc (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return new "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_inline - " - "state based codegen failed\n"), - -1); - } - if (this->gen_dimensions (ci) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_array::" - "gen_client_inline - " - "dimensions codegen failed\n"), - -1); - } - - *ci << ";\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // free method - *ci << "ACE_INLINE void" << nl - << this->name () << "_free (" << this->name () - << "_slice *s)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete [] s;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // emit implementations of methods of the _var, _out, and _forany classes - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: _var impl code gen failed\n")); - return -1; - } - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: _out impl code gen failed\n")); - return -1; - } - if (this->gen_forany_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: _forany impl code gen failed\n")); - return -1; - } - - // generate client inline for base type - if (bt->gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: base type inline code gen failed\n")); - return -1; - } - - cg->pop (); - this->cli_inline_gen_ = I_TRUE; - } - - return 0; -} - -int -be_array::gen_server_header (void) -{ - return 0; -} - -int -be_array::gen_server_skeletons (void) -{ - return 0; -} - -int -be_array::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate the var defn -int -be_array::gen_var_defn (void) -{ - 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 from pointer to slice - *ch << namebuf << " (" << this->local_name () << "_slice *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer to slice - *ch << namebuf << " &operator= (" << this->local_name () << "_slice *);" << - nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - - // arrow operator - // nothing here - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - // overloaded [] operator - *ch << this->local_name () << "_slice &operator[] (CORBA::ULong index);" << - nl; - *ch << "const " << this->local_name () << - "_slice &operator[] (CORBA::ULong index) const;" << nl; - - // cast operators - *ch << "operator " << this->local_name () << "_slice * const &() const;" << - nl; - *ch << "operator " << this->local_name () << "_slice *&();" << nl; - - // in, inout, out and _retn - *ch << "// in, inout, out, _retn " << nl; - *ch << "const " << this->local_name () << "_slice *in (void) const;" << nl; - *ch << this->local_name () << "_slice *inout (void);" << nl; - *ch << this->local_name () << "_slice *&out (void);" << nl; - *ch << this->local_name () << "_slice *_retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << this->local_name () << "_slice *ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_slice *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_array::gen_var_impl (void) -{ - 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", this->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"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ ((" << this->name () << "_slice *)0)" << nl; - *ci << "{}\n\n"; - - // constr from a _slice * - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_slice *p)" << nl; - *ci << " : ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor (deep copy) - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "_dup (p.ptr_);\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 << this->name () << "_free (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_slice *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// is what we own the same that is being assigned to us?" << - nl; - *ci << "if (this->ptr_ != p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// delete our stuff and assume ownership of p" << nl; - *ci << this->name () << "_free (this->ptr_);" << nl; - *ci << "this->ptr_ = p;\n"; - ci->decr_indent (); - *ci << "}" << 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 << "// not assigning to ourselves" << nl; - *ci << this->name () << "_free (this->ptr_); // free old stuff" << nl; - *ci << "this->ptr_ = " << this->name () << - "_dup (p.ptr_);// deep copy\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operators () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "_slice * const &() 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 () << "_slice *&() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two operator []s instead of -> - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << "_slice *" << 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 " << this->name () << "_slice *" << 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 " << this->name () << "_slice * &" << 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 " << this->name () << "_slice *" << 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 " << this->name () << "_slice *" << 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_array::gen_out_defn (void) -{ - 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 to slice - *ch << namebuf << " (" << this->local_name () << "_slice *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << this->local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment from slice * - *ch << namebuf << " &operator= (" << this->local_name () << "_slice *);" << - nl; - // cast - *ch << "operator " << this->local_name () << "_slice *&();" << nl; - // ptr fn - *ch << this->local_name () << "_slice *&ptr (void);" << nl; - // operator [] instead of -> - *ch << this->local_name () << "_slice &operator[] (CORBA::ULong index);" << nl; - *ch << "const " << this->local_name () << "_slice &operator[] " << - "(CORBA::ULong index) const;" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_slice *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << this->local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_array::gen_out_impl (void) -{ - 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 out 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 to slice - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << "_slice *&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 << this->name () << "_free (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 << " (" << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 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 _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_slice *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 () << - "_slice *&() // 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 () << "_slice *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator [] instead of -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _var definition for ourself -int -be_array::gen_forany_defn (void) -{ - 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_forany", 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 from pointer to slice - *ch << namebuf << " (" << this->local_name () << "_slice *, " << - "CORBA::Boolean nocopy=0);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer to slice - *ch << namebuf << " &operator= (" << this->local_name () << "_slice *);" << - nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - - // arrow operator - // nothing here - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - // overloaded [] operator - *ch << this->local_name () << "_slice &operator[] (CORBA::ULong index);" << - nl; - *ch << "const " << this->local_name () << - "_slice &operator[] (CORBA::ULong index) const;" << nl; - - // cast operators - *ch << "operator " << this->local_name () << "_slice * const &() const;" << - nl; - *ch << "operator " << this->local_name () << "_slice *&();" << nl; - - // in, inout, out and _retn - *ch << "// in, inout, out, _retn " << nl; - *ch << "const " << this->local_name () << "_slice *in (void) const;" << nl; - *ch << this->local_name () << "_slice *inout (void);" << nl; - *ch << this->local_name () << "_slice *&out (void);" << nl; - *ch << this->local_name () << "_slice *_retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << this->local_name () << "_slice *ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << "friend CORBA::Any;" << nl; - *ch << this->local_name () << "_slice *ptr_;" << nl; - *ch << "CORBA::Boolean nocopy_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -int -be_array::gen_forany_impl (void) -{ - 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_forany", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_forany", this->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"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ ((" << this->name () << "_slice *)0)," << nl; - *ci << " nocopy_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a _slice * - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_slice *p, " << - "CORBA::Boolean nocopy)" << nl; - *ci << " : ptr_ (p)," << nl; - *ci << " nocopy_ (nocopy)" << nl; - *ci << "{}\n\n"; - - // copy constructor (deep copy) - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "_dup (p.ptr_);" << nl; - *ci << "this->nocopy_ = p.nocopy_;\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 << this->name () << "_free (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_slice *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// is what we own the same that is being assigned to us?" << - nl; - *ci << "if (this->ptr_ != p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// delete our stuff and assume ownership of p" << nl; - *ci << this->name () << "_free (this->ptr_);" << nl; - *ci << "this->ptr_ = p;\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _forany - 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 << "// not assigning to ourselves" << nl; - *ci << this->name () << "_free (this->ptr_); // free old stuff" << nl; - *ci << "this->ptr_ = " << this->name () << - "_dup (p.ptr_);// deep copy" << nl; - *ci << "this->nocopy_ = p.nocopy_;\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operators () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () - << "_slice * const &() 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 () << "_slice *&() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two operator []s instead of -> - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice const &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << "_slice *" << 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 " << this->name () << "_slice *" << 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 " << this->name () << "_slice * &" << 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 " << this->name () << "_slice *" << 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 " << this->name () << "_slice *" << 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; -} - -int -be_array::gen_typecode (void) -{ - 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_array, // typecode kind" << nl; - *cs << this->tc_size () << ", // 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_array::gen_encapsulation (void) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // base type - - os = cg->client_stubs (); - os->indent (); // start from the current indentation level - - // XXXASG - byte order must be based on what m/c we are generating code - - // TODO - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - - // emit typecode of element type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt || (bt->gen_typecode () == -1)) - { - ACE_ERROR ((LM_ERROR, "be_sequence::gen_typecode - bad base type\n")); - return -1; - } - - // emit the length - os->indent (); - // *os << this->max_size () << ",\n"; - return 0; -} - -// compute typecode size -long -be_array::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_array::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; // base type - - this->encap_len_ = 4; // holds the byte order flag - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, - "be_array::tc_encap_len - bad base type\n")); - return 0; - } - this->encap_len_ += bt->tc_size (); - this->encap_len_ += 4; // to hold the array size - - } - return this->encap_len_; -} - -// 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::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name () << "_slice *"; - 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 eb0a0325216..00000000000 --- a/TAO/TAO_IDL/be/be_attribute.cpp +++ /dev/null @@ -1,730 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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) -{ -} - -// Handling attributes is very similar to operations. Attributes are mapped to -// two methods - one to set the value and one to get the value. For a readonly -// attribute we only have the method that retrieves the value. For the "set" -// method we pass an in parameter which is of the type of the attribute. So the -// handling here is exactly like the "in" parameters for arguments. The -// handling of the "get" method is exactly like the return values of -// operations. - -int -be_attribute::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - be_type *bt; // type node - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ch = cg->client_header (); - - ch->indent (); // start with the current indentation level - - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_header - " - "bad type\n"), - -1); - } - - - // first the "get" method - - // the retrieve method is defined virtual - *ch << "virtual "; - - // first generate the return type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH); // we are now generating - // an attribute "get" - // definition with the - // return type first - - s = cg->make_state (); // retrieve state based object - - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_header - " - "return type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - - // generate the operation name - // additional argument in the form of CORBA::Environment since TAO does not - // yet support C++ style Exceptions. However, we can have an option to the - // "tao" IDL compiler to ask it to generate code for exceptions. This will be - // handled in a later release. - *ch << " " << this->local_name () << " (CORBA::Environment &env);\n"; - - // now the set method. However, this is not defined if we are readonly - if (!this->readonly ()) - { - ch->indent (); - *ch << "virtual void " << this->local_name () << "("; - - // we pass the type as an "in" parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH); - - s = cg->make_state (); // retrieve state based object - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_header - " - "in param type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - *ch << ", CORBA::Environment &env);\n"; - } - - return 0; -} - -int -be_attribute::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // state based code gen object - - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - // retrieve the type - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "bad type\n"), - -1); - } - - // first the retrieve method - cs->indent (); // start with current indentation level - - // generate the TAO_Param_Data table for the "get" method - *cs << "static const TAO_Param_Data _get_" << this->flatname () << - "_paramdata [] = " << nl; - *cs << "{\n"; - cs->incr_indent (); - - // entry for the return type - *cs << "{" << bt->tc_name () << ", PARAM_RETURN, "; - // Are we returning a pointer to value? i.e., is the type variable? If it is, - // we must tell the stub what is the size of the top level structure - be_type *prim; - if (bt->node_type () == AST_Decl::NT_typedef) - { - be_typedef *tdef = be_typedef::narrow_from_decl (bt); - prim = tdef->primitive_base_type (); - } - else - prim = bt; - if (prim->size_type () == be_decl::VARIABLE) - { - switch (prim->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_string: - case AST_Decl::NT_sequence: - case AST_Decl::NT_struct: - case AST_Decl::NT_union: - // no need of size here - *cs << "0}"; - break; - case AST_Decl::NT_pre_defined: - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl - (bt); - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - // no need of size here - *cs << "0}"; - else - *cs << "sizeof (" << bt->name () << ")}"; - } - break; - default: - *cs << "sizeof (" << bt->name () << ")}"; - } - } - else - *cs << "0}"; - cs->decr_indent (); - *cs << "};\n\n"; - - // now generate the calldata table - - cs->indent (); - *cs << "static const TAO_Call_Data _get_" << this->flatname () << "_calldata = " - << nl; - *cs << "{"; - // prepend a "_get_" - *cs << "\"_get_" << this->local_name () << "\", "; - *cs << "1, "; // always a twoway call - *cs << "1, "; // size is 1 - // insert the address of the paramdata table - *cs << "_get_" << this->flatname () << "_paramdata, "; - // XXXASG - Exception list goes here (if it exists) - TODO - *cs << "0, 0};\n\n"; - - // now generate the actual stub - - // first generate the return type - cs->indent (); - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS); // declare a return - // type of the stub - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "return type generation failure\n"), - -1); - } - cg->pop (); - - // generate the operation name - *cs << " " << this->name () << "(CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - - // declare a return type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "retval declaration failure\n"), - -1); - } - cg->pop (); - - // generate code that calls QueryInterface - *cs << "STUB_Object *istub;\n\n"; - cs->indent (); - *cs << "if (this->QueryInterface (IID_STUB_Object, " << - "(void **)&istub) != TAO_NOERROR)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" << - nl; - - // return the appropriate error value on exception - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "failure returning from exception\n"), - -1); - } - cg->pop (); - - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->Release (); // QueryInterface has bumped up our refcount" << nl; - - // call do_call with appropriate number of arguments - *cs << "istub->do_call (env, &_get_" << this->flatname () << - "_calldata"; - - if (bt->node_type () == AST_Decl::NT_typedef) - { - be_typedef *tdef = be_typedef::narrow_from_decl (bt); - prim = tdef->primitive_base_type (); - } - else - prim = bt; - - if (prim->size_type () == be_decl::VARIABLE) - { - switch (prim->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_string: - *cs << ", &retval"; - break; - case AST_Decl::NT_sequence: - case AST_Decl::NT_struct: - case AST_Decl::NT_union: - *cs << ", retval"; - break; - default: - *cs << ", &retval"; - } - } - else - *cs << ", &retval"; - - *cs << ");" << nl; - - // return the retval - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs\n" - "return val return generation failure\n"), - -1); - return -1; - } - cg->pop (); - - cs->decr_indent (0); - *cs << "\n}\n\n"; - - if (this->readonly ()) - return 0; // we were readonly, nothing else to do. - - // Now generate the stub for the "set" method - cs->indent (); // start with current indentation level - - // generate the TAO_Param_Data table for the "set" method - *cs << "static const TAO_Param_Data _set_" << this->flatname () << - "_paramdata [] = " << nl; - *cs << "{\n"; - cs->incr_indent (); - - // entry for the return type - *cs << "{CORBA::_tc_void, PARAM_RETURN, 0}," << nl; - *cs << "{" << bt->tc_name () << ", PARAM_IN, 0}\n"; - cs->decr_indent (); - *cs << "};\n\n"; - - // now generate the calldata table - - cs->indent (); - *cs << "static const TAO_Call_Data _set_" << this->flatname () << "_calldata = " - << nl; - *cs << "{"; - // prepend a "_set_" - *cs << "\"_set_" << this->local_name () << "\", "; - *cs << "1, "; // always a twoway call - *cs << "2, "; // size is 2 - // insert the address of the paramdata table - *cs << "_set_" << this->flatname () << "_paramdata, "; - // XXXASG - Exception list goes here (if it exists) - TODO - *cs << "0, 0};\n\n"; - - // now generate the actual stub - - cs->indent (); - *cs << "void " << this->name () << "("; - // generate the in parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure in argument generation in signature\n"), - -1); - } - cg->pop (); - - // last argument - is always CORBA::Environment - *cs << ", CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - - // generate code that calls QueryInterface - *cs << "STUB_Object *istub;\n\n"; - cs->indent (); - *cs << "if (this->QueryInterface (IID_STUB_Object, " << - "(void **)&istub) != TAO_NOERROR)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" << - nl; - *cs << "return;\n"; - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->Release (); // QueryInterface has bumped up our refcount" << nl; - - // do any pre do_call stuff with the lone IN parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_atribute::gen_client_stubs - " - "failure generating pre docall stuff\n"), - -1); - } - cg->pop (); - - // call do_call with appropriate number of arguments - *cs << "istub->do_call (env, &_set_" << this->flatname () << - "_calldata, 0"; // no return value - - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "in param in docall generation failure\n"), - -1); - return -1; - } - cg->pop (); - *cs << ");" << nl; - - // do any post do_call processing - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs\n" - "post docall generation failure\n"), - -1); - return -1; - } - cg->pop (); - - cs->decr_indent (0); - *cs << "\n}\n\n"; - - return 0; -} - -int -be_attribute::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - be_type *bt; // type node - be_state *s; // state based code generator object - TAO_NL nl; // newline generator - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - sh = cg->server_header (); - - // first retrieve the type - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_header - " - "bad type\n"), - -1); - } - - // first the "get" method - - sh->indent (); // start with the current indentation level - - // the retrieve method is defined pure virtual - *sh << "virtual "; - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH); // we are now generating - // an operation - // definition with the - // return type first - - s = cg->make_state (); // retrieve state based object - - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_header - " - "return type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - - *sh << " " << this->local_name () << " (CORBA::Environment &env) = 0;" << nl; - - // generate the static method corresponding to the method - *sh << "static void _get_" << this->local_name () << - "_skel (CORBA::ServerRequest &req, void *obj, " << - "void *context, CORBA::Environment &env);\n\n"; - - - // now the set method. However, this is not defined if we are readonly - if (this->readonly ()) - return 0; - - sh->indent (); - *sh << "virtual void " << this->local_name () << "("; - - // we pass the type as an "in" parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH); - - s = cg->make_state (); // retrieve state based object - - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_header - " - "in param type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - *sh << ", CORBA::Environment &env) = 0;" << nl; - - // generate the static method corresponding to the method - *sh << "static void _set_" << this->local_name () << - "_skel (CORBA::ServerRequest &req, void *obj, " << - "void *context, CORBA::Environment &env);\n\n"; - - - return 0; -} - -int -be_attribute::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // state based code gen object - be_interface *intf; // enclosing interface node - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ss = cg->server_skeletons (); - - ss->indent (); // start with the current indentation level - - // retrieve our type - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "bad type\n"), - -1); - } - - // retrieve our enclosing interface decl - intf = be_interface::narrow_from_decl (ScopeAsDecl (this->defined_in ())); - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "bad enclosing interface\n"), - -1); - } - - - // code generation - first the "get" method - *ss << "void " << intf->full_skel_name () << "::_get_" - << this->local_name () << "_skel (" - << "CORBA::ServerRequest &_tao_server_request, " - << "void *_tao_object_reference, void * /*context*/, " - << "CORBA::Environment &_tao_environment)" << nl; - *ss << "{\n"; - ss->incr_indent (); - // define a variable that will eventually point to our implementation object - *ss << intf->full_skel_name () << "_ptr impl = (" << intf->full_skel_name () - << "_ptr) _tao_object_reference;" << nl; - // store the result in this Any - *ss << "CORBA::Any *result;" << nl; - // emit the return type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS); // emit type for return - // value - // get a state based code gen object - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for return val decl failed\n"), - -1); - } - cg->pop (); - - ss->indent (); - *ss << "// this method has no incoming parameters. Nothing to parse" << nl; - - // make the upcall - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS); - s = cg->make_state (); - // emit code to assign to retval - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for return val assign failed\n"), - -1); - } - *ss << " = impl->" << this->local_name () << "(_tao_environment);" << nl; - cg->pop (); - - // insert our return val into the result - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for returning result failed\n"), - -1); - } - cg->pop (); - // insert the result into the server request - *ss << "_tao_server_request.result (result, _tao_environment);\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - if (this->readonly ()) - return 0; // nothing else to do as we are readonly - - // generate skeleton for the "set" method - - ss->indent (); - *ss << "void " << intf->full_skel_name () << "::_set_" - << this->local_name () << "_skel (" - << "CORBA::ServerRequest &_tao_server_request, " - << "void *_tao_object_reference, void * /*context*/, " - << "CORBA::Environment &_tao_environment)" << nl; - *ss << "{\n"; - ss->incr_indent (); - // define an NVList to hold the in argument - *ss << "CORBA::NVList_ptr nvlist;" << nl; - // define a variable that will eventually point to our implementation object - *ss << intf->full_skel_name () << "_ptr impl = (" << intf->full_skel_name - () << "_ptr)_tao_object_reference;" << nl; - - // declare an NVList and create one - ss->indent (); - *ss << "// create an NV list and populate it with typecodes" << nl; - *ss << "_tao_server_request.orb ()->create_list (1, nvlist); // initialize a list" << nl; - - // if we have any arguments, get each one of them and allocate an Any and - // NamedValue for each. In addition, define a variable of that type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for returning result failed\n"), - -1); - } - cg->pop (); - - *ss << "// parse the arguments" << nl; - *ss << "_tao_server_request.params (nvlist, _tao_environment);" << nl; - *ss << "if (_tao_environment.exception ()) return;" << nl; - - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "preupcall code failed\n"), - -1); - } - cg->pop (); - - // make the upcall - *ss << "impl->" << this->local_name () << "("; - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "upcall code failed\n"), - -1); - } - cg->pop (); - *ss << "_tao_environment);" << nl; - - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "post upcall code failed\n"), - -1); - } - cg->pop (); - - *ss << "\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - return 0; -} - -// Generates the client-side inline information -int -be_attribute::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_attribute::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -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 e613db990e8..00000000000 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ /dev/null @@ -1,567 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_codegen.cpp -// -// = DESCRIPTION -// -// Code generation -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -TAO_CodeGen *tao_cg = TAO_CODEGEN::instance (); - -static const int CHUNK = 100; - -/* BE global Data */ -TAO_CodeGen::TAO_CodeGen (void) - : client_header_ (0), - client_stubs_ (0), - client_inline_ (0), - server_header_ (0), - server_skeletons_ (0), - server_inline_ (0), - curr_os_ (0), - state_ (new TAO_CodeGen::CG_STATE [CHUNK]), - top_ (0), - size_ (CHUNK), - visitor_factory_ (0) -{ - // set the current code generation state - this->state_ [this->top_++] = TAO_CodeGen::TAO_INITIAL; -} - -// destructor -TAO_CodeGen::~TAO_CodeGen (void) -{ - delete this->client_header_; - delete this->server_header_; - delete this->client_stubs_; - delete this->server_skeletons_; - delete this->client_inline_; - delete this->server_inline_; - this->curr_os_ = 0; - delete [] this->state_; - delete this->visitor_factory_; -} - -// visitor factory method -be_visitor * -TAO_CodeGen::make_visitor (be_visitor_context *ctx) -{ - ACE_ASSERT (this->visitor_factory_ != 0); - return this->visitor_factory_->make_visitor (ctx); -} - -// factory method -be_state * -TAO_CodeGen::make_state (void) -{ - switch (this->state ()) - { - case TAO_STRUCT_CH: - case TAO_STRUCT_CS: - case TAO_STRUCT_CI: - return TAO_BE_STATE_STRUCT::instance (); - case TAO_UNION_DISCTYPEDEFN_CH: - return TAO_BE_STATE_UNION_DISCTYPEDEFN_CH::instance (); - case TAO_UNION_DISCTYPEDEFN_CI: - return TAO_BE_STATE_UNION_DISCTYPEDEFN_CI::instance (); - case TAO_UNION_PUBLIC_CH: - return TAO_BE_STATE_UNION_PUBLIC_CH::instance (); - case TAO_UNION_PUBLIC_CI: - return TAO_BE_STATE_UNION_PUBLIC_CI::instance (); - case TAO_UNION_PUBLIC_CS: - case TAO_UNION_PUBLIC_ASSIGN_CS: - return TAO_BE_STATE_UNION_PUBLIC_CS::instance (); - case TAO_UNION_PRIVATE_CH: - return TAO_BE_STATE_UNION_PRIVATE_CH::instance (); - case TAO_OPERATION_CH: - case TAO_OPERATION_RETURN_TYPE_CS: - case TAO_OPERATION_RETVAL_DECL_CS: - case TAO_OPERATION_RETVAL_EXCEPTION_CS: - case TAO_OPERATION_RETVAL_RETURN_CS: - case TAO_OPERATION_SH: - case TAO_OPERATION_RETVAL_DECL_SS: - case TAO_OPERATION_RETVAL_ASSIGN_SS: - case TAO_OPERATION_RESULT_SS: - return TAO_BE_STATE_OPERATION::instance (); - case TAO_ARGUMENT_CH: - case TAO_ARGUMENT_CS: - case TAO_ARGUMENT_PRE_DOCALL_CS: - case TAO_ARGUMENT_DOCALL_CS: - case TAO_ARGUMENT_POST_DOCALL_CS: - case TAO_ARGUMENT_SH: - case TAO_ARGUMENT_SS: - case TAO_ARGUMENT_VARDECL_SS: - case TAO_ARGUMENT_PRE_UPCALL_SS: - case TAO_ARGUMENT_UPCALL_SS: - case TAO_ARGUMENT_POST_UPCALL_SS: - return TAO_BE_STATE_ARGUMENT::instance (); - case TAO_TYPEDEF_CH: - case TAO_TYPEDEF_CS: - case TAO_TYPEDEF_CI: - return TAO_BE_STATE_TYPEDEF::instance (); - case TAO_ARRAY_DEFN_CH: - case TAO_ARRAY_OTHER_CH: - case TAO_ARRAY_DEFN_CI: - return TAO_BE_STATE_ARRAY::instance (); - case TAO_SEQUENCE_BASE_CH: - case TAO_SEQUENCE_BASE_CS: - case TAO_SEQUENCE_BASE_CI: - case TAO_SEQUENCE_BODY_CH: - case TAO_SEQUENCE_BODY_CS: - case TAO_SEQUENCE_BODY_CI: - case TAO_SEQELEM_RETTYPE_CH: - case TAO_SEQELEM_RETTYPE_CI: - case TAO_SEQELEM_RETTYPE_CS: - return TAO_BE_STATE_SEQUENCE::instance (); - case TAO_ATTRIBUTE_RETURN_TYPE_CH: - case TAO_ATTRIBUTE_INPARAM_TYPE_CH: - case TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_ATTRIBUTE_RETVAL_DECL_CS: - case TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - case TAO_ATTRIBUTE_RETVAL_RETURN_CS: - case TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_ATTRIBUTE_PRE_DOCALL_CS: - case TAO_ATTRIBUTE_DOCALL_CS: - case TAO_ATTRIBUTE_POST_DOCALL_CS: - case TAO_ATTRIBUTE_RETURN_TYPE_SH: - case TAO_ATTRIBUTE_INPARAM_TYPE_SH: - case TAO_ATTRIBUTE_RETVAL_DECL_SS: - case TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - case TAO_ATTRIBUTE_RESULT_SS: - case TAO_ATTRIBUTE_INPARAM_TYPE_SS: - case TAO_ATTRIBUTE_PRE_UPCALL_SS: - case TAO_ATTRIBUTE_UPCALL_SS: - case TAO_ATTRIBUTE_POST_UPCALL_SS: - return TAO_BE_STATE_ATTRIBUTE::instance (); - case TAO_EXCEPTION_CH: - case TAO_EXCEPTION_CTOR_CH: - case TAO_EXCEPTION_CS: - case TAO_EXCEPTION_CTOR_CS: - case TAO_EXCEPTION_CTOR_ASSIGN_CS: - case TAO_EXCEPTION_CI: - return TAO_BE_STATE_EXCEPTION::instance (); - default: - return 0; - } -} - -// 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::client_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->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::strstr (fname, ".h"); - if (suffix == 0) - return -1; // bad file name - else - { - 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->client_header_->print ("#if !defined (%s)\n", macro_name); - this->client_header_->print ("#define %s\n\n", macro_name); - *this->client_header_ << "#include \"tao/corba.h\"\n"; - - if (idl_global->export_include () != 0) - { - *this->client_header_ << "#include \"" - << idl_global->export_include () - << "\"\n"; - } - - // We must include all the skeleton headers corresponding to - // IDL files included by the current IDL file. - for (size_t j = 0; - j < idl_global->n_include_file_names (); - ++j) - { - String* idl_name = - idl_global->include_file_names()[j]; - - const char* client_hdr = - IDL_GlobalData::be_get_client_hdr (idl_name); - - 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->get_string ())); - } - } - *this->client_header_ << "\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::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 client header - *this->client_stubs_ << "#include \"" << - idl_global->be_get_client_hdr_fname () << "\"\n\n"; - - *this->client_stubs_ << "#include \"" << - idl_global->be_get_server_hdr_fname () << "\"\n\n"; - - // 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 () << "\"\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::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::server_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_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::strstr (fname, ".h"); - if (suffix == 0) - return -1; // bad file name - else - { - 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 - macro_name[i+9] = fname[i]; - - ACE_OS::strcat (macro_name, "_H_"); - - this->server_header_->print ("#if !defined (%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. - for (size_t j = 0; - j < idl_global->n_include_file_names (); - ++j) - { - String* idl_name = - idl_global->include_file_names()[j]; - - const char* server_hdr = - IDL_GlobalData::be_get_server_hdr (idl_name); - - 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 () << "\"\n\n"; - - return 0; - } - } -} - -// get the server header stream -TAO_OutStream * -TAO_CodeGen::server_header (void) -{ - return this->server_header_; -} - -// set the server skeletons stream -int -TAO_CodeGen::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 server header - *this->server_skeletons_ << "#include \"" << - idl_global->be_get_server_hdr_fname () << "\"\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 () << "\"\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_; -} - -// set the server inline stream -int -TAO_CodeGen::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_; -} - -// put the last #endif in the client and server headers -int -TAO_CodeGen::end_client_header (void) -{ - // 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 () << "\"\n"; - *this->client_header_ << "#endif // defined INLINE\n\n"; - - // code to put the last #endif - *this->client_header_ << "\n#endif // if !defined\n"; - return 0; -} - -int -TAO_CodeGen::end_server_header (void) -{ - // 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 () << "\"\n"; - *this->server_header_ << "#endif // defined INLINE\n\n"; - - // code to put the last #endif - *this->server_header_ << "\n#endif // if !defined\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::outstream (TAO_OutStream *os) -{ - this->curr_os_ = os; -} - -TAO_OutStream * -TAO_CodeGen::outstream (void) -{ - return this->curr_os_; -} - -void -TAO_CodeGen::push (TAO_CodeGen::CG_STATE s) -{ - if (this->top_ == this->size_) - { - TAO_CodeGen::CG_STATE *temp = this->state_; - this->size_ += CHUNK; - this->state_ = new TAO_CodeGen::CG_STATE [this->size_]; - for (int i=0; i < this->top_; i++) - this->state_ [i] = temp [i]; - delete []temp; - } - this->state_[this->top_++] = s; -} - -void -TAO_CodeGen::pop (void) -{ - this->top_--; -} - -TAO_CodeGen::CG_STATE -TAO_CodeGen::state (void) -{ - return this->state_[this->top_ - 1]; // top points to the next free slot -} - -void -TAO_CodeGen::reset (void) -{ - this->top_ = 1; // the 0th posn is always the INITIAL state -} - -void -TAO_CodeGen::node (be_decl *n) -{ - this->node_ = n; -} - -be_decl * -TAO_CodeGen::node (void) -{ - return this->node_; -} - -void -TAO_CodeGen::visitor_factory (TAO_Visitor_Factory *f) -{ - this->visitor_factory_ = f; -} diff --git a/TAO/TAO_IDL/be/be_constant.cpp b/TAO/TAO_IDL/be/be_constant.cpp deleted file mode 100644 index 962436a8de3..00000000000 --- a/TAO/TAO_IDL/be/be_constant.cpp +++ /dev/null @@ -1,180 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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); -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the constant -int -be_constant::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_CONSTANT_CH); - - ch = cg->client_header (); - - // 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 - - ch->indent (); // start from whatever indentation level we were at - *ch << "static const " << this->exprtype_to_string () << " " << local_name (); - if (!this->is_nested ()) - { - // We were defined at the outermost scope. So we put the value in the - // header itself - *ch << " = " << this->constant_value (); - } - *ch << ";\n\n"; - cg->pop (); - return 0; -} - -// Generates the client-side stubs for the constant -int -be_constant::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_CONSTANT_CS); - - cs = cg->client_stubs (); - - if (this->is_nested ()) - { - // for those constants not defined in the outer most scope, they get - // assigned to their values in the - cs->indent (); // start from whatever indentation level we were at - *cs << "const " << this->exprtype_to_string () << " " << this->name (); - *cs << " = " << this->constant_value (); - *cs << ";\n\n"; - } - cg->pop (); - return 0; -} - -// Generates the server-side header information for the constant -int -be_constant::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the constant -int -be_constant::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_constant::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_constant::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -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: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - 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 53914febf1a..00000000000 --- a/TAO/TAO_IDL/be/be_decl.cpp +++ /dev/null @@ -1,568 +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" - -// 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), - srv_skel_gen_ (I_FALSE), - srv_inline_gen_ (I_FALSE), - fullname_ (0), - flatname_ (0), - repoID_ (0), - size_type_ (be_decl::SIZE_UNKNOWN), - encap_len_ (-1) -{ -} - -// 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), - srv_skel_gen_ (I_FALSE), - srv_inline_gen_ (I_FALSE), - fullname_ (0), - size_type_ (be_decl::SIZE_UNKNOWN), - encap_len_ (-1) -{ -} - -//destructor -be_decl::~be_decl (void) -{ -} - -int -be_decl::gen_encapsulation (void) -{ - // do nothing - return 0; -} - -long -be_decl::tc_encap_len (void) -{ - return -1; -} - -// 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; - - -#if 0 - // if we are just a typedef, nothing else to do - if (this->node_type () == AST_Decl::NT_typedef) - return; - - // update our parent if it is of a specific type - if (this->is_nested ()) - { - // get the scope we are defined in - be_decl *d = be_decl::narrow_from_decl (ScopeAsDecl (this->defined_in - ())); - switch (d->node_type ()) - { - // only these define valid scopes whose size needs to be set the same - // as ours. - case AST_Decl::NT_struct: - case AST_Decl::NT_union: - d->size_type (st); // call recursively to set the size type of our - // ancestors - default: - return; // we are done - } - } // end else -#endif -} - -// 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::fullname (void) -{ - if (!this->fullname_) - compute_fullname (); - - return this->fullname_; -} - -// 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; -} - -const char* -be_decl::flatname (void) -{ - if (!this->flatname_) - compute_flatname (); - - return this->flatname_; -} - -// 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" - 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:"); - 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; -} - -const char * -be_decl::repoID (void) -{ - if (!this->repoID_) - compute_repoID (); - - return this->repoID_; -} - -// converts a string name into an array of 4 byte longs -int -be_decl::tc_name2long (const char *name, long *&larr, long &arrlen) -{ - static long buf [NAMEBUFSIZE / sizeof (long)]; - long slen; - unsigned int i; - - 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/4 + (slen%4 ? 1:0); - - ACE_OS::memset (buf, '\0', arrlen*4); - larr = buf; - - for (i=0; i < ACE_OS::strlen (name); i++) - { - long shift; // num bytes to shift left - - shift = 3 - (i%4); - // store the computed shifted quantity in the appropriate byte of the - // array to be returned - larr [i/4] |= ((name[i] & 0xff) << (shift*8)); - } - return 0; -} - -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; -} - -// 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. -long -be_decl::repoID_encap_len (void) -{ - long slen; - - slen = ACE_OS::strlen (this->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. -long -be_decl::name_encap_len (void) -{ - long slen; - - slen = ACE_OS::strlen (this->local_name ()->get_string ()) + 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)); -} - -// 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_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::srv_skel_gen (void) -{ - return this->srv_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_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::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 bed7a98a493..00000000000 --- a/TAO/TAO_IDL/be/be_enum.cpp +++ /dev/null @@ -1,335 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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_; -} - - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the interface -int -be_enum::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - if (!this->cli_hdr_gen_) - { - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, IK_decls); - // scope iterator - AST_Decl *d; // AST node - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ENUM_CH); - - ch = cg->client_header (); - - ch->indent (); // start from whatever indentation level we were at - *ch << "enum " << this->local_name () << nl; - *ch << "{\n"; - ch->incr_indent (); - while (!(i->is_done ())) - { - d = i->item (); - *ch << d->local_name (); - i->next (); - if (!(i->is_done())) - *ch << ", " << nl; - } - delete i; - *ch << "\n"; - ch->decr_indent (); - *ch << "};" << nl; - // As per the ORBOS spec, we need the following typedef - *ch << "typedef " << this->local_name () << " &" << this->local_name () << - "_out;\n"; - cg->pop (); - - // Generate the typecode decl - // All names in the root scope have length 2 (for the root and - // ourself). The children have length greater than 2. Thus, if our name - // length is 2 or less, we are outermost and our typecode decl must be - // extern, else we are defined static inside the enclosing scope. - if (this->name ()->length () > 2) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << "CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -// Generates the client-side stubs for the interface -int -be_enum::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ENUM_CS); // set current code gen state - - cs = cg->client_stubs (); - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << nl; - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_enum:Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_enum, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -// Generates the server-side header information for the interface -int -be_enum::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the interface -int -be_enum::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_enum::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_enum::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate typecode. -// Typecode for enum comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_enum::gen_typecode (void) -{ - 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_enum, // typecode kind" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -int -be_enum::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *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 ("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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: cannot generate code for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_enum::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -// return encapsulation length -long -be_enum::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID storage - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -int be_enum::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name (); - return 0; -} - -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 0a63a7fb3cd..00000000000 --- a/TAO/TAO_IDL/be/be_enum_val.cpp +++ /dev/null @@ -1,147 +0,0 @@ -// ============================================================================ -// -// = 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" - -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) -{ -#if 0 - // computes the repoID - compute_repoID (); - - // computes the fully scoped name - compute_fullname (); - - // compute the flattened fully scoped name - compute_flatname (); -#endif -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// NOTE: The IDL front end does a strange thing of putting the enum_vals in the -// Enum decl scope as well as the scope that encloses the ENUM decl. Since we -// took care of generating the client header declarations for all the -// enum_vals, we do not do anything in any of the methods below. However, we -// have to provide them so that whenever be_scope finds an enum_val in a scope -// that is not an ENUM, it just ignores it. - -// Generates the client-side header information for the enum val -int -be_enum_val::gen_client_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side stubs for the enum val -int -be_enum_val::gen_client_stubs (void) -{ - return 0; -} - -// Generates the server-side header information for the enum val -int -be_enum_val::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the enum val -int -be_enum_val::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_enum_val::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_enum_val::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_enum_val::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - // 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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - return 0; -} - -long -be_enum_val::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = this->name_encap_len (); // for name - } - - return this->encap_len_; -} - -int -be_enum_val::accept (be_visitor *visitor) -{ - return visitor->visit_enum_val (this); -} - -// 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 975c4381ed6..00000000000 --- a/TAO/TAO_IDL/be/be_exception.cpp +++ /dev/null @@ -1,526 +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" - -/* - * 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_; -} - -// CODE GENERATION - -int -be_exception::gen_client_header (void) -{ - if (!this->cli_hdr_gen_) // not already generated - { - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *ch = cg->client_header (); // output stream - TAO_NL nl; // end line - be_scope *s = be_scope::narrow_from_scope (DeclAsScope (this)); // the - // scope - // defined by us - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::" - "gen_client_header - " - "bad scope\n"), -1); - } - - cg->push (TAO_CodeGen::TAO_EXCEPTION_CH); - ch->indent (); // start from whatever indentation level we were at - ch->gen_ifdef_macro (this->flatname (), "_ptr"); - - ch->indent (); - *ch << "class " << this->local_name () << ";" << nl; - // generate the _ptr declaration - *ch << "typedef " << this->local_name () << " *" - << this->local_name () << "_ptr;" << nl; - ch->gen_endif (); - - ch->gen_ifdef_macro (this->flatname ()); - - ch->indent (); - *ch << "class " << idl_global->export_macro () - << " " << this->local_name () - << " : public CORBA::UserException" << nl; - *ch << "{" << nl - << "public:\n"; - ch->incr_indent (); - // constructors and destructor - *ch << this->local_name () << " (void); // default ctor" << nl; - *ch << this->local_name () << " (const " << this->local_name () << - " &); // copy ctor" << nl; - *ch << "~" << this->local_name () << "(void); // dtor" << nl; - - // generate constructor that takes each member as a parameter. We need a - // new state. Such a constructor exists if we have members - if (this->member_count () > 0) - { - cg->push (TAO_CodeGen::TAO_EXCEPTION_CTOR_CH); - s->comma (1); // tell the scope to generate a comma after every - // member is generated - *ch << this->local_name () << "("; - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::" - "gen_client_header - " - "codegen for scope failed\n"), -1); - } - *ch << ");" << nl; - s->comma (0); // revert comma generation state - cg->pop (); // revert to previous state - } - - // assignment operator - *ch << this->local_name () << " &operator= (const " << this->local_name - () << " &);" << nl; - // the static _narrow method - *ch << "static " << this->local_name () << - " *_narrow (CORBA::Exception *);\n"; - - // generate the members - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::" - "gen_client_header - " - "codegen for scope failed\n"), -1); - } - - ch->decr_indent (); - *ch << "};" << nl; - - // generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - ch->gen_endif (); - - this->cli_hdr_gen_ = I_TRUE; - cg->pop (); - } - - return 0; -} - -int -be_exception::gen_client_inline (void) -{ - if (!this->cli_inline_gen_) - { - TAO_NL nl; // end line - - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *ci = cg->client_inline (); - - ci->indent (); - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for exception " << this->name () << nl; - *ci << "// *************************************************************\n\n"; - - // default constructor - ci->indent (); - *ci << "// default constructor" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" << this->local_name () << " (void)" << nl; - *ci << " : CORBA_UserException (CORBA::TypeCode::_duplicate (" << - this->tc_name () << "))\n"; - *ci << "{" << nl; - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "// destructor - all members are of self managing types" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::~" << this->local_name () << " (void)" << nl; - *ci << "{" << nl; - *ci << "}\n\n"; - - cg->push (TAO_CodeGen::TAO_EXCEPTION_CI); - // generate inline code required of any anonymous types of members - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::gen_client_inline -" - "codegen for scope failed\n"), -1); - } - - cg->pop (); - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -int -be_exception::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_scope *s = be_scope::narrow_from_scope (DeclAsScope (this)); // the scope - // defined by - // us - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::" - "gen_client_stubs - " - "bad scope\n"), -1); - } - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_EXCEPTION_CS); // set current code gen state - - cs = cg->client_stubs (); - - // copy constructor - cs->indent (); - *cs << "// copy constructor" << nl; - *cs << this->name () << "::" << this->local_name () << "(const " << - this->name () << " &_tao_excp)" << nl; - *cs << " :CORBA_UserException (" << - "CORBA::TypeCode::_duplicate (_tao_excp.type ()))" << nl; - *cs << "{\n"; - cs->incr_indent (); - // assign each individual member - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator - cs->indent (); - *cs << "// assignment operator" << nl; - *cs << this->name () << "&" << nl; - *cs << this->name () << "::operator= (const " << - this->name () << " &_tao_excp)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "this->type_ = " << - "CORBA::TypeCode::_duplicate (_tao_excp.type ());\n"; - // assign each individual member - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - cs->indent (); - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // constructor taking all members. We need a new state here. Also, such a - // constructor exists if we have any members - if (this->member_count () > 0) - { - cg->push (TAO_CodeGen::TAO_EXCEPTION_CTOR_CS); - s->comma (1); // scope should produce comma after every parameter is - // defined - cs->indent (); - *cs << "// special constructor" << nl; - *cs << this->name () << "::" << this->local_name () << "("; - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - s->comma (0); - cg->pop (); - *cs << ")" << nl; - - *cs << " : CORBA_UserException " << - "(CORBA::TypeCode::_duplicate (" << this->tc_name () << - "))" << nl; - *cs << "{\n"; - cs->incr_indent (); - // assign each individual member. We need yet another state - cg->push (TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_exception::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - cg->pop (); // revert to previous state - cs->decr_indent (); - *cs << "}\n\n"; - } - - // narrow method - cs->indent (); - *cs << "// narrow" << nl; - *cs << this->name () << "_ptr " << nl; - *cs << this->name () << "::_narrow(CORBA::Exception *exc)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (!ACE_OS::strcmp (\"" << this->repoID () << - "\", exc->id ())) // same type" << nl; - *cs << " return ACE_dynamic_cast (" << this->name () << "_ptr, exc);" << - nl; - *cs << "else" << nl; - *cs << " return 0;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - if (this->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - - return 0; -} - -int -be_exception::gen_server_header (void) -{ - return 0; -} - - -int -be_exception::gen_server_inline (void) -{ - return 0; -} - -int -be_exception::gen_server_skeletons (void) -{ - return 0; -} - -// generate typecode. -// Typecode for exceptions comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_exception::gen_typecode (void) -{ - 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_except, // typecode kind" << nl; - *cs << this->tc_size () << ", // 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_exception::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - 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 << "0, // 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 ("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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_exception: cannot generate typecode for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_exception::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -// compute encapsulation length -long -be_exception::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -int be_exception::write_as_return (TAO_OutStream *, - be_type *) -{ - // exceptions cannot be returned - return -1; -} - -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 bc9773030e6..00000000000 --- a/TAO/TAO_IDL/be/be_expression.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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 (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_factory.cpp b/TAO/TAO_IDL/be/be_factory.cpp deleted file mode 100644 index ff3038d9d42..00000000000 --- a/TAO/TAO_IDL/be/be_factory.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -#include "be_sunsoft.h" - -// destructor -TAO_Visitor_Factory::~TAO_Visitor_Factory (void) -{ -} - -// 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_field.cpp b/TAO/TAO_IDL/be/be_field.cpp deleted file mode 100644 index 0511fd4c909..00000000000 --- a/TAO/TAO_IDL/be/be_field.cpp +++ /dev/null @@ -1,210 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * BE_Field - */ -be_field::be_field (void) -{ -} -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) -{ -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the field -int -be_field::gen_client_header (void) -{ - be_type *bt; // the field type - be_state *s; // code generation state - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // retrieve field type - bt = be_type::narrow_from_decl (this->field_type ()); - - // make the state based object. The state has been set by the enclosing - // parent structure - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_field::gen_client_header -" - "codegen failed\n"), -1); - } - return 0; -} - -// Generates the client-side stubs for the field -int -be_field::gen_client_stubs (void) -{ - be_type *bt; // the field type - be_state *s; // code generation state - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // retrieve field type - bt = be_type::narrow_from_decl (this->field_type ()); - - // make the state based object. The state has been set by the enclosing - // parent structure - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_field::gen_client_stubs -" - "codegen failed\n"), -1); - } - return 0; -} - -// Generates the client-side inline information -int -be_field::gen_client_inline (void) -{ - be_type *bt; // the field type - be_state *s; // code generation state - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // retrieve field type - bt = be_type::narrow_from_decl (this->field_type ()); - - // make the state based object. The state has been set by the enclosing - // parent structure - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_field::gen_client_inline -" - "codegen failed\n"), -1); - } - return 0; -} - -// Generates the server-side header information for the field -int -be_field::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the field -int -be_field::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_field::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_field::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // our type node - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - // 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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (this->field_type ()); - return bt->gen_typecode (); -} - -long -be_field::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; - - // struct member is represented as the "name" followed by the typecode - - this->encap_len_ = this->name_encap_len (); // for name - - // add to this, the size of our typecode - bt = be_type::narrow_from_decl (this->field_type ()); - this->encap_len_ += bt->tc_size (); // note that we must add typecode - // size of the type - } - return this->encap_len_; -} - -// 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 cf505d91c1f..00000000000 --- a/TAO/TAO_IDL/be/be_generator.cpp +++ /dev/null @@ -1,419 +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" - -/* - * 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(n, p); -} - -/* - * 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) -{ - return (AST_Field *) new be_field(ft, n, p); -} - -/* - * 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(AST_UnionLabel *lab, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_UnionBranch *) new be_union_branch(lab, 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 (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) -{ -#if defined (ACE_HAS_WCHAR_TYPEDEFS_CHAR) - typedef short WChar; -#else /* ! ACE_HAS_WCHAR_TYPEDEFS_CHAR */ - typedef wchar_t WChar; -#endif /* ! ACE_HAS_WCHAR_TYPEDEFS_CHAR */ - - return (AST_String *) new be_string(v, sizeof(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 16b6ff39437..00000000000 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ /dev/null @@ -1,282 +0,0 @@ -// ============================================================================ -// -// = 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" - -static const char copyright [] = -"/* -*- C++ -*- */\n\n\ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******\n\ -// TAO ORB and the TAO IDL Compiler have been developed by Washington \n\ -// University Computer Science's Distributed Object Computing Group.\n\ -//\n\ -// Information on 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 - 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_; -} - -// indentation -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_--; - 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)); - } - - // 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_SVR_INL: - ACE_OS::strcat (macro, "SI_"); - break; - case TAO_OutStream::TAO_SVR_IMPL: - ACE_OS::strcat (macro, "SS_"); - break; - } - *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; -} - -// 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 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 b44336db57f..00000000000 --- a/TAO/TAO_IDL/be/be_init.cpp +++ /dev/null @@ -1,97 +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. - - */ - -// BE_init.cc - Initialization for dummy BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * 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() -{ - AST_Generator *g = new be_generator(); - - if (g == NULL) { - cerr << GTDEVEL("IDL: BE init failed to create generator, exiting\n"); - exit(99); - } - return g; -} - -/* - * Print out a version string for the BE - */ -void -BE_version() -{ - cerr << GTDEVEL("TAO C++ BE, version 0.1.0\n"); -} diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp deleted file mode 100644 index 0affe36dd45..00000000000 --- a/TAO/TAO_IDL/be/be_interface.cpp +++ /dev/null @@ -1,2130 +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" - -/* - * BE_Interface - */ - -// default constructor -be_interface::be_interface (void) - : full_skel_name_ (0), - skel_count_ (0), - full_coll_name_ (0), - local_coll_name_ (0) -{ - 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), - skel_count_ (0), - full_coll_name_ (0), - local_coll_name_ (0) -{ - 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->full_coll_name_ != 0) - { - delete[] this->full_coll_name_; - this->full_coll_name_ = 0; - } - if (this->local_coll_name_ != 0) - { - delete[] this->local_coll_name_; - this->local_coll_name_ = 0; - } -} - -// compute stringified fully qualified collocated class name. -void -be_interface::compute_coll_name (void) -{ - if (this->full_coll_name_ != 0) - return; - - 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 (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 = sizeof (collocated); - 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 (void) const -{ - if (this->full_coll_name_ == 0) - ACE_const_cast (be_interface*, this)->compute_coll_name (); - - return this->full_coll_name_; -} - -const char* -be_interface::local_coll_name (void) const -{ - if (this->local_coll_name_ == 0) - ACE_const_cast (be_interface*, this)->compute_coll_name (); - - return this->local_coll_name_; -} - -// compute stringified fully scoped skel name -void -be_interface::compute_fullskelname (void) -{ - if (full_skel_name_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 4; - 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; - - this->full_skel_name_ = new char [namelen+1]; - this->full_skel_name_[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - ACE_OS::strcat (this->full_skel_name_, "POA_"); - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->full_skel_name_, "::"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->full_skel_name_, 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_; -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// generate the client header -int -be_interface::gen_client_header (void) -{ - if (!this->cli_hdr_gen_) // not already generated - { - long i; // loop index - TAO_NL nl; // end line - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cg->push (TAO_CodeGen::TAO_INTERFACE_CH); // set the current code - // generation state - - TAO_OutStream *ch = cg->client_header (); - - // == STEP 1: generate the class name and class names we inherit == - ch->indent (); // start with whatever indentation level we are at - - // generate the ifdefined macro for the _ptr type - ch->gen_ifdef_macro (this->flatname (), "_ptr"); - - // the following two are required to be under the ifdef macro to avoid - // multiple declarations - - // forward declaration - *ch << "class " << this->local_name () << ";" << nl; - // generate the _ptr declaration - *ch << "typedef " << this->local_name () << " *" << this->local_name () - << "_ptr;" << nl; - - ch->gen_endif (); - - // generate the ifdefined macro for the var type - ch->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the _var declaration - if (this->gen_var_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface - error generating _var definition\n")); - return -1; - } - ch->gen_endif (); - - // generate the ifdef macro for the _out class - ch->gen_ifdef_macro (this->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (this->gen_out_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface - error generating _var definition\n")); - return -1; - } - // generate the endif macro - ch->gen_endif (); - - ch->gen_ifdef_macro (this->flatname ()); - - // now generate the class definition - ch->indent (); - *ch << "class " << idl_global->export_macro () - << " " << this->local_name (); - - if (n_inherits () > 0) // this interface inherits from other interfaces - { - *ch << ": "; - for (i = 0; i < n_inherits (); i++) - { - be_interface *inherited = be_interface::narrow_from_decl - (this->inherits ()[i]); - be_decl *scope = 0; - if (inherited->is_nested ()) - { - // inherited node is used in the scope of "this" node - scope = be_scope::narrow_from_scope (this->defined_in - ())->decl (); - } - - *ch << "public virtual "; - *ch << inherited->nested_type_name (scope); // dump the scoped name - if (i < n_inherits () - 1) // this is the case of multiple - // inheritance - { - *ch << ", "; - } - } // end of for loop - *ch << nl; - } - else - { - // we do not inherit from anybody, hence we do so from the base - // CORBA::Object class - *ch << " : public virtual CORBA::Object" << nl; - } - - // generate the body - - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // generate the static _duplicate, _narrow, and _nil operations - *ch << "// the static operations" << nl; - *ch << "static " << this->local_name () << "_ptr " << "_duplicate (" - << this->local_name () << "_ptr obj);" << nl; - *ch << "static " << this->local_name () << "_ptr " << "_narrow (" - << "CORBA::Object_ptr obj, CORBA::Environment &env);" << nl; - *ch << "static " << this->local_name () << "_ptr " - << "_nil (void);" << nl; - - // generate a TAO-specific _bind method similar to what Orbix and VisiBroker - // have - *ch << "static " << this->local_name () << "_ptr _bind (const char *host, " - << "CORBA::UShort port, const char *key, CORBA::Environment &env);\n\n"; - - // the _is_a method - ch->indent (); - *ch << "virtual CORBA::Boolean _is_a (const CORBA::Char *type_id, " - << "CORBA::Environment &env);\n" << be_nl - << "// = user methods\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->be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // generate the "protected" constructor so that users cannot instantiate - // us - *ch << be_uidt_nl - << "protected:" << be_idt_nl - << this->local_name () << " (" << be_idt << be_idt_nl - << "STUB_Object *objref = 0," << be_nl - << "TAO_ServantBase *servant = 0," << be_nl - << "CORBA::Boolean collocated = CORBA::B_FALSE" << be_uidt_nl - << ");\n" << be_uidt; - ch->decr_indent (); - - // dtor is public... - *ch << "public:" << be_idt_nl - << "virtual ~" << this->local_name () << " (void);" << be_uidt_nl; - - // private copy constructor and assignment operator. These are not - // allowed, hence they are private. - *ch << "private:\n"; - ch->incr_indent (); - *ch << this->local_name () << " (const " << this->local_name () << "&);" << nl; - *ch << "void operator= (const " << this->local_name () << "&);\n"; - ch->decr_indent (); - *ch << "};\n\n"; - ch->gen_endif (); - - - // generate the typecode decl. If we are in the outermost scope, our typecode - // decl is extern - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - - cg->pop (); - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -// Generates the client-side inline functions -int -be_interface::gen_client_inline (void) -{ - TAO_NL nl; // end line - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - TAO_OutStream *ci = cg->client_inline (); - ci->indent (); // start from the current indentation level - - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" - << this->local_name () << "(" << be_idt << be_idt_nl - << "STUB_Object *objref," << be_nl - << "TAO_ServantBase *servant," << be_nl - << "CORBA::Boolean collocated" << be_uidt_nl - << ")" << be_uidt_nl - << " : ACE_CORBA_1 (Object) (objref, servant, collocated)" << be_nl - << "{}" << be_nl << be_nl; - - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::~" << this->local_name () << - " (void) // destructor" << nl; - *ci << "{}\n\n"; - - // _nil method - *ci << "ACE_INLINE " << this->name () << "_ptr" << be_nl - << this->name () << "::_nil (void)" << be_nl - << "{" << be_idt_nl - << "return (" << this->name () << "_ptr)0;" << be_uidt_nl - << "}\n" << be_nl; - - // generate the ifdefined macro for the _var type - ci->gen_ifdef_macro (this->flatname (), "_var"); - - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface: _var impl code gen failed\n")); - return -1; - } - ci->gen_endif (); - - // generate the ifdefined macro for the _out type - ci->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface: _out impl code gen failed\n")); - return -1; - } - ci->gen_endif (); - - if (this->be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface: code gen failed for scope\n")); - return -1; - } - - return 0; -} - - -// Generate the client-side stubs -int -be_interface::gen_client_stubs (void) -{ - TAO_NL nl; // end line - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_INTERFACE_CS); // set the current code generation - // state - - TAO_OutStream *cs = cg->client_stubs (); - - cs->indent (); // start with whatever indentation level we are at - - // first generate the code for the static methods - // The _duplicate method - *cs << this->name () << "_ptr " << this->name () << "::_duplicate (" - << this->name () << "_ptr obj)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (!CORBA::is_nil (obj))\n"; - cs->incr_indent (); - *cs << "obj->AddRef ();\n"; - cs->decr_indent (); - *cs << nl; - *cs << "return obj;\n"; - cs->decr_indent (); - *cs << "} // end of _duplicate" << nl << nl; - - // The _narrow method - *cs << this->name () << "_ptr " << this->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 " << this->name () << "::_nil ();" << be_uidt_nl - << "if (!obj->_is_a (\"" << this->repoID () << "\", env))" - << be_idt_nl - << "return " << this->name () << "::_nil ();" << be_uidt_nl; - - *cs << "if (!obj->_is_collocated () || !obj->_servant())" << be_nl - << "{" << be_idt_nl; - *cs << this->name () << "_ptr new_obj = new " << this->name () << "(obj->_get_parent ());" << be_nl - << "return new_obj;" << be_uidt_nl - << "} // end of if" << be_nl; - - *cs << "STUB_Object *stub = obj->_servant ()->_create_stub (env);" << be_nl - << "if (env.exception () != 0)" << be_idt_nl - << "return " << this->name () << "::_nil ();" << be_uidt_nl - << "void* servant = obj->_servant ()->_downcast (\"" - << this->repoID () << "\");" << be_nl - << "return new "; - - // This may be necessary to work around a GCC compiler bug! - const char *coll_name = this->full_coll_name (); - const char *skel_name = this->full_skel_name (); - - *cs << coll_name << "(" << be_idt << be_idt_nl - << "ACE_reinterpret_cast(" << skel_name - << "_ptr, servant)," << be_nl - << "stub" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}" << be_nl << be_nl; - - // the _bind method - *cs << this->name () << "_ptr " << this->name () << "::_bind (" << - "const char *host, CORBA::UShort port, const char *key, " << - "CORBA::Environment &env)" << nl; - *cs << "{" << be_idt_nl - << "IIOP_Object *data = new IIOP_Object (host, port, key);" << be_nl - << "if (!data) return " << this->name () << "::_nil ();" << be_nl - << "// create the CORBA level proxy" << be_nl - << "CORBA::Object_ptr objref = new CORBA_Object (data);" << be_nl - << "if (objref == 0)" << be_idt_nl << "{" << be_idt_nl - << "data->Release ();" << be_nl - << "env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" << be_nl - << "return " << this->name () << "::_nil ();" << be_uidt_nl << "}" << be_uidt_nl - << "return " << this->name () << "::_narrow (objref, env);" << be_uidt_nl - << "}" << be_nl << be_nl; - - // generate code for the elements of the interface - if (this->be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_client_stubs\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // generate the is_a method - cs->indent (); - *cs << "CORBA::Boolean " << this->name () << "::_is_a (" << - "const CORBA::Char *value, CORBA::Environment &_tao_environment)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (\n"; - cs->incr_indent (0); - if (this->traverse_inheritance_graph (be_interface::is_a_helper, cs) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_client_stubs - " - "inheritance graph failed\n"), -1); - } - cs->indent (); - *cs << "(!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (_tao_environment))))\n"; - *cs << " return 1; // success using local knowledge\n"; - cs->decr_indent (); - *cs << "else" << nl; - *cs << " return this->CORBA_Object::_is_a (value, _tao_environment); // remote call\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating typecode\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_objref, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - - cg->pop (); - return 0; -} - -// generate server header -int be_interface::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - long i; // loop index - TAO_NL nl; // end line - static char namebuf [NAMEBUFSIZE]; // holds the class name - AST_Decl *d; // enclosing scope - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_INTERFACE_SH); // set the current code generation - // state - - sh = cg->server_header (); - - // generate the skeleton class name - - sh->indent (); // start with whatever indentation level we are at - - // we shall have a POA_ prefix only if we are at the topmost level - // generate the forward declaration - d = ScopeAsDecl (this->defined_in ()); - if (d->node_type () == AST_Decl::NT_root) - { - // we are outermost - ACE_OS::sprintf (namebuf, "POA_%s", this->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, "%s", this->local_name ()->get_string ()); - } - - *sh << "class " << namebuf << ";" << nl; - - // generate the _ptr declaration - *sh << "typedef " << namebuf << " *" << namebuf - << "_ptr;" << nl; - - // now generate the class definition - *sh << "class " << idl_global->export_macro () - << " " << namebuf << " : "; - if (n_inherits () > 0) // this interface inherits from other interfaces - { - be_interface *intf; - - *sh << "public virtual "; - intf = be_interface::narrow_from_decl (inherits ()[0]); - *sh << intf->relative_skel_name (this->full_skel_name ()); - for (i = 1; i < n_inherits (); i++) - { - *sh << ", public virtual "; - intf = be_interface::narrow_from_decl (inherits ()[i]); - *sh << intf->relative_skel_name (this->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. - *sh << " public virtual PortableServer::ServantBase"; - } - *sh << nl; - *sh << "{" << nl; - *sh << "protected:\n"; - sh->incr_indent (); - *sh << namebuf << " (void);" << nl; - sh->decr_indent (); - *sh << "public:\n"; - sh->incr_indent (); - *sh << "virtual ~" << namebuf << " (void);\n"; - - sh->indent (); - *sh << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const char* logical_type_id," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt - << ");\n" << be_uidt; - - sh->indent (); - *sh << "virtual void* _downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ");\n" << be_uidt; - - // generate code for elements in the scope (e.g., operations) - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // add our _is_a method - sh->indent (); - *sh << "static void _is_a_skel (CORBA::ServerRequest &req, " << - "void *obj, void *context, CORBA::Environment &_tao_enviroment);\n\n"; - - // generate skeletons for operations of our base classes. These skeletons - // just cast the pointer to the appropriate type before invoking the call - if (this->traverse_inheritance_graph (be_interface::gen_skel_helper, sh) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_server_header - " - "inheritance graph traversal failed\n"), -1); - } - - // add the dispatch method - sh->indent (); - *sh << "virtual void _dispatch (CORBA::ServerRequest &req, " << - "void *context, CORBA::Environment &env);\n\n"; - - // Print out the _this() method. - sh->indent (); - *sh << this->name () << " *_this (CORBA::Environment &_tao_environment);\n"; - - sh->indent (); - *sh << "virtual const char* _interface_repository_id" - << " (void) const;\n"; - - sh->decr_indent (); - - *sh << "};\n\n"; - -#if 0 - be_visitor_collocated_sh visitor; - this->accept (&visitor); - *sh << "\n"; -#endif - cg->pop (); - return 0; -} - -int be_interface::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - TAO_NL nl; // end line - AST_Decl *d; // temporary - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_INTERFACE_SS); // set the current code generation - // state - - ss = cg->server_skeletons (); - - // generate the skeleton class name - - ss->indent (); // start with whatever indentation level we are at - - if (this->gen_operation_table () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface::gen_operation_table failure\n")); - return -1; - } - - *ss << "// skeleton constructor" << nl; - // find if we are at the top scope or inside some module - d = ScopeAsDecl (this->defined_in ()); - - // if (d && d->node_type () == AST_Decl::NT_root) - if (!this->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *ss << this->full_skel_name () << "::POA_" << this->local_name () << - " (void)" << nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *ss << this->full_skel_name () << "::" << this->local_name () << - " (void)" << nl; - } - - *ss << "{" << be_idt_nl - << "this->optable_ = &tao_" << this->flatname () - << "_optable;" << be_uidt_nl - << "}\n\n"; - - // generate code for elements in the scope (e.g., operations) - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_server_skeletons\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // generate code for the _is_a skeleton - ss->indent (); - *ss << "void " << this->full_skel_name () - << "::_is_a_skel (" << be_idt << be_idt_nl - << "CORBA::ServerRequest &req, " << be_nl - << "void * _tao_object_reference," << be_nl - << "void * /*context*/," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ")" << be_uidt_nl; - - *ss << "{\n"; - ss->incr_indent (); - *ss << "CORBA::NVList_ptr nvlist;" << nl; - *ss << "CORBA::NamedValue_ptr nv;" << nl; - *ss << "CORBA::Any temp_value (CORBA::_tc_string);" << nl; - *ss << "CORBA::Any *any;" << nl; - *ss << "CORBA::Boolean *retval = new CORBA::Boolean;" << nl; - *ss << "CORBA::String value;" << nl; - *ss << nl; - *ss << "req.orb()->create_list (0, nvlist);" << nl; - *ss << "nv = nvlist->add_value (0, temp_value, " - << "CORBA::ARG_IN, _tao_environment);" << nl; - *ss << "req.params (nvlist, _tao_environment); // parse the args" << nl; - *ss << "if (_tao_environment.exception () != 0) return;" << nl; - *ss << "value = *(CORBA::String *)nv->value ()->value ();" << nl; - - *ss << this->full_skel_name () << "_ptr impl = (" - << this->full_skel_name () << "_ptr) _tao_object_reference;" - << nl; - - *ss << "*retval = impl->_is_a (value, _tao_environment);" << be_nl - << "if (_tao_environment.exception () != 0) return;" << be_nl; - *ss << "any = new CORBA::Any (CORBA::_tc_boolean, " - << "retval, CORBA::B_TRUE);" << nl; - *ss << "req.result (any, _tao_environment);\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - ss->indent (); - *ss << "CORBA::Boolean " << this->full_skel_name () - << "::_is_a (" << be_idt << be_idt_nl - << "const char* value," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "if (\n" << be_idt; - if (this->traverse_inheritance_graph (be_interface::is_a_helper, ss) == -1) - { - return -1; - } - - ss->indent (); - *ss << "(!ACE_OS::strcmp ((char *)value, " - << "CORBA::_tc_Object->id (_tao_environment))))" - << be_idt_nl << "return CORBA::B_TRUE;" << be_uidt_nl - << "else" << be_idt_nl - << "return CORBA::B_FALSE;" << be_uidt << be_uidt << be_uidt_nl - << "}\n\n"; - - ss->indent (); - *ss << "void* " << this->full_skel_name () - << "::_downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl; - - if (this->traverse_inheritance_graph (be_interface::downcast_helper, ss) == -1) - { - return -1; - } - - *ss << "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; - - *ss << "return 0;" << be_uidt_nl - << "}\n\n"; - - - // now the dispatch method - ss->indent (); - *ss << "void " << this->full_skel_name () << - "::_dispatch (CORBA::ServerRequest &req, " << - "void *context, CORBA::Environment &env)" << nl; - *ss << "{\n"; - ss->incr_indent (); - *ss << "TAO_Skeleton skel; // pointer to skeleton for operation" << nl; - *ss << "CORBA::String opname = req.op_name (); // retrieve operation name" << - nl; - *ss << "// find the skeleton corresponding to this opname" << nl; - *ss << "if (this->_find (opname, skel) == -1)" << nl; - *ss << "{\n"; - ss->incr_indent (); - *ss << "env.exception (new CORBA_BAD_OPERATION (CORBA::COMPLETED_NO));" << - nl; - *ss << "ACE_ERROR ((LM_ERROR, \"Bad operation <%s>\\n\", opname));\n"; - ss->decr_indent (); - *ss << "}\n"; - *ss << "else" << nl; - *ss << " skel (req, this, context, env);\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - ss->indent (); - *ss << "const char* " << this->full_skel_name () - << "::_interface_repository_id (void) const" - << nl; - *ss << "{\n"; - ss->incr_indent (); - *ss << "return \"" << this->repoID () << "\";\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - cg->pop (); - -#if 0 - be_visitor_collocated_ss visitor; - this->accept (&visitor); - *ss << "\n"; -#endif - *ss << this->name () << "*" << be_nl - << this->full_skel_name () - << "::_this (CORBA_Environment &_env)" << be_nl - << "{" << be_idt_nl - << "STUB_Object *stub = this->_create_stub (_env);" << be_nl - << "if (_env.exception () != 0)" << be_idt_nl - << "return 0;" << be_uidt_nl - -#if 0 - << "TAO_ORB_Core *orb_core = TAO_ORB_Core_instance ();" << be_nl - << "if (orb_core->get_current ()->in_servant_upcall ())" << be_nl - << "{" << be_idt << be_nl - << "stub = new IIOP_Object (" << be_idt << be_idt << be_nl - << "CORBA::string_copy (this->_interface_repository_id ())," << be_nl - << "IIOP::Profile (" << be_idt << be_idt << be_nl - << "TAO_ORB_Core_instance ()->orb_params ()->addr ()," << be_nl - << "orb_core->get_current ()->object_key ()" << be_uidt << be_nl - << ")" << be_uidt << be_uidt << be_nl - << ");" << be_uidt << be_uidt << be_nl - << "}" << be_nl - << "else" << be_nl - << "{" << be_idt_nl - << "POA* poa = this->default_poa (_env);" << be_nl - << "if (_env.exception () != 0)" << be_idt << be_nl - << "return 0;" << be_uidt << be_nl - << "const TAO::ObjectKey& object_key = " << be_idt << be_nl - << "poa->servant_to_id (this, _env);" << be_uidt << be_nl - << "if (_env.exception () != 0)" << be_idt << be_nl - << "return 0;" << be_uidt << be_nl - << "stub = new IIOP_Object (" << be_idt << be_idt << be_nl - << "CORBA::string_copy (this->_interface_repository_id ())," << be_nl - << "IIOP::Profile (" << be_idt << be_idt << be_nl - << "TAO_ORB_Core_instance ()->orb_params ()->addr ()," << be_nl - << "object_key" << be_uidt << be_nl - << ")" << be_uidt << be_uidt << be_nl - << ");" << be_uidt << be_uidt << be_nl - << "}\n" << be_nl -#endif /* 0 */ - - << "return new " << this->full_coll_name () - << " (this, stub);" << be_uidt << be_nl; - - *ss << "}\n\n"; - - return 0; -} - -// Generates the server-side inline -int -be_interface::gen_server_inline (void) -{ - // nothing to be done - TAO_OutStream *si; // output stream - long i; // loop index - TAO_NL nl; // end line - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - si = cg->server_inline (); - - // generate the skeleton class name - - si->indent (); // start with whatever indentation level we are at - - *si << "// skeleton destructor" << nl; - - *si << "ACE_INLINE" << nl; - if (!this->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *si << this->full_skel_name () << "::~POA_" << this->local_name () << - " (void)" << nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *si << this->full_skel_name () << "::~" << this->local_name () << - " (void)" << nl; - } - - *si << "{\n"; - *si << "}\n"; - - - // generate skeletons for operations of our base classes. These skeletons - // just cast the pointer to the appropriate type before invoking the call - if (this->traverse_inheritance_graph (be_interface::gen_skel_helper, si) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_interface::gen_server_inline - " - "inheritance graph traversal failed\n"), -1); - } - - return 0; -} - -// generate the var definition -int -be_interface::gen_var_defn (void) -{ - 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::gen_var_impl (void) -{ - 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::gen_out_defn (void) -{ - 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 << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << 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::gen_out_impl (void) -{ - 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 << " (" << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 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; -} - -// generate typecode. -// Typecode for interface comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_interface::gen_typecode (void) -{ - 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_size () << ", // 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_interface::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - 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 ("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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << ",\n"; - - return 0; -} - -// compute size of typecode -long -be_interface::tc_size (void) -{ - return 4 + 4 + this->tc_encap_len (); -} - -// compute the encapsulation length -long -be_interface::tc_encap_len (void) -{ - 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_; -} - -// helper -int -be_interface::gen_operation_table (void) -{ - TAO_OutStream *ss; // output stream - TAO_NL nl; // end line - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ss = cg->server_skeletons (); - - ss->indent (); // start from current indentation level - *ss << "static const TAO_operation_db_entry " << this->flatname () << - "_operations [] = {\n"; - ss->incr_indent (0); - - 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->decr_indent (); - *ss << "};" << nl << nl; - - // XXXASG - this code should be based on using different strategies for - // demux - for next release - *ss << "TAO_Dynamic_Hash_OpTable tao_" << this->flatname () << "_optable " << - "(" << this->flatname () << "_operations, " << this->skel_count_ << ", " << - 2*this->skel_count_ << ");" - << nl; - return 0; -} - -// 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 (); - - ss = cg->server_skeletons (); - - 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) - { - ss->indent (); // start from current indentation level - // we are an operation node - *ss << "{\"" << d->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; - - ss->indent (); // start from current indentation level - // generate only the "get" entry if we are readonly - *ss << "{\"_get_" << d->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->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 - } - 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 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 . - - 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::gen_operation_table - " - "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::gen_operation_table - " - "error generating entries\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; -} - -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 (CORBA::ServerRequest &req, void *obj," - << " void *context, CORBA::Environment &env);\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 (CORBA::ServerRequest &req, " << - "void *obj, void *context, CORBA::Environment &env)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << ancestor->full_skel_name () << "_ptr impl = (" << - derived->full_skel_name () << "_ptr) obj;" << nl; - *os << ancestor->full_skel_name () << "::" << d->local_name - () << "_skel (req, (" << ancestor->full_skel_name () << - "_ptr) impl, context, env);\n"; - os->decr_indent (); - *os << "}\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 (CORBA::ServerRequest &req, void *obj," - << " void *context, CORBA::Environment &env);\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 (CORBA::ServerRequest &req, " << - "void *obj, void *context, CORBA::Environment &env)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << ancestor->full_skel_name () << "_ptr impl = (" << - derived->full_skel_name () << "_ptr) obj;" << nl; - *os << ancestor->full_skel_name () << "::_get_" << d->local_name - () << "_skel (req, (" << ancestor->full_skel_name () << - "_ptr) impl, context, env);\n"; - os->decr_indent (); - *os << "}\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 (CORBA::ServerRequest &req, void *obj," - << " void *context, CORBA::Environment &env);\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 (CORBA::ServerRequest &req, " << - "void *obj, void *context, CORBA::Environment &env)" << - nl; - *os << "{\n"; - os->incr_indent (); - *os << ancestor->full_skel_name () << "_ptr impl = (" << - derived->full_skel_name () << "_ptr) obj;" << nl; - *os << ancestor->full_skel_name () << "::_get_" << - d->local_name () << "_skel (req, (" << - ancestor->full_skel_name () << - "_ptr) impl, context, env);\n"; - os->decr_indent (); - *os << "}\n"; - } - - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -const char* -be_interface::relative_coll_name (const char *collname) -{ - return be_interface::relative_name (this->full_coll_name (), - collname); -} - -// 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); -} - -int be_interface::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name () << "_ptr"; - return 0; -} - -// 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 760ca8297f2..00000000000 --- a/TAO/TAO_IDL/be/be_interface_fwd.cpp +++ /dev/null @@ -1,643 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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" - -/* - * BE_InterfaceFwd - */ - -be_interface_fwd::be_interface_fwd (void) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_interface_fwd::be_interface_fwd (UTL_ScopedName *n, UTL_StrList *p) - : AST_InterfaceFwd (n, p), - AST_Decl (AST_Decl::NT_interface_fwd, n, p) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// generate the client header -int be_interface_fwd::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // get the client header - ch = cg->client_header (); - - ch->indent (); // start from the current - - // all we do in this is generate a forward declaration of the class - *ch << "class " << this->local_name () << ";" << nl; - - // generate the ifdefined macro for the _ptr type - ch->gen_ifdef_macro (this->flatname (), "_ptr"); - - // generate the _ptr declaration - *ch << "typedef " << this->local_name () << " *" << this->local_name () << - "_ptr; \n"; - - ch->gen_endif (); - - // enclose under an ifdef macro - ch->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the _var declaration - if (this->gen_var_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface_fwd - error generating _var definition\n")); - return -1; - } - // gen an endif - ch->gen_endif (); - - // enclose under an ifdef macro - ch->gen_ifdef_macro (this->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (this->gen_out_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface_fwd - error generating _var definition\n")); - return -1; - } - - // generate the endif macro - ch->gen_endif (); - - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -int -be_interface_fwd::gen_client_stubs (void) -{ - return 0; -} - -int -be_interface_fwd::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the ifdefined macro for the _var type - ci->gen_ifdef_macro (this->flatname (), "_var"); - - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface_fwd: _var impl code gen failed\n")); - return -1; - } - - ci->gen_endif (); - - // generate the ifdefined macro for the _out type - ci->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface_fwd: _out impl code gen failed\n")); - return -1; - } - ci->gen_endif (); - - return 0; -} - -int -be_interface_fwd::gen_server_header (void) -{ - return 0; -} - -int -be_interface_fwd::gen_server_skeletons (void) -{ - return 0; -} - -int -be_interface_fwd::gen_server_inline (void) -{ - return 0; -} - -// generate the var definition -int -be_interface_fwd::gen_var_defn (void) -{ - 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 (void) -{ - 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 (void) -{ - 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 << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << 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 (void) -{ - 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 << " (" << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 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::gen_typecode (void) -{ - return 0; -} - -long -be_interface_fwd::tc_size (void) -{ - return 0; -} - -int be_interface_fwd::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name () << "_ptr"; - 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_interpretive.cpp b/TAO/TAO_IDL/be/be_interpretive.cpp deleted file mode 100644 index ab1c23a553d..00000000000 --- a/TAO/TAO_IDL/be/be_interpretive.cpp +++ /dev/null @@ -1,307 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL Backend -// -// = FILENAME -// be_interpretive_visitor.cpp -// -// = DESCRIPTION -// Defines a factory that returns a specialized visitor object based on the -// code generation state. The visitors returned by this factory generate -// stubs and skeletons that use interpretive form of marshaling -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// individual visitors included only here -#include "be_interpretive.h" - -#include "be_visitor_args.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_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_typedef.h" -#include "be_visitor_union.h" -#include "be_visitor_union_branch.h" - -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_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_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_CI: - case TAO_CodeGen::TAO_MODULE_CS: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return new be_visitor_module (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_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_COLLOCATED_SH: - return new be_visitor_interface_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - return new be_visitor_interface_collocated_ss (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_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_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_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_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_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_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_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_OPERATION_CH: - return new be_visitor_operation_ch (new_ctx); - case TAO_CodeGen::TAO_OPERATION_CS: - return new be_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_visitor_operation_ss (new_ctx); - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_SH: - return new be_visitor_operation_collocated_sh (new_ctx); - case TAO_CodeGen::TAO_OPERATION_COLLOCATED_SS: - return new be_visitor_operation_collocated_ss (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_DOCALL_CS: - return new be_visitor_operation_rettype_pre_docall_cs (new_ctx); - case TAO_CodeGen::TAO_OPERATION_RETVAL_DOCALL_CS: - return new be_visitor_operation_rettype_docall_cs (new_ctx); - case TAO_CodeGen::TAO_OPERATION_RETVAL_POST_DOCALL_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_RETVAL_DECL_SS: - 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_COLLOCATED_SH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS: - return new be_visitor_operation_arglist (new_ctx); - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_DOCALL_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_DOCALL_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_POST_DOCALL_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_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: - return new be_visitor_operation_argument (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_DOCALL_CS: - return new be_visitor_args_pre_docall_cs (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - return new be_visitor_args_docall_cs (new_ctx); - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_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: - 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_ATTRIBUTE_CH: - case TAO_CodeGen::TAO_ATTRIBUTE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_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_OPERATION_RESULT_SS: - case TAO_CodeGen::TAO_ARGUMENT_CH: - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - case TAO_CodeGen::TAO_ARGUMENT_SS: - case TAO_CodeGen::TAO_ARRAY_DEFN_CH: - case TAO_CodeGen::TAO_ARRAY_OTHER_CH: - case TAO_CodeGen::TAO_ARRAY_DEFN_CI: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - default: - return new be_visitor_decl (new_ctx); - } -} diff --git a/TAO/TAO_IDL/be/be_module.cpp b/TAO/TAO_IDL/be/be_module.cpp deleted file mode 100644 index f51a834806b..00000000000 --- a/TAO/TAO_IDL/be/be_module.cpp +++ /dev/null @@ -1,222 +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" - -/* - * BE_Module - */ -be_module::be_module (void) -{ -} - -be_module::be_module (UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (AST_Decl::NT_module, n, p), - UTL_Scope (AST_Decl::NT_module) -{ -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// generate the client header -int be_module::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_CH); // set the current code generation state - ch = cg->client_header (); // get the stream - - // XXXASG - Modules really map to namespace. We need to see if our target - // compiler supports namespaces or not. For this release we opt to generate a - // class definition for a module - - ch->indent (); // start with whatever indentation level we are at - - // now generate the class definition - *ch << "class " << idl_global->export_macro () - << " " << local_name (); - - // generate the body - *ch << "{" << nl; - *ch << "public:\n"; - ch->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 (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - ch->decr_indent (); - *ch << "};\n\n"; - cg->pop (); - return 0; -} - -int be_module::gen_client_stubs (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_CS); // set the current code generation state - - // gen code for elements in the scope - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_client_stubs\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - cg->pop (); - return 0; -} - -int be_module::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - TAO_NL nl; // end line - AST_Decl *d; - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_SH); // set the current code generation state - - sh = cg->server_header (); - - // generate the skeleton class name - - sh->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 - d = ScopeAsDecl (this->defined_in ()); - - *sh << "class " << idl_global->export_macro () - << " "; - if (d->node_type () == AST_Decl::NT_root) - // we are outermost module - *sh << "POA_" << local_name () << nl; - else - // we are inside another module - *sh << local_name () << nl; - - *sh << "{" << nl; - *sh << "public:\n"; - sh->incr_indent (0); - - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - sh->decr_indent (); - *sh << "};\n\n"; - cg->pop (); - return 0; -} - -int be_module::gen_server_skeletons (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_SS); // set the current code generation state - - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_server_skeletons\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - cg->pop (); - return 0; -} - -// Generates the client-side inline information -int -be_module::gen_client_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_CI); // set the current code generation state - - // gen code for elements in the scope - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_client_inline\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - cg->pop (); - return 0; -} - -// Generates the server-side inline -int -be_module::gen_server_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_SI); // set the current code generation state - - // gen code for elements in the scope - if (be_scope::gen_server_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_server_inline\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - cg->pop (); - return 0; -} - -// 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 eaaf1f9d325..00000000000 --- a/TAO/TAO_IDL/be/be_native.cpp +++ /dev/null @@ -1,102 +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" - - -// 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_client_header (void) -{ - return 0; -} - -int -be_native::gen_client_stubs (void) -{ - return 0; -} - -int -be_native::gen_server_header (void) -{ - return 0; -} - -int -be_native::gen_server_skeletons (void) -{ - return 0; -} - -int -be_native::gen_client_inline (void) -{ - return 0; -} - -int -be_native::gen_server_inline (void) -{ - return 0; -} - -int -be_native::gen_typecode (void) -{ - return 0; -} - -long -be_native::tc_size (void) -{ - return 0; -} - -int -be_native::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name (); - 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 88dfcdfd5ea..00000000000 --- a/TAO/TAO_IDL/be/be_operation.cpp +++ /dev/null @@ -1,969 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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->imported () - && 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; -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -int -be_operation::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - be_type *bt; // type node - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ch = cg->client_header (); - - ch->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *ch << "virtual "; - - // first generate the return type - bt = be_type::narrow_from_decl (this->return_type ()); - cg->push (TAO_CodeGen::TAO_OPERATION_CH); // we are now generating an - // operation definition with the - // return type first - - s = cg->make_state (); // retrieve state based object - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_header - " - "return type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - - // generate the operation name - *ch << " " << this->local_name () << " ("; - - // generate the arguments with the appropriate mapping - cg->push (TAO_CodeGen::TAO_ARGUMENT_CH); // generating code for arguments in - // the signature - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_header - " - "failed in argument generation in signature\n"), - -1); - } - cg->pop (); - - // XXXASG - // additional argument in the form of CORBA::Environment since TAO does not - // yet support C++ style Exceptions. However, we can have an option to the - // "tao" IDL compiler to ask it to generate code for exceptions. This will be - // handled in a later release. - *ch << "CORBA::Environment &env);\n"; - - return 0; -} - -int -be_operation::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - UTL_ScopeActiveIterator *si; // scope iterator - AST_Decl *d; // temp node - be_argument *bd; // argument node - be_predefined_type *bpd=0; // predefined type used for return VOID type - be_state *s; // state based code gen object - long paramtblsize = 0; // size of the paradata table - - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - // for each operation, generate the paramdata and calldata tables followed by - // the actual stub - - cs->indent (); // start with current indentation level - - // retrieve the return type - bt = be_type::narrow_from_decl (this->return_type ()); - - // bt holds the return type. Declare a variable that will hold the return - // type. However, we must be careful if the return type is a void - if (bt->node_type () == AST_Decl::NT_pre_defined) - { - bpd = be_predefined_type::narrow_from_decl (bt); - } - - if (!this->has_native ()) - { - // generate the TAO_Param_Data table - *cs << "static const TAO_Param_Data " << this->flatname () << - "_paramdata [] = " << nl; - *cs << "{\n"; - cs->incr_indent (); - - // entry for the return type - *cs << "{" << bt->tc_name () << ", PARAM_RETURN, "; - - // Are we returning a pointer to value? i.e., is the type - // variable? If it is, we must tell the stub what is the size of - // the top level structure - be_type *prim; - if (bt->node_type () == AST_Decl::NT_typedef) - { - be_typedef *tdef = be_typedef::narrow_from_decl (bt); - prim = tdef->primitive_base_type (); - } - else - prim = bt; - if (prim->size_type () == be_decl::VARIABLE) - { - switch (prim->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_string: - case AST_Decl::NT_sequence: - case AST_Decl::NT_struct: - case AST_Decl::NT_union: - // no need of size here - *cs << "0}"; - break; - case AST_Decl::NT_pre_defined: - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl - (bt); - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - // no need of size here - *cs << "0}"; - else - *cs << "sizeof (" << bt->name () << ")}"; - } - break; - default: - *cs << "sizeof (" << bt->name () << ")}"; - } - } - else - *cs << "0}"; - paramtblsize++; - - // if we have any arguments, get each one of them - 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 (); - // only if this is an argument node - if (d->node_type () == AST_Decl::NT_argument) - { - bd = be_argument::narrow_from_decl (d); - bt = be_type::narrow_from_decl (bd->field_type ()); - *cs << "," << nl; // put a comma and newline before the - // previous entry - *cs << "{" << bt->tc_name (); - // based on the direction, output the appropriate constant. - switch (bd->direction ()) - { - case AST_Argument::dir_IN: - *cs << ", PARAM_IN, 0}"; - break; - case AST_Argument::dir_INOUT: - *cs << ", PARAM_INOUT, 0}"; - break; - case AST_Argument::dir_OUT: - { - *cs << ", PARAM_OUT, 0}"; -#if 0 - // Are we returning a pointer to value? i.e., - // is the type variable? If it is, we must - // tell the stub what is the size of the top - // level structure - if (bt->size_type () == be_decl::VARIABLE) - { - switch (bt->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - // no need of size here - *cs << "0}"; - break; - case AST_Decl::NT_pre_defined: - { - be_predefined_type *bpd = - be_predefined_type::narrow_from_decl (bt); - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - // no need of size here - *cs << "0}"; - else - *cs << "sizeof (" << bt->name () << ")}"; - } - break; - default: - *cs << "sizeof (" << bt->name () << ")}"; - } - } - else - *cs << "0}"; -#endif - } - break; - } // end switch - paramtblsize++; - } // end if argument node - si->next (); - } // end of while - delete si; // free the iterator object - } // end of arg list - *cs << "\n"; - cs->decr_indent (); - *cs << "};\n\n"; - - // now generate the calldata table - - cs->indent (); - *cs << "static const TAO_Call_Data " << this->flatname () - << "_calldata = " << nl - << "{" - << "\"" << this->local_name () << "\", "; - - // are we oneway or two operation? - if (this->flags () == AST_Operation::OP_oneway) - { - *cs << "0, "; // for false - } - else - { - *cs << "1, "; // for true - } - // insert the size of the paramdata table - *cs << paramtblsize << ", "; - - // insert the address of the paramdata table - *cs << this->flatname () << "_paramdata, "; - - // XXXASG - Exception list goes here (if it exists) - TODO - *cs << "0, 0};\n\n"; - } - - // now generate the actual stub - - // retrieve the return type again because we have used bt to also retrieve - // the argument types - bt = be_type::narrow_from_decl (this->return_type ()); - - // bt holds the return type. Declare a variable that will hold the return - // type. However, we must be careful if the return type is a void - if (bt->node_type () == AST_Decl::NT_pre_defined) - { - bpd = be_predefined_type::narrow_from_decl (bt); - } - - // first generate the return type - cs->indent (); - cg->push (TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS); // declare a return - // type of the stub - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "return type generation failure\n"), - -1); - } - cg->pop (); - - // generate the operation name - *cs << " " << this->name () << " ("; - - // generate the arguments with the appropriate mapping - cg->push (TAO_CodeGen::TAO_ARGUMENT_CS); // generating code for arguments in - // the signature - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure in argument generation in signature\n"), - -1); - } - cg->pop (); - - // last argument - is always CORBA::Environment - *cs << "CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - - if (this->has_native ()) - { - *cs << "env.exception (new CORBA::MARSHAL " - << "(CORBA::COMPLETED_NO));" << nl; - // return the appropriate error value on exception - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure returning from exception\n"), - -1); - } - } - else - { - // declare a return type - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "retval declaration failure\n"), - -1); - } - cg->pop (); - - // generate code that calls QueryInterface - *cs << "STUB_Object *istub;\n\n"; - cs->indent (); - *cs << "if (this->QueryInterface (IID_STUB_Object, " << - "(void **)&istub) != TAO_NOERROR)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "env.exception (new CORBA::DATA_CONVERSION " - << "(CORBA::COMPLETED_NO));" << nl; - - // return the appropriate error value on exception - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure returning from exception\n"), - -1); - } - cg->pop (); - - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->Release (); " - << "// QueryInterface has bumped up our refcount" << nl; - - // do any pre do_call stuff with arguments - cg->push (TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure generating pre docall stuff\n"), - -1); - } - cg->pop (); - - // call do_call with appropriate number of arguments - *cs << "istub->do_call (env, &" << this->flatname () - << "_calldata"; - - // if our return type is not void, then pass the address of retval - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - be_type *prim; - if (bt->node_type () == AST_Decl::NT_typedef) - { - be_typedef *tdef = be_typedef::narrow_from_decl (bt); - prim = tdef->primitive_base_type (); - } - else - prim = bt; - if (prim->size_type () == be_decl::VARIABLE) - { - switch (prim->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_string: - *cs << ", &retval"; - break; - case AST_Decl::NT_sequence: - case AST_Decl::NT_struct: - case AST_Decl::NT_union: - *cs << ", retval"; - break; - default: - *cs << ", &retval"; - } - } - else - *cs << ", &retval"; - } - else - { - // pass a 0 - *cs << ", 0"; - } - - cg->push (TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failed to emit code for arguments in docall\n"), - -1); - } - cg->pop (); - *cs << ");" << nl; - - // do any post do_call stuff with arguments - cg->push (TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failed to emit code for post " - "docall processing\n"), - -1); - } - cg->pop (); - - // return the retval - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs\n" - "return val return generation failure\n"), - -1); - } - cg->pop (); - } - - cs->decr_indent (0); - *cs << "\n}\n\n"; - return 0; -} - -int -be_operation::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - be_type *bt; // type node - be_state *s; // state based code generator object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_OPERATION_SH); // we are now generating an - // operation definition - - sh = cg->server_header (); - sh->indent (); // start with the current indentation level - - // every operation is declared virtual - *sh << "virtual "; - - - // first generate the return type - bt = be_type::narrow_from_decl (this->return_type ()); - s = cg->make_state (); // retrieve code gen object for this state - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_operation::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "return type generation failure\n")); - return -1; - } - // generate the operation name - *sh << " " << this->local_name () << " ("; - - // generate the arguments with the appropriate mapping - cg->push (TAO_CodeGen::TAO_ARGUMENT_SH); // generating code for arguments in - // the signature - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_operation::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "Argument generation failure\n")); - return -1; - } - cg->pop (); - - // XXXASG - // additional argument in the form of CORBA::Environment since TAO does not - // yet support Exceptions. However, we can have an option to the "tao" IDL - // compiler to ask it to generate code for exceptions. This will be handled - // in a later release. - *sh << " CORBA::Environment &env) = 0; // pure virtual\n"; - - sh->indent (); - - // generate the static method corresponding to this method - *sh << "static void " << this->local_name () << - "_skel (CORBA::ServerRequest &req, void *obj," - << " void *context, CORBA::Environment &env);\n\n"; - cg->pop (); // restore previous state - return 0; -} - -// Generate code for the operation skeleton that makes the upcall. -// Special Note: We deviate a bit from our policy of handing over code -// generation for elements in our scope to the be_scope class. For this method, -// it is best to simulate that behavior here as it involves a lot of -// complexity. -int -be_operation::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_type *rt; // type node for the return type - UTL_ScopeActiveIterator *si; // scope iterator - AST_Decl *d; // temp node - be_argument *bd = 0; // argument node - be_state *s; // state based code gen object - be_predefined_type *bpd=0; // predefined return type - be_interface *intf; // enclosing interface node - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ss = cg->server_skeletons (); - - ss->indent (); // start with the current indentation level - - // retrieve our enclosing interface decl - intf = be_interface::narrow_from_decl (ScopeAsDecl (this->defined_in ())); - - *ss << "void " << intf->full_skel_name () << "::" - << this->local_name () << "_skel (" - << "CORBA::ServerRequest &_tao_server_request, " - //@@XXASG << "CORBA::Object_ptr _tao_object_reference, " - << "void *_tao_object_reference, " - << "void *context, " - << "CORBA::Environment &_tao_environment)" << nl; - *ss << "{\n"; - ss->incr_indent (); - *ss << "ACE_UNUSED_ARG (context);" << nl; - - if (this->has_native ()) - { - // Native types cannot be exported... - *ss << "_tao_environment.exception (new CORBA::MARSHAL" - << " (CORBA::COMPLETED_NO));\n"; - } - else - { - // define an NVList to hold arguments - *ss << "CORBA::NVList_ptr nvlist;" << nl; - // define a variable that will eventually point to our - // implementation object - *ss << intf->full_skel_name () << "_ptr impl = (" - << intf->full_skel_name () << "_ptr) _tao_object_reference;" - << nl; - - // verify if we need to define a variable intended to hold the - // operation return type. We do not need one if the return type - // is void - - rt = be_type::narrow_from_decl (this->return_type ()); - if (!rt) - { - ACE_ERROR ((LM_ERROR, - "be_operation::gen_server_skeletons - bad " - "return type\n")); - return -1; - } - if (rt->node_type () == AST_Decl::NT_pre_defined) - { - bpd = be_predefined_type::narrow_from_decl (rt); - } - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - // not a void type - *ss << "CORBA::Any *result;" << nl; - - // emit the return type - - // emit type for return value - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS); - - // get a state based code gen object - s = cg->make_state (); - - if (s->gen_code (rt, this) == -1) - { - ACE_ERROR ((LM_ERROR, - "be_operation::gen_server_skeletons - " - "codegen failed for return type\n")); - return -1; - } - cg->pop (); - } - -#if 0 - // if we have any arguments, get each one of them and allocate - // an Any and NamedValue for each. In addition, define a - // variable of that type - cg->push (TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - " - "argument gen code failed\n"), - -1); - } - *ss << "\n"; - cg->pop (); -#endif - - // declare an NVList and create one - ss->indent (); - *ss << "// create an NV list and populate it with typecodes" << nl; - *ss << "_tao_server_request.orb ()->create_list (" - << this->argument_count () - << ", nvlist); // initialize a list" << nl; - - // add each argument according to the in, out, inout semantics - if (this->nmembers () > 0) - { - *ss << "// add each argument according to the " - << "in, out, inout semantics" << nl; - // if we have any arguments, insert its typecode and a - // pointer to storage for the variable - cg->push (TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS); - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::" - "gen_server_skeletons - " - "Bad state\n"), - -1); - } - - // 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 (); - if (!d->imported ()) - { - // only if this is an argument node - if (d->node_type () == AST_Decl::NT_argument) - { - bd = be_argument::narrow_from_decl (d); - if (!bd) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::" - "gen_server_skeletons - " - "Bad argument\n"), - -1); - } - bt = be_type::narrow_from_decl (bd->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::" - "gen_server_skeletons - " - "Bad type\n"), - -1); - } - // emit code that adds this argument to the - // NVList -#if 0 - *ss << "nv_" << bd->local_name () - << " = nvlist->add_value (\"" - << bd->local_name () << "\", " - << "any_" << bd->local_name () << ", "; - switch (bd->direction ()) - { - case AST_Argument::dir_IN: - *ss << "CORBA::ARG_IN, _tao_environment);" << nl; - break; - case AST_Argument::dir_INOUT: - *ss << "CORBA::ARG_INOUT, _tao_environment);" << nl; - break; - case AST_Argument::dir_OUT: - *ss << "CORBA::ARG_OUT, _tao_environment);" << nl; - break; - } -#endif - if (s->gen_code (bt, bd) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::" - "gen_server_skeletons - " - "state based code gen failed\n"), - -1); - } - } // end if argument node - } // end if ! imported - si->next (); - } // end of while - delete si; // free the iterator object - cg->pop (); - } // end of arg list - - // parse the arguments - *ss << "// parse the arguments" << nl; - *ss << "_tao_server_request.params (nvlist, _tao_environment);" << nl; - *ss << "if (_tao_environment.exception ()) return;" << nl; - - cg->push (TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - " - "argument gen code failed\n"), - -1); - } - cg->pop (); - - // make the upcall - // *ss << "impl = (" << intf->full_skel_name () - // << "_ptr) _tao_object_reference->get_subclass ();" - // << nl; - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS); - s = cg->make_state (); - // emit code to assign to retval - if (!s || (s->gen_code (rt, this) == -1)) - { - return -1; - } - *ss << " = impl->" << this->local_name () << "("; - cg->pop (); - } - else - { - // void return type - *ss << "impl->" << this->local_name () << "("; - } - - cg->push (TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - " - "argument in upcall\n"), - -1); - } - cg->pop (); - *ss << "_tao_environment);" << nl; - - cg->push (TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - " - "argument gen code failed\n"), - -1); - } - cg->pop (); - - // if there is any return type, send it via the ServerRequest - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - cg->push (TAO_CodeGen::TAO_OPERATION_RESULT_SS); - s = cg->make_state (); - if (!s || (s->gen_code (rt, this) == -1)) - return -1; - cg->pop (); - *ss << "_tao_server_request.result (result, " - << "_tao_environment);" << nl; - } - *ss << "\n"; - } - - ss->decr_indent (); - *ss << "}\n\n"; - - return 0; -} - -// Generates the client-side inline information -int -be_operation::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_operation::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// 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 5b55195a70d..00000000000 --- a/TAO/TAO_IDL/be/be_predefined_type.cpp +++ /dev/null @@ -1,465 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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_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; - } -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the predefined type -int -be_predefined_type::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - ch->indent (); - *ch << this->name (); - return 0; -} - -// Generates the client-side stubs for the predefined type -int -be_predefined_type::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - return 0; -} - -// Generates the server-side header information for the predefined type -int -be_predefined_type::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - sh = cg->server_header (); - - return 0; -} - -// Generates the server-side skeletons for the predefined type -int -be_predefined_type::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ss = cg->server_skeletons (); - - return 0; -} - -// Generates the client-side inline information -int -be_predefined_type::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_predefined_type::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_predefined_type::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - cs = cg->client_stubs (); - cs->indent (); // start from the current indentation level - - switch (this->pt ()) - { - case AST_PredefinedType::PT_void: - *cs << "CORBA::tk_void,\n\n"; - break; - case AST_PredefinedType::PT_short: - *cs << "CORBA::tk_short,\n\n"; - break; - case AST_PredefinedType::PT_ushort: - *cs << "CORBA::tk_ushort,\n\n"; - break; - case AST_PredefinedType::PT_long: - *cs << "CORBA::tk_long,\n\n"; - break; - case AST_PredefinedType::PT_ulong: - *cs << "CORBA::tk_ulong,\n\n"; - break; - case AST_PredefinedType::PT_longlong: - *cs << "CORBA::tk_longlong,\n\n"; - break; - case AST_PredefinedType::PT_ulonglong: - *cs << "CORBA::tk_ulonglong,\n\n"; - break; - case AST_PredefinedType::PT_float: - *cs << "CORBA::tk_float,\n\n"; - break; - case AST_PredefinedType::PT_double: - *cs << "CORBA::tk_double,\n\n"; - break; - case AST_PredefinedType::PT_longdouble: - *cs << "CORBA::tk_longdouble,\n\n"; - break; - case AST_PredefinedType::PT_boolean: - *cs << "CORBA::tk_boolean,\n\n"; - break; - case AST_PredefinedType::PT_char: - *cs << "CORBA::tk_char,\n\n"; - break; - case AST_PredefinedType::PT_octet: - *cs << "CORBA::tk_octet,\n\n"; - break; - case AST_PredefinedType::PT_any: - *cs << "CORBA::tk_any,\n\n"; - break; - case AST_PredefinedType::PT_wchar: - *cs << "CORBA::tk_wchar,\n\n"; - break; - case AST_PredefinedType::PT_pseudo: - *cs << "CORBA::tk_objref,\n\n"; - } - return 0; -} - -long -be_predefined_type::tc_size (void) -{ - return 4; // for the enum value -} - -long -be_predefined_type::tc_encap_len (void) -{ - // XXXASG - TODO what if it was of type Object? or one of the pseudo-objects - return 0; // no encapsulation -} - -int -be_predefined_type::gen_encapsulation (void) -{ - // XXXASG - TODO what if it was of type Object? or one of the pseudo-objects - return 0; // nothing to be done -} - -// 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; -} - -int be_predefined_type::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name (); - // check if the type is an any - if (this->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *stream << " *"; - } - else if (this->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *stream << "_ptr"; - } - return 0; -} - -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 817fb6af65d..00000000000 --- a/TAO/TAO_IDL/be/be_produce.cpp +++ /dev/null @@ -1,198 +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. - - */ - -// 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" - -#include "be_interpretive.h" - -/* - * Do the work of this BE. This is the starting point for code generation. - */ - -void -BE_produce() -{ - be_root *root; // root of the AST made up of BE nodes - be_visitor *root_visitor; // visitor for root - be_visitor_context ctx; // context information for the visitor root - - // XXXASG - Here is where we will have a choice of what to initialize i.e., - // whether we want a visitor generating "interpetive" or "compiled" form of - // stubs/skeletons - // TODO - to do this elegantly. - // right now we just force it to be the interpretive one. - tao_cg->visitor_factory (new TAO_Interpretive_Visitor_Factory); - - AST_Decl *d = idl_global->root (); // get the root - - root = be_root::narrow_from_decl (d); // narrow it to the "be_root" - if (!root) // no 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 - root_visitor = tao_cg->make_visitor (&ctx); - if (root->accept (root_visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "client header for Root failed\n")); - BE_abort(); - } - (void) tao_cg->end_client_header (); // generate the last #endif - delete root_visitor; // it is our responsibility to free up the visitor - - // (2) generate client inline - // set the context information - ctx.state (TAO_CodeGen::TAO_ROOT_CI); - // create a visitor - root_visitor = tao_cg->make_visitor (&ctx); - if (root->accept (root_visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "client inline for Root failed\n")); - BE_abort(); - } - delete root_visitor; // it is our responsibility to free up the visitor - - - // (3) generate client stubs - ctx.state (TAO_CodeGen::TAO_ROOT_CS); - // create a visitor - root_visitor = tao_cg->make_visitor (&ctx); - if (root->accept (root_visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "client stubs for Root failed\n")); - BE_abort(); - } - delete root_visitor; // it is our responsibility to free up the visitor - - // (4) generate server header - ctx.state (TAO_CodeGen::TAO_ROOT_SH); - // create a visitor - root_visitor = tao_cg->make_visitor (&ctx); - if (root->accept (root_visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "server header for Root failed\n")); - BE_abort(); - } - (void) tao_cg->end_server_header (); // generate the last #endif - delete root_visitor; // it is our responsibility to free up the visitor - - // (5) generate server inline - ctx.state (TAO_CodeGen::TAO_ROOT_SI); - // create a visitor - root_visitor = tao_cg->make_visitor (&ctx); - if (root->accept (root_visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "server inline for Root failed\n")); - BE_abort(); - } - delete root_visitor; // it is our responsibility to free up the visitor - - // (6) generate server skeletons - ctx.state (TAO_CodeGen::TAO_ROOT_SS); - // create a visitor - root_visitor = tao_cg->make_visitor (&ctx); - if (root->accept (root_visitor) == -1) - { - ACE_ERROR ((LM_ERROR, - "(%N:%l) be_produce - " - "server skeletons for Root failed\n")); - BE_abort(); - } - delete root_visitor; // it is our responsibility to free up the visitor -} - -/* - * Abort this run of the BE - */ -void -BE_abort() -{ - cerr << "Fatal Error" << endl; - 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 96dcb1065d6..00000000000 --- a/TAO/TAO_IDL/be/be_root.cpp +++ /dev/null @@ -1,315 +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" - -// 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) - -{ -} - -// ===================================================== -// CODE GENERATION METHODS -// ===================================================== - -// Starting point for the code generation. Called inside BE_produce () -int be_root::gen_idl2cplusplus_mapping (void) -{ - // this is the main starting point from which the files are generated. We - // delegate the task of code generation to a special Code Generation - // object. This allows a number of different front ends to access the services - // of a single code generator - - // C++ mapping involves producing 6 files. These include the client and - // server side headers, the client and server side inlines, as well as client - // stubs and server skeletons. - if (this->gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating client header file: %s\n", - idl_global->be_get_client_hdr_fname ())); - return -1; - } - if (this->gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating client inline file: %s\n", - idl_global->be_get_client_inline_fname ())); - return -1; - } - if (this->gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating client stubs file: %s\n", - idl_global->be_get_client_stub_fname ())); - return -1; - } - if (this->gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating server header file: %s\n", - idl_global->be_get_server_hdr_fname ())); - return -1; - } - if (this->gen_server_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating server inline file: %s\n", - idl_global->be_get_server_inline_fname ())); - return -1; - } - if (this->gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating server skeleton file: %s\n", - idl_global->be_get_server_skeleton_fname ())); - return -1; - } - - return 0; -} - -// generate client header -int be_root::gen_client_header (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_CH); // set the code generation state - - // open the client-side header file - if (cg->client_header (idl_global->be_get_client_hdr_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening client header\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - (void) cg->end_client_header (); // generate the last #endif - return 0; -} - -// Generates the client-side stubs for the root -int be_root::gen_client_stubs (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_CS); // set the code generation state - - // open the client-side stub file - if (cg->client_stubs (idl_global->be_get_client_stub_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening client stubs file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// Generates the client-side inlines for the root -int be_root::gen_client_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_CI); // set the code generation state - - // open the client-side inline file - if (cg->client_inline (idl_global->be_get_client_inline_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening client inline file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// Generates the server-side header information for the root -int be_root::gen_server_header (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_SH); // set the code generation state - - // open the server-side header file - if (cg->server_header (idl_global->be_get_server_hdr_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening server header\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_root: server code generation for scope failed\n")); - return -1; - } - - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - (void) cg->end_server_header (); // generate the last #endif statement - return 0; -} - -// Generates the server-side skeletons for the root -int be_root::gen_server_skeletons (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_SS); // set the code generation state - - // open the server-side skeleton file - if (cg->server_skeletons (idl_global->be_get_server_skeleton_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening server skeletons file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// Generates the server-side inlines for the root -int be_root::gen_server_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_SI); // set the code generation state - - // open the server-side inline file - if (cg->server_inline (idl_global->be_get_server_inline_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening server inline file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_server_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// 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 1842d29143a..00000000000 --- a/TAO/TAO_IDL/be/be_scope.cpp +++ /dev/null @@ -1,496 +0,0 @@ -// -// $Id$ -// -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// 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_; -} - -int -be_scope::gen_client_header (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *os = cg->client_header (); // output stream - - 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 (); - if (!d->imported ()) - { - // we are not imported. - - // NOTE: Our assumption here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - // The FE does some strange things in which items get added to - // the enclosing scope as well as the scope that encloses the - // enclosing scope. We do not want to generate code for items - // that do not belong to the appropriate scope - - bd = be_decl::narrow_from_decl (d); - // @@ Despite the comment above the following code will - // crash without the if() around it. - if (bd != 0) - { - if (bd->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_client_header failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_client_header - " - "narrow_from_decl returned 0\n")); - } - } // no imported - si->next (); - if (!si->is_done () && this->comma_) - { - *os << ", "; // generate a comma - } - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_client_stubs (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *os = cg->client_stubs (); // output stream - - 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 (); - if (!d->imported ()) - { - // we are not imported. - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - // @@ Despite the comment above the following code will - // crash without the if() around it. - if (bd != 0) - { - if (bd->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_client_stubs failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_client_stubs - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - if (!si->is_done () && this->comma_) - { - *os << ", "; // generate a comma - } - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_client_inline (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *os = cg->client_inline (); // output stream - - 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 (); - if (!d->imported ()) - { - // we are not imported. - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_client_inline failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_client_inline - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - if (!si->is_done () && this->comma_) - { - *os << ", "; // generate a comma - } - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_server_header (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *os = cg->server_header (); // output stream - - 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 (); - if (!d->imported ()) - { - // we are not imported. - // we are not imported. - - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_server_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_server_header failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_server_header - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - if (!si->is_done () && this->comma_) - { - *os << ", "; // generate a comma - } - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_server_skeletons (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *os = cg->server_skeletons (); // output stream - - 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 (); - if (!d->imported ()) - { - // we are not imported. - - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_server_skeletons failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l): be_scope::gen-server_skeletons - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - if (!si->is_done () && this->comma_) - { - *os << ", "; // generate a comma - } - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_server_inline (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *os = cg->server_inline (); // output stream - - 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 (); - - if (!d->imported ()) - { - // we are not imported. - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_server_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_server_inline failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l): be_scope::gen_server_inline - " - "narrow_from_decl returned 0\n")); - } - } - si->next (); - if (!si->is_done () && this->comma_) - { - *os << ", "; // generate a comma - } - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_encapsulation (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - // 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 (); - bd = be_decl::narrow_from_decl (d); - if (bd->gen_encapsulation () == -1) - { - // failure - return -1; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -long -be_scope::tc_encap_len (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - long encap_len = 0; - - 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 (); - - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - encap_len += bd->tc_encap_len (); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l): be_scope::tc_encap_len - " - "narrow_from_decl returned 0\n")); - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return encap_len; -} - -// 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 6ffdfbe8997..00000000000 --- a/TAO/TAO_IDL/be/be_sequence.cpp +++ /dev/null @@ -1,2646 +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" - -/* - * 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) - { - this->mt_ = be_sequence::MNG_OBJREF; - } - else - { - this->mt_ = be_sequence::MNG_NONE; - } - } - break; - default: - this->mt_ = be_sequence::MNG_NONE; - } // end of switch - } - return this->mt_; -} - -int -be_sequence::gen_client_header (void) -{ -#if 0 /* visitor code */ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // state based code gen object -#endif /* visitor code */ - - if (!this->cli_hdr_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // first create a name for ourselves. We defer name creation for - // ourselves to this point since named sequences should get the name - // of the typedef node, else some other technique of name generation - // should be used. - if (this->create_name () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_header - name creation failed\n"), - -1); - } - - be_visitor *visitor_seq_ch = cg->make_visitor (0); - // (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - - if (this->accept (visitor_seq_ch) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence - " - "gen_client_header" - "\n"), - -1); - } - -#if 0 /* visitor code */ - ch = cg->client_header (); - - // generate the ifdefined macro for the sequence type - ch->gen_ifdef_macro (this->flatname ()); - - ch->indent (); // start with the current indentation level - - *ch << "// *************************************************************" - << nl; - *ch << "// class " << this->local_name () << nl; - *ch << "// *************************************************************" - << nl << nl; - - *ch << "class " << idl_global->export_macro () - << " " << this->local_name () << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (0); - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence.cpp - " - "Bad base type\n"), - -1); - } - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); // set current code gen - // state - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence.cpp - " - "base type codegen failed\n"), - -1); - } - cg->pop (); - - // now generate the sequence body - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "bad state\n"), - -1); - } - - // generate constructors - ch->indent (); - *ch << this->local_name () << " (void); // default constructor" << nl; - // check whether we are bounded or not. Depending on that the mapping is - // slightly different as shown below - if (this->unbounded_) - { - *ch << local_name () << " (CORBA::ULong max);" << nl; - *ch << local_name () << " (CORBA::ULong max, CORBA::ULong length, " << nl; - } - else - { - // bounded seq does not take the "max" argument - *ch << local_name () << " (CORBA::ULong length, " << nl; - } - - *ch << " "; - // generate the type info for the element type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - - *ch << " *value, CORBA::Boolean release=CORBA::B_FALSE);" << nl; - *ch << local_name () << "(const " << local_name () << - " &); // copy constructor" << nl; - *ch << "~" << this->local_name () << " (void);" << nl; - *ch << this->local_name () << " &operator= (const " << - this->local_name () << " &);" << nl; - *ch << "CORBA::ULong maximum (void) const;" << nl; - *ch << "void length (CORBA::ULong);" << nl; - *ch << "CORBA::ULong length (void) const;" << nl; - - // we need a new state here because the [] operator for strings and obj - // references returns a managed type as opposed to the normal type - cg->push (TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH); - s = cg->make_state (); - if (!s || s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - *ch << "operator[] (CORBA::ULong index);" << nl; - *ch << "const "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - *ch << "operator[] (CORBA::ULong index) const;" << nl; - cg->pop (); // back to the previous state - - s = cg->make_state (); - // generate the static allocbuf and freebuf methods - *ch << "static "; - if (!s || s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - *ch << " *allocbuf (CORBA::ULong nelems);" << nl; - *ch << "static void freebuf ("; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - *ch << " *);\n" ; - - // the spec says that for managed sequence types, the freebuf method - // should individually free up the elements before deleting the - // buffer. However, freebuf does not have a parameter that indicates the - // total number of elements that are in the buffer. Hence we provide a - // helper method to freebuf - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - case be_sequence::MNG_STRING: - ch->indent (); - *ch << "static void freebuf (" << nl; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - *ch << " *, CORBA::ULong);\n" ; - break; - default: - break; - } - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << "CORBA::ULong maximum_;" << nl; - *ch << "CORBA::ULong length_;" << nl; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "state based codegen failed\n"), - -1); - } - - *ch << " *buffer_;" << nl; - *ch << "CORBA::Boolean release_;\n"; - ch->decr_indent (); - *ch << "};\n"; - ch->indent (); - *ch << "typedef " << this->local_name () << "* " - << this->local_name () << "_ptr;\n"; - // Generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - - ch->gen_endif (); // endif macro - - // generate the ifdefined macro for the var type - ch->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the var and out types - if (this->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "codegen for _var failed\n"), - -1); - } - - ch->gen_endif (); - - // generate the ifdefined macro for the var type - ch->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_header - " - "codegen for _out failed\n"), - -1); - } - ch->gen_endif (); - - cg->pop (); -#endif /* visitor code */ - - this->cli_hdr_gen_ = I_TRUE; - } // if (cli_hdr_gen_) - return 0; -} - -int -be_sequence::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line -#if 0 /* visitor code */ - be_type *bt; // base type - be_state *s; //state object -#endif /* visitor code */ - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); // retrieve the client stubs stream - // generate the ifdefined macro for the sequence type - cs->gen_ifdef_macro (this->flatname ()); - -#if 0 /* visitor code */ - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "bad type\n"), - -1); - } - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - s = cg->make_state (); - - // generate stubs for our base type if it itself is a sequence or we - // need to generate code for our managed types - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "state based codegen failed\n"), - -1); - } - - cg->pop (); - - // generate the methods of the sequence C++ mapping - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CS); - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "bad state\n"), - -1); - } - - - *cs << "// *************************************************************" - << nl; - *cs << "// class " << this->name () << nl; - *cs << "// *************************************************************\n\n"; - - // copy constructor - cs->indent (); - *cs << "// copy constructor" << nl; - *cs << this->name () << "::" << this->local_name () << - " (const " << this->name () << " &seq)" << nl; - *cs << " : maximum_ (seq.maximum_)," << nl; - *cs << " length_ (seq.length_)," << nl; - *cs << " buffer_ (" << this->name () << "::allocbuf (seq.maximum_))," - << nl; - *cs << " release_ (1) // we always own it" << nl; - *cs << "{\n"; - cs->incr_indent (); - // copy each element - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << "{" << nl; - *cs << " this->buffer_[i] = " << bt->name () << "::_duplicate (" - << "seq.buffer_[i]);" << nl; - *cs << "}\n"; - } - break; - case be_sequence::MNG_STRING: - { - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << "{" << nl; - *cs << " this->buffer_[i] = CORBA::string_dup (" << - "seq.buffer_[i]);" << nl; - *cs << "}\n"; - } - break; - default: // all other types are self managed, just assign them. - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << " this->buffer_[i] = seq.buffer_[i];\n"; - } - cs->decr_indent (); - *cs << "}\n\n"; - - // constructor only for unbounded seq. This takes in "max length" - if (this->unbounded_) - { - cs->indent (); - *cs << "// constructor for unbounded seq" << nl; - *cs << this->name () << "::" << this->local_name () << - "(CORBA::ULong max )" << nl; - *cs << " : maximum_ (max)," << nl; - *cs << " length_ (0)," << nl; - *cs << " buffer_ (" << this->name () << "::allocbuf (max))," << nl; - *cs << " release_ (1) // owns" << nl; - *cs << "{\n"; - *cs << "}\n\n"; - } - - // constructor that takes in the data buffer - cs->indent (); - *cs << "// constructor from data buffer" << nl; - *cs << this->name () << "::" << this->local_name (); - // depending on whether we are bounded or not, the constructor has - // different sets of parameters - if (this->unbounded_) - { - *cs << " (CORBA::ULong max, CORBA::ULong length, " << nl; - } - else - { - // bounded seq does not take the "max" argument - *cs << " (CORBA::ULong length, " << nl; - } - *cs << " "; - if (s->gen_code (bt, this) == -1) - return -1; - *cs << " *value, CORBA::Boolean release)" << nl; - // for unbounded we have the additional max parameter - if (this->unbounded_) - { - *cs << " : maximum_ (max)," << nl; - } - else - { - *cs << " : maximum_ (" << this->max_size () << ")," << nl; - } - *cs << " length_ (length)," << nl; - *cs << " buffer_ (value)," << nl; - *cs << " release_ (release) // ownership depends on release" << nl; - *cs << "{\n"; - *cs << "}\n\n"; - - // destructor - cs->indent (); - *cs << "// destructor" << nl; - *cs << this->name () << "::~" << this->local_name () << " (void)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_) // we own the buffer" << nl; - *cs << "{\n"; - cs->incr_indent (); - - // only for obj references and strings, we need to free each individual - // element - // call the appropriate freebuf on the buffer - if (this->managed_type () != be_sequence::MNG_NONE) - { - *cs << this->name () << "::freebuf (this->buffer_, " << - "this->maximum_);\n"; - } - else - *cs << this->name () << "::freebuf (this->buffer_);\n"; - - cs->decr_indent (); - *cs << "}\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator - cs->indent (); - *cs << "// assignment operator" << nl; - *cs << this->name () << "& " << nl; - *cs << this->name () << "::operator=" << - " (const " << this->name () << " &seq)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // check for equality - *cs << "if (this == &seq) return *this;" << nl; - // otherwise, if release flag, free the buffer - *cs << "if (this->release_)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // only for obj references and strings, we need to free each individual - // element - // call the appropriate freebuf on the buffer - if (this->managed_type () != be_sequence::MNG_NONE) - { - *cs << this->name () << "::freebuf (this->buffer_, " << - "this->maximum_);\n"; - } - else - *cs << this->name () << "::freebuf (this->buffer_);\n"; - - cs->decr_indent (); - *cs << "}" << nl; - - *cs << "this->length_ = seq.length_;" << nl; - *cs << "this->maximum_ = seq.maximum_;" << nl; - *cs << "this->buffer_ = " << this->name () << "::allocbuf (seq.maximum_)," - << nl; - *cs << "this->release_ = 1; // we always own it" << nl; - // copy each element - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << "{" << nl; - *cs << " this->buffer_[i] = " << bt->name () << "::_duplicate (" - << "seq.buffer_[i]);" << nl; - *cs << "}" << nl; - } - break; - case be_sequence::MNG_STRING: - { - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << "{" << nl; - *cs << " this->buffer_[i] = CORBA::string_dup (" << - "seq.buffer_[i]);" << nl; - *cs << "}" << nl; - } - break; - default: // all other types are self managed, just assign them. - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << " this->buffer_[i] = seq.buffer_[i];" << nl; - } - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // the length method - cs->indent (); - *cs << "void" << nl; - *cs << this->name () << "::length (CORBA::ULong length)" << nl; - *cs << "{\n"; - cs->incr_indent (); - if (!this->unbounded_) // bounded sequence - we cannot increase length - // more than its max => no reallocation necessary - { - // The sequence has a maximum length, check that the new - // length is valid before changing anything. - *cs << "if (length > this->maximum_)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "// @@ throw something?" << nl; - *cs << "return;\n"; - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->length_ = length;\n"; - } - else // unbounded buffer - may need reallocation - { - // Reallocate the buffer. - *cs << "if (length > this->maximum_) // need realloc" << nl; - *cs << "{\n"; - cs->incr_indent (); - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "bad state\n"), - -1); - } - - *cs << " *tmp = " << this->name () - << "::allocbuf (length);" << nl; - *cs << "if (!tmp)" << nl; - *cs << " return;" << nl; - - // copy each element. Allocate a new manager and initialize it. - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - *cs << "CORBA::ULong i;" << nl; - *cs << "// copy old buffer" << nl; - *cs << "for (i=0; i < this->length_; i++)" << nl; - *cs << "{" << nl; - *cs << " tmp[i] = " << bt->name () << "::_duplicate (" - << "this->buffer_[i]);" << nl; - *cs << "}" << nl; - } - break; - case be_sequence::MNG_STRING: - { - *cs << "CORBA::ULong i;" << nl; - *cs << "// copy old buffer" << nl; - *cs << "for (i=0; i < this->length_; i++)" << nl; - *cs << "{" << nl; - *cs << " tmp[i] = CORBA::string_dup (" << - "this->buffer_[i]);" << nl; - *cs << "}" << nl; - } - break; - default: // all other types are self managed, just assign them. - { - *cs << "CORBA::ULong i;" << nl; - *cs << "// copy old buffer" << nl; - *cs << "for (i=0; i < this->length_; i++)" << nl; - *cs << "{" << nl; - *cs << " tmp[i] = this->buffer_[i];" << nl; - *cs << "}" << nl; - } - } - // if release is set, we must free the previous buffer - *cs << "if (this->release_) // free old one if we own it" << nl; - *cs << "{\n"; - cs->incr_indent (); - // only for obj references and strings, we need to free each individual - // element. Others are self managed. - // call the appropriate freebuf on the buffer - if (this->managed_type () != be_sequence::MNG_NONE) - { - *cs << this->name () << "::freebuf (this->buffer_, " << - "this->maximum_);\n"; - } - else - *cs << this->name () << "::freebuf (this->buffer_);\n"; - - cs->decr_indent (); - *cs << "}" << nl; - - *cs << "//assign the newly reallocated buffer" << nl; - *cs << "this->buffer_ = tmp;" << nl; - *cs << "this->release_ = 1; //after reallocation, we own it" << nl; - *cs << "this->maximum_ = length;\n"; - cs->decr_indent (); - *cs << "}" << nl;; - *cs << "this->length_ = length;\n"; - } - cs->decr_indent (); - *cs << "}\n\n"; - - // the allocbuf method - cs->indent (); - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "state based codegen failed\n"), - -1); - } - - *cs << " *" << nl; - *cs << this->name () << "::allocbuf (CORBA::ULong nelems)" << nl; - *cs << "{\n"; - cs->incr_indent (); - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "state based codegen failed\n"), - -1); - } - - *cs << " *buf = new "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "state based codegen failed\n"), - -1); - } - *cs << "[nelems]; // allocate from heap" << nl; - // the managed types must be initilaized - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - *cs << "for (CORBA::ULong i=0; i < nelems; i++)" << nl; - *cs << " buf[i] = " << bt->name () << "::_nil ();" << nl; - } - break; - case be_sequence::MNG_STRING: - { - *cs << "for (CORBA::ULong i=0; i < nelems; i++)" << nl; - *cs << " buf[i] = (char *)0;" << nl; - } - break; - } - *cs << "return buf;\n"; - - cs->decr_indent (); - *cs << "}\n\n"; - - // extra freebuf method for managed types - if (this->managed_type () != MNG_NONE) - { - cs->indent (); - *cs << "void" << nl; - *cs << this->name () << "::freebuf ("; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "state based codegen failed\n"), - -1); - } - - *cs << " *seq, CORBA::ULong nelems)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (!seq) return; // null sequence" << nl; - // the managed types must be individually freed. The others will have - // their destructors called. - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - *cs << "for (CORBA::ULong i=0; i < nelems; i++)" << nl; - *cs << " CORBA::release (seq[i]);" << nl; - } - break; - case be_sequence::MNG_STRING: - { - *cs << "for (CORBA::ULong i=0; i < nelems; i++)" << nl; - *cs << " CORBA::string_free (seq[i]);" << nl; - } - break; - } - *cs << this->name () << "::freebuf (seq);\n"; - cs->decr_indent (); - *cs << "}\n\n"; - } -#endif /* visitor code */ - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "codegen for encapsulation failed\n"), - -1); - } - - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_sequence, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - -#if 0 - cg->pop (); -#endif - this->cli_stub_gen_ = I_TRUE; - - cs->gen_endif (); - } - return 0; -} - -// Generates the client-side inline information -int -be_sequence::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream -#if 0 /* visitor code */ - TAO_NL nl; // end line - be_state *s; // code gen state - be_type *bt; // base type -#endif /* visitor code */ - - if (!this->cli_inline_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); -#if 0 - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "bad type\n"), - -1); - } - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - s = cg->make_state (); - - // generate inline methods for our base type if it itself is a sequence - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "state based codegen failed\n"), - -1); - } - cg->pop (); - - // generate the methods of the sequence C++ mapping - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CI); - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "bad state\n"), - -1); - } - - // generate the ifdefined macro for type - ci->gen_ifdef_macro (this->flatname ()); - - *ci << "// *************************************************************" - << nl; - *ci << "// class " << this->name () << nl; - *ci << "// *************************************************************\n\n"; - - // freebuf method - ci->indent (); - *ci << "ACE_INLINE void" << nl; - *ci << this->name () << "::freebuf ("; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "state based codegen failed\n"), - -1); - } - - *ci << " *seq)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete []seq;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // default constructor - ci->indent (); - *ci << "//default constructor" << nl; - *ci << "ACE_INLINE " << nl; - *ci << this->name () << "::" << this->local_name () << " (void)" << nl; - // for bounded and unbounded, initialize the data members differently - if (this->unbounded_) - { - *ci << " : maximum_ (0)," << nl; - *ci << " length_ (0)," << nl; - *ci << " buffer_ (0)," << nl; - *ci << " release_ (0) // does not own" << nl; - } - else - { - *ci << " : maximum_ (" << this->max_size () << ")," << nl; - *ci << " length_ (0)," << nl; - *ci << " buffer_ (" << this->name () << "::allocbuf (" << - this->max_size () << "))," << nl; - *ci << " release_ (1) // owns" << nl; - } - *ci << "{}\n\n"; - - // the maximum method - ci->indent (); - *ci << "ACE_INLINE CORBA::ULong" << nl; - *ci << this->name () << "::maximum (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->maximum_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the length method - ci->indent (); - *ci << "ACE_INLINE CORBA::ULong" << nl; - *ci << this->name () << "::length (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->length_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - cg->pop (); - - // subscript operators (1) read-only, (2) read/write - cg->push (TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI); - s = cg->make_state (); - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "bad state\n"), - -1); - } - - ci->indent (); - *ci << "ACE_INLINE "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "state based codegen failed\n"), - -1); - } - - *ci << nl; - *ci << this->name () << "::operator[] (CORBA::ULong index) // read/write" - << nl; - *ci << "{\n"; - ci->incr_indent (); - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - *ci << "return " << this->name () << "::TAO_ObjRefMngType (" << - "&this->buffer_[index], this->release_);\n"; - break; - case be_sequence::MNG_STRING: - *ci << "return " << this->name () << "::TAO_StrMngType (" << - "&this->buffer_[index], this->release_);\n"; - break; - default: - *ci << "return this->buffer_[index];\n"; - } - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE const "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "state based codegen failed\n"), - -1); - } - - *ci << nl; - *ci << this->name () << "::operator[] (CORBA::ULong index) const // read" - << nl; - *ci << "{\n"; - ci->incr_indent (); - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - *ci << "return " << this->name () << "::TAO_ObjRefMngType (" << - "&this->buffer_[index], this->release_);\n"; - break; - case be_sequence::MNG_STRING: - *ci << "return " << this->name () << "::TAO_StrMngType (" << - "&this->buffer_[index], this->release_);\n"; - break; - default: - *ci << "return this->buffer_[index];\n"; - } - ci->decr_indent (); - *ci << "}\n\n"; - cg->pop (); - ci->gen_endif (); // endif macro -#endif - // generate the ifdefined macro for the var type - ci->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the implementations for the _var and _impl classes - if (this->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "var implementation failed\n"), - -1); - } - ci->gen_endif (); - - // generate the ifdefined macro for the var type - ci->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_inline - " - "out impl failed\n"), - -1); - } - ci->gen_endif (); // endif macro - - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -int -be_sequence::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -int -be_sequence::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_sequence::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate the _var definition for ourself -int -be_sequence::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - be_state *s; // code gen state - be_type *bt; // base type - be_decl *scope; // our enclosing scope - - - 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 (); - - *ch << "// *************************************************************" - << nl; - *ch << "// class " << this->name () << "_var" << nl; - *ch << "// *************************************************************\n\n"; - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "state based codegen failed\n"), - -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - if (this->defined_in ()) - scope = be_scope::narrow_from_scope (this->defined_in ())->decl (); - else - scope = 0; - - // 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 << " (" << this->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= (" << this->local_name () << " *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << this->local_name () << " *operator-> (void);" << nl; - *ch << "const " << this->local_name () << " *operator-> (void) const;" << nl; - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - - // cast operator - *ch << "operator const " << this->local_name () << " &() const;" << nl; - *ch << "operator " << this->local_name () << " &();" << nl; - *ch << "operator " << this->local_name () << " &() const;" << nl; - - // overloaded [] operator. The const version is not required for sequences - -#if 0 - switch (this->managed_type ()) - { - case be_sequence::MNG_STRING: - if (scope) - { - *ch << "ACE_NESTED_CLASS (" << scope->name () << "," << - this->local_name () << "::TAO_StrMngType) "; - } - else - { - *ch << this->local_name () << "::TAO_StrMngType "; - } - break; - case be_sequence::MNG_OBJREF: - if (scope) - { - *ch << "ACE_NESTED_CLASS (" << scope->name () << "," << - this->local_name () << "::TAO_ObjRefMngType) "; - } - else - { - *ch << this->local_name () << "::TAO_ObjRefMngType "; - } - break; - default: - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "state based codegen failed\n"), - -1); - } - *ch << " &"; - } - - be_visitor_sequence_elemtype elemtype (ch, this, bt); - if (bt->accept (&elemtype) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "[] ret type gen failed\n"), - -1); - } -#endif - - *ch << "operator[] (CORBA::ULong index);" << 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 << "const " << this->local_name () << " &in (void) const;" << nl; - *ch << this->local_name () << " &inout (void);" << nl; - *ch << this->local_name () << " *&out (void);" << nl; - *ch << this->local_name () << " *_retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << this->local_name () << " *ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << this->local_name () << " *ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - cg->pop (); - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_sequence::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - be_state *s; // code gen state - be_type *bt; // base type - - - 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", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CI); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_var_impl - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // 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"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << " " << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - 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) // deep copy" << 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"; - - // operator [] - ci->indent (); - *ci << "ACE_INLINE "; - -#if 0 - switch (this->managed_type ()) - { - case be_sequence::MNG_STRING: - *ci << this->name () << "::TAO_StrMngType "; - break; - case be_sequence::MNG_OBJREF: - *ci << this->name () << "::TAO_ObjRefMngType "; - break; - default: - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_impl - " - "state based codegen failed\n"), - -1); - } - *ci << " &"; - } - - be_visitor_sequence_elemtype elemtype (ci, 0, bt); - if (bt->accept (&elemtype) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "[] ret type gen failed\n"), - -1); - } -#endif - - - *ci << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_->operator[] (index);\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"; - - ci->indent (); - *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"; - - // 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"; - - cg->pop (); - - return 0; -} - -// generate the _out definition -int -be_sequence::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - be_state *s; // code gen state - be_type *bt; // base type - be_decl *scope; // our enclosing scope - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_out_defn - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - if (this->defined_in ()) - scope = be_scope::narrow_from_scope (this->defined_in ())->decl (); - else - scope = 0; - - // 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 << " (" << this->local_name () << " *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << this->local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *ch << namebuf << " &operator= (" << this->local_name () << " *);" << nl; - // operator () - *ch << "operator " << this->local_name () << " *&();" << nl; - // ptr fn - *ch << this->local_name () << " *&ptr (void);" << nl; - // operator -> - *ch << this->local_name () << " *operator-> (void);" << nl; - - // overloaded [] operator only for sequence. The const version is not - // required - -#if 0 - switch (this->managed_type ()) - { - case be_sequence::MNG_STRING: - if (scope) - { - *ch << "ACE_NESTED_CLASS (" << scope->name () << "," << - this->local_name () << "::TAO_StrMngType) "; - } - else - { - *ch << this->local_name () << "::TAO_StrMngType "; - } - break; - case be_sequence::MNG_OBJREF: - if (scope) - { - *ch << "ACE_NESTED_CLASS (" << scope->name () << "," << - this->local_name () << "::TAO_ObjRefMngType) "; - } - else - { - *ch << this->local_name () << "::TAO_ObjRefMngType "; - } - break; - default: - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_out_defn - " - "state based codegen failed\n"), - -1); - } - *ch << " &"; - } - - be_visitor_sequence_elemtype elemtype(ch, this, bt); - if (bt->accept (&elemtype) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "[] ret type gen failed\n"), - -1); - } -#endif - - *ch << "operator[] (CORBA::ULong index);" << nl; - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - - *ch << this->local_name () << " *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << this->local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - cg->pop (); - return 0; -} - -int -be_sequence::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - be_state *s; // code gen state - be_type *bt; // base type - - - 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", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CI); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_out_impl - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // generate the out 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 << " (" << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 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"; - - // sequence has an additional method - ci->indent (); - *ci << "ACE_INLINE "; -#if 0 - switch (this->managed_type ()) - { - case be_sequence::MNG_STRING: - *ci << this->name () << "::TAO_StrMngType "; - break; - case be_sequence::MNG_OBJREF: - *ci << this->name () << "::TAO_ObjRefMngType "; - break; - default: - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_out_impl - " - "state based codegen failed\n"), - -1); - } - *ci << " &"; - } - - be_visitor_sequence_elemtype elemtype (ci, 0, bt); - if (bt->accept (&elemtype) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_var_defn - " - "[] ret type gen failed\n"), - -1); - } -#endif - - - *ci << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_->operator[] (index);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - cg->pop (); - return 0; -} - -// generate the managed type -int -be_sequence::gen_managed_type_ch (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - char typebuf [NAMEBUFSIZE]; // generated type - be_type *bt; // base type - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_gen_managed_type_ch - " - "state based codegen failed\n"), - -1); - } - - // set the name of the generated class - // the name depends on whether we are interface type or a string type - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (typebuf, '\0', NAMEBUFSIZE); - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - ACE_OS::sprintf (namebuf, "%s", "TAO_ObjRefMngType"); - ACE_OS::sprintf (typebuf, "%s", bt->nested_type_name (this, "_ptr")); - } - break; - case be_sequence::MNG_STRING: - { - ACE_OS::sprintf (namebuf, "%s", "TAO_StrMngType"); - ACE_OS::sprintf (typebuf, "%s", "char *"); - } - break; - default: - // cannot be here - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_gen_managed_type_ch - " - "bad managed type\n"), - -1); - } - } - - 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 (); - // generate the friend instruction - *ch << "friend " << this->local_name () << ";" << nl; - // default constr is protected as this managed type is not available - // outside. Only this sequence can play with it. - //*ch << namebuf << " (void); // default constructor" << nl; - // copy constructor - *ch << namebuf << "(const " << namebuf << " &); // copy ctor " << nl; - // the constructor that will be used - if (this->managed_type () == be_sequence::MNG_STRING) - { - *ch << namebuf << "(char **buffer, CORBA::Boolean release);" << nl; - } - else - { - *ch << namebuf << "(" << bt->nested_type_name (this, "_ptr*") << - ", CORBA::Boolean release);" << nl; - } - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from another managed type - *ch << namebuf << " &operator= (const " << namebuf << "&);" << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << typebuf << ");" << nl; - - // others - if (this->managed_type () == be_sequence::MNG_STRING) - { - // assignment operator from a pointer to const - *ch << namebuf << " &operator= (const " << typebuf << ");" << nl; - // cast op - *ch << "operator const char*() const;" << nl; - *ch << "operator char *();" << nl; - // overloaded [] operator - only for strings - *ch << "char &operator[] (CORBA::ULong index);" << nl; - *ch << "const char &operator[] (CORBA::ULong index) 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 - *ch << "const char *in (void) const;" << nl; - *ch << "char *&inout (void);" << nl; - *ch << "char *&out (void);" << nl; - *ch << "char *_retn (void);" << nl; - } - else - { - *ch << "operator const " << bt->nested_type_name (this, "_ptr") << - " &() const;" << nl; - *ch << "operator " << bt->nested_type_name (this, "_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 << "const " << bt->nested_type_name (this, "_ptr") << - " in (void) const;" << nl; - *ch << bt->nested_type_name (this, "_ptr") << " &inout (void);" << nl; - *ch << bt->nested_type_name (this, "_ptr") << " &out (void);" << nl; - *ch << bt->nested_type_name (this, "_ptr") << " _retn (void);" << nl; - } - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - // *ch << namebuf << "(const " << namebuf << " &); // copy ctor " << nl; - *ch << typebuf << " *ptr_;" << nl; - *ch << "CORBA::Boolean release_;\n"; - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the managed type class. All of these get generated in the -// inline file -int -be_sequence::gen_managed_type_ci (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - be_type *bt; // base type - char fnamebuf [NAMEBUFSIZE]; // full name - char lnamebuf [NAMEBUFSIZE]; // local name - char typebuf [NAMEBUFSIZE]; // type name - char macro [NAMEBUFSIZE]; // for ifdef macro - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // get the inline stream - ci = cg->client_inline (); - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence.cpp::" - "gen_managed_types_ci - " - "Bad base type\n"), - -1); - } - - // set the names (this is for easier code generation) - ACE_OS::memset (fnamebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (lnamebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (typebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (macro, '\0', NAMEBUFSIZE); - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - ACE_OS::sprintf (fnamebuf, "%s::%s", this->fullname (), "TAO_ObjRefMngType"); - ACE_OS::sprintf (lnamebuf, "%s", "TAO_ObjRefMngType"); - ACE_OS::sprintf (typebuf, "%s_ptr", bt->fullname ()); - ACE_OS::sprintf (macro, "%s_%s", this->flatname (), "TAO_ObjRefMngType"); - } - break; - case be_sequence::MNG_STRING: - { - ACE_OS::sprintf (fnamebuf, "%s::%s", this->fullname (), "TAO_StrMngType"); - ACE_OS::sprintf (lnamebuf, "%s", "TAO_StrMngType"); - ACE_OS::sprintf (typebuf, "%s", "char *"); - ACE_OS::sprintf (macro, "%s_%s", this->flatname (), "TAO_StrMngType"); - } - break; - default: - // cannot be here - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_managed_types_ci - " - "Bad managed type\n"), - -1); - } - } - - // generate the ifdefined macro for the managed - ci->gen_ifdef_macro (macro); - - // generate the managed type implementation in the inline file - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fnamebuf << nl; - *ci << "// *************************************************************\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fnamebuf << "::~" << lnamebuf << " (void) // destructor" << nl; - *ci << "{}\n\n"; - - // copy constructor not allowed - - // operators - if (this->managed_type () == be_sequence::MNG_STRING) - { - // constructor that will be used - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fnamebuf << "::" << lnamebuf << - "(char **buffer, CORBA::Boolean release)" << nl; - *ci << " : ptr_ (buffer)," << nl; - *ci << " release_ (release)" << nl; - *ci << "{}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fnamebuf << "::operator const " << typebuf << - " () 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 << fnamebuf << "::operator " << typebuf << " () // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator [] - ci->indent (); - *ci << "ACE_INLINE char&" << nl; - *ci << fnamebuf << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator [] - ci->indent (); - *ci << "ACE_INLINE const char&" << nl; - *ci << fnamebuf << "::operator[] (CORBA::ULong index) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - else if (this->managed_type () == be_sequence::MNG_OBJREF) - { - // constructor that will be used - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fnamebuf << "::" << lnamebuf << "(" << bt->name () << - "_ptr* buffer, CORBA::Boolean release)" << nl; - *ci << " : ptr_ (buffer)," << nl; - *ci << " release_ (release)" << nl; - *ci << "{}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fnamebuf << "::operator const " << typebuf << - " &() 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 << fnamebuf << "::operator " << typebuf << " &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_managed_types_ci - " - "Bad managed type\n"), - -1); - } - - // in, inout - ci->indent (); - *ci << "ACE_INLINE const " << typebuf << nl; - *ci << fnamebuf << "::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 " << typebuf << "&" << nl; - *ci << fnamebuf << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->gen_endif (); - return 0; -} - -// implementation of the managed types -int -be_sequence::gen_managed_type_cs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; // base type - char fnamebuf [NAMEBUFSIZE]; // full name - char lnamebuf [NAMEBUFSIZE]; // local name - char typebuf [NAMEBUFSIZE]; // type name - char macro [NAMEBUFSIZE]; // for ifdef macro - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // get the stubs stream - cs = cg->client_stubs (); - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence.cpp::" - "gen_managed_types_cs - " - "Bad base type\n"), - -1); - } - - // set the names (this is for easier code generation) - ACE_OS::memset (fnamebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (lnamebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (typebuf, '\0', NAMEBUFSIZE); - ACE_OS::memset (macro, '\0', NAMEBUFSIZE); - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - ACE_OS::sprintf (fnamebuf, "%s::%s", this->fullname (), "TAO_ObjRefMngType"); - ACE_OS::sprintf (lnamebuf, "%s", "TAO_ObjRefMngType"); - ACE_OS::sprintf (typebuf, "%s_ptr", bt->fullname ()); - ACE_OS::sprintf (macro, "%s_%s", this->flatname (), "TAO_ObjRefMngType"); - } - break; - case be_sequence::MNG_STRING: - { - ACE_OS::sprintf (fnamebuf, "%s::%s", this->fullname (), "TAO_StrMngType"); - ACE_OS::sprintf (lnamebuf, "%s", "TAO_StrMngType"); - ACE_OS::sprintf (typebuf, "%s", "char *"); - ACE_OS::sprintf (macro, "%s_%s", this->flatname (), "TAO_StrMngType"); - } - break; - default: - // cannot be here - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence.cpp::" - "gen_managed_types_cs - " - "Bad managed type\n"), - -1); - } - } - - // generate the ifdefined macro for the sequence type - cs->gen_ifdef_macro (macro); - - switch (this->managed_type ()) - { - case be_sequence::MNG_OBJREF: - { - // copy ctro - cs->indent (); - *cs << fnamebuf << "::" << lnamebuf << "(const " << fnamebuf << - " &_tao_mng_type)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "*this->ptr_ = " << bt->name () << - "::_duplicate (*_tao_mng_type.ptr_);" << nl; - *cs << "this->release_ = _tao_mng_type.release_;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator - cs->indent (); - *cs << fnamebuf << "&" << nl; - *cs << fnamebuf << "::operator= (const " << fnamebuf << - " &_tao_mng_type)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this == &_tao_mng_type) return *this;" << nl; - *cs << "if (this->release_) // need to free old one" << nl; - *cs << " CORBA::release (*this->ptr_);" << nl; - *cs << "*this->ptr_ = " << bt->name () << - "::_duplicate (*_tao_mng_type.ptr_);" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator from a pointer - cs->indent (); - *cs << fnamebuf << " &" << nl; - *cs << fnamebuf << "::operator= (" << typebuf << " p)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_) // need to free old one" << nl; - *cs << " CORBA::release (*this->ptr_);" << nl; - *cs << "*this->ptr_ = p; // no copy" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // out method and _retn - cs->indent (); - *cs << "// mapping for variable size " << nl; - *cs << bt->name () << "_ptr &" << nl; - *cs << fnamebuf << "::out (void)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_)" << nl; - *cs << " CORBA::release (*this->ptr_);" << nl; - *cs << "*this->ptr_ = " << bt->name () << "::_nil ();" << nl; - *cs << "return *this->ptr_;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - cs->indent (); - *cs << bt->name () << "_ptr" << nl; - *cs << fnamebuf << "::_retn (void)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << bt->name () << "_ptr tmp = *this->ptr_;" << nl; - *cs << "*this->ptr_ = " << bt->name () << "::_nil ();" << nl; - *cs << "return tmp;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - } - break; - case be_sequence::MNG_STRING: - { - // copy constructor - cs->indent (); - *cs << fnamebuf << "::" << lnamebuf << "(const " << fnamebuf << - " &_tao_mng_type)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "*this->ptr_ = CORBA::string_dup (*_tao_mng_type.ptr_);" << nl; - *cs << "this->release_ = _tao_mng_type.release_;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator (does not change the release flag) - cs->indent (); - *cs << fnamebuf << "&" << nl; - *cs << fnamebuf << "::operator= (const " << fnamebuf << - " &_tao_mng_type)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this == &_tao_mng_type) return *this;" << nl; - *cs << "if (this->release_) // need to free old one" << nl; - *cs << " CORBA::string_free (*this->ptr_);" << nl; - *cs << "*this->ptr_ = CORBA::string_dup (*_tao_mng_type.ptr_);" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator from a pointer - cs->indent (); - *cs << fnamebuf << " &" << nl; - *cs << fnamebuf << "::operator= (" << typebuf << " p)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_) // need to free old one" << nl; - *cs << " CORBA::string_free (*this->ptr_);" << nl; - *cs << "*this->ptr_ = p; // no copy" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator from a pointer to const - cs->indent (); - *cs << fnamebuf << " &" << nl; - *cs << fnamebuf << "::operator= (const " << typebuf << " p)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_) // need to free old one" << nl; - *cs << "{" << nl; - *cs << " CORBA::string_free (*this->ptr_);" << nl; - *cs << " *this->ptr_ = CORBA::string_dup (p);// make copy" << nl; - *cs << "}" << nl; - *cs << "else // make no copy as we don't own it" << nl; - *cs << " *this->ptr_ = (char *)p; // no copy" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // out method and _retn - cs->indent (); - *cs << "// mapping for variable size " << nl; - *cs << "char *&" << nl; - *cs << fnamebuf << "::out (void)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_)" << nl; - *cs << " CORBA::string_free (*this->ptr_);" << nl; - *cs << "*this->ptr_ = 0;" << nl; - *cs << "return *this->ptr_;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - cs->indent (); - *cs << "char *" << nl; - *cs << fnamebuf << "::_retn (void)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "char *tmp = *this->ptr_;" << nl; - *cs << "*this->ptr_ = 0;" << nl; - *cs << "return tmp;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - } - break; - } - - cs->gen_endif (); - return 0; -} - -// generate typecode. -// Typecode for sequences comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_sequence::gen_typecode (void) -{ - 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_sequence, // 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_sequence::gen_encapsulation (void) -{ - TAO_OutStream *os; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // base type - - os = cg->client_stubs (); - os->incr_indent (); - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order\n"; - - // emit typecode of element type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt || (bt->gen_typecode () == -1)) - { - ACE_ERROR ((LM_ERROR, "be_sequence::gen_typecode - bad base type\n")); - return -1; - } - - // emit the length - os->decr_indent (); - *os << this->max_size () << ",\n"; - return 0; -} - -// compute typecode size -long -be_sequence::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_sequence::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; // base type - - this->encap_len_ = 4; // holds the byte order flag - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, - "be_sequence::tc_encap_len - bad base type\n")); - return 0; - } - this->encap_len_ += bt->tc_size (); - this->encap_len_ += 4; // to hold the max size - - } - return this->encap_len_; -} - -/* - * Add this be_sequence to the locally defined types in this scope - */ -be_sequence * -be_sequence::fe_add_sequence (be_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::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name () << " *"; - return 0; -} - -int -be_sequence::accept (be_visitor *visitor) -{ - return visitor->visit_sequence (this); -} - -// 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_state.cpp b/TAO/TAO_IDL/be/be_state.cpp deleted file mode 100644 index 59312eaeaa5..00000000000 --- a/TAO/TAO_IDL/be/be_state.cpp +++ /dev/null @@ -1,65 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state.cpp -// -// = DESCRIPTION -// state based code generation. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// constructor -be_state::be_state (void) -{ -} - -// destructor -be_state::~be_state (void) -{ -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -template class ACE_Singleton; -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 -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#pragma instantiate ACE_Singleton -#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_state_argument.cpp b/TAO/TAO_IDL/be/be_state_argument.cpp deleted file mode 100644 index a5198b16d3e..00000000000 --- a/TAO/TAO_IDL/be/be_state_argument.cpp +++ /dev/null @@ -1,2307 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_argument.cpp -// -// = DESCRIPTION -// state based code generation for arguments. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for argument -be_state_argument::be_state_argument (void) -{ -} - -// generate code for the mapping of the argument. -// The different cases below have the following meaning: -// TAO_ARGUMENT_CH -// TAO_ARGUMENT_CS -// TAO_ARGUMENT_SH -- all three generate the arguments in the signature of the -// method . The CH case uses the ACE_NESTED_CLASS macro to -// keep the MSVC++ compiler happy -// The rest of the enumerated constants are self-explanatory -// -// There are 3 levels of nested switch statements -// Level (1): The "type" of each argument, e.g., predefined, structure, ... -// Level (2): The direction - in, inout, out -// Level (3): The current state we are in - -int -be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_argument *arg; // argument node - be_interface *bif; // interface inside which the operation that uses this - // argument was defined - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_ARGUMENT_SH: - os = cg->server_header (); - break; - case TAO_CodeGen::TAO_ARGUMENT_SS: - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - os = cg->server_skeletons (); - break; - } - - // retrieve the argument node - arg = be_argument::narrow_from_decl (d); - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument.cpp - " - "Bad argument\n"), - -1); - } - - // get the scope of the arg which is the operation. Its scope is the - // interface node. We need this interface node for generating the - // ACE_NESTED_CLASS macro - bif = be_interface::narrow_from_scope (ScopeAsDecl (arg->defined_in - ())->defined_in ()); - if (!bif) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument.cpp - " - "Bad interface\n"), - -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // find the direction of the argument. Depending on the direction and the - // type, generate the mapping - switch (type->node_type ()) // LEVEL (1) switch on node type of the "type" - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // what state are we in - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << " = " << arg->local_name () << "; // cast it" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // pass the cast value - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing for in parameters - } - break; - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &_tao_base_" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &_tao_base_" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // convert from the CORBA::Object_ptr to the interface type - // using a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << arg->local_name () << ", " << - "_tao_environment);" << nl; - *os << "if (_tao_environment.exception ()) return;" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // we must release the in parameter - *os << "CORBA::release (" << arg->local_name () << ");" << nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () << - ");" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_ptr") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // switch state - break; - case AST_Argument::dir_INOUT: // inout - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << " = " << arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // reassign to the inout parameter doing a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << arg->local_name () << ", env);" - << nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () << - ");" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr *_tao_base_" << arg->local_name () - << " = new CORBA::Object_ptr;" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", _tao_base_" << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_INOUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", _tao_base_" << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // convert from the CORBA::Object_ptr to the interface type - // using a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (*_tao_base_" << arg->local_name () << ", " << - "_tao_environment);" << nl; - *os << "if (_tao_environment.exception ()) return;" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // assign modified interface obj ref to object_ptr - *os << "CORBA::release (*_tao_base_" << arg->local_name () << - "); // first release old obj" << nl; - *os << "*_tao_base_" << arg->local_name () << " = " << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_ptr") << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // reassign to the inout parameter doing a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << arg->local_name () << ", env);" - << nl; - *os << "// free the Object_ptr" << nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () << - ");" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr " << arg->local_name () << ";" << - nl; - *os << bt->name () << "_out " << arg->local_name () << - "_out (" << arg->local_name () << ");" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr *_tao_base_" << arg->local_name () - << " = new CORBA::Object_ptr;" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", _tao_base_" << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - " = nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_OUT, _tao_environment);" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // out parameter is cast to Object_ptr - *os << "*_tao_base_" << arg->local_name () << " = " << - arg->local_name () << "_out.ptr ();" << nl; - *os << "nv_" << arg->local_name () << "->value ()->" << - "replace (" << bt->tc_name () - << ", _tao_base_" << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << "_out, "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end of case interface/interface_fwd - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - *os << bt->name () << " "; - // declare a variable - *os << arg->local_name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing since the Any will call its destructor - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << "const " << bt->name () << " &" << arg->local_name - () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *"; - *os << arg->local_name () << " = new " << bt->name () << - ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_INOUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // XXXASG - TODO very similar to ObjRef - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // XXXASG - TODO very similar to ObjRef - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // XXXASG - TODO very similar to ObjRef - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << "const " << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = 0;" << nl; - *os << bt->name () << "_out " << arg->local_name () << - "_out (" << arg->local_name () << ");" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () - << " = nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_OUT, _tao_environment);" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { -#if 0 // causing ambiguity on NT compiler - *os << arg->local_name () << " = " << arg->local_name () - << "_out;" << nl; -#endif - *os << "nv_" << arg->local_name () << "->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end of if - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr " << arg->local_name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_IN, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", &" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // no casting necessary as we already are object_ptr - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing to be done as we are Object_ptr - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - //release the in parameter - *os << "CORBA::release (" << arg->local_name () << ");" - << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_ptr") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end of switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr *" << arg->local_name () << - " = new " << bt->name () << "_ptr;" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_INOUT, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_ptr") << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr &" << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr *" << arg->local_name () << - " = new " << bt->name () << "_ptr;" << nl; - *os << bt->name () << "_out "; - *os << arg->local_name () << "_out (*" << arg->local_name - () << ");" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - ", 0); // ORB doesn't own" << nl; -#endif - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () - << " = nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_OUT, _tao_environment);" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // declare a variable - *os << bt->name () << "_ptr _tao_base_" << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // this was causing an ambiguity on NT compiler - // assign to the _out parameter - *os << arg->local_name () << " = _tao_base_" << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << "_out, "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { -#if 0 // causing ambiguity on NT compiler - *os << "*" << arg->local_name () << " = " << - arg->local_name () << "_out;" << nl; -#endif - *os << "nv_" << arg->local_name () << "->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_IN, _tao_environment)->value ()" - << "->replace (" << bt->tc_name () - << ", &" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif) << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - "); // ORB owns " << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_INOUT, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_OUT, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end of switch - break; - } // end switch direction - } // end of else - } // end of case predefined - break; - case AST_Decl::NT_string: // type is a string - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { -#if 0 - // XXXASG- check for memory leak here - TODO - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; -#endif - *os << "char *" << arg->local_name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->replace (" - << bt->tc_name () << ", &" << arg->local_name () << - ", 0, _tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // we need to free the "in" string that got decoded - *os << "CORBA::string_free (" << arg->local_name () << ");" - << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { -#if 0 - *os << "const "; - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->nested_type_name (bif); - else - *os << "char *"; -#endif - *os << "const char *" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_SH: - case TAO_CodeGen::TAO_ARGUMENT_CS: - { -#if 0 - *os << "const "; - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; -#endif - *os << "const char *" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { -#if 0 - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; - } - else - { - *os << "char **" << arg->local_name () << - " = new char *;" << nl; - } -#endif - *os << "char **" << arg->local_name () << " = new char *;" << - nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_INOUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->nested_type_name (bif, " &"); - else - *os << "char *&"; -#endif - *os << "char *&" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_SH: - case TAO_CodeGen::TAO_ARGUMENT_CS: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *&"; -#endif - *os << "char *&" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { -#if 0 - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; - } - else - { - *os << "char **" << arg->local_name () << - " = new char *;" << nl; - } - // now declare a _out variable to be passed as a parameter - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name () << "_out"; - else - *os << "CORBA::String_out"; -#endif - *os << "char **" << arg->local_name () << - " = new char *;" << nl; - *os << "CORBA::String_out " << arg->local_name () << - "_out (*" << arg->local_name () << ");" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", _tao_base_" << arg->local_name () << - ", 1); // ORB owns" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_OUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { -#if 0 - // declare a string variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; -#endif - *os << "char *_tao_base_" << arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // assign the _tao_base_ variable to the out - // parameter - *os << arg->local_name () << " = _tao_base_" << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << "_out, "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { -#if 0 // causing ambiguity on NT compiler - // out parameter is cast back to the real parameter - *os << "*" << arg->local_name () << " = " << - arg->local_name () << "_out;" << nl; -#endif - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->nested_type_name (bif, "_out"); - else - *os << "CORBA::String_out"; -#endif - *os << "CORBA::String_out " << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name () << "_out"; - else - *os << "CORBA::String_out"; -#endif - *os << "CORBA::String_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end case string - break; - case AST_Decl::NT_array: // type is an array - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () - << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_INOUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << "const " << bt->name () << " " << arg->local_name () - << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_INOUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name (); - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "_slice *"; - } - *os << " " << arg->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - if (bt->size_type () == be_decl::VARIABLE) - { - *os << bt->nested_type_name (bif, "_slice") << " *" << - arg->local_name () << ", "; - } - else - { - *os << bt->nested_type_name (bif) << " " << - arg->local_name () << ", "; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name (); - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "_slice *"; - } - *os << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_slice *" << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } - break; - } // end of switch direction - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << - ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - the destructor will ensure proper memory release - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << "const " << bt->name () << " &" << arg->local_name () - << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } - break; - case AST_Argument::dir_INOUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_INOUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { -#if 0 - // if we are sequence, call init manager - if (type->node_type () == AST_Decl::NT_sequence) - { - be_sequence *seq = be_sequence::narrow_from_decl (type); - // init_mgr method for managed types - switch (seq->managed_type ()) - { - case be_sequence::MNG_OBJREF: - case be_sequence::MNG_STRING: - *os << arg->local_name () << ".init_mgr ();" << nl; - break; - default: - break; - } - } -#endif - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " &" << arg->local_name - () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // for a variable sized type, the caller allocates a pointer - if (bt->size_type () == be_decl::VARIABLE) - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = 0;" << nl; - *os << bt->name () << "_out " << arg->local_name () << - "_out (" << arg->local_name () << ");" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 0); // ORB does not own" << nl; -#endif - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () - << " = nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_OUT, _tao_environment);" << nl; - } - else - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - ", 0); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name () << - "\", CORBA::ARG_OUT, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } // end else - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // declare a variable. We need this only if we are variable - // sized. If we are fixed sized, we already know our size and - // hence we have already been allocated - if (bt->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << " *_tao_base_" << arg->local_name - () << " = new " << bt->name () << ";" << nl; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << ", _tao_base_" << arg->local_name (); - } - else - { - // simply pass our address - *os << ", &" << arg->local_name (); - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { -#if 0 - // if we are sequence, call init manager - if (type->node_type () == AST_Decl::NT_sequence) - { - be_sequence *seq = be_sequence::narrow_from_decl (type); - // init_mgr method for managed types - switch (seq->managed_type ()) - { - case be_sequence::MNG_OBJREF: - case be_sequence::MNG_STRING: - *os << "_tao_base_" << arg->local_name () << - "->init_mgr ();" << nl; - break; - default: - break; - } - } -#endif - if (bt->size_type () == be_decl::VARIABLE) - { - *os << arg->local_name () << " = _tao_base_" << - arg->local_name () << ";" << nl; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - if (bt->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << "_out, "; - else - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - if (bt->size_type () == be_decl::VARIABLE) - { -#if 0 // causing ambiguity on NT compiler - *os << arg->local_name () << " = " << arg->local_name () - << "_out;" << nl; -#endif - *os << "nv_" << arg->local_name () << "->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - break; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - } // end switch direction - break; - case AST_Decl::NT_enum: // type is an enum - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_IN, _tao_environment)->value ()" - << "->replace (" << bt->tc_name () - << ", &" << arg->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " " << arg->local_name - () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end of switch state - } // end case - break; - case AST_Argument::dir_INOUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_INOUT, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " &" << arg->local_name - () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << arg->local_name - () << "\", CORBA::ARG_OUT, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", " << arg->local_name () << ", 1, " << - "_tao_environment); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - } // end switch direction - break; - case AST_Decl::NT_native: - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_CH: - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " " - << arg->local_name () << ", "; - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - *os << bt->name () << " " << arg->local_name () << ", "; - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - *os << "env.exception (new CORBA::MARSHAL " << - "(CORBA::COMPLETED_NO));" << nl; - break; - default: - break; - } - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_CH: - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " &" - << arg->local_name () << ", "; - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - *os << bt->name () << " &" - << arg->local_name () << ", "; - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - *os << "env.exception (new CORBA::MARSHAL " << - "(CORBA::COMPLETED_NO));" << nl; - break; - default: - break; - } - } - } - } - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of case - break; - } //end switch node type - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_array.cpp b/TAO/TAO_IDL/be/be_state_array.cpp deleted file mode 100644 index 618c891bc7b..00000000000 --- a/TAO/TAO_IDL/be/be_state_array.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_array.cpp -// -// = DESCRIPTION -// state based code generation for arrays. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for array -be_state_array::be_state_array (void) -{ -} - -// generate code for array type -int -be_state_array::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - // get the appropriate stream - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARRAY_DEFN_CH: - case TAO_CodeGen::TAO_ARRAY_OTHER_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_ARRAY_DEFN_CI: - os = cg->client_inline (); - break; - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - *os << bt->name () << "_var "; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - *os << bt->name (); - } - break; - case AST_Decl::NT_string: // type is a string - { - *os << "CORBA::String_var "; - } - break; - case AST_Decl::NT_array: - // type is an array. This is possible only if we - // are here thru the typedef node - { - *os << bt->name () << "_slice *"; - } - break; - // these are all anonymous types - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - // based on what state we are in, we may have to generate the definition - // of the type first - if (cg->state () == TAO_CodeGen::TAO_ARRAY_DEFN_CH) - if (bt->gen_client_header () == -1) // generate the defn - return -1; - - *os << bt->name (); - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of switch - //break; unreachable statement! - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_attribute.cpp b/TAO/TAO_IDL/be/be_state_attribute.cpp deleted file mode 100644 index 4b505514e3f..00000000000 --- a/TAO/TAO_IDL/be/be_state_attribute.cpp +++ /dev/null @@ -1,1164 +0,0 @@ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_attribute.cpp -// -// = DESCRIPTION -// state based code generation for attributes. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// constructor -be_state_attribute::be_state_attribute (void) -{ -} - -int -be_state_attribute::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_attribute *attr; // attribute node - be_interface *bif; // enclosing scope which is an interface - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - os = cg->server_header (); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - os = cg->server_skeletons (); - break; - } - - // retrieve the ATTRIBUTE node - attr = be_attribute::narrow_from_decl (d); - if (!attr) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute.cpp - " - "Bad attribute node\n"), - -1); - } - - // get the enclosing interface scope to be used in the NESTED_CLASS macro - bif = be_interface::narrow_from_decl (ScopeAsDecl (attr->defined_in ())); - if (!bif) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute.cpp - " - "Bad interface\n"), - -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // Two level switching - // (1) switch on node type - // (2) switch on current code generation state - - switch (type->node_type ()) // LEVEL (1) switch based on node type - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - // what state are we in - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_ptr") << " "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_ptr") << " " << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name () << "_ptr "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << bt->name () << "_ptr " << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << "CORBA::Object_ptr retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return " << bt->name () << "::_nil ();\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return " << bt->name () << "::_narrow (retval, env);" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << "CORBA::Object_ptr *retval =" - " new CORBA::Object_ptr;" << nl; - *os << "*retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "*retval"; // assign to retval - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << attr->local_name () - << " = " << attr->local_name () << "; // cast it" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // pass the cast value - *os << ", &_tao_base_" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing for in parameters - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << attr->local_name () << ";" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr _tao_base_" << attr->local_name () - << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &_tao_base_" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &_tao_base_" << attr->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // convert from the CORBA::Object_ptr to the interface type - // using a _narrow - *os << attr->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << attr->local_name () << ", " << - "_tao_environment);" << nl; - *os << "if (_tao_environment.exception ()) return;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // we must release the in parameter - *os << "CORBA::release (" << attr->local_name () << ");" << nl; - *os << "CORBA::release (_tao_base_" << attr->local_name () << - ");" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // switch state - } // end of case interface/interface_fwd - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - // if it is an any, return a pointer to it - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - // if it is an any, return a pointer to it - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - // if it is an any, return a pointer to it - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - *os << bt->name () << " "; - // declare a variable - *os << attr->local_name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &" << attr->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name () << "* "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name - (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end of if - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - // pseudo object, return a pointer - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr *retval = new " << bt->name () << - "_ptr;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - // pseudo object, return a pointer - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - // pseudo object, return a pointer - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << "_ptr " << attr->local_name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name - () << "\", CORBA::ARG_IN, _tao_environment)->" << - "value ()->replace (" << bt->tc_name () - << ", &" << attr->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // no casting necessary as we already are object_ptr - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing to be done as we are Object_ptr - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - //release the in parameter - *os << "CORBA::release (" << attr->local_name () << ");" - << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name - (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end of switch state - } // end else if - else // simple predefined types - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << " retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return retval;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << " *retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () << ";" << - nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name - () << "\", CORBA::ARG_IN, _tao_environment)->value ()" - << "->replace (" << bt->tc_name () - << ", &" << attr->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name - (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end of else - } // end of case predefined - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " retval = 0;" << nl; - } - else - { - *os << "char *retval = 0;" << nl; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " *retval = new " << bt->name () << "*;" << nl; - } - else - { - *os << "char **retval = new char*;" << nl; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // we need to free the "in" string that got decoded - *os << "CORBA::string_free (" << attr->local_name () << ");" - << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - else - { - *os << "char *"; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name (); - } - else - { - *os << "char *"; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << " " << attr->local_name () << ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->replace (" - << bt->tc_name () << ", &" << attr->local_name () << - ", 0, _tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - *os << "const char *" << attr->local_name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end case string - break; - case AST_Decl::NT_array: // type is an array - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () - << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", " << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_slice") << " *"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name () << "_slice *"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " " << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " " << attr->local_name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end of case array - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () << - ";" << nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name () << - "\", CORBA::ARG_IN, _tao_environment)->value ()->" << - "replace (" << bt->tc_name () - << ", &" << attr->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << - nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { -#if 0 - if (type->node_type () == AST_Decl::NT_sequence) - { - be_sequence *seq = be_sequence::narrow_from_decl (type); - // init_mgr method for managed types - switch (seq->managed_type ()) - { - case be_sequence::MNG_OBJREF: - case be_sequence::MNG_STRING: - *os << "retval->init_mgr ();" << nl; - break; - default: - break; - } - } -#endif - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - if (bt->size_type () == be_decl::VARIABLE) - // to keep MSVC++ happy - *os << bt->nested_type_name (bif) << " *"; - else - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - if (bt->size_type () == be_decl::VARIABLE) - *os << bt->name () << " *"; - else - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Decl::NT_enum: // type is an enum - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << " retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return retval;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << - nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () << ";" << - nl; -#if 0 - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; -#endif - // insert into the Any - *os << "(void) nvlist->add_item (\"" << attr->local_name - () << "\", CORBA::ARG_IN, _tao_environment)->value ()" - << "->replace (" << bt->tc_name () - << ", &" << attr->local_name () << ", 0, " << - "_tao_environment); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " " << attr->local_name - (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << bt->name () << " " << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of case - break; - } //end switch node type - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_exception.cpp b/TAO/TAO_IDL/be/be_state_exception.cpp deleted file mode 100644 index 769104ffe65..00000000000 --- a/TAO/TAO_IDL/be/be_state_exception.cpp +++ /dev/null @@ -1,409 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_exception.cpp -// -// = DESCRIPTION -// state based code generation for exceptions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_state_exception::be_state_exception (void) -{ -} - -// generate code for exception member -int -be_state_exception ::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_field *f; // field node - be_exception *bexcp; // enclosing exception node - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_EXCEPTION_CH: // used for defining members - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CH: // used for defining the - // parameters to the special - // constructor - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_EXCEPTION_CI: // for generating inline functions for - // specific anonymous types - os = cg->client_inline (); - break; - case TAO_CodeGen::TAO_EXCEPTION_CS: // for copy ctor and assignment op - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CS: // for the parameters of the - // special constructor - case TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS: // for assigning to members - // inside the special ctor - os = cg->client_stubs (); - break; - default: - os = 0; // Force a seg fault. At least os will have a known value. - } - - f = be_field::narrow_from_decl (d); // downcast to field node - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception.cpp - " - "Bad field\n"), - -1); - } - - // retrieve the exception node - bexcp = be_exception::narrow_from_scope (f->defined_in ()); - if (!bexcp) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception.cpp - " - "Bad exception\n"), - -1); - } - - // pass the field node just incase it is needed to generate definition for - // sequence - cg->node (f); - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_EXCEPTION_CH: - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bexcp, "_var") << " " << f->local_name - () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_excp." << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CH: - { - *os << "const " << bt->nested_type_name (bexcp, "_ptr") << "&"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CS: - { - *os << "const " << bt->name () << "_ptr &_tao_" << f->local_name - (); - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_" << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CI: - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - unknown state\n"), -1); - } - } // end switch state - } // end case interface - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - if (!bpd) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - " - "bad predefined type\n"), -1); - } - switch (cg->state ()) - { - case TAO_CodeGen::TAO_EXCEPTION_CH: - { - switch (bpd->pt ()) - { - case AST_PredefinedType::PT_pseudo: - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bexcp, "_var") << " " << - f->local_name () << ";\n"; - } - break; - default: - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bexcp) << " " << f->local_name - () << ";\n"; - } - } // end of switch state - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_excp." << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CH: - { - switch (bpd->pt ()) - { - case AST_PredefinedType::PT_pseudo: - { - *os << "const " << bt->nested_type_name (bexcp, "_ptr") << - "&"; - } - break; - default: - { - *os << "const " << bt->nested_type_name (bexcp); - } - } - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CS: - { - switch (bpd->pt ()) - { - case AST_PredefinedType::PT_pseudo: - { - *os << "const " << bt->name () << "_ptr &_tao_" << - f->local_name (); - } - break; - default: - { - *os << "const " << bt->name () << " _tao_" << - f->local_name (); - } - } - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_" << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CI: - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - unknown state\n"), -1); - } - } // end switch state - } - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_EXCEPTION_CH: - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->nested_type_name (bexcp, "_var") << " " << - f->local_name () << ";\n"; - } - else - { - *os << "CORBA::String_var " << f->local_name () << ";\n"; - } - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_excp." << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << "const " << bt->nested_type_name (bexcp); - } - else - { - *os << "const char*"; - } - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << "const " << bt->name () << " _tao_" << f->local_name - (); - } - else - { - *os << "const char* _tao_" << f->local_name (); - } - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_" << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CI: - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - unknown state\n"), -1); - } - } // end switch state - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_EXCEPTION_CH: - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - " - "error generating code for type\n"), - -1); - } - os->indent (); - *os << bt->nested_type_name (bexcp) << " " << f->local_name () << - ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CI: - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - " - "error generating code for type\n"), - -1); - } - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CS: - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - " - "error generating code for type\n"), - -1); - } - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_excp." << - f->local_name () << ";\n"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CH: - { - *os << "const " << bt->nested_type_name (bexcp) << "&"; - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_CS: - { - *os << "const " << bt->name () << "&_tao_" << f->local_name (); - } - break; - case TAO_CodeGen::TAO_EXCEPTION_CTOR_ASSIGN_CS: - { - // assign - os->indent (); // start with current indentation - *os << "this->" << f->local_name () << " = _tao_" << - f->local_name () << ";\n"; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_exception - unknown state\n"), -1); - } - } // end switch state - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, f, temp); - } // end of switch - //break; unreachable statement! - } - // the enclosing exception will be variable length if the field's type is - // variable length - bexcp->size_type (type->size_type ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_operation.cpp b/TAO/TAO_IDL/be/be_state_operation.cpp deleted file mode 100644 index 8e0a255232e..00000000000 --- a/TAO/TAO_IDL/be/be_state_operation.cpp +++ /dev/null @@ -1,737 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_operation.cpp -// -// = DESCRIPTION -// state based code generation for operations. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for operation -be_state_operation::be_state_operation (void) -{ -} - -// generate code for return type of operation -int -be_state_operation::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_operation *bop; - be_interface *bif; // interface in which the operation was defined - - bop = be_operation::narrow_from_decl (d); - if (!bop) - return -1; - - bif = be_interface::narrow_from_scope (bop->defined_in ()); - if (!bif) - return -1; - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_OPERATION_SH: - os = cg->server_header (); - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - os = cg->server_skeletons (); - break; - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << "_ptr "; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << "CORBA::Object_ptr retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return " << bt->name () << "::_nil ();\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return " << bt->name () << "::_narrow (retval, env);" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << "CORBA::Object_ptr *retval =" - " new CORBA::Object_ptr;" << nl; - *os << "*retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "*retval"; // assign to retval - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_ptr") << " "; - } - break; - default: - { - *os << bt->name () << "_ptr "; - } - } - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->name () << " *"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr "; - } - else if (bpd->pt () == AST_PredefinedType::PT_void) - { - *os << "void "; - } - else - { - *os << bt->name () << " "; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr retval;" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_void) - { - // no return variable - } - else - { - *os << bt->name () << " retval;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << "return 0;\n"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "return 0;\n"; - } - else if (bpd->pt () == AST_PredefinedType::PT_void) - { - *os << "return;\n"; - } - else - { - *os << "return retval;\n"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - if (bpd->pt () == AST_PredefinedType::PT_void) - { - *os << "return; // no value" << nl; - } - else - { - *os << "return retval;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr *retval = new " << bt->name () << - "_ptr;" << nl; - } - else - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << "retval"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "*retval"; - } - else - { - *os << " *retval"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - else - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->nested_type_name (bif, "*") << " "; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->nested_type_name (bif, "_ptr") << " "; - } - else - { - *os << bt->nested_type_name (bif) << " "; - } - } - break; - default: - { - *os << bt->name (); - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << " *"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "_ptr"; - } - } - } // end switch (cg->state()) - } - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name (); - } - else - { - *os << "char *"; - } -#endif - *os << "char *"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " retval = 0;" << nl; - } - else - { - *os << "char *retval = 0;" << nl; - } -#endif - *os << "char *retval = 0;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << nl; - } - else - { - *os << "char **retval = new char*;" << nl; - } -#endif - *os << "char **retval = new char*;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { -#if 0 - if (bt->node_type () == AST_Decl::NT_typedef) - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - else - { - *os << "char *"; - } -#endif - *os << "char *"; - } - break; - default: - { - *os << "char *"; - } - } // end of switch cg->state - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << "_slice *"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_slice") << " *"; - } - break; - default: - { - // return a pointer to slice - *os << bt->name () << "_slice *"; - } - } // end of switch cg->state - } - break; - case AST_Decl::NT_sequence: // type is a sequence - // return type is a pointer to sequence - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << " *"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << - nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { -#if 0 - be_sequence *seq = be_sequence::narrow_from_decl (type); - // init_mgr method for managed types - switch (seq->managed_type ()) - { - case be_sequence::MNG_OBJREF: - case be_sequence::MNG_STRING: - *os << "retval->init_mgr ();" << nl; - break; - default: - break; - } -#endif - // if we are sequence, call init manager - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif) << " *"; - } - break; - default: - { - *os << bt->name () << " *"; - } - } // end of swithc cg->state - } - break; - case AST_Decl::NT_enum: // type is an enum - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << " "; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << bt->name () << " retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return retval;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << - nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - default: - { - *os << bt->name (); - } - } // end of switch cg->state - } - break; - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << " "; - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "*"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - else - { - *os << bt->name () << " retval;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "return 0;\n"; - } - else - { - *os << "return retval;\n"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - if (type->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << " *retval;" << nl; - } - else - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - if (type->size_type () == be_decl::VARIABLE) - { - *os << "retval"; - } - else - { - *os << "*retval"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - // check if we are fixed size or variable sized. Depending on that we - // return a pointer or the aggregate itself - if (type->size_type () == be_decl::VARIABLE) - *os << " *"; - } - break; - default: - { - *os << bt->name (); - // check if we are fixed size or variable sized. Depending on that we - // return a pointer or the aggregate itself - if (type->size_type () == be_decl::VARIABLE) - *os << " *"; - } - } // end of switch cg->state - } - break; - case AST_Decl::NT_native: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - *os << "return 0;\n"; - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif) << " "; - } - break; - default: - { - *os << bt->name (); - } - break; - } - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of switch - //break; unreachable statement! - } // switch of main switch - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_sequence.cpp b/TAO/TAO_IDL/be/be_state_sequence.cpp deleted file mode 100644 index ca1b9e11a2a..00000000000 --- a/TAO/TAO_IDL/be/be_state_sequence.cpp +++ /dev/null @@ -1,440 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_sequence.cpp -// -// = DESCRIPTION -// state based code generation for sequences. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for sequence -be_state_sequence::be_state_sequence (void) -{ -} - -// generate code for sequence type -int -be_state_sequence::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_sequence *seq; - - seq = be_sequence::narrow_from_decl (d); - if (!seq) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "Bad sequence type\n"), - -1); - } - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: - os = cg->client_header (); // get client header stream - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CS: - os = cg->client_stubs (); // get client stubs stream - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - os = cg->client_inline (); // get client inline stream - break; - default: - return -1; - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // enclosing scope in which the sequence element type occurs - be_decl *scope; - if (!bt->defined_in ()) // no outer scope for us - scope = 0; - else - { - scope = be_scope::narrow_from_scope (bt->defined_in ())->decl (); - if (!scope) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad scope for seq elem type\n"), - -1); - } - } - - // for sequences, all we do is generate the type - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - // if it is the case of sequence base, we generate the code for - // managed types - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - if (seq->gen_managed_type_ch () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "codegen for managed type\n"), - -1); - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - if (seq->gen_managed_type_cs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "codegen for managed type\n"), - -1); - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - if (seq->gen_managed_type_ci () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "codegen for managed type\n"), - -1); - } - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: // managed type returned by - // operator [] - { - if ((type->node_type () == AST_Decl::NT_interface) - || (type->node_type () == AST_Decl::NT_interface_fwd)) - { - if (scope) - { - *os << "ACE_NESTED_CLASS (" << scope->name () << "," << - seq->local_name () << "::TAO_ObjRefMngType) "; - } - else - { - *os << seq->local_name () << "::TAO_ObjRefMngType "; - } - } - else // must be a string - { - if (scope) - { - *os << "ACE_NESTED_CLASS (" << scope->name () << "," << - seq->local_name () << "::TAO_StrMngType) "; - } - else - { - *os << seq->local_name () << "::TAO_StrMngType "; - } - } - } - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CS: - { - if ((type->node_type () == AST_Decl::NT_interface) - || (type->node_type () == AST_Decl::NT_interface_fwd)) - { - *os << seq->name () << "::TAO_ObjRefMngType "; - } - else // must be a string - { - *os << seq->name () << "::TAO_StrMngType "; - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - { - if ((type->node_type () == AST_Decl::NT_interface) - || (type->node_type () == AST_Decl::NT_interface_fwd)) - { - *os << bt->nested_type_name (scope, "_ptr"); - } - else // must be a string - { - *os << "char *"; - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - { - if ((type->node_type () == AST_Decl::NT_interface) - || (type->node_type () == AST_Decl::NT_interface_fwd)) - { - *os << bt->name () << "_ptr"; - } - else // must be a string - { - *os << "char *"; - } - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad state\n"), - -1); - } - } - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - if (!bpd) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad type\n"), - -1); - } - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // managed types for pseudo objs - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - if (seq->gen_managed_type_ch () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "codegen for managed type\n"), - -1); - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - if (seq->gen_managed_type_cs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "codegen for managed type\n"), - -1); - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - if (seq->gen_managed_type_ci () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "codegen for managed type\n"), - -1); - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, "_ptr"); - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - *os << bt->name () << "_ptr"; - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: // managed type returned by - // operator [] - { - if (scope) - { - *os << "ACE_NESTED_CLASS (" << scope->name () << "," << - seq->local_name () << "::TAO_ObjRefMngType ) "; - } - else - { - *os << seq->local_name () << "::TAO_ObjRefMngType "; - } - } - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CS: - { - *os << seq->name () << "::TAO_ObjRefMngType "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad state\n"), - -1); - } - } // end switch state - } // if pseudo - else - { - // rest of the predefined types - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - // nothing to be done - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: - *os << bt->nested_type_name (scope, " &"); - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, " "); - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CS: - *os << bt->name () << " &"; - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - *os << bt->name () << " "; - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad state\n"), - -1); - } - } // end of switch - } // end else - } // end case predefined type - break; - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - // nothing to do because we cannot have anonymous data types here - // that are enums or structures or unions. - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, " "); - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: - *os << bt->nested_type_name (scope, " &"); - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CS: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - *os << bt->name () << " &"; - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - *os << bt->name () << " "; - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad state\n"), - -1); - } - } - } - break; - case AST_Decl::NT_sequence: // type is a sequence - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - { - // generate the base type sequence - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "Bad sequence type\n"), - -1); - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - { - // generate the base type sequence - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "Bad sequence type\n"), - -1); - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - { - // generate the base type sequence - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "Bad sequence type\n"), - -1); - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, " "); - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CH: - *os << bt->nested_type_name (scope, " &"); - break; - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CS: - case TAO_CodeGen::TAO_SEQELEM_RETTYPE_CI: - *os << bt->name () << " &"; - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - *os << bt->name () << " "; - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_sequence.cpp - " - "bad state\n"), - -1); - } - } - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } - //break; unreachable statement! - } // end of switch - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_structure.cpp b/TAO/TAO_IDL/be/be_state_structure.cpp deleted file mode 100644 index 86ab10cac5a..00000000000 --- a/TAO/TAO_IDL/be/be_state_structure.cpp +++ /dev/null @@ -1,280 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_struct.cpp -// -// = DESCRIPTION -// state based code generation for structs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_state_struct::be_state_struct (void) -{ -} - -// generate code for structure member -int -be_state_struct ::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_field *f; // field node - be_structure *bs; // enclosing structure node - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_STRUCT_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_STRUCT_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_STRUCT_CI: - os = cg->client_inline (); - break; - default: - os = 0; // Force a seg fault. At least os will have a known value. - } - - f = be_field::narrow_from_decl (d); // downcast to field node - if (!f) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_structure.cpp - " - "Bad field\n"), - -1); - } - - // retrieve the enclosing "struct" node - bs = be_structure::narrow_from_scope (f->defined_in ()); - if (!bs) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct.cpp - " - "Bad structure\n"), - -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_STRUCT_CH: - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bs, "_var") << " " << f->local_name - () << ";\n"; - } - break; - case TAO_CodeGen::TAO_STRUCT_CI: - { - // nothing - } - break; - case TAO_CodeGen::TAO_STRUCT_CS: - { - // nothing - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - unknown state\n"), -1); - } - } // end switch state - } // end case interface - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_STRUCT_CH: - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl - (type); - if (!bpd) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - " - "bad predefined type\n"), -1); - } - os->indent (); // start from current indentation - switch (bpd->pt ()) - { - case AST_PredefinedType::PT_any: - case AST_PredefinedType::PT_pseudo: - *os << bt->nested_type_name (bs) << "_var " << f->local_name - () << ";\n"; - break; - default: - *os << bt->nested_type_name (bs) << " " << f->local_name () - << ";\n"; - } - } - break; - case TAO_CodeGen::TAO_STRUCT_CI: - { - // nothing - } - break; - case TAO_CodeGen::TAO_STRUCT_CS: - { - // nothing - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - unknown state\n"), -1); - } - } // end switch state - } - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_STRUCT_CH: - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->nested_type_name (bs, "_var") << " " << - f->local_name () << ";\n"; - } - else - { - *os << "CORBA::String_var " << f->local_name () << ";\n"; - } - } - break; - case TAO_CodeGen::TAO_STRUCT_CI: - { - } - break; - case TAO_CodeGen::TAO_STRUCT_CS: - { - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - unknown state\n"), -1); - } - } // end switch state - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_STRUCT_CH: - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - " - "error generating code for type\n"), - -1); - } - // this is not to be generated for arrays - if (bt->node_type () != AST_Decl::NT_array) - { - os->indent (); - *os << bt->nested_type_name (bs) << " " << f->local_name () << - ";\n"; - } - } - break; - case TAO_CodeGen::TAO_STRUCT_CI: - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - " - "error generating code for type\n"), - -1); - } - } - break; - case TAO_CodeGen::TAO_STRUCT_CS: - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - " - "error generating code for type\n"), - -1); - } - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_struct - unknown state\n"), -1); - } - } // end switch state - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, f, temp); - } // end of switch - //break; unreachable statement! - } - // the enclosing structure will be variable length if the field's type is - // variable length - bs->size_type (type->size_type ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_typedef.cpp b/TAO/TAO_IDL/be/be_state_typedef.cpp deleted file mode 100644 index 7c83bfa758c..00000000000 --- a/TAO/TAO_IDL/be/be_state_typedef.cpp +++ /dev/null @@ -1,368 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_typedef.cpp -// -// = DESCRIPTION -// state based code generation for typedefs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for typedef -be_state_typedef::be_state_typedef (void) -{ -} - -// generate code for structure member -int -be_state_typedef::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_typedef *tdef; // typedef node - be_decl *scope; // enclosing scope in which the typedef occurs - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - os = cg->client_header (); // set the stream to be the client header - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - os = cg->client_inline (); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - os = cg->client_stubs (); - break; - default: - return -1; - } // end of outermost switch - - - tdef = be_typedef::narrow_from_decl (d); // downcast to typedef node - if (!tdef) - return -1; - - scope = be_scope::narrow_from_scope (tdef->defined_in ())->decl (); - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most - // primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // the typedef node has the same size type as its base type - tdef->size_type (bt->size_type ()); - - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - os->indent (); // start from current indentation - - // typedef of an interface results in 3 typedefs as shown below - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_ptr") << " " << - d->local_name () << "_ptr;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << " " << - d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " << - d->local_name () << "_out;\n\n"; - } - break; - default: // nothing to do for other cases - break; - } // end of switch state - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - be_predefined_type *pd = be_predefined_type::narrow_from_decl (type); - - if (!pd) - return -1; - os->indent (); // start from current indentation - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";"; - // if the predefined type is an ANY, we also define a typedef to _var - if (pd->pt () == AST_PredefinedType::PT_any) - { - *os << nl; - *os << "typedef " << bt->name () << "_var " << d->local_name - () << "_var;"; - } - else if (pd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object - *os << "typedef " << bt->nested_type_name (scope, "_ptr") << - " " << d->local_name () << "_ptr;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << - " " << d->local_name () << "_var;" << nl; - } - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;\n\n"; - } // end of case - break; - default: // nothing to do for other cases - break; - } // end switch - } - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << - " " << d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << - " " << d->local_name () << "_out;\n\n"; - } - else - { - *os << "typedef CORBA::String " << d->local_name () << ";" << - nl; - *os << "typedef CORBA::String_var " << d->local_name - () << "_var;" << nl; - *os << "typedef CORBA::String_out " << d->local_name - () << "_out;\n\n"; - } - } - break; - default: // nothing to do for the rest of the cases - break; - } // end switch state - } - break; - case AST_Decl::NT_enum: // type is an enum - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - os->indent (); // start from current indentation - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - enum gen failed\n"), -1); - } - } - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;\n\n"; - } - break; - default: - break; - } // end of switch - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - // if we are not here recursively, then we need to generate the - // definition first i.e., this typedef had its immediate base - // class that was an array declaration. The code for arrays will - // handle all the code generation. We just prepend the word - // "typedef". - if (bt->node_type () != AST_Decl::NT_typedef) - { - os->indent (); - *os << "typedef "; - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - array gen failed\n"), -1); - } - } - else - { - // we are a typedef node whose immediate base class is also a - // typedefed node to some array node. We simply output a - // number of typedef statements - os->indent (); - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_slice") << - " " << d->local_name () << "_slice;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << " " - << d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_forany") << " " - << d->local_name () << "_forany;" << nl; - - // typedefs for the auxiliary methods. If we are nested inside - // some scope, these methods become static to the enclosing scope - if (d->is_nested ()) - *os << "static "; - *os << bt->nested_type_name (scope) << "_slice* " << d->local_name () << - "_alloc (void);" << nl; - if (d->is_nested ()) - *os << "static "; - *os << bt->nested_type_name (scope, "_slice") << " *" << - d->local_name () << "_dup (" - << bt->nested_type_name (scope) << "_slice* " << ");" << nl; - if (d->is_nested ()) - *os << "static "; - *os << "void " << bt->nested_type_name (scope) << "_free (" << - d->name () << "_slice *);\n\n"; - } - } - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - } - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - } - break; - default: - break; - } // end of switch - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - os->indent (); // start from current indentation - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << " " - << d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;\n\n"; - } - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - } - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - } - break; - default: - break; - } // end of switch state - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, tdef, temp); - } // end of case - //break; unreachable statement! - } // end of switch - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_union.cpp b/TAO/TAO_IDL/be/be_state_union.cpp deleted file mode 100644 index 9a0b5b6c07e..00000000000 --- a/TAO/TAO_IDL/be/be_state_union.cpp +++ /dev/null @@ -1,1144 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_union.cpp -// -// = DESCRIPTION -// state based code generation for unions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_state_union_disctypedefn_ch::be_state_union_disctypedefn_ch (void) -{ -} - -// generate code for union discriminant type in client header -int -be_state_union_disctypedefn_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union *bu; - - bu = be_union::narrow_from_decl (d); // downcast to union type - if (!bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_disctypedefn_ch::" - "gen_code - " - "bad union node\n"), -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - os = cg->client_header (); // get client header stream - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_string: // type is a string - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - case AST_Decl::NT_except: // type is an exception - // all these cases are syntax errors which the front-end should have - // flagged as error cases - return -1; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - { - // if the discriminant is an enum, first generate the enum - // definition. However, check that we are not inside a recursive call - if (bt->node_type () == AST_Decl::NT_enum) - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_disctypedefn_ch::" - "gen_code - " - "codegen for discrim failed\n"), -1); - } - - os->indent (); - // the set method - *os << "void _d (" << bt->nested_type_name (bu) << ");" << nl; - // the get method - *os << bt->nested_type_name (bu) << " _d (void) const;\n\n"; - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - // a scoped name must result in one of the allowed types. Hopefully the - // front-end has done a good job of ensuring this. - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - if (!t) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_disctypedefn_ch::" - "gen_code - " - "bad typedef node\n"), -1); - } - - temp = t->primitive_base_type (); - return this->gen_code (t, d, temp); - } - } // end of switch - return 0; -} - -be_state_union_disctypedefn_ci::be_state_union_disctypedefn_ci (void) -{ -} - -// generate code for union discriminant type in client inline -int -be_state_union_disctypedefn_ci::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union *bu; - - bu = be_union::narrow_from_decl (d); // downcast to union type - if (!bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_disctypedefn_ci::" - "gen_code - " - "bad union node\n"), -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - os = cg->client_inline (); // get client inline stream - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_string: // type is a string - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - case AST_Decl::NT_except: // type is an exception - // all these cases are syntax errors which the front-end should have - // flagged as error - return -1; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_typedef: // type is a typedef - { - os->indent (); - // the set method - *os << "// accessor to set the discriminant" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::_d (" << bt->name () << - " discval)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "this->disc_ = discval;\n"; - os->decr_indent (); - *os << "}" << nl; - // the get method - *os << "// accessor to get the discriminant" << nl; - *os << "ACE_INLINE " << bt->name () << nl; - *os << bu->name () << "::_d (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->disc_;\n"; - os->decr_indent (); - *os << "}\n\n"; - } - break; - } // end of switch - return 0; -} - -be_state_union_public_ch::be_state_union_public_ch (void) -{ -} - -// generate code for union branch members in client header. This involves -// generating the set/get methods corresponding to the members -int -be_state_union_public_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - os = cg->client_header (); // get client header stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ch::" - "gen_code - " - "bad union member\n"), -1); - } - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (bu == NULL) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ch::" - "gen_code - " - "bad union node\n"), -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // codegen based on node type and the state we are in - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - os->indent (); // start from current indentation - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu, "_ptr") << ");// set" << nl; - *os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () << - " (void) const; // get method\n\n"; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - if (!bpd) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ch::" - "gen_code - " - "bad predefined type\n"), -1); - } - - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - os->indent (); // start from current indentation - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu) << "_ptr);// set" << nl; - *os << bt->nested_type_name (bu) << "_ptr " << ub->local_name () << - " (void) const; // get method\n\n"; - } - else - { - os->indent (); // start from current indentation - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu) << ");// set" << nl; - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - " (void) const; // get method\n\n"; - } - } - break; - case AST_Decl::NT_enum: // type is an enum - { - // XXXASG - TODO - what if we have a pseudo obj? - // if the type is an enum, we generate its defn first - if (bt->node_type () == AST_Decl::NT_enum) - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ch::" - "gen_code - " - "bad union member\n"), -1); - } - - os->indent (); // start from current indentation - *os << "void " << ub->local_name () << " (" << bt->nested_type_name (bu) - << ");// set" << nl; - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - " (void) const; // get method\n\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - // three methods to set the string value - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu) << "); // set" << nl; - *os << "void " << ub->local_name () << " (const " << - bt->nested_type_name (bu) << "); // set" - << nl; - *os << "void " << ub->local_name () << - " (const " << bt->nested_type_name (bu, "_var") << " &); // set" << - nl; - *os << "const " << bt->nested_type_name (bu) << " " << - ub->local_name () << " (void) const; // get method\n\n"; - } - else - { - // three methods to set the string value - *os << "void " << ub->local_name () << " (char *); // set" << nl; - *os << "void " << ub->local_name () << " (const char *); // set" - << nl; - *os << "void " << ub->local_name () << - " (const CORBA::String_var&); // set" << nl; - *os << "const char *" << ub->local_name () << - " (void) const; // get method\n\n"; - } - } - break; - case AST_Decl::NT_array: // type is an array - { - // generate code for the array. So let the array handle code - // generation. Check if this is not a recursive call - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ch::" - "gen_code - " - "codegen for array failed\n"), -1); - } - - os->indent (); - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu) << ");// set" << nl; - *os << bt->nested_type_name (bu, "_slice") << " *" << ub->local_name () << - " (void) const; // get method\n\n"; - - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - // generate defn for this aggregate unless we are recursively called - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ch::" - "gen_code - " - "codegen for type failed\n"), -1); - } - - os->indent (); - *os << "void " << ub->local_name () << " (const " << - bt->nested_type_name (bu) << " &);// set" << nl; - *os << "const " << bt->nested_type_name (bu) << " &" << ub->local_name - () << " (void) const; // get method (read only)" << nl; - *os << bt->nested_type_name (bu) << " &" << ub->local_name () << - " (void); // get method (read/write only)\n\n"; - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - } // end of switch - - // enclosing union is variable if the member is variable - bu->size_type (type->size_type ()); - - return 0; -} - -be_state_union_public_ci::be_state_union_public_ci (void) -{ -} - -// generate code for union branch members in client inline. This involves -// generating the set/get methods corresponding to the members -int -be_state_union_public_ci::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - os = cg->client_inline (); // get client inline stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ci::" - "gen_code - " - "bad union member\n"), -1); - } - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (bu == NULL) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ci::" - "gen_code - " - "bad union node\n"), -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - switch (type->node_type ()) - { - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_interface: // type is an obj reference - { - // for array, generate inline methods if any - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () == AST_Decl::NT_array - && !bt->imported ()) - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ci::" - "gen_code - " - "codegen for array failed\n"), -1); - } - - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::" << ub->local_name () << " (" << bt->name (); - if (type->node_type () == AST_Decl::NT_interface) - { - // if it is an interface node, we use _ptr as a suffix for the type - *os << "_ptr"; - } - *os << " val)// set" << nl; - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - if (type->node_type () == AST_Decl::NT_interface) - { - // the private data member is a pointer type - *os << "*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - *os << "this->" << ub->local_name () << "_ = val;\n"; - } - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // get method - *os << "// retrieve the member" << nl; - *os << "ACE_INLINE " << bt->name (); - if (type->node_type () == AST_Decl::NT_interface) - { - // for interface type, return a _ptr type - *os << "_ptr"; - } - else if (type->node_type () == AST_Decl::NT_array) - { - // for an array, return a _slice* type - *os << "_slice *"; - } - *os << nl; - *os << bu->name () << "::" << ub->local_name () << - " (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - if (type->node_type () == AST_Decl::NT_interface) - { - *os << "return *this->" << ub->local_name () << "_;\n"; - } - else - { - *os << "return this->" << ub->local_name () << "_;\n"; - } - os->decr_indent (); - *os << "}\n\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - // three methods to set the string value - - // (1) set method from char* - os->indent (); // start from current indentation - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bu->name () << "::" << ub->local_name () << " (" << bt->name - () << " val)" << nl; - } - else - { - *os << bu->name () << "::" << ub->local_name () << " (char *val)" - << nl; - } - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "if (!this->" << ub->local_name () << "_) // does not exist" - << nl ; - *os << " this->" << ub->local_name () << - "_ = new CORBA::String_var (val);" << nl; - *os << "else" << nl; - *os << " *this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // (2) set method from const char * - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bu->name () << "::" << ub->local_name () << " (const " << - bt->name () << " val)" << nl; - } - else - { - *os << bu->name () << "::" << ub->local_name () << - " (const char *val)" << nl; - } - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "if (!this->" << ub->local_name () << "_) // does not exist" - << nl ; - *os << " this->" << ub->local_name () << - "_ = new CORBA::String_var (val);" << nl; - *os << "else" << nl; - *os << " *this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // (3) set from const String_var& - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bu->name () << "::" << ub->local_name () << " (const " << - bt->name () << "_var &val)" << nl; - } - else - { - *os << bu->name () << "::" << ub->local_name () << - " (const CORBA::String_var &val)" << nl; - } - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "if (!this->" << ub->local_name () << "_) // does not exist" - << nl ; - *os << " this->" << ub->local_name () << - "_ = new CORBA::String_var (val);" << nl; - *os << "else" << nl; - *os << " *this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << "ACE_INLINE const " << bt->name () << nl; - } - else - { - *os << "ACE_INLINE const char *" << nl; - } - *os << bu->name () << "::" << ub->local_name () << - " (void) const // get method" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}\n\n"; - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_union: // type is a union - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ci::" - "gen_code - " - "codegen for type failed\n"), -1); - } - - os->indent (); - // This case has to be handled differently from structs because the data - // member is a pointer - - // (1) set from a const - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::" << ub->local_name () << - " (const " << bt->name () << " &val)" << nl; - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // readonly get method - *os << "// readonly get method " << nl; - *os << "ACE_INLINE const " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - // read/write get method - *os << "// read/write get method " << nl; - *os << "ACE_INLINE " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - } - break; - case AST_Decl::NT_struct: // type is a struct - { - // We first need to generate code for this aggregate type. Check - // if we are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef - && !bt->imported ()) - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_ci::" - "gen_code - " - "codegen for struct failed\n"), -1); - } - - os->indent (); - - // (1) set from a const - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::" << ub->local_name () << - " (const " << bt->name () << " &val)" << nl; - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // readonly get method - *os << "// readonly get method " << nl; - *os << "ACE_INLINE const " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - // read/write get method - *os << "// read/write get method " << nl; - *os << "ACE_INLINE " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - } // end of switch - - return 0; -} - -be_state_union_public_cs::be_state_union_public_cs (void) -{ -} - -// generate code for union branch members in client header. This involves -// generating the set/get methods corresponding to the members -int -be_state_union_public_cs::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - os = cg->client_stubs (); // get client stubs stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_cs::" - "gen_code - " - "bad union member\n"), -1); - } - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (!bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_cs::" - "gen_code - " - "bad union member\n"), -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_UNION_PUBLIC_CS: - { - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_string: // type is a string - { - // nothing - } - break; - case AST_Decl::NT_enum: // type is an enum - { - if (bt->node_type () == AST_Decl::NT_enum) - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_cs::" - "gen_code - " - "codegen for type failed\n"), -1); - } - } - break; - case AST_Decl::NT_array: // type is an array - { - // generate code for the array. So let the array handle code - // generation. Check if this is not a recursive call - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_cs::" - "gen_code - " - "codegen for type failed\n"), -1); - } - - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - // generate defn for this aggregate unless we are recursively called - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_public_cs::" - "gen_code - " - "codegen for type failed\n"), -1); - } - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_private_cs::" - "gen_code - " - "bad typedef\n"), -1); - } - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - } // end of switch node type - } - break; - case TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS: - { - // This state 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 (); - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "case " << ub->label ()->label_val ()->n () << ":\n"; - } - else - { - *os << "case " << ub->label ()->label_val () << ":\n"; - } - os->incr_indent (); - *os << "this->" << ub->local_name () << "_ = u." << ub->local_name () - << "_;" << nl; - *os << "break;\n"; - os->decr_indent (0); - } - break; - } - - return 0; -} - -be_state_union_private_ch::be_state_union_private_ch (void) -{ -} - -int -be_state_union_private_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - os = cg->client_header (); // get client header stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_private_ch::" - "gen_code - " - "bad union member\n"), -1); - } - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (!bu) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_private_ch::" - "gen_code - " - "bad union\n"), -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - 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 - *os << bt->nested_type_name (bu, "_var") << " *" << ub->local_name () << - "_;\n"; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - if (!bpd) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_union_private_ch::" - "gen_code - " - "bad predefined type\n"), -1); - } - - if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << "_var " << ub->local_name () << - "_;\n"; - } - else - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - "_;\n"; - } - } - break; - case AST_Decl::NT_enum: // type is an enum - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - "_;\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - 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 - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->nested_type_name (bu, "_var") << " *" << ub->local_name () << - "_;\n"; - } - else - { - *os << "CORBA::String_var *" << ub->local_name () << "_;\n"; - } - } - break; - case AST_Decl::NT_array: // type is an array - { - os->indent (); - *os << bt->nested_type_name (bu, "_slice") << " *" << ub->local_name () << - "_;\n"; - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_union: // type is a union - { - 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"; - } - break; - case AST_Decl::NT_struct: // type is a struct - { - os->indent (); - *os << bt->nested_type_name (bu) << " " << ub->local_name () << "_;\n"; - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - } // end of switch - return 0; -} diff --git a/TAO/TAO_IDL/be/be_string.cpp b/TAO/TAO_IDL/be/be_string.cpp deleted file mode 100644 index c883c6e80eb..00000000000 --- a/TAO/TAO_IDL/be/be_string.cpp +++ /dev/null @@ -1,175 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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)); -} - -// Code generation - -int -be_string::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - ch->indent (); - *ch << "char *"; - - return 0; -} - -int -be_string::gen_client_stubs (void) -{ - return 0; -} - -int -be_string::gen_server_header (void) -{ - return 0; -} - -int -be_string::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the client-side inline information -int -be_string::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_string::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_string::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from the current indentation level - // emit the enumeration - *cs << "CORBA::tk_string, " << nl; - *cs << this->max_size () << ", // string length\n"; - return 0; -} - -// compute typecode size -long -be_string::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing string length - return 4 + 4; -} - -int -be_string::gen_encapsulation (void) -{ - return 0; -} - -long -be_string::tc_encap_len (void) -{ - if (this->encap_len_ == -1) - { - this->encap_len_ = 0; // no encapsulation - } - return this->encap_len_; -} - -int be_string::write_as_return (TAO_OutStream *stream, - be_type * /* type */) -{ - *stream << "char* "; - return 0; -} - -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 0f9778ba764..00000000000 --- a/TAO/TAO_IDL/be/be_structure.cpp +++ /dev/null @@ -1,911 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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 - 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 (); - 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_; -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the structure -int -be_structure::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_STRUCT_CH); // set current code gen state - - ch = cg->client_header (); - - ch->indent (); // start from whatever indentation level we were at - *ch << "struct " << local_name () << nl; - *ch << "{\n"; - ch->incr_indent (0); - - // generate code for field members - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_header -" - "codegen for scope failed\n"), -1); - } - - ch->decr_indent (); - *ch << "};\n\n"; - - // generate var defn - this->gen_var_defn (); - - // a class is generated for an out defn only for a variable length struct - if (this->size_type () == be_decl::VARIABLE) - { - this->gen_out_defn (); - } - else - { - ch->indent (); - *ch << "typedef " << this->local_name () << " &" << this->local_name - () << "_out;\n\n"; - } - - // generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - this->cli_hdr_gen_ = I_TRUE; - cg->pop (); // pop up the current state - } - return 0; -} - -// Generates the client-side stubs for the structure -int -be_structure::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_STRUCT_CS); // set current code gen state - - cs = cg->client_stubs (); - // pass info - cg->node (this); - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - if (this->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - - return 0; - -} - -// Generates the client-side inline information -int -be_structure::gen_client_inline (void) -{ - if (!this->cli_inline_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_STRUCT_CI); // set current code gen state - - if (this->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_inline -" - "_var codegen failed\n"), -1); - } - if (this->size_type () == be_decl::VARIABLE && this->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_inline -" - "_out codegen failed\n"), -1); - } - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_inline -" - "codegen for scope failed\n"), -1); - } - this->cli_inline_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -// Generates the server-side header information for the structure -int -be_structure::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the structure -int -be_structure::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_structure::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate the _var definition for ourself -int -be_structure::gen_var_defn (void) -{ - 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 (void) -{ - 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 (void) -{ - 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 << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << 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 (void) -{ - 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 << " (" << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 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; -} - -// generate typecode. -// Typecode for structures comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_structure::gen_typecode (void) -{ - 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_struct, // typecode kind" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - return -1; - } - cs->decr_indent (); - return 0; -} - -// 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_structure::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *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 ("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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: cannot generate typecode for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_structure::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -// compute encapsulation length -long -be_structure::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -// 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; -} - -int be_structure::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name (); - if (this->size_type () == be_decl::VARIABLE) - { - *stream << " *"; - } - 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 f6bbac39a76..00000000000 --- a/TAO/TAO_IDL/be/be_sunsoft.cpp +++ /dev/null @@ -1,108 +0,0 @@ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_sunsoft.h" - -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 ("%ld", ev->u.ulval); - break; - case AST_Expression::EV_longlong: - break; - case AST_Expression::EV_ulonglong: - break; - case AST_Expression::EV_float: - this->TAO_OutStream::print ("%f", ev->u.fval); - 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: - this->TAO_OutStream::print ("'%c'", ev->u.cval); - break; - case AST_Expression::EV_wchar: - break; - case AST_Expression::EV_octet: - this->TAO_OutStream::print ("%c", 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 79484c523eb..00000000000 --- a/TAO/TAO_IDL/be/be_type.cpp +++ /dev/null @@ -1,285 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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; -} - -// retrieve typecode name -UTL_ScopedName * -be_type::tc_name (void) -{ - 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) -{ - // 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 curr and next component in the scope - *def_curr = def_name, - *def_next, - *use_curr = use_name, - *use_next; - - 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) - *def_next = 0; - - if (use_next) - *use_next = 0; - - if (!ACE_OS::strcmp (def_curr, use_curr)) - { - // 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); // initialize the first argument - - 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) - *def_next = 0; - - if (use_next) - *use_next = 0; - - if (!ACE_OS::strcmp (def_curr, use_curr)) - { - // they have same prefix, append to arg1 - //@@ ACE_OS::strcat (this->nested_type_name_, "::"); - //@@ ACE_OS::strcat (this->nested_type_name_, def_curr); - 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); - - // append our local name - 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 - ACE_OS::sprintf (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 (void) -{ - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_type::gen_var_impl (void) -{ - return 0; -} - -// generate the _out definition -int -be_type::gen_out_defn (void) -{ - return 0; -} - -int -be_type::gen_out_impl (void) -{ - return 0; -} - -AST_Decl::NodeType be_type::base_node_type (void) const -{ - return ACE_const_cast(be_type*, this)->node_type (); -} - -int be_type::write_as_return (TAO_OutStream *, be_type *) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "be_type::write_as_return - internal error," - " method shouldn't be invoked\n"), -1); -} - -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 2d7885d18db..00000000000 --- a/TAO/TAO_IDL/be/be_typedef.cpp +++ /dev/null @@ -1,344 +0,0 @@ -// ============================================================================ -// -// = 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" - -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; -} - -int -be_typedef::gen_client_header (void) -{ - be_type *bt; // type node - be_state *s; // state based code gen object - TAO_OutStream *ch; // client header - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ch = cg->client_header (); - cg->push (TAO_CodeGen::TAO_TYPEDEF_CH); - s = cg->make_state (); - - bt = be_type::narrow_from_decl (this->base_type ()); - // first generate the mapping for our type. As a side effect, also - // generate the mapping for the typedef - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_typedef: error generating code for base type\n")); - return -1; - } - - // generate the typecode decl for this typedef node - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - - cg->pop (); - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -int -be_typedef::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; - be_state *s; // state based code gen object - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_TYPEDEF_CS); // set current code gen state - - cs = cg->client_stubs (); - - s = cg->make_state (); - - bt = be_type::narrow_from_decl (this->base_type ()); - // first generate the mapping for our type. As a side effect, also - // generate the mapping for the typedef - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_typedef: error generating code for base type\n")); - return -1; - } - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating typecode\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_alias, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - - - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - - return 0; -} - -// Generates the client-side inline information -int -be_typedef::gen_client_inline (void) -{ - be_type *bt; // type node - be_state *s; // state based code gen object - - if (!this->cli_inline_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_TYPEDEF_CI); - s = cg->make_state (); - - bt = be_type::narrow_from_decl (this->base_type ()); - // first generate the mapping for our type - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_typedef: error generating code for base type\n")); - return -1; - } - - cg->pop (); - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -int -be_typedef::gen_server_header (void) -{ - return 0; -} - -int -be_typedef::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the server-side inline -int -be_typedef::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_typedef::gen_typecode (void) -{ - 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_alias, // typecode kind for typedefs" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - return -1; - } - - cs->decr_indent (0); - return 0; -} - -// generate encapsulation. A typedef is an alias to its base type -int -be_typedef::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - be_type *bt; // base type - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *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 ("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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - - // generate typecode for the base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt || (bt->gen_typecode () == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_typedef::gen_encapsulation failed for base type\n"), - -1); - } - return 0; -} - -long -be_typedef::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_typedef::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; // base type - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, - "be_typedef::tc_encap_len - bad base type\n")); - return 0; - } - this->encap_len_ += bt->tc_size (); - - } - return this->encap_len_; -} - -// 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::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - be_type *base = be_type::narrow_from_decl (this->base_type ()); - return base->write_as_return (stream, 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 46ea8ec2931..00000000000 --- a/TAO/TAO_IDL/be/be_union.cpp +++ /dev/null @@ -1,1190 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * 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) -{ -} - -// compute total number of members -int -be_union::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 (); - 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 - - this->default_index_ = -1; // if not used at all, this is the value it will - // take - - // 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); - if (bub->label ()->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_; -} - - -// **************************** -// code generation -// **************************** - -int -be_union::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // code generation state - - if (!this->cli_hdr_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the ifdefined macro for the array type - ch->gen_ifdef_macro (this->flatname ()); - ch->indent (); // start with the current indentation level - *ch << "class " << idl_global->export_macro () - << " " << local_name () << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // generate default and copy constructors - *ch << local_name () << " (void); // default constructor" << nl; - *ch << local_name () << " (const " << local_name () << - " &); // copy constructor" << nl; - // generate destructor - *ch << "~" << local_name () << " (void); // destructor" << nl; - // generate assignment operator - *ch << local_name () << " &operator= (const " << local_name () << - " &); // copy constructor\n\n"; - - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. - - cg->push (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CH); // set current code gen state - bt = be_type::narrow_from_decl (this->disc_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "bad disciminant type\n"), -1); - } - - s = cg->make_state (); // get the code gen object for the current state - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "bad state\n"), -1); - } - - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "codegen for discriminant failed\n"), -1); - } - cg->pop (); // revert to previous state - - // now generate the public defn for the union branch members - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_CH); // set current code gen state - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "codegen for public defn of union members\n"), - -1); - } - - cg->pop (); - - // now generate the private data members of the union - cg->push (TAO_CodeGen::TAO_UNION_PRIVATE_CH); // set current code gen state - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << bt->nested_type_name (this) << " disc_;" << nl; // emit the - // ACE_NESTED_CLASS macro - - // the members are inside of a union - *ch << "union" << nl; - *ch << "{\n"; - ch->incr_indent (0); - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "codegen for private members of union\n"), -1); - } - - ch->decr_indent (); - *ch << "}; // end of union\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - // Generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << this->tc_name ()->last_component () << ";\n\n"; - } - ch->gen_endif (); - - // generate the ifdefined macro for the array type - ch->gen_ifdef_macro (this->flatname (), "_var"); - // generate var defn - if (this->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "codegen for _var\n"), -1); - } - ch->gen_endif (); - - // generate the ifdefined macro for the array type - ch->gen_ifdef_macro (this->flatname (), "_out"); - // a class is generated for an out defn only for a variable length struct - if (this->size_type () == be_decl::VARIABLE) - { - if (this->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_header - " - "codegen for _out\n"), -1); - } - } - else - { - ch->indent (); - *ch << "typedef " << this->local_name () << " &" << this->local_name - () << "_out;\n\n"; - } - ch->gen_endif (); - - cg->pop (); - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -int -be_union::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cs = cg->client_stubs (); - - // first generate code for any of the members (if required, e.g., - // anonymous sequences, structs, unions, arrays) - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_CS); // set current code gen state - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_stubs - " - "codegen for scope failed\n"), -1); - } - cg->pop (); - - // now generate the operations on the union such as the copy constructor - // and the assignment operator - - *cs << "// *************************************************************" - << nl; - *cs << "// Operations for union " << this->name () << nl; - *cs << "// *************************************************************\n\n"; - - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - - // generate the copy constructor and the assignment operator here - cs->indent (); - *cs << "// copy constructor" << nl; - *cs << this->name () << "::" << this->local_name () << " (const " << - this->name () << " &u)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // first set the discriminant - *cs << "this->disc_ = u.disc_;" << nl; - // now switch based on the disc value - *cs << "switch (this->disc_)" << nl; - *cs << "{\n"; - cs->incr_indent (0); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_stubs - " - "codegen for scope failed\n"), -1); - } - - cs->decr_indent (); - *cs << "}\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator - cs->indent (); - *cs << "// assignment operator" << nl; - *cs << this->name () << " &" << nl; // return type - *cs << this->name () << "::operator= (const " << - this->name () << " &u)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // first set the discriminant - *cs << "this->disc_ = u.disc_;" << nl; - // now switch based on the disc value - *cs << "switch (this->disc_)" << nl; - *cs << "{\n"; - cs->incr_indent (0); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_stubs - " - "codegen for scope failed\n"), -1); - } - - cs->decr_indent (); - *cs << "}" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_stubs - " - "codegen for encapsulation failed\n"), -1); - } - - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_union, sizeof (_oc_" << this->flatname () << - "), (char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -// Generates the client-side inline information -int -be_union::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // code generation state - - - if (!this->cli_inline_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ci = cg->client_inline (); - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for union " << this->name () << nl; - *ci << "// *************************************************************\n\n"; - - // generate the default constructor and the destructor here - ci->indent (); - *ci << "// default constructor" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" << this->local_name () << " (void)" << nl; - *ci << "{" << nl; - *ci << "}" << nl << nl; - - *ci << "// destructor" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::~" << this->local_name () << " (void)" << nl; - *ci << "{" << nl; - *ci << "}\n\n"; - - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. - - cg->push (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CI); // set current code gen state - bt = be_type::narrow_from_decl (this->disc_type ()); - - s = cg->make_state (); // get the code gen object for the current state - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Discriminant type generation failure\n")); - return -1; - } - cg->pop (); - - // now generate the implementation of the access methods - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_CI); // set current code gen state - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_inline - " - "codegen for scope failed\n"), -1); - } - - cg->pop (); - - // generate the ifdefined macro for the array type - ci->gen_ifdef_macro (this->flatname (), "_var"); - if (this->gen_var_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_inline - " - "codegen for _var failed\n"), -1); - } - ci->gen_endif (); - - // generate the ifdefined macro for the array type - ci->gen_ifdef_macro (this->flatname (), "_out"); - if (this->size_type () == be_decl::VARIABLE && this->gen_out_impl () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union::" - "gen_client_inline - " - "codegen for _out failed\n"), -1); - } - ci->gen_endif (); - - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -int -be_union::gen_server_header (void) -{ - return 0; -} - -int -be_union::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the server-side inline -int -be_union::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate typecode. -// Typecode for union comprises the enumerated value followed by the -// encapsulation of the parameters - -// generate the _var definition for ourself -int -be_union::gen_var_defn (void) -{ - 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 (void) -{ - 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 (void) -{ - 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 << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << 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 (void) -{ - 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 << " (" << fname << - " &p) // copy constructor" << nl; - *ci << " : ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 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; -} - -int -be_union::gen_typecode (void) -{ - 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_union, // 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_union::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - be_type *discrim; - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *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 ("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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << ",\n"; - - // generate typecode for discriminant - discrim = be_type::narrow_from_decl (this->disc_type ()); - if (discrim->gen_typecode () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate typecode for discriminant\n")); - return -1; - } - - // generate the default used flag - cs->indent (); - *cs << this->default_index () << ", // default used index" << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate code for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_union::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_union::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - long slen; - be_type *discrim; - - // 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 (); // for name - - // add encapsulation size of discriminant typecode - discrim = be_type::narrow_from_decl (this->disc_type ()); - this->encap_len_ += discrim->tc_size (); - - this->encap_len_ += 4; // to hold the "default used" flag - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -// 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_structure::compute_size_type - " - "narrow_from_decl returned 0\n")); - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int be_union::write_as_return (TAO_OutStream *stream, - be_type *type) -{ - *stream << type->name (); - if (this->size_type () == be_decl::VARIABLE) - { - *stream << " *"; - } - return 0; -} - -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 78defae5d7b..00000000000 --- a/TAO/TAO_IDL/be/be_union_branch.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// ============================================================================ -// -// = 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" - -/* - * BE_UnionBranch - */ -be_union_branch::be_union_branch (void) -{ -} - -be_union_branch::be_union_branch (AST_UnionLabel *lab, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_UnionBranch (lab, ft, n, p), - AST_Field (AST_Decl::NT_union_branch, ft, n, p), - AST_Decl (AST_Decl::NT_union_branch, n, p) -{ -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the union_branch -int -be_union_branch::gen_client_header (void) -{ - be_type *bt; // the union_branch type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union_branch::" - "gen_client_header - " - "state based code gen failed\n"), -1); - } - return 0; -} - -// Generates the client-side stubs for the union_branch -int -be_union_branch::gen_client_stubs (void) -{ - be_type *bt; // the union_branch type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union_branch::" - "gen_client_stubs - " - "state based code gen failed\n"), -1); - } - - return 0; -} - -// Generates the client-side inline information -int -be_union_branch::gen_client_inline (void) -{ - be_type *bt; // the union_branch type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_union_branch::" - "gen_client_inline - " - "state based code gen failed\n"), -1); - } - return 0; -} - -// Generates the server-side header information for the union_branch -int -be_union_branch::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the union_branch -int -be_union_branch::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_union_branch::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_union_branch::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // our type node - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - // emit the case label value - *cs << this->label ()->label_val (); - *cs << ", // union case label (evaluated)" << nl; - // emit 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 ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - return -1; - return bt->gen_typecode (); -} - -long -be_union_branch::tc_encap_len (void) -{ - if (this->encap_len_ == -1) - { - be_type *bt; - - this->encap_len_ = 4; // case label; - this->encap_len_ += this->name_encap_len (); // for name - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, "be_union_branch: bad field type\n")); - return -1; - } - this->encap_len_ += bt->tc_size (); // note that we add the typecode size - // of the type - } - return this->encap_len_; -} - -// 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::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 64d1f74893e..00000000000 --- a/TAO/TAO_IDL/be/be_union_label.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// -// $Id$ -// -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * 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_visitor.cpp b/TAO/TAO_IDL/be/be_visitor.cpp deleted file mode 100644 index 38e10c4eb16..00000000000 --- a/TAO/TAO_IDL/be/be_visitor.cpp +++ /dev/null @@ -1,165 +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" - -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 *node) -{ - 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; -} - -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_args.cpp b/TAO/TAO_IDL/be/be_visitor_args.cpp deleted file mode 100644 index ec01a51770c..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_args.cpp +++ /dev/null @@ -1,2450 +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_args.h" - -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 *node) -{ - 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 (); -} - -// ************************************************************ -// 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 () << ",\n"; - 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); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************* -// 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: - os->indent (); - *os << bt->name () << "_slice *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();\n"; - if (!this->void_return_type ()) - { - *os << "ACE_NEW_RETURN (_tao_base_" << arg->local_name () - << ", " << bt->name () << "_slice, _tao_retval);\n"; - } - else - { - *os << "ACE_NEW (_tao_base_" << arg->local_name () - << ", " << bt->name () << "_slice);\n"; - } - break; - default: - break; - } - return 0; - -} - -int -be_visitor_args_pre_docall_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 - - 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 *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 << "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 - 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; - - // pre do_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: - os->indent (); - *os << bt->name () << "_ptr &_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();\n"; - break; - default: - break; - } - } - break; - case AST_PredefinedType::PT_any: - { - switch (this->direction ()) - { - case AST_Argument::dir_OUT: - os->indent (); - *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"; - } - 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 (); - *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"; - } - break; - default: - break; - } - return 0; -} - -int -be_visitor_args_pre_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_OUT: - // caller should have allocated the pointer - os->indent (); - *os << "char *&_tao_base_" << arg->local_name () - << " = " << arg->local_name () << ".ptr ();\n"; - break; - default: - break; - } - 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 (); - *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"; - } - 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 (); - *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"; - } - break; - default: - break; - } - } - return 0; -} - -int -be_visitor_args_pre_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} - -// **************************************************************************** -// visitor for argument passing to do_call. The do_call method takes a variable -// number of parameters. The total number of parameters is determined by the -// "calldata" parameter that must be passed before the variable list -// starts. Each argument to the do_call is considered to be of type "void *". -// 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_call. This is done in the "pre_do_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 - - if (bt->accept (this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_args_docall_cs::" - "visit_argument - " - "cannot accept visitor\n"), - -1); - } - - 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 - - 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: - // pass reference to the pointer to slice - *os << "_tao_base_" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_docall_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 - - 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 *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: - 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 *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: - 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 (); - 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 (); - 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 *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: - *os << "_tao_base_" << arg->local_name (); - 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 (); - 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 (); - 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 (); - else - *os << "&" << arg->local_name (); - } - break; - } - return 0; -} - -int be_visitor_args_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************* -// 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_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 () - << ", _tao_environment);" << be_nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () - << ");\n"; - } - 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: - case AST_Argument::dir_OUT: - { - os->indent (); - // assign the narrowed obj reference - *os << arg->local_name () << " = " << node->name () - << "::_narrow (_tao_base_" << arg->local_name () - << ", _tao_environment);" << be_nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () - << ");\n"; - } - break; - } - return 0; -} - -int -be_visitor_args_post_docall_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************ -// 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) -{ - 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_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 () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - if (node->size_type () == be_type::VARIABLE) - { - *os << bt->name () << "_slice *_tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; - } - else - *os << bt->name () << " " << arg->local_name () << ";\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 (); - *os << bt->name () << "_ptr " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () << ";\n"; - *os << bt->name () << "_ptr _tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << 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 (); - *os << bt->name () << "_ptr " << arg->local_name () << ";" << be_nl; - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () << ";\n"; - *os << bt->name () << "_ptr _tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; - break; - } - return 0; -} - -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 (); - *os << bt->name () << " *_tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << 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 (); - *os << bt->name () << "_ptr " << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << bt->name () << "_ptr _tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << 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 (); - *os << bt->name () << " *_tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << arg->local_name () << ");\n"; - 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 (); - *os << "char *" << arg->local_name () << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "char *_tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << "CORBA::String_out " << arg->local_name () - << " (_tao_ptr_" << 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) - { - *os << bt->name () << " *_tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << 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) - { - *os << bt->name () << " *_tao_ptr_" << arg->local_name () << ";" << be_nl; - *os << bt->name () << "_out " << arg->local_name () - << " (_tao_ptr_" << 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); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************ -// 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) -{ - 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_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 *) -{ - 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 (); - *os << "_tao_ptr_" << 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_" << arg->local_name (); - 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_" << arg->local_name (); - 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 (); - 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 (); - *os << "&" << arg->local_name (); - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "&_tao_ptr_" << arg->local_name (); - 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 (); - 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 (); - 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 (); - 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 (); - else - *os << "&" << arg->local_name (); - break; - } - return 0; -} - -int be_visitor_args_marshal_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************ -// 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) -{ - 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_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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - 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_pre_upcall_ss::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - 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_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_" << arg->local_name () - << ", _tao_environment);\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_" << arg->local_name () - << "_tao_environment);\n"; - break; - case AST_Argument::dir_OUT: - break; - } - return 0; -} - -int be_visitor_args_pre_upcall_ss::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: - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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_pre_upcall_ss::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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_pre_upcall_ss::visit_structure (be_structure *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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_pre_upcall_ss::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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_pre_upcall_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************ -// 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) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - this->ctx_->node (node); // save the argument node - - switch (node->direction ()) - { - case AST_Argument::dir_IN: - case AST_Argument::dir_INOUT: - case AST_Argument::dir_OUT: - os->indent (); - *os << node->local_name (); - break; - } - return 0; - -} - -// ************************************************************************ -// 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) -{ - 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_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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - 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 *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_INOUT: // inout - os->indent (); - *os << "CORBA::release (_tao_base_" << arg->local_name () << ");" - << be_nl; - *os << "_tao_base_" << arg->local_name () << " = " << arg->local_name () - << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "_tao_base_" << arg->local_name () << " = _tao_ptr_" - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_post_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: - break; - case AST_Argument::dir_INOUT: // inout - os->indent (); - *os << "CORBA::release (_tao_base_" << arg->local_name () << ");" - << be_nl; - *os << "_tao_base_" << arg->local_name () << " = " << arg->local_name () - << ";\n"; - break; - case AST_Argument::dir_OUT: - os->indent (); - *os << "_tao_base_" << arg->local_name () << " = _tao_ptr_" - << arg->local_name () << ";\n"; - break; - } - return 0; -} - -int be_visitor_args_post_upcall_ss::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: - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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 *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************ -// 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) -{ - 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_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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - 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 *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 - case AST_Argument::dir_OUT: - os->indent (); - *os << "CORBA::release (_tao_base_" << arg->local_name () << ");\n"; - break; - } - return 0; -} - -int be_visitor_args_post_marshal_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 - case AST_Argument::dir_OUT: - os->indent (); - *os << "CORBA::release (_tao_base_" << arg->local_name () << ");\n"; - break; - } - return 0; -} - -int be_visitor_args_post_marshal_ss::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: - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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 *) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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 *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get the stream - - 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); - return node->primitive_base_type ()->accept (this); -} 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 4f51ea24be2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_attribute.cpp +++ /dev/null @@ -1,182 +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" - -// 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) -{ - TAO_OutStream *os; // output stream - be_type *bt; // type node - - os = this->ctx_->stream (); - 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_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_SS); - break; - } - - 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_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_SS); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_SS); - break; - } - - 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 f2b2d722164..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_constant.cpp +++ /dev/null @@ -1,100 +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" - -// ******************************************************************** -// 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 ()) - { - // 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 - *os << "static 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; -} - -// ******************************************************************** -// 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_hdr_gen ()) - { - if (node->is_nested ()) - { - // 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; -} 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 11ecf88da38..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_context.cpp +++ /dev/null @@ -1,463 +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" - -// constructor -be_visitor_context::be_visitor_context (void) - : state_ (TAO_CodeGen::TAO_UNKNOWN), - os_ (0), - scope_ (0), - node_ (0), - alias_ (0), - tdef_ (0), - attr_ (0), - exception_ (0), - comma_ (0) -{ -} - -be_visitor_context::be_visitor_context (const be_visitor_context &ctx) - : state_ (ctx.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_) -{ -} - -be_visitor_context & -be_visitor_context::operator= (const be_visitor_context &ctx) -{ - this->state_ = ctx.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_; - - return *this; -} - -be_visitor_context::~be_visitor_context (void) -{ - // we do not own anything -} - -//= helpers - -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::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_; -} - -// 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 86b6a179068..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_decl.cpp +++ /dev/null @@ -1,37 +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" - -// 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_; -} 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 08692251985..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_enum.cpp +++ /dev/null @@ -1,158 +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" - -// ******************************************************************** -// 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 << "\n"; - 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"; - - // Generate the typecode decl - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - *os << "static CORBA::TypeCode_ptr " << node->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern CORBA::TypeCode_ptr " << node->tc_name - ()->last_component () << ";\n\n"; - } - node->cli_hdr_gen (I_TRUE); - } - return 0; -} - -int -be_visitor_enum_ch::post_process (void) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *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; -} - - -// ******************************************************************** -// 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) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_stub_gen () && !node->imported ()) - { - // generate the typecode information here - os->indent (); // start from current indentation level - *os << be_nl - << "static const CORBA::Long _oc_" << node->flatname () << "[] =" - << be_nl - << "{" << be_idt_nl; - if (node->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_enum_cs::" - "visit_enum - " - "scope generation failed\n" - ), -1); - } - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () - << " (CORBA::tk_enum, sizeof (_oc_" << node->flatname () - << "), (char *) &_oc_" << node->flatname () - << ", CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" - << node->flatname () << ";\n\n"; - 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 75e4bdb889d..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_exception.cpp +++ /dev/null @@ -1,909 +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" - -// 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 *node) -{ - 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; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_exception::" - "visit_field - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ****************************************************** -// 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 (); - // 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; - - // 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; - } - - // assignment operator - *os << node->local_name () << " &operator= (const " - << node->local_name () << " &);" << be_nl; - // the static _narrow method - *os << "static " << node->local_name () - << " *_narrow (CORBA::Exception *);\n"; - - // 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->decr_indent (); - *os << "};" << be_nl; - - // generate the typecode decl - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - *os << "static CORBA::TypeCode_ptr " - << node->tc_name ()->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 ()->last_component () << ";\n\n"; - } - os->gen_endif (); - - node->cli_hdr_gen (1); - - } - return 0; -} - -// ****************************************************** -// 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; -} - -// *************************************************************************** -// 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 (); - - // default constructor - os->indent (); - *os << "// default constructor" << be_nl; - *os << node->name () << "::" << node->local_name () << " (void)" << be_nl; - *os << " : CORBA_UserException (CORBA::TypeCode::_duplicate (" - << 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 (" << - "CORBA::TypeCode::_duplicate (_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; - *os << "{\n"; - os->incr_indent (); - *os << "this->type_ = " << - "CORBA::TypeCode::_duplicate (_tao_excp._type ());\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;\n"; - os->decr_indent (); - *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"; - } - - // 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"; - - // generate the typecode information here - os->indent (); // start from current indentation level - *os << "static const CORBA::Long _oc_" << node->flatname () << "[] =" << - be_nl; - *os << "{\n"; - os->incr_indent (0); - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - if (node->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_structure::gen_client_stubs -" - "codegen for scope failed\n"), -1); - } - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << node->flatname () << - "), (char *) &_oc_" << node->flatname () << - ", CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" << - node->flatname () << ";\n\n"; - - node->cli_stub_gen (I_TRUE); - } - - return 0; -} - -// ************************************************************************ -// 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 (void) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - *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 - - 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 - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->name (); - return 0; -} - -int be_visitor_exception_ctor::visit_enum (be_enum *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << node->nested_type_name (this->ctx_->scope ()); - else - *os << node->name (); - return 0; -} - -int be_visitor_exception_ctor::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->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 - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->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 - - // 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 " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->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 " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->name (); - *os << "_ptr "; - } // end else if - else // simple predefined types - { - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << node->nested_type_name (this->ctx_->scope ()); - else - *os << node->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 - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->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 - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->name (); - *os << " &"; - return 0; -} - -int be_visitor_exception_ctor::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - - if (this->ctx_->state () == TAO_CodeGen::TAO_EXCEPTION_CTOR_CH) - *os << "const " << node->nested_type_name (this->ctx_->scope ()); - else - *os << "const " << node->name (); - *os << " &"; - return 0; -} - -int be_visitor_exception_ctor::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} - -// ************************************************************************ -// 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) -{ - TAO_OutStream *os = this->ctx_->stream (); // get output stream - 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) -{ - 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_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 *) -{ - 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_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 (); - return 0; - // 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); - return node->primitive_base_type ()->accept (this); -} 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 655dfc073ca..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_field.cpp +++ /dev/null @@ -1,777 +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" - -// ********************************************** -// 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) -{ - 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 (); // start from current indentation level - *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 (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope (), "_var"); - return 0; -} - -// 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 - *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 *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - os->indent (); // start from current indentation level - *os << "CORBA::String_var"; - 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) -{ - 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 field 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_spec_ch::" - "visit_typedef - " - "Bad primitive type\n" - ), -1); - } - 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 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; - } - - os->indent (); // start from current indentation level - *os << bt->nested_type_name (this->ctx_->scope ()); - return 0; -} - -// ********************************************** -// 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) -{ - TAO_OutStream *os; - 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_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) -{ - return 0; -} - -// visit sequence -int -be_visitor_field_ci::visit_sequence (be_sequence *node) -{ - 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); - } - - 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_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; -} - -// ********************************************** -// 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) -{ - 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_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) -{ - 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); - } - - 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 7c93e617469..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface.cpp +++ /dev/null @@ -1,1934 +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" - -// ****************************************************** -// 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 *node) -{ - 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_SS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_SS); - break; - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_ATTRIBUTE_COLLOCATED_SS); - break; - 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); - } - break; - } - - 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_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - case TAO_CodeGen::TAO_INTERFACE_CI: - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_CI: - case TAO_CodeGen::TAO_INTERFACE_SH: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_exception - " - "Bad context state\n" - ), -1); - } - break; - } - - 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 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_OPERATION_CH); - // return node->gen_client_header (); - break; - case TAO_CodeGen::TAO_INTERFACE_CS: - ctx.state (TAO_CodeGen::TAO_OPERATION_CS); - // return node->gen_client_stubs (); - break; - case TAO_CodeGen::TAO_INTERFACE_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_SH); - // return node->gen_server_header (); - break; - case TAO_CodeGen::TAO_INTERFACE_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_SS); - // return node->gen_server_skeletons (); - break; - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_SH); - break; - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - ctx.state (TAO_CodeGen::TAO_OPERATION_COLLOCATED_SS); - break; - 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); - } - break; - } - - // 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; - 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_SH: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_union - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_INTERFACE_SI: - case TAO_CodeGen::TAO_INTERFACE_SS: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SH: - case TAO_CodeGen::TAO_INTERFACE_COLLOCATED_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ****************************************************** -// 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 - { - - 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->indent (); - *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 - *os << " : public virtual CORBA::Object" << be_nl; - } - - // generate the body - - *os << "{" << be_nl - << "public:" << 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 (" - << "CORBA::Object_ptr obj, CORBA::Environment &env);" << be_nl - << "static " << node->local_name () << "_ptr " << "_nil (void);\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 (" - << "const CORBA::Char *type_id, " << be_idt << be_idt_nl - << "CORBA::Environment &env" << be_uidt_nl - << ");" << be_uidt_nl - << "virtual const char* " - << "_interface_repository_id (void) const;" << be_uidt_nl; - - // generate the "protected" constructor so that users cannot instantiate - // us - *os << "protected:" << be_idt_nl - << node->local_name () << " (void); // default constructor" << be_nl - << node->local_name () - << " (STUB_Object *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 (); - - - // generate the typecode decl. If we are in the outermost scope, our typecode - // decl is extern - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - *os << "static CORBA::TypeCode_ptr " - << node->tc_name ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern CORBA::TypeCode_ptr " - << node->tc_name ()->last_component () << ";\n\n"; - } - - node->cli_hdr_gen (I_TRUE); - } // if !cli_hdr_gen - return 0; -} - -// ************************************************** -// 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 () << - " (STUB_Object *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); - } - - return 0; -} - -// ************************************************************ -// 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 _duplicate method - *os << node->name () << "_ptr " << node->name () << "::_duplicate (" - << node->name () << "_ptr obj)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "if (!CORBA::is_nil (obj))\n"; - os->incr_indent (); - *os << "obj->AddRef ();\n"; - os->decr_indent (); - *os << be_nl; - *os << "return obj;\n"; - os->decr_indent (); - *os << "} // end of _duplicate" << be_nl << be_nl; - - // The _narrow method - *os << node->name () << "_ptr " << node->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 " << node->name () << "::_nil ();" << be_uidt_nl - << "if (!obj->_is_a (\"" << node->repoID () << "\", env))" - << be_idt_nl - << "return " << node->name () << "::_nil ();" << be_uidt_nl; - - *os << "if (!obj->_is_collocated ()" << be_idt << be_idt << be_idt_nl - << " || !obj->_servant()" << be_nl - << " || obj->_servant()->_downcast (\"" - << node->repoID () << "\") == 0" << be_uidt_nl - << ")" << be_uidt << be_uidt_nl - << "{" << be_idt_nl; - *os << node->name () << "_ptr new_obj = new " - << node->name () << "(obj->_get_parent ());" << be_nl - << "return new_obj;" << be_uidt_nl - << "} // end of if" << be_nl; - - *os << "STUB_Object *stub = obj->_servant ()->_create_stub (env);" << be_nl - << "if (env.exception () != 0)" << be_idt_nl - << "return " << node->name () << "::_nil ();" << be_uidt_nl - << "void* servant = obj->_servant ()->_downcast (\"" - << node->repoID () << "\");" << be_nl - << "return new "; - - // This may be necessary to work around a GCC compiler bug! - const char *coll_name = node->full_coll_name (); - const char *skel_name = node->full_skel_name (); - - *os << coll_name << "(" << be_idt << be_idt_nl - << "ACE_reinterpret_cast(" << skel_name - << "_ptr, servant)," << be_nl - << "stub" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}" << be_nl << be_nl; - - // _nil method - *os << node->name () << "_ptr " << node->name () << "::_nil (void)" << - be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "return (" << node->name () << "_ptr)NULL;\n"; - os->decr_indent (); - *os << "} // end of _nil" << 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 &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, 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); // remote call\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"; - - // generate the typecode information here - os->indent (); // start from current indentation level - *os << "static const CORBA::Long _oc_" << node->flatname () << "[] =" << - be_nl; - *os << "{\n"; - os->incr_indent (0); - if (node->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_interface_cs::" - "visit_interface - " - "codegen for typecode failed\n"), -1); - } - - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () << - " (CORBA::tk_objref, sizeof (_oc_" << node->flatname () << - "), (char *) &_oc_" << node->flatname () << - ", CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" << - node->flatname () << ";\n\n"; - - return 0; -} - -// ************************************************************ -// 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);" << be_uidt_nl - << "public:" << be_idt_nl - << "virtual ~" << namebuf << " (void);" << be_nl; - - *os << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const char* logical_type_id," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt - << ");\n" << be_uidt; - - os->indent (); - *os << "virtual void* _downcast (" << be_idt << be_idt_nl - << "const char* logical_type_id" << be_uidt_nl - << ");\n" << be_uidt; - - // 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); - } - // add a skeleton for our _is_a method - os->indent (); - *os << "static void _is_a_skel (CORBA::ServerRequest &req, " << - "void *obj, void *context, CORBA::Environment &_tao_enviroment);\n\n"; - - // 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); - } - - // add the dispatch method - os->indent (); - *os << "virtual void _dispatch (CORBA::ServerRequest &_tao_req, " - << "void *_tao_context, CORBA::Environment &_tao_env);\n\n"; - - // Print out the _this() method. - os->indent (); - *os << node->name () << " *_this (CORBA::Environment &_tao_environment);\n"; - // the _interface_repository_id method - os->indent (); - *os << "virtual const char* _interface_repository_id" - << " (void) const;\n"; - - os->decr_indent (); - - *os << "};\n\n"; - - // 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_sh::" - "visit_interface - " - "codegen for collocated class failed\n"), - -1); - } - - *os << "\n"; - - return 0; -} - -// ************************************************************************ -// 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 (); - - os->indent (); // start with whatever indentation level we are at - - // 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); - } - - return 0; -} - -// ************************************************************ -// 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); - } - - // 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"; - - // destructor - os->indent (); - *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"; - - - // 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 << "static const TAO_Param_Data_Skel " << node->flatname () - << "_is_a_paramdata [] = " << be_nl; - *os << "{" << be_idt_nl; - *os << "{CORBA::_tc_boolean, 0, 0}," << be_nl; - *os << "{CORBA::_tc_string, CORBA::ARG_IN, 0}" << be_uidt_nl; - *os << "};" << be_nl; - *os << "static const TAO_Call_Data_Skel " << node->flatname () - << "_is_a_calldata = " << be_nl; - *os << "{\"_is_a\", 1, 2, " << node->flatname () << "_is_a_paramdata};" << be_nl; - *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 &_tao_environment" << be_uidt_nl - << ")" << be_uidt_nl; - *os << "{\n"; - os->incr_indent (); - *os << node->full_skel_name () << "_ptr _tao_impl = (" - << node->full_skel_name () << "_ptr) _tao_object_reference;" - << be_nl; - *os << "CORBA::Boolean _tao_retval;" << be_nl; - *os << "char *_tao_value = 0;" << be_nl; - *os << "_tao_server_request.demarshal (" << be_idt_nl - << "_tao_environment, " << be_nl - << "&" << node->flatname () << "_is_a_calldata, " << be_nl - << "&_tao_retval, " << be_nl - << "&_tao_value" << be_uidt_nl - << ");" << be_nl; - *os << "if (_tao_environment.exception () != 0) return;" << be_nl; - *os << "_tao_retval = _tao_impl->_is_a (_tao_value, _tao_environment);" - << be_nl; - *os << "_tao_server_request.marshal (" << be_idt_nl - << "_tao_environment, " << be_nl - << "&" << node->flatname () << "_is_a_calldata, " << be_nl - << "&_tao_retval, " << be_nl - << "&_tao_value" << be_uidt_nl - << ");" << be_nl; - *os << "CORBA::string_free (_tao_value);" << 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 &_tao_environment" << 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 (_tao_environment))))" - << be_idt_nl << "return CORBA::B_TRUE;" << be_uidt_nl - << "else" << be_idt_nl - << "return CORBA::B_FALSE;" << be_uidt << be_uidt << be_uidt_nl - << "}\n\n"; - - 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 &env)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "TAO_Skeleton skel; // pointer to skeleton for operation" << be_nl; - *os << "CORBA::String opname = req.op_name (); // retrieve operation name" - << be_nl; - *os << "// find the skeleton corresponding to this opname" << be_nl; - *os << "if (this->_find (opname, skel) == -1)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "env.exception (new CORBA_BAD_OPERATION (CORBA::COMPLETED_NO));" - << be_nl; - *os << "ACE_ERROR ((LM_ERROR, \"Bad operation <%s>\\n\", opname));\n"; - os->decr_indent (); - *os << "}\n"; - *os << "else" << be_nl; - *os << " skel (req, this, context, env);\n"; - os->decr_indent (); - *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"; - - // 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_ss::" - "visit_interface - " - "Bad visitor for collocated class\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_ss::" - "visit_interface - " - "codegen for collocated class failed\n"), - -1); - } - delete visitor; - - *os << "\n"; - - // the _this () operation - *os << node->name () << "*" << be_nl - << node->full_skel_name () - << "::_this (CORBA_Environment &_env)" << be_nl - << "{" << be_idt_nl - << "STUB_Object *stub = this->_create_stub (_env);" << be_nl - << "if (_env.exception () != 0)" << be_idt_nl - << "return 0;" << be_uidt_nl - << "return new " << node->full_coll_name () - << " (this, stub);" << be_uidt << be_nl; - - *os << "}\n\n"; - - return 0; -} - -// ************************************************************ -// collocated class in header -// ************************************************************ - -be_visitor_interface_collocated_sh::be_visitor_interface_collocated_sh -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_collocated_sh::~be_visitor_interface_collocated_sh (void) -{ -} - -int be_visitor_interface_collocated_sh::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->gen_ifdef_macro (node->flatname (), "_collocated"); - - // output the class defn - os->indent (); - *os << "class " << idl_global->export_macro () - << " " << node->local_coll_name (); - 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 " - << parent->relative_coll_name (node->full_coll_name ()); - } - } - *os << "\n"; - os->decr_indent (); - *os << "{" << be_nl; - *os << "public:\n"; - os->incr_indent (); - - *os << node->local_coll_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 << node->local_name () << "_ptr " - << " servant," << be_nl; - - *os << "STUB_Object *stub\n"; - os->decr_indent (); - *os << ");\n"; - os->decr_indent (0); - - os->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 _get_servant (void) const;" << be_nl; - - *os << "virtual CORBA::Boolean _is_a (" << be_idt << be_idt_nl - << "const char *logical_type_id," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ");\n" << be_uidt; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_collocated_sh::" - "visit_interface - " - "codegen for scope failed\n"), - -1); - } - -#if 0 - // XXXASG - don't remove until we are sure that the scope visitor is doing - // the task we expect it to do - if (node->nmembers () > 0) - { - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - while (!si->is_done ()) - { - AST_Decl *d = si->item (); - si->next (); - be_decl *bd = be_decl::narrow_from_decl (d); - if (d->imported () || bd == 0) - { - continue; - } - if (bd->accept (this) == -1) - { - delete si; - return -1; - } - } - delete si; - } -#endif - - 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; -} - -#if 0 -int be_visitor_interface_collocated_sh::visit_operation (be_operation *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); // start with the current indentation level - - // every operation is declared virtual - *os << "virtual "; - - // first generate the return type - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - - // XXASG - this changes - if (bt->write_as_return (os, bt) == -1) - { - return -1; - } - - // generate the operation name - *os << " " << node->local_name () << " "; - - // XXXASG - TODO - be_visitor_context ctx (*this->ctx_); - ctx.state (TAO_CodeGen::TAO_OPERATION_ARGLIST_OTHERS); - be_visitor *visitor = tao_cg->make_visitor (&ctx); - if (!visitor) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_colocated_sh::" - "visit_operation - " - "Bad visitor for arglist\n"), - -1); - } - - if (node->accept (visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_colocated_sh::" - "visit_operation - " - "codegen for arglist failed\n"), - -1); - } - *os << ";\n"; - - return 0; -} - -int be_visitor_interface_collocated_sh::visit_attribute (be_attribute *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - os->indent (); // start with the current indentation level - - be_type* bt = be_type::narrow_from_decl (node->field_type ()); - - // the retrieve method is defined virtual - *os << "virtual "; - - // XXXASG - change this - if (bt->write_as_return (os, bt) == -1) - { - return -1; - } - - *os << " " << node->local_name () << " (" << be_idt << be_idt_nl - << "CORBA::Environment &env" << be_uidt_nl - << ");\n" << be_uidt; - - if (!node->readonly ()) - { - os->indent (); - *os << "virtual void " << node->local_name () - << " (" << be_idt << be_idt; - - // XXXASG - TODO - be_visitor_args_decl vdecl (os); - vdecl.current_type_name (bt->name ()); - vdecl.argument_direction (AST_Argument::dir_IN); - if (bt->accept (&vdecl) == -1) - return -1; - - *os << " _tao_value," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ");\n" << be_uidt; - } - return 0; -} -#endif - -// ************************************************************ -// be_visitor_interface_collacted_ss -// ************************************************************ - -be_visitor_interface_collocated_ss::be_visitor_interface_collocated_ss -(be_visitor_context *ctx) - : be_visitor_interface (ctx) -{ -} - -be_visitor_interface_collocated_ss::~be_visitor_interface_collocated_ss (void) -{ -} - -int be_visitor_interface_collocated_ss::visit_interface (be_interface *node) -{ - TAO_OutStream *os = tao_cg->server_skeletons (); - long i; - - this->ctx_->node (node); - - *os << node->full_coll_name () << "::" - << node->local_coll_name () << " (\n"; - - os->incr_indent (0); - os->incr_indent (); - *os << node->full_skel_name () << "_ptr " - << " servant," << be_nl; - - *os << "STUB_Object *stub\n"; - os->decr_indent (); - *os << ")\n"; - os->decr_indent (0); - - os->incr_indent (); -#if defined (ACE_WIN32) - // @@ TODO MSVC++ compiler has some kind of issue (read - // *bug*) wrt nested classes in constructors, if the fully - // qualified name is used it gets all confused. Quite to my - // dismay the work around is to use a non-qualified name for - // the base class! - // I wish I never have to know why the symbol table for - // MSVC++ can get so confused ;-) (coryan) - *os << ": " << node->local_name () - << " (stub, servant, CORBA::B_TRUE)," << be_nl; -#else - *os << ": " << node->name () - << " (stub, servant, CORBA::B_TRUE)," << be_nl; -#endif /* ACE_WIN32 */ - - // @@ We should call the constructor for all base classes, since we - // are using multiple inheritance. - - if (node->n_inherits () > 0) - { - for (i = 0; i < node->n_inherits (); ++i) - { - be_interface* parent = - be_interface::narrow_from_decl (node->inherits()[i]); -#if defined (ACE_WIN32) - // @@ TODO MSVC++ compiler has some kind of issue (read - // *bug*) wrt nested classes in constructors, if the fully - // qualified name is used it gets all confused. Quite to my - // dismay the work around is to use a non-qualified name for - // the base class! - // I wish I never have to know why the symbol table for - // MSVC++ can get so confused ;-) (coryan) - *os << " " << parent->local_coll_name () << " (servant, stub)," - << be_nl; -#else - *os << " " << parent->full_coll_name () << " (servant, stub)," - << be_nl; -#endif /* ACE_WIN32 */ - } - } - - *os << " CORBA_Object (stub, servant, CORBA::B_TRUE)," << be_nl - << " servant_ (servant)"; - - *os << "\n"; - os->decr_indent (); - *os << "{\n"; - *os << "}\n\n"; - - os->indent (); - *os << node->full_skel_name () << "_ptr " - << node->full_coll_name () << "::" - << "_get_servant (void) const\n" - << "{\n"; - os->incr_indent (); - *os << "return this->servant_;\n"; - os->decr_indent (); - *os << "}\n\n"; - - os->indent (); - *os << "CORBA::Boolean " << node->full_coll_name () - << "::_is_a (" << be_idt << be_idt_nl - << "const char* logical_type_id," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "return this->servant_->_is_a (" << be_idt << be_idt_nl - << "logical_type_id," << be_nl - << "_tao_environment" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}\n\n"; - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_collocated_ss::" - "visit_scope - " - "codegen for scope failed\n"), - -1); - } - -#if 0 - // XXXASG - DO NOT DELETE until the visit_scope has been tested - if (node->nmembers () > 0) - { - UTL_ScopeActiveIterator *si; - ACE_NEW_RETURN (si, - UTL_ScopeActiveIterator (node, - UTL_Scope::IK_decls), - -1); - while (!si->is_done ()) - { - AST_Decl *d = si->item (); - si->next (); - be_decl *bd = be_decl::narrow_from_decl (d); - // Only printout the operations, nested interfaces and - // structures only go in the main declaration. - if (d->imported () || bd == 0) - { - continue; - } - if (bd->accept (this) == -1) - { - delete si; - return -1; - } - } - delete si; - } -#endif - - return 0; -} - -#if 0 -int be_visitor_interface_collocated_ss::visit_operation (be_operation *node) -{ - TAO_OutStream *os = tao_cg->server_skeletons (); - be_interface *intf = this->ctx_->be_scope_as_interface (); - - // retrieve the return type again because we have used bt to also retrieve - // the argument types - be_type *bt = be_type::narrow_from_decl (node->return_type ()); - - if (bt->write_as_return (os, bt) == -1) - { - return -1; - } - - *os << " " << intf->full_coll_name () << "::" - << node->local_name () << " "; - - be_visitor_args_decl visitor (os); - if (node->accept (&visitor) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) args decl failed\n"), -1); - } - *os << "\n"; - os->indent (); - *os << "{\n"; - os->incr_indent (); - - 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->servant_->" << node->local_name () << " (\n"; - os->incr_indent (0); - os->incr_indent (0); - - if (this->visit_scope (node) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_visitor_interface_collocated_ss::" - "visit_operation - " - "codegen for scope failed\n"), - -1); - } - - os->indent (); - *os << " _tao_environment\n"; - os->decr_indent (); - *os << ");\n"; - os->decr_indent (0); - os->decr_indent (0); - *os << "}\n\n"; - - return 0; -} - -int be_visitor_interface_collocated_ss::visit_attribute (be_attribute *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - be_interface *intf = this->ctx_->be_scope_as_interface (); - - os->indent (); // start with the current indentation level - - be_type* bt = be_type::narrow_from_decl (node->field_type ()); - - if (bt->write_as_return (os, bt) == -1) - { - return -1; - } - - *os << be_nl << intf->full_coll_name () - << "::" << node->local_name () << " (" << be_idt << be_idt_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "return this->servant_->" - << node->local_name () << "(_tao_environment);" << be_uidt_nl - << "}\n"; - - if (!node->readonly ()) - { - *os << be_nl - << "void " - << intf->full_coll_name () - << "::" << node->local_name () - << " (" << be_idt << be_idt_nl; - // XXXASG - TODO - be_visitor_args_decl vdecl (os); - vdecl.current_type_name (bt->name ()); - vdecl.argument_direction (AST_Argument::dir_IN); - if (bt->accept (&vdecl) == -1) - return -1; - - *os << " _tao_value," << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt_nl - << ")" << be_uidt_nl - << "{" << be_idt_nl - << "this->servant_->" << node->local_name () - << " (" << be_idt << be_idt_nl - << "_tao_value," << be_nl - << "_tao_environment" << be_uidt_nl - << ");" << be_uidt << be_uidt_nl - << "}\n\n"; - } - return 0; -} - -int be_visitor_interface_collocated_ss::visit_argument (be_argument *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - os->indent (); - *os << node->local_name () << ",\n"; - return 0; -} -#endif 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 03fa5598afc..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_interface_fwd.cpp +++ /dev/null @@ -1,146 +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" - -// ******************************************************************** -// 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 ()) - { - 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; -} - -// ******************************************************************** -// 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) -{ - TAO_OutStream *os = this->ctx_->stream (); - - if (!node->cli_inline_gen ()) - { - - // 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_fwd_ci::" - "visit_interface_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_interface_fwd_ci::" - "visit_interface_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/be_visitor_module.cpp b/TAO/TAO_IDL/be/be_visitor_module.cpp deleted file mode 100644 index 5b7107f9886..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_module.cpp +++ /dev/null @@ -1,658 +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" - -// ****************************************************** -// 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_CI: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_CI: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_exception - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SI); - break; - case TAO_CodeGen::TAO_MODULE_SS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_interface - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_CS: - case TAO_CodeGen::TAO_MODULE_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - 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); - } - break; - } - - 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; -} - -// 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_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_union - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_MODULE_SI: - case TAO_CodeGen::TAO_MODULE_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_module::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ****************************************************** -// 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 << "class " << idl_global->export_macro () - << " " << node->local_name () << be_nl - << "{" << be_nl - << "public:\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; -} - -// ************************************************************ -// 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 - if (!node->is_nested ()) - // we are outermost module - *os << "class " << idl_global->export_macro () - << " POA_" << node->local_name () << be_nl; - else - // we are inside another module - *os << "class " << idl_global->export_macro () - << " " << node->local_name () << be_nl; - - *os << "{" << be_nl - << "public:" - << 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 c988a6cccf0..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_operation.cpp +++ /dev/null @@ -1,3068 +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" - -// ****************************************************** -// primary visitor for "operation" in client header -// ****************************************************** - -be_visitor_operation_ch::be_visitor_operation_ch (be_visitor_context *ctx) - : be_visitor_scope (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; -} - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -be_visitor_operation_cs::be_visitor_operation_cs (be_visitor_context *ctx) - : be_visitor_scope (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 () -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - *os << ",\n"; - return 0; -} - -int -be_visitor_operation_cs::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 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); - } - - // STEP 1: - // 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. Hence, stubs for such operations will generate MARSHAL - // exceptions. As a result it is pointless generating these tables - if (!node->has_native ()) - { - // native type does not exist. Generate the static tables - - // STEP 1A: generate the TAO_Param_Data table - *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_visitor_operation_cs::" - "visit_operation - " - "visit scope failed\n"), - -1); - } - *os << "\n"; - os->decr_indent (); - *os << "}; // " << node->flatname () << "_paramdata\n\n"; - - // STEP 1B: 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, "; - - // XXXASG - Exception list goes here (if it exists) - TODO - *os << "0, 0};\n\n"; - } // end of if !(native) - - // 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_cs::" - "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_cs::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - // STEP 3: generate the operation name - *os << " " << node->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; - - // STEP 5: - // 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"; - os->incr_indent (0); - - // STEP 5A: 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_cs::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - os->indent (); - if (node->has_native ()) // native exists => no stub - { - *os << "_tao_environment.exception (new CORBA::MARSHAL " - << "(CORBA::COMPLETED_NO));" << be_nl; - *os << "return _tao_retval;\n"; - } - else - { - // STEP 5B: - // generate code that retrieves the underlying stub object and then - // invokes do_call on it. - *os << "STUB_Object *istub = this->stubobj (_tao_environment);" << be_nl - << "if (istub)" << be_nl - << "{\n"; - os->incr_indent (0); - - // STEP 5C: - // do any pre do_call processing with return type. This includes - // allocating memory, initialization. - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_PRE_DOCALL_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 do_call failed\n"), - -1); - } - - - // STEP 5D: - // do any pre do_call stuff with arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_PRE_DOCALL_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 do_call failed\n"), - -1); - } - - // STEP 5E: - // call do_call with appropriate number of arguments - os->indent (); - *os << "istub->do_call (" << be_idt_nl - << "_tao_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 docall - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_DOCALL_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 in do_call 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 do_call - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_DOCALL_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 return var in do_call failed\n"), - -1); - } - - // end the do_call - *os << be_uidt_nl; - *os << ");\n"; - - // STEP 5F: - // do any post processing for the retval - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_POST_DOCALL_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_call failed\n"), - -1); - } - - // STEP 5G: do any post processing for the arguments - ctx = *this->ctx_; - ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_POST_DOCALL_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 in post do_call failed\n"), - -1); - } - - } // end of if (!native) - - os->decr_indent (); - *os << "} // end of if (istub)\n"; - // STEP 5H: 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->decr_indent (); - *os << "}\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; -} - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -be_visitor_operation_sh::be_visitor_operation_sh (be_visitor_context *ctx) - : be_visitor_scope (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 &_tao_env" - << be_uidt_nl << be_uidt << ");\n\n"; - } - - return 0; -} - -// ************************************************************ -// Operation visitor for server skeletons -// ************************************************************ - -be_visitor_operation_ss::be_visitor_operation_ss (be_visitor_context *ctx) - : be_visitor_scope (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 () -{ - // all we do here is to insert a comma and a newline - TAO_OutStream *os = this->ctx_->stream (); - *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); - } - - // STEP 1: - // 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 - - // STEP 1A: 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"; - - // STEP 1B: 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"; - - // 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); - } - - // STEP 2: 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 - << "CORBA::ServerRequest &_tao_server_request, " << be_nl - << "void *_tao_object_reference, " << be_nl - << "void * /* context */, " << be_nl - << "CORBA::Environment &_tao_environment" << be_uidt << be_uidt_nl - << ")" << be_nl; - - // STEP 3: - // 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 << "{" << be_idt_nl; - - // get the right object implementation. - *os << intf->full_skel_name () << " *_tao_impl = (" - << intf->full_skel_name () << " *)_tao_object_reference;\n"; - - // STEP 3A: 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_cs::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - // STEP 3B: 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_cs::" - "visit_operation - " - "codegen for return var decl failed\n"), - -1); - } - - - // STEP 3C: setup parameters for demarshaling and demarshal them - os->indent (); - *os << "_tao_server_request.demarshal (" << be_idt_nl - << "_tao_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 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_cs::" - "visit_operation - " - "codegen for argument in demarshal failed\n"), - -1); - } - - // end the demarshal call - *os << be_uidt_nl; - *os << ");\n"; - - // STEP 3D: check for exception - os->indent (); - *os << "if (_tao_environment.exception ()) return;\n"; - - // 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 making upcall failed\n"), - -1); - } - // STEP 3E: 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); - } - // last argument is the environment - if (node->argument_count () > 0) - *os << ",\n"; - os->indent (); - *os << "_tao_environment"; - // end the upcall - *os << be_uidt_nl; - *os << ");" << be_nl; - - // STEP 3F: 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); - } - - // STEP 3C: setup parameters for marshaling and marshal them into the - // outgoing stream - *os << "_tao_server_request.marshal (" << be_idt_nl - << "_tao_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_cs::" - "visit_operation - " - "codegen for argument in marshal failed\n"), - -1); - } - // end the marshal call - *os << be_uidt_nl; - *os << ");\n"; - - // STEP 3E: - // 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); - } - - // STEP 3F: 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_cs::" - "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; -} - -// ************************************************************************* -// be_visitor_operation_collocated_sh -- -// This visitor generates code for the collocated operation signature in a -// server header file -// ************************************************************************* - -be_visitor_operation_collocated_sh::be_visitor_operation_collocated_sh -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_collocated_sh::~be_visitor_operation_collocated_sh (void) -{ -} - -int be_visitor_operation_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; -} - -// ************************************************************************* -// be_visitor_operation_collocated_ss -- -// This visitor generates code for the collocated operation signature in a -// server skeletons file -// ************************************************************************* - -be_visitor_operation_collocated_ss::be_visitor_operation_collocated_ss -(be_visitor_context *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_collocated_ss::~be_visitor_operation_collocated_ss (void) -{ -} - -int be_visitor_operation_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_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_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_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_collocated_ss::" - "visit_operation - " - "codegen for return type failed\n"), - -1); - } - delete visitor; - - *os << " " << intf->full_coll_name () << "::" - << 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 (bt->node_type () != AST_Decl::NT_pre_defined - || be_predefined_type::narrow_from_decl (bt)->pt () != AST_PredefinedType::PT_void) - { - *os << "return "; - } - - *os << "this->servant_->" << 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); - } - // last argument is the environment - if (node->argument_count () > 0) - *os << ",\n"; - os->indent (); - *os << "_tao_environment"; - // end the upcall - *os << be_uidt_nl; - *os << ");" << be_uidt_nl; - *os << "}\n\n"; - - return 0; -} - -// **************************************************************************** -// 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 - return node->primitive_base_type ()->accept (this); -} - -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; -} - -// ************************************************************ -// 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_scope (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->incr_indent (0); // these are for pretty printing - os->incr_indent (0); - *os << " (\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); - } - - // last argument - is always CORBA::Environment - os->indent (); - *os << "CORBA::Environment &_tao_environment\n"; - os->decr_indent (); - *os << " )"; - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARGLIST_CH: - case TAO_CodeGen::TAO_OPERATION_ARGLIST_COLLOCATED_SH: - *os << ";\n"; - break; - case TAO_CodeGen::TAO_OPERATION_ARGLIST_SH: - // each method is pure virtual in the server header - *os << " = 0;\n"; - break; - default: - *os << "\n"; - } - - os->decr_indent (0); - 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_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; -} - -// ************************************************************ -// 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;\n"; - 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;\n"; - 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 ();\n"; - 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 ();\n"; - return 0; -} - -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;\n"; - break; - case AST_PredefinedType::PT_any: - os->indent (); - *os << bt->name () << " *_tao_retval = 0;\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_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;\n"; - 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;\n"; - 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;\n"; - else - { - *os << bt->name () << " _tao_retval;" << be_nl; - *os << "ACE_OS::memset (&_tao_retval, 0, sizeof (" << bt->name () << "));\n"; - } - return 0; -} - -int -be_visitor_operation_rettype_vardecl_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - return node->primitive_base_type ()->accept (this); -} - -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;\n"; - else - { - *os << bt->name () << " _tao_retval;" << be_nl; - *os << "ACE_OS::memset (&_tao_retval, 0, sizeof (" << bt->name () << "));\n"; - } - return 0; -} - -// ***************************************************************************** -// be_visitor_operation_rettype_pre_docall_cs -// -// This visitor generates code that passes the return type variable to the -// do_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 *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "_tao_retval"; - 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 - - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, " << node->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 - - // check if the union is variable - if (node->size_type () == be_type::VARIABLE) - { - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, " << node->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 - return node->primitive_base_type ()->accept (this); -} - -int -be_visitor_operation_rettype_pre_docall_cs::visit_union (be_union *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - // check if the union is variable - if (node->size_type () == be_type::VARIABLE) - { - os->indent (); - *os << "ACE_NEW_RETURN (_tao_retval, " << node->name () << ", _tao_retval);\n"; - } - return 0; -} - -// ***************************************************************************** -// be_visitor_operation_rettype_docall_cs -// -// This visitor generates code that passes the return type variable to the -// do_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 - return node->primitive_base_type ()->accept (this); -} - -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; -} - -// ******************************************************************************* -// be_visitor_operation_rettype_post_docall_cs -// -// This visitor generates code that passes the return type variable to the -// do_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 - - os->indent (); - *os << "_tao_retval = " << node->name () - << "::_narrow (_tao_base_retval, _tao_environment);" << 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 - - os->indent (); - *os << "_tao_retval = " << node->name () - << "::_narrow (_tao_base_retval, _tao_environment);" << be_nl; - *os << "CORBA::release (_tao_base_retval);\n"; - return 0; -} - -// ************************************************************ -// 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 *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "return _tao_retval;\n"; - 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"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_interface (be_interface *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // we must narrow it - *os << "return _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_interface_fwd (be_interface_fwd *node) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - // we must narrow it - *os << "return _tao_retval;\n"; - return 0; -} - -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"; - 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"; - 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"; - 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"; - return 0; -} - -int -be_visitor_operation_rettype_return_cs::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - return node->primitive_base_type ()->accept (this); -} - -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"; - return 0; -} - -// ******************************************************************************** -// 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 () << "_slice *_tao_retval = 0;\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_ptr _tao_retval = CORBA::Object::_nil ();\n"; - 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 - *os << "CORBA::Object_ptr _tao_retval = CORBA::Object::_nil ();\n"; - return 0; -} - -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 (); - *os << bt->name () << "_ptr _tao_retval = 0;\n"; - break; - case AST_PredefinedType::PT_any: - os->indent (); - *os << bt->name () << " *_tao_retval = 0;\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 (); - *os << bt->name () << " *_tao_retval = 0;\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 (); - *os << "char *_tao_retval = 0;\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) - *os << bt->name () << " *_tao_retval = 0;\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 - return node->primitive_base_type ()->accept (this); -} - -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) - *os << bt->name () << " *_tao_retval = 0;\n"; - else - *os << bt->name () << " _tao_retval;\n"; - return 0; -} - -// **************************************************************************** -// Visitor that passes the return value to the marshal/demarshal routine -// **************************************************************************** - -be_visitor_operation_rettype_marshal_ss:: -be_visitor_operation_rettype_marshal_ss (be_visitor_context *ctx) - : be_visitor_decl (ctx) -{ -} - -be_visitor_operation_rettype_marshal_ss:: -~be_visitor_operation_rettype_marshal_ss (void) -{ -} - -int -be_visitor_operation_rettype_marshal_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_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_retval"; - - 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_retval"; - - return 0; -} - -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: - case AST_PredefinedType::PT_any: - 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_retval"; - - 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_retval"; - - 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_retval"; - 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 - return node->primitive_base_type ()->accept (this); -} - -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_retval"; - else - *os << "&_tao_retval"; - - return 0; -} - -// **************************************************************************** -// 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; -} - -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 - return node->primitive_base_type ()->accept (this); -} - -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; -} - -// **************************************************************************** -// 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 *) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - os->indent (); - *os << "delete _tao_retval;\n"; - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_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; - - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::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; - - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::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; - - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_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: - break; - case AST_PredefinedType::PT_any: - break; - case AST_PredefinedType::PT_void: - break; - default: - break; - } - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_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; - - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_string (be_string * /* node*/) -{ - TAO_OutStream *os = this->ctx_->stream (); // grab the out stream - - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_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; - - return 0; -} - -int -be_visitor_operation_rettype_post_upcall_ss::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); // set the alias node - return node->primitive_base_type ()->accept (this); -} - -int -be_visitor_operation_rettype_post_upcall_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; - - return 0; -} - -// ************************************************************ -// generic operation visitor to handle the pre/post do_call/upcall stuff with -// arguments -// ************************************************************ - -be_visitor_operation_argument::be_visitor_operation_argument (be_visitor_context - *ctx) - : be_visitor_scope (ctx) -{ -} - -be_visitor_operation_argument::~be_visitor_operation_argument (void) -{ -} - -int -be_visitor_operation_argument::post_process (void) -{ - TAO_OutStream *os = this->ctx_->stream (); - switch (this->ctx_->state ()) - { - case TAO_CodeGen::TAO_OPERATION_ARG_DOCALL_CS: - case TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS: - case TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS: - *os << ",\n"; - break; - default: - break; - } - return 0; -} - -int -be_visitor_operation_argument::visit_operation (be_operation *node) -{ - // 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); - } - - 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_DOCALL_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_DOCALL_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_POST_DOCALL_CS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_DECL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_DEMARSHAL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_DEMARSHAL_SS); - break; - case TAO_CodeGen::TAO_OPERATION_ARG_MARSHAL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_MARSHAL_SS); - 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_ARG_UPCALL_SS: - ctx.state (TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS); - 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; - 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_root.cpp b/TAO/TAO_IDL/be/be_visitor_root.cpp deleted file mode 100644 index cd291424a39..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_root.cpp +++ /dev/null @@ -1,796 +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" - -// 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 - 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; -} - -// =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_CI: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_constant - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_CI: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_exception - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SI: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SI); - break; - case TAO_CodeGen::TAO_ROOT_SS: - ctx.state (TAO_CodeGen::TAO_INTERFACE_SS); - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_interface - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_CS: - case TAO_CodeGen::TAO_ROOT_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - 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); - } - break; - } - - 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; -} - -// 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; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_module - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_union - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_ROOT_SI: - case TAO_CodeGen::TAO_ROOT_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root::" - "visit_typedef - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ******************************** -// 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->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; - } - - this->ctx_->stream (tao_cg->client_header ()); - return 0; -} - -// ********************************* -// 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->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; -} - -// *********************************** -// 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->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); - } - - this->ctx_->stream (tao_cg->client_stubs ()); // init stream - return 0; -} - -// *********************************** -// 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->server_header (idl_global->be_get_server_hdr_fname ()) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_root_sh::init - " - "Error opening server header file\n"), -1); - } - - // set the stream and the next state - this->ctx_->stream (tao_cg->server_header ()); - return 0; -} - -// *********************************************** -// 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->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); - } - - this->ctx_->stream (tao_cg->server_inline ()); // init stream - return 0; -} - -// ****************************************************** -// 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->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); - } - - this->ctx_->stream (tao_cg->server_skeletons ()); // set stream - 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 126e18ca3e2..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_scope.cpp +++ /dev/null @@ -1,89 +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" - -// ****************************************************** -// 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) -{ -} - -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); - // continue until each element is visited - while (!si->is_done ()) - { - AST_Decl *d = si->item (); - be_decl *bd = be_decl::narrow_from_decl (d); - // set the scope node in which the code is being generated - this->ctx_->scope (node->decl ()); - // set the node to be visited - this->ctx_->node (bd); - 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); - - } - si->next (); - if (!si->is_done ()) - this->post_process (); // anything to be done after each element - // except the last one is processed? - - } // end of while loop - delete si; - } // end of if - - return 0; -} - -int -be_visitor_scope::post_process (void) -{ - return 0; -} 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 fc7f39d0021..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_sequence.cpp +++ /dev/null @@ -1,1507 +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" - -// 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); - } - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_OBJREF: // sequence of objrefs - if (node->unbounded ()) - *os << "TAO_Unbounded_Object_Sequence<"; - else - *os << "TAO_Bounded_Object_Sequence<"; - break; - case be_sequence::MNG_STRING: // sequence of strings - 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 (*this->ctx_); - 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 () << ">"; - } - } - return 0; -} - -int be_visitor_sequence_ch::visit_sequence (be_sequence *node) -{ - be_type *bt; // type node - TAO_OutStream *os = this->ctx_->stream (); - - if (node->cli_hdr_gen () || node->imported ()) - return 0; - - // 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); - } - - // 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 - << "{" << 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 () << " ("; - if (node->unbounded ()) - { - // unbounded seq takes this extra parameter - *os << "CORBA::ULong max, " << be_idt << be_idt_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_uidt_nl; - *os << node->local_name () << " (const " << node->local_name () - << " &); // copy ctor" << be_nl; - *os << "~" << node->local_name () << " (void); // dtor\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"; - - // Generate the typecode decl - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - *os << "static CORBA::TypeCode_ptr " - << node->tc_name ()->last_component () << "_seq;\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern " - << idl_global->export_macro () - << " CORBA::TypeCode_ptr " - << node->tc_name ()->last_component () << ";\n\n"; - } - - - 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 << " (" << namebuf << " &);" << be_nl; - // assignment operator from a _out & - *os << namebuf << " &operator= (" << 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; -} - -// *********************************************************** -// 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; - - // 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); - } - - 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 << " (" << fname << - " &p) // copy constructor" << be_nl; - *os << " : ptr_ (p.ptr_)" << be_nl; - *os << "{}\n\n"; - - // assignment operator from _out & - os->indent (); - *os << "ACE_INLINE " << fname << " &" << be_nl; - *os << fname << "::operator= (" << fname << - " &p)" << be_nl; - *os << "{\n"; - os->incr_indent (); - *os << "this->ptr_ = 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; -} - -// ************************************************************ -// 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); - } - - // generate the appropriate sequence type - switch (node->managed_type ()) - { - case be_sequence::MNG_OBJREF: // sequence of objrefs - if (node->unbounded ()) - *os << "TAO_Unbounded_Object_Sequence<"; - else - *os << "TAO_Bounded_Object_Sequence<"; - break; - case be_sequence::MNG_STRING: // sequence of strings - 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 (*this->ctx_); - 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 () << ">"; - } - } - 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; - - // 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_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, 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 - << "{}" << be_nl << be_nl; - - // generate the typecode information here - os->indent (); // start from current indentation level - *os << "static const CORBA::Long _oc_" << node->flatname () << "_seq[] =" - << be_nl; - *os << "{\n"; - os->incr_indent (0); - if (node->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_sequence::" - "gen_client_stubs - " - "codegen for encapsulation failed\n"), - -1); - } - - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () - << "_seq (CORBA::tk_sequence, sizeof (_oc_" << node->flatname () - << "_seq), (char *) &_oc_" << node->flatname () - << "_seq, CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << "_seq = &_tc__tc_" - << node->flatname () << "_seq;\n\n"; - os->gen_endif (); - - return 0; -} - -// **************************************************************** -// 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_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 - return node->primitive_base_type ()->accept (this); -} - -// **************************************************************** -// 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_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 - return node->primitive_base_type ()->accept (this); -} - -// *********************************************************** -// 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: - *os << "TAO_Object_Manager<" << bt->name () << "> "; - 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; - - - *os << "TAO_Object_Manager <" - << bt->nested_type_name (this->ctx_->scope ()) - << " > "; - - 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; - - - *os << "TAO_Object_Manager <" - << bt->nested_type_name (this->ctx_->scope ()) - << " > "; - - return 0; -} - -int -be_visitor_sequence_elemtype::visit_string (be_string *) -{ - TAO_OutStream *os = this->ctx_->stream (); - - *os << "TAO_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_array (be_array *node) -{ - return this->visit_node (node); -} - -int -be_visitor_sequence_elemtype::visit_typedef (be_typedef *node) -{ - this->ctx_->alias (node); - return node->primitive_base_type ()->accept (this); -} 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 68df8b4baf6..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_structure.cpp +++ /dev/null @@ -1,293 +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" - -// 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 *node) -{ - 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; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure::" - "visit_field - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ****************************************************** -// 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 " << node->local_name () << be_nl - << "{\n" << be_idt; - - // 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"; - } - - // generate the typecode decl - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - - *os << "static CORBA::TypeCode_ptr " << node->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern CORBA::TypeCode_ptr " << node->tc_name - ()->last_component () << ";\n\n"; - } - node->cli_hdr_gen (I_TRUE); - } - return 0; -} - -// ****************************************************** -// 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; -} - -// *************************************************************************** -// 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) -{ - TAO_OutStream *os; // output stream - - if (!node->cli_stub_gen () && !node->imported ()) - { - os = this->ctx_->stream (); - - // generate the typecode information here - os->indent (); // start from current indentation level - *os << "static const CORBA::Long _oc_" << node->flatname () << "[] =" << - be_nl; - *os << "{\n"; - os->incr_indent (0); - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - if (node->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_structure_cs::" - "visit_structure - " - "codegen for typecode failed\n"), -1); - } - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << node->flatname () << - "), (char *) &_oc_" << node->flatname () << - ", CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" << - node->flatname () << ";\n\n"; - - // 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_typedef.cpp b/TAO/TAO_IDL/be/be_visitor_typedef.cpp deleted file mode 100644 index 5c3f0abb3d8..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_typedef.cpp +++ /dev/null @@ -1,1147 +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" - -// ****************************************************** -// 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 *node) -{ - 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_SH: - case TAO_CodeGen::TAO_TYPEDEF_SI: - case TAO_CodeGen::TAO_TYPEDEF_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_array - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_CI: - case TAO_CodeGen::TAO_TYPEDEF_SH: - case TAO_CodeGen::TAO_TYPEDEF_SI: - case TAO_CodeGen::TAO_TYPEDEF_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_enum - " - "Bad context state\n" - ), -1); - } - break; - } - - 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 *node) -{ - 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_SH: - case TAO_CodeGen::TAO_TYPEDEF_SI: - case TAO_CodeGen::TAO_TYPEDEF_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_sequence - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_TYPEDEF_SI: - case TAO_CodeGen::TAO_TYPEDEF_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_string - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_TYPEDEF_SI: - case TAO_CodeGen::TAO_TYPEDEF_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_structure - " - "Bad context state\n" - ), -1); - } - break; - } - - 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_SH: - case TAO_CodeGen::TAO_TYPEDEF_SI: - case TAO_CodeGen::TAO_TYPEDEF_SS: - return 0; // nothing to be done - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_typedef::" - "visit_union - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ****************************************************** -// 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) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - - // 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); - } - } - 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 ()) - { - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - *os << "static CORBA::TypeCode_ptr " - << node->tc_name ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern CORBA::TypeCode_ptr " - << node->tc_name ()->last_component () << ";\n\n"; - } - } - } - - 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; - - 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_ch::" - "visit_array - " - "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; - *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, and free methods - *os << tdef->nested_type_name (scope, "_slice") << " *" - << tdef->nested_type_name (scope, "_alloc") << " (void);" << be_nl; - *os << tdef->nested_type_name (scope, "_slice") << " *" - << tdef->nested_type_name (scope, "_dup") << " (" - << tdef->nested_type_name (scope, "_slice") << " *slice);" << be_nl; - *os << tdef->nested_type_name (scope, "_slice") << " *" - << tdef->nested_type_name (scope, "_free") << " (" - << tdef->nested_type_name (scope, "_slice") << " *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_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) - { - // typedef the _ptr - *os << "typedef " << bt->nested_type_name (scope, "_ptr") - << " " << tdef->nested_type_name (scope, "_ptr") << ";" << 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 *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 - - // 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 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; -} - -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; -} - -// ****************************************************** -// 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) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - - // 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); - } - } - 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); - } - - 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_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_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); - } - } - return 0; -} - -int -be_visitor_typedef_ci::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_ci::" - "visit_sequence - " - "base class visitor failed \n" - ), -1); - } - } - return 0; -} - -int -be_visitor_typedef_ci::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_ci::" - "visit_structure - " - "base class visitor failed \n" - ), -1); - } - } - return 0; -} - -int -be_visitor_typedef_ci::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_ci::" - "visit_union - " - "base class visitor failed \n" - ), -1); - } - } - return 0; -} - -// ****************************************************** -// 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) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - - // 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); - } - } - 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 ()) - { - // generate the typecode information here - os->indent (); // start from current indentation level - *os << "static const CORBA::Long _oc_" << node->flatname () << "[] =" - << be_nl; - *os << "{\n"; - os->incr_indent (0); - if (node->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating typecode\n\n")); - return -1; - } - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () - << " (CORBA::tk_alias, sizeof (_oc_" << node->flatname () - << "), (char *) &_oc_" << node->flatname () - << ", CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" - << node->flatname () << ";\n\n"; - - } - } - - 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 935f173fe20..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union.cpp +++ /dev/null @@ -1,851 +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" - -// 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 *node) -{ - 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; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union::" - "visit_union_branch - " - "Bad context state\n" - ), -1); - } - break; - } - - 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; -} - -// ****************************************************** -// 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 " << node->local_name () << 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 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 << "}; // end of union \n"; - - os->decr_indent (); - *os << "}; // " << node->name () << "\n\n"; - - // Generate the typecode decl - if (node->is_nested ()) - { - // we have a scoped name - os->indent (); - *os << "static CORBA::TypeCode_ptr " << node->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - os->indent (); - *os << "extern CORBA::TypeCode_ptr " << node->tc_name - ()->last_component () << ";\n\n"; - } - 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; -} - -// ****************************************************** -// 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 << "// default constructor" << be_nl - << "ACE_INLINE" << be_nl - << node->name () << "::" << node->local_name () << " (void)" << be_nl - << "{" << be_nl - << "}" << be_nl << be_nl; - - *os << "// destructor" << be_nl - << "ACE_INLINE" << be_nl - << node->name () << "::~" << node->local_name () << " (void)" << be_nl - << "{" << be_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; -} - -// ****************************************************** -// 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"; - - this->ctx_->state (TAO_CodeGen::TAO_UNION_PUBLIC_ASSIGN_CS); - - // generate the copy constructor and the assignment operator here - os->indent (); - *os << "// copy constructor" << be_nl; - *os << node->name () << "::" << node->local_name () << " (const " << - node->name () << " &u)" << be_nl; - *os << "{\n"; - os->incr_indent (); - // first set the discriminant - *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"; - - // 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 set the discriminant - *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"; - - // generate the typecode information here - os->indent (); // start from current indentation level - *os << "static const CORBA::Long _oc_" << node->flatname () << "[] =" << - be_nl; - *os << "{\n"; - os->incr_indent (0); - if (node->gen_encapsulation () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_visitor_union_cs" - "visit_union - " - "codegen for encapsulation failed\n"), -1); - } - - os->decr_indent (); - *os << "};" << be_nl; - - *os << "static CORBA::TypeCode _tc__tc_" << node->flatname () << - " (CORBA::tk_union, sizeof (_oc_" << node->flatname () << - "), (char *) &_oc_" << node->flatname () << - ", CORBA::B_FALSE);" << be_nl; - *os << "CORBA::TypeCode_ptr " << node->tc_name () << " = &_tc__tc_" << - node->flatname () << ";\n\n"; - node->cli_stub_gen (I_TRUE); - } - return 0; -} - - -// ************************************************************************* -// 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) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - 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); - } - - return 0; -} - -// ************************************************************************* -// 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 (); - - 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) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - 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); - } - - return 0; -} - -// ************************************************************************* -// 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) -{ - 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 - - // 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_branch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch.cpp deleted file mode 100644 index a95dd718597..00000000000 --- a/TAO/TAO_IDL/be/be_visitor_union_branch.cpp +++ /dev/null @@ -1,2107 +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" - -// ********************************************** -// 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) -{ - TAO_OutStream *os; // output stream - 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_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 - { - // 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_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 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, "_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; -} - -// 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 - if (node->pt () == 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"; - } - else - { - // 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 *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 - - 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); - } - 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 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_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; -} - -// ********************************************** -// 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) -{ - 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 - 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_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 (); - - 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 - *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 - *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 - *os << bt->nested_type_name (bu, "_var") << " *" << 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 *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_string - " - "bad context information\n" - ), -1); - } - - os = this->ctx_->stream (); - - *os << "CORBA::String_var *" << 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 (); - *os << bt->nested_type_name (bu) << " " << ub->local_name () << "_;\n"; - return 0; -} - -int -be_visitor_union_branch_private_ch::visit_typedef (be_typedef *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - 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); - } - - 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 object instances inside unions, so we need a - // pointer - *os << bt->nested_type_name (bu) << " *" << ub->local_name () << "_;\n"; - return 0; -} - -// ***************************************************** -// 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) -{ - 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 - 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 enum 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_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; - } - - // 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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "this->" << 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 () << "_slice *" << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "this->" << 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->" << 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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "this->" << 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 () << "_ptr " << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\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_fwd - " - "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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "this->" << 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 () << "_ptr " << be_nl - << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\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 - << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "this->" << 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 (); - if (node->pt () == AST_PredefinedType::PT_pseudo) - *os << "_ptr"; - *os << be_nl; - *os << bu->name () << "::" << ub->local_name () << " (void) const" << be_nl - << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}\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 (); - - // (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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" - << be_nl; - } - *os << "// set the value" << be_nl - << "*this->" << 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 - << "return *this->" << 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->" << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_string (be_string *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_string - " - "bad context information\n" - ), -1); - } - 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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "if (!this->" << ub->local_name () << "_) // does not exist" - << be_nl - << " this->" << ub->local_name () - << "_ = new CORBA::String_var (val);" << be_nl - << "else" << be_nl - << " *this->" << ub->local_name () << "_ = val;"; - } - else - { - // default label - // XXXASG - TODO - } - *os << be_uidt_nl << "}" << 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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "if (!this->" << ub->local_name () << "_) // does not exist" - << be_nl - << " this->" << ub->local_name () - << "_ = new CORBA::String_var (val);" << be_nl - << "else" << be_nl - << " *this->" << ub->local_name () << "_ = 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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "if (!this->" << ub->local_name () << "_) // does not exist" - << be_nl - << " this->" << ub->local_name () - << "_ = new CORBA::String_var (val);" << be_nl - << "else" << be_nl - << " *this->" << ub->local_name () << "_ = val;"; - } - else - { - // default label - // XXXASG - TODO - } - *os << be_uidt_nl << "}" << 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->" << 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) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" - << be_nl; - } - *os << "// set the value" << be_nl - << "this->" << 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 - << "return this->" << 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->" << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - - return 0; -} - -int -be_visitor_union_branch_public_ci::visit_typedef (be_typedef *node) -{ - TAO_OutStream *os; // output stream - - os = this->ctx_->stream (); - 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); - } - - 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; - os->incr_indent (); // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << be_nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << be_nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - be_nl; - } - *os << "// set the value" << be_nl - << "*this->" << 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 - << "return *this->" << 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->" << ub->local_name () << "_;" << be_uidt_nl - << "}\n\n"; - - return 0; -} - -// ********************************************** -// 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) -{ - TAO_OutStream *os; // output stream - - 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_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) -{ - 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) -{ - return 0; -} - -// visit string type -int -be_visitor_union_branch_public_cs::visit_string (be_string *node) -{ - 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; -} - - -// ********************************************** -// 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; // 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 - - 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 (); - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "case " << ub->label ()->label_val ()->n () << ":" << be_idt_nl; - } - else - { - *os << "case " << ub->label ()->label_val () << ":" << be_idt_nl; - } - - *os << "this->" << ub->local_name () << "_ = u." << ub->local_name () - << "_;" << be_nl - << "break;\n"; - os->decr_indent (0); - - return 0; -} diff --git a/TAO/TAO_IDL/be_include/be.h b/TAO/TAO_IDL/be_include/be.h deleted file mode 100644 index 3dafbfec175..00000000000 --- a/TAO/TAO_IDL/be_include/be.h +++ /dev/null @@ -1,124 +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. - - */ - -#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" -#include "ace/OS.h" -#include "ace/Singleton.h" -#include "ace/Synch.h" -#include "ace/Log_Msg.h" -#include "ace/Containers.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_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_state.h" // code generation states -#include "be_codegen.h" // code generator -#include "be_factory.h" // factory - -#include "be_visitor.h" // abstract visitor -#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 5f417e6e9e4..00000000000 --- a/TAO/TAO_IDL/be_include/be_argument.h +++ /dev/null @@ -1,65 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_ARGUMENT_H) -#define BE_ARGUMENT_H - -/* - * 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 - - virtual int gen_client_header (void); - // generate client header for the argument - - virtual int gen_client_stubs (void); - // generate client side stubs for the argument - - virtual int gen_server_header (void); - // generate server header for the argument - - virtual int gen_server_skeletons (void); - // generate server skeletons for the argument - - virtual int gen_client_inline (void); - // Generates the client-side inline for the argument - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the argument - - // 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 55dcabe0e38..00000000000 --- a/TAO/TAO_IDL/be_include/be_array.h +++ /dev/null @@ -1,120 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_ARRAY_H) -#define BE_ARRAY_H - -class TAO_OutStream; - -/* - * 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_client_header (void); - // generate client header for array - - virtual int gen_client_stubs (void); - // generate client side stubs for array - - virtual int gen_server_header (void); - // generate server header for array - - virtual int gen_server_skeletons (void); - // generate server skeletons for array - - virtual int gen_client_inline (void); - // Generates the client-side inline for the array - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the array - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_forany_defn (void); - // the forany class - - virtual int gen_forany_impl (void); - // the forany impl - - virtual int gen_dimensions (TAO_OutStream *os, unsigned short slice=0); - // generate dimensions. If slice == 1, generate dimensions for the slice - // definition - - 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 - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 c1ad4b8b362..00000000000 --- a/TAO/TAO_IDL/be_include/be_attribute.h +++ /dev/null @@ -1,64 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_ATTRIBUTE_H) -#define BE_ATTRIBUTE_H - -/* - * 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 - - virtual int gen_client_header (void); - // generate client header for the attribute - - virtual int gen_client_stubs (void); - // generate client side stubs for the attribute - - virtual int gen_server_header (void); - // generate server header for the attribute - - virtual int gen_server_skeletons (void); - // generate server skeletons for the attribute - - virtual int gen_client_inline (void); - // Generates the client-side inline for the attribute - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the attribute - - // 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 8f7d1d7d675..00000000000 --- a/TAO/TAO_IDL/be_include/be_codegen.h +++ /dev/null @@ -1,459 +0,0 @@ -// $Id$ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_codegen.h -// -// = DESCRIPTION -// The Code generator class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_CODEGEN_H) -#define TAO_BE_CODEGEN_H - -#define NAMEBUFSIZE 1024 -// maximum length of static buffers used to store names - -class TAO_Visitor_Factory; -class be_visitor_context; - -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 and 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_CH, // in client header - TAO_ARGUMENT_CI, // in client inline - TAO_ARGUMENT_CS, // in client stubs - TAO_ARGUMENT_SH, // in server header - TAO_ARGUMENT_SI, // in server inline - TAO_ARGUMENT_SS, // in server skeleton - TAO_ARGUMENT_ARGLIST_CH, // argument in op signature of - // ... client header - TAO_ARGUMENT_ARGLIST_OTHERS, // ... in other cases - TAO_ARGUMENT_PRE_DOCALL_CS, // preprocessing of argument - // variable before passing to - // do_call (in stub) - TAO_ARGUMENT_DOCALL_CS, // passing argument variable to do_call - TAO_ARGUMENT_POST_DOCALL_CS, // postprocessing of argument - // variable after do_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_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_SS, // in server skeletons - TAO_ATTRIBUTE_COLLOCATED_SH, // in server header for collocated - TAO_ATTRIBUTE_COLLOCATED_SS, // in server skeletons for - // collocated - - TAO_ATTRIBUTE_RETVAL_DECL_SS, - TAO_ATTRIBUTE_RETVAL_ASSIGN_SS, - TAO_ATTRIBUTE_RETURN_TYPE_CH, - TAO_ATTRIBUTE_INPARAM_TYPE_CH, - TAO_ATTRIBUTE_RETURN_TYPE_CS, - TAO_ATTRIBUTE_RETVAL_DECL_CS, - TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS, - TAO_ATTRIBUTE_RETVAL_RETURN_CS, - TAO_ATTRIBUTE_INPARAM_TYPE_CS, - TAO_ATTRIBUTE_PRE_DOCALL_CS, - TAO_ATTRIBUTE_DOCALL_CS, - TAO_ATTRIBUTE_POST_DOCALL_CS, - TAO_ATTRIBUTE_RETURN_TYPE_SH, - TAO_ATTRIBUTE_INPARAM_TYPE_SH, - TAO_ATTRIBUTE_RESULT_SS, - TAO_ATTRIBUTE_INPARAM_TYPE_SS, - TAO_ATTRIBUTE_PRE_UPCALL_SS, - TAO_ATTRIBUTE_UPCALL_SS, - TAO_ATTRIBUTE_POST_UPCALL_SS, - - // emitting code for array defn - TAO_ARRAY_CH, - TAO_ARRAY_CI, - TAO_ARRAY_CS, - - TAO_ARRAY_DEFN_CH, - TAO_ARRAY_DEFN_CI, - TAO_ARRAY_DEFN_CS, - TAO_ARRAY_DEFN_SH, - TAO_ARRAY_DEFN_SI, - TAO_ARRAY_DEFN_SS, - - // emitting code for rest of the array decl - TAO_ARRAY_OTHER_CH, - TAO_ARRAY_OTHER_CI, - TAO_ARRAY_OTHER_CS, - TAO_ARRAY_OTHER_SH, - TAO_ARRAY_OTHER_SI, - TAO_ARRAY_OTHER_SS, - - // 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_CI, // XXXASG rm? - TAO_ENUM_CS, // in client stubs - TAO_ENUM_SH, // XXXASG rm? all 3 - TAO_ENUM_SI, - TAO_ENUM_SS, - - // 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_SH, - TAO_EXCEPTION_SI, - TAO_EXCEPTION_SS, - - // emitting fields i.e., struct members - TAO_FIELD_CH, - TAO_FIELD_CI, - TAO_FIELD_CS, - - // emitting code for the interface - TAO_INTERFACE_CH, - TAO_INTERFACE_CI, - TAO_INTERFACE_CS, - TAO_INTERFACE_SH, - TAO_INTERFACE_SI, - TAO_INTERFACE_SS, - TAO_INTERFACE_COLLOCATED_SH, - TAO_INTERFACE_COLLOCATED_SS, - - // emitting code for the interface forward declaration - TAO_INTERFACE_FWD_CH, - TAO_INTERFACE_FWD_CI, - - // emitting code for the module - TAO_MODULE_CH, - TAO_MODULE_CI, - TAO_MODULE_CS, - TAO_MODULE_SH, - TAO_MODULE_SI, - TAO_MODULE_SS, - - // emitting code for an operation. - TAO_OPERATION_CH, // in client header - TAO_OPERATION_CI, // XXXASG rm? - TAO_OPERATION_CS, // in client stubs - TAO_OPERATION_SH, // in server header - TAO_OPERATION_SI, // XXXASG rm? - TAO_OPERATION_SS, // in server skeletons - TAO_OPERATION_COLLOCATED_SH, // in collocated server header - TAO_OPERATION_COLLOCATED_SS, // in collocated server skel - TAO_OPERATION_RETTYPE_CH, // return type in client header op - // signature - TAO_OPERATION_RETTYPE_OTHERS, // ... in other cases - TAO_OPERATION_RETURN_TYPE_CS, // - TAO_OPERATION_ARGLIST_CH, // parameter list in op signature - // ... for client header - TAO_OPERATION_ARGLIST_SH, // ... for server 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_EXCEPTION_CS, // return value on exception (error) - TAO_OPERATION_RETVAL_PRE_DOCALL_CS, // preprocessing for return value - // before sending over the wire - TAO_OPERATION_ARG_PRE_DOCALL_CS, // preprocessing of arguments - // before do_call - TAO_OPERATION_RETVAL_DOCALL_CS, // passing the return type - // variable to do_call - TAO_OPERATION_ARG_DOCALL_CS, // passing argument variable to do_call - TAO_OPERATION_RETVAL_POST_DOCALL_CS, // processing of return type - // after do_call - TAO_OPERATION_ARG_POST_DOCALL_CS, // processing of arg after do_call - TAO_OPERATION_RETVAL_RETURN_CS, // returning the return type variable - 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_RETVAL_UPCALL_SS, // passing return type var and argument - TAO_OPERATION_ARG_UPCALL_SS, // variables to upcall - 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? - - // for predefined type - TAO_PREDEFINED_TYPE_CH, - TAO_PREDEFINED_TYPE_CI, - TAO_PREDEFINED_TYPE_CS, - - // emitting code for root - TAO_ROOT_CH, - TAO_ROOT_CI, - TAO_ROOT_CS, - TAO_ROOT_SH, - TAO_ROOT_SI, - TAO_ROOT_SS, - - // emitting sequences - TAO_SEQUENCE_CH, - TAO_SEQUENCE_CI, - TAO_SEQUENCE_CS, - - // emitting code for sequence base type - TAO_SEQUENCE_BASE_CH, - TAO_SEQUENCE_BASE_CI, - TAO_SEQUENCE_BASE_CS, - TAO_SEQUENCE_BASE_SH, - TAO_SEQUENCE_BASE_SI, - TAO_SEQUENCE_BASE_SS, - - // emitting code for sequence body - TAO_SEQUENCE_BODY_CH, - TAO_SEQUENCE_BODY_CI, - TAO_SEQUENCE_BODY_CS, - TAO_SEQUENCE_BODY_SH, - TAO_SEQUENCE_BODY_SI, - TAO_SEQUENCE_BODY_SS, - - // 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 strings - TAO_STRING_CH, - TAO_STRING_CI, - TAO_STRING_CS, - TAO_STRING_SH, - TAO_STRING_SI, - TAO_STRING_SS, - - // emitting code for struct and its members - TAO_STRUCT_CH, - TAO_STRUCT_CI, - TAO_STRUCT_CS, - - // emitting code for typedefs - TAO_TYPEDEF_CH, - TAO_TYPEDEF_CI, - TAO_TYPEDEF_CS, - TAO_TYPEDEF_SH, - TAO_TYPEDEF_SI, - TAO_TYPEDEF_SS, - - // emitting code for unions - TAO_UNION_CH, - TAO_UNION_CI, - TAO_UNION_CS, - - // emitting code for the discriminant - TAO_UNION_DISCTYPEDEFN_CH, - TAO_UNION_DISCTYPEDEFN_CI, - TAO_UNION_DISCTYPEDEFN_CS, - TAO_UNION_DISCTYPEDEFN_SH, - TAO_UNION_DISCTYPEDEFN_SI, - TAO_UNION_DISCTYPEDEFN_SS, - - // 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_SH, - TAO_UNION_PUBLIC_SI, - TAO_UNION_PUBLIC_SS, - - // emitting code for private members of the union - TAO_UNION_PRIVATE_CH, - TAO_UNION_PRIVATE_CI, - TAO_UNION_PRIVATE_CS, - TAO_UNION_PRIVATE_SH, - TAO_UNION_PRIVATE_SI, - TAO_UNION_PRIVATE_SS, - - // Always must be last - TAO_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 - - be_state *make_state (void); - // factory method returning appropriate subclass of the be_state object - // based on the current code generation state - - int gen_cplusplus_mapping (void); - // generate the C++ mapping for CORBA IDL - - int client_header (const char *fname); - // set the client header stream - - TAO_OutStream *client_header (void); - // get the client header stream - - int client_stubs (const char *fname); - // set the client stub stream - - TAO_OutStream *client_stubs (void); - // get the client stubs stream - - int client_inline (const char *fname); - // set the client inline stream - - TAO_OutStream *client_inline (void); - // get the client inline stream - - int server_header (const char *fname); - // set the server header stream - - TAO_OutStream *server_header (void); - // get the server header stream - - int server_skeletons (const char *fname); - // set the server skeletons stream - - TAO_OutStream *server_skeletons (void); - // get the server skeletons stream - - int server_inline (const char *fname); - // set the server inline stream - - TAO_OutStream *server_inline (void); - // get the server inline stream - - void outstream (TAO_OutStream *os); - // set current out stream - - TAO_OutStream *outstream (void); - // retrieve current out stream being used - - void visitor_factory (TAO_Visitor_Factory *); - // set the visitor factory object - - int end_client_header (void); - // put a last #endif in the client header - - int end_server_header (void); - // put a last #endif in the server header - - void push (CG_STATE s); - // set the code generation state - - void pop (void); - // out of the current state - - void reset (void); - // reset the stack to 1 - - CG_STATE state (void); - // return the current state - - 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 - -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 *server_skeletons_; - // server skeleton stream - - TAO_OutStream *server_inline_; - // server side inline file - - TAO_OutStream *curr_os_; - // currently used out stream - - CG_STATE *state_; - // code generation state stack - - int top_; - // top of state stack - - int size_; - // size of allocated stack - - be_decl *node_; - // save current node in this - - TAO_Visitor_Factory *visitor_factory_; - // visitor factory object -}; - -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 e11271450b1..00000000000 --- a/TAO/TAO_IDL/be_include/be_constant.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_CONSTANT_H) -#define BE_CONSTANT_H - -/* - * 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 - - virtual int gen_client_header (void); - // Generates the client-side header information for the constant - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the constant - - virtual int gen_server_header (void); - // Generates the server-side header information for the constant - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the constant - - virtual int gen_client_inline (void); - // Generates the client-side inline for the constant - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the constant - - // = helper - 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 2a37587f419..00000000000 --- a/TAO/TAO_IDL/be_include/be_decl.h +++ /dev/null @@ -1,179 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (TAO_BE_DECL_H) -#define TAO_BE_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 int gen_client_header (void) = 0; - // Generates the client-side header information for the decl - - virtual int gen_client_stubs (void) = 0; - // Generates the client-side stubs for the decl - - virtual int gen_server_header (void) = 0; - // Generates the server-side header information for the decl - - virtual int gen_server_skeletons (void) = 0; - // Generates the server-side skeletons for the decl - - virtual int gen_client_inline (void) = 0; - // Generates the client-side inline for the decl - - virtual int gen_server_inline (void) = 0; - // Generates the server-side inlines for the decl - - virtual void size_type (SIZE_TYPE); - // set the size type - - virtual SIZE_TYPE size_type (void); - // return our size type - - const char *repoID (void); - // retrieve the repository ID - - const char *fullname (void); - // return the stringified full name - - const char *flatname (void); - // return the flattened full scoped name - - virtual idl_bool is_nested (void); - // determines if we are inside of a nested scope or not - - virtual int gen_encapsulation (void); - // encapsulation of parameters - - virtual long tc_encap_len (void); - // return length of encapsulation - - 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 srv_skel_gen (void); - idl_bool srv_inline_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 srv_skel_gen (idl_bool); - void srv_inline_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_repoID (void); - // computes the repoID - - virtual void compute_fullname (void); - // computes the fully scoped name - - virtual void compute_flatname (void); - // compute the flattened fully scoped name - - virtual int tc_name2long (const char *name, long *&, long &); - // name represented as a padded array of longs - - virtual long repoID_encap_len (void); - // return encapsulation length required to hold repository ID - - virtual long name_encap_len (void); - // return encapsulation length required to hold IDL name - - // 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 srv_skel_gen_; - idl_bool srv_inline_gen_; - - char *fullname_; - // our full scoped name - - char *flatname_; - // flattened fully scoped name - - char *repoID_; - // repository ID - - SIZE_TYPE size_type_; - // whether we are fixed or variable size (by default fixed) - - long encap_len_; - // encapsulation length - required for typecodes - -}; - -#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 c8f4f80a8e5..00000000000 --- a/TAO/TAO_IDL/be_include/be_enum.h +++ /dev/null @@ -1,95 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_ENUM_H) -#define BE_ENUM_H - -/* - * 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 gen_client_header (void); - // Generates the client-side header information for the enum - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the enum - - virtual int gen_server_header (void); - // Generates the server-side header information for the enum - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the enum - - virtual int gen_client_inline (void); - // Generates the client-side inline for the enum - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the enum - - 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 - - virtual int member_count (void); - // return the count of members - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 e8671c23275..00000000000 --- a/TAO/TAO_IDL/be_include/be_enum_val.h +++ /dev/null @@ -1,71 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_ENUM_VAL_H) -#define BE_ENUM_VAL_H - -/* - * 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 - - virtual int gen_client_header (void); - // Generates the client-side header information for the EnumVal - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the EnumVal - - virtual int gen_server_header (void); - // Generates the server-side header information for the EnumVal - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the EnumVal - - virtual int gen_client_inline (void); - // Generates the client-side inline for the EnumVal - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the EnumVal - - virtual int gen_encapsulation (void); - // generate the typecode - - virtual long tc_encap_len (void); - // return length of encapsulation - - // 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); -}; - -#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 46081d3c90f..00000000000 --- a/TAO/TAO_IDL/be_include/be_exception.h +++ /dev/null @@ -1,77 +0,0 @@ -#if !defined (BE_EXCEPTION_H) -#define BE_EXCEPTION_H - -/* - * 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 gen_client_header (void); - // generate client header - - virtual int gen_client_inline (void); - // generate client inline - - virtual int gen_client_stubs (void); - // generate client stubs - - virtual int gen_server_header (void); - // generate server header - - virtual int gen_server_inline (void); - // generate server inline - - virtual int gen_server_skeletons (void); - // generate server skeletons - - 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 - - virtual int member_count (void); - // return the count of members - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 7429a299977..00000000000 --- a/TAO/TAO_IDL/be_include/be_expression.h +++ /dev/null @@ -1,46 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_EXPRESSION_H) -#define BE_EXPRESSION_H - -/* - * 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 (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_factory.h b/TAO/TAO_IDL/be_include/be_factory.h deleted file mode 100644 index 9ed9a18f0de..00000000000 --- a/TAO/TAO_IDL/be_include/be_factory.h +++ /dev/null @@ -1,72 +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 -// -// ============================================================================ - -#if !defined (TAO_BE_FACTORY_H) -#define TAO_BE_FACTORY_H - -class TAO_Visitor_Factory -{ - // =TITLE - // TAO_Visitor_Factory - // - // =DESCRIPTION - // Abstract factory that creates visitors -public: - virtual ~TAO_Visitor_Factory (void); - // destructor - - virtual be_visitor *make_visitor (be_visitor_context *) = 0; - // create the right visitor - -}; - -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 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 4fcb1535058..00000000000 --- a/TAO/TAO_IDL/be_include/be_field.h +++ /dev/null @@ -1,74 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_FIELD_H) -#define BE_FIELD_H - -/* - * 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); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the field - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the field - - virtual int gen_server_header (void); - // Generates the server-side header information for the field - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the field - - virtual int gen_client_inline (void); - // Generates the client-side inline for the field - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the field - - virtual int gen_encapsulation (void); - // generate the typecode - - virtual long tc_encap_len (void); - // return the total byte length of ourselves represented as an encapsulation - - // 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 3f4f38bca3f..00000000000 --- a/TAO/TAO_IDL/be_include/be_generator.h +++ /dev/null @@ -1,164 +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. - - */ - -#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_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); - 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(AST_UnionLabel *lab, - 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(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 e456e7394b3..00000000000 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ /dev/null @@ -1,174 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (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_SVR_INL, - TAO_SVR_IMPL - }; - - 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 - - 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 - - // =overloaded operators - - TAO_OutStream &operator<< (const char *str); - // output the char string 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 d3da948c261..00000000000 --- a/TAO/TAO_IDL/be_include/be_interface.h +++ /dev/null @@ -1,181 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (TAO_BE_INTERFACE_H) -#define TAO_BE_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: - - // 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 int gen_client_header (void); - // Generates the client-side header information for the interface - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the interface - - virtual int gen_server_header (void); - // Generates the server-side header information for the interface - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the interface - - virtual int gen_client_inline (void); - // Generates the client-side inline for the interface - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the interface - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - const char *full_skel_name (void); - // retrieve the fully scoped skel 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 (void) const; - // retrieve the fully qualified collocated class name - - const char *local_coll_name (void) const; - // retrieve the fully qualified collocated class name - - 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 - - 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 *relative_coll_name (const char *other_class_name); - // relative name for collocated class. - - // Visiting - virtual int accept (be_visitor *visitor); - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 - - static int downcast_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - - static int gen_optable_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method - - static int gen_skel_helper (be_interface *, - be_interface *, - TAO_OutStream *os); - // helper method passed to the template method - - void compute_fullskelname (void); - // 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 (void); - // compute the fully qualified collocated class name. - -private: - char *full_skel_name_; // fully scoped skeleton name - - int skel_count_; // number of static skeletons in the operation table - - char *full_coll_name_; - char *local_coll_name_; -}; - -#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 717e388b46b..00000000000 --- a/TAO/TAO_IDL/be_include/be_interface_fwd.h +++ /dev/null @@ -1,92 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_INTERFACE_FWD_H) -#define BE_INTERFACE_FWD_H - -/* - * 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 (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the interface - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the interface - - virtual int gen_server_header (void); - // Generates the server-side header information for the interface - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the interface - - virtual int gen_client_inline (void); - // Generates the client-side inline for the interface - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the interface - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void); - // generate the typecode - - virtual long tc_size (void); - // return typecode size - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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_interpretive.h b/TAO/TAO_IDL/be_include/be_interpretive.h deleted file mode 100644 index e6312b8d2cd..00000000000 --- a/TAO/TAO_IDL/be_include/be_interpretive.h +++ /dev/null @@ -1,40 +0,0 @@ -// $Id$ - -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL Backend -// -// = FILENAME -// be_interpretive_visitor.h -// -// = DESCRIPTION -// Defines a factory that returns a specialized visitor object based on the -// code generation state. The visitors returned by this factory generate -// stubs and skeletons that use interpretive form of marshaling -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -class TAO_Interpretive_Visitor_Factory: public TAO_Visitor_Factory -{ - // =TITLE - // TAO_Visitor_Factory - // - // =DESCRIPTION - // Factory that creates visitors that generate stubs/skeletons for - // interpretive form of marshaling -public: - TAO_Interpretive_Visitor_Factory (void); - // constructor - - virtual ~TAO_Interpretive_Visitor_Factory (void); - // destructor - - virtual be_visitor *make_visitor (be_visitor_context *); - // create the right visitor - -}; 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 519c5be9a43..00000000000 --- a/TAO/TAO_IDL/be_include/be_module.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (_BE_MODULE_H) -#define _BE_MODULE_H - -/* - * 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 - - virtual int gen_client_header (void); - // Generates the client-side header information for the module - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the module - - virtual int gen_server_header (void); - // Generates the server-side header information for the module - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the module - - virtual int gen_client_inline (void); - // Generates the client-side inline for the module - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the module - - // 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 8b04f93565c..00000000000 --- a/TAO/TAO_IDL/be_include/be_native.h +++ /dev/null @@ -1,75 +0,0 @@ -// Id -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_native.h -// -// = DESCRIPTION -// The native IDL type -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - - -#if !defined (BE_NATIVE_H) -#define BE_NATIVE_H - -// 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_client_header (void); - // Generates the client-side header information for the type - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the type - - virtual int gen_server_header (void); - // Generates the server-side header information for the type - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the type - - virtual int gen_client_inline (void); - // Generates the client-side inline for the type - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the type - - virtual int gen_typecode (void); - // generate the typecode description - - virtual long tc_size (void); - // return typecode size - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 bf22269394e..00000000000 --- a/TAO/TAO_IDL/be_include/be_operation.h +++ /dev/null @@ -1,94 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_OPERATION_H) -#define BE_OPERATION_H - -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 gen_client_header (void); - // generate client header - - virtual int gen_client_stubs (void); - // generate client side stubs - - virtual int gen_server_header (void); - // generate server header - - virtual int gen_server_skeletons (void); - // generate server skeletons - - virtual int gen_client_inline (void); - // Generates the client-side inline for the operation - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the operation - - 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 7b0d6c8406f..00000000000 --- a/TAO/TAO_IDL/be_include/be_predefined_type.h +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (_BE_PREDEFINED_TYPE_H) -#define _BE_PREDEFINED_TYPE_H - -// 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 - - virtual int gen_client_header (void); - // Generates the client-side header information for the predefined type - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the predefined type - - virtual int gen_server_header (void); - // Generates the server-side header information for the predefined type - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the predefined type - - virtual int gen_client_inline (void); - // Generates the client-side inline for the predefined type - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the predefined type - - virtual int gen_typecode (void); - // generate the typecode - - virtual long tc_size (void); - // return typecode size - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_encap_len (void); - // return length of encapsulation - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 -}; - -#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 43e979c4722..00000000000 --- a/TAO/TAO_IDL/be_include/be_root.h +++ /dev/null @@ -1,77 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (TAO_BE_ROOT_H) -#define TAO_BE_ROOT_H - -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

- - int gen_idl2cplusplus_mapping (void); - // generates the IDL to C++ mapping - - virtual int gen_client_header (void); - // Generates the client-side header information for the root - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the root - - virtual int gen_server_header (void); - // Generates the server-side header information for the root - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the root - - virtual int gen_client_inline (void); - // Generates the client-side inline for the root - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the root - - // =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 c5509438613..00000000000 --- a/TAO/TAO_IDL/be_include/be_scope.h +++ /dev/null @@ -1,92 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (TAO_BE_SCOPE_H) -#define TAO_BE_SCOPE_H - -class be_decl; - -/* - * 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 int gen_client_header (void); - // Generates the client-side header information for the scope - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the scope - - virtual int gen_server_header (void); - // Generates the server-side header information for the scope - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the scope - - virtual int gen_client_inline (void); - // Generates the client-side inline for the scope - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the scope - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_encap_len (void); - // return length of encapsulation - - 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 ce5cb519f89..00000000000 --- a/TAO/TAO_IDL/be_include/be_sequence.h +++ /dev/null @@ -1,145 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_SEQUENCE_H) -#define BE_SEQUENCE_H - -/* - * 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 - }; - - // =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 int gen_client_header (void); - // Generates the client-side header information for the sequence - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the sequence - - virtual int gen_server_header (void); - // Generates the server-side header information for the sequence - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the sequence - - virtual int gen_client_inline (void); - // Generates the client-side inline for the sequence - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the sequence - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_managed_type_ch (void); - // generate code for managed types in header - - virtual int gen_managed_type_ci (void); - // generate code for managed types in inlined file - - virtual int gen_managed_type_cs (void); - // generate code for managed types in impl file - - 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 - - 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 - be_sequence *fe_add_sequence (be_sequence *); - - virtual be_decl *decl (void); - // overridden method on the be_scope class - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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); - -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 353238bbb09..00000000000 --- a/TAO/TAO_IDL/be_include/be_state.h +++ /dev/null @@ -1,294 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state.h -// -// = DESCRIPTION -// The Code generator state class and its subclasses -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_STATE_H) -#define TAO_BE_STATE_H - -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_string.h b/TAO/TAO_IDL/be_include/be_string.h deleted file mode 100644 index 0121bcf1216..00000000000 --- a/TAO/TAO_IDL/be_include/be_string.h +++ /dev/null @@ -1,87 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_STRING_H) -#define BE_STRING_H - -/* - * 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 - - virtual int gen_client_header (void); - // generate client header for string - - virtual int gen_client_stubs (void); - // generate client side stubs for string - - virtual int gen_server_header (void); - // generate server header for string - - virtual int gen_server_skeletons (void); - // generate server skeletons for string - - virtual int gen_client_inline (void); - // Generates the client-side inline for the string - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the string - - 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 - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 -}; - -#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 d1521ea9d25..00000000000 --- a/TAO/TAO_IDL/be_include/be_structure.h +++ /dev/null @@ -1,111 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_STRUCTURE_H) -#define BE_STRUCTURE_H - -/* - * 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_client_header (void); - // Generates the client-side header information for the struct - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the struct - - virtual int gen_server_header (void); - // Generates the server-side header information for the struct - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the struct - - virtual int gen_client_inline (void); - // Generates the client-side inline for the struct - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the struct - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - 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 - - virtual int member_count (void); - // return the count of members - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 7dc6c512fe3..00000000000 --- a/TAO/TAO_IDL/be_include/be_sunsoft.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sunsoft.h -// -// = DESCRIPTION -// SunSoft specific backend output generation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_HELPER_H) -#define TAO_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 88632350609..00000000000 --- a/TAO/TAO_IDL/be_include/be_type.h +++ /dev/null @@ -1,122 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_TYPE_H) -#define BE_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_client_header (void) = 0; - // Generates the client-side header information for the type - - virtual int gen_client_stubs (void) = 0; - // Generates the client-side stubs for the type - - virtual int gen_server_header (void) = 0; - // Generates the server-side header information for the type - - virtual int gen_server_skeletons (void) = 0; - // Generates the server-side skeletons for the type - - virtual int gen_client_inline (void) = 0; - // Generates the client-side inline for the type - - virtual int gen_server_inline (void) = 0; - // Generates the server-side inlines for the type - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void) = 0; - // generate the typecode description - - virtual long tc_size (void) = 0; - // return typecode size - - UTL_ScopedName *tc_name (void); - // return the typecode name - - virtual const char *nested_type_name (be_decl *d, const char *suffix = 0); - // type name of a node used when generating declarations - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // Different types have different mappings as return values, for - // instance interfaces are returned by reference (_ptr), but basic - // types by value. - // Typedefs are tricky, their mapping depend on the real type they - // are aliasing, but the name should be the typedef name, hence - // typedefs delegate on their base type, but pass their nodes down - // so the real name can be generated; hence the parameter. - // This method writes the type as a return value on the stream. - - 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. - - // 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 - - 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 3afda4d7125..00000000000 --- a/TAO/TAO_IDL/be_include/be_typedef.h +++ /dev/null @@ -1,93 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_TYPEDEF_H) -#define BE_TYPEDEF_H - -/* - * 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 int gen_client_header (void); - // Generates the client-side header information for the typedef - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the typedef - - virtual int gen_server_header (void); - // Generates the server-side header information for the typedef - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the typedef - - virtual int gen_client_inline (void); - // Generates the client-side inline for the typedef - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the typedef - - 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 - - virtual AST_Decl::NodeType base_node_type (void) const; - // Return the most "unaliased" type node for the base type (see - // be_type.h). - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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 8d9729a74cf..00000000000 --- a/TAO/TAO_IDL/be_include/be_union.h +++ /dev/null @@ -1,119 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_UNION_H) -#define BE_UNION_H - -/* - * 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_client_header (void); - // Generates the client-side header information for the union - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the union - - virtual int gen_server_header (void); - // Generates the server-side header information for the union - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the union - - virtual int gen_client_inline (void); - // Generates the client-side inline for the union - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the union - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - 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 - - virtual int member_count (void); - // return the count of members - - virtual int default_index (void); - // return the default index used - - virtual int write_as_return (TAO_OutStream *stream, - be_type *type); - // write the mapping as a return value on the stream. - - // 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); - -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 - - int member_count_; - // number of members - - int default_index_; - // default label index (zero based indexing) -}; - -#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 75393231e57..00000000000 --- a/TAO/TAO_IDL/be_include/be_union_branch.h +++ /dev/null @@ -1,74 +0,0 @@ -// ============================================================================ -// -// = 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 -// -// ============================================================================ - -#if !defined (BE_UNION_BRANCH_H) -#define BE_UNION_BRANCH_H - -/* - * 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 (AST_UnionLabel *lab, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the union branch - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the union branch - - virtual int gen_server_header (void); - // Generates the server-side header information for the union branch - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the union branch - - virtual int gen_client_inline (void); - // Generates the client-side inline for the union branch - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the union branch - - virtual int gen_encapsulation (void); - // generate the encapsulation - - virtual long tc_encap_len (void); - // return the total byte length of ourselves represented as an encapsulation - - // 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 31b9abbba2a..00000000000 --- a/TAO/TAO_IDL/be_include/be_union_label.h +++ /dev/null @@ -1,17 +0,0 @@ -#if !defined(BE_UNION_LABEL_H) -#define BE_UNION_LABEL_H - -/* - * 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_visitor.h b/TAO/TAO_IDL/be_include/be_visitor.h deleted file mode 100644 index 9c6c05e1632..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor.h +++ /dev/null @@ -1,157 +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 -// -// ============================================================================ - -#if !defined (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; -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 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 - - 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_args.h b/TAO/TAO_IDL/be_include/be_visitor_args.h deleted file mode 100644 index 12d4ef95307..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_args.h +++ /dev/null @@ -1,574 +0,0 @@ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_args.h -// -// = DESCRIPTION -// Visitors for generation of code for Arguments -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O' Ryan -// -// ============================================================================ - -#ifndef _BE_VISITOR_ARGS_H -#define _BE_VISITOR_ARGS_H - -#include "be_visitor_decl.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 -}; - -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 - -}; - -// ************************************************************ -// 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_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 - -}; - -// ************************************************************ -// 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_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 - -}; - -// ************************************************************ -// 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_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_typedef (be_typedef *node); - // visit the typedef type -}; - -// ************************************************************ -// 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 - - 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_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 - -}; - -// ************************************************************ -// 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 - -}; - -// ************************************************************ -// 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 - -}; - -// ************************************************************ -// 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_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_ARGS_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 6db40e2a693..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_attribute.h +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_attribute.h -// -// = DESCRIPTION -// Concrete visitor for the Attribute class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_ATTRIBUTE_H) -#define TAO_BE_VISITOR_ATTRIBUTE_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 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 2f2902f844d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_constant.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_constant.h -// -// = DESCRIPTION -// Concrete visitor for the constant class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_CONSTANT_H) -#define TAO_BE_VISITOR_CONSTANT_H - -#include "be_visitor.h" -#include "be_visitor_scope.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. - -}; - -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 - -}; - -#endif // TAO_BE_VISITOR_CONSTANT_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 399f59137cf..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_context.h +++ /dev/null @@ -1,226 +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 -// -// ============================================================================ - -#if !defined (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 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 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? - - // = 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_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 -}; - - -#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 4c8f575cacd..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_decl.h +++ /dev/null @@ -1,52 +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 -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_DECL_H) -#define TAO_BE_VISITOR_DECL_H - -#include "be_visitor.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 -}; - - -#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 59a6aff8ab6..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_enum.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_enum.h -// -// = DESCRIPTION -// Concrete visitor for the enum class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_ENUM_H) -#define TAO_BE_VISITOR_ENUM_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 (void); - // generate a comma after each element is processed -}; - -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 // TAO_BE_VISITOR_ENUM_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 627fd708b5f..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_exception.h +++ /dev/null @@ -1,231 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_exception.h -// -// = DESCRIPTION -// Concrete visitor for the Exception class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_EXCEPTION_H) -#define TAO_BE_VISITOR_EXCEPTION_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 -}; - -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 - -}; - -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. We provide code for this method in the derived class - -}; - -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 - -}; - -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 (void); - // 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 - -}; - -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 // TAO_BE_VISITOR_EXCEPTION_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 9846554bccc..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_field.h +++ /dev/null @@ -1,162 +0,0 @@ -// -// $Id$ -// -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_field.h -// -// = DESCRIPTION -// Concrete visitor for the base "BE_Field" node -// -// = AUTHOR -// Aniruddha Gokhale and Carlos O'Ryan -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_FIELD_H) -#define TAO_BE_VISITOR_FIELD_H - -#include "be_visitor_decl.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 - - 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_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 - -}; - -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 // TAO_BE_VISITOR_FIELD_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 c649c3a5fc2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface.h +++ /dev/null @@ -1,257 +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 -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_INTERFACE_H) -#define TAO_BE_VISITOR_INTERFACE_H - -#include "be_visitor_scope.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 - -}; - -// 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 - -}; - -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 - -}; - -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 -}; - -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 -}; - -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 -}; - -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 -}; - -class be_visitor_interface_collocated_sh : public be_visitor_interface -{ - // = TITLE - // Generate the "collocated" class declaration. - -public: - be_visitor_interface_collocated_sh (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_collocated_sh (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit an interface - -}; - -class be_visitor_interface_collocated_ss : public be_visitor_interface -{ - // = TITLE - // Generate the "collocated" class declaration. - -public: - be_visitor_interface_collocated_ss (be_visitor_context *ctx); - // constructor - - virtual ~be_visitor_interface_collocated_ss (void); - // destructor - - virtual int visit_interface (be_interface *node); - // visit interface - -}; - -#endif // _BE_VISITOR_INTERFACE_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 b24a9942e39..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_interface_fwd.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- C++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_interface_fwd.h -// -// = DESCRIPTION -// Concrete visitor for the interface_fwd class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_INTERFACE_FWD_H) -#define TAO_BE_VISITOR_INTERFACE_FWD_H - -#include "be_visitor.h" -#include "be_visitor_scope.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. - -}; - -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 // TAO_BE_VISITOR_INTERFACE_FWD_H 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 0a1f64a4496..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_module.h +++ /dev/null @@ -1,124 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_module.h -// -// = DESCRIPTION -// Concrete visitor for the Module class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_MODULE_H) -#define TAO_BE_VISITOR_MODULE_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 - - 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 - -}; - -// we need derived module visitors for the client and server header files. For -// the others, they use the default module visitor - -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 - -}; - -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 // TAO_BE_VISITOR_MODULE_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 33dec049cff..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_operation.h +++ /dev/null @@ -1,762 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_operation.h -// -// = DESCRIPTION -// Concrete visitor for the Operation class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_OPERATION_H) -#define TAO_BE_VISITOR_OPERATION_H - -#include "be_visitor.h" -#include "be_visitor_scope.h" - -// ************************************************************ -// Operation visitor for client header -// ************************************************************ - -class be_visitor_operation_ch : public be_visitor_scope -{ - // - // = 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. We provide code for this method in the derived class - -}; - -// ************************************************************ -// Operation visitor for client stubs -// ************************************************************ - -class be_visitor_operation_cs : public be_visitor_scope -{ - // - // = 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 - - virtual int post_process (void); - // stuff to output after every member of the scope is handled -}; - -// ************************************************************ -// Operation visitor for server header -// ************************************************************ - -class be_visitor_operation_sh : public be_visitor_scope -{ - // - // = 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. We provide code for this method in the derived class - -}; - -// ************************************************************ -// Operation visitor for server skeletons -// ************************************************************ - -class be_visitor_operation_ss : public be_visitor_scope -{ - // - // = 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 - - virtual int post_process (void); - // stuff to output after every member of the scope is handled -}; - -// ************************************************************ -// Operation visitor for server header in the collocated class -// ************************************************************ - -class be_visitor_operation_collocated_sh : public be_visitor_scope -{ - // - // = TITLE - // be_visitor_operation_collocated_sh - // - // = DESCRIPTION - // This is a concrete visitor to generate the server header for operation - // in the collocated class - // - // -public: - be_visitor_operation_collocated_sh (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_collocated_sh (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation node. - -}; - -// ***************************************************************** -// Operation visitor for server skeletons for the collocated class -// ***************************************************************** - -class be_visitor_operation_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 collocated class - // - // -public: - be_visitor_operation_collocated_ss (be_visitor_context *ctx); - // constructor - - ~be_visitor_operation_collocated_ss (void); - // destructor - - virtual int visit_operation (be_operation *node); - // visit operation node. - -}; - -// *********************************************************************** -// 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 - -}; - -// ****************************************************************************** -// Operation visitor for argument list - generates parameters in the signature -// ****************************************************************************** - -class be_visitor_operation_arglist : public be_visitor_scope -{ - // - // = 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 - - int visit_operation (be_operation *node); - // visit the operation - - int visit_argument (be_argument *node); - // visit each argument - -}; - -// ************************************************************ -// 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 - - 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 preprocessing before do_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_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 - - int visit_array (be_array *node); - // visit an array 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_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 passing return variable to do_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 - -}; - -// ************************************************************ -// Operation visitor for postprocessing after do_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_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 -}; - -// ************************************************************ -// 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 - - 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 - -}; - -// ************************************************************ -// generic operation visitor for docall, upcall, pre/post -// ************************************************************ - -class be_visitor_operation_argument : public be_visitor_scope -{ - // - // = 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 - - int post_process (void); - // stuff to o/p after each element of the scope is handled - - int visit_operation (be_operation *node); - // visit the operation - - int visit_argument (be_argument *node); - // visit argument - -}; - -// ************************************************************ -// 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 - - 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 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 - - 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 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 - - 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 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 - -}; - -#endif // TAO_BE_VISITOR_OPERATION_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 7d0f4f6a704..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_root.h +++ /dev/null @@ -1,210 +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 -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_ROOT_H) -#define TAO_BE_VISITOR_ROOT_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 - - 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 -}; - -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 -}; - -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 -}; - -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 -}; - -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 -}; - -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 -}; - -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 // TAO_BE_VISITOR_ROOT_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 07796a9b0e2..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_scope.h +++ /dev/null @@ -1,53 +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 -// -// ============================================================================ - -#if !defined (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 (void); - // do any processing after every element except the last one of the scope is - // processed -}; - - -#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 ff78daa3a2d..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_sequence.h +++ /dev/null @@ -1,211 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -#if !defined (TAO_BE_VISITOR_SEQUENCE_H) -#define TAO_BE_VISITOR_SEQUENCE_H - -#include "be_visitor_decl.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_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 -}; - -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_var_impl (be_sequence *node); - // generate the var impl - - virtual int gen_out_impl (be_sequence *node); - // generate the out impl -}; - -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_base_sequence_class (be_sequence *node); - // generate the base sequence class - -}; - -// =helper visitors to generate the base type and element type - -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_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_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_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_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_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 /* TAO_BE_VISITOR_SEQUENCE_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 5c643d48c23..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_structure.h +++ /dev/null @@ -1,121 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_structure.h -// -// = DESCRIPTION -// Concrete visitor for the Structure class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_STRUCTURE_H) -#define TAO_BE_VISITOR_STRUCTURE_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 -}; - -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 - -}; - -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 - -}; - -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); - // constructureor - - ~be_visitor_structure_cs (void); - // destructureor - - virtual int visit_structure (be_structure *node); - // visit structure. We provide code for this method in the derived class - -}; - - -#endif // TAO_BE_VISITOR_STRUCTURE_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 270f2aae6a0..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_typedef.h +++ /dev/null @@ -1,182 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_typedef.h -// -// = DESCRIPTION -// Concrete visitor for the Typedef class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_TYPEDEF_H) -#define TAO_BE_VISITOR_TYPEDEF_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 - -}; - -// we need derived typedef visitors for the client files. - -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_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 - -}; - -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 - -}; - -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 // TAO_BE_VISITOR_TYPEDEF_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 5ed4437fa2c..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union.h +++ /dev/null @@ -1,200 +0,0 @@ -/* -*- c++ -*- */ -// -// $Id$ -// - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_visitor_union.h -// -// = DESCRIPTION -// Concrete visitor for the Union class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_UNION_H) -#define TAO_BE_VISITOR_UNION_H - -#include "be_visitor.h" -#include "be_visitor_scope.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 -}; - -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 - -}; - -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 - -}; - -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 - -}; - -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 -}; - -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 -}; - -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 // TAO_BE_VISITOR_UNION_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 780099165eb..00000000000 --- a/TAO/TAO_IDL/be_include/be_visitor_union_branch.h +++ /dev/null @@ -1,254 +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 -// -// ============================================================================ - -#if !defined (TAO_BE_VISITOR_UNION_BRANCH_H) -#define TAO_BE_VISITOR_UNION_BRANCH_H - -#include "be_visitor_decl.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 - - 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_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 - -}; - -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 - -}; - -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 - -}; - -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 - -}; - -#endif // TAO_BE_VISITOR_UNION_BRANCH_H 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 b/TAO/TAO_IDL/driver/Makefile deleted file mode 100644 index f7d541968ad..00000000000 --- a/TAO/TAO_IDL/driver/Makefile +++ /dev/null @@ -1,361 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libdrv -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libdrv -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -DRIVER_FILES = \ - drv_init \ - drv_private \ - drv_args \ - drv_fork \ - drv_link \ - drv_preproc - -FILES = $(DRIVER_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# 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 targets (and local hacks) -#---------------------------------------------------------------------------- - -# Need the following. But we should be able to handle this using ACE's functionality -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -$(LOBJS): $(LHDRS) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/drv_init.o .obj/drv_init.so .shobj/drv_init.o .shobj/drv_init.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_fork.o .obj/drv_fork.so .shobj/drv_fork.o .shobj/drv_fork.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Process.h \ - $(ACE_ROOT)/ace/Process.i \ - $(ACE_ROOT)/ace/Process_Manager.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/driver/drv_args.cpp b/TAO/TAO_IDL/driver/drv_args.cpp deleted file mode 100644 index bd26d593f4b..00000000000 --- a/TAO/TAO_IDL/driver/drv_args.cpp +++ /dev/null @@ -1,271 +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. - - */ - -// 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 - -/* - * Push a file into the list of files to be processed - */ -static void -DRV_push_file(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 = strtok(s, ","); farg != NULL; farg = strtok(NULL, ",")) - strcat(newarg,farg); - DRV_cpp_putarg(newarg); -} - -/* - * Print a usage message and exit - */ -void -DRV_usage() -{ - 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(" -Dname[=value]\t\tdefines name for preprocessor\n"); - cerr << GTDEVEL(" -E\t\t\truns preprocessor only, prints on stdout\n"); - cerr << GTDEVEL(" -Idir\t\t\tincludes dir in search path for preprocessor\n"); - cerr << GTDEVEL(" -Uname\t\t\tundefines name for preprocessor\n"); - cerr << GTDEVEL(" -V\t\t\tprints version info then exits\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(" -bback_end\t\tcauses specified back end to be used\n"); - cerr << GTDEVEL(" -u\t\t\tprints usage message and exits\n"); - cerr << GTDEVEL(" -v\t\t\ttraces compilation stages\n"); - cerr << GTDEVEL(" -w\t\t\tsuppresses IDL compiler warning messages\n"); -} - -/* - * Parse arguments on command line - */ -void -DRV_parse_args(long ac, char **av) -{ - char *buffer; - char *s; - long i; - - DRV_cpp_init(); - idl_global->set_prog_name(av[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 - exit(99); - } else - s = av[i] + 2; - strcat(idl_global->local_escapes(), s); - strcat(idl_global->local_escapes(), " "); - break; - case 'D': - case 'U': - case 'I': - if (av[i][2] == '\0') { - if (i < ac - 1) { - buffer = new char[strlen(av[i]) + strlen(av[i + 1]) + 2]; - 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"); - 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"); - exit(99); - } - } else - s = av[i] + 2; - switch (*s) { - default: - cerr << GTDEVEL("IDL: -W must be followed by 'p' or 'b'\n"); - 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"); - 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"); - 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; - 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]); - } -} diff --git a/TAO/TAO_IDL/driver/drv_fork.cpp b/TAO/TAO_IDL/driver/drv_fork.cpp deleted file mode 100644 index 31398991ce8..00000000000 --- a/TAO/TAO_IDL/driver/drv_fork.cpp +++ /dev/null @@ -1,125 +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. - - */ - -/* - * 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" - -/* - * 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 - */ - 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 df3504b08d8..00000000000 --- a/TAO/TAO_IDL/driver/drv_init.cpp +++ /dev/null @@ -1,119 +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. - - */ - -// DRV_init.cc - Initialization for IDL compiler driver program - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -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 5d67b8b67a9..00000000000 --- a/TAO/TAO_IDL/driver/drv_link.cpp +++ /dev/null @@ -1,136 +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. - - */ - -/* -** 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" - -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 25b6d2bfd18..00000000000 --- a/TAO/TAO_IDL/driver/drv_preproc.cpp +++ /dev/null @@ -1,351 +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. - - */ - -/* - * 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/Env_Value_T.h" - -#include -#include - -#undef MAX_ARGLIST -#define MAX_ARGLIST 128 - -static char *arglist[MAX_ARGLIST]; -static long argcount = 0; - -/* - * Push the new CPP location if we got a -Yp argument - */ -void -DRV_cpp_new_location(char *new_loc) -{ - arglist[0] = new_loc; -} - -/* - * Push an argument into the arglist - */ -void -DRV_cpp_putarg(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() -{ - // DRV_cpp_putarg("\\cygnus\\H-i386-cygwin32\\bin\\echo"); - ACE_Env_Value cpp_path ("CPP_LOCATION", (char *) 0); - - DRV_cpp_putarg(cpp_path != 0 ? cpp_path : idl_global->cpp_location()); - DRV_cpp_putarg("-E"); - DRV_cpp_putarg("-DIDL"); - DRV_cpp_putarg("-I."); -} - -/* - * 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) -{ - FILE *f = fopen(fn, "w"); - - if (f == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open temp file ") - << fn - << GTDEVEL(" for writing\n"); - exit(99); - } - if (fin == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open input file\n"); - exit(99); - } - while (DRV_get_line(fin)) - fprintf(f, "%s\n", drv_line); - fclose(f); -} - -/* - * Strip down a name to the last component, i.e. everything after the last - * '/' character - */ -static char * -DRV_stripped_name(char *fn) -{ - char *n = fn; - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - for (n += l; l > 0 && *n != '/'; l--, n--); - if (*n == '/') n++; - return n; -} - -/* - * File names - */ -static char tmp_file[128]; -static char tmp_ifile[128]; - -/* - * Pass input through preprocessor - */ -void -DRV_pre_proc(char *myfile) -{ - long readfromstdin = I_FALSE; - char catbuf[512]; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (readfromstdin); - - const char* tmpdir = getenv("TMP"); - if (tmpdir != 0) - { - ACE_OS::strcpy (tmp_file, tmpdir); - ACE_OS::strcpy (tmp_ifile, tmpdir); - } - else - { - ACE_OS::strcpy (tmp_file, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_file, "tmp"); - ACE_OS::strcpy (tmp_ifile, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_ifile, "tmp"); - } - - ACE_OS::strcat (tmp_file, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_file, "idlf_XXXXXX"); - - ACE_OS::strcat (tmp_ifile, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_ifile, "idli_XXXXXX"); - - (void) mktemp (tmp_file); ACE_OS::strcat (tmp_file, ".cc"); - (void) mktemp (tmp_ifile); ACE_OS::strcat (tmp_ifile, ".cc"); - if (strcmp(myfile, "standard input") == 0) { - idl_global->set_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - idl_global->set_main_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - idl_global-> - set_stripped_filename( - (*DRV_FE_new_UTL_String)(DRV_stripped_name(tmp_ifile)) - ); - idl_global->set_real_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - DRV_copy_input(stdin, tmp_ifile); - idl_global->set_read_from_stdin(I_TRUE); - } else { - FILE *fd = fopen(myfile, "r"); - DRV_copy_input(fd, tmp_ifile); - fclose(fd); - idl_global->set_read_from_stdin(I_FALSE); - idl_global->set_filename((*DRV_FE_new_UTL_String)(myfile)); - idl_global->set_main_filename((*DRV_FE_new_UTL_String)(myfile)); - idl_global-> - set_stripped_filename( - (*DRV_FE_new_UTL_String)(DRV_stripped_name(myfile)) - ); - idl_global->set_real_filename((*DRV_FE_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; - - if (manager.wait () == -1) - { - cerr << idl_global->prog_name () - << GTDEVEL(": wait for child process failed\n"); - return; - } - // 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 = fopen(tmp_file, "r"); - if (yyin == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not open cpp output file ") - << tmp_file - << "\n"; - exit(99); - } - (*DRV_FE_set_yyin)((File *) yyin); - - // @@ TODO: This is not protable, 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"; - exit(99); - } -#if !defined (ACE_WIN32) - // TODO: This unlink fails every time under NT, it seems that you - // cannot remove an open file under that OS? - if (ACE_OS::unlink(tmp_file) == -1) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not remove cpp output file ") - << tmp_file - << "\n"; - exit(99); - } -#endif /* !ACE_WIN32 */ - if (idl_global->compile_flags() & IDL_CF_ONLY_PREPROC) - exit(0); -} - -#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 6160112e818..00000000000 --- a/TAO/TAO_IDL/driver/drv_private.cpp +++ /dev/null @@ -1,79 +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. - - */ - -// drv_global.cc - Global variables for IDL compiler driver program - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" - -// Storage for file names - -#define NFILES 1024 - -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 b/TAO/TAO_IDL/fe/Makefile deleted file mode 100644 index ed6a4f0ac09..00000000000 --- a/TAO/TAO_IDL/fe/Makefile +++ /dev/null @@ -1,393 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libfe -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libfe -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -FE_FILES = \ - fe_declarator \ - fe_private \ - fe_init \ - fe_extern \ - fe_interface_header - -OTHER_FILES = \ - y.tab \ - lex.yy - -FILES = $(FE_FILES) $(OTHER_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LHDR = $(addsuffix .h,$(HDRS)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# 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 targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -D_REENTRANT -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) -YACC = yacc -LEX = flex -YFLAGS = -t -d -LFLAGS = -t - -# Create the parser and lexer -y.tab.h y.tab.cpp: idl.yy - @-$(RM) -f $@ - $(YACC) $(YFLAGS) idl.yy - @mv -f y.tab.c y.tab.cpp - @patch < y.tab.cpp.diff - @-$(RM) -f y.tab.cpp.orig - -lex.yy.cpp: idl.ll y.tab.h - $(LEX) $(LFLAGS) idl.ll > $@ - @sed -e "s/unistd/stdio/g" -e "s@#include <@#include /**/ <@" -e "s/ECHO/TAO_ECHO/g" < $@ >> /tmp/$@ - @cp /tmp/$@ $@ - @patch < lex.yy.cpp.diff - @-(RM) -f /tmp/$@ lex.yy.cpp.orig - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/fe_declarator.o .obj/fe_declarator.so .shobj/fe_declarator.o .shobj/fe_declarator.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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_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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: lex.yy.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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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 y.tab.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/fe/fe_declarator.cpp b/TAO/TAO_IDL/fe/fe_declarator.cpp deleted file mode 100644 index 1c802e338e9..00000000000 --- a/TAO/TAO_IDL/fe/fe_declarator.cpp +++ /dev/null @@ -1,157 +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. - - */ - -/* - * 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" - -/* - * 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 03e52fbdc5f..00000000000 --- a/TAO/TAO_IDL/fe/fe_extern.cpp +++ /dev/null @@ -1,121 +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. - - */ - -/* - * 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" - -/* - * yacc parser interface - */ - -extern int yyparse(); -extern FILE * yyin; - -int -FE_yyparse() -{ - int result = yyparse(); - if (idl_global->err_count() == 0) { - idl_global->root()->call_add(); - } - return result; -} - -void -FE_set_yyin(File * f) -{ - yyin = (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 16f6b4372d8..00000000000 --- a/TAO/TAO_IDL/fe/fe_init.cpp +++ /dev/null @@ -1,367 +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. - - */ - -/* - * 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" - -/* - * Create a scoped name - */ -static UTL_ScopedName * -create_scoped_name(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_t"), - 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); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("TypeCode"), - 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_t"), - 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); -} - -/* - * 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"); - 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"); - 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"); - 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 b493bde1969..00000000000 --- a/TAO/TAO_IDL/fe/fe_interface_header.cpp +++ /dev/null @@ -1,282 +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. - - */ - -/* - * 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" - -/* - * Constructor(s) and destructor - */ - -FE_InterfaceHeader::FE_InterfaceHeader(UTL_ScopedName *n, UTL_NameList *nl) - : pd_interface_name(n) -{ - compile_inheritance(nl); -} - -/* - * 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 oiallocated; - 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 { - oiallocated = iallocated; - 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 *nl) -{ - UTL_NamelistActiveIterator *l = new UTL_NamelistActiveIterator(nl); - AST_Decl *d; - AST_Interface *i; - long k; - - iused = 0; - /* - * Compute expanded flattened non-repeating list of interfaces - * which this one inherits from - */ - 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 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) { - idl_global->err()->inheritance_error(pd_interface_name, d); - return; - } - /* - * OK, cast to an interface - */ - i = AST_Interface::narrow_from_decl(d); - if (i == NULL) - idl_global->err()->inheritance_error(pd_interface_name, d); - /* - * 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 - */ - l->next(); - } - delete l; - /* - * 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; -} - -/* - * 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; -} diff --git a/TAO/TAO_IDL/fe/fe_private.cpp b/TAO/TAO_IDL/fe/fe_private.cpp deleted file mode 100644 index 30fe3c3cfc0..00000000000 --- a/TAO/TAO_IDL/fe/fe_private.cpp +++ /dev/null @@ -1,78 +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. - - */ - -/* - * fe_private.cc - Declare global data which are private to the FE - * part - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -/* - * 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 17f11b8fb21..00000000000 --- a/TAO/TAO_IDL/fe/idl.ll +++ /dev/null @@ -1,528 +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. - -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 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 */ -%} - -%array - -%% - -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_t 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_t return IDL_WCHAR; -boolean return IDL_BOOLEAN; -octet return IDL_OCTET; -void return IDL_VOID; -native return IDL_NATIVE; - -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 = "::"; - return IDL_SCOPE_DELIMITOR; - } - -[a-zA-Z][a-zA-Z0-9_]* { - char *z = (char *) malloc(strlen(ace_yytext) + 1); - strcpy(z, ace_yytext); - yylval.strval = z; - return IDENTIFIER; -} - --?[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; - } --?0[xX][a-fA-F0-9]+ { - yylval.ival = idl_atoi(ace_yytext, 16); - return IDL_INTEGER_LITERAL; - } --?0[0-7]* { - yylval.ival = idl_atoi(ace_yytext, 8); - return IDL_INTEGER_LITERAL; - } - -"\""[^\"]*"\"" { - /* Skip the quotes */ - char *tmp = ace_yytext; - tmp[strlen(tmp)-1] = '\0'; - yylval.sval = new 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; - } -"'"\\."'" { - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } -^#[ \t]*pragma[ \t].*\n {/* remember pragma */ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_yytext); - } -^#[ \t]*[0-9]*" ""\""[^\"]*"\""" "[0-9]*\n { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*[0-9]*" ""\""[^\"]*"\""\n { - idl_parse_line_and_file(ace_yytext); - } -^#line[ \t]*[0-9]*" ""\""[^\"]*"\""\n { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*[0-9]*\n { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*ident.*\n { - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -\/\/.*\n { - /* 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]* ; -\n { - 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_atoi(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 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 String(h)); - } - idl_global->set_in_main_file( - (idl_global->filename()->compare(idl_global->real_filename())) ? - I_TRUE : - I_FALSE - ); - /* - * 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 *cp = buf + 1; - while(*cp != 'p') - cp++; - while(*cp != ' ' && *cp != '\t') - cp++; - while(*cp == ' ' || *cp == '\t') - cp++; - char pragma[80]; - char *pp = pragma; - while(*cp != '\n') { - *pp++ = *cp++; - } - *pp = 0; - if (strcmp(pragma, "import") == 0) { - idl_global->set_import(I_TRUE); - return; - } - if (strcmp(pragma, "include") == 0) { - idl_global->set_import(I_FALSE); - return; - } - UTL_StrList *p = idl_global->pragmas(); - if (p == NULL) - idl_global->set_pragmas(new UTL_StrList(new String(buf), NULL)); - else { - p->nconc(new UTL_StrList(new String(buf), NULL)); - idl_global->set_pragmas(p); - } -} - -/* - * idl_atoi - Convert a string of digits into an integer according to base b - */ -static long -idl_atoi(char *s, long b) -{ - long r = 0; - long negative = 0; - - if (*s == '-') { - negative = 1; - 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; - - if (negative) - r *= -1; - - 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_atoi(&str[2], 16); - str[i] = save; - return out; - } - 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_atoi(&str[1], 8); - str[i] = save; - return out; - } else { - return str[1] - 'a'; - } - break; - } -} diff --git a/TAO/TAO_IDL/fe/idl.yy b/TAO/TAO_IDL/fe/idl.yy deleted file mode 100644 index 5e0869bebc5..00000000000 --- a/TAO/TAO_IDL/fe/idl.yy +++ /dev/null @@ -1,2288 +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. - -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 (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 */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - 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 */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - 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 - -%token IDL_INTEGER_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 - -%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 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 - -%type interface_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); - } - | 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 - */ - 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(); - AST_Decl *d = NULL; - AST_Interface *fd = NULL; - - 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); - 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? - */ - } - /* - * If it is a forward declared interface.. - */ - else if (!fd->is_defined()) { - /* - * Check if redefining in same scope - */ - if (fd->defined_in() != s) { - idl_global->err() - ->error3(UTL_Error::EIDL_SCOPE_CONFLICT, - i, - fd, - ScopeAsDecl(s)); - } - /* - * All OK, do the redefinition - */ - else { - fd->set_inherits($1->inherits()); - fd->set_n_inherits($1->n_inherits()); - /* - * Update place of definition - */ - fd->set_imported(idl_global->imported()); - fd->set_in_main_file(idl_global->in_main_file()); - fd->set_line(idl_global->lineno()); - fd->set_file_name(idl_global->filename()); - fd->add_pragmas(p); - /* - * Use full definition node - */ - delete i; - i = fd; - } - } - } - } - /* - * 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 - */ - 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; - } - ; - -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 - $$ = 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_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 - */ - if (idl_global->scopes()->top() == NULL) - $$ = NULL; - else { - $$ = - AST_Structure::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } - ; - -at_least_one_member : member members ; - -members - : members member - | /* EMPTY */ - ; - -member : - 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; - f = idl_global->gen()->create_field(tp, d->name(), p); - (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 - */ - if (idl_global->scopes()->top() == NULL) - $$ = NULL; - else { - $$ = - AST_Union::narrow_from_scope( - idl_global->scopes()->top_non_null()); - 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 - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | 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_octet: - case AST_PredefinedType::PT_boolean: - $$ = p; - found = I_TRUE; - break; - default: - $$ = NULL; - found = I_TRUE; - break; - } - } - 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; - - 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) { - l = new UTL_LabellistActiveIterator($1); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - b = idl_global->gen()->create_union_branch(d, - f->field_type(), - f->name(), - f->pragmas()); - (void) s->fe_add_union_branch(b); - } - delete l; - } - } - | 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); - } - ; - -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(char *) -{ -} diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp b/TAO/TAO_IDL/fe/lex.yy.cpp deleted file mode 100644 index dd634208d05..00000000000 --- a/TAO/TAO_IDL/fe/lex.yy.cpp +++ /dev/null @@ -1,2199 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/flex-2.4.7/RCS/flex.skl,v 1.2 94/08/03 11:13:24 vern Exp $ - */ - -#define FLEX_SCANNER - -#include /**/ - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include /**/ -#include /**/ - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#ifdef __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - - -#ifdef __TURBOC__ -#define YY_USE_CONST -#endif - - -#ifndef YY_USE_CONST -#ifndef const -#define const -#endif -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define 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 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 yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. - */ -#define YY_START ((yy_start - 1) / 2) - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". Now included - * only for backward compatibility with previous versions of flex. - */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#ifdef __cplusplus -extern "C" { -#endif - extern int yywrap YY_PROTO(( void )); -#ifdef __cplusplus - } -#endif - -#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 ) - * 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 yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - int yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* 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 yy_is_interactive; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as 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 yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE 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 YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -void yyrestart YY_PROTO(( FILE *input_file )); -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); - -#if 0 -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -static void yy_push_state YY_PROTO(( int new_state )); -static void yy_pop_state YY_PROTO(( void )); -static int yy_top_state YY_PROTO(( void )); -#endif /* 0 */ - -static void *yy_flex_alloc YY_PROTO(( unsigned int )); -static void *yy_flex_realloc YY_PROTO(( void *, unsigned int )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define INITIAL 0 -typedef unsigned char YY_CHAR; -typedef int yy_state_type; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -extern char yytext[]; - - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, const char *, int )); -#endif - -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( const char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = yy_cp - yy_bp; \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - if ( yyleng >= YYLMAX ) \ - YY_FATAL_ERROR( "token too large, exceeds YYLMAX" ); \ - yy_flex_strncpy( yytext, yytext_ptr, yyleng + 1 ); \ - yy_c_buf_p = yy_cp; - -#define YY_END_OF_BUFFER 62 -static const short int yy_accept[284] = - { 0, - 58, 58, 62, 60, 58, 59, 60, 60, 60, 60, - 45, 43, 60, 60, 60, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 60, 58, 0, 46, 0, - 0, 45, 43, 57, 0, 41, 45, 0, 0, 0, - 43, 39, 37, 38, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 34, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 0, 54, 0, 0, - 0, 0, 0, 47, 0, 47, 0, 0, 56, 41, - - 0, 41, 0, 42, 44, 40, 40, 1, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 35, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 0, 0, - 0, 0, 0, 49, 48, 0, 0, 41, 42, 40, - 31, 40, 40, 18, 25, 40, 40, 40, 40, 12, - 40, 40, 40, 40, 22, 40, 40, 40, 40, 40, - 40, 40, 40, 40, 40, 40, 40, 40, 40, 29, - 40, 40, 0, 0, 0, 0, 0, 48, 0, 32, - 40, 40, 9, 40, 40, 40, 40, 20, 33, 40, - - 40, 40, 28, 40, 40, 40, 40, 23, 40, 40, - 40, 40, 16, 40, 40, 40, 52, 0, 0, 0, - 0, 40, 40, 40, 40, 21, 40, 40, 2, 30, - 36, 3, 40, 40, 13, 11, 17, 40, 40, 40, - 40, 51, 0, 0, 0, 0, 0, 0, 40, 27, - 7, 19, 40, 40, 40, 40, 10, 40, 26, 40, - 0, 55, 0, 0, 0, 40, 40, 40, 4, 15, - 24, 40, 0, 0, 0, 5, 6, 8, 14, 53, - 0, 50, 0 - } ; - -static const int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 1, 5, 6, 1, 1, 1, 7, 1, - 1, 8, 9, 1, 10, 11, 12, 13, 14, 14, - 14, 14, 14, 14, 14, 15, 15, 16, 1, 17, - 1, 18, 1, 1, 19, 20, 20, 20, 21, 22, - 23, 23, 23, 23, 23, 24, 23, 23, 23, 23, - 23, 25, 26, 27, 28, 23, 23, 29, 23, 23, - 1, 30, 1, 1, 31, 1, 32, 33, 34, 35, - - 36, 37, 38, 39, 40, 23, 23, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 23, 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 const int yy_meta[55] = - { 0, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 3, 3, 1, 1, 1, 3, 3, - 3, 3, 4, 4, 4, 4, 4, 4, 4, 1, - 4, 3, 3, 3, 3, 3, 3, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4 - } ; - -static const short int yy_base[294] = - { 0, - 0, 444, 449, 451, 53, 451, 443, 417, 45, 53, - 53, 58, 430, 428, 426, 0, 424, 417, 13, 397, - 31, 40, 34, 399, 396, 394, 393, 404, 47, 56, - 44, 381, 391, 389, 51, 105, 96, 427, 451, 424, - 88, 100, 111, 451, 427, 141, 128, 155, 170, 0, - 160, 451, 451, 451, 0, 405, 400, 373, 377, 381, - 376, 391, 379, 384, 370, 369, 384, 373, 42, 373, - 380, 365, 364, 376, 362, 370, 377, 362, 363, 359, - 365, 359, 64, 363, 363, 352, 184, 451, 111, 189, - 365, 359, 351, 451, 390, 389, 120, 392, 451, 0, - - 196, 451, 144, 199, 0, 368, 372, 0, 345, 350, - 354, 342, 82, 356, 354, 344, 349, 352, 333, 346, - 343, 330, 339, 342, 325, 0, 328, 340, 324, 326, - 88, 323, 335, 326, 329, 333, 335, 319, 360, 359, - 327, 319, 329, 451, 451, 187, 202, 213, 451, 339, - 0, 319, 322, 0, 0, 308, 320, 305, 313, 0, - 308, 303, 302, 303, 0, 308, 297, 298, 314, 309, - 300, 307, 293, 298, 306, 305, 303, 294, 298, 0, - 288, 294, 328, 157, 289, 295, 292, 451, 322, 0, - 295, 295, 0, 273, 284, 288, 274, 0, 0, 285, - - 285, 284, 0, 265, 270, 274, 273, 0, 277, 265, - 274, 276, 0, 268, 279, 266, 451, 205, 259, 228, - 265, 256, 262, 255, 254, 0, 262, 269, 0, 0, - 0, 0, 237, 238, 0, 0, 0, 220, 215, 199, - 201, 451, 231, 235, 245, 251, 248, 201, 182, 0, - 0, 0, 181, 188, 153, 159, 0, 155, 0, 158, - 169, 451, 162, 146, 101, 112, 101, 104, 0, 0, - 0, 88, 130, 120, 114, 0, 0, 0, 0, 451, - 107, 451, 451, 266, 270, 272, 276, 280, 75, 284, - 288, 292, 296 - - } ; - -static const short int yy_def[294] = - { 0, - 283, 1, 283, 283, 283, 283, 284, 285, 283, 283, - 283, 283, 283, 283, 283, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 283, 283, 284, 283, 283, - 287, 283, 283, 283, 288, 283, 283, 283, 283, 289, - 283, 283, 283, 283, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 283, 283, 36, 283, - 283, 283, 283, 283, 283, 283, 283, 288, 283, 46, - - 283, 283, 283, 283, 289, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 290, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 290, 283, 283, 283, 283, 283, 283, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 283, 283, 283, 283, - 283, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 286, 283, 283, 291, 283, 283, 283, 283, 286, 286, - 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, - 291, 283, 292, 283, 283, 286, 286, 286, 286, 286, - 286, 286, 292, 283, 293, 286, 286, 286, 286, 283, - 293, 283, 0, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283 - - } ; - -static const short int yy_nxt[506] = - { 0, - 4, 5, 6, 5, 7, 4, 8, 4, 4, 9, - 4, 10, 11, 12, 12, 13, 14, 15, 16, 16, - 16, 17, 16, 16, 16, 16, 18, 16, 16, 4, - 4, 19, 20, 21, 22, 23, 24, 16, 16, 25, - 26, 27, 28, 29, 16, 16, 30, 31, 32, 33, - 34, 35, 16, 16, 37, 58, 37, 42, 43, 43, - 44, 59, 61, 46, 45, 47, 47, 48, 46, 62, - 51, 51, 51, 49, 63, 64, 66, 105, 49, 78, - 73, 50, 79, 65, 85, 119, 67, 76, 49, 74, - 120, 77, 80, 49, 96, 81, 75, 37, 86, 37, - - 97, 97, 275, 134, 275, 50, 87, 88, 89, 282, - 46, 135, 47, 47, 48, 139, 282, 90, 90, 90, - 49, 46, 280, 51, 51, 51, 145, 174, 50, 156, - 157, 49, 146, 146, 274, 49, 279, 175, 46, 278, - 47, 47, 48, 277, 91, 92, 49, 276, 49, 93, - 263, 283, 50, 100, 100, 100, 104, 104, 104, 217, - 218, 101, 102, 49, 102, 46, 274, 48, 48, 48, - 46, 262, 51, 51, 51, 49, 101, 102, 103, 103, - 49, 102, 104, 104, 104, 87, 88, 89, 272, 271, - 49, 88, 140, 188, 270, 49, 90, 90, 90, 189, - - 189, 90, 90, 90, 147, 147, 269, 242, 148, 148, - 148, 104, 104, 104, 148, 148, 148, 243, 243, 243, - 149, 268, 149, 91, 267, 148, 148, 148, 93, 245, - 266, 246, 265, 242, 102, 149, 102, 262, 260, 149, - 247, 247, 247, 243, 243, 243, 245, 259, 246, 102, - 258, 264, 245, 102, 246, 263, 257, 247, 247, 247, - 247, 247, 247, 247, 247, 247, 38, 38, 38, 38, - 40, 256, 40, 40, 55, 55, 95, 255, 95, 95, - 98, 98, 98, 98, 183, 183, 183, 183, 261, 261, - 261, 261, 273, 273, 273, 273, 281, 281, 281, 281, - - 254, 253, 252, 251, 250, 249, 248, 244, 241, 240, - 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, - 229, 228, 227, 226, 225, 224, 223, 222, 188, 221, - 220, 219, 184, 216, 215, 214, 213, 212, 211, 210, - 209, 208, 207, 206, 205, 204, 203, 202, 201, 200, - 199, 198, 197, 196, 195, 194, 193, 192, 191, 190, - 187, 186, 185, 139, 184, 182, 181, 180, 179, 178, - 177, 176, 173, 172, 171, 170, 169, 168, 167, 166, - 165, 164, 163, 162, 161, 160, 159, 158, 155, 154, - 153, 152, 151, 150, 99, 144, 144, 143, 142, 141, - - 138, 137, 136, 133, 132, 131, 130, 129, 128, 127, - 126, 125, 124, 123, 122, 121, 118, 117, 116, 115, - 114, 113, 112, 111, 110, 109, 108, 107, 106, 99, - 94, 39, 84, 83, 82, 72, 71, 70, 69, 68, - 60, 57, 56, 54, 53, 52, 41, 39, 283, 36, - 3, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - - 283, 283, 283, 283, 283 - } ; - -static const short int yy_chk[506] = - { 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, 5, 19, 5, 9, 9, 9, - 10, 19, 21, 11, 10, 11, 11, 11, 12, 21, - 12, 12, 12, 11, 21, 22, 23, 289, 12, 31, - 29, 11, 31, 22, 35, 69, 23, 30, 11, 29, - 69, 30, 31, 12, 41, 31, 29, 37, 35, 37, - - 41, 41, 265, 83, 265, 11, 36, 36, 36, 281, - 42, 83, 42, 42, 42, 89, 275, 36, 36, 36, - 42, 43, 274, 43, 43, 43, 97, 131, 42, 113, - 113, 43, 97, 97, 273, 42, 272, 131, 47, 268, - 47, 47, 47, 267, 36, 36, 43, 266, 47, 36, - 264, 89, 42, 46, 46, 46, 103, 103, 103, 184, - 184, 46, 46, 47, 46, 48, 263, 48, 48, 48, - 51, 261, 51, 51, 51, 48, 46, 46, 49, 49, - 51, 46, 49, 49, 49, 87, 87, 87, 260, 258, - 48, 90, 90, 146, 256, 51, 87, 87, 87, 146, - - 146, 90, 90, 90, 101, 101, 255, 218, 101, 101, - 101, 104, 104, 104, 147, 147, 147, 218, 218, 218, - 104, 254, 104, 87, 253, 148, 148, 148, 87, 220, - 249, 220, 248, 243, 148, 104, 148, 244, 241, 104, - 220, 220, 220, 243, 243, 243, 245, 240, 245, 148, - 239, 247, 246, 148, 246, 246, 238, 245, 245, 245, - 247, 247, 247, 246, 246, 246, 284, 284, 284, 284, - 285, 234, 285, 285, 286, 286, 287, 233, 287, 287, - 288, 288, 288, 288, 290, 290, 290, 290, 291, 291, - 291, 291, 292, 292, 292, 292, 293, 293, 293, 293, - - 228, 227, 225, 224, 223, 222, 221, 219, 216, 215, - 214, 212, 211, 210, 209, 207, 206, 205, 204, 202, - 201, 200, 197, 196, 195, 194, 192, 191, 189, 187, - 186, 185, 183, 182, 181, 179, 178, 177, 176, 175, - 174, 173, 172, 171, 170, 169, 168, 167, 166, 164, - 163, 162, 161, 159, 158, 157, 156, 153, 152, 150, - 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, - 133, 132, 130, 129, 128, 127, 125, 124, 123, 122, - 121, 120, 119, 118, 117, 116, 115, 114, 112, 111, - 110, 109, 107, 106, 98, 96, 95, 93, 92, 91, - - 86, 85, 84, 82, 81, 80, 79, 78, 77, 76, - 75, 74, 73, 72, 71, 70, 68, 67, 66, 65, - 64, 63, 62, 61, 60, 59, 58, 57, 56, 45, - 40, 38, 34, 33, 32, 28, 27, 26, 25, 24, - 20, 18, 17, 15, 14, 13, 8, 7, 3, 2, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - - 283, 283, 283, 283, 283 - } ; - -static yy_state_type yy_last_accepting_state; -static char *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 yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#ifndef YYLMAX -#define YYLMAX 8192 -#endif - -char yytext[YYLMAX]; -char *yytext_ptr; -# line 1 "idl.ll" -# line 3 "idl.ll" -/* - -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 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 */ - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include /**/ -#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 YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef TAO_ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define TAO_ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = getc( yyin ); \ - result = c == EOF ? 0 : 1; \ - buf[0] = (char) c; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -# line 100 "idl.ll" - - - - if ( yy_init ) - { -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( yy_current_buffer ) - yy_init_buffer( yy_current_buffer, yyin ); - else - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - - yy_init = 0; - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; - if ( yy_bp[-1] == '\n' ) - ++yy_current_state; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 284 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 451 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_USER_ACTION -# line 102 "idl.ll" -return IDL_ANY; - YY_BREAK -case 2: -YY_USER_ACTION -# line 103 "idl.ll" -return IDL_MODULE; - YY_BREAK -case 3: -YY_USER_ACTION -# line 104 "idl.ll" -return IDL_RAISES; - YY_BREAK -case 4: -YY_USER_ACTION -# line 105 "idl.ll" -return IDL_READONLY; - YY_BREAK -case 5: -YY_USER_ACTION -# line 106 "idl.ll" -return IDL_ATTRIBUTE; - YY_BREAK -case 6: -YY_USER_ACTION -# line 107 "idl.ll" -return IDL_EXCEPTION; - YY_BREAK -case 7: -YY_USER_ACTION -# line 108 "idl.ll" -return IDL_CONTEXT; - YY_BREAK -case 8: -YY_USER_ACTION -# line 109 "idl.ll" -return IDL_INTERFACE; - YY_BREAK -case 9: -YY_USER_ACTION -# line 110 "idl.ll" -return IDL_CONST; - YY_BREAK -case 10: -YY_USER_ACTION -# line 111 "idl.ll" -return IDL_TYPEDEF; - YY_BREAK -case 11: -YY_USER_ACTION -# line 112 "idl.ll" -return IDL_STRUCT; - YY_BREAK -case 12: -YY_USER_ACTION -# line 113 "idl.ll" -return IDL_ENUM; - YY_BREAK -case 13: -YY_USER_ACTION -# line 114 "idl.ll" -return IDL_STRING; - YY_BREAK -case 14: -YY_USER_ACTION -# line 115 "idl.ll" -return IDL_WSTRING; - YY_BREAK -case 15: -YY_USER_ACTION -# line 116 "idl.ll" -return IDL_SEQUENCE; - YY_BREAK -case 16: -YY_USER_ACTION -# line 117 "idl.ll" -return IDL_UNION; - YY_BREAK -case 17: -YY_USER_ACTION -# line 118 "idl.ll" -return IDL_SWITCH; - YY_BREAK -case 18: -YY_USER_ACTION -# line 119 "idl.ll" -return IDL_CASE; - YY_BREAK -case 19: -YY_USER_ACTION -# line 120 "idl.ll" -return IDL_DEFAULT; - YY_BREAK -case 20: -YY_USER_ACTION -# line 121 "idl.ll" -return IDL_FLOAT; - YY_BREAK -case 21: -YY_USER_ACTION -# line 122 "idl.ll" -return IDL_DOUBLE; - YY_BREAK -case 22: -YY_USER_ACTION -# line 123 "idl.ll" -return IDL_LONG; - YY_BREAK -case 23: -YY_USER_ACTION -# line 124 "idl.ll" -return IDL_SHORT; - YY_BREAK -case 24: -YY_USER_ACTION -# line 125 "idl.ll" -return IDL_UNSIGNED; - YY_BREAK -case 25: -YY_USER_ACTION -# line 126 "idl.ll" -return IDL_CHAR; - YY_BREAK -case 26: -YY_USER_ACTION -# line 127 "idl.ll" -return IDL_WCHAR; - YY_BREAK -case 27: -YY_USER_ACTION -# line 128 "idl.ll" -return IDL_BOOLEAN; - YY_BREAK -case 28: -YY_USER_ACTION -# line 129 "idl.ll" -return IDL_OCTET; - YY_BREAK -case 29: -YY_USER_ACTION -# line 130 "idl.ll" -return IDL_VOID; - YY_BREAK -case 30: -YY_USER_ACTION -# line 131 "idl.ll" -return IDL_NATIVE; - YY_BREAK -case 31: -YY_USER_ACTION -# line 133 "idl.ll" -return IDL_TRUETOK; - YY_BREAK -case 32: -YY_USER_ACTION -# line 134 "idl.ll" -return IDL_FALSETOK; - YY_BREAK -case 33: -YY_USER_ACTION -# line 136 "idl.ll" -return IDL_INOUT; - YY_BREAK -case 34: -YY_USER_ACTION -# line 137 "idl.ll" -return IDL_IN; - YY_BREAK -case 35: -YY_USER_ACTION -# line 138 "idl.ll" -return IDL_OUT; - YY_BREAK -case 36: -YY_USER_ACTION -# line 139 "idl.ll" -return IDL_ONEWAY; - YY_BREAK -case 37: -YY_USER_ACTION -# line 141 "idl.ll" -return IDL_LEFT_SHIFT; - YY_BREAK -case 38: -YY_USER_ACTION -# line 142 "idl.ll" -return IDL_RIGHT_SHIFT; - YY_BREAK -case 39: -YY_USER_ACTION -# line 143 "idl.ll" -{ - yylval.strval = "::"; - return IDL_SCOPE_DELIMITOR; - } - YY_BREAK -case 40: -YY_USER_ACTION -# line 148 "idl.ll" -{ - char *z = (char *) malloc(strlen(ace_yytext) + 1); - strcpy(z, ace_yytext); - yylval.strval = z; - return IDENTIFIER; -} - YY_BREAK -case 41: -YY_USER_ACTION -# line 155 "idl.ll" -{ - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } - YY_BREAK -case 42: -YY_USER_ACTION -# line 159 "idl.ll" -{ - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } - YY_BREAK -case 43: -YY_USER_ACTION -# line 164 "idl.ll" -{ - yylval.ival = idl_atoi(ace_yytext, 10); - return IDL_INTEGER_LITERAL; - } - YY_BREAK -case 44: -YY_USER_ACTION -# line 168 "idl.ll" -{ - yylval.ival = idl_atoi(ace_yytext, 16); - return IDL_INTEGER_LITERAL; - } - YY_BREAK -case 45: -YY_USER_ACTION -# line 172 "idl.ll" -{ - yylval.ival = idl_atoi(ace_yytext, 8); - return IDL_INTEGER_LITERAL; - } - YY_BREAK -case 46: -YY_USER_ACTION -# line 177 "idl.ll" -{ - /* Skip the quotes */ - char *tmp = ace_yytext; - tmp[strlen(tmp)-1] = '\0'; - yylval.sval = new String(tmp + 1); - return IDL_STRING_LITERAL; - } - YY_BREAK -case 47: -YY_USER_ACTION -# line 184 "idl.ll" -{ - yylval.cval = ace_yytext [1]; - return IDL_CHARACTER_LITERAL; - } - YY_BREAK -case 48: -YY_USER_ACTION -# line 188 "idl.ll" -{ - // octal character constant - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - YY_BREAK -case 49: -YY_USER_ACTION -# line 193 "idl.ll" -{ - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - YY_BREAK -case 50: -YY_USER_ACTION -# line 197 "idl.ll" -{/* remember pragma */ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_yytext); - } - YY_BREAK -case 51: -YY_USER_ACTION -# line 201 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 52: -YY_USER_ACTION -# line 204 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 53: -YY_USER_ACTION -# line 207 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 54: -YY_USER_ACTION -# line 210 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 55: -YY_USER_ACTION -# line 213 "idl.ll" -{ - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } - YY_BREAK -case 56: -YY_USER_ACTION -# line 217 "idl.ll" -{ - /* ignore comments */ - idl_global->set_lineno(idl_global->lineno() + 1); - } - YY_BREAK -case 57: -YY_USER_ACTION -# line 221 "idl.ll" -{ - 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); - } - } - } - YY_BREAK -case 58: -YY_USER_ACTION -# line 235 "idl.ll" -; - YY_BREAK -case 59: -YY_USER_ACTION -# line 236 "idl.ll" -{ - idl_global->set_lineno(idl_global->lineno() + 1); - } - YY_BREAK -case 60: -YY_USER_ACTION -# line 239 "idl.ll" -return ace_yytext [0]; - YY_BREAK -case 61: -YY_USER_ACTION -# line 241 "idl.ll" -TAO_ECHO; - YY_BREAK -case YY_STATE_EOF(INITIAL): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = yy_cp - yytext_ptr - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between 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. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since 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 ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * 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). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* 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 yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr - 1; /* copy prev. char, too */ - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, 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 = yy_c_buf_p - yytext_ptr; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = yy_c_buf_p - b->yy_ch_buf; - - b->yy_buf_size *= 2; - b->yy_ch_buf = (char *) - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size ); - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move - YY_MORE_ADJ == 1 ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - /* yytext begins at the second character in yy_ch_buf; the first - * character is the one which preceded it before reading in the latest - * buffer; it needs to be kept around in case it's a newline, so - * yy_get_previous_state() will have with '^' rules active. - */ - - yytext_ptr = &yy_current_buffer->yy_ch_buf[1]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - register char *yy_bp = yytext_ptr; - - yy_current_state = yy_start; - if ( yy_bp[-1] == '\n' ) - ++yy_current_state; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 284 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 284 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 283); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += dest - source; - yy_bp += dest - source; - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - if ( yy_cp > yy_bp && yy_cp[-1] == '\n' ) - yy_cp[-2] = '\n'; - - *--yy_cp = (char) c; - - - /* Note: the formal parameter *must* be called "yy_bp" for this - * macro to now work correctly. - */ - YY_DO_BEFORE_ACTION; /* set up yytext again */ - } - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* 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 ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* 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->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - yy_flex_free( (void *) b->yy_ch_buf ); - yy_flex_free( (void *) b ); - } - - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - { - b->yy_input_file = file; - - /* We put in the '\n' and start reading from [1] so that an - * initial match-at-newline will be true. - */ - - b->yy_ch_buf[0] = '\n'; - b->yy_n_chars = 1; - - /* 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->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[2] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[1]; - - b->yy_is_interactive = file ? isatty( fileno(file) ) : 0; - - b->yy_fill_buffer = 1; - - b->yy_buffer_status = YY_BUFFER_NEW; - } - - -#if 0 -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - int new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } - - -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } - - -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif /* 0 */ - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( const char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( 1 ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, const char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -const char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( unsigned int size ) -#else -static void *yy_flex_alloc( size ) -unsigned int size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, unsigned int size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -unsigned int size; -#endif - { - return (void *) realloc( ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } -# line 241 "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_atoi(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 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 String(h)); - } - idl_global->set_in_main_file( - (idl_global->filename()->compare(idl_global->real_filename())) ? - I_TRUE : - I_FALSE - ); - /* - * 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 *cp = buf + 1; - while(*cp != 'p') - cp++; - while(*cp != ' ' && *cp != '\t') - cp++; - while(*cp == ' ' || *cp == '\t') - cp++; - char pragma[80]; - char *pp = pragma; - while(*cp != '\n') { - *pp++ = *cp++; - } - *pp = 0; - if (strcmp(pragma, "import") == 0) { - idl_global->set_import(I_TRUE); - return; - } - if (strcmp(pragma, "include") == 0) { - idl_global->set_import(I_FALSE); - return; - } - UTL_StrList *p = idl_global->pragmas(); - if (p == NULL) - idl_global->set_pragmas(new UTL_StrList(new String(buf), NULL)); - else { - p->nconc(new UTL_StrList(new String(buf), NULL)); - idl_global->set_pragmas(p); - } -} - -/* - * idl_atoi - Convert a string of digits into an integer according to base b - */ -static long -idl_atoi(char *s, long b) -{ - long r = 0; - long negative = 0; - - if (*s == '-') { - negative = 1; - 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; - - if (negative) - r *= -1; - - 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_atoi(&str[2], 16); - str[i] = save; - return out; - } - 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_atoi(&str[1], 8); - str[i] = save; - return out; - } else { - return str[1] - 'a'; - } - 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 42d4c2e1c15..00000000000 --- a/TAO/TAO_IDL/fe/lex.yy.cpp.diff +++ /dev/null @@ -1,34 +0,0 @@ ---- lex.yy.cpp.orig Fri Jan 23 11:21:41 1998 -+++ lex.yy.cpp Fri Jan 23 11:23:06 1998 -@@ -217,12 +217,14 @@ - void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); - void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); - -+#if 0 - static int yy_start_stack_ptr = 0; - static int yy_start_stack_depth = 0; - static int *yy_start_stack = 0; - static void yy_push_state YY_PROTO(( int new_state )); - static void yy_pop_state YY_PROTO(( void )); - static int yy_top_state YY_PROTO(( void )); -+#endif /* 0 */ - - static void *yy_flex_alloc YY_PROTO(( unsigned int )); - static void *yy_flex_realloc YY_PROTO(( void *, unsigned int )); -@@ -1780,6 +1782,7 @@ - } - - -+#if 0 - #ifdef YY_USE_PROTOS - static void yy_push_state( int new_state ) - #else -@@ -1825,7 +1828,7 @@ - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -- -+#endif /* 0 */ - - #ifdef YY_USE_PROTOS - static void yy_fatal_error( const char msg[] ) diff --git a/TAO/TAO_IDL/fe/y.tab.cpp b/TAO/TAO_IDL/fe/y.tab.cpp deleted file mode 100644 index 2cc5d88addc..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.cpp +++ /dev/null @@ -1,3297 +0,0 @@ - -# line 74 "idl.yy" -#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 (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 - -# line 97 "idl.yy" -typedef union -#ifdef __cplusplus - YYSTYPE -#endif - { - 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 */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - 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 */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} YYSTYPE; -# 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_INTEGER_LITERAL 293 -# define IDL_STRING_LITERAL 294 -# define IDL_CHARACTER_LITERAL 295 -# define IDL_FLOATING_PT_LITERAL 296 -# define IDL_TRUETOK 297 -# define IDL_FALSETOK 298 -# define IDL_SCOPE_DELIMITOR 299 -# define IDL_LEFT_SHIFT 300 -# define IDL_RIGHT_SHIFT 301 - -#ifdef __STDC__ -#include -// #include -#else -#include -#include -#endif - -// #include - -#ifdef __cplusplus - -#ifndef yyerror - void yyerror(const char *); -#endif - -#ifndef yylex -#ifdef __EXTERN_C__ - extern "C" { int yylex(void); } -#else - int yylex(void); -#endif -#endif - int yyparse(void); - -#endif -#define yyclearin yychar = -1 -#define yyerrok yyerrflag = 0 -extern int yychar; -extern int yyerrflag; -YYSTYPE yylval; -YYSTYPE yyval; -typedef int yytabelem; -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 150 -#endif -#if YYMAXDEPTH > 0 -int yy_yys[YYMAXDEPTH], *yys = yy_yys; -YYSTYPE yy_yyv[YYMAXDEPTH], *yyv = yy_yyv; -#else /* user does initial allocation */ -int *yys; -YYSTYPE *yyv; -#endif -static int yymaxdepth = YYMAXDEPTH; -# define YYERRCODE 256 - -# line 2267 "idl.yy" - -/* 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(char *) -{ -} -yytabelem yyexca[] ={ --1, 0, - 0, 3, - -2, 0, --1, 1, - 0, -1, - -2, 0, --1, 3, - 0, 3, - 125, 3, - -2, 0, --1, 24, - 123, 32, - -2, 57, --1, 134, - 91, 229, - -2, 138, --1, 149, - 257, 254, - 262, 254, - 263, 254, - 264, 254, - 265, 254, - 266, 254, - 267, 254, - 268, 254, - 269, 254, - 270, 254, - 271, 254, - 277, 254, - 283, 241, - 286, 254, - 299, 254, - 125, 25, - -2, 0, --1, 181, - 125, 3, - -2, 0, --1, 222, - 125, 245, - -2, 0, --1, 269, - 125, 161, - -2, 0, --1, 319, - 41, 257, - -2, 259, --1, 357, - 125, 184, - -2, 0, - }; -# define YYNPROD 286 -# define YYLAST 528 -yytabelem yyact[]={ - - 72, 131, 347, 331, 344, 57, 167, 155, 128, 241, - 70, 230, 132, 207, 208, 35, 226, 110, 393, 388, - 333, 334, 335, 352, 328, 239, 147, 34, 349, 348, - 130, 112, 118, 119, 113, 112, 141, 36, 36, 101, - 59, 103, 104, 105, 100, 227, 36, 108, 98, 169, - 54, 78, 87, 88, 76, 77, 79, 80, 82, 81, - 83, 20, 21, 36, 22, 89, 90, 91, 78, 87, - 88, 76, 77, 79, 80, 82, 81, 83, 20, 21, - 73, 22, 89, 90, 91, 231, 305, 36, 73, 102, - 201, 346, 78, 87, 88, 76, 77, 79, 80, 82, - 81, 83, 162, 222, 160, 73, 89, 90, 91, 161, - 134, 154, 137, 36, 129, 349, 348, 159, 301, 87, - 88, 67, 143, 79, 80, 82, 81, 158, 2, 73, - 157, 22, 26, 36, 265, 6, 5, 153, 78, 87, - 88, 76, 77, 79, 80, 82, 81, 83, 55, 169, - 66, 367, 164, 90, 165, 73, 302, 291, 290, 95, - 36, 289, 242, 232, 204, 78, 87, 88, 76, 77, - 79, 80, 82, 81, 83, 73, 65, 217, 62, 13, - 90, 63, 13, 325, 4, 59, 36, 148, 96, 59, - 163, 78, 87, 88, 76, 77, 79, 80, 82, 81, - 243, 245, 73, 146, 145, 244, 90, 91, 192, 144, - 15, 106, 205, 10, 94, 312, 202, 263, 262, 93, - 250, 114, 221, 142, 20, 21, 117, 22, 73, 59, - 116, 16, 384, 371, 195, 166, 196, 197, 9, 115, - 15, 19, 25, 10, 14, 313, 61, 12, 134, 284, - 12, 176, 177, 283, 20, 21, 293, 22, 280, 60, - 11, 16, 279, 11, 278, 277, 36, 276, 275, 52, - 51, 134, 288, 50, 14, 49, 59, 48, 47, 300, - 386, 373, 45, 391, 213, 189, 188, 243, 245, 211, - 354, 304, 244, 209, 212, 210, 326, 303, 199, 198, - 389, 292, 170, 171, 172, 173, 174, 175, 73, 383, - 223, 35, 254, 255, 258, 259, 260, 225, 340, 256, - 257, 315, 329, 317, 253, 314, 261, 220, 13, 269, - 375, 353, 319, 252, 187, 251, 228, 206, 35, 285, - 64, 71, 392, 382, 363, 364, 339, 366, 243, 245, - 350, 342, 355, 244, 365, 214, 215, 216, 341, 330, - 13, 286, 368, 372, 324, 59, 36, 134, 378, 377, - 374, 129, 323, 376, 338, 370, 322, 318, 97, 99, - 311, 134, 385, 282, 266, 180, 122, 38, 310, 281, - 306, 249, 152, 219, 297, 140, 12, 86, 218, 139, - 85, 178, 170, 171, 172, 173, 174, 175, 73, 11, - 120, 203, 138, 309, 274, 273, 229, 184, 126, 42, - 380, 381, 362, 298, 361, 359, 379, 358, 12, 357, - 356, 343, 336, 320, 308, 272, 183, 125, 41, 271, - 307, 11, 270, 268, 224, 182, 124, 40, 337, 296, - 247, 299, 109, 53, 295, 33, 264, 179, 121, 37, - 136, 111, 246, 238, 237, 191, 236, 190, 235, 234, - 233, 186, 107, 46, 185, 149, 127, 43, 18, 17, - 267, 181, 123, 39, 32, 31, 8, 30, 7, 29, - 28, 27, 3, 1, 24, 193, 133, 194, 332, 75, - 74, 68, 92, 369, 168, 156, 287, 23, 321, 316, - 151, 360, 345, 248, 200, 327, 44, 150, 390, 387, - 351, 84, 240, 135, 294, 69, 58, 56 }; -yytabelem yypact[]={ - - -18,-10000000,-10000000, -18,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, -220,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, 224,-10000000,-10000000, 219, 218, 216, - 214, 211, 210, -194,-10000000,-10000000,-10000000, -71, -220, -168, - -220, -220, -220, 88,-10000000,-10000000, -220,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -282, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -231,-10000000, --10000000,-10000000,-10000000,-10000000, 177, 170, 166,-10000000, -230,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, - -282,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -219,-10000000, -220, --10000000, -220,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -226,-10000000, - 163, -220, 86, 81, 80, -248, 64,-10000000,-10000000, -282, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -220,-10000000, 109, 109, - 109,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -48, - 255, 254, 125,-10000000,-10000000,-10000000, 40, 118, 299, -287, - 250, 247,-10000000,-10000000, 9, 9, 9, -282,-10000000, 109, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -170, 161, --10000000, -18, -211, 296, -172, 38,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000, -258, -124,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000, 158, 109, 109, 109, 109, 109, 109, - 109, 109, 109, 109,-10000000,-10000000,-10000000, 285, 156, 155, --10000000,-10000000, -211,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000, 209, 208, 206, 205, 203, 199,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000, -282, -219, -220, 125, 109, --10000000, 118, 299, -287, 250, 250, 247, 247,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, 109,-10000000, 36, 33, 32, -211, - -220, 197, -144, 31, 253,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000, -97, -171, -282,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, - -282, -227,-10000000,-10000000,-10000000,-10000000, 122, 186, 284, -172, - -220, 292,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, - 60, 252, -266, 281, -267,-10000000,-10000000,-10000000,-10000000,-10000000, - 277,-10000000,-10000000,-10000000,-10000000,-10000000, -165, -220, -268, 291, --10000000, 246, -97,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000, 26, -165, -194, 174, - -252, 223, 109, 290, -219, -267, -220,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000, 268,-10000000,-10000000, 173, - -220, 222, -275,-10000000,-10000000,-10000000,-10000000, 259,-10000000,-10000000, - 239,-10000000, -276,-10000000 }; -yytabelem yypgo[]={ - - 0, 16, 148, 527, 526, 525, 10, 259, 178, 524, - 246, 523, 522, 521, 341, 9, 6, 520, 519, 518, - 8, 517, 516, 515, 514, 513, 512, 511, 30, 510, - 509, 508, 507, 506, 7, 505, 130, 127, 117, 104, - 109, 102, 190, 504, 111, 90, 2, 503, 502, 181, - 176, 150, 340, 501, 500, 499, 5, 121, 498, 497, - 1, 12, 496, 495, 494, 0, 184, 493, 128, 492, - 491, 136, 490, 135, 489, 488, 487, 486, 485, 484, - 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, - 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, - 463, 462, 461, 460, 459, 458, 457, 456, 455, 453, - 452, 450, 448, 447, 446, 445, 444, 443, 134, 103, - 442, 440, 439, 438, 437, 436, 435, 434, 433, 432, - 431, 430, 4, 429, 427, 426, 425, 424, 422, 421, - 420, 419, 418, 417, 416, 415, 11, 414, 413, 412, - 411, 410, 401, 400, 399, 398, 397, 395, 393, 392, - 391, 390, 389, 388, 387, 386, 385, 384, 383, 380, - 377, 376, 374, 372, 364, 359, 3, 358, 354, 351, - 347, 346, 345, 344, 343, 342 }; -yytabelem yyr1[]={ - - 0, 67, 68, 68, 70, 69, 72, 69, 74, 69, - 76, 69, 78, 69, 79, 69, 80, 81, 82, 83, - 77, 75, 75, 86, 87, 89, 84, 90, 64, 32, - 91, 22, 22, 88, 88, 93, 92, 94, 92, 95, - 92, 97, 92, 99, 92, 100, 92, 20, 101, 21, - 21, 16, 102, 16, 103, 16, 65, 85, 104, 105, - 106, 107, 71, 48, 48, 48, 48, 48, 48, 48, - 48, 33, 34, 35, 35, 36, 36, 37, 37, 38, - 38, 38, 39, 39, 39, 40, 40, 40, 40, 41, - 41, 41, 41, 42, 42, 42, 43, 43, 43, 43, - 43, 43, 44, 108, 66, 66, 66, 66, 66, 110, - 109, 1, 1, 2, 2, 2, 56, 56, 56, 56, - 56, 56, 4, 4, 4, 3, 3, 3, 28, 111, - 29, 29, 60, 60, 30, 112, 31, 31, 61, 62, - 49, 49, 54, 54, 54, 55, 55, 55, 52, 52, - 52, 50, 50, 57, 51, 53, 113, 114, 115, 117, - 7, 116, 119, 119, 120, 121, 118, 122, 118, 123, - 124, 125, 126, 127, 128, 129, 131, 10, 9, 9, - 9, 9, 9, 9, 130, 133, 133, 134, 135, 132, - 136, 132, 26, 27, 27, 137, 46, 138, 139, 46, - 140, 47, 141, 142, 143, 145, 8, 144, 148, 147, - 147, 146, 149, 150, 5, 5, 151, 152, 13, 154, - 155, 6, 6, 153, 157, 158, 14, 14, 156, 159, - 11, 24, 25, 25, 160, 161, 45, 162, 163, 96, - 63, 63, 164, 165, 166, 167, 73, 168, 169, 171, - 172, 98, 59, 59, 59, 12, 12, 173, 170, 174, - 170, 175, 178, 177, 177, 179, 180, 176, 15, 15, - 15, 58, 58, 58, 181, 182, 23, 23, 183, 184, - 17, 17, 18, 185, 19, 19 }; -yytabelem yyr2[]={ - - 0, 2, 4, 0, 1, 7, 1, 7, 1, 7, - 1, 7, 1, 7, 1, 7, 1, 1, 1, 1, - 19, 2, 2, 1, 1, 1, 15, 1, 7, 5, - 1, 7, 1, 4, 0, 1, 7, 1, 7, 1, - 7, 1, 7, 1, 7, 1, 7, 5, 1, 9, - 1, 3, 1, 7, 1, 9, 3, 3, 1, 1, - 1, 1, 19, 2, 2, 2, 2, 2, 3, 3, - 3, 2, 2, 2, 7, 2, 7, 2, 7, 2, - 7, 7, 2, 7, 7, 2, 7, 7, 7, 2, - 5, 5, 5, 3, 2, 7, 3, 3, 3, 3, - 3, 3, 3, 1, 7, 3, 3, 3, 5, 1, - 7, 2, 2, 3, 2, 3, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 5, 1, - 9, 1, 2, 2, 5, 1, 9, 1, 3, 3, - 2, 2, 3, 5, 3, 5, 7, 5, 3, 3, - 5, 3, 3, 3, 3, 3, 1, 1, 1, 1, - 19, 4, 4, 0, 1, 1, 11, 1, 7, 1, - 1, 1, 1, 1, 1, 1, 1, 35, 3, 3, - 3, 3, 2, 3, 4, 4, 0, 1, 1, 11, - 1, 7, 5, 5, 1, 1, 7, 1, 1, 11, - 1, 7, 1, 1, 1, 1, 19, 4, 1, 8, - 0, 3, 1, 1, 13, 5, 1, 1, 11, 1, - 1, 13, 3, 3, 1, 1, 13, 3, 3, 1, - 7, 5, 5, 1, 1, 1, 11, 1, 1, 13, - 3, 1, 1, 1, 1, 1, 19, 1, 1, 1, - 1, 21, 3, 3, 1, 2, 3, 1, 7, 1, - 9, 4, 1, 8, 0, 1, 1, 11, 3, 2, - 3, 3, 3, 3, 1, 1, 13, 1, 1, 1, - 13, 1, 5, 1, 9, 1 }; -yytabelem yychk[]={ - --10000000, -67, -68, -69, -66, -71, -73, -75, -77, 256, - 261, -7, -10, -8, 292, 258, 279, -84, -85, 259, - 272, 273, 275, -32, -64, 260, -68, -70, -72, -74, - -76, -78, -79, -108, -61, -65, 257, -104, -164, -80, - -113, -123, -141, -86, -22, 58, -90, 59, 59, 59, - 59, 59, 59, -109, -1, -2, -3, -56, -4, -16, - -7, -10, -8, -49, -52, -50, -51, -57, -53, -5, - -6, -14, -65, 299, -54, -55, 265, 266, 262, 267, - 268, 270, 269, 271, -13, -153, -156, 263, 264, 276, - 277, 278, -48, -49, -50, -57, -51, -52, -6, -14, - -16, -65, 257, -65, -65, -65, 123, -91, -65, -110, - 299, -102, 262, 265, 44, 62, 60, 60, 262, 263, - -151, -105, -165, -81, -114, -124, -142, -87, -20, -16, - -28, -60, -61, -62, -65, -11, -103, -65, -149, -154, - -157, 262, 60, -65, 123, 123, 123, 274, 123, -88, - -21, -29, -159, -65, -44, -34, -35, -36, -37, -38, - -39, -40, -41, -42, 43, 45, 126, -16, -43, 40, - 293, 294, 295, 296, 297, 298, -44, -44, -152, -106, - -166, -82, -115, -125, -143, -89, -92, -66, -71, -73, - -96, -98, 256, -63, -59, 282, 284, 285, 44, 44, - -24, -45, 91, -150, 124, 94, 38, 300, 301, 43, - 45, 42, 47, 37, -42, -42, -42, -34, -155, -158, - -2, 61, -119, -68, -116, -118, -1, 256, 40, -144, - -146, 257, 125, -93, -94, -95, -97, -99, -100, 283, - -12, -15, 286, -56, -6, -16, -101, -111, -25, -160, - 62, -36, -37, -38, -39, -39, -40, -40, -41, -41, - -41, 41, 62, 62, -107, -118, -167, -83, -117, -119, - -120, -122, -126, -145, -147, 59, 59, 59, 59, 59, - 59, -162, -168, -16, -60, -45, -44, -33, -34, 125, - 125, 125, -28, 59, -9, -49, -50, -57, -51, -8, - -16, 262, 125, 44, -15, 257, -161, -121, -127, -148, - -163, -169, 93, 59, 41, -146, -30, -61, -170, 40, - -128, -31, -171, -173, -174, 123, 44, -23, 290, 41, - -175, -176, -58, 287, 288, 289, -129, -112, -172, -181, - 41, -177, -179, -130, -132, -26, 256, -46, 281, 280, - -61, -17, 291, 40, 44, -15, -131, -133, -134, -136, - -27, -137, -138, -183, -182, -178, -180, 125, -132, -47, - -1, 59, -46, 58, -34, 40, -20, -176, -60, -135, - -140, -139, -184, 41, 59, -60, 58, -18, 294, 41, - -19, 44, -185, 294 }; -yytabelem yydef[]={ - - -2, -2, 1, -2, 4, 6, 8, 10, 12, 14, - 103, 105, 106, 107, 0, 58, 242, 21, 22, 16, - 156, 169, 202, 23, -2, 27, 2, 0, 0, 0, - 0, 0, 0, 0, 108, 138, 56, 0, 0, 0, - 0, 0, 0, 0, 29, 30, 0, 5, 7, 9, - 11, 13, 15, 104, 109, 111, 112, 113, 114, 115, - 125, 126, 127, 116, 117, 118, 119, 120, 121, 122, - 123, 124, 51, 52, 140, 141, 148, 149, 142, 151, - 152, 154, 153, 155, 0, 222, 227, 144, 0, 216, - 223, 228, 59, 63, 64, 65, 66, 67, 68, 69, - 70, 243, 17, 157, 170, 203, 24, 0, 28, 0, - 54, 0, 143, 150, 212, 215, 219, 224, 145, 147, - 0, 0, 0, 0, 0, 0, 0, 34, 31, 50, - 110, 131, 132, 133, -2, 139, 0, 53, 0, 0, - 0, 146, 217, 60, 244, 18, 158, 171, 204, -2, - 47, 128, 0, 55, 213, 102, 72, 73, 75, 77, - 79, 82, 85, 89, 0, 0, 0, 93, 94, 0, - 96, 97, 98, 99, 100, 101, 220, 225, 0, 0, - 163, -2, 0, 0, 0, 0, 33, 35, 37, 39, - 41, 43, 45, 0, 0, 240, 252, 253, 48, 129, - 230, 233, 234, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 90, 91, 92, 0, 0, 0, - 218, 61, -2, 19, 159, 163, 164, 167, 172, 205, - 210, 211, 26, 0, 0, 0, 0, 0, 0, 237, - 247, 255, 256, 268, 269, 270, 0, 0, 231, 0, - 214, 74, 76, 78, 80, 81, 83, 84, 86, 87, - 88, 95, 221, 226, 0, 162, 0, 0, 0, -2, - 0, 0, 0, 0, 207, 36, 38, 40, 42, 44, - 46, 0, 0, 49, 130, 232, 235, 62, 71, 246, - 20, 160, 165, 168, 173, 178, 179, 180, 181, 182, - 183, 142, 206, 208, 238, 248, 0, 0, 0, 0, - 0, 0, 236, 166, 174, 209, 239, 137, 249, -2, - 0, 134, 277, 0, 0, 175, 135, 250, 274, 258, - 0, 264, 265, 271, 272, 273, 0, 0, 281, 0, - 260, 261, 0, 176, 186, 187, 190, 194, 195, 197, - 136, 251, 278, 275, 262, 266, 0, -2, 0, 0, - 192, 0, 0, 0, 0, 0, 0, 177, 185, 188, - 200, 191, 193, 196, 198, 279, 0, 263, 267, 0, - 0, 0, 0, 276, 189, 201, 199, 0, 285, 280, - 282, 283, 0, 284 }; -typedef struct -#ifdef __cplusplus - yytoktype -#endif -{ char *t_name; int t_val; } yytoktype; -#ifndef YYDEBUG -# define YYDEBUG 1 /* allow debugging */ -#endif - -#if YYDEBUG - -yytoktype yytoks[] = -{ - {"IDENTIFIER", 257}, - {"IDL_CONST", 258}, - {"IDL_MODULE", 259}, - {"IDL_INTERFACE", 260}, - {"IDL_TYPEDEF", 261}, - {"IDL_LONG", 262}, - {"IDL_SHORT", 263}, - {"IDL_UNSIGNED", 264}, - {"IDL_DOUBLE", 265}, - {"IDL_FLOAT", 266}, - {"IDL_CHAR", 267}, - {"IDL_WCHAR", 268}, - {"IDL_OCTET", 269}, - {"IDL_BOOLEAN", 270}, - {"IDL_ANY", 271}, - {"IDL_STRUCT", 272}, - {"IDL_UNION", 273}, - {"IDL_SWITCH", 274}, - {"IDL_ENUM", 275}, - {"IDL_SEQUENCE", 276}, - {"IDL_STRING", 277}, - {"IDL_WSTRING", 278}, - {"IDL_EXCEPTION", 279}, - {"IDL_CASE", 280}, - {"IDL_DEFAULT", 281}, - {"IDL_READONLY", 282}, - {"IDL_ATTRIBUTE", 283}, - {"IDL_ONEWAY", 284}, - {"IDL_IDEMPOTENT", 285}, - {"IDL_VOID", 286}, - {"IDL_IN", 287}, - {"IDL_OUT", 288}, - {"IDL_INOUT", 289}, - {"IDL_RAISES", 290}, - {"IDL_CONTEXT", 291}, - {"IDL_NATIVE", 292}, - {"IDL_INTEGER_LITERAL", 293}, - {"IDL_STRING_LITERAL", 294}, - {"IDL_CHARACTER_LITERAL", 295}, - {"IDL_FLOATING_PT_LITERAL", 296}, - {"IDL_TRUETOK", 297}, - {"IDL_FALSETOK", 298}, - {"IDL_SCOPE_DELIMITOR", 299}, - {"IDL_LEFT_SHIFT", 300}, - {"IDL_RIGHT_SHIFT", 301}, - {"-unknown-", -1} /* ends search */ -}; - -char * yyreds[] = -{ - "-no such reduction-", - "start : definitions", - "definitions : definition definitions", - "definitions : /* empty */", - "definition : type_dcl", - "definition : type_dcl ';'", - "definition : const_dcl", - "definition : const_dcl ';'", - "definition : exception", - "definition : exception ';'", - "definition : interface_def", - "definition : interface_def ';'", - "definition : module", - "definition : module ';'", - "definition : error", - "definition : error ';'", - "module : IDL_MODULE", - "module : IDL_MODULE IDENTIFIER", - "module : IDL_MODULE IDENTIFIER '{'", - "module : IDL_MODULE IDENTIFIER '{' definitions", - "module : IDL_MODULE IDENTIFIER '{' definitions '}'", - "interface_def : interface", - "interface_def : forward", - "interface : interface_header", - "interface : interface_header '{'", - "interface : interface_header '{' exports", - "interface : interface_header '{' exports '}'", - "interface_decl : IDL_INTERFACE", - "interface_decl : IDL_INTERFACE id", - "interface_header : interface_decl inheritance_spec", - "inheritance_spec : ':'", - "inheritance_spec : ':' at_least_one_scoped_name", - "inheritance_spec : /* empty */", - "exports : exports export", - "exports : /* empty */", - "export : type_dcl", - "export : type_dcl ';'", - "export : const_dcl", - "export : const_dcl ';'", - "export : exception", - "export : exception ';'", - "export : attribute", - "export : attribute ';'", - "export : operation", - "export : operation ';'", - "export : error", - "export : error ';'", - "at_least_one_scoped_name : scoped_name scoped_names", - "scoped_names : scoped_names ','", - "scoped_names : scoped_names ',' scoped_name", - "scoped_names : /* empty */", - "scoped_name : id", - "scoped_name : IDL_SCOPE_DELIMITOR", - "scoped_name : IDL_SCOPE_DELIMITOR id", - "scoped_name : scoped_name IDL_SCOPE_DELIMITOR", - "scoped_name : scoped_name IDL_SCOPE_DELIMITOR id", - "id : IDENTIFIER", - "forward : interface_decl", - "const_dcl : IDL_CONST", - "const_dcl : IDL_CONST const_type", - "const_dcl : IDL_CONST const_type id", - "const_dcl : IDL_CONST const_type id '='", - "const_dcl : IDL_CONST const_type id '=' 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_STRING_LITERAL", - "literal : IDL_CHARACTER_LITERAL", - "literal : IDL_FLOATING_PT_LITERAL", - "literal : IDL_TRUETOK", - "literal : IDL_FALSETOK", - "positive_int_expr : const_expr", - "type_dcl : IDL_TYPEDEF", - "type_dcl : IDL_TYPEDEF type_declarator", - "type_dcl : struct_type", - "type_dcl : union_type", - "type_dcl : enum_type", - "type_dcl : IDL_NATIVE simple_declarator", - "type_declarator : type_spec", - "type_declarator : type_spec 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", - "declarators : declarators ','", - "declarators : declarators ',' declarator", - "declarators : /* empty */", - "declarator : simple_declarator", - "declarator : complex_declarator", - "at_least_one_simple_declarator : simple_declarator simple_declarators", - "simple_declarators : simple_declarators ','", - "simple_declarators : simple_declarators ',' simple_declarator", - "simple_declarators : /* empty */", - "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", - "struct_type : IDL_STRUCT", - "struct_type : IDL_STRUCT id", - "struct_type : IDL_STRUCT id '{'", - "struct_type : IDL_STRUCT id '{' at_least_one_member", - "struct_type : IDL_STRUCT id '{' at_least_one_member '}'", - "at_least_one_member : member members", - "members : members member", - "members : /* empty */", - "member : type_spec", - "member : type_spec at_least_one_declarator", - "member : type_spec at_least_one_declarator ';'", - "member : error", - "member : error ';'", - "union_type : IDL_UNION", - "union_type : IDL_UNION id", - "union_type : IDL_UNION id IDL_SWITCH", - "union_type : IDL_UNION id IDL_SWITCH '('", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')'", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')' '{'", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')' '{' at_least_one_case_branch", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')' '{' at_least_one_case_branch '}'", - "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 : /* empty */", - "case_branch : at_least_one_case_label", - "case_branch : at_least_one_case_label element_spec", - "case_branch : at_least_one_case_label element_spec ';'", - "case_branch : error", - "case_branch : error ';'", - "at_least_one_case_label : case_label case_labels", - "case_labels : case_labels case_label", - "case_labels : /* empty */", - "case_label : IDL_DEFAULT", - "case_label : IDL_DEFAULT ':'", - "case_label : IDL_CASE", - "case_label : IDL_CASE const_expr", - "case_label : IDL_CASE const_expr ':'", - "element_spec : type_spec", - "element_spec : type_spec declarator", - "enum_type : IDL_ENUM", - "enum_type : IDL_ENUM id", - "enum_type : IDL_ENUM id '{'", - "enum_type : IDL_ENUM id '{' at_least_one_enumerator", - "enum_type : IDL_ENUM id '{' at_least_one_enumerator '}'", - "at_least_one_enumerator : enumerator enumerators", - "enumerators : enumerators ','", - "enumerators : enumerators ',' enumerator", - "enumerators : /* empty */", - "enumerator : IDENTIFIER", - "sequence_type_spec : seq_head ','", - "sequence_type_spec : seq_head ',' positive_int_expr", - "sequence_type_spec : seq_head ',' positive_int_expr '>'", - "sequence_type_spec : seq_head '>'", - "seq_head : IDL_SEQUENCE", - "seq_head : IDL_SEQUENCE '<'", - "seq_head : IDL_SEQUENCE '<' simple_type_spec", - "string_type_spec : string_head '<'", - "string_type_spec : string_head '<' positive_int_expr", - "string_type_spec : string_head '<' positive_int_expr '>'", - "string_type_spec : string_head", - "string_head : IDL_STRING", - "wstring_type_spec : wstring_head '<'", - "wstring_type_spec : wstring_head '<' positive_int_expr", - "wstring_type_spec : wstring_head '<' positive_int_expr '>'", - "wstring_type_spec : wstring_head", - "wstring_head : IDL_WSTRING", - "array_declarator : id", - "array_declarator : id at_least_one_array_dim", - "at_least_one_array_dim : array_dim array_dims", - "array_dims : array_dims array_dim", - "array_dims : /* empty */", - "array_dim : '['", - "array_dim : '[' positive_int_expr", - "array_dim : '[' positive_int_expr ']'", - "attribute : opt_readonly IDL_ATTRIBUTE", - "attribute : opt_readonly IDL_ATTRIBUTE param_type_spec", - "attribute : opt_readonly IDL_ATTRIBUTE param_type_spec at_least_one_simple_declarator", - "opt_readonly : IDL_READONLY", - "opt_readonly : /* empty */", - "exception : IDL_EXCEPTION", - "exception : IDL_EXCEPTION id", - "exception : IDL_EXCEPTION id '{'", - "exception : IDL_EXCEPTION id '{' members", - "exception : IDL_EXCEPTION id '{' members '}'", - "operation : opt_op_attribute op_type_spec", - "operation : opt_op_attribute op_type_spec IDENTIFIER", - "operation : opt_op_attribute op_type_spec IDENTIFIER parameter_list", - "operation : opt_op_attribute op_type_spec IDENTIFIER parameter_list opt_raises", - "operation : opt_op_attribute op_type_spec IDENTIFIER parameter_list opt_raises opt_context", - "opt_op_attribute : IDL_ONEWAY", - "opt_op_attribute : IDL_IDEMPOTENT", - "opt_op_attribute : /* empty */", - "op_type_spec : param_type_spec", - "op_type_spec : IDL_VOID", - "parameter_list : '('", - "parameter_list : '(' ')'", - "parameter_list : '('", - "parameter_list : '(' at_least_one_parameter ')'", - "at_least_one_parameter : parameter parameters", - "parameters : parameters ','", - "parameters : parameters ',' parameter", - "parameters : /* empty */", - "parameter : direction", - "parameter : direction param_type_spec", - "parameter : direction param_type_spec 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", - "opt_raises : IDL_RAISES", - "opt_raises : IDL_RAISES '('", - "opt_raises : IDL_RAISES '(' at_least_one_scoped_name ')'", - "opt_raises : /* empty */", - "opt_context : IDL_CONTEXT", - "opt_context : IDL_CONTEXT '('", - "opt_context : IDL_CONTEXT '(' at_least_one_string_literal ')'", - "opt_context : /* empty */", - "at_least_one_string_literal : IDL_STRING_LITERAL string_literals", - "string_literals : string_literals ','", - "string_literals : string_literals ',' IDL_STRING_LITERAL", - "string_literals : /* empty */", -}; -#endif /* YYDEBUG */ -# line 1 "/usr/ccs/bin/yaccpar" -/* - * Copyright (c) 1993 by Sun Microsystems, Inc. - */ - -/* -** Skeleton parser driver for yacc output -*/ - -/* -** yacc user known macros and defines -*/ -#define YYERROR goto yyerrlab -#define YYACCEPT return(0) -#define YYABORT return(1) -#define YYBACKUP( newtoken, newvalue )\ -{\ - if ( yychar >= 0 || ( yyr2[ yytmp ] >> 1 ) != 1 )\ - {\ - yyerror( "syntax error - cannot backup" );\ - goto yyerrlab;\ - }\ - yychar = newtoken;\ - yystate = *yyps;\ - yylval = newvalue;\ - goto yynewstate;\ -} -#define YYRECOVERING() (!!yyerrflag) -#define YYNEW(type) malloc(sizeof(type) * yynewmax) -#define YYCOPY(to, from, type) \ - (type *) memcpy(to, (char *) from, yynewmax * sizeof(type)) -#define YYENLARGE( from, type) \ - (type *) realloc((char *) from, yynewmax * sizeof(type)) -#ifndef YYDEBUG -# define YYDEBUG 1 /* make debugging available */ -#endif - -/* -** user known globals -*/ -int yydebug; /* set to 1 to get debugging */ - -/* -** driver internal defines -*/ -#define YYFLAG (-10000000) - -/* -** global variables used by the parser -*/ -YYSTYPE *yypv; /* top of value stack */ -int *yyps; /* top of state stack */ - -int yystate; /* current state */ -int yytmp; /* extra var (lasts between blocks) */ - -int yynerrs; /* number of errors */ -int yyerrflag; /* error recovery flag */ -int yychar; /* current input token number */ - - - -#ifdef YYNMBCHARS -#define YYLEX() yycvtok(yylex()) -/* -** yycvtok - return a token if i is a wchar_t value that exceeds 255. -** If i<255, i itself is the token. If i>255 but the neither -** of the 30th or 31st bit is on, i is already a token. -*/ -#if defined(__STDC__) || defined(__cplusplus) -int yycvtok(int i) -#else -int yycvtok(i) int i; -#endif -{ - int first = 0; - int last = YYNMBCHARS - 1; - int mid; - wchar_t j; - - if(i&0x60000000){/*Must convert to a token. */ - if( yymbchars[last].character < i ){ - return i;/*Giving up*/ - } - while ((last>=first)&&(first>=0)) {/*Binary search loop*/ - mid = (first+last)/2; - j = yymbchars[mid].character; - if( j==i ){/*Found*/ - return yymbchars[mid].tvalue; - }else if( j= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val == yychar ) - break; - } - printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( ++yy_ps >= &yys[ yymaxdepth ] ) /* room on stack? */ - { - /* - ** reallocate and recover. Note that pointers - ** have to be reset, or bad things will happen - */ - int yyps_index = (yy_ps - yys); - int yypv_index = (yy_pv - yyv); - int yypvt_index = (yypvt - yyv); - int yynewmax; -#ifdef YYEXPAND - yynewmax = YYEXPAND(yymaxdepth); -#else - yynewmax = 2 * yymaxdepth; /* double table size */ - if (yymaxdepth == YYMAXDEPTH) /* first time growth */ - { - char *newyys = (char *)YYNEW(int); - char *newyyv = (char *)YYNEW(YYSTYPE); - if (newyys != 0 && newyyv != 0) - { - yys = YYCOPY(newyys, yys, int); - yyv = YYCOPY(newyyv, yyv, YYSTYPE); - } - else - yynewmax = 0; /* failed */ - } - else /* not first time */ - { - yys = YYENLARGE(yys, int); - yyv = YYENLARGE(yyv, YYSTYPE); - if (yys == 0 || yyv == 0) - yynewmax = 0; /* failed */ - } -#endif - if (yynewmax <= yymaxdepth) /* tables not expanded */ - { - yyerror( "yacc stack overflow" ); - YYABORT; - } - yymaxdepth = yynewmax; - - yy_ps = yys + yyps_index; - yy_pv = yyv + yypv_index; - yypvt = yyv + yypvt_index; - } - *yy_ps = yy_state; - *++yy_pv = yyval; - - /* - ** we have a new state - find out what to do - */ - yy_newstate: - if ( ( yy_n = yypact[ yy_state ] ) <= YYFLAG ) - goto yydefault; /* simple state */ -#if YYDEBUG - /* - ** if debugging, need to mark whether new token grabbed - */ - yytmp = yychar < 0; -#endif - if ( ( yychar < 0 ) && ( ( yychar = YYLEX() ) < 0 ) ) - yychar = 0; /* reached EOF */ -#if YYDEBUG - if ( yydebug && yytmp ) - { - register int yy_i; - - printf( "Received token " ); - if ( yychar == 0 ) - printf( "end-of-file\n" ); - else if ( yychar < 0 ) - printf( "-none-\n" ); - else - { - for ( yy_i = 0; yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val == yychar ) - break; - } - printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( ( ( yy_n += yychar ) < 0 ) || ( yy_n >= YYLAST ) ) - goto yydefault; - if ( yychk[ yy_n = yyact[ yy_n ] ] == yychar ) /*valid shift*/ - { - yychar = -1; - yyval = yylval; - yy_state = yy_n; - if ( yyerrflag > 0 ) - yyerrflag--; - goto yy_stack; - } - - yydefault: - if ( ( yy_n = yydef[ yy_state ] ) == -2 ) - { -#if YYDEBUG - yytmp = yychar < 0; -#endif - if ( ( yychar < 0 ) && ( ( yychar = YYLEX() ) < 0 ) ) - yychar = 0; /* reached EOF */ -#if YYDEBUG - if ( yydebug && yytmp ) - { - register int yy_i; - - printf( "Received token " ); - if ( yychar == 0 ) - printf( "end-of-file\n" ); - else if ( yychar < 0 ) - printf( "-none-\n" ); - else - { - for ( yy_i = 0; - yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val - == yychar ) - { - break; - } - } - printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - /* - ** look through exception table - */ - { - register int *yyxi = yyexca; - - while ( ( *yyxi != -1 ) || - ( yyxi[1] != yy_state ) ) - { - yyxi += 2; - } - while ( ( *(yyxi += 2) >= 0 ) && - ( *yyxi != yychar ) ) - ; - if ( ( yy_n = yyxi[1] ) < 0 ) - YYACCEPT; - } - } - - /* - ** check for syntax error - */ - if ( yy_n == 0 ) /* have an error */ - { - /* no worry about speed here! */ - switch ( yyerrflag ) - { - case 0: /* new error */ - yyerror( "syntax error" ); - goto skip_init; - yyerrlab: - /* - ** get globals into registers. - ** we have a user generated syntax type error - */ - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; - skip_init: - yynerrs++; - /* FALLTHRU */ - case 1: - case 2: /* incompletely recovered error */ - /* try again... */ - yyerrflag = 3; - /* - ** find state where "error" is a legal - ** shift action - */ - while ( yy_ps >= yys ) - { - yy_n = yypact[ *yy_ps ] + YYERRCODE; - if ( yy_n >= 0 && yy_n < YYLAST && - yychk[yyact[yy_n]] == YYERRCODE) { - /* - ** simulate shift of "error" - */ - yy_state = yyact[ yy_n ]; - goto yy_stack; - } - /* - ** current state has no shift on - ** "error", pop stack - */ -#if YYDEBUG -# define _POP_ "Error recovery pops state %d, uncovers state %d\n" - if ( yydebug ) - printf( _POP_, *yy_ps, - yy_ps[-1] ); -# undef _POP_ -#endif - yy_ps--; - yy_pv--; - } - /* - ** there is no state on stack with "error" as - ** a valid shift. give up. - */ - YYABORT; - case 3: /* no shift yet; eat a token */ -#if YYDEBUG - /* - ** if debugging, look up token in list of - ** pairs. 0 and negative shouldn't occur, - ** but since timing doesn't matter when - ** debugging, it doesn't hurt to leave the - ** tests here. - */ - if ( yydebug ) - { - register int yy_i; - - printf( "Error recovery discards " ); - if ( yychar == 0 ) - printf( "token end-of-file\n" ); - else if ( yychar < 0 ) - printf( "token -none-\n" ); - else - { - for ( yy_i = 0; - yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val - == yychar ) - { - break; - } - } - printf( "token %s\n", - yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( yychar == 0 ) /* reached EOF. quit */ - YYABORT; - yychar = -1; - goto yy_newstate; - } - }/* end if ( yy_n == 0 ) */ - /* - ** reduction by production yy_n - ** put stack tops, etc. so things right after switch - */ -#if YYDEBUG - /* - ** if debugging, print the string that is the user's - ** specification of the reduction which is just about - ** to be done. - */ - if ( yydebug ) - printf( "Reduce by (%d) \"%s\"\n", - yy_n, yyreds[ yy_n ] ); -#endif - yytmp = yy_n; /* value to switch over */ - yypvt = yy_pv; /* $vars top of value stack */ - /* - ** Look in goto table for next state - ** Sorry about using yy_state here as temporary - ** register variable, but why not, if it works... - ** If yyr2[ yy_n ] doesn't have the low order bit - ** set, then there is no action to be done for - ** this reduction. So, no saving & unsaving of - ** registers done. The only difference between the - ** code just after the if and the body of the if is - ** the goto yy_stack in the body. This way the test - ** can be made before the choice of what to do is needed. - */ - { - /* length of production doubled with extra bit */ - register int yy_len = yyr2[ yy_n ]; - - if ( !( yy_len & 01 ) ) - { - yy_len >>= 1; - yyval = ( yy_pv -= yy_len )[1]; /* $$ = $1 */ - yy_state = yypgo[ yy_n = yyr1[ yy_n ] ] + - *( yy_ps -= yy_len ) + 1; - if ( yy_state >= YYLAST || - yychk[ yy_state = - yyact[ yy_state ] ] != -yy_n ) - { - yy_state = yyact[ yypgo[ yy_n ] ]; - } - goto yy_stack; - } - yy_len >>= 1; - yyval = ( yy_pv -= yy_len )[1]; /* $$ = $1 */ - yy_state = yypgo[ yy_n = yyr1[ yy_n ] ] + - *( yy_ps -= yy_len ) + 1; - if ( yy_state >= YYLAST || - yychk[ yy_state = yyact[ yy_state ] ] != -yy_n ) - { - yy_state = yyact[ yypgo[ yy_n ] ]; - } - } - /* save until reenter driver code */ - yystate = yy_state; - yyps = yy_ps; - yypv = yy_pv; - } - /* - ** code supplied by user is placed in this switch - */ - switch( yytmp ) - { - -case 4: -# line 240 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } break; -case 5: -# line 244 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 6: -# line 248 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } break; -case 7: -# line 252 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 8: -# line 256 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } break; -case 9: -# line 260 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 10: -# line 264 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceDeclSeen); - } break; -case 11: -# line 268 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 12: -# line 272 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleDeclSeen); - } break; -case 13: -# line 276 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 14: -# line 280 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 15: -# line 284 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 16: -# line 291 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSeen); - } break; -case 17: -# line 295 "idl.yy" -{ - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(yypvt[-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 18: -# line 316 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSqSeen); - } break; -case 19: -# line 320 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleBodySeen); - } break; -case 20: -# line 324 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleQsSeen); - /* - * Finished with this module - pop it from the scope stack - */ - idl_global->scopes()->pop(); - } break; -case 23: -# line 340 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *d = NULL; - AST_Interface *fd = NULL; - - ACE_UNUSED_ARG (v); - - /* - * Make a new interface node and add it to its enclosing scope - */ - if (s != NULL && yypvt[-0].ihval != NULL) { - i = idl_global->gen()->create_interface(yypvt[-0].ihval->interface_name(), - yypvt[-0].ihval->inherits(), - yypvt[-0].ihval->n_inherits(), - p); - 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? - */ - } - /* - * If it is a forward declared interface.. - */ - else if (!fd->is_defined()) { - /* - * Check if redefining in same scope - */ - if (fd->defined_in() != s) { - idl_global->err() - ->error3(UTL_Error::EIDL_SCOPE_CONFLICT, - i, - fd, - ScopeAsDecl(s)); - } - /* - * All OK, do the redefinition - */ - else { - fd->set_inherits(yypvt[-0].ihval->inherits()); - fd->set_n_inherits(yypvt[-0].ihval->n_inherits()); - /* - * Update place of definition - */ - fd->set_imported(idl_global->imported()); - fd->set_in_main_file(idl_global->in_main_file()); - fd->set_line(idl_global->lineno()); - fd->set_file_name(idl_global->filename()); - fd->add_pragmas(p); - /* - * Use full definition node - */ - delete i; - i = fd; - } - } - } - } - /* - * 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 24: -# line 424 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } break; -case 25: -# line 428 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } break; -case 26: -# line 432 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - idl_global->scopes()->pop(); - } break; -case 27: -# line 443 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSeen); - } break; -case 28: -# line 447 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceIDSeen); - yyval.idval = yypvt[-0].idval; - } break; -case 29: -# line 455 "idl.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 - */ - yyval.ihval = new FE_InterfaceHeader(new UTL_ScopedName(yypvt[-1].idval, NULL), yypvt[-0].nlval); - } break; -case 30: -# line 469 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InheritColonSeen); - } break; -case 31: -# line 473 "idl.yy" -{ - yyval.nlval = yypvt[-0].nlval; - } break; -case 32: -# line 477 "idl.yy" -{ - yyval.nlval = NULL; - } break; -case 35: -# line 489 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } break; -case 36: -# line 493 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 37: -# line 497 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } break; -case 38: -# line 501 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 39: -# line 505 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } break; -case 40: -# line 509 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 41: -# line 513 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrDeclSeen); - } break; -case 42: -# line 517 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 43: -# line 521 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpDeclSeen); - } break; -case 44: -# line 525 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 45: -# line 529 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 46: -# line 533 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 47: -# line 541 "idl.yy" -{ - yyval.nlval = new UTL_NameList(yypvt[-1].idlist, yypvt[-0].nlval); - } break; -case 48: -# line 549 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SNListCommaSeen); - } break; -case 49: -# line 553 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopedNameSeen); - - if (yypvt[-3].nlval == NULL) - yyval.nlval = new UTL_NameList(yypvt[-0].idlist, NULL); - else { - yypvt[-3].nlval->nconc(new UTL_NameList(yypvt[-0].idlist, NULL)); - yyval.nlval = yypvt[-3].nlval; - } - } break; -case 50: -# line 564 "idl.yy" -{ - yyval.nlval = NULL; - } break; -case 51: -# line 571 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - yyval.idlist = new UTL_IdList(yypvt[-0].idval, NULL); - } break; -case 52: -# line 577 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } break; -case 53: -# line 581 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - yyval.idlist = new UTL_IdList(new Identifier(yypvt[-2].strval, 1, 0, I_FALSE), - new UTL_IdList(yypvt[-0].idval, NULL)); - } break; -case 54: -# line 589 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } break; -case 55: -# line 593 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - yypvt[-3].idlist->nconc(new UTL_IdList(yypvt[-0].idval, NULL)); - yyval.idlist = yypvt[-3].idlist; - } break; -case 56: -# line 602 "idl.yy" -{ - yyval.idval = new Identifier(yypvt[-0].strval, 1, 0, I_FALSE); - } break; -case 57: -# line 609 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-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 58: -# line 629 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstSeen); - } break; -case 59: -# line 633 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstTypeSeen); - } break; -case 60: -# line 637 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstIDSeen); - } break; -case 61: -# line 641 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstAssignSeen); - } break; -case 62: -# line 645 "idl.yy" -{ - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-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 (yypvt[-0].exval != NULL && s != NULL) { - if (yypvt[-0].exval->coerce(yypvt[-6].etval) == NULL) - idl_global->err()->coercion_error(yypvt[-0].exval, yypvt[-6].etval); - else { - c = - idl_global->gen()->create_constant(yypvt[-6].etval, yypvt[-0].exval, n, p); - (void) s->fe_add_constant(c); - } - } - } break; -case 68: -# line 678 "idl.yy" -{ - yyval.etval = AST_Expression::EV_string; - } break; -case 69: -# line 682 "idl.yy" -{ - yyval.etval = AST_Expression::EV_wstring; - } break; -case 70: -# line 686 "idl.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(yypvt[-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) - 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) { - yyval.etval = idl_global->PredefinedTypeToExprType(c->pt()); - } else { - yyval.etval = AST_Expression::EV_any; - } - } else - yyval.etval = AST_Expression::EV_any; - } else - yyval.etval = AST_Expression::EV_any; - } break; -case 74: -# line 728 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_or, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 76: -# line 736 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_xor, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 78: -# line 744 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_and, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 80: -# line 752 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_right,yypvt[-2].exval,yypvt[-0].exval); - } break; -case 81: -# line 756 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_left,yypvt[-2].exval,yypvt[-0].exval); - } break; -case 83: -# line 764 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_add, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 84: -# line 768 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_minus,yypvt[-2].exval,yypvt[-0].exval); - } break; -case 86: -# line 776 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_mul, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 87: -# line 780 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_div, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 88: -# line 784 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_mod, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 90: -# line 792 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_u_plus, - yypvt[-0].exval, - NULL); - } break; -case 91: -# line 798 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_u_minus, - yypvt[-0].exval, - NULL); - } break; -case 92: -# line 804 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_bit_neg, - yypvt[-0].exval, - NULL); - } break; -case 93: -# line 813 "idl.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) - */ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].idlist); - } break; -case 95: -# line 823 "idl.yy" -{ - yyval.exval = yypvt[-1].exval; - } break; -case 96: -# line 830 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].ival); - } break; -case 97: -# line 834 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].sval); - } break; -case 98: -# line 838 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].cval); - } break; -case 99: -# line 842 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].dval); - } break; -case 100: -# line 846 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr((idl_bool) I_TRUE, - AST_Expression::EV_bool); - } break; -case 101: -# line 851 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr((idl_bool) I_FALSE, - AST_Expression::EV_bool); - } break; -case 102: -# line 859 "idl.yy" -{ - yypvt[-0].exval->evaluate(AST_Expression::EK_const); - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].exval, AST_Expression::EV_ulong); - } break; -case 103: -# line 867 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypedefSeen); - } break; -case 104: -# line 870 "idl.yy" -{yyval.ival = 0;} break; -case 105: -# line 871 "idl.yy" -{ yyval.ival = 0;} break; -case 106: -# line 872 "idl.yy" -{ yyval.ival = 0;} break; -case 107: -# line 873 "idl.yy" -{ yyval.ival = 0;} break; -case 108: -# line 875 "idl.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 (yypvt[-0].deval->name (), p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_native (node); - } - } break; -case 109: -# line 900 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeSpecSeen); - } break; -case 110: -# line 904 "idl.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 && yypvt[-2].dcval != NULL && yypvt[-0].dlval != NULL) { - l = new UTL_DecllistActiveIterator(yypvt[-0].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type * tp = d->compose(yypvt[-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 113: -# line 943 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 115: -# line 948 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name(yypvt[-0].idlist, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error(yypvt[-0].idlist); - yyval.dcval = d; - } break; -case 128: -# line 983 "idl.yy" -{ - yyval.dlval = new UTL_DeclList(yypvt[-1].deval, yypvt[-0].dlval); - } break; -case 129: -# line 991 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } break; -case 130: -# line 995 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if (yypvt[-3].dlval == NULL) - yyval.dlval = new UTL_DeclList(yypvt[-0].deval, NULL); - else { - yypvt[-3].dlval->nconc(new UTL_DeclList(yypvt[-0].deval, NULL)); - yyval.dlval = yypvt[-3].dlval; - } - } break; -case 131: -# line 1006 "idl.yy" -{ - yyval.dlval = NULL; - } break; -case 134: -# line 1018 "idl.yy" -{ - yyval.dlval = new UTL_DeclList(yypvt[-1].deval, yypvt[-0].dlval); - } break; -case 135: -# line 1026 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } break; -case 136: -# line 1030 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if (yypvt[-3].dlval == NULL) - yyval.dlval = new UTL_DeclList(yypvt[-0].deval, NULL); - else { - yypvt[-3].dlval->nconc(new UTL_DeclList(yypvt[-0].deval, NULL)); - yyval.dlval = yypvt[-3].dlval; - } - } break; -case 137: -# line 1041 "idl.yy" -{ - yyval.dlval = NULL; - } break; -case 138: -# line 1048 "idl.yy" -{ - yyval.deval = new FE_Declarator(new UTL_ScopedName(yypvt[-0].idval, NULL), - FE_Declarator::FD_simple, NULL); - } break; -case 139: -# line 1056 "idl.yy" -{ - yyval.deval = new FE_Declarator(new UTL_ScopedName(yypvt[-0].dcval->local_name(), NULL), - FE_Declarator::FD_complex, - yypvt[-0].dcval); - } break; -case 142: -# line 1070 "idl.yy" -{ - yyval.etval = AST_Expression::EV_long; - } break; -case 143: -# line 1074 "idl.yy" -{ - yyval.etval = AST_Expression::EV_longlong; - } break; -case 144: -# line 1078 "idl.yy" -{ - yyval.etval = AST_Expression::EV_short; - } break; -case 145: -# line 1085 "idl.yy" -{ - yyval.etval = AST_Expression::EV_ulong; - } break; -case 146: -# line 1089 "idl.yy" -{ - yyval.etval = AST_Expression::EV_ulonglong; - } break; -case 147: -# line 1093 "idl.yy" -{ - yyval.etval = AST_Expression::EV_ushort; - } break; -case 148: -# line 1100 "idl.yy" -{ - yyval.etval = AST_Expression::EV_double; - } break; -case 149: -# line 1104 "idl.yy" -{ - yyval.etval = AST_Expression::EV_float; - } break; -case 150: -# line 1108 "idl.yy" -{ - yyval.etval = AST_Expression::EV_longdouble; - } break; -case 151: -# line 1115 "idl.yy" -{ - yyval.etval = AST_Expression::EV_char; - } break; -case 152: -# line 1119 "idl.yy" -{ - yyval.etval = AST_Expression::EV_wchar; - } break; -case 153: -# line 1126 "idl.yy" -{ - yyval.etval = AST_Expression::EV_octet; - } break; -case 154: -# line 1133 "idl.yy" -{ - yyval.etval = AST_Expression::EV_bool; - } break; -case 155: -# line 1140 "idl.yy" -{ - yyval.etval = AST_Expression::EV_any; - } break; -case 156: -# line 1147 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructSeen); - } break; -case 157: -# line 1151 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-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 158: -# line 1175 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructSqSeen); - } break; -case 159: -# line 1179 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructBodySeen); - } break; -case 160: -# line 1183 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructQsSeen); - /* - * Done with this struct. Pop its scope off the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = - AST_Structure::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } break; -case 164: -# line 1208 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_MemberTypeSeen); - } break; -case 165: -# line 1212 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsSeen); - } break; -case 166: -# line 1216 "idl.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 (yypvt[-4].dcval != NULL && AST_illegal_recursive_type(yypvt[-4].dcval)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, yypvt[-4].dcval); - /* - * Create a node representing a struct or exception member - * Add it to the enclosing scope - */ - else if (s != NULL && yypvt[-4].dcval != NULL && yypvt[-2].dlval != NULL) { - l = new UTL_DecllistActiveIterator(yypvt[-2].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose(yypvt[-4].dcval); - if (tp == NULL) - continue; - f = idl_global->gen()->create_field(tp, d->name(), p); - (void) s->fe_add_field(f); - } - delete l; - } - } break; -case 167: -# line 1249 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 168: -# line 1253 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 169: -# line 1261 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSeen); - } break; -case 170: -# line 1265 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionIDSeen); - } break; -case 171: -# line 1269 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchSeen); - } break; -case 172: -# line 1273 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchOpenParSeen); - } break; -case 173: -# line 1277 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchTypeSeen); - } break; -case 174: -# line 1281 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-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 (yypvt[-2].dcval != NULL && s != NULL) { - AST_ConcreteType *tp = AST_ConcreteType::narrow_from_decl(yypvt[-2].dcval); - if (tp == NULL) { - idl_global->err()->not_a_type(yypvt[-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 175: -# line 1310 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSqSeen); - } break; -case 176: -# line 1314 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionBodySeen); - } break; -case 177: -# line 1318 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionQsSeen); - /* - * Done with this union. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = - AST_Union::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } break; -case 178: -# line 1336 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 179: -# line 1340 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 180: -# line 1344 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 181: -# line 1348 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 183: -# line 1353 "idl.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(yypvt[-0].idlist, I_TRUE)) != NULL) { - while (!found) { - switch (d->node_type()) { - case AST_Decl::NT_enum: - 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_octet: - case AST_PredefinedType::PT_boolean: - yyval.dcval = p; - found = I_TRUE; - break; - default: - yyval.dcval = NULL; - found = I_TRUE; - break; - } - } - break; - case AST_Decl::NT_typedef: - t = AST_Typedef::narrow_from_decl(d); - if (t != NULL) d = t->base_type(); - break; - default: - yyval.dcval = NULL; - found = I_TRUE; - break; - } - } - } else - yyval.dcval = NULL; - - if (yyval.dcval == NULL) - idl_global->err()->lookup_error(yypvt[-0].idlist); - } break; -case 187: -# line 1423 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionLabelSeen); - } break; -case 188: -# line 1427 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemSeen); - } break; -case 189: -# line 1431 "idl.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 = yypvt[-2].ffval; - - 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 && yypvt[-4].llval != NULL && yypvt[-2].ffval != NULL) { - l = new UTL_LabellistActiveIterator(yypvt[-4].llval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - b = idl_global->gen()->create_union_branch(d, - f->field_type(), - f->name(), - f->pragmas()); - (void) s->fe_add_union_branch(b); - } - delete l; - } - } break; -case 190: -# line 1459 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 191: -# line 1464 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 192: -# line 1472 "idl.yy" -{ - yyval.llval = new UTL_LabelList(yypvt[-1].ulval, yypvt[-0].llval); - } break; -case 193: -# line 1479 "idl.yy" -{ - if (yypvt[-1].llval == NULL) - yyval.llval = new UTL_LabelList(yypvt[-0].ulval, NULL); - else { - yypvt[-1].llval->nconc(new UTL_LabelList(yypvt[-0].ulval, NULL)); - yyval.llval = yypvt[-1].llval; - } - } break; -case 194: -# line 1488 "idl.yy" -{ - yyval.llval = NULL; - } break; -case 195: -# line 1495 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DefaultSeen); - } break; -case 196: -# line 1499 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - yyval.ulval = idl_global->gen()-> - create_union_label(AST_UnionLabel::UL_default, - NULL); - } break; -case 197: -# line 1507 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_CaseSeen); - } break; -case 198: -# line 1511 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelExprSeen); - } break; -case 199: -# line 1515 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - yyval.ulval = idl_global->gen()->create_union_label(AST_UnionLabel::UL_label, - yypvt[-2].exval); - } break; -case 200: -# line 1525 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemTypeSeen); - } break; -case 201: -# line 1529 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemDeclSeen); - /* - * Check for illegal recursive use of type - */ - if (yypvt[-2].dcval != NULL && AST_illegal_recursive_type(yypvt[-2].dcval)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, yypvt[-2].dcval); - /* - * Create a field in a union branch - */ - else if (yypvt[-2].dcval == NULL || yypvt[-0].deval == NULL) - yyval.ffval = NULL; - else { - AST_Type *tp = yypvt[-0].deval->compose(yypvt[-2].dcval); - if (tp == NULL) - yyval.ffval = NULL; - else - yyval.ffval = idl_global->gen()->create_field(tp, - yypvt[-0].deval->name(), - idl_global->pragmas()); - } - } break; -case 202: -# line 1555 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSeen); - } break; -case 203: -# line 1559 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-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 204: -# line 1586 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSqSeen); - } break; -case 205: -# line 1590 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumBodySeen); - } break; -case 206: -# line 1594 "idl.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) - yyval.dcval = NULL; - else { - yyval.dcval = AST_Enum::narrow_from_scope(idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } break; -case 208: -# line 1613 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumCommaSeen); - } break; -case 211: -# line 1622 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(yypvt[-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 212: -# line 1646 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceCommaSeen); - } break; -case 213: -# line 1650 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceExprSeen); - } break; -case 214: -# line 1654 "idl.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 (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.dcval = NULL; - } else if (yypvt[-5].dcval == NULL) { - yyval.dcval = NULL; - } else { - AST_Type *tp = AST_Type::narrow_from_decl(yypvt[-5].dcval); - if (tp == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = idl_global->gen()->create_sequence(yypvt[-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(yyval.dcval)); - } - } - } break; -case 215: -# line 1685 "idl.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 (yypvt[-1].dcval == NULL) - yyval.dcval = NULL; - else { - AST_Type *tp = AST_Type::narrow_from_decl(yypvt[-1].dcval); - if (tp == NULL) - yyval.dcval = NULL; - else { - 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(yyval.dcval)); - } - } - } break; -case 216: -# line 1718 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSeen); - /* - * Push a sequence marker on scopes stack - */ - idl_global->scopes()->push(NULL); - } break; -case 217: -# line 1726 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSqSeen); - } break; -case 218: -# line 1730 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceTypeSeen); - yyval.dcval = yypvt[-0].dcval; - } break; -case 219: -# line 1739 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } break; -case 220: -# line 1743 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } break; -case 221: -# line 1747 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.dcval = NULL; - } else { - yyval.dcval = idl_global->gen()->create_string(yypvt[-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(yyval.dcval)); - } - } break; -case 222: -# line 1765 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - 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(yyval.dcval)); - } break; -case 223: -# line 1783 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } break; -case 224: -# line 1791 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } break; -case 225: -# line 1795 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } break; -case 226: -# line 1799 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.dcval = NULL; - } else { - yyval.dcval = idl_global->gen()->create_wstring(yypvt[-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(yyval.dcval)); - } - } break; -case 227: -# line 1817 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - 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(yyval.dcval)); - } break; -case 228: -# line 1835 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } break; -case 229: -# line 1842 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayIDSeen); - } break; -case 230: -# line 1846 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayCompleted); - /* - * Create a node representing an array - */ - if (yypvt[-0].elval != NULL) { - yyval.dcval = idl_global->gen()->create_array(new UTL_ScopedName(yypvt[-2].idval, NULL), - yypvt[-0].elval->length(), yypvt[-0].elval); - } - } break; -case 231: -# line 1860 "idl.yy" -{ - yyval.elval = new UTL_ExprList(yypvt[-1].exval, yypvt[-0].elval); - } break; -case 232: -# line 1867 "idl.yy" -{ - if (yypvt[-1].elval == NULL) - yyval.elval = new UTL_ExprList(yypvt[-0].exval, NULL); - else { - yypvt[-1].elval->nconc(new UTL_ExprList(yypvt[-0].exval, NULL)); - yyval.elval = yypvt[-1].elval; - } - } break; -case 233: -# line 1876 "idl.yy" -{ - yyval.elval = NULL; - } break; -case 234: -# line 1883 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimSqSeen); - } break; -case 235: -# line 1887 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimExprSeen); - } break; -case 236: -# line 1891 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimQsSeen); - /* - * Array dimensions are expressions which must be coerced to - * positive integers - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.exval = NULL; - } else - yyval.exval = yypvt[-2].exval; - } break; -case 237: -# line 1908 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrSeen); - } break; -case 238: -# line 1912 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrTypeSeen); - } break; -case 239: -# line 1916 "idl.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 && yypvt[-2].dcval != NULL && yypvt[-0].dlval != NULL) { - l = new UTL_DecllistActiveIterator(yypvt[-0].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose(yypvt[-2].dcval); - if (tp == NULL) - continue; - a = idl_global->gen()->create_attribute(yypvt[-5].bval, tp, d->name(), p); - /* - * Add one attribute to the enclosing scope - */ - (void) s->fe_add_attribute(a); - } - delete l; - } - } break; -case 240: -# line 1950 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrROSeen); - yyval.bval = I_TRUE; - } break; -case 241: -# line 1955 "idl.yy" -{ - yyval.bval = I_FALSE; - } break; -case 242: -# line 1962 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSeen); - } break; -case 243: -# line 1966 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-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 244: -# line 1990 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSqSeen); - } break; -case 245: -# line 1994 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptBodySeen); - } break; -case 246: -# line 1998 "idl.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 247: -# line 2010 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpTypeSeen); - } break; -case 248: -# line 2014 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(yypvt[-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 && yypvt[-2].dcval != NULL) { - AST_Type *tp = AST_Type::narrow_from_decl(yypvt[-2].dcval); - if (tp == NULL) { - idl_global->err()->not_a_type(yypvt[-2].dcval); - } else if (tp->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type(yypvt[-2].dcval); - } else { - o = idl_global->gen()->create_operation(tp, yypvt[-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 249: -# line 2043 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParsCompleted); - } break; -case 250: -# line 2047 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseCompleted); - } break; -case 251: -# line 2051 "idl.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 (yypvt[-2].nlval != NULL && o != NULL) - (void) o->fe_add_exceptions(yypvt[-2].nlval); - if (yypvt[-0].slval != NULL) - (void) o->fe_add_context(yypvt[-0].slval); - } - /* - * Done with this operation. Pop its scope from the scopes stack - */ - idl_global->scopes()->pop(); - } break; -case 252: -# line 2076 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - yyval.ofval = AST_Operation::OP_oneway; - } break; -case 253: -# line 2081 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - yyval.ofval = AST_Operation::OP_idempotent; - } break; -case 254: -# line 2086 "idl.yy" -{ - yyval.ofval = AST_Operation::OP_noflags; - } break; -case 256: -# line 2094 "idl.yy" -{ - yyval.dcval = - idl_global->scopes()->bottom() - ->lookup_primitive_type(AST_Expression::EV_void); - } break; -case 257: -# line 2103 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } break; -case 258: -# line 2107 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } break; -case 259: -# line 2111 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } break; -case 260: -# line 2116 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } break; -case 262: -# line 2126 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParCommaSeen); - } break; -case 265: -# line 2135 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDirSeen); - } break; -case 266: -# line 2139 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParTypeSeen); - } break; -case 267: -# line 2143 "idl.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 (yypvt[-2].dcval != NULL && yypvt[-0].deval != NULL && s != NULL) { - AST_Type *tp = yypvt[-0].deval->compose(yypvt[-2].dcval); - if (tp != NULL) { - a = idl_global->gen()->create_argument(yypvt[-4].dival, tp, yypvt[-0].deval->name(), p); - (void) s->fe_add_argument(a); - } - } - } break; -case 268: -# line 2165 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 270: -# line 2170 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name(yypvt[-0].idlist, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error(yypvt[-0].idlist); - yyval.dcval = d; - } break; -case 271: -# line 2184 "idl.yy" -{ - yyval.dival = AST_Argument::dir_IN; - } break; -case 272: -# line 2188 "idl.yy" -{ - yyval.dival = AST_Argument::dir_OUT; - } break; -case 273: -# line 2192 "idl.yy" -{ - yyval.dival = AST_Argument::dir_INOUT; - } break; -case 274: -# line 2199 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSeen); - } break; -case 275: -# line 2203 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSqSeen); - } break; -case 276: -# line 2208 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseQsSeen); - yyval.nlval = yypvt[-1].nlval; - } break; -case 277: -# line 2213 "idl.yy" -{ - yyval.nlval = NULL; - } break; -case 278: -# line 2220 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSeen); - } break; -case 279: -# line 2224 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSqSeen); - } break; -case 280: -# line 2229 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextQsSeen); - yyval.slval = yypvt[-1].slval; - } break; -case 281: -# line 2234 "idl.yy" -{ - yyval.slval = NULL; - } break; -case 282: -# line 2241 "idl.yy" -{ - yyval.slval = new UTL_StrList(yypvt[-1].sval, yypvt[-0].slval); - } break; -case 283: -# line 2249 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextCommaSeen); - } break; -case 284: -# line 2253 "idl.yy" -{ - if (yypvt[-3].slval == NULL) - yyval.slval = new UTL_StrList(yypvt[-0].sval, NULL); - else { - yypvt[-3].slval->nconc(new UTL_StrList(yypvt[-0].sval, NULL)); - yyval.slval = yypvt[-3].slval; - } - } break; -case 285: -# line 2262 "idl.yy" -{ - yyval.slval = NULL; - } break; -# line 532 "/usr/ccs/bin/yaccpar" - } - goto yystack; /* reset registers in driver code */ -} - 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 8f29bff9c8b..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.cpp.diff +++ /dev/null @@ -1,127 +0,0 @@ ---- y.tab.cpp.orig Fri Jan 23 11:09:05 1998 -+++ y.tab.cpp Fri Jan 23 11:08:33 1998 -@@ -97,13 +97,13 @@ - - #ifdef __STDC__ - #include --#include -+// #include - #else - #include - #include - #endif - --#include -+// #include - - #ifdef __cplusplus - -@@ -494,52 +494,52 @@ - - yytoktype yytoks[] = - { -- "IDENTIFIER", 257, -- "IDL_CONST", 258, -- "IDL_MODULE", 259, -- "IDL_INTERFACE", 260, -- "IDL_TYPEDEF", 261, -- "IDL_LONG", 262, -- "IDL_SHORT", 263, -- "IDL_UNSIGNED", 264, -- "IDL_DOUBLE", 265, -- "IDL_FLOAT", 266, -- "IDL_CHAR", 267, -- "IDL_WCHAR", 268, -- "IDL_OCTET", 269, -- "IDL_BOOLEAN", 270, -- "IDL_ANY", 271, -- "IDL_STRUCT", 272, -- "IDL_UNION", 273, -- "IDL_SWITCH", 274, -- "IDL_ENUM", 275, -- "IDL_SEQUENCE", 276, -- "IDL_STRING", 277, -- "IDL_WSTRING", 278, -- "IDL_EXCEPTION", 279, -- "IDL_CASE", 280, -- "IDL_DEFAULT", 281, -- "IDL_READONLY", 282, -- "IDL_ATTRIBUTE", 283, -- "IDL_ONEWAY", 284, -- "IDL_IDEMPOTENT", 285, -- "IDL_VOID", 286, -- "IDL_IN", 287, -- "IDL_OUT", 288, -- "IDL_INOUT", 289, -- "IDL_RAISES", 290, -- "IDL_CONTEXT", 291, -- "IDL_NATIVE", 292, -- "IDL_INTEGER_LITERAL", 293, -- "IDL_STRING_LITERAL", 294, -- "IDL_CHARACTER_LITERAL", 295, -- "IDL_FLOATING_PT_LITERAL", 296, -- "IDL_TRUETOK", 297, -- "IDL_FALSETOK", 298, -- "IDL_SCOPE_DELIMITOR", 299, -- "IDL_LEFT_SHIFT", 300, -- "IDL_RIGHT_SHIFT", 301, -- "-unknown-", -1 /* ends search */ -+ {"IDENTIFIER", 257}, -+ {"IDL_CONST", 258}, -+ {"IDL_MODULE", 259}, -+ {"IDL_INTERFACE", 260}, -+ {"IDL_TYPEDEF", 261}, -+ {"IDL_LONG", 262}, -+ {"IDL_SHORT", 263}, -+ {"IDL_UNSIGNED", 264}, -+ {"IDL_DOUBLE", 265}, -+ {"IDL_FLOAT", 266}, -+ {"IDL_CHAR", 267}, -+ {"IDL_WCHAR", 268}, -+ {"IDL_OCTET", 269}, -+ {"IDL_BOOLEAN", 270}, -+ {"IDL_ANY", 271}, -+ {"IDL_STRUCT", 272}, -+ {"IDL_UNION", 273}, -+ {"IDL_SWITCH", 274}, -+ {"IDL_ENUM", 275}, -+ {"IDL_SEQUENCE", 276}, -+ {"IDL_STRING", 277}, -+ {"IDL_WSTRING", 278}, -+ {"IDL_EXCEPTION", 279}, -+ {"IDL_CASE", 280}, -+ {"IDL_DEFAULT", 281}, -+ {"IDL_READONLY", 282}, -+ {"IDL_ATTRIBUTE", 283}, -+ {"IDL_ONEWAY", 284}, -+ {"IDL_IDEMPOTENT", 285}, -+ {"IDL_VOID", 286}, -+ {"IDL_IN", 287}, -+ {"IDL_OUT", 288}, -+ {"IDL_INOUT", 289}, -+ {"IDL_RAISES", 290}, -+ {"IDL_CONTEXT", 291}, -+ {"IDL_NATIVE", 292}, -+ {"IDL_INTEGER_LITERAL", 293}, -+ {"IDL_STRING_LITERAL", 294}, -+ {"IDL_CHARACTER_LITERAL", 295}, -+ {"IDL_FLOATING_PT_LITERAL", 296}, -+ {"IDL_TRUETOK", 297}, -+ {"IDL_FALSETOK", 298}, -+ {"IDL_SCOPE_DELIMITOR", 299}, -+ {"IDL_LEFT_SHIFT", 300}, -+ {"IDL_RIGHT_SHIFT", 301}, -+ {"-unknown-", -1} /* ends search */ - }; - - char * yyreds[] = -@@ -837,7 +837,9 @@ - * Copyright (c) 1993 by Sun Microsystems, Inc. - */ - -+#if !defined (ACE_WIN32) - #pragma ident "@(#)yaccpar 6.12 93/06/07 SMI" -+#endif /* ACE_WIN32 */ - - /* - ** Skeleton parser driver for yacc output diff --git a/TAO/TAO_IDL/fe/y.tab.h b/TAO/TAO_IDL/fe/y.tab.h deleted file mode 100644 index 8c197aab46b..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.h +++ /dev/null @@ -1,77 +0,0 @@ - -typedef union -#ifdef __cplusplus - YYSTYPE -#endif - { - 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 */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - 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 */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} YYSTYPE; -extern YYSTYPE yylval; -# 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_INTEGER_LITERAL 293 -# define IDL_STRING_LITERAL 294 -# define IDL_CHARACTER_LITERAL 295 -# define IDL_FLOATING_PT_LITERAL 296 -# define IDL_TRUETOK 297 -# define IDL_FALSETOK 298 -# define IDL_SCOPE_DELIMITOR 299 -# define IDL_LEFT_SHIFT 300 -# define IDL_RIGHT_SHIFT 301 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 2520e9045fd..00000000000 --- a/TAO/TAO_IDL/idl_specs/array.idl +++ /dev/null @@ -1,37 +0,0 @@ -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 3570de87ebc..00000000000 --- a/TAO/TAO_IDL/idl_specs/constant.idl +++ /dev/null @@ -1,29 +0,0 @@ -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 c2b23eaf625..00000000000 --- a/TAO/TAO_IDL/idl_specs/dif2.idl +++ /dev/null @@ -1,48 +0,0 @@ -/* 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 a96fe169570..00000000000 --- a/TAO/TAO_IDL/idl_specs/inherit.idl +++ /dev/null @@ -1,17 +0,0 @@ -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 178ad2fb689..00000000000 --- a/TAO/TAO_IDL/idl_specs/module.idl +++ /dev/null @@ -1,20 +0,0 @@ -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 fa5d154f8f2..00000000000 --- a/TAO/TAO_IDL/idl_specs/primtypes.idl +++ /dev/null @@ -1,23 +0,0 @@ -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 4701c987b15..00000000000 --- a/TAO/TAO_IDL/idl_specs/sequence.idl +++ /dev/null @@ -1,25 +0,0 @@ -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 6538d9410ba..00000000000 --- a/TAO/TAO_IDL/idl_specs/simple.idl +++ /dev/null @@ -1,16 +0,0 @@ -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 b26e7ff3230..00000000000 --- a/TAO/TAO_IDL/idl_specs/simple2.idl +++ /dev/null @@ -1,26 +0,0 @@ -#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 42f215a1a62..00000000000 --- a/TAO/TAO_IDL/idl_specs/struct.idl +++ /dev/null @@ -1,52 +0,0 @@ -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 7b6e32b9957..00000000000 --- a/TAO/TAO_IDL/idl_specs/union.idl +++ /dev/null @@ -1,26 +0,0 @@ -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 94a355facdf..00000000000 --- a/TAO/TAO_IDL/idl_specs/union2.idl +++ /dev/null @@ -1,21 +0,0 @@ -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/ast.h b/TAO/TAO_IDL/include/ast.h deleted file mode 100644 index 5fdeef19e0c..00000000000 --- a/TAO/TAO_IDL/include/ast.h +++ /dev/null @@ -1,118 +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. - - */ - -#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 c0cbb18cebb..00000000000 --- a/TAO/TAO_IDL/include/ast_argument.h +++ /dev/null @@ -1,113 +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. - - */ - -#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 0d3fb69b9f1..00000000000 --- a/TAO/TAO_IDL/include/ast_array.h +++ /dev/null @@ -1,115 +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. - - */ - -#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 a18706bd0f7..00000000000 --- a/TAO/TAO_IDL/include/ast_attribute.h +++ /dev/null @@ -1,107 +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. - - */ - -#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 6c527afaca7..00000000000 --- a/TAO/TAO_IDL/include/ast_concrete_type.h +++ /dev/null @@ -1,93 +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. - - */ - -#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 90db723d429..00000000000 --- a/TAO/TAO_IDL/include/ast_constant.h +++ /dev/null @@ -1,115 +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. - - */ - -#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 964cc917f8a..00000000000 --- a/TAO/TAO_IDL/include/ast_decl.h +++ /dev/null @@ -1,188 +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. - - */ - -#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 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); - String *file_name(); - void set_file_name(String *s); - UTL_ScopedName *name(); - void set_name(UTL_ScopedName *n); - Identifier *local_name(); - 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 - String *pd_file_name; // What file defined in - UTL_ScopedName *pd_name; // As given - Identifier *pd_local_name; // Name in scope - 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 cf6941386c5..00000000000 --- a/TAO/TAO_IDL/include/ast_enum.h +++ /dev/null @@ -1,113 +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. - - */ - -#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 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 902b5ad04c4..00000000000 --- a/TAO/TAO_IDL/include/ast_enum_val.h +++ /dev/null @@ -1,97 +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. - - */ - -#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 a1bf98fd8e9..00000000000 --- a/TAO/TAO_IDL/include/ast_exception.h +++ /dev/null @@ -1,116 +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. - - */ - -#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 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 6d284bd1a77..00000000000 --- a/TAO/TAO_IDL/include/ast_expression.h +++ /dev/null @@ -1,229 +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. - - */ - -#ifndef _AST_EXPRESSION_AST_EXPRESSION_HH -#define _AST_EXPRESSION_AST_EXPRESSION_HH - -// 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 descrive 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 - float fval; // Contains 32-bit float expr value - double dval; // Contains 64-bit float expr value - char cval; // Contains char expression value - unsigned char oval; // Contains unsigned char expr value - 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(unsigned char uc); - AST_Expression(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); - String *file_name(); - void set_file_name(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 - 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 74ea518bef5..00000000000 --- a/TAO/TAO_IDL/include/ast_extern.h +++ /dev/null @@ -1,91 +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. - - */ - -#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 39e80f5c6ec..00000000000 --- a/TAO/TAO_IDL/include/ast_field.h +++ /dev/null @@ -1,117 +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. - - */ - -#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: - // Operations - - // Constructor(s) - AST_Field(); - AST_Field(AST_Type *field_type, - UTL_ScopedName *n, UTL_StrList *p); - AST_Field(AST_Decl::NodeType nt, AST_Type *field_type, - UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Field() {} - - // Data Accessors - AST_Type *field_type(); - - // 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 - -}; - -#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 887ac7aa156..00000000000 --- a/TAO/TAO_IDL/include/ast_generator.h +++ /dev/null @@ -1,217 +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. - - */ - -#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 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); - - // 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(AST_UnionLabel *lab, - 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(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 06f01ddecb1..00000000000 --- a/TAO/TAO_IDL/include/ast_interface.h +++ /dev/null @@ -1,145 +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. - - */ - -#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 - 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; - } - - // 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: - // 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 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_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 8dddc51d916..00000000000 --- a/TAO/TAO_IDL/include/ast_interface_fwd.h +++ /dev/null @@ -1,104 +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. - - */ - -#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(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_InterfaceFwd() {} - - // Data Accessors - AST_Interface *full_definition(); - void set_full_definition(AST_Interface *nfd); - - // 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 81dbbf0e50d..00000000000 --- a/TAO/TAO_IDL/include/ast_module.h +++ /dev/null @@ -1,119 +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. - - */ - -#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); - -private: - friend void fe_populate(AST_Module *m); - friend int 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); - -}; - -#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 6cc41d146af..00000000000 --- a/TAO/TAO_IDL/include/ast_native.h +++ /dev/null @@ -1,35 +0,0 @@ -#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 dc197a7bf17..00000000000 --- a/TAO/TAO_IDL/include/ast_operation.h +++ /dev/null @@ -1,137 +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. - - */ - -#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 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 1be12f4c4bc..00000000000 --- a/TAO/TAO_IDL/include/ast_predefined_type.h +++ /dev/null @@ -1,125 +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. - - */ - -#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 765043aac97..00000000000 --- a/TAO/TAO_IDL/include/ast_root.h +++ /dev/null @@ -1,105 +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. - - */ - -#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 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 d3864e9f982..00000000000 --- a/TAO/TAO_IDL/include/ast_sequence.h +++ /dev/null @@ -1,106 +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. - - */ - -#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 4bdfbb7734e..00000000000 --- a/TAO/TAO_IDL/include/ast_string.h +++ /dev/null @@ -1,106 +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. - - */ - -#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 f20eb0eb3a8..00000000000 --- a/TAO/TAO_IDL/include/ast_structure.h +++ /dev/null @@ -1,116 +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. - - */ - -#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 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 ca9a5e0498c..00000000000 --- a/TAO/TAO_IDL/include/ast_type.h +++ /dev/null @@ -1,99 +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. - - */ - -#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 1abb09aa935..00000000000 --- a/TAO/TAO_IDL/include/ast_typedef.h +++ /dev/null @@ -1,103 +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. - - */ - -#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 eab7ec51985..00000000000 --- a/TAO/TAO_IDL/include/ast_union.h +++ /dev/null @@ -1,141 +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. - - */ - -#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 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 e2de5aa8b7e..00000000000 --- a/TAO/TAO_IDL/include/ast_union_branch.h +++ /dev/null @@ -1,107 +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. - - */ - -#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(AST_UnionLabel *label, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_UnionBranch() {} - - // Data Accessors - AST_UnionLabel *label(); - - // Narrowing - DEF_NARROW_METHODS1(AST_UnionBranch, AST_Field); - DEF_NARROW_FROM_DECL(AST_UnionBranch); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_UnionLabel *pd_label; // Label of this branch -}; - -#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 587ddb1c911..00000000000 --- a/TAO/TAO_IDL/include/ast_union_label.h +++ /dev/null @@ -1,108 +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. - - */ - -#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 c8e5f0530fe..00000000000 --- a/TAO/TAO_IDL/include/be_extern.h +++ /dev/null @@ -1,80 +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. - - */ - -#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 "C" AST_Generator *BE_init(); - -extern "C" void BE_produce(); -extern "C" void BE_abort(); -extern "C" void BE_prep_arg(char *, idl_bool); - -extern "C" 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 8f5d6651f91..00000000000 --- a/TAO/TAO_IDL/include/drv_extern.h +++ /dev/null @@ -1,84 +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. - - */ - -#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(char *myfile); - -extern void DRV_cpp_init(); -extern void DRV_cpp_putarg(char *str); -extern void DRV_cpp_new_location(char *new_loc); - -extern void DRV_fork(); - -#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 daea5b77b88..00000000000 --- a/TAO/TAO_IDL/include/drv_link.h +++ /dev/null @@ -1,122 +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. - - */ - -#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 caa74747db7..00000000000 --- a/TAO/TAO_IDL/include/drv_private.h +++ /dev/null @@ -1,81 +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. - - */ - -#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 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(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 dee81ffe035..00000000000 --- a/TAO/TAO_IDL/include/fe_declarator.h +++ /dev/null @@ -1,111 +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. - - */ - -#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 816081f1323..00000000000 --- a/TAO/TAO_IDL/include/fe_extern.h +++ /dev/null @@ -1,107 +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. - - */ - -#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 - -extern "C" void FE_init_stage1(); // Initialize stage 1 -extern "C" void FE_init_stage2(); // Initialize stage 2 - -// Interface to Yacc parser - -class File; -extern "C" int FE_yyparse(); // Invode yyparse -extern "C" 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; - -extern "C" UTL_Error * FE_new_UTL_Error(); -extern "C" UTL_Indenter * FE_new_UTL_Indenter(); -extern "C" 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 b75164780a8..00000000000 --- a/TAO/TAO_IDL/include/fe_interface_header.h +++ /dev/null @@ -1,107 +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. - - */ - -#ifndef _FE_INTERFACE_HEADER_FE_INTERFACE_HH -#define _FE_INTERFACE_HEADER_FE_INTERFACE_HH - -// FE_InterfaceHeader -// -// Internal class for FE to describe interface 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); - virtual ~FE_InterfaceHeader() {} - - // Data Accessors - UTL_ScopedName *interface_name(); - AST_Interface **inherits(); - long n_inherits(); - -private: - // Data - UTL_ScopedName *pd_interface_name; // Interface name - 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 - void compile_one_inheritance(AST_Interface *i); - void compile_inheritance(UTL_NameList *l); -}; - -#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 d90e19907bd..00000000000 --- a/TAO/TAO_IDL/include/fe_private.h +++ /dev/null @@ -1,88 +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. - - */ - -#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 - */ - -#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 3ff7bf93dfd..00000000000 --- a/TAO/TAO_IDL/include/global_extern.h +++ /dev/null @@ -1,78 +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. - - */ - -#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 24442901569..00000000000 --- a/TAO/TAO_IDL/include/idl.h +++ /dev/null @@ -1,94 +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. - - */ - -#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 -#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 dd53d968732..00000000000 --- a/TAO/TAO_IDL/include/idl_bool.h +++ /dev/null @@ -1,92 +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. - - */ - -#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 b4a4857d3f2..00000000000 --- a/TAO/TAO_IDL/include/idl_defines.h +++ /dev/null @@ -1,82 +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. - - */ - -#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 efa7f328950..00000000000 --- a/TAO/TAO_IDL/include/idl_extern.h +++ /dev/null @@ -1,79 +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. - - */ - -#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 a5342d73b86..00000000000 --- a/TAO/TAO_IDL/include/idl_fwd.h +++ /dev/null @@ -1,146 +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. - - */ - -#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 a65fe039c60..00000000000 --- a/TAO/TAO_IDL/include/idl_global.h +++ /dev/null @@ -1,366 +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. - - */ - -#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_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_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 - }; - - // 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 String *filename(); // What file? - virtual void set_filename(String *); // Set it - - virtual String *main_filename(); // What's the main - // file name? - virtual void set_main_filename(String *); - // Set it - - virtual String *real_filename(); // What's the real - // file name? - virtual void set_real_filename(String *); - // Set it - - virtual String *stripped_filename(); // Stripped filename - virtual void set_stripped_filename(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 char *prog_name(); // Invoked as.. - virtual void set_prog_name(char *); // Set it - - virtual char *cpp_location(); // Where's CPP? - virtual void set_cpp_location(char *);// Set it - - virtual long compile_flags(); // What flags are on? - virtual void set_compile_flags(long);// Turn some on or off - - virtual char *be(); // Get BE to use - virtual void set_be(char *); // Set it - - virtual char *local_escapes(); // Get local escapes - virtual void set_local_escapes(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(String *); - - virtual String **include_file_names(); // Array of file names - virtual void set_include_file_names(String **); // Set it - - virtual unsigned long n_include_file_names(); // How many - virtual void set_n_include_file_names(unsigned long n); - - 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 String *idl_src_file(); - // returns the IDL source file being copiled - - virtual void idl_src_file(String *); - // set the source IDL file that is being parsed - - // helper functions that generate the file names for the C++ mapping - // generated code - static const char *be_get_client_hdr_fname (); - static const char *be_get_client_stub_fname (); - static const char *be_get_client_inline_fname (); - static const char *be_get_server_hdr_fname (); - static const char *be_get_server_skeleton_fname (); - static const char *be_get_server_inline_fname (); - - // Helper functions: obtain the names of each generated file given - // the IDL file name. - static const char *be_get_client_hdr (String *idl_file_name); - static const char *be_get_client_stub (String *idl_file_name); - static const char *be_get_client_inline (String *idl_file_name); - static const char *be_get_server_hdr (String *idl_file_name); - static const char *be_get_server_skeleton (String *idl_file_name); - static const char *be_get_server_inline (String *idl_file_name); - - 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. - -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 # - String *pd_filename; // What file - String *pd_main_filename; // What main filename - String *pd_real_filename; // What real filename - String *pd_stripped_filename; // Stripped filename - idl_bool pd_import; // Is import on? - idl_bool pd_in_main_file; // Are we in it? - char *pd_prog_name; // Argv[0] - char *pd_cpp_location; // Where to find CPP - long pd_compile_flags; // Compile flags - 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? - 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 - - ParseState pd_parse_state; // Parse state we're in - - // Operations - long seen_include_file_before(String *); - // Seen this include - // before? - String *pd_idl_src_file; // IDL source file - - char* export_macro_; - char* export_include_; -}; - -#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 c2d9e3a8370..00000000000 --- a/TAO/TAO_IDL/include/idl_narrow.h +++ /dev/null @@ -1,262 +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. - - */ - -#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 5a2da162932..00000000000 --- a/TAO/TAO_IDL/include/intlmacros.h +++ /dev/null @@ -1,85 +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. - - */ - -#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 2da18cd4c80..00000000000 --- a/TAO/TAO_IDL/include/nr_extern.h +++ /dev/null @@ -1,74 +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. - - */ - -#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 6b218006c8e..00000000000 --- a/TAO/TAO_IDL/include/util.h +++ /dev/null @@ -1,85 +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. - - */ - -#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 9a0a37298bb..00000000000 --- a/TAO/TAO_IDL/include/utl_decllist.h +++ /dev/null @@ -1,119 +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. - - */ - -#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 0873ae758a1..00000000000 --- a/TAO/TAO_IDL/include/utl_err.h +++ /dev/null @@ -1,181 +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. - - */ - -#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, // Spelling differences found - 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); - - // 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); - - // 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, 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 0873ae758a1..00000000000 --- a/TAO/TAO_IDL/include/utl_error.h +++ /dev/null @@ -1,181 +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. - - */ - -#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, // Spelling differences found - 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); - - // 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); - - // 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, 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 c3c14ccf714..00000000000 --- a/TAO/TAO_IDL/include/utl_exceptlist.h +++ /dev/null @@ -1,119 +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. - - */ - -#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 3e4f7c7079e..00000000000 --- a/TAO/TAO_IDL/include/utl_exprlist.h +++ /dev/null @@ -1,119 +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. - - */ - -#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 a29543127bc..00000000000 --- a/TAO/TAO_IDL/include/utl_identifier.h +++ /dev/null @@ -1,111 +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. - - */ - -#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 (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 - - // =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 c33494c9248..00000000000 --- a/TAO/TAO_IDL/include/utl_idlist.h +++ /dev/null @@ -1,145 +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. - - */ - -#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 17a1a509e1e..00000000000 --- a/TAO/TAO_IDL/include/utl_indenter.h +++ /dev/null @@ -1,115 +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. - - */ - -#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 e78a04ec372..00000000000 --- a/TAO/TAO_IDL/include/utl_labellist.h +++ /dev/null @@ -1,119 +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. - - */ - -#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 017b9be1a18..00000000000 --- a/TAO/TAO_IDL/include/utl_list.h +++ /dev/null @@ -1,148 +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. - - */ - -#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 d7f0d8eb526..00000000000 --- a/TAO/TAO_IDL/include/utl_namelist.h +++ /dev/null @@ -1,119 +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. - - */ - -#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 ff105101964..00000000000 --- a/TAO/TAO_IDL/include/utl_scope.h +++ /dev/null @@ -1,290 +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. - - */ - -#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" - -// 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); - - // Look up the Identifier * specified only in the local scope - virtual AST_Decl *lookup_by_name_local(Identifier *, - idl_bool treat_as_ref); - - // 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 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 5ca4d9c247f..00000000000 --- a/TAO/TAO_IDL/include/utl_scoped_name.h +++ /dev/null @@ -1,80 +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. - - */ - -#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 7e343c17fc4..00000000000 --- a/TAO/TAO_IDL/include/utl_stack.h +++ /dev/null @@ -1,148 +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. - - */ - -#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 35f4fae171f..00000000000 --- a/TAO/TAO_IDL/include/utl_string.h +++ /dev/null @@ -1,141 +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. - - */ - -#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 -*/ - -#ifndef String -#define String UTL_String -#endif // String - -class UTL_String -{ - // =TITLE - // UTL_String - // =DESCRIPTION - // string class to store identifiers -public: - // =Operations - - UTL_String (void); - // default constructor - - UTL_String (char *str); - // construct from a 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 2dac6ce3de6..00000000000 --- a/TAO/TAO_IDL/include/utl_strlist.h +++ /dev/null @@ -1,133 +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. - - */ - -#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(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 - String *head(); - - // Set the list element - void set_head(String *); - - // Get last element in this list - String *last_component(); - -private: - // Data - 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 - 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 5e5892d4d7f..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 b4bacad5510..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h +++ /dev/null @@ -1,106 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 155f2bf43d0..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 081149fe0e1..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 80b7146780d..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 420b360c6a4..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_list.h +++ /dev/null @@ -1,138 +0,0 @@ -/* - *====================================================================== - * - *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 8668568e983..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 fca9cdb6442..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *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" -#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 b/TAO/TAO_IDL/narrow/Makefile deleted file mode 100644 index 38e976ef85f..00000000000 --- a/TAO/TAO_IDL/narrow/Makefile +++ /dev/null @@ -1,100 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libast -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libnarrow -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -NARROW_FILES = \ - narrow - -FILES = $(NARROW_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# 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 targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/narrow.o .obj/narrow.so .shobj/narrow.o .shobj/narrow.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/narrow/narrow.cpp b/TAO/TAO_IDL/narrow/narrow.cpp deleted file mode 100644 index 786e0f95754..00000000000 --- a/TAO/TAO_IDL/narrow/narrow.cpp +++ /dev/null @@ -1,137 +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. - - */ - -#include "idl.h" -#include "idl_extern.h" - -// 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.MAK b/TAO/TAO_IDL/tao_idl.MAK deleted file mode 100644 index 6d2c3adfc4b..00000000000 --- a/TAO/TAO_IDL/tao_idl.MAK +++ /dev/null @@ -1,26122 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on tao_idl.dsp -!IF "$(CFG)" == "" -CFG=tao_idl - Win32 Debug -!MESSAGE No configuration specified. Defaulting to tao_idl - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "tao_idl - Win32 Release" && "$(CFG)" !=\ - "tao_idl - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "tao_idl - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "tao_idl - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -OUTDIR=. -INTDIR=.\Release -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\tao_idl.exe" - -!ELSE - -ALL : "$(OUTDIR)\tao_idl.exe" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\ast_argument.obj" - -@erase "$(INTDIR)\ast_array.obj" - -@erase "$(INTDIR)\ast_attribute.obj" - -@erase "$(INTDIR)\ast_check.obj" - -@erase "$(INTDIR)\ast_concrete_type.obj" - -@erase "$(INTDIR)\ast_constant.obj" - -@erase "$(INTDIR)\ast_decl.obj" - -@erase "$(INTDIR)\ast_enum.obj" - -@erase "$(INTDIR)\ast_enum_val.obj" - -@erase "$(INTDIR)\ast_exception.obj" - -@erase "$(INTDIR)\ast_expression.obj" - -@erase "$(INTDIR)\ast_field.obj" - -@erase "$(INTDIR)\ast_generator.obj" - -@erase "$(INTDIR)\ast_interface.obj" - -@erase "$(INTDIR)\ast_interface_fwd.obj" - -@erase "$(INTDIR)\ast_module.obj" - -@erase "$(INTDIR)\ast_native.obj" - -@erase "$(INTDIR)\ast_operation.obj" - -@erase "$(INTDIR)\ast_predefined_type.obj" - -@erase "$(INTDIR)\ast_recursive.obj" - -@erase "$(INTDIR)\ast_redef.obj" - -@erase "$(INTDIR)\ast_root.obj" - -@erase "$(INTDIR)\ast_sequence.obj" - -@erase "$(INTDIR)\ast_string.obj" - -@erase "$(INTDIR)\ast_structure.obj" - -@erase "$(INTDIR)\ast_type.obj" - -@erase "$(INTDIR)\ast_typedef.obj" - -@erase "$(INTDIR)\ast_union.obj" - -@erase "$(INTDIR)\ast_union_branch.obj" - -@erase "$(INTDIR)\ast_union_label.obj" - -@erase "$(INTDIR)\be_args.obj" - -@erase "$(INTDIR)\be_argument.obj" - -@erase "$(INTDIR)\be_array.obj" - -@erase "$(INTDIR)\be_attribute.obj" - -@erase "$(INTDIR)\be_codegen.obj" - -@erase "$(INTDIR)\be_constant.obj" - -@erase "$(INTDIR)\be_decl.obj" - -@erase "$(INTDIR)\be_enum.obj" - -@erase "$(INTDIR)\be_enum_val.obj" - -@erase "$(INTDIR)\be_exception.obj" - -@erase "$(INTDIR)\be_expression.obj" - -@erase "$(INTDIR)\be_factory.obj" - -@erase "$(INTDIR)\be_field.obj" - -@erase "$(INTDIR)\be_generator.obj" - -@erase "$(INTDIR)\be_helper.obj" - -@erase "$(INTDIR)\be_init.obj" - -@erase "$(INTDIR)\be_interface.obj" - -@erase "$(INTDIR)\be_interface_fwd.obj" - -@erase "$(INTDIR)\be_interpretive.obj" - -@erase "$(INTDIR)\be_module.obj" - -@erase "$(INTDIR)\be_native.obj" - -@erase "$(INTDIR)\be_operation.obj" - -@erase "$(INTDIR)\be_predefined_type.obj" - -@erase "$(INTDIR)\be_produce.obj" - -@erase "$(INTDIR)\be_root.obj" - -@erase "$(INTDIR)\be_scope.obj" - -@erase "$(INTDIR)\be_sequence.obj" - -@erase "$(INTDIR)\be_state.obj" - -@erase "$(INTDIR)\be_state_argument.obj" - -@erase "$(INTDIR)\be_state_array.obj" - -@erase "$(INTDIR)\be_state_attribute.obj" - -@erase "$(INTDIR)\be_state_exception.obj" - -@erase "$(INTDIR)\be_state_operation.obj" - -@erase "$(INTDIR)\be_state_sequence.obj" - -@erase "$(INTDIR)\be_state_structure.obj" - -@erase "$(INTDIR)\be_state_typedef.obj" - -@erase "$(INTDIR)\be_state_union.obj" - -@erase "$(INTDIR)\be_string.obj" - -@erase "$(INTDIR)\be_structure.obj" - -@erase "$(INTDIR)\be_sunsoft.obj" - -@erase "$(INTDIR)\be_type.obj" - -@erase "$(INTDIR)\be_typedef.obj" - -@erase "$(INTDIR)\be_union.obj" - -@erase "$(INTDIR)\be_union_branch.obj" - -@erase "$(INTDIR)\be_union_label.obj" - -@erase "$(INTDIR)\be_visitor.obj" - -@erase "$(INTDIR)\be_visitor_root.obj" - -@erase "$(INTDIR)\be_visitor_sequence.obj" - -@erase "$(INTDIR)\drv_args.obj" - -@erase "$(INTDIR)\drv_fork.obj" - -@erase "$(INTDIR)\drv_init.obj" - -@erase "$(INTDIR)\drv_link.obj" - -@erase "$(INTDIR)\drv_preproc.obj" - -@erase "$(INTDIR)\drv_private.obj" - -@erase "$(INTDIR)\fe_declarator.obj" - -@erase "$(INTDIR)\fe_extern.obj" - -@erase "$(INTDIR)\fe_init.obj" - -@erase "$(INTDIR)\fe_interface_header.obj" - -@erase "$(INTDIR)\fe_private.obj" - -@erase "$(INTDIR)\lex.yy.obj" - -@erase "$(INTDIR)\narrow.obj" - -@erase "$(INTDIR)\tao_idl.obj" - -@erase "$(INTDIR)\utl_decllist.obj" - -@erase "$(INTDIR)\utl_error.obj" - -@erase "$(INTDIR)\utl_exceptlist.obj" - -@erase "$(INTDIR)\utl_exprlist.obj" - -@erase "$(INTDIR)\utl_global.obj" - -@erase "$(INTDIR)\utl_identifier.obj" - -@erase "$(INTDIR)\utl_idlist.obj" - -@erase "$(INTDIR)\utl_indenter.obj" - -@erase "$(INTDIR)\utl_labellist.obj" - -@erase "$(INTDIR)\utl_list.obj" - -@erase "$(INTDIR)\utl_namelist.obj" - -@erase "$(INTDIR)\utl_scope.obj" - -@erase "$(INTDIR)\utl_stack.obj" - -@erase "$(INTDIR)\utl_string.obj" - -@erase "$(INTDIR)\utl_strlist.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(INTDIR)\y.tab.obj" - -@erase "$(OUTDIR)\tao_idl.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "..\.." /D\ - "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\"\ - /Fp"$(INTDIR)\tao_idl.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /D\ - CPP_LOCATION="\"$(CPP_PATH)\\cl\"" /c -CPP_OBJS=.\Release/ -CPP_SBRS=. -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\tao_idl.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=ace.lib /nologo /subsystem:console /incremental:no\ - /pdb:"$(OUTDIR)\tao_idl.pdb" /machine:I386 /out:"$(OUTDIR)\tao_idl.exe"\ - /libpath:"../../ace" -LINK32_OBJS= \ - "$(INTDIR)\ast_argument.obj" \ - "$(INTDIR)\ast_array.obj" \ - "$(INTDIR)\ast_attribute.obj" \ - "$(INTDIR)\ast_check.obj" \ - "$(INTDIR)\ast_concrete_type.obj" \ - "$(INTDIR)\ast_constant.obj" \ - "$(INTDIR)\ast_decl.obj" \ - "$(INTDIR)\ast_enum.obj" \ - "$(INTDIR)\ast_enum_val.obj" \ - "$(INTDIR)\ast_exception.obj" \ - "$(INTDIR)\ast_expression.obj" \ - "$(INTDIR)\ast_field.obj" \ - "$(INTDIR)\ast_generator.obj" \ - "$(INTDIR)\ast_interface.obj" \ - "$(INTDIR)\ast_interface_fwd.obj" \ - "$(INTDIR)\ast_module.obj" \ - "$(INTDIR)\ast_native.obj" \ - "$(INTDIR)\ast_operation.obj" \ - "$(INTDIR)\ast_predefined_type.obj" \ - "$(INTDIR)\ast_recursive.obj" \ - "$(INTDIR)\ast_redef.obj" \ - "$(INTDIR)\ast_root.obj" \ - "$(INTDIR)\ast_sequence.obj" \ - "$(INTDIR)\ast_string.obj" \ - "$(INTDIR)\ast_structure.obj" \ - "$(INTDIR)\ast_type.obj" \ - "$(INTDIR)\ast_typedef.obj" \ - "$(INTDIR)\ast_union.obj" \ - "$(INTDIR)\ast_union_branch.obj" \ - "$(INTDIR)\ast_union_label.obj" \ - "$(INTDIR)\be_args.obj" \ - "$(INTDIR)\be_argument.obj" \ - "$(INTDIR)\be_array.obj" \ - "$(INTDIR)\be_attribute.obj" \ - "$(INTDIR)\be_codegen.obj" \ - "$(INTDIR)\be_constant.obj" \ - "$(INTDIR)\be_decl.obj" \ - "$(INTDIR)\be_enum.obj" \ - "$(INTDIR)\be_enum_val.obj" \ - "$(INTDIR)\be_exception.obj" \ - "$(INTDIR)\be_expression.obj" \ - "$(INTDIR)\be_factory.obj" \ - "$(INTDIR)\be_field.obj" \ - "$(INTDIR)\be_generator.obj" \ - "$(INTDIR)\be_helper.obj" \ - "$(INTDIR)\be_init.obj" \ - "$(INTDIR)\be_interface.obj" \ - "$(INTDIR)\be_interface_fwd.obj" \ - "$(INTDIR)\be_interpretive.obj" \ - "$(INTDIR)\be_module.obj" \ - "$(INTDIR)\be_native.obj" \ - "$(INTDIR)\be_operation.obj" \ - "$(INTDIR)\be_predefined_type.obj" \ - "$(INTDIR)\be_produce.obj" \ - "$(INTDIR)\be_root.obj" \ - "$(INTDIR)\be_scope.obj" \ - "$(INTDIR)\be_sequence.obj" \ - "$(INTDIR)\be_state.obj" \ - "$(INTDIR)\be_state_argument.obj" \ - "$(INTDIR)\be_state_array.obj" \ - "$(INTDIR)\be_state_attribute.obj" \ - "$(INTDIR)\be_state_exception.obj" \ - "$(INTDIR)\be_state_operation.obj" \ - "$(INTDIR)\be_state_sequence.obj" \ - "$(INTDIR)\be_state_structure.obj" \ - "$(INTDIR)\be_state_typedef.obj" \ - "$(INTDIR)\be_state_union.obj" \ - "$(INTDIR)\be_string.obj" \ - "$(INTDIR)\be_structure.obj" \ - "$(INTDIR)\be_sunsoft.obj" \ - "$(INTDIR)\be_type.obj" \ - "$(INTDIR)\be_typedef.obj" \ - "$(INTDIR)\be_union.obj" \ - "$(INTDIR)\be_union_branch.obj" \ - "$(INTDIR)\be_union_label.obj" \ - "$(INTDIR)\be_visitor.obj" \ - "$(INTDIR)\be_visitor_root.obj" \ - "$(INTDIR)\be_visitor_sequence.obj" \ - "$(INTDIR)\drv_args.obj" \ - "$(INTDIR)\drv_fork.obj" \ - "$(INTDIR)\drv_init.obj" \ - "$(INTDIR)\drv_link.obj" \ - "$(INTDIR)\drv_preproc.obj" \ - "$(INTDIR)\drv_private.obj" \ - "$(INTDIR)\fe_declarator.obj" \ - "$(INTDIR)\fe_extern.obj" \ - "$(INTDIR)\fe_init.obj" \ - "$(INTDIR)\fe_interface_header.obj" \ - "$(INTDIR)\fe_private.obj" \ - "$(INTDIR)\lex.yy.obj" \ - "$(INTDIR)\narrow.obj" \ - "$(INTDIR)\tao_idl.obj" \ - "$(INTDIR)\utl_decllist.obj" \ - "$(INTDIR)\utl_error.obj" \ - "$(INTDIR)\utl_exceptlist.obj" \ - "$(INTDIR)\utl_exprlist.obj" \ - "$(INTDIR)\utl_global.obj" \ - "$(INTDIR)\utl_identifier.obj" \ - "$(INTDIR)\utl_idlist.obj" \ - "$(INTDIR)\utl_indenter.obj" \ - "$(INTDIR)\utl_labellist.obj" \ - "$(INTDIR)\utl_list.obj" \ - "$(INTDIR)\utl_namelist.obj" \ - "$(INTDIR)\utl_scope.obj" \ - "$(INTDIR)\utl_stack.obj" \ - "$(INTDIR)\utl_string.obj" \ - "$(INTDIR)\utl_strlist.obj" \ - "$(INTDIR)\y.tab.obj" - -"$(OUTDIR)\tao_idl.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -OUTDIR=. -INTDIR=.\Debug -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\tao_idl.exe" - -!ELSE - -ALL : "$(OUTDIR)\tao_idl.exe" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\ast_argument.obj" - -@erase "$(INTDIR)\ast_array.obj" - -@erase "$(INTDIR)\ast_attribute.obj" - -@erase "$(INTDIR)\ast_check.obj" - -@erase "$(INTDIR)\ast_concrete_type.obj" - -@erase "$(INTDIR)\ast_constant.obj" - -@erase "$(INTDIR)\ast_decl.obj" - -@erase "$(INTDIR)\ast_enum.obj" - -@erase "$(INTDIR)\ast_enum_val.obj" - -@erase "$(INTDIR)\ast_exception.obj" - -@erase "$(INTDIR)\ast_expression.obj" - -@erase "$(INTDIR)\ast_field.obj" - -@erase "$(INTDIR)\ast_generator.obj" - -@erase "$(INTDIR)\ast_interface.obj" - -@erase "$(INTDIR)\ast_interface_fwd.obj" - -@erase "$(INTDIR)\ast_module.obj" - -@erase "$(INTDIR)\ast_native.obj" - -@erase "$(INTDIR)\ast_operation.obj" - -@erase "$(INTDIR)\ast_predefined_type.obj" - -@erase "$(INTDIR)\ast_recursive.obj" - -@erase "$(INTDIR)\ast_redef.obj" - -@erase "$(INTDIR)\ast_root.obj" - -@erase "$(INTDIR)\ast_sequence.obj" - -@erase "$(INTDIR)\ast_string.obj" - -@erase "$(INTDIR)\ast_structure.obj" - -@erase "$(INTDIR)\ast_type.obj" - -@erase "$(INTDIR)\ast_typedef.obj" - -@erase "$(INTDIR)\ast_union.obj" - -@erase "$(INTDIR)\ast_union_branch.obj" - -@erase "$(INTDIR)\ast_union_label.obj" - -@erase "$(INTDIR)\be_args.obj" - -@erase "$(INTDIR)\be_argument.obj" - -@erase "$(INTDIR)\be_array.obj" - -@erase "$(INTDIR)\be_attribute.obj" - -@erase "$(INTDIR)\be_codegen.obj" - -@erase "$(INTDIR)\be_constant.obj" - -@erase "$(INTDIR)\be_decl.obj" - -@erase "$(INTDIR)\be_enum.obj" - -@erase "$(INTDIR)\be_enum_val.obj" - -@erase "$(INTDIR)\be_exception.obj" - -@erase "$(INTDIR)\be_expression.obj" - -@erase "$(INTDIR)\be_factory.obj" - -@erase "$(INTDIR)\be_field.obj" - -@erase "$(INTDIR)\be_generator.obj" - -@erase "$(INTDIR)\be_helper.obj" - -@erase "$(INTDIR)\be_init.obj" - -@erase "$(INTDIR)\be_interface.obj" - -@erase "$(INTDIR)\be_interface_fwd.obj" - -@erase "$(INTDIR)\be_interpretive.obj" - -@erase "$(INTDIR)\be_module.obj" - -@erase "$(INTDIR)\be_native.obj" - -@erase "$(INTDIR)\be_operation.obj" - -@erase "$(INTDIR)\be_predefined_type.obj" - -@erase "$(INTDIR)\be_produce.obj" - -@erase "$(INTDIR)\be_root.obj" - -@erase "$(INTDIR)\be_scope.obj" - -@erase "$(INTDIR)\be_sequence.obj" - -@erase "$(INTDIR)\be_state.obj" - -@erase "$(INTDIR)\be_state_argument.obj" - -@erase "$(INTDIR)\be_state_array.obj" - -@erase "$(INTDIR)\be_state_attribute.obj" - -@erase "$(INTDIR)\be_state_exception.obj" - -@erase "$(INTDIR)\be_state_operation.obj" - -@erase "$(INTDIR)\be_state_sequence.obj" - -@erase "$(INTDIR)\be_state_structure.obj" - -@erase "$(INTDIR)\be_state_typedef.obj" - -@erase "$(INTDIR)\be_state_union.obj" - -@erase "$(INTDIR)\be_string.obj" - -@erase "$(INTDIR)\be_structure.obj" - -@erase "$(INTDIR)\be_sunsoft.obj" - -@erase "$(INTDIR)\be_type.obj" - -@erase "$(INTDIR)\be_typedef.obj" - -@erase "$(INTDIR)\be_union.obj" - -@erase "$(INTDIR)\be_union_branch.obj" - -@erase "$(INTDIR)\be_union_label.obj" - -@erase "$(INTDIR)\be_visitor.obj" - -@erase "$(INTDIR)\be_visitor_root.obj" - -@erase "$(INTDIR)\be_visitor_sequence.obj" - -@erase "$(INTDIR)\drv_args.obj" - -@erase "$(INTDIR)\drv_fork.obj" - -@erase "$(INTDIR)\drv_init.obj" - -@erase "$(INTDIR)\drv_link.obj" - -@erase "$(INTDIR)\drv_preproc.obj" - -@erase "$(INTDIR)\drv_private.obj" - -@erase "$(INTDIR)\fe_declarator.obj" - -@erase "$(INTDIR)\fe_extern.obj" - -@erase "$(INTDIR)\fe_init.obj" - -@erase "$(INTDIR)\fe_interface_header.obj" - -@erase "$(INTDIR)\fe_private.obj" - -@erase "$(INTDIR)\lex.yy.obj" - -@erase "$(INTDIR)\narrow.obj" - -@erase "$(INTDIR)\tao_idl.obj" - -@erase "$(INTDIR)\utl_decllist.obj" - -@erase "$(INTDIR)\utl_error.obj" - -@erase "$(INTDIR)\utl_exceptlist.obj" - -@erase "$(INTDIR)\utl_exprlist.obj" - -@erase "$(INTDIR)\utl_global.obj" - -@erase "$(INTDIR)\utl_identifier.obj" - -@erase "$(INTDIR)\utl_idlist.obj" - -@erase "$(INTDIR)\utl_indenter.obj" - -@erase "$(INTDIR)\utl_labellist.obj" - -@erase "$(INTDIR)\utl_list.obj" - -@erase "$(INTDIR)\utl_namelist.obj" - -@erase "$(INTDIR)\utl_scope.obj" - -@erase "$(INTDIR)\utl_stack.obj" - -@erase "$(INTDIR)\utl_string.obj" - -@erase "$(INTDIR)\utl_strlist.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(INTDIR)\vc50.pdb" - -@erase "$(INTDIR)\y.tab.obj" - -@erase "$(OUTDIR)\tao_idl.exe" - -@erase "$(OUTDIR)\tao_idl.ilk" - -@erase "$(OUTDIR)\tao_idl.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "include" /I "be_include" /I\ - "..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D\ - IDL_CFE_VERSION=\"1.3.0\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /D\ - CPP_LOCATION="\"$(CPP_PATH)\\cl\"" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=. -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\tao_idl.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=aced.lib /nologo /subsystem:console /incremental:yes\ - /pdb:"$(OUTDIR)\tao_idl.pdb" /debug /machine:I386 /out:"$(OUTDIR)\tao_idl.exe"\ - /pdbtype:sept /libpath:"..\..\ace" -LINK32_OBJS= \ - "$(INTDIR)\ast_argument.obj" \ - "$(INTDIR)\ast_array.obj" \ - "$(INTDIR)\ast_attribute.obj" \ - "$(INTDIR)\ast_check.obj" \ - "$(INTDIR)\ast_concrete_type.obj" \ - "$(INTDIR)\ast_constant.obj" \ - "$(INTDIR)\ast_decl.obj" \ - "$(INTDIR)\ast_enum.obj" \ - "$(INTDIR)\ast_enum_val.obj" \ - "$(INTDIR)\ast_exception.obj" \ - "$(INTDIR)\ast_expression.obj" \ - "$(INTDIR)\ast_field.obj" \ - "$(INTDIR)\ast_generator.obj" \ - "$(INTDIR)\ast_interface.obj" \ - "$(INTDIR)\ast_interface_fwd.obj" \ - "$(INTDIR)\ast_module.obj" \ - "$(INTDIR)\ast_native.obj" \ - "$(INTDIR)\ast_operation.obj" \ - "$(INTDIR)\ast_predefined_type.obj" \ - "$(INTDIR)\ast_recursive.obj" \ - "$(INTDIR)\ast_redef.obj" \ - "$(INTDIR)\ast_root.obj" \ - "$(INTDIR)\ast_sequence.obj" \ - "$(INTDIR)\ast_string.obj" \ - "$(INTDIR)\ast_structure.obj" \ - "$(INTDIR)\ast_type.obj" \ - "$(INTDIR)\ast_typedef.obj" \ - "$(INTDIR)\ast_union.obj" \ - "$(INTDIR)\ast_union_branch.obj" \ - "$(INTDIR)\ast_union_label.obj" \ - "$(INTDIR)\be_args.obj" \ - "$(INTDIR)\be_argument.obj" \ - "$(INTDIR)\be_array.obj" \ - "$(INTDIR)\be_attribute.obj" \ - "$(INTDIR)\be_codegen.obj" \ - "$(INTDIR)\be_constant.obj" \ - "$(INTDIR)\be_decl.obj" \ - "$(INTDIR)\be_enum.obj" \ - "$(INTDIR)\be_enum_val.obj" \ - "$(INTDIR)\be_exception.obj" \ - "$(INTDIR)\be_expression.obj" \ - "$(INTDIR)\be_factory.obj" \ - "$(INTDIR)\be_field.obj" \ - "$(INTDIR)\be_generator.obj" \ - "$(INTDIR)\be_helper.obj" \ - "$(INTDIR)\be_init.obj" \ - "$(INTDIR)\be_interface.obj" \ - "$(INTDIR)\be_interface_fwd.obj" \ - "$(INTDIR)\be_interpretive.obj" \ - "$(INTDIR)\be_module.obj" \ - "$(INTDIR)\be_native.obj" \ - "$(INTDIR)\be_operation.obj" \ - "$(INTDIR)\be_predefined_type.obj" \ - "$(INTDIR)\be_produce.obj" \ - "$(INTDIR)\be_root.obj" \ - "$(INTDIR)\be_scope.obj" \ - "$(INTDIR)\be_sequence.obj" \ - "$(INTDIR)\be_state.obj" \ - "$(INTDIR)\be_state_argument.obj" \ - "$(INTDIR)\be_state_array.obj" \ - "$(INTDIR)\be_state_attribute.obj" \ - "$(INTDIR)\be_state_exception.obj" \ - "$(INTDIR)\be_state_operation.obj" \ - "$(INTDIR)\be_state_sequence.obj" \ - "$(INTDIR)\be_state_structure.obj" \ - "$(INTDIR)\be_state_typedef.obj" \ - "$(INTDIR)\be_state_union.obj" \ - "$(INTDIR)\be_string.obj" \ - "$(INTDIR)\be_structure.obj" \ - "$(INTDIR)\be_sunsoft.obj" \ - "$(INTDIR)\be_type.obj" \ - "$(INTDIR)\be_typedef.obj" \ - "$(INTDIR)\be_union.obj" \ - "$(INTDIR)\be_union_branch.obj" \ - "$(INTDIR)\be_union_label.obj" \ - "$(INTDIR)\be_visitor.obj" \ - "$(INTDIR)\be_visitor_root.obj" \ - "$(INTDIR)\be_visitor_sequence.obj" \ - "$(INTDIR)\drv_args.obj" \ - "$(INTDIR)\drv_fork.obj" \ - "$(INTDIR)\drv_init.obj" \ - "$(INTDIR)\drv_link.obj" \ - "$(INTDIR)\drv_preproc.obj" \ - "$(INTDIR)\drv_private.obj" \ - "$(INTDIR)\fe_declarator.obj" \ - "$(INTDIR)\fe_extern.obj" \ - "$(INTDIR)\fe_init.obj" \ - "$(INTDIR)\fe_interface_header.obj" \ - "$(INTDIR)\fe_private.obj" \ - "$(INTDIR)\lex.yy.obj" \ - "$(INTDIR)\narrow.obj" \ - "$(INTDIR)\tao_idl.obj" \ - "$(INTDIR)\utl_decllist.obj" \ - "$(INTDIR)\utl_error.obj" \ - "$(INTDIR)\utl_exceptlist.obj" \ - "$(INTDIR)\utl_exprlist.obj" \ - "$(INTDIR)\utl_global.obj" \ - "$(INTDIR)\utl_identifier.obj" \ - "$(INTDIR)\utl_idlist.obj" \ - "$(INTDIR)\utl_indenter.obj" \ - "$(INTDIR)\utl_labellist.obj" \ - "$(INTDIR)\utl_list.obj" \ - "$(INTDIR)\utl_namelist.obj" \ - "$(INTDIR)\utl_scope.obj" \ - "$(INTDIR)\utl_stack.obj" \ - "$(INTDIR)\utl_string.obj" \ - "$(INTDIR)\utl_strlist.obj" \ - "$(INTDIR)\y.tab.obj" - -"$(OUTDIR)\tao_idl.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - - -!IF "$(CFG)" == "tao_idl - Win32 Release" || "$(CFG)" ==\ - "tao_idl - Win32 Debug" -SOURCE=.\ast\ast_argument.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_A=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_argument.obj" : $(SOURCE) $(DEP_CPP_AST_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_A=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_argument.obj" : $(SOURCE) $(DEP_CPP_AST_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_array.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_AR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_array.obj" : $(SOURCE) $(DEP_CPP_AST_AR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_AR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_array.obj" : $(SOURCE) $(DEP_CPP_AST_AR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_attribute.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_AT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_attribute.obj" : $(SOURCE) $(DEP_CPP_AST_AT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_AT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_attribute.obj" : $(SOURCE) $(DEP_CPP_AST_AT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_check.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_C=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_check.obj" : $(SOURCE) $(DEP_CPP_AST_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_C=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_check.obj" : $(SOURCE) $(DEP_CPP_AST_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_concrete_type.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_CO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_concrete_type.obj" : $(SOURCE) $(DEP_CPP_AST_CO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_CO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_concrete_type.obj" : $(SOURCE) $(DEP_CPP_AST_CO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_constant.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_CON=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_constant.obj" : $(SOURCE) $(DEP_CPP_AST_CON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_CON=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_constant.obj" : $(SOURCE) $(DEP_CPP_AST_CON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_decl.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_D=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_decl.obj" : $(SOURCE) $(DEP_CPP_AST_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_D=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_decl.obj" : $(SOURCE) $(DEP_CPP_AST_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_enum.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_E=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_enum.obj" : $(SOURCE) $(DEP_CPP_AST_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_E=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_enum.obj" : $(SOURCE) $(DEP_CPP_AST_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_enum_val.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_EN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_enum_val.obj" : $(SOURCE) $(DEP_CPP_AST_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_EN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_enum_val.obj" : $(SOURCE) $(DEP_CPP_AST_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_exception.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_exception.obj" : $(SOURCE) $(DEP_CPP_AST_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_exception.obj" : $(SOURCE) $(DEP_CPP_AST_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_expression.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_EXP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_expression.obj" : $(SOURCE) $(DEP_CPP_AST_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_EXP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_expression.obj" : $(SOURCE) $(DEP_CPP_AST_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_field.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_F=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_field.obj" : $(SOURCE) $(DEP_CPP_AST_F) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_F=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_field.obj" : $(SOURCE) $(DEP_CPP_AST_F) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_generator.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_G=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_generator.obj" : $(SOURCE) $(DEP_CPP_AST_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_G=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_generator.obj" : $(SOURCE) $(DEP_CPP_AST_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_interface.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_interface.obj" : $(SOURCE) $(DEP_CPP_AST_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_interface.obj" : $(SOURCE) $(DEP_CPP_AST_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_interface_fwd.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_AST_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_AST_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_module.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_M=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_module.obj" : $(SOURCE) $(DEP_CPP_AST_M) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_M=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_module.obj" : $(SOURCE) $(DEP_CPP_AST_M) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_native.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_N=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_native.obj" : $(SOURCE) $(DEP_CPP_AST_N) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_N=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_native.obj" : $(SOURCE) $(DEP_CPP_AST_N) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_operation.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_O=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_operation.obj" : $(SOURCE) $(DEP_CPP_AST_O) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_O=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_operation.obj" : $(SOURCE) $(DEP_CPP_AST_O) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_predefined_type.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_P=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_predefined_type.obj" : $(SOURCE) $(DEP_CPP_AST_P) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_P=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_predefined_type.obj" : $(SOURCE) $(DEP_CPP_AST_P) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_recursive.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_R=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_recursive.obj" : $(SOURCE) $(DEP_CPP_AST_R) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_R=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_recursive.obj" : $(SOURCE) $(DEP_CPP_AST_R) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_redef.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_RE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_redef.obj" : $(SOURCE) $(DEP_CPP_AST_RE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_RE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_redef.obj" : $(SOURCE) $(DEP_CPP_AST_RE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_root.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_RO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_root.obj" : $(SOURCE) $(DEP_CPP_AST_RO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_RO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_root.obj" : $(SOURCE) $(DEP_CPP_AST_RO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_sequence.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_S=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_sequence.obj" : $(SOURCE) $(DEP_CPP_AST_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_S=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_sequence.obj" : $(SOURCE) $(DEP_CPP_AST_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_string.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_string.obj" : $(SOURCE) $(DEP_CPP_AST_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_string.obj" : $(SOURCE) $(DEP_CPP_AST_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_structure.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_STR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_structure.obj" : $(SOURCE) $(DEP_CPP_AST_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_STR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_structure.obj" : $(SOURCE) $(DEP_CPP_AST_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_type.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_T=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_type.obj" : $(SOURCE) $(DEP_CPP_AST_T) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_T=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_type.obj" : $(SOURCE) $(DEP_CPP_AST_T) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_typedef.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_TY=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_typedef.obj" : $(SOURCE) $(DEP_CPP_AST_TY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_TY=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_typedef.obj" : $(SOURCE) $(DEP_CPP_AST_TY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_union.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_U=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_union.obj" : $(SOURCE) $(DEP_CPP_AST_U) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_U=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_union.obj" : $(SOURCE) $(DEP_CPP_AST_U) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_union_branch.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_UN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_union_branch.obj" : $(SOURCE) $(DEP_CPP_AST_UN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_UN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_union_branch.obj" : $(SOURCE) $(DEP_CPP_AST_UN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\ast\ast_union_label.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_AST_UNI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\ast_union_label.obj" : $(SOURCE) $(DEP_CPP_AST_UNI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_AST_UNI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\ast_union_label.obj" : $(SOURCE) $(DEP_CPP_AST_UNI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_args.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_AR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_args.obj" : $(SOURCE) $(DEP_CPP_BE_AR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_AR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_args.obj" : $(SOURCE) $(DEP_CPP_BE_AR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_argument.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_ARG=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_argument.obj" : $(SOURCE) $(DEP_CPP_BE_ARG) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_ARG=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_argument.obj" : $(SOURCE) $(DEP_CPP_BE_ARG) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_array.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_ARR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_array.obj" : $(SOURCE) $(DEP_CPP_BE_ARR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_ARR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_array.obj" : $(SOURCE) $(DEP_CPP_BE_ARR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_attribute.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_AT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_AT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_AT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_AT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_codegen.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_CO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_codegen.obj" : $(SOURCE) $(DEP_CPP_BE_CO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_CO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_codegen.obj" : $(SOURCE) $(DEP_CPP_BE_CO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_constant.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_CON=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_constant.obj" : $(SOURCE) $(DEP_CPP_BE_CON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_CON=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_constant.obj" : $(SOURCE) $(DEP_CPP_BE_CON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_decl.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_DE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_decl.obj" : $(SOURCE) $(DEP_CPP_BE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_DE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_decl.obj" : $(SOURCE) $(DEP_CPP_BE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_enum.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_EN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_enum.obj" : $(SOURCE) $(DEP_CPP_BE_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_EN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_enum.obj" : $(SOURCE) $(DEP_CPP_BE_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_enum_val.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_ENU=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_enum_val.obj" : $(SOURCE) $(DEP_CPP_BE_ENU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_ENU=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_enum_val.obj" : $(SOURCE) $(DEP_CPP_BE_ENU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_exception.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_exception.obj" : $(SOURCE) $(DEP_CPP_BE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_exception.obj" : $(SOURCE) $(DEP_CPP_BE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_expression.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_EXP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_expression.obj" : $(SOURCE) $(DEP_CPP_BE_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_EXP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_expression.obj" : $(SOURCE) $(DEP_CPP_BE_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_factory.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_FA=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_sunsoft.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_factory.obj" : $(SOURCE) $(DEP_CPP_BE_FA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_FA=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_sunsoft.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_factory.obj" : $(SOURCE) $(DEP_CPP_BE_FA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_field.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_FI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_field.obj" : $(SOURCE) $(DEP_CPP_BE_FI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_FI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_field.obj" : $(SOURCE) $(DEP_CPP_BE_FI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_generator.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_GE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_generator.obj" : $(SOURCE) $(DEP_CPP_BE_GE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_GE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_generator.obj" : $(SOURCE) $(DEP_CPP_BE_GE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_helper.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_HE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_helper.obj" : $(SOURCE) $(DEP_CPP_BE_HE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_HE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_helper.obj" : $(SOURCE) $(DEP_CPP_BE_HE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_init.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_init.obj" : $(SOURCE) $(DEP_CPP_BE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_init.obj" : $(SOURCE) $(DEP_CPP_BE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_interface.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_INT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_interface.obj" : $(SOURCE) $(DEP_CPP_BE_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_INT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_interface.obj" : $(SOURCE) $(DEP_CPP_BE_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_interface_fwd.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_INTE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_BE_INTE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_INTE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_BE_INTE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_interpretive.cpp -DEP_CPP_BE_INTER=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_interpretive.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\be_include\be_visitor_root.h"\ - ".\be_include\be_visitor_sequence.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_interpretive.obj" : $(SOURCE) $(DEP_CPP_BE_INTER) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=.\be\be_module.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_MO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_module.obj" : $(SOURCE) $(DEP_CPP_BE_MO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_MO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_module.obj" : $(SOURCE) $(DEP_CPP_BE_MO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_native.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_NA=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_native.obj" : $(SOURCE) $(DEP_CPP_BE_NA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_NA=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_native.obj" : $(SOURCE) $(DEP_CPP_BE_NA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_operation.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_OP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_operation.obj" : $(SOURCE) $(DEP_CPP_BE_OP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_OP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_operation.obj" : $(SOURCE) $(DEP_CPP_BE_OP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_predefined_type.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_PR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_predefined_type.obj" : $(SOURCE) $(DEP_CPP_BE_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_PR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_predefined_type.obj" : $(SOURCE) $(DEP_CPP_BE_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_produce.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_PRO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_interpretive.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_produce.obj" : $(SOURCE) $(DEP_CPP_BE_PRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_PRO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_produce.obj" : $(SOURCE) $(DEP_CPP_BE_PRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_root.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_RO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_root.obj" : $(SOURCE) $(DEP_CPP_BE_RO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_RO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_root.obj" : $(SOURCE) $(DEP_CPP_BE_RO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_scope.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_SC=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_scope.obj" : $(SOURCE) $(DEP_CPP_BE_SC) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_SC=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_scope.obj" : $(SOURCE) $(DEP_CPP_BE_SC) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_sequence.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_SE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\be_include\be_visitor_sequence.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_SE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_SE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_SE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state.obj" : $(SOURCE) $(DEP_CPP_BE_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state.obj" : $(SOURCE) $(DEP_CPP_BE_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_argument.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STA=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_argument.obj" : $(SOURCE) $(DEP_CPP_BE_STA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STA=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_argument.obj" : $(SOURCE) $(DEP_CPP_BE_STA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_array.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STAT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_array.obj" : $(SOURCE) $(DEP_CPP_BE_STAT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STAT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_array.obj" : $(SOURCE) $(DEP_CPP_BE_STAT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_attribute.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_STATE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_STATE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_exception.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE_=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_exception.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE_=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_exception.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_operation.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE_O=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_operation.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_O)\ - "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE_O=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_operation.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_O)\ - "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_sequence.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE_S=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE_S=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_structure.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_ST)\ - "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_ST)\ - "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_typedef.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE_T=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_T) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE_T=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_T) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_state_union.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STATE_U=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_state_union.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_U) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STATE_U=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_state_union.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_U) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_string.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_string.obj" : $(SOURCE) $(DEP_CPP_BE_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_string.obj" : $(SOURCE) $(DEP_CPP_BE_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_structure.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_STRU=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STRU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_STRU=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STRU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_sunsoft.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_SU=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_sunsoft.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_sunsoft.obj" : $(SOURCE) $(DEP_CPP_BE_SU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_SU=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_sunsoft.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_sunsoft.obj" : $(SOURCE) $(DEP_CPP_BE_SU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_type.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_TY=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_type.obj" : $(SOURCE) $(DEP_CPP_BE_TY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_TY=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_type.obj" : $(SOURCE) $(DEP_CPP_BE_TY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_typedef.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_TYP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_TYP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_TYP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_TYP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_union.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_UN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_union.obj" : $(SOURCE) $(DEP_CPP_BE_UN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_UN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_union.obj" : $(SOURCE) $(DEP_CPP_BE_UN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_union_branch.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_UNI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_union_branch.obj" : $(SOURCE) $(DEP_CPP_BE_UNI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_UNI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_union_branch.obj" : $(SOURCE) $(DEP_CPP_BE_UNI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_union_label.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_BE_UNIO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_union_label.obj" : $(SOURCE) $(DEP_CPP_BE_UNIO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_BE_UNIO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\OS.h"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\be_union_label.obj" : $(SOURCE) $(DEP_CPP_BE_UNIO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\be\be_visitor.cpp -DEP_CPP_BE_VI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_visitor.obj" : $(SOURCE) $(DEP_CPP_BE_VI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=.\be\be_visitor_root.cpp -DEP_CPP_BE_VIS=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\be_include\be_visitor_root.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_visitor_root.obj" : $(SOURCE) $(DEP_CPP_BE_VIS) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=.\be\be_visitor_sequence.cpp -DEP_CPP_BE_VISI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\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\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\be_include\be.h"\ - ".\be_include\be_argument.h"\ - ".\be_include\be_array.h"\ - ".\be_include\be_attribute.h"\ - ".\be_include\be_codegen.h"\ - ".\be_include\be_constant.h"\ - ".\be_include\be_decl.h"\ - ".\be_include\be_enum.h"\ - ".\be_include\be_enum_val.h"\ - ".\be_include\be_exception.h"\ - ".\be_include\be_expression.h"\ - ".\be_include\be_factory.h"\ - ".\be_include\be_field.h"\ - ".\be_include\be_generator.h"\ - ".\be_include\be_helper.h"\ - ".\be_include\be_interface.h"\ - ".\be_include\be_interface_fwd.h"\ - ".\be_include\be_module.h"\ - ".\be_include\be_native.h"\ - ".\be_include\be_operation.h"\ - ".\be_include\be_predefined_type.h"\ - ".\be_include\be_root.h"\ - ".\be_include\be_scope.h"\ - ".\be_include\be_sequence.h"\ - ".\be_include\be_state.h"\ - ".\be_include\be_string.h"\ - ".\be_include\be_structure.h"\ - ".\be_include\be_type.h"\ - ".\be_include\be_typedef.h"\ - ".\be_include\be_union.h"\ - ".\be_include\be_union_branch.h"\ - ".\be_include\be_union_label.h"\ - ".\be_include\be_visitor.h"\ - ".\be_include\be_visitor_sequence.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\be_visitor_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_VISI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -SOURCE=.\driver\drv_args.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_DRV_A=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\drv_args.obj" : $(SOURCE) $(DEP_CPP_DRV_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_DRV_A=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\drv_args.obj" : $(SOURCE) $(DEP_CPP_DRV_A) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\driver\drv_fork.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_DRV_F=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Process.h"\ - "..\..\ace\Process.i"\ - "..\..\ace\Process_Manager.h"\ - "..\..\ace\Process_Manager.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\drv_fork.obj" : $(SOURCE) $(DEP_CPP_DRV_F) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_DRV_F=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\Process_Manager.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\drv_fork.obj" : $(SOURCE) $(DEP_CPP_DRV_F) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\driver\drv_init.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_DRV_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\drv_init.obj" : $(SOURCE) $(DEP_CPP_DRV_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_DRV_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\drv_init.obj" : $(SOURCE) $(DEP_CPP_DRV_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\driver\drv_link.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_DRV_L=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\drv_link.obj" : $(SOURCE) $(DEP_CPP_DRV_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_DRV_L=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\drv_link.obj" : $(SOURCE) $(DEP_CPP_DRV_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\driver\drv_preproc.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_DRV_P=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.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-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Process.h"\ - "..\..\ace\Process.i"\ - "..\..\ace\Process_Manager.h"\ - "..\..\ace\Process_Manager.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.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\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\drv_preproc.obj" : $(SOURCE) $(DEP_CPP_DRV_P) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_DRV_P=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\Process_Manager.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\drv_preproc.obj" : $(SOURCE) $(DEP_CPP_DRV_P) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\driver\drv_private.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_DRV_PR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\drv_private.obj" : $(SOURCE) $(DEP_CPP_DRV_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_DRV_PR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\drv_private.obj" : $(SOURCE) $(DEP_CPP_DRV_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\fe_declarator.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_FE_DE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\fe_declarator.obj" : $(SOURCE) $(DEP_CPP_FE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_FE_DE=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\fe_declarator.obj" : $(SOURCE) $(DEP_CPP_FE_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\fe_extern.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_FE_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\fe_extern.obj" : $(SOURCE) $(DEP_CPP_FE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_FE_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\fe_extern.obj" : $(SOURCE) $(DEP_CPP_FE_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\fe_init.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_FE_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\fe_init.obj" : $(SOURCE) $(DEP_CPP_FE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_FE_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\fe_init.obj" : $(SOURCE) $(DEP_CPP_FE_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\fe_interface_header.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_FE_INT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\fe_interface_header.obj" : $(SOURCE) $(DEP_CPP_FE_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_FE_INT=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\fe_interface_header.obj" : $(SOURCE) $(DEP_CPP_FE_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\fe_private.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_FE_PR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\fe_private.obj" : $(SOURCE) $(DEP_CPP_FE_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_FE_PR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\fe_private.obj" : $(SOURCE) $(DEP_CPP_FE_PR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\lex.yy.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_LEX_Y=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\fe\y.tab.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\lex.yy.obj" : $(SOURCE) $(DEP_CPP_LEX_Y) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_LEX_Y=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\fe\y.tab.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\lex.yy.obj" : $(SOURCE) $(DEP_CPP_LEX_Y) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\narrow\narrow.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_NARRO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\narrow.obj" : $(SOURCE) $(DEP_CPP_NARRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_NARRO=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\narrow.obj" : $(SOURCE) $(DEP_CPP_NARRO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\tao_idl.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_TAO_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\tao_idl.obj" : $(SOURCE) $(DEP_CPP_TAO_I) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_TAO_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\drv_link.h"\ - ".\include\drv_private.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\tao_idl.obj" : $(SOURCE) $(DEP_CPP_TAO_I) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\util\utl_decllist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_D=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_decllist.obj" : $(SOURCE) $(DEP_CPP_UTL_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_D=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_decllist.obj" : $(SOURCE) $(DEP_CPP_UTL_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_error.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_E=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_error.obj" : $(SOURCE) $(DEP_CPP_UTL_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_E=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_error.obj" : $(SOURCE) $(DEP_CPP_UTL_E) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_exceptlist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_exceptlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_EX=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_exceptlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_exprlist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_EXP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_exprlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_EXP=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_exprlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EXP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_global.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_G=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_global.obj" : $(SOURCE) $(DEP_CPP_UTL_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_G=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_global.obj" : $(SOURCE) $(DEP_CPP_UTL_G) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_identifier.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_identifier.obj" : $(SOURCE) $(DEP_CPP_UTL_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_I=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_identifier.obj" : $(SOURCE) $(DEP_CPP_UTL_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_idlist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_ID=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_idlist.obj" : $(SOURCE) $(DEP_CPP_UTL_ID) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_ID=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_idlist.obj" : $(SOURCE) $(DEP_CPP_UTL_ID) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_indenter.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_indenter.obj" : $(SOURCE) $(DEP_CPP_UTL_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_IN=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_indenter.obj" : $(SOURCE) $(DEP_CPP_UTL_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_labellist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_L=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_labellist.obj" : $(SOURCE) $(DEP_CPP_UTL_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_L=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_labellist.obj" : $(SOURCE) $(DEP_CPP_UTL_L) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_list.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_LI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_list.obj" : $(SOURCE) $(DEP_CPP_UTL_LI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_LI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_list.obj" : $(SOURCE) $(DEP_CPP_UTL_LI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_namelist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_N=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_namelist.obj" : $(SOURCE) $(DEP_CPP_UTL_N) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_N=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_namelist.obj" : $(SOURCE) $(DEP_CPP_UTL_N) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_scope.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_S=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_scope.obj" : $(SOURCE) $(DEP_CPP_UTL_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_S=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_scope.obj" : $(SOURCE) $(DEP_CPP_UTL_S) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_stack.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_stack.obj" : $(SOURCE) $(DEP_CPP_UTL_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_ST=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_stack.obj" : $(SOURCE) $(DEP_CPP_UTL_ST) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_string.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_STR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_string.obj" : $(SOURCE) $(DEP_CPP_UTL_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_STR=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_string.obj" : $(SOURCE) $(DEP_CPP_UTL_STR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\util\utl_strlist.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_UTL_STRL=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\utl_strlist.obj" : $(SOURCE) $(DEP_CPP_UTL_STRL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_UTL_STRL=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_extern.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\utl_strlist.obj" : $(SOURCE) $(DEP_CPP_UTL_STRL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -SOURCE=.\fe\y.tab.cpp - -!IF "$(CFG)" == "tao_idl - Win32 Release" - -DEP_CPP_Y_TAB=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\y.tab.obj" : $(SOURCE) $(DEP_CPP_Y_TAB) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug" - -DEP_CPP_Y_TAB=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\streams.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - ".\include\ast.h"\ - ".\include\ast_argument.h"\ - ".\include\ast_array.h"\ - ".\include\ast_attribute.h"\ - ".\include\ast_concrete_type.h"\ - ".\include\ast_constant.h"\ - ".\include\ast_decl.h"\ - ".\include\ast_enum.h"\ - ".\include\ast_enum_val.h"\ - ".\include\ast_exception.h"\ - ".\include\ast_expression.h"\ - ".\include\ast_extern.h"\ - ".\include\ast_field.h"\ - ".\include\ast_generator.h"\ - ".\include\ast_interface.h"\ - ".\include\ast_interface_fwd.h"\ - ".\include\ast_module.h"\ - ".\include\ast_native.h"\ - ".\include\ast_operation.h"\ - ".\include\ast_predefined_type.h"\ - ".\include\ast_root.h"\ - ".\include\ast_sequence.h"\ - ".\include\ast_string.h"\ - ".\include\ast_structure.h"\ - ".\include\ast_type.h"\ - ".\include\ast_typedef.h"\ - ".\include\ast_union.h"\ - ".\include\ast_union_branch.h"\ - ".\include\ast_union_label.h"\ - ".\include\be_extern.h"\ - ".\include\drv_extern.h"\ - ".\include\fe_declarator.h"\ - ".\include\fe_extern.h"\ - ".\include\fe_interface_header.h"\ - ".\include\fe_private.h"\ - ".\include\global_extern.h"\ - ".\include\idl.h"\ - ".\include\idl_bool.h"\ - ".\include\idl_defines.h"\ - ".\include\idl_extern.h"\ - ".\include\idl_fwd.h"\ - ".\include\idl_global.h"\ - ".\include\idl_narrow.h"\ - ".\include\intlmacros.h"\ - ".\include\nr_extern.h"\ - ".\include\util.h"\ - ".\include\utl_decllist.h"\ - ".\include\utl_error.h"\ - ".\include\utl_exceptlist.h"\ - ".\include\utl_exprlist.h"\ - ".\include\utl_identifier.h"\ - ".\include\utl_idlist.h"\ - ".\include\utl_indenter.h"\ - ".\include\utl_labellist.h"\ - ".\include\utl_list.h"\ - ".\include\utl_namelist.h"\ - ".\include\utl_scope.h"\ - ".\include\utl_scoped_name.h"\ - ".\include\utl_stack.h"\ - ".\include\utl_string.h"\ - ".\include\utl_strlist.h"\ - - -"$(INTDIR)\y.tab.obj" : $(SOURCE) $(DEP_CPP_Y_TAB) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - - -!ENDIF - diff --git a/TAO/TAO_IDL/tao_idl.cpp b/TAO/TAO_IDL/tao_idl.cpp deleted file mode 100644 index 9cd81643878..00000000000 --- a/TAO/TAO_IDL/tao_idl.cpp +++ /dev/null @@ -1,256 +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. - - */ - -/* -** 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" - -static void -DRV_version() -{ - cerr << idl_global->prog_name() - << GTDEVEL(", 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(char *s) -{ - char *fn; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (fn); - - // 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)(); - exit((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 - */ - 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(); - exit(0); - } - /* - * If a usage message is requested, give it and exit - */ - if (idl_global->compile_flags() & IDL_CF_ONLY_USAGE) { - DRV_usage(); - 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]); - } - 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 e84168a38b6..00000000000 --- a/TAO/TAO_IDL/tao_idl.dsp +++ /dev/null @@ -1,1067 +0,0 @@ -# Microsoft Developer Studio Project File - Name="tao_idl" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=tao_idl - 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 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "tao_idl - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "tao_idl - 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_idl - 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 "include" /I "be_include" /I "..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\" /YX /FD /D CPP_LOCATION="\"$(CPP_PATH)\\cl\"" /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 /nologo /subsystem:console /machine:I386 /libpath:"../../ace" - -!ELSEIF "$(CFG)" == "tao_idl - 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 "include" /I "be_include" /I "..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\" /FD /D CPP_LOCATION="\"$(CPP_PATH)\\cl\"" /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 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "tao_idl - Win32 Release" -# Name "tao_idl - 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_factory.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_interpretive.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_state.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_argument.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_array.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_attribute.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_exception.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_operation.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_sequence.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_structure.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_typedef.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_state_union.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_visitor.cpp -# End Source File -# Begin Source File - -SOURCE=.\be\be_visitor_args.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_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_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=.\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_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_factory.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_interpretive.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_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_visitor.h -# End Source File -# Begin Source File - -SOURCE=.\be_include\be_visitor_args.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_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_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=.\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 6951f0b2106..00000000000 --- a/TAO/TAO_IDL/tao_idl.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "tao_idl"=.\tao_idl.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/TAO/TAO_IDL/util/Makefile b/TAO/TAO_IDL/util/Makefile deleted file mode 100644 index f4db89f026a..00000000000 --- a/TAO/TAO_IDL/util/Makefile +++ /dev/null @@ -1,719 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libutil -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libtao_idl_util -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of - -UTIL_FILES = \ - utl_scope \ - utl_stack \ - utl_string \ - utl_decllist \ - utl_labellist \ - utl_namelist \ - utl_exceptlist \ - utl_strlist \ - utl_list \ - utl_exprlist \ - utl_error \ - utl_indenter \ - utl_identifier \ - utl_idlist \ - utl_global - -FILES = $(UTIL_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# 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 targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -$(LOBJS): $(LHDRS) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/utl_scope.o .obj/utl_scope.so .shobj/utl_scope.o .shobj/utl_scope.so: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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: 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.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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.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 ../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 - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/util/utl_decllist.cpp b/TAO/TAO_IDL/util/utl_decllist.cpp deleted file mode 100644 index c5127550b57..00000000000 --- a/TAO/TAO_IDL/util/utl_decllist.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_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" - -/* - * 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 bbc38947132..00000000000 --- a/TAO/TAO_IDL/util/utl_err.cpp +++ /dev/null @@ -1,700 +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. - - */ - -// utl_error.cc - Implementation of error reporting object for IDL -// compiler program - -#include "idl.h" -#include "idl_extern.h" - -/* - * 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 char * -static 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 raises(..) clause, "); - case UTL_Error::EIDL_ILLEGAL_CONTEXT: - return GTDEVEL("error in context(..) clause, "); - case UTL_Error::EIDL_CANT_INHERIT: - return GTDEVEL("cannot inherit from "); - 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 used with two differing spellings: "); - 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, 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 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 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"); - - 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, d->line(), d->file_name()); - cerr << " interface "; - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from "); - d->dump(cerr); - cerr << "\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); -} - -// 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, 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 bbc38947132..00000000000 --- a/TAO/TAO_IDL/util/utl_error.cpp +++ /dev/null @@ -1,700 +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. - - */ - -// utl_error.cc - Implementation of error reporting object for IDL -// compiler program - -#include "idl.h" -#include "idl_extern.h" - -/* - * 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 char * -static 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 raises(..) clause, "); - case UTL_Error::EIDL_ILLEGAL_CONTEXT: - return GTDEVEL("error in context(..) clause, "); - case UTL_Error::EIDL_CANT_INHERIT: - return GTDEVEL("cannot inherit from "); - 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 used with two differing spellings: "); - 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, 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 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 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"); - - 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, d->line(), d->file_name()); - cerr << " interface "; - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from "); - d->dump(cerr); - cerr << "\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); -} - -// 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, 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 9d55984cfb9..00000000000 --- a/TAO/TAO_IDL/util/utl_exceptlist.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. - - */ - -// 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" - -/* - * 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 aa65055ac0a..00000000000 --- a/TAO/TAO_IDL/util/utl_exprlist.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. - - */ - -// 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" - -/* - * 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 47000d73351..00000000000 --- a/TAO/TAO_IDL/util/utl_global.cpp +++ /dev/null @@ -1,616 +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. - - */ - -// utl_global.cc - Implementation of class IDL_GlobalData -// - -#include "idl.h" -#include "idl_extern.h" - -// 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() - : pd_scopes(NULL), - pd_root(NULL), - pd_gen(NULL), - pd_err(NULL), - pd_err_count(0), - pd_lineno(0), - pd_filename(NULL), - pd_main_filename(NULL), - pd_real_filename(NULL), - pd_in_main_file(I_FALSE), - pd_prog_name(NULL), - pd_cpp_location(NULL), - pd_compile_flags(0), - pd_be(NULL), - pd_local_escapes(NULL), - pd_indent(NULL), - pd_pragmas(NULL), - pd_read_from_stdin(I_FALSE), - pd_include_file_names(NULL), - pd_n_include_file_names(0), - pd_n_alloced_file_names(0), - pd_parse_state(PS_NoState), - pd_idl_src_file (0), - export_macro_ (0), - export_include_ (0) -{ - // empty -} - -// Get or set scopes stack -UTL_ScopeStack * -IDL_GlobalData::scopes() -{ - return pd_scopes; -} -void -IDL_GlobalData::set_scopes(UTL_ScopeStack *s) -{ - pd_scopes = s; -} - -// Get or set root of AST -AST_Root * -IDL_GlobalData::root() -{ - return pd_root; -} -void -IDL_GlobalData::set_root(AST_Root *r) -{ - pd_root = r; -} - -// Get or set generator object -AST_Generator * -IDL_GlobalData::gen() -{ - return pd_gen; -} -void -IDL_GlobalData::set_gen(AST_Generator *g) -{ - pd_gen = g; -} - -// Get or set error object -UTL_Error * -IDL_GlobalData::err() -{ - return pd_err; -} -void -IDL_GlobalData::set_err(UTL_Error *e) -{ - pd_err = e; -} - -// Get or set error count -long -IDL_GlobalData::err_count() -{ - return pd_err_count; -} -void -IDL_GlobalData::set_err_count(long c) -{ - pd_err_count = c; -} - -// Get or set line number -long -IDL_GlobalData::lineno() -{ - return pd_lineno; -} -void -IDL_GlobalData::set_lineno(long n) -{ - pd_lineno = n; -} - -// Get or set file name being read now -String * -IDL_GlobalData::filename() -{ - return pd_filename; -} -void -IDL_GlobalData::set_filename(String *f) -{ - pd_filename = f; -} - -// Get or set main file name -String * -IDL_GlobalData::main_filename() -{ - return pd_main_filename; -} -void -IDL_GlobalData::set_main_filename(String *n) -{ - pd_main_filename = n; -} - -// Get or set real file name -String * -IDL_GlobalData::real_filename() -{ - return pd_real_filename; -} -void -IDL_GlobalData::set_real_filename(String *n) -{ - pd_real_filename = n; -} - -// Get or set indicator whether import is on -idl_bool -IDL_GlobalData::imported() -{ - return pd_in_main_file ? I_FALSE : pd_import; -} -idl_bool -IDL_GlobalData::import() -{ - return pd_import; -} -void -IDL_GlobalData::set_import(idl_bool is_in) -{ - pd_import = is_in; -} - -// Get or set indicator whether we're reading the main file now -idl_bool -IDL_GlobalData::in_main_file() -{ - return pd_in_main_file; -} -void -IDL_GlobalData::set_in_main_file(idl_bool is_in) -{ - pd_in_main_file = is_in; -} - -// Get or set stripped file name -String * -IDL_GlobalData::stripped_filename() -{ - return pd_stripped_filename; -} -void -IDL_GlobalData::set_stripped_filename(String *nm) -{ - pd_stripped_filename = nm; -} - -// Get or set cache value for argv[0] -char * -IDL_GlobalData::prog_name() -{ - return pd_prog_name; -} -void -IDL_GlobalData::set_prog_name(char *pn) -{ - pd_prog_name = pn; -} - -// Get or set location to find C preprocessor -char * -IDL_GlobalData::cpp_location() -{ - return pd_cpp_location; -} -void -IDL_GlobalData::set_cpp_location(char *l) -{ - pd_cpp_location = l; -} - -// Get or set IDL compiler flags -long -IDL_GlobalData::compile_flags() -{ - return pd_compile_flags; -} -void -IDL_GlobalData::set_compile_flags(long cf) -{ - pd_compile_flags = cf; -} - -// Get or set BE to be used -char * -IDL_GlobalData::be() -{ - return pd_be; -} -void -IDL_GlobalData::set_be(char *nbe) -{ - pd_be = nbe; -} - -// Get or set local escapes string. This provides additional mechanism -// to pass information to a BE. -char * -IDL_GlobalData::local_escapes() -{ - return pd_local_escapes; -} -void -IDL_GlobalData::set_local_escapes(char *e) -{ - pd_local_escapes = e; -} - -// Get or set indent object -UTL_Indenter * -IDL_GlobalData::indent() -{ - return pd_indent; -} -void -IDL_GlobalData::set_indent(UTL_Indenter *i) -{ - pd_indent = i; -} - -// Get or set list of pragmas being parsed -UTL_StrList * -IDL_GlobalData::pragmas() -{ - UTL_StrList *p = pd_pragmas; - - pd_pragmas = NULL; - return p; -} -void -IDL_GlobalData::set_pragmas(UTL_StrList *p) -{ - pd_pragmas = p; -} - -// Get or set indicator whether we're reading from stdin -idl_bool -IDL_GlobalData::read_from_stdin() -{ - return pd_read_from_stdin; -} -void -IDL_GlobalData::set_read_from_stdin(idl_bool r) -{ - pd_read_from_stdin = r; -} - -// Have we seen this include file name before? -long -IDL_GlobalData::seen_include_file_before(String *n) -{ - unsigned long i; - - for (i = 0; i < pd_n_include_file_names; i++) - if (n->compare(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(String *n) -{ - 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 (pd_n_include_file_names == pd_n_alloced_file_names) { - if (pd_n_alloced_file_names == 0) { - pd_n_alloced_file_names = INCREMENT; - pd_include_file_names = new String *[pd_n_alloced_file_names]; - } else { - o_include_file_names = pd_include_file_names; - o_n_alloced_file_names = pd_n_alloced_file_names; - pd_n_alloced_file_names += INCREMENT; - pd_include_file_names = new String *[pd_n_alloced_file_names]; - for (i = 0; i < o_n_alloced_file_names; i++) - pd_include_file_names[i] = o_include_file_names[i]; - delete [] o_include_file_names; - } - } - /* - * Store it - */ - pd_include_file_names[pd_n_include_file_names++] = n; -} - -void -IDL_GlobalData::set_include_file_names(String **ns) -{ - pd_include_file_names = ns; -} - -String ** -IDL_GlobalData::include_file_names() -{ - return 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; -} - -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_float: - return AST_Expression::EV_float; - case AST_PredefinedType::PT_double: - return AST_Expression::EV_double; - case AST_PredefinedType::PT_char: - return AST_Expression::EV_char; - case AST_PredefinedType::PT_octet: - return AST_Expression::EV_octet; - case AST_PredefinedType::PT_boolean: - return AST_Expression::EV_bool; - default: - return AST_Expression::EV_any; - } -} - -// returns the IDL source file being copiled -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(String *s) -{ - this->pd_idl_src_file = s; -} - -/************ Helper functions **************/ -static const char* -be_change_idl_file_extension (String* idl_file, - const char *new_extension) -{ - // @@ 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[MAXNAMELEN]; - ACE_OS::memset (fname, 0, MAXNAMELEN); - - const char* string = idl_file->get_string (); - - // get the base part of the filename - const char *base = ACE_OS::strstr (string, ".idl"); - - if (base == 0) - return 0; - - 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; - ACE_OS::strcat (fname, new_extension); - return fname; -} - -const char * -IDL_GlobalData::be_get_client_hdr (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "C.h"); -} - -const char * -IDL_GlobalData::be_get_client_stub (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "C.cpp"); -} - -const char * -IDL_GlobalData::be_get_client_inline (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "C.i"); -} - -const char * -IDL_GlobalData::be_get_server_hdr (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "S.h"); -} - -const char * -IDL_GlobalData::be_get_server_skeleton (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "S.cpp"); -} - -const char * -IDL_GlobalData::be_get_server_inline (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "S.i"); -} - -const char * -IDL_GlobalData::be_get_client_hdr_fname () -{ - return be_get_client_hdr (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_client_stub_fname () -{ - return be_get_client_stub (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_client_inline_fname () -{ - return be_get_client_inline (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_server_hdr_fname () -{ - return be_get_server_hdr (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_server_skeleton_fname () -{ - return be_get_server_skeleton (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_server_inline_fname () -{ - return be_get_server_inline (idl_global->idl_src_file ()); -} - -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_; -} - -void IDL_GlobalData::export_include (const char *s) -{ - this->export_include_ = ACE_OS::strdup (s); -} - diff --git a/TAO/TAO_IDL/util/utl_identifier.cpp b/TAO/TAO_IDL/util/utl_identifier.cpp deleted file mode 100644 index 750810be112..00000000000 --- a/TAO/TAO_IDL/util/utl_identifier.cpp +++ /dev/null @@ -1,120 +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. - - */ - -// utl_identifier - Implementation of identifiers - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructors - */ - -Identifier::Identifier () - : pv_string (NULL) -{ -} - -Identifier::Identifier (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; -} - -// 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 6c06ab18903..00000000000 --- a/TAO/TAO_IDL/util/utl_idlist.cpp +++ /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. - - */ - -// 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" - -/* - * 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 0ebbdf7899d..00000000000 --- a/TAO/TAO_IDL/util/utl_indenter.cpp +++ /dev/null @@ -1,131 +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. - - */ - -// utl_indenter.cc - Implementation of indenter for dumping IDL AST -// - -#include "idl.h" -#include "idl_extern.h" - -/* - * 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 43bc82a89cb..00000000000 --- a/TAO/TAO_IDL/util/utl_labellist.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. - - */ - -// 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" - -/* - * 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 b6eb1dd16f4..00000000000 --- a/TAO/TAO_IDL/util/utl_list.cpp +++ /dev/null @@ -1,195 +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. - - */ - -// 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" - -/* - * 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 63bc96cdc4d..00000000000 --- a/TAO/TAO_IDL/util/utl_namelist.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. - - */ - -// 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" - -/* - * 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 f3428bff74a..00000000000 --- a/TAO/TAO_IDL/util/utl_scope.cpp +++ /dev/null @@ -1,1204 +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. - - */ - -/* - * utl_scope.cc - Implementation of class UTL_Scope - */ - -#include "idl.h" -#include "idl_extern.h" - -#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; - char *s; - - if (i == NULL) return comp_result; - s = i->get_string(); - - 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) -{ - Identifier *s; - AST_Typedef *td; - UTL_IdListActiveIterator *i; - UTL_Scope *sc; - - 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(); - /* - * Next component in name was not found - */ - if (d == NULL) { - 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) - return NULL; - d = td->base_type(); - } - if (d == NULL) - return NULL; - } - /* - * Try to convert the AST_Decl to a UTL_Scope - */ - sc = DeclAsScope(d); - if (sc == NULL) - return NULL; - /* - * Look up the next element - */ - d = sc->lookup_by_name_local(s, treat_as_ref); - } - /* - * OK, done with the loop - */ - 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_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. Stop when you find it - */ - for (nis = i->n_inherits(), is = i->inherits(); nis > 0; nis--, is++) { - d = (*is)->lookup_by_name(e, treat_as_ref); - if (d != NULL) - return d; - } - /* - * Not found - */ - return NULL; -} - -/* - * Look up a String * in local scope only - */ -AST_Decl * -UTL_Scope::lookup_by_name_local(Identifier *e, idl_bool) -{ - 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(); - if (d->local_name() != NULL && d->local_name()->compare(e)) { - 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; - } - i->next(); - } - /* - * 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) -{ - 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? - */ - d = lookup_by_name_local(e->head(), treat_as_ref); - if (d == NULL) { - /* - * 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); - } - /* - * Special case for scope which is an interface. We have to look - * in the inherited interfaces as well.. - */ - if (d == NULL) { - if (pd_scope_node_type == AST_Decl::NT_interface) - d = look_in_inherited(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); - /* - * 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); - /* - * 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 - */ - return d; -} - -// 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 5c6ef85cbd2..00000000000 --- a/TAO/TAO_IDL/util/utl_stack.cpp +++ /dev/null @@ -1,255 +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. - - */ - -/* - * utl_stack.cc - Implementation of class UTL_ScopeStack - */ - -#include "idl.h" -#include "idl_extern.h" - -// 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() -{ - UTL_Scope *s; - - if (pd_stack_top <= 0) - return; - s = pd_stack_data[--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 10cc46830a7..00000000000 --- a/TAO/TAO_IDL/util/utl_string.cpp +++ /dev/null @@ -1,210 +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. - - */ - -// utl_string.cc - Implementation of quick and dirty TEMPORARY String -// for IDL compiler - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructors - */ - -UTL_String::UTL_String (void) - : p_str (NULL), - len (0), - alloced (0) -{ -} - -UTL_String::UTL_String (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) - idl_global->err ()->name_case_error (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 d2aac678822..00000000000 --- a/TAO/TAO_IDL/util/utl_strlist.cpp +++ /dev/null @@ -1,196 +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" - -/* - * Constructor(s) - */ - -UTL_StrList::UTL_StrList(String *s, UTL_StrList *cdr) - : UTL_List(cdr), - pd_car_data(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -String * -UTL_StrList::head() -{ - return pd_car_data; -} - -// Set list item -void -UTL_StrList::set_head(String *s) -{ - pd_car_data = s; -} - -// Get last item of this list -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 -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 2652f24a7c7..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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 323c316756a..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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 333f2506774..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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 e4f0b0a8291..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp +++ /dev/null @@ -1,135 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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 9d285e036f5..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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 61effde260e..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp +++ /dev/null @@ -1,209 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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 0a5f97d3147..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - *====================================================================== - * - *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 - -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 3311b089d79..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/* - *====================================================================== - * - *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 - -/* - * 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/VCAUTO.MAK b/TAO/VCAUTO.MAK deleted file mode 100644 index ca7cb555dca..00000000000 --- a/TAO/VCAUTO.MAK +++ /dev/null @@ -1,5 +0,0 @@ -# TAO/ - -DIR_LIST = TAO.dir tao_idl.dir tests.dir - -!INCLUDE <$(ACE_ROOT)\include\makeinclude\VC50_DIR.MAK> diff --git a/TAO/VERSION b/TAO/VERSION deleted file mode 100644 index 4f24618e699..00000000000 --- a/TAO/VERSION +++ /dev/null @@ -1,5 +0,0 @@ -This is TAO version 0.1.7, released Sat Mar 07 12:14:58 1998. - -If you have any problems with TAO, please send email to Douglas -C. Schmidt (schmidt@cs.wustl.edu) and Chris Cleeland -(cleeland@cs.wustl.edu). 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/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/Options.html b/TAO/docs/Options.html deleted file mode 100644 index e341ef30f7f..00000000000 --- a/TAO/docs/Options.html +++ /dev/null @@ -1,207 +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 to them. These -options are commonly specified as strings (e.g., passed on -the command-line) and are passed to component initialization methods -for consumption.

- -

Programmer's Note: the internal structure for these -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.

- -

Types of Options

- -

Roadmap

- -
-

The following components can be tuned via options:

- - -
- -

Options

- -
-

CORBA::ORB

- -
-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescription
-ORBsvcconf config file nameSpecifies the name of the file from which it will read dynamic service configuration -directives ala ACE's Service Configurator.
-ORBdaemonSpecifies that the ORB should daemonize itself.
-ORBdebugTurns on the output of debugging messages within ACE's Service Configurator -componentry.
-ORBhost hostnameTells the Object Adapter to listen for requests on the interface associated -with the host named hostname.
-ORBport portspecTells the Object Adapter to listen for requests on the port specified by -portspec, which can be a name as found in /etc/services -or a number. The default is 10013.
-ORBobjrefstyle whichSpecifies the user-visible style of object references. The range of values -is IOR, which is the traditional nonsensical object reference, -or URL, which looks more like a URL.
-ORBobjdemux demux_methodSpecifies the method used to demultiplex to an object. The range of values -is dynamic, linear, active, or user.
-ORBtablesize object table sizeSpecifies the size of the object table as a positive, non-zero integer. -If not specified, the default is 64.
-ORBrcvsock receive buffer sizeSpecify the size of the socket receive buffer as a positive, non-zero integer. -If not specified, the system-dependent default is used.
-ORBsndsock send buffer sizeSpecify the size of the socket send buffer as a positive, non-zero integer. -If not specified, the system-dependent default is used.
-ORBnameserviceport portspecSpecifies which port the Naming Service is listening on.
-ORBnameserviceior iorSpecifies the IOR for the Naming Service.
-ORBpreconnect host:port[,host:port...]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.
-

-
- -

CORBA::POA

- -
-

- - - - - - -
OptionDescription
-OAid OA IdentifierAssociates OA Identifier with the Object Adapter.
-

-
- -

TAO_Resource_Factory

- -
-

- - - - - - - - - -
OptionDescription
-ORBresources whichSpecify whether each thread uses a global -(which = global) or a thread-specific -(which = tss) instance for the resources it returns.
-ORBpoa whichSpecify whether each thread uses a global -(which = global) or a thread-specific -(which = tss) instance for the Root POA.
-

-
- -

TAO_Default_Server_Strategy_Factory

- -
-

- - - - - - - - - - - - - - - - - - - - - -
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.
-ORBtablesize object table sizeSpecify the size of the object table. If not specified, the default value -is 64.
-ORBdemuxstrategy demultiplexing strategySpecify the demultiplexing lookup strategy. The demultiplexing strategy -can be one of dynamic, linear, active, -or user.
-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.
-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 -null.
-ORBpoamgrlock lock typeSpecify the type of lock to be used for -POA Manager 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 -null.
-

-
- -

TAO_Default_Client_Strategy_Factory

- -
-

There are currently no options for the TAO_Default_Client_Strategy_Factory.

-
-
- -


-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/compiler.html b/TAO/docs/compiler.html deleted file mode 100644 index 474f3467fe1..00000000000 --- a/TAO/docs/compiler.html +++ /dev/null @@ -1,119 +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 IDL. -

- -

Generated Files

- -

- 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. -

- -

- Both clients and servers should link against the object files - for the stubs and skeletons, - this is needed to transparently support collocated objects. -

- -

Options

- -

- The 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); - but also receives other options that are specific to it. -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDescription
-VThe compiler printouts its version and exits
-Wb,option_list - Pass options to the backend.
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. -
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. -
-EOnly invoke the preprocessor
-Wp,option_list - Pass 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
-

- -
-
Carlos O'Ryan
- - diff --git a/TAO/docs/components.html b/TAO/docs/components.html deleted file mode 100644 index 9e782b2709a..00000000000 --- a/TAO/docs/components.html +++ /dev/null @@ -1,39 +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.

    - -

- - -


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

Configuring TAO's Components

- -

Overview

-
-

As described in the options - documentation, various components in TAO can be "tuned" by specifying - options for those components. Here we present some examples of how to - combine these options to achieve certain effects on ORB operations.

-
- -

Where Are Options Specified?

-
-

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

-
- - -

Roadmap

- -
-

Details for the following configurations are provided.

- - - -

Each configuration has the following information:

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Typical UseA brief description of the scenario and its typical use.
Number ThreadsThe number of threads used by ORB-related activities.
Thread CreatorIdentifies the creator of the threads discussed above.
Resource LocationWhere information on various resources is stored.
Thread taskDescribes what task is undertaken for each thread.
OptionsSpecifies the options for each service in order to utilize this configuration.
-

- -
- -

Configurations

- -
- -

Single-threaded, reactive model.

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Typical Use - This is definitely the most common use of an ORB in a - server situation, where there is a single thread handling - requests from multiple clients. -
Number Threads1
Thread CreatorOperating System or whoever creates the main thread in a process.
Resource LocationResources are stored process-wide.
Thread taskThe single thread processes all connection requests and CORBA messages.
Options - TAO_Resource_Manager: -ORBresources global
- TAO_Server_Strategy_Factory: -ORBconcurrency reactive -
-

- -

Multiple threads, thread-per-connection model.

- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Typical UseA brief description of the scenario and its typical use.
Number ThreadsThe number of threads used by ORB-related activities.
Thread CreatorIdentifies the creator of the threads discussed above.
Resource LocationWhere information on various resources is stored.
Thread taskDescribes what task is undertaken for each thread.
-

- -

Multiple threads, orb-per-thread model.

- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Typical UseA brief description of the scenario and its typical use.
Number ThreadsThe number of threads used by ORB-related activities.
Thread CreatorIdentifies the creator of the threads discussed above.
Resource LocationWhere information on various resources is stored.
Thread taskDescribes what task is undertaken for each thread.
-

- -

Multiple threads, orb-per-thread, thread-per-connection.

- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Typical UseA brief description of the scenario and its typical use.
Number ThreadsThe number of threads used by ORB-related activities.
Thread CreatorIdentifies the creator of the threads discussed above.
Resource LocationWhere information on various resources is stored.
Thread taskDescribes what task is undertaken for each thread.
-

- -
- - - -


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


-

TAO Documentation

- -
- - - -
-
-
Technical Overview

-

Component Configuration

- -

TAO IDL Compiler Options

- -

Release Notes

- -

POA Migration Notes

- -

Event Service Tutorial

-

-
-
- - -


-Back to the TAO home page. - - - - - - diff --git a/TAO/docs/orbsvcs.html b/TAO/docs/orbsvcs.html deleted file mode 100644 index c0e84f6bd04..00000000000 --- a/TAO/docs/orbsvcs.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - TAO Services Documentation - - - -

TAO 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 in:

- -

-#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 also. -

- -

In the future we intend to use ACE Service Configurator to give - the users control over servant collocation. - 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 require several - files we have given a different directory to each service; - for instance Naming Service is in - $TAO_ROOT/orbsvcs/orbsvcs/Naming. - This structure could also simplify a future split into several - libraries (if it proves necessary).

- -

Please note that in this revision we still have a separate - binary for each service, - once the complete support for ACE Service Configurator is included - we will probably have a single server, - much like in $ACE_ROOT/netsvcs.

- -

Finally some test are located in - $TAO_ROOT/orbsvcs/tests, - since most tests require several files each one has its own - directory.

- -

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 220792a0241..00000000000 --- a/TAO/docs/poa_migration.html +++ /dev/null @@ -1,44 +0,0 @@ -Migrating from BOA to POA - -Client side: -
    -
  • Very little has changed, and some have not needed any changes.
  • -
  • You'll have to insure that the Makefile includes .o's for both the server -and client; this is necessary to support collocation.
  • -
- -Server side: -
  • POA_init() is replaced with resolve_initial_references("RootPOA") followed -by a _narrow operation.
  • The implementation no longer inherits from the client-side stub; 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 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 which have to change and I -didn't note them, please send them to me. Perhaps we can work together on the -ultimate migration document. - 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/ec.html b/TAO/docs/releasenotes/ec.html deleted file mode 100644 index 599810c899b..00000000000 --- a/TAO/docs/releasenotes/ec.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - Event Service Status - - - -
    -

    Event Service Status

    - Point of contact: Carlos O'Ryan -
    - -

    Last Updated: $Date$

    - -

    New on this release

    - -
      -
    • Fixed memory leak in
    • -
    - -

    Known issues:

    -
    -
    The schedule cannot be downloaded
    -
    - The Scheduling Service seems to compute proper schedules, - but it is not possible to download them, - apparently there is a marshalling problem for sequences of - complex structures. - -

    Due to this problem we have been unable to test the - run-time scheduler and performance it is impossible to - complete performance measurements and optimizations: - the (global) scheduling service latency and overhead is at - least as large as the EC itself.

    -
    - -
    Run-time scheduler requires re-link
    -
    - During a normal execution of the system - there is no - need to use the a global Real-time Scheduling Service, - a faster, - collocated implementation for the service is available. - Obviously the scheduling information is precomputed in some - config run. - -

    Unfortunately the current scheme requires a relink of all the - involved applications against the generated tables for the - run-time scheduling service.

    - -

    We should be able to download the schedule to the interested - parties, - without need for a separate link phase. - This will simplify and speed up the developing cycle, - but requires a (small and fixed) amount of dynamic memory - allocation. - It could be interesting to "save" the schedule computation in - some persistent form, - so startup cost are lower too.

    - -

    The current design contemplates a config run were a global - consumer acumulates the QoS requirements of all the objects, - next an external utility is used to force a computation and - save of the schedule. - In future executions - the global scheduler pre-loads this schedule and - the clients simply download the precomputed schedule, - and all scheduling queries are to a local scheduling service, - without any further contact to the global instance.

    -
    - -
    Users have no control over service - collocations
    -
    - The user should have complete control of services collocation, - using ACE Service Configurator. -
    - -
    - -

    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. - -
    3. Run the naming service, the scheduling service, the event service - and the test in - $TAO_ROOT/TAO/orbsvcs/tests/Event_Latency; - remember to give a different port to each one, - using the -ORBport option.
    4. - -
    5. 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.
    6. -
    - -

    Another example is EC_Multiple, - please check the README file on - $TAO_ROOT/orbsvcs/tests/EC_Multiple for - further detail.

    - -

    Features in previous releases

    - -
  • - 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.
  • - - - diff --git a/TAO/docs/releasenotes/index.html b/TAO/docs/releasenotes/index.html deleted file mode 100644 index 7d3c6901d75..00000000000 --- a/TAO/docs/releasenotes/index.html +++ /dev/null @@ -1,487 +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: - - -
    -

    -IDL Compiler

    -Point of contact: Aniruddha Gokhale - -

    Current status: (As of March 15th, 1998.) -

      -
    • - 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 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.
    • - -
    • -Introduced tests for object references to TAO. Still incomplete.
    • - -
    • -Param_Test example is able to test string sequences, fixed structs, variable -sized structs and nested structs
    • - -
    • -Param_Test test suite can now test fixed structs and string sequences.This -needed bug fixes to TAO ORB core.
    • - -
    • -A new test to test all the parameter passing modes for a number of data -types has been added. At this point in time, it tests primitive types and -strings. Other tests will be added. Bugs discovered thru these tests have -been fixed.
    • - -
    • -Very preliminary support for arrays. Not working yet.
    • - -
    • -Many bugs associated with stub generation fixed. This included support -for return values that are variable sized IDL types. Unions improved.
    • - -
    • -Support for sequences of strings and object references added. However, -it is not tested yet so there may be some bugs. We should have these fixed -in a day or so.
    • - -
    • -Support for handling exceptions added. TAO does not use direct C++ exceptions. -Instead it uses the CORBA::Environment based approach.
    • - -
    • -Sequences as out parameters have been tested in the IDL_Cubit example. -A test suite is currently being built to test all the parameter passing -modes on a variety of IDL data types.
    • - -
    • -Support for attributes completed. Not tested yet.
    • - -
    • -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.
    • - -
    • -The compiler generates correct code for COSS Naming service and it runs -properly. Correct code also gets generated for the Event Channel program
    • - -
    • -Include files are handled properly. So are the definitions used inside -the include files that are used in the currently parsed files.
    • - -
    • -IN, INOUT, and OUT object reference parameters are now supported properly. -We think the same approach should work for sequences, structs, and unions.
    • - -
    • -Many IDL constructs supported including primitive types, typedefs, sequences, -structures, and unions.
    • - -
    • -Generates C++ stubs and skeletons that use TAO's interpretive -IIOP protocol engine.
    • - -
    • -Generated code closely follows the C++ Mapping specified in the POA Specification -(ORBOS/97-05-15).
    • - -
    • -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.
    • -
    -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).
    • - -
    • -TypeCode generation for multidimensional arrays and indirected typecodes -is still a problem.
    • - -
    • -Unions with default cases yet to be handled
    • - -
    • -The <<= and >>= operators for user-defined types are not generated -yet.
    • - -
    • -Deal with names in the IDL definition that are C++ keywords.
    • - -
    • -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.
    • - -
    • -tao_idl generates code for a *.idl file only inside the directory where -the *.idl resides. However, it may be required to generate code elsewhere -i.e., in the directory where the compiler was invoked. Thanks to Tom Richards -(tomr@MCMEnterprise.com) for this suggestion.
    • -
    -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.
    • - -
    • -Improve IDL compiler to generate compiled form of stubs/skeletons.
    • - -
    • -Fix bugs in the SunSoft IDL front-end we've uncovered. These primarily -include support for Unions.
    • - -
    • -Add command line options to TAO IDL. These options will decide what strategy -to use for operation name demultiplexing. Another option may decide whether -to use the interpretive IIOP engine or generate compiled stubs/skeletons.
    • - -
    • -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.
    • -
    - -
    -
    -

    -Test & Example Applications

    -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.. - -

    Future work: - -

    Developing a one-buttoned test for all the different TAO tests -similar to the ACE-one buttoned test. - -

    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.
    • -
    - -
    -

    -Portable Object Adapter

    -Point of contact: Irfan Pyarali - -

    Current Status: -

      -
    • -The POA mostly complete. There are remaining pieces to be implemented, -but much of the POA framework exists. This section will carry updates as -available.
    • -
    -Known issues: -
    -
    -Support for collocation is not complete.
    - -
    -If an object which should be collocated is created via string_to_object, -it is created as a remote object rather than collocated.
    - -
    -The stubs and skeletons are not needed.
    - -
    -The library includes stubs and skeletons for the Portable Server interfaces, -since all this interfaces have locality constraints the stubs and skeletons -are effectively dead code and should be removed.
    -
    -Critical work: -
      -
    • -None.
    • -
    -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.
    • - -
    • -Provide extensions of the specification to ensure real-time delivery of -messages.
    • -
    - -
    -

    -CORBA Naming Service

    -Point of contact: Sergio Flores-Gaitan -and Marina Spivak - -

    Current status (as of Feb 27th): -

      -
    • -The Naming Service implementation is complete.
    • -
    - -Future work: -
      -
    • -Currently the bindings are stored as a table in memory. Future work will -include a persistent database to store the bindings. -
    • -
    • -Replication of the bindings to other Naming Service's currently -running. It will probably be modeled after the LDAP Multi-Master -Replication Protocol. For more information on this replication -protocol please read LDAP Multi-Master Replication Protocol -
    • -
    -For general documentation on the Naming Service please read The -Naming Service Specification. - -

    -


    -

    -CORBA Property Service

    -Point of contact: Alexander Babu Arulanthu - -

    Current status : -
      -
        It is under development and testing. TAO's  -AVStreams, which is currently being developed will make use of  the -Property Service. - -

    For general documentation of the Property Service, please read The -Property Service Specification. - -

    -


    -

    -ORB-related ACE Changes

    -Points of contact: Chris Cleeland -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.
    - -
    -

    -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 the server project and foobarC.h, foobarC.i, and foobarC.cpp into -the client project.
    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 "Exclude from -build" under the "General" tab is unchecked.
    6. - -
    7. -Click on the "Custom Build" tab. Add this entry as the build command for -IDL files:
    8. - -
      ..\..\..\TAO_IDL\tao_idl $(InputName).idl
      -Notice that your absolute path to TAO_IDL may vary. -
    9. -Now add the following entries as "Output file(s)."
    10. - -
                $(InputName)S.h
      -          $(InputName)S.i
      -          $(InputName)S.cpp
      -          $(InputName)C.h
      -          $(InputName)C.i
      -          $(InputName)C.cpp
      -Add only one entry in each line. -
    11. -We are all set. Click OK.
    12. - -
    13. -Add foobarC.cpp to client project and foobarC.cpp and foobarS.cpp to server -project.
    14. -
    -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. 

    -


    - -

    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 8ae4cb68dca..00000000000 --- a/TAO/docs/releasenotes/orbcore.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - - ORB & ORB Core Status - - -


    ORB & ORB Core

    Point of - contact: Chris Cleeland - -

    Last Update: $Date$

    - -

    Current status: - -

      -
    • 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.
    • - -
    • Supports resolve_initial_references("NameService") - using ACE support for multicast.
    • -
    - -

    Known issues: -

    -
    Servers cannot properly report OS-chosen port.
    - -
    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 -ORBport 0), it is very - difficult for the server to publish the IOR for clients' use. - This is because the port is not assigned until - ORB::run is called.
    - -
    Demarshalling problems with complex types
    - -
    The current demarshalling scheme may not work in cases of - complex types such as sequences of unions or anys or object - references. The engine has difficulty determining the dynamic - type of the objects.
    - -
    Object references for objects dynamically created within - a server may not have proper host. (See also recent fix.)
    - -
    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 -ORBhost 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.

    - -
    ORB-per-thread and thread-per-connection models cannot - be mixed.
    - -
    -

    - These two concurrency models do not currently mix because - there is no way for the connection-handling threads to gain - access to the resources held by the ORB in thread-specific - storage (TSS). In order to do this, the Resource Manager - will have to implement some sort of inheritance of - resources. -

    - There are other problems which will need to be solved as - well for this to work properly. For example, similar to the - problems encountered with - ACE_Reactive_Strategy, we will likely also - encounter problems with the single - ACE_Threaded_Strategy. Various solutions are - possible, some more generalizable into ACE, other (like the - solution taken with the reactive strategy) localized to TAO. -

    -
    - - Recently Completed Work: - -
      -
    • 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.
    • - -
    • Eliminated substantial memory leaks in servers.
    • - -
    • Added documentation for -ORBpoa, which allows - individual tweaking of the POA's locality (global - vs. thread-specific) independent of the locality of other ORB - resources. Also, -ORBpoalock and -ORBpoamgrlock - control locking in the POA and POA manager, respectively, - according to application needs.
    • - -
    • Began the process of changing the internals of TAO to use - the "underbar" namespace mapping. This should be completed - soon.
    • - -
    • 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.
    • - -
    • Fixed problem in the IDL Cubit example which caused the - server to dump core when dealing with _out sequence - types ONLY when compiled with G++. It seems that G++ - decided to interpret the expression output == 0 - (where output is of type vector_out) - differently from Sun's C++ compiler.
    • - -
    • Fixed a slight problem in other recent - work where a servant listening on INADDR_ANY - reported an IOR with address 0.0.0.0. It now reports - the default hostname instead.
    • - -
    • Working version of TAO on VxWorks with VME transport.
    • - -
    • TAO now reacts gracefully in the face of a non-existent - svc.conf file or simply missing entries in the - file. It logs a warning message and uses default values - versions of items which it would normally obtain from the - Service Repository.
    • - -
    • Fixed problem where object references - for objects dynamically created within a server do not have - proper host, at least if the desired host was specified using -ORBhost on the - command line.
    • - -
    • Added support for -ORBsndsock and -ORBrcvsock ORB - options. See options - documentation for details.
    • - -
    • Added support for pre-established connections using the -ORBpreconnect - option. This allows connections to be esablished before any - CORBA requests are made. See options - documentation for details.
    • - -
    • Eliminated deprecated -OAxxx options parsed by the - Object Adapter init method but no longer used by - part of the ORB.
    • - -
    • Made argument parsing within the ORB and POA consume the - arguments it parses.
    • - -
    • 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.
    • - -
    • Got rid of need to have compile in TSS ORB Core - (-DTAO_HAS_TSS_ORBCORE). This is accomplished by - having a Resource Factory (TAO_Resource_Factory) - singleton which the ORB Core consults in order to get pointers - to resources. The Resource Factory can be configured to - return pointers from thread-specific storage, or - process-global storage. By doing this, the ORB Core is - shielded from ever having to know whether or not its resources - are global or not.
    • - -
    • Made all command-line like options look like the - standard-professed options, i.e., -ORBxxx or - -OAxxxx.
    • - -
    • Moved ORB option parsing into - TAO_ORB_Core::init() rather than in - ORB_init().
    • - -
    • Define _FAR for all cases as an interim fix - for LynxOS.
    • - -
    • Fixed TAO so that the default port of 5001 is defined in - orb_core.h config header somewhere rather than in - orbobj.cpp, and use MAXHOSTNAMELEN ACE - constant for the hostname buffer.
    • - -
    • 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.
    • - -
    • Fixed bugs reported by Steven Wohlever, David Miron, - Manojkumar Acharya.
    • - -
    • Created a brief section in $TAO_ROOT/TAO-INSTALL.html - that briefly documents installation on Unix - platforms. There is also a brief section which documents - issues that apply across ALL platforms, such as the fact that - TAO and its application will likely not work well if your ACE - is linked through Orbix, VisiBroker, or another ORB. ChangeLog discovery attribution for - this should go to Steve Wohlever - <wohlever@mitre.org>.
    • - -
    • 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.
    • - -
    • Validated movement of Strategy Connector into - ORB Core.
    • - -
    • Debated details of Svc_Handler modifications - with Irfan.
    • - -
    • Tested and commited Connector::connect_n - changes to ACE.
    • - -
    • ACE & TAO compiling cleanly using Sun's CC on Solaris and - G++ on Linux. Also, the ACE tests run properly.
    • - -
    • Use truss to verify for Paul Wehlage that - TAO really uses select vs. recv for - -R vs. -T.
    • - -
    • Renamed boa.* to poa.*.
    • - -
    • Renamed following files: Orb_Core.* ->orb_core.* - & orbobj.* -> corba_orb.*.
    • - -
    • The lock used in giop.cpp:626 originally - appeared in the IIOP-1.4 code base. Its purpose was to - protect access to the fwd_profile data member. - The original features are available, but they are currently - not used because none of our concurrency models present a - thread-unsafe condition. The ChangeLog presents more details - on the subject.
    • - -
    • Fixed problems seen by Brian Mendel of - Boeing where the Cubit server application was crashing in - TAO_OA_Connection_Handler::handle_message when it - was trying to call CORBA::POA::handle_request - through a NULL root_poa pointer. The NULL - pointer resulted from the inadvertent use of the - Thread-per-Connection concurrency model, which is currently - incompatible with the ORB-per-thread model. It was not caught - because the change is normally done in configuration files - parsed by the Service Configurator, and VxWorks requires - special code in that area which was not tested until Boeing - got hold of the code.
    • - -
    • Clean up build under g++. All 'function used before - declared inline' warnings have been eliminated. Also, all - other warnings (except for one that is nearly unavoidable) - have been eliminated. -
    • - -
    • Removed BOA and ROA names from the ORB.
    • - -
    • Changed CORBA_ORB::open() to return an error - status (first cut at this already there--needs to be checked - out).
    • - -
    • Added README file to multiCubit test.
    • -
    - - Ongoing Work: - -
      -
    • Verify ACE & TAO on Linux using g++, Solaris using CC, and - Solaris using g++.
    • - -
    • Use Purify to eliminate straggling problems.
    • - -
    • Clean up the internals and analyze for performance - bottlenecks using Quantify.
    • - -
    • Resolve // @@ comment blocks. These are - questions or comments placed in the code by a reviewer - (typically Doug).
    • - -
    • Make more and better documentation on the internals of - TAO.
    • -
    - - Current Work: - -
      -
    • -

      Verify that, in the ORB-per-thread concurrency model, - it's possible to have a factory in each thread that creates - a client and returns an object reference to that client - within that thread. This is different from the model that - Sumedh originally had where the factory was trying to turn - out a client in a separate thread/ORB combination.

      - -

      There is no application which attempts this at the moment, - so both a client and a server will need to be manufactured. - Using existing Cubit-like examples (that poor app is so - weary) should reduce development time to a couple of - hours.

      - -

      The real strategy/solution is to make - CORBA::Object not keep a pointer to its orb - sitting around anywhere. It should only get it when it needs - it. This should not be difficult to change.

      -
    • -
    - - Critical Work: - -
      -
    • Support new concurrency models, e.g., Thread-per-Request, - thread pool, etc..
    • - -
    - - Future work: -
      -
    • Performance optimizations, such as: -
        -
      1. Strategize 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 want to be able to "hold" a - service handler for a string of requests. And, of course, - do this in a portable manner.
      2. - -
      3. 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.
      4. -
      -
    • - -
    • Robustness improvements: -
        -
      1. Improve connection cache so that it won't crash when there - are no more slots or sockets.
      2. - -
      3. Add an option to the ORB core, e.g., - -ORBnameservicetimeout, to allow specification of an - upper bound on the itime-to-wait for a response from the - ORB's multicast "search" for a running name server.
      4. -
      -
    • - -
    • New features: -
        -
      1. Implement ORB::perform_work and - ORB::work_pending so that ORB::run - could be implemented in terms of them.
      2. - -
      3. Improve the Service Configurator service - entry faking on VxWorks.
      4. - -
      5. Integrate with realtime upcalls (RTUs).
      6. - -
      -
    • - -
    • Internal restructuring: -
        -
      1. Remove _FAR from all code.
      2. - -
      3. Rework underlayment to eliminate IUnknown class.
      4. - -
      5. 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.
      6. - -
      7. Rethink the entire memory allocation model used by the - ORB. The current one from SSIIOP may no longer be suitable - for our purposes.
      8. -
      -
    • - -
    • Documentation: -
        -
      1. Update ORB Patterns paper to reflect the latest TAO has to - offer. Specifically -
          -
        • sections on the Abstract Factory and Concurrency - strategies need to be updated, and the entire paper needs to - be reviewed for accuracy w.r.t the current TAO.
        • -
        • Metrics must be re-computed.
        • -
        • Tighten existing discussions.
        • -
        • Add information on new patterns (such as TSS) which - have been used since initial work.
        • -
        - -
      2. Make the section in $TAO_ROOT/TAO-Install.html - that documents installation on Unix platforms more - complete.
      3. - - -
      -
    • - -
    • Miscellany: -
        -
      1. Assist in porting higher level services (e.g., Event Channel) to TAO.
      2. - -
      3. Compile and verify ACE and TAO on Linux using the Kuck and - Associates, Inc. (KAI) compiler tools.
      4. -
      5. CORBA::TypeCode is causing a memory leak. Since objects - of this type are rather static in nature, this is - currently not a big deal. However, it should be fixed - soon.
      6. -
      7. CORBA_Exception::Release is not working correctly as the - memory is never really freed.
      8. -
      -
    • - - -
    • 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. -
      -
    • - - -
    - - - diff --git a/TAO/docs/releasenotes/trader.html b/TAO/docs/releasenotes/trader.html deleted file mode 100644 index 4a2c3883162..00000000000 --- a/TAO/docs/releasenotes/trader.html +++ /dev/null @@ -1,32 +0,0 @@ -
    -

    CORBA Trader Service

    -Point of contact: Seth Widoff and Marina Spivak

    - -

    Current status: - -

      -
    • Lookup Interface
    • -
    • Constraint Interpreter (for constraint based lookup)
    • -
    • Register Interface
    • -
    • Offer Iterator, Offer Id Iterator
    • -
    • Abstract Interfaces
    • -
    • Service Type Repository
    • -
    • Admin Interface
    • -
    • Support for Dynamic Property Evaluation
    • -
    - -

    Future work: - -

      -
    • Utilization of Service Type Repository by Register and Lookup
      - to provide full type checking
    • -
    • TAO and NT releases
    • -
    • Link Interface
    • -
    - -Complete design information on the TAO Trader service is available online. -The source code for the Trader service is also available online, as well. -We will be integrating this with TAO shortly.

    - 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 5d53bbe9616..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp +++ /dev/null @@ -1,366 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// Event_Con.cpp -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// = 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. -// -// ============================================================================ - - -#include - - -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -#include "ace/Profile_Timer.h" - -#include "tao/Timeprobe.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" - -#define SOURCE_ID 1001 - -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]]]"; - - -int received = 0; - - - -// ************************************************************ - -Demo_Consumer::Demo_Consumer (){} - -int Demo_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name) -{ - TAO_TRY - { - // Get a Scheduler - - RtecScheduler::Scheduler_ptr server = ACE_Scheduler_Factory::server (); - - // Define Real-time information - - rt_info_ = server->create (my_name, TAO_TRY_ENV); - server->set (rt_info_, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - 0, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero, - 1, - TAO_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 (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Obtain a pointer to a push supplier - // "suppliers" is inherited from a base class - - this->suppliers_ = consumer_admin_->obtain_push_supplier (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // 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 (TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->suppliers_->connect_push_consumer (objref.in (), - dependencies.get_ConsumerQOS (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCH (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, se) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Demo_Consumer::open: subscribe failed.\n"), -1); - } - TAO_CATCHANY - { - ACE_ERROR_RETURN ((LM_ERROR, - "Demo_Consumer::open: unexpected exception.\n"), -1); - } - TAO_ENDTRY; - - return 0; -} - -void -Demo_Consumer::disconnect_push_consumer (CORBA::Environment &) -{ - ACE_DEBUG ((LM_DEBUG, "Consumer received disconnect from channel.\n")); -} - -void -Demo_Consumer::push (const RtecEventComm::EventSet &events, - CORBA::Environment &) -{ - - 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].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")); - - TAO_TRY - { - cout << "ID: " << events[i].data_.any_value.type()->id(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - cout << "Name: " << events[i].data_.any_value.type()->name(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - cout << "member_count: " << events[i].data_.any_value.type()->member_count(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - cout << "TCKind: " << events[i].data_.any_value.type()->kind(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - - if (_tc_Navigation->equal (events[i].data_.any_value.type(), TAO_TRY_ENV)) - { - TAO_CHECK_ENV; - 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(), TAO_TRY_ENV)) - { - TAO_CHECK_ENV; - Weapons *weapons_ = (Weapons*) events[i].data_.any_value.value (); - - cout << "Found a Navigation struct in the any: pos_lat = " << weapons_->number_of_weapons << endl; - } - - - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n")); - } - TAO_ENDTRY; - } - } -} - -void -Demo_Consumer::shutdown (void) -{ - - TAO_TRY - { - // Disconnect from the push supplier. - - this->suppliers_->disconnect_push_supplier (TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_DEBUG ((LM_DEBUG, "@@ we should shutdown here!!!\n")); - TAO_CHECK_ENV; - - TAO_ORB_Core_instance ()->orb ()->shutdown (); - TAO_CHECK_ENV; - - - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t) Demo_Consumer::shutdown: unexpected exception.\n")); - } - TAO_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; - 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; - 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 []) -{ - - TAO_TRY - { - // Initialize ORB. - - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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 POA.\n"), - 1); - } - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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, TAO_TRY_ENV); - TAO_CHECK_ENV; - - - RtecEventChannelAdmin::EventChannel_var ec = - RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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 (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Run the ORB - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - - TAO_CHECK_ENV; - - delete demo_consumer; - - root_poa->destroy (CORBA::B_TRUE, - CORBA::B_TRUE, - TAO_TRY_ENV); - - - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_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 caf96315461..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Con.h +++ /dev/null @@ -1,73 +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) -// -// = DESCRIPTION -// -// -// ============================================================================ - -#if !defined (EVENT_CON_H) -#define EVENT_CON_H - -#include "ace/SString.h" -#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 (); - - 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 2b99cbe0b25..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp +++ /dev/null @@ -1,722 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// Event_Sup.cpp -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Event Supplier for the flight simulator -// -// ============================================================================ - - -#include - - -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -#include "ace/Profile_Timer.h" -#include "ace/OS.h" - -#include "tao/Timeprobe.h" -#include "tao/corba.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" - -#define SOURCE_ID 1001 - -static const char usage [] = "[-? |\n" -" [-O[RBport] ORB port number]" -" [-m of messages to send [100]]" -" [-f name of schedler input data file]]"; - -unsigned int total_messages = 100; - -char *input_file_name = 0; - -// ------------ Internal_Demo_Consumer --------------------------------- - - - -Demo_Supplier::Internal_Demo_Consumer::Internal_Demo_Consumer (Demo_Supplier *impl) - : impl_ (impl) -{ -} - - -void -Demo_Supplier::Internal_Demo_Consumer::push (const RtecEventComm::EventSet &events, - CORBA::Environment &env) -{ - this->impl_->push (events, env); - ACE_DEBUG ((LM_DEBUG, "Internal Demo Consumer received push.\n")); -} - -void -Demo_Supplier::Internal_Demo_Consumer::disconnect_push_consumer (CORBA::Environment &) { } - - -// -------------------- Internal Demo Supplier ----------------------------- - -Demo_Supplier::Internal_Demo_Supplier::Internal_Demo_Supplier (Demo_Supplier *impl) - : impl_ (impl) -{ -} - -void -Demo_Supplier::Internal_Demo_Supplier::disconnect_push_supplier (CORBA::Environment &) { } - - - -// ---------------------------------------------------------------------------- - - -Demo_Supplier::Demo_Supplier (unsigned int supplier_id) - : supplier_id_ (supplier_id), - internal_demo_consumer_ (new Internal_Demo_Consumer (this)), - internal_demo_supplier_ (new Internal_Demo_Supplier (this)) -{ -} - -Demo_Supplier::~Demo_Supplier (void) -{ - delete internal_demo_consumer_; - delete internal_demo_supplier_; -} - -int -Demo_Supplier::open_supplier (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *name) -{ - - TAO_TRY - { - this->channel_admin_ = ec; - - // Get a Scheduling server - - RtecScheduler::Scheduler_ptr scheduler_ = ACE_Scheduler_Factory::server (); - - - // Generate the Real-time information - - this->rt_info_ = scheduler_->create (name, TAO_TRY_ENV); - - scheduler_->set (rt_info_, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - 2500000, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero, - 1, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Set the publications to report them to the event channel - - CORBA::Short x = 0; - RtecEventChannelAdmin::SupplierQOS qos_; - qos_.publications_.length (2); - qos_.publications_[0].event_.source_ = SOURCE_ID; - qos_.publications_[0].event_.type_ = ACE_ES_EVENT_NOTIFICATION; - qos_.publications_[0].event_.ttl_ = 1; - qos_.publications_[0].event_.creation_time_ = ORBSVCS_Time::zero; // default values - qos_.publications_[0].event_.ec_recv_time_ = ORBSVCS_Time::zero; - qos_.publications_[0].event_.ec_send_time_ = ORBSVCS_Time::zero; - qos_.publications_[0].event_.data_.x = 0; - qos_.publications_[0].event_.data_.y = 0; - qos_.publications_[0].event_.data_.any_value.replace (CORBA::_tc_short, &x, 0, TAO_TRY_ENV); - qos_.publications_[0].dependency_info_.number_of_calls = 1; - qos_.publications_[0].dependency_info_.rt_info = rt_info_; - qos_.publications_[1].event_.source_ = SOURCE_ID; - qos_.publications_[1].event_.type_ = ACE_ES_EVENT_SHUTDOWN; - qos_.publications_[1].event_.ttl_ = 1; - qos_.publications_[1].event_.creation_time_ = ORBSVCS_Time::zero; //default values - qos_.publications_[1].event_.ec_recv_time_ = ORBSVCS_Time::zero; - qos_.publications_[1].event_.ec_send_time_ = ORBSVCS_Time::zero; - qos_.publications_[1].event_.data_.x = 0; - qos_.publications_[1].event_.data_.y = 0; - qos_.publications_[1].event_.data_.any_value.replace (CORBA::_tc_short, &x, 0, TAO_TRY_ENV); - qos_.publications_[1].dependency_info_.number_of_calls = 1; - qos_.publications_[1].dependency_info_.rt_info = rt_info_; - - - // = Connect as a supplier. - this->supplier_admin_ = - channel_admin_->for_suppliers (TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->proxy_consumer_ = supplier_admin_->obtain_push_consumer (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // In calling _this we get back an object reference and register the servant with - // the POA - RtecEventComm::PushSupplier_var objref = this->internal_demo_supplier_->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Connect the supplier to the proxy consumer - this->proxy_consumer_->connect_push_supplier (objref.in (), - qos_, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Demo_Supplier::open"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - - - -void -Demo_Supplier::disconnect_push_supplier (CORBA::Environment &) -{ - ACE_DEBUG ((LM_DEBUG, "Supplier received disconnect from channel.\n")); -} - - - - -void -Demo_Supplier::start_generating_events (void) -{ - unsigned int 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, - "Demo_Supplier::start_generating_events: " - "there is no scheduling data\n")); - return; - } - - TAO_TRY - { - do { - RtecEventComm::Event event; - event.source_ = SOURCE_ID; - event.type_ = ACE_ES_EVENT_NOTIFICATION; - event.ttl_ = 1; - event.creation_time_ = ORBSVCS_Time::zero; - event.ec_recv_time_ = ORBSVCS_Time::zero; - event.ec_send_time_ = ORBSVCS_Time::zero; - event.data_.x = 0; - event.data_.y = 0; - - this->insert_event_data (event.data_.any_value, schedule_iter); - - RtecEventComm::EventSet events; - events.length (1); - events[0] = event; - - proxy_consumer_->push (events, TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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_ < total_messages); - - - // Sending a shutdown event -- not wanted right now - /* RtecEventComm::Event event; - event.source_ = SOURCE_ID; - event.type_ = ACE_ES_EVENT_SHUTDOWN; - event.ttl_ = 1; - event.creation_time_ = ORBSVCS_Time::zero; - event.ec_recv_time_ = ORBSVCS_Time::zero; - event.ec_send_time_ = ORBSVCS_Time::zero; - event.data_.x = 0; - event.data_.y = 0; - - RtecEventComm::EventSet events; - events.length (1); - events[0] = event; - TAO_CHECK_ENV; - - proxy_consumer_->push (events, TAO_TRY_ENV); - TAO_CHECK_ENV; */ - - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, "Demo_Supplier::start_generating_events: " - " unexpected exception.\n")); - } - TAO_ENDTRY; - - // 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); - } - } - - this->shutdown (); -} - - -void -Demo_Supplier::load_schedule_data ( - ACE_Unbounded_Queue &schedule_data) -{ - Schedule_Viewer_Data *data = 0; - - if (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(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); - if (! data) - { - ACE_ERROR ((LM_ERROR, - "Demo_Supplier::start_generating_events: " - "memory allocation for scheduling data failed\n")); - return; - } - - 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, - "Demo_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, - "Demo_Supplier::start_generating_events: " - "could not open input file [%s].\n", - 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); - if (! data) - { - ACE_ERROR ((LM_ERROR, - "Demo_Supplier::start_generating_events: " - "memory allocation for scheduling data failed\n")); - return; - } - - - 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; - } - - strncpy(data->operation_name, oper_name, BUFSIZ-1); - - data->utilitzation = ((double)(ACE_OS::rand() %100))/100.0; - data->overhead = ((double)(ACE_OS::rand() %20))/100.0; - - 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 -Demo_Supplier::insert_event_data ( - CORBA::Any &data, - ACE_Unbounded_Queue_Iterator &schedule_iter) -{ - static u_long last_completion = 0; - - TAO_TRY - { - 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)) - { - 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_.utilitzation = (*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; - - data.replace (_tc_Navigation, &navigation_, CORBA::B_TRUE, TAO_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)) - { - weapons_.number_of_weapons = 2; - weapons_.weapon1.identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon1.identifier,"Photon Torpedoes"); - weapons_.weapon1.status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weapons_.weapon2.identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon2.identifier,"Quantum Torpedoes"); - weapons_.weapon2.status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weapons_.weapon3.identifier = CORBA::string_alloc (1); - weapons_.weapon3.identifier[0] = 0; - weapons_.weapon3.status = 0; - weapons_.weapon4.identifier = CORBA::string_alloc (1); - weapons_.weapon4.identifier[0] = 0; - weapons_.weapon4.status = 0; - weapons_.weapon5.identifier = CORBA::string_alloc (1); - weapons_.weapon5.identifier[0] = 0; - weapons_.weapon5.status = 0; - - weapons_.utilitzation = (*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; - - data.replace (_tc_Weapons, &weapons_, CORBA::B_TRUE, TAO_TRY_ENV); - } - else - { - ACE_ERROR ((LM_ERROR, "Demo_Supplier::insert_event_data: unrecognized operation name [%s]", - (*sched_data)->operation_name)); - } - - 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, "Demo_Supplier::insert_event_data: Could Not access scheduling data")); - } - - schedule_iter.advance (); - if (schedule_iter.done ()) - { - schedule_iter.first (); - } - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, "(%t)Error in Demo_Supplier::insert_event_data.\n")); - } - TAO_ENDTRY; -} - -void -Demo_Supplier::push (const RtecEventComm::EventSet &events, - CORBA::Environment &env) -{ - -} - -void -Demo_Supplier::shutdown (void) -{ - - TAO_TRY - { - // @@ Had problems with the next command, the application got stuck in it - // channel_admin_->destroy (TAO_TRY_ENV); - // TAO_CHECK_ENV; - - TAO_ORB_Core_instance ()->orb ()->shutdown (); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, "(%t) Demo_Supplier::shutdown:" - " unexpected exception.\n")); - TAO_TRY_ENV.print_exception ("Demo_Supplier::shutdown"); - } - TAO_ENDTRY; -} - - - - -// function get_options - -static unsigned int -get_options (int argc, char *argv []) -{ - // 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 (argc, argv, "O?m:f:"); - int opt; - 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 'm': - if ((temp = ACE_OS::atoi (get_opt.optarg)) > 0) - { - total_messages = (u_int) temp; - cout << "Messages to send:" << total_messages << endl; - } - else - { - ACE_ERROR_RETURN ((LM_ERROR, - "%s: count must be > 0", - argv[0]), 1); - } - break; - case 'f': - input_file_name = get_opt.optarg; - if ((! input_file_name) || (ACE_OS::strlen (input_file_name)) > 0) - { - cout << "Messages to send:" << total_messages << endl; - } - else - { - input_file_name = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - 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 []) -{ - - TAO_TRY - { - // Initialize ORB. - - CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Connect to the RootPOA - 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; - - // Get the Naming Service object reference - 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 get the Naming Service.\n"), - 1); - } - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - - // Tell the ScheduleService to use the same naming service - ACE_Scheduler_Factory::use_config (naming_context.in ()); - - if (get_options (argc, argv)) - ACE_OS::exit (-1); - - // Get the Event Channel - // @@ If you specify an invalid name, the Name Service crashes - - 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, TAO_TRY_ENV); - TAO_CHECK_ENV; - - RtecEventChannelAdmin::EventChannel_var ec = - RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Create the demo supplier - Demo_Supplier *demo_supplier; - ACE_NEW_RETURN (demo_supplier, Demo_Supplier (SOURCE_ID), -1); - - if (demo_supplier->open_supplier (ec.ptr (), "demo_supplier") == -1) - ACE_ERROR_RETURN ((LM_ERROR, "Supplier open failed.\n"), -1); - - - // Register the internal demo consumer for timeout events - demo_supplier->start_generating_events (); - - ACE_DEBUG ((LM_DEBUG, "Supplier is registered for timeout events.\n")); - - // The POA Manager has to be activated before starting the ORB event loop - poa_manager->activate (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Run the ORB - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - TAO_CHECK_ENV; - - - delete demo_supplier; - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; - - - return 0; -} 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 747a49f3a93..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h +++ /dev/null @@ -1,141 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// Event_Sup.h -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Event Supplier for the simulation -// -// ============================================================================ - -#if !defined (EVENT_SUP_H) -#define EVENT_SUP_H - -#include -#include -#include "ace/OS.h" -#include "ace/SString.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" -#include "NavWeapC.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 Demo_Supplier -// = TITLE -// Demo Supplier -// -// = DESCRIPTION -// Generates event nofications and a shutdown message. -{ -public: - - - class Internal_Demo_Consumer : public POA_RtecEventComm::PushConsumer { - public: - virtual void push (const RtecEventComm::EventSet &events, - CORBA::Environment &); - // The channel pushed some events to us. - - virtual void disconnect_push_consumer (CORBA::Environment &); - // The channel is disconnecting. - - private: - Internal_Demo_Consumer (Demo_Supplier* impl); - friend class Demo_Supplier; - - private: - Demo_Supplier* impl_; - }; - - - // The following Supplier is needed because Demo_Supplier has not - // inherited from PushSupplier, therefore we register with the - // following and send with Demo_Supplier - - class Internal_Demo_Supplier : public POA_RtecEventComm::PushSupplier { - public: - virtual void disconnect_push_supplier (CORBA::Environment &); - - private: - Internal_Demo_Supplier (Demo_Supplier* impl); - friend class Demo_Supplier; - - private: - Demo_Supplier* impl_; - }; - - - Demo_Supplier (unsigned int supplier_id); - // Construction. Requires the total number of messages to be - // sent. If the timestamp flag is enabled, then events are - // timestamped, e.g., for use in measuring jitter. - - ~Demo_Supplier (void); - - int open_supplier (RtecEventChannelAdmin::EventChannel_ptr event_channel, - const char *name); - // Registers with the name server under the given . Also - // connects to the Event Channel as a supplier of notifications and - // shutdown messages. - - virtual void disconnect_push_supplier (CORBA::Environment &); - // The channel is disconnecting. - - void start_generating_events (void); - - void load_schedule_data ( - ACE_Unbounded_Queue &schedule_data); - - void insert_event_data ( - CORBA::Any &data, - ACE_Unbounded_Queue_Iterator &schedule_iter); - - void push (const RtecEventComm::EventSet &events, - CORBA::Environment &); - -protected: - - void shutdown (void); - // Disconnect from the Event Service. - - // = Event Channel adminstration references. - RtecEventChannelAdmin::EventChannel_var channel_admin_; - RtecEventChannelAdmin::SupplierAdmin_var supplier_admin_; - RtecEventChannelAdmin::ProxyPushConsumer_var proxy_consumer_; - - // Because we get timeout events in our internal_demo_consumer - RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin_; - RtecEventChannelAdmin::ProxyPushSupplier_var proxy_supplier_; - -private: - Navigation navigation_; - Weapons weapons_; - RtecScheduler::handle_t rt_info_; - unsigned int supplier_id_; - - Internal_Demo_Consumer *internal_demo_consumer_; - Internal_Demo_Supplier *internal_demo_supplier_; -}; - - -#endif /* EVENT_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 e226fbc3eb0..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Makefile +++ /dev/null @@ -1,748 +0,0 @@ -# -# $Id$ -# - -BIN = Event_Sup Event_Con - -BUILD = $(BIN) - - -IDL_SRC = NavWeapC.cpp - -EVENT_TEST_SRCS= \ - Event_Sup.cpp Event_Con.cpp $(IDL_SRC) - -LSRC= \ - $(EVENT_TEST_SRCS) \ - -EVENT_SUP_OBJS = Event_Sup.o NavWeapC.o -EVENT_CON_OBJS = Event_Con.o NavWeapC.o - -LDLIBS= -lorbsvcs -lTAO - -#---------------------------------------------------------------------------- -# 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 - -#### Local rules and variables... - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - - -$(IDL_SRC): NavWeap.idl - $(TAO_ROOT)/TAO_IDL/tao_idl NavWeap.idl - -Event_Sup: $(addprefix $(VDIR),$(EVENT_SUP_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK) - -Event_Con: $(addprefix $(VDIR),$(EVENT_CON_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. - -Event_Sup.o: Event_Sup.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Get_Opt.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/ACE.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/OS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/inc_user_config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/config-g++-common.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/streams.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Basic_Types.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Basic_Types.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/OS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Trace.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Msg.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Record.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Priority.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Record.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Version.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/ACE.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Get_Opt.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Sched_Params.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Sched_Params.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Profile_Timer.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Time_Value.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/High_Res_Timer.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/High_Res_Timer.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Profile_Timer.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/Timeprobe.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Complex.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Simple.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Simple.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Complex.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Event_Handler.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Event_Handler.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Atomic_Op.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/Timeprobe.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corba.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Stream.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_IO.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Addr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Addr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IPC_SAP.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IPC_SAP.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_IO.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/INET_Addr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/INET_Addr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Stream.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Hash_Map_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Hash_Map_Manager.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Shared_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Shared_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Signal.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Memory_Pool.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Mem_Map.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Mem_Map.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Memory_Pool.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Signal.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Object_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Object_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Config.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Handle_Set.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Handle_Set.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor_Impl.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Conf_Tokens.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SString.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SString.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Acceptor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Acceptor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Connector.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Connector.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_Options.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Types.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Types.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/WFMO_Reactor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Block.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Block.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IO_Cntl_Msg.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/WFMO_Reactor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/compat/objbase.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/compat/initguid.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbconf.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/align.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corbacom.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objkeyC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objkeyC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/any.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/params.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/client_factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/server_factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_client.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_server.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/except.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbobj.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/nvlist.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/principa.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/request.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/svrrqst.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/typecode.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/marshal.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/cdr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/stub.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poa.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/servant_base.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objtable.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/connect.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb_core.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/optable.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/debug.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iiopobj.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iioporb.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/giop.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb_core.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic_Service.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic_Service.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Repository.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Repository.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corbacom.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/typecode.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/nvlist.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/any.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/stub.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbobj.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/marshal.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/cdr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/giop.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iioporb.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iiopobj.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/params.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/server_factory.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_client.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_server.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/connect.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/singletons.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Event_Utilities.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/orbsvcs_export.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecSchedulerC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecSchedulerC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Event_Service_Constants.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Time_Utilities.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Time_Utilities.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Event_Utilities.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Scheduler_Factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosNamingC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosNamingC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Event_Sup.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommS.i \ - NavWeapC.h NavWeapC.i -Event_Con.o: Event_Con.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Get_Opt.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/ACE.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/OS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/inc_user_config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/config-g++-common.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/streams.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Basic_Types.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Basic_Types.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/OS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Trace.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Msg.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Record.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Priority.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Record.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Version.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/ACE.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Get_Opt.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Sched_Params.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Sched_Params.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Profile_Timer.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Time_Value.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/High_Res_Timer.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/High_Res_Timer.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Profile_Timer.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/Timeprobe.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Complex.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Simple.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Simple.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Complex.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Event_Handler.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Event_Handler.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Atomic_Op.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/Timeprobe.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Event_Utilities.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corba.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Stream.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_IO.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Addr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Addr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IPC_SAP.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IPC_SAP.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_IO.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/INET_Addr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/INET_Addr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Stream.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Hash_Map_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Hash_Map_Manager.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Shared_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Shared_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Signal.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Memory_Pool.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Mem_Map.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Mem_Map.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Memory_Pool.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Signal.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Object_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Object_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Config.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Handle_Set.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Handle_Set.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor_Impl.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Conf_Tokens.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SString.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SString.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Acceptor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Acceptor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Connector.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Connector.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_Options.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Types.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Types.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/WFMO_Reactor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Block.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Block.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IO_Cntl_Msg.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/WFMO_Reactor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/compat/objbase.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/compat/initguid.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbconf.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/align.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corbacom.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objkeyC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objkeyC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/any.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/params.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/client_factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/server_factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_client.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_server.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/except.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbobj.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/nvlist.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/principa.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/request.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/svrrqst.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/typecode.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/marshal.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/cdr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/stub.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poa.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/servant_base.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objtable.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/connect.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb_core.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/optable.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/debug.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iiopobj.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iioporb.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/giop.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb_core.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic_Service.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic_Service.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Repository.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Repository.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corbacom.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/typecode.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/nvlist.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/any.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/stub.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbobj.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/marshal.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/cdr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/giop.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iioporb.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iiopobj.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/params.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/server_factory.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_client.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_server.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/connect.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/singletons.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/orbsvcs_export.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecSchedulerC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecSchedulerC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Event_Service_Constants.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Time_Utilities.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Time_Utilities.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Event_Utilities.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Scheduler_Factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosNamingC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosNamingC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Event_Con.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/CosTimeBaseS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/orbsvcs/orbsvcs/RtecEventCommS.i \ - NavWeapC.h NavWeapC.i -NavWeapC.o: NavWeapC.cpp NavWeapC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corba.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/OS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/inc_user_config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/config-g++-common.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/streams.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Basic_Types.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Basic_Types.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/OS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Trace.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Msg.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Record.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/ACE.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Version.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/ACE.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Priority.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Log_Record.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Get_Opt.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Get_Opt.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Stream.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_IO.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Addr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Addr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IPC_SAP.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IPC_SAP.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_IO.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/INET_Addr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/INET_Addr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Stream.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Event_Handler.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Event_Handler.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Complex.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Simple.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Simple.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SV_Semaphore_Complex.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Atomic_Op.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Hash_Map_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Hash_Map_Manager.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Config.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Shared_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Shared_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Signal.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Containers.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Free_List.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Malloc_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Memory_Pool.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Mem_Map.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Mem_Map.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Memory_Pool.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Signal.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Object_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Object_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Managed_Object.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Config.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Handle_Set.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Handle_Set.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Timer_Queue_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Reactor_Impl.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Conf_Tokens.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SString.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SString.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Acceptor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Time_Value.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Acceptor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Connector.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/SOCK_Connector.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Synch_Options.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Strategies_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Types.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Types.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Thread_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/WFMO_Reactor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Block.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Block.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/IO_Cntl_Msg.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Message_Queue.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/WFMO_Reactor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Map_Manager.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Task_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Module.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Stream_Modules.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Singleton.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Svc_Handler.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Connector.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Acceptor.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/compat/objbase.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/compat/initguid.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbconf.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/align.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corbacom.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/sequence_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objkeyC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objkeyC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/any.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/params.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/client_factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/server_factory.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_client.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_server.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/strategy_T.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/except.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbobj.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/nvlist.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/object.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/principa.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/request.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/svrrqst.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/typecode.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/marshal.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/cdr.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/stub.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poa.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaC.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaC.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/servant_base.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaS.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/poaS.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/objtable.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/connect.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb_core.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/optable.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/debug.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iiopobj.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iioporb.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/giop.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orb_core.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic_Service.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Dynamic_Service.cpp \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Repository.h \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/ace/Service_Repository.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/corbacom.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/typecode.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/nvlist.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/any.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/stub.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/object.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/orbobj.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/marshal.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/cdr.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/giop.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iioporb.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/iiopobj.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/params.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/server_factory.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_client.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/default_server.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/connect.i \ - /project/doc/cdgill/ACE_wrappers/build/SunOS5_g++/TAO/tao/singletons.h \ - NavWeapC.i NavWeapS.h NavWeapS.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 43c6a486c92..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources -# where can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency -# where can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags -# specifies the default thread flags to use, where is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy -# where can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_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 -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/examples/Simulator/NavWeap.idl b/TAO/examples/Simulator/NavWeap.idl deleted file mode 100644 index a495a7c6e87..00000000000 --- a/TAO/examples/Simulator/NavWeap.idl +++ /dev/null @@ -1,50 +0,0 @@ -// -// $Id$ -// - - -// = TITLE -// Navigation and Weapon structs for the Boing DOVE/EventService demo -// -// = DESCRIPTION - - -struct Navigation { - long position_latitude; - long position_longitude; - unsigned long altitude; - long heading; - long roll; - long pitch; - // common part - double utilitzation; - double overhead; - unsigned long arrival_time; - unsigned long deadline_time; - unsigned long completion_time; - unsigned long computation_time; -}; - - -struct Weapon { - string identifier; - unsigned long status; - }; - -struct Weapons { - unsigned long number_of_weapons; - Weapon weapon1; - Weapon weapon2; - Weapon weapon3; - Weapon weapon4; - Weapon weapon5; - // common part - double utilitzation; - double overhead; - unsigned long arrival_time; - unsigned long deadline_time; - unsigned long completion_time; - unsigned long computation_time; -}; - - diff --git a/TAO/examples/Simulator/README b/TAO/examples/Simulator/README deleted file mode 100644 index be93b2432fc..00000000000 --- a/TAO/examples/Simulator/README +++ /dev/null @@ -1,118 +0,0 @@ -$ mk1$ - -Documentation for the Simulator - -Purpose: To show how the event service can be used to as a media to - transport monitoring events including data. - -Application: The events contain C++ structs with avionics information. - They are supllied by sensors of an avionic and are - consumed by an JAVA applet running on a different machine and/or - location. - -Implementation: A C++ Supplier pushes events containing a - navigation or weapons struct to the Event Service. - The Event Service dispatches the events to any number of - Consumers which are implemented in JAVA. The JAVA - consumer extracts the data of the structs and dispatches - it to various display components. - - -Requirements: - C++ compiler, TAO environment, Visibroker 3.1 for JAVA - -Files: - Common: - ss - restart Naming Service, connect the Event Service and - Scheduling service with this Naming Service - NavWeap.idl - IDL definition of the Weapons and Navigation struct - README - this readme file - - 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 - - - Consumer, Simulator: - 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 - - - -Compiling: - Supplier: (../Simulator/Event_Supplier/.) - cp ../NavWeap.idl . - "make sure that the following definition is in the - $TAO_ROOT/orbsvcs/orbsvcs/RtecEventComm.idl - - struct EventData { - long x; - long y; - any any_value; - }; - - compile the $TAO_ROOT/orbsvcs/orbsvcs directory - - change $TAO_ROOT/orbsvcs/orbsvcs/RtecEventCommC.h to - - - struct EventData - { - CORBA::Long x; - CORBA::Long y; - CORBA::Any any_value; - }; ^^^^ - change $TAO_ROOT/orbsvcs/orbsvcs/RtecEventCommC.cpp to - - istub->do_call (env, &RtecEventComm_PushConsumer_push_calldata, 0, &data); - ^^^^^ - - This was neccessary because of a bug in the IDL compiler - compile the $TAO_ROOT/orbsvcs/orbsvcs directory again - compile the $TAO_ROOT/orbsvcs/EventService directory" - - tao_idl NavWeap.idl - make - - - - - Consumer, Simulator: (../Simulator/Sim_Display/.) - cp ../NavWeap.idl . - cp $TAO_ROOT/orbsvcs/orbsvcs/CosNaming.idl . - cp $TAO_ROOT/orbsvcs/orbsvcs/CosTimeBase.idl . - cp $TAO_ROOT/orbsvcs/orbsvcs/RtecEventChannelAdmin.idl . - cp $TAO_ROOT/orbsvcs/orbsvcs/RtecEventComm.idl . - cp $TAO_ROOT/orbsvcs/orbsvcs/RtecScheduler.idl . - idl2java NavWeap.idl - idl2java CosNaming.idl - idl2java CosTimeBase.idl - idl2java RtecEventChannelAdmin.idl - idl2java RtecEventComm.idl - idl2java RtecScheduler.idl - - vbjc *.java - - -Starting: - - Supplier: - Event_Sup -ORBport 10040 -m 100 - // -m 1000 for 1000 events sent by the supplier - - Simulation - vbj Display_Client diff --git a/TAO/examples/Simulator/Sim_Display/Border_Panel.java b/TAO/examples/Simulator/Sim_Display/Border_Panel.java deleted file mode 100644 index 1c9b8099499..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Border_Panel.java +++ /dev/null @@ -1,57 +0,0 @@ -// $Id$ -import java.awt.*; - -public class Border_Panel extends Panel -{ - private String title_; - private final static Insets SPACE = new Insets (16, 16, 16, 16); - - public Border_Panel (Component component, String title) - { - GridBagLayout gb = new GridBagLayout (); - GridBagConstraints gbc = new GridBagConstraints (); - - title_ = title; - setFont (new Font ("Dialog", Font.PLAIN, 12)); - setLayout (new CardLayout (SPACE.left, SPACE.top)); - - add ("Front", component); - } - - public void paint (Graphics g) - { - FontMetrics fm = g.getFontMetrics (); - Dimension d = getSize (); - int font_height = fm.getAscent (), - rect_x = SPACE.left/2, - rect_y = SPACE.top/2, - rect_width = d.width - SPACE.right, - rect_height = d.height - SPACE.top/2 - SPACE.bottom/2, - font_x = SPACE.left/2 + 20, - font_y = (int)Math.round (SPACE.top/2 + font_height/2.0 - 1); - - g.setColor (getBackground ()); - - g.draw3DRect (rect_x - 1, rect_y - 1, - rect_width + 1, rect_height + 1, false); - g.draw3DRect (rect_x, rect_y, - rect_width - 1, rect_height - 1, true); - g.fillRect (font_x - 2, 0, fm.stringWidth (title_) + 4, SPACE.top); - - g.setColor (Color.black); - g.drawString (title_, font_x, font_y); - } - - public static void main (String[] args) - { - Frame yadda = new Frame ("Border Frame Test"); - Panel blank = new Panel (); - Border_Panel bpanel = new Border_Panel (blank, "Border Panel"); - - yadda.setLayout (new BorderLayout ()); - yadda.add ("Center", bpanel); - yadda.setBounds (0, 0, 640, 480); - - yadda.show (); - } -} diff --git a/TAO/examples/Simulator/Sim_Display/Display.java b/TAO/examples/Simulator/Sim_Display/Display.java deleted file mode 100644 index 21def23be1d..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display.java +++ /dev/null @@ -1,92 +0,0 @@ -// $Id$ - - -import java.io.*; -import java.awt.*; - -public class Display extends Panel -{ - private Graph_Panel metrics_ = new Graph_Panel (); - private Sim_Panel sims_ = new Sim_Panel (); - private double last_latency = 0; - - public Display () - { - setLayout (new GridLayout (2, 1)); - add (new Border_Panel (sims_, "Flight Simulator")); - add (new Border_Panel (metrics_, "Scheduling Performance")); - } - - public void update_metric (String name, float new_value) - { - metrics_.updateGraph (name, new_value); - } - - public void add_metric (String name, int max) - { - metrics_.addGraph (name, max); - } - - public void add_simulator (String name) - { - Display_Object obj = - Display_Object_Factory.create_display_object (name); - - if (obj != null) - sims_.add_simulator (name, obj); - } - - public void update_simulator (String name, Display_Push_Consumer display_push_consumer) - { - sims_.update_simulator (name, display_push_consumer); - } - - - public void update_metrics (double utilization, - double overhead, - int arrival_time, - int deadline_time, - int completion_time, - int computation_time) - { - float latency = (float)(completion_time-computation_time-arrival_time); - latency = latency > 0 ? latency : 0; - float jitter = (float)Math.abs(latency - last_latency); - // float latency = (float)(dispatch_time - arrival_time > 0 ? dispatch_time - arrival_time : 0); - // float jitter = (float)Math.abs(latency - last_latency); - float missed_deadline = - (float)((deadline_time < completion_time) ? 1.0 : 0.0); - - /* - System.out.println ("Metrics: cpu " + header.utilization_ + - " overhead " + header.overhead_ + - " jitter " + jitter + - " deadlines " + missed_deadline + - " latency " + latency); - */ - update_metric (Display_Client.CPU_USAGE, (float)utilization); - update_metric (Display_Client.OVERHEAD, (float)overhead); - update_metric (Display_Client.JITTER, jitter); - update_metric (Display_Client.DEADLINES, missed_deadline); - update_metric (Display_Client.LATENCY, latency); - } - - public void update_simulation (long simulation_id, - Display_Push_Consumer display_push_consumer) - { - String sim_name = - Display_Object_Factory.resolve_name (simulation_id); - - if (sim_name != null) - update_simulator (sim_name, display_push_consumer); - } -} - - - - - - - - - diff --git a/TAO/examples/Simulator/Sim_Display/Display_Art_Horizon.java b/TAO/examples/Simulator/Sim_Display/Display_Art_Horizon.java deleted file mode 100644 index 4b5c9fd4fe9..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Art_Horizon.java +++ /dev/null @@ -1,377 +0,0 @@ -// $Id$ - - -import java.awt.*; -import java.io.*; - -public class Display_Art_Horizon - extends Panel - implements Display_Object -{ - private Alt_Horizon alt_hor_ = new Alt_Horizon (); - private Position pos_ = new Position (); - - public Display_Art_Horizon () - { - setLayout (new BorderLayout (0, 2)); - add ("Center", alt_hor_); - add ("South", pos_); - } - - public int update_display (Display_Push_Consumer display_push_consumer) - { - Navigation navigation = display_push_consumer.get_navigation (); - /* - System.out.println ("Art_Horizon: lat " + latitude + " long " + longitude + " alt " + - altitude + " heading " + heading + " roll " + - roll + " pitch " + pitch); - */ - - alt_hor_.update_display (navigation.roll, navigation.pitch); - pos_.update_display (navigation.position_latitude, navigation.position_longitude, navigation.altitude, navigation.heading); - - return 0; - } -} - -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 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); - - /* - System.out.println ("Start Angle " + angles[0] + - " End Angle " + angles[1] + - " Arc Angle " + 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; - - // Shift the terrain line to account for the pitch. - // if (Math.abs (roll_) != 90) - // { - /* - boolean upside_down = Math.abs (roll_) >= 90; - double offset = - (double)rad * (double)pitch_ / 90.0; - double y_intercept = (Math.abs (roll_) <= 90) ? offset : offset; - double slope = caclulate_slope (rad, angles); - Point[] roots = null; - int x_l, x_r, y_l, y_r; - - roots = line_circle_intesect (rad, y_intercept, slope); - - // System.out.println ("Y intercept " + y_intercept + " slope " + slope); - // System.out.println ("Root x1 " + roots[0].x + " x2 " + roots[1].x); - // System.out.println ("Root y1 " + roots[0].y + " y2 " + roots[1].y); - // System.out.println ("Was left_point.x " + left_point.x + " left_point.y " + left_point.y); - // System.out.println ("Was right_point.x " + right_point.x + " right_point.y " + right_point.y); - - x_l = upside_down ? roots[0].x : roots[1].x; - y_l = upside_down ? roots[0].y : roots[1].y; - x_r = upside_down ? roots[1].x : roots[0].x; - y_r = upside_down ? roots[1].y : roots[0].y; - - angles[0] = calculate_angle (rad, x_l, y_l); - angles[1] = calculate_angle (rad, x_r, y_r); - - // System.out.println ("Now left_point.x " + left_point.x + " left_point.y " + left_point.y); - // System.out.println ("Now right_point.x " + right_point.x + " right_point.y " + right_point.y); - */ - // } - } - - 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; - - // boolean rightside_up = Math.abs (roll_) <= 90, - // positive_roll = roll_ >= 0; - // double roll_rad = (double) roll_ * Math.PI / 180.0; - // Point tmp = - // new Point ((int) Math.round ((double) rad * Math.cos (roll_rad)), - // (int) Math.round ((double) rad * Math.sin (roll_rad))); - - // System.out.println ("Was left_point.x " + left_point.x + " left_point.y " + left_point.y); - // System.out.println ("Was right_point.x " + right_point.x + " right_point.y " + right_point.y); - - // right_point.x = tmp.x; - // left_point.x = -tmp.x; - // right_point.y = tmp.y; - // left_point.y = -tmp.y; - - // System.out.println ("Now left_point.x " + left_point.x + " left_point.y " + left_point.y); - // System.out.println ("Now right_point.x " + right_point.x + " right_point.y " + right_point.y); - } - - 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_); - - // lat_.setBackground (Color.lightGray); - // long_.setBackground (Color.lightGray); - // alt_.setBackground (Color.lightGray); - // heading_.setBackground (Color.lightGray); - - // setBackground (Color.black); - // setLayout (new CardLayout (1, 1)); - - // grid_panel.setBackground (Color.black); - // grid_panel.setLayout (new GridLayout(1, 4, 1, 0)); - // grid_panel.add (lat_); - // grid_panel.add (long_); - // grid_panel.add (alt_); - // grid_panel.add (heading_); - - // add ("Grid Panel", grid_panel); - } - - 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/Sim_Display/Display_Client.java b/TAO/examples/Simulator/Sim_Display/Display_Client.java deleted file mode 100644 index a964d5a6f0c..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Client.java +++ /dev/null @@ -1,115 +0,0 @@ -// $Id$ - -/** - * This class pulls the structured simulation data from a socket and - * funnels it into the display. - * - * @author Seth Widoff - * @version $Id$ - * modified by Michael Kircher on 1998/02/19 - */ - -import java.util.*; -import java.awt.*; - -class Display_Frame extends Frame -{ - MenuBar menubar_; - Menu menu_quit_; - MenuItem menu_quit_item_; - - public Display_Frame () - { - super (); - menubar_ = new MenuBar (); - menu_quit_ = new Menu ("Quit"); - menu_quit_item_ = new MenuItem ("Quit"); - menu_quit_item_.enable (); - menu_quit_.add (menu_quit_item_); - menubar_.add (menu_quit_); - - setMenuBar (menubar_); - } - - - - public boolean action (Event e, Object arg) - { - System.out.println ("action occured"); - if (e.target == menu_quit_item_) - { - System.exit (0); - return true; - } - return false; - } - -} - - -public class Display_Client // extends java.applet.Applet -{ - public final static int DEFAULT_PORT = 5555; - - public final static String CPU_USAGE = "CPU Usage (%)", - LATENCY = "Latency (ms)", - JITTER = "Jitter (ms)", - OVERHEAD = "Overhead (%)", - DEADLINES = "Missed Deadlines (#)"; - - -public synchronized void paint (Graphics g) {} - - public void init () - { - - String art_hor_name = - Display_Object_Factory.resolve_name - (Display_Object_Factory.ART_HORIZON_ENUM); - String weapons_name = - Display_Object_Factory.resolve_name - (Display_Object_Factory.WEAPONS_ENUM); - - display.add_metric (CPU_USAGE, 1); - display.add_metric (OVERHEAD, 1); - display.add_metric (JITTER, 10); - display.add_metric (LATENCY, 10); - display.add_metric (DEADLINES, 2); - display.add_simulator (weapons_name); - display.add_simulator (art_hor_name); - - display_consumer = new Display_Consumer (display); //, this.getParameter("NS_IOR"), this); - Dimension ss = Toolkit.getDefaultToolkit ().getScreenSize (); - - sim_frame.setResizable (false); - sim_frame.setTitle ("Scheduler Demo"); - sim_frame.setBounds (ss.width/2 - 275, ss.height/2 - 275, 700, 700); - sim_frame.setLayout (new BorderLayout ()); - sim_frame.add ("Center", display); - - sim_frame.show (); - - display_consumer.run (); - } - - - - public Display_Client () - { - sim_frame = new Display_Frame (); - display = new Display (); - - } - - private Frame sim_frame; - private Display display; - private Display_Consumer display_consumer; - - public static void main (String[] args) - { - Display_Client display_client_ = new Display_Client (); - display_client_.init (); - } -} - - diff --git a/TAO/examples/Simulator/Sim_Display/Display_Consumer.java b/TAO/examples/Simulator/Sim_Display/Display_Consumer.java deleted file mode 100644 index 29b6f4e3535..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Consumer.java +++ /dev/null @@ -1,172 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// Display_Consumer.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// This Consumer connects to the Event Channel (TAO Event Channel). -// It accepts Notification events containing Navigation and -// Weapons data. -// -// -// ============================================================================ - - - - -public class Display_Consumer { - - 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; - - private org.omg.CORBA.ORB orb_; - private org.omg.CORBA.BOA boa_; - private org.omg.CORBA.Object naming_service_object_; - - private Display display_; - private Navigation navigation_; - private Weapons weapons_; - - public synchronized void init () - { - } - - -public Display_Consumer (Display display) //, String name_service_ior, java.applet.Applet applet) - { - display_ = display; - try { - orb_ = org.omg.CORBA.ORB.init (); // applet, null); - boa_ = orb_.BOA_init (); - - // Get the Naming Service initial reference - - //naming_service_object_ = orb_.string_to_object (name_service_ior); - - NS_Resolve ns_resolve_ = new NS_Resolve (); - - naming_service_object_ = ns_resolve_.resolve_name_service (orb_); - } - catch(org.omg.CORBA.SystemException e) { - System.err.println ("Client constructur: Failure"); - 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"); - } - - // 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_); - - // 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_); - - - // Start the consumer - Display_Push_Consumer display_push_consumer_ = new Display_Push_Consumer (orb_, display_); - display_push_consumer_.open_consumer (event_channel_, scheduler_, "demo_consumer"); - - // Tell the CORBA environment that we are ready - - boa_.obj_is_ready (display_push_consumer_); - - 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 ("Client run: Failure"); - System.err.println(e); - } - } - - -} // public class Display_Consumer - - - - - - - diff --git a/TAO/examples/Simulator/Sim_Display/Display_Object.java b/TAO/examples/Simulator/Sim_Display/Display_Object.java deleted file mode 100644 index 9d401f6e723..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Object.java +++ /dev/null @@ -1,8 +0,0 @@ -// $Id$ - -import java.io.*; - -public interface Display_Object -{ - public int update_display (Display_Push_Consumer display_push_consumer); -} diff --git a/TAO/examples/Simulator/Sim_Display/Display_Object_Factory.java b/TAO/examples/Simulator/Sim_Display/Display_Object_Factory.java deleted file mode 100644 index c7a036e1132..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Object_Factory.java +++ /dev/null @@ -1,42 +0,0 @@ -// $Id$ - -import java.io.*; -import java.util.*; - -public class Display_Object_Factory -{ - public final static int LONG_SIZE = 4; - public final static int DOUBLE_SIZE = 8; - - public final static int ART_HORIZON_ENUM = 0, - WEAPONS_ENUM = 1; - - private final static String[] DISPLAY_NAMES = - { - "Artificial Horizon", - "Weapons Display", - }; - - private static Hashtable objs_ = new Hashtable (); - - static - { - objs_.put (DISPLAY_NAMES[ART_HORIZON_ENUM], - new Display_Art_Horizon ()); - objs_.put (DISPLAY_NAMES[WEAPONS_ENUM], - new Display_Weapons ()); - } - - public static String resolve_name (long enum) - { - return (enum < DISPLAY_NAMES.length) ? - DISPLAY_NAMES[(int)enum] : null; - } - - public static Display_Object create_display_object (String name) - { - Object obj = objs_.get (name); - return (obj == null) ? null : (Display_Object) obj; - } -} - diff --git a/TAO/examples/Simulator/Sim_Display/Display_Push_Consumer.java b/TAO/examples/Simulator/Sim_Display/Display_Push_Consumer.java deleted file mode 100644 index 25d6cff8dad..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Push_Consumer.java +++ /dev/null @@ -1,240 +0,0 @@ -// $Id$ -// -// ============================================================================ -// -// -// = FILENAME -// Display_Push_Consumer.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = DESCRIPTION -// Implemenation of a PushConsumer -// -// -// ============================================================================ - - - - - -// The Consumer has to implement the Skeleton Consumer - -public class Display_Push_Consumer extends RtecEventComm._sk_PushConsumer -{ - - 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 Navigation navigation_; - private Weapons weapons_; - private Display display_; - private RtecScheduler.handle_tHolder rt_info_; - private RtecEventChannelAdmin.EventChannel channel_admin_; - private RtecEventChannelAdmin.ConsumerAdmin consumer_admin_; - private RtecEventChannelAdmin.ProxyPushSupplier suppliers_; - - public Display_Push_Consumer (org.omg.CORBA.ORB orb, Display display) - { - orb_ = orb; - display_ = display; - } - - - 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_++; - /* - if (total_received_ >= TOTAL_MESSAGES) - { - orb.disconnect (this); - System.exit (0); - } - */ - for (int i = 0; i < events.length; ++i) - { - if(events[i].type_ == ACE_ES_EVENT_NOTIFICATION) - { - try - { - if (events[i].data_.any_value.type().equal (NavigationHelper.type())) - { - navigation_ = NavigationHelper.extract (events[i].data_.any_value); - display_.update_metrics (navigation_.utilitzation, - navigation_.overhead, - navigation_.arrival_time, - navigation_.deadline_time, - navigation_.completion_time, - navigation_.computation_time); - display_.update_simulation (Display_Object_Factory.ART_HORIZON_ENUM, this); - } - else if (events[i].data_.any_value.type().equal (WeaponsHelper.type())) - { - weapons_ = WeaponsHelper.extract (events[i].data_.any_value); - display_.update_metrics (weapons_.utilitzation, - weapons_.overhead, - weapons_.arrival_time, - weapons_.deadline_time, - weapons_.completion_time, - weapons_.computation_time); - display_.update_simulation (Display_Object_Factory.WEAPONS_ENUM, this); - } - else - { - System.out.println ("TypeCode in the any does not match!"); - } - } - 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_ = new RtecScheduler.handle_tHolder (scheduler_.create (name)); - - scheduler_.set (rt_info_.value, - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - 2500000, // period - RtecScheduler.Importance.VERY_LOW, - new TimeBase.ulonglong (0,0), - 1); - - - // Register for Notification and Shutdown events - - - RtecEventComm.Event disjunction_designator_ = - new RtecEventComm.Event (ACE_ES_DISJUNCTION_DESIGNATOR, 0, - 1, // ttl - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new RtecEventComm.EventData (0, 0, orb_.create_any()) - ); - 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 (0, 0, orb_.create_any()) - ); - RtecEventComm.Event shutdown_event_ = - new RtecEventComm.Event (ACE_ES_EVENT_SHUTDOWN, 0, - 1, // ttl - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new TimeBase.ulonglong (0,0), - new RtecEventComm.EventData (0, 0, orb_.create_any()) - ); - - - RtecEventChannelAdmin.Dependency dependencies_[] = new RtecEventChannelAdmin.Dependency[3]; - dependencies_[0] = new RtecEventChannelAdmin.Dependency (disjunction_designator_, rt_info_.value); - dependencies_[1] = new RtecEventChannelAdmin.Dependency (notification_event_, rt_info_.value); - dependencies_[2] = new RtecEventChannelAdmin.Dependency (shutdown_event_, rt_info_.value); - - - - RtecEventChannelAdmin.ConsumerQOS qos = new RtecEventChannelAdmin.ConsumerQOS (dependencies_); - - - // 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 (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); - } - } - public Navigation get_navigation () - { - return navigation_; - } - - public Weapons get_weapons () - { - return weapons_; - } - -} - - - - - - - - - - diff --git a/TAO/examples/Simulator/Sim_Display/Display_Weapons.java b/TAO/examples/Simulator/Sim_Display/Display_Weapons.java deleted file mode 100644 index e9a8a07c80e..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Display_Weapons.java +++ /dev/null @@ -1,123 +0,0 @@ -// $Id$ - -import java.io.*; -import java.net.*; -import java.util.*; -import java.awt.*; - -public class Display_Weapons - extends Panel - implements Display_Object -{ - private final static String ONLINE = "Online", - OFFLINE = "Offline"; - private final static Font FONT_BIG = new Font ("Dialog", Font.BOLD, 14), - 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_ = new Hashtable (); - private GridBagLayout gbl_= new GridBagLayout (); - private GridBagConstraints gbc_ = new GridBagConstraints (); - - public Display_Weapons () - { - Label default_label = - new Label ("No weapons available", Label.CENTER); - - 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 Dimension getPreferredSize () - { - return new Dimension (250, 200); - } - - public Dimension getMinimumSize () - { - return new Dimension (250, 100); - } - - public int update_display (Display_Push_Consumer display_push_consumer) - { - Weapons weapons = display_push_consumer.get_weapons (); - - for (int i = 0; i < weapons.number_of_weapons && i < 5; i++) - { - String weapon; - int status; - switch (i) - { - default: - 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_.get (weapon); - - if (status_label != null) - status_label.setText ((status == 1) ? ONLINE : OFFLINE); - else - { - if (count_ == 0) - 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_.put (weapon, status_label); - } - - status_label.setForeground ((status == 1) ? - Color.lightGray : - Color.darkGray); - } - - validate (); - return 0; - } -} diff --git a/TAO/examples/Simulator/Sim_Display/Graph.java b/TAO/examples/Simulator/Sim_Display/Graph.java deleted file mode 100644 index d8be73b54cb..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Graph.java +++ /dev/null @@ -1,163 +0,0 @@ -// $Id$ - - -import java.awt.*; -import java.util.*; - -public class Graph extends Canvas -{ - 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 float local_max_ = 0; - private boolean max_increased_ = false; - - public Graph(String title, int max_value) - { - super(); - - plot_ = new Queue(); - spacing_ = MIN_SPACING; - title_ = title; - max_value_ = max_value; - old_max_value_ = max_value; - } - - public Dimension getMinimumSize () - { - return new Dimension (75, 75); - } - - public Dimension getPreferredSize () - { - return new Dimension (175, 175); - } - - public void addNewData(float new_point) - { - Float temp = (Float)plot_.dequeue_tail(); - plot_.enqueue_head(new Float(new_point)); - - if (new_point > local_max_) - local_max_ = new_point; - - 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; - } - - 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); - } - - public String getKey() - { - return title_; - } - - public int getMax() - { - return old_max_value_; - } - - 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); - } - - public void updateDisplay(float information) - { - addNewData(information); - repaint(); - } -} - diff --git a/TAO/examples/Simulator/Sim_Display/Graph_Panel.java b/TAO/examples/Simulator/Sim_Display/Graph_Panel.java deleted file mode 100644 index 2eb6519f7c3..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Graph_Panel.java +++ /dev/null @@ -1,181 +0,0 @@ -// $Id$ - -import java.awt.*; -import java.awt.event.*; -import java.util.*; - -class Graph_Panel - extends Panel - implements ComponentListener, - ContainerListener -{ - private final static int VPAD = 4, HPAD = 4, - MIN_WIDTH = 100, - SUG_WIDTH = 175; - private final static Random RAND = new Random (System.currentTimeMillis()); - private static float hue_ = RAND.nextFloat(); - - private Hashtable graphs_ = new Hashtable(); - - public Graph_Panel() - { - addComponentListener (this); - addContainerListener (this); - } - - public void addGraph(String name, int max) - { - int index = name.lastIndexOf('/'); - String short_name; - - if (index != -1) - short_name = name.substring(index+1); - else - short_name = name; - - Graph graph = constructGraph(short_name, max); - graphs_.put(name, graph); - } - - public void updateGraph(String name, float new_value) - { - Graph graph = (Graph)graphs_.get(name); - - if(graph != null) - graph.addNewData(new_value); - } - - public Graph getGraph(String name) - { - return (Graph)((Container)graphs_.get(name)).getComponent(0); - } - - public void removeGraph(String name) - { - graphs_.remove(name); - - if (graphs_.size() > 0) - layoutGraphs(); - else - removeAll(); - } - - public int numGraphs() - { - return graphs_.size(); - } - - public void clear() - { - removeAll(); - } - - public void componentResized(ComponentEvent e) - { - System.out.println ("Component resized."); - removeContainerListener (this); - removeComponentListener (this); - layoutGraphs (); - addComponentListener (this); - addContainerListener (this); - } - - public void componentMoved(ComponentEvent e) {} - public void componentShown(ComponentEvent e) {} - public void componentHidden(ComponentEvent e) {} - - public void componentAdded(ContainerEvent e) - { - System.out.println ("component added."); - removeContainerListener (this); - removeComponentListener (this); - layoutGraphs (); - addComponentListener (this); - addContainerListener (this); - } - - public void componentRemoved(ContainerEvent e) - { - System.out.println ("component removed."); - } - - private void layoutGraphs () - { - Dimension current_size = getSize (); - int total_area = current_size.width * current_size.height; - int num_rows, graphs_per_row, min_width = MIN_WIDTH; - int graph_area = graphs_.size () * - (SUG_WIDTH + HPAD) * - (SUG_WIDTH + VPAD); - Enumeration graph_enum = graphs_.elements (); - - removeAll (); - - System.out.println ("Total area: " + total_area + " Graph area: " + graph_area); - - if ((total_area < graph_area) || - (current_size.width < MIN_WIDTH) || - (current_size.height < MIN_WIDTH)) - { - System.out.println ("adjusting graph size"); - min_width = total_area / graphs_.size (); - min_width = (int) Math.round (Math.sqrt (min_width)); - - if (min_width > current_size.height) - min_width = current_size.height; - if (min_width > current_size.width) - min_width = current_size.width; - - // Ah, hopeless. Too narrow to draw graphs in this panel. - if (min_width < MIN_WIDTH) - { - System.err.println ("Graph_Panel.layoutGraphs: Giving up!"); - return; - } - } - - graphs_per_row = current_size.width / (min_width + HPAD); - num_rows = (graphs_.size () / graphs_per_row) + 1; - - setLayout (new GridLayout (num_rows, 1, 0, VPAD)); - for (int i = 0; i < num_rows; i++) - { - Panel row = new Panel (); - row.setLayout (new GridLayout (1, graphs_per_row, HPAD, 0)); - - for (int j = 0; - j < graphs_per_row && graph_enum.hasMoreElements (); - j++) - { - Component graph = (Component) graph_enum.nextElement (); - row.add (graph); - } - - add (row); - } - - validate (); - } - - private final static Graph constructGraph(String label, int max) - { - Graph graph = new Graph(label, max); - - 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); - - graph.setBackground(new_color); - graph.setForeground(Color.white); - - return graph; - } -} diff --git a/TAO/examples/Simulator/Sim_Display/NS_Resolve.java b/TAO/examples/Simulator/Sim_Display/NS_Resolve.java deleted file mode 100644 index 9cf8b275b72..00000000000 --- a/TAO/examples/Simulator/Sim_Display/NS_Resolve.java +++ /dev/null @@ -1,109 +0,0 @@ -// $Id$ -// ============================================================================ -// -// -// = FILENAME -// NS_Resolve.java -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// = 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 int MULTICAST_SEND_PORT = 10060; - private static final int MULTICAST_RECEIVE_PORT = 10061; - - - org.omg.CORBA.Object name_service_; - - - public org.omg.CORBA.Object resolve_name_service (org.omg.CORBA.ORB orb) - { - try - { - // Create a message with the multicast receive port in it - ByteArrayOutputStream byte_stream_ = new ByteArrayOutputStream (); - byte_stream_.write ((int)((MULTICAST_RECEIVE_PORT&0xff00)>>>8)); - byte_stream_.write ((int)(MULTICAST_RECEIVE_PORT&0x00ff)); - byte[] msg = byte_stream_.toByteArray(); - - - // Define the group for the multicast - - InetAddress group = InetAddress.getByName(ACE_DEFAULT_MULTICAST_ADDR); - // Create the multicast socket at any port you want - MulticastSocket multicastsocket_ = new MulticastSocket(MULTICAST_SEND_PORT); - // Create a socket for the answer of the Naming Service - DatagramSocket socket_ = new DatagramSocket (MULTICAST_RECEIVE_PORT); - // Give three seconds time for the Naming Service to respond - socket_.setSoTimeout (3000); - // Build a packet with the port number in it - DatagramPacket hello = new DatagramPacket(msg, msg.length, - group, TAO_DEFAULT_NAME_SERVER_REQUEST_PORT); - - // Send the packet - multicastsocket_.send (hello); - - // @@ The restriction right now is that the length of the IOR cannot be longer than 4096 - byte[] buf = new byte[4096]; - // Set up packet which can be received - DatagramPacket recv = new DatagramPacket (buf, buf.length); - // Receive a packet or time out - socket_.receive (recv); - - // Determine the length of the IOR - int length; - for (length = 0; buf[length] != 0; length++); - - // Store the IOR in a String - String name_service_ior_ = new String (recv.getData (),0,length); - - // Convert the String into - return orb.string_to_object (name_service_ior_); - } - 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/Sim_Display/Queue.java b/TAO/examples/Simulator/Sim_Display/Queue.java deleted file mode 100644 index 7ffaba15c52..00000000000 --- a/TAO/examples/Simulator/Sim_Display/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/Sim_Display/Sim_Panel.java b/TAO/examples/Simulator/Sim_Display/Sim_Panel.java deleted file mode 100644 index 42ed5d7b0f2..00000000000 --- a/TAO/examples/Simulator/Sim_Display/Sim_Panel.java +++ /dev/null @@ -1,64 +0,0 @@ -// $Id$ - -import java.awt.*; -import java.util.*; -import java.io.*; - -class Sim_Panel extends Panel -{ - private GridBagLayout gbl_ = new GridBagLayout (); - private GridBagConstraints gbc_ = new GridBagConstraints (); - - private Hashtable sims_ = new Hashtable(); - - public Sim_Panel() - { - setLayout (gbl_); - gbc_.gridy = 0; - gbc_.weightx= 1; - gbc_.gridwidth = 1; - gbc_.gridheight = 1; - gbc_.gridx = GridBagConstraints.RELATIVE; - gbc_.anchor = GridBagConstraints.CENTER; - } - - public void add_simulator (String name, Display_Object disp_obj) - { - String short_name; - - if (! sims_.contains (name)) - { - Label label = new Label(name, Label.CENTER); - Panel panel = new Panel(); - - label.setFont(new Font("Dialog", Font.BOLD, 12)); - - panel.setLayout(new BorderLayout(0, 2)); - panel.add("Center", (Component)disp_obj); - panel.add("North", label); - sims_.put(name, panel); - - gbl_.setConstraints (panel, gbc_); - add (panel); - } - } - - public void update_simulator (String name, Display_Push_Consumer display_push_consumer) - - { - Container panel = (Container) sims_.get (name); - Display_Object sim = (panel != null) ? (Display_Object) panel.getComponent(0) : null; - - if(sim != null) - sim.update_display (display_push_consumer); - } - - public Display_Object get_simulator(String name) - { - return (Display_Object)((Container) sims_.get (name)).getComponent (0); - } -} - - - - diff --git a/TAO/examples/Simulator/ss b/TAO/examples/Simulator/ss deleted file mode 100755 index fbdccce2561..00000000000 --- a/TAO/examples/Simulator/ss +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/ksh - -#saving old working dir - -old_dir=$cwd -login=`whoami` - -echo // Killing the old services - -ps -ef | grep Service | grep $login | grep -v grep | cut -c10-17 > /tmp/pids$$ - -if [ -s /tmp/pids$$ ]; then - pids=`cat /tmp/pids$$` - kill $pids -fi - - -echo // Initializing the log file - -if [ -r /tmp/logfile$$ ]; then - rm /tmp/logfile$$ -fi - -echo // Logfile for the script "ss" which startes Name, Scheduling and Event Service > /tmp/logfile$$ - -nameserviceport=10016 -schedulerserviceport=10021 -eventserviceport=10026 - -cd ../../../Naming_Service -./Naming_Service -ORBport $nameserviceport >> /tmp/logfile$$ 2>&1 & - -sleep 1 - -IOR=`cat /tmp/logfile$$ | grep IOR | cut -c22-300 | cut -f1 -d">" ` - -echo // The IOR of the Naming Service: $IOR - -echo // Started Naming Service on port $nameserviceport - -cd ../Scheduling_Service -Scheduling_Service -ORBnameserviceior $IOR -ORBport $schedulerserviceport >> /tmp/logfile$$ 2>&1 & - -sleep 1 - -echo // Started Scheduling Service on port $schedulerserviceport - -cd ../Event_Service -Event_Service -ORBnameserviceior $IOR -ORBport $eventserviceport >> /tmp/logfile$$ 2>&1 & - -cd $old_dir -echo // Started Event Service on port $eventserviceport - -echo "// Enjoy the use ;-)" -ps -ef | grep Service | grep -v grep - diff --git a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp b/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp deleted file mode 100644 index 18be67cb507..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.cpp +++ /dev/null @@ -1,72 +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" - -// This program dumps the results of one scheduling in a C++ file. - - - -int main (int argc, char *argv[]) -{ - TAO_TRY - { - // Initialize ORB. - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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 POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_Scheduler_Factory::use_config (naming_context.in ()); - - RtecScheduler::RT_Info_Set_var infos; - 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 (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_Scheduler_Factory::dump_schedule (infos.in (), - "Scheduler_Runtime.cpp"); - } - TAO_CATCH (CORBA::SystemException, sys_ex) - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_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 adadaf485c2..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsp +++ /dev/null @@ -1,99 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Dump_Schedule" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.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 /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 orbsvcs.lib TAO.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 7ac8698103e..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Dump_Schedule.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.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 2b135b2ccaa..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/Makefile +++ /dev/null @@ -1,237 +0,0 @@ -# -# $Id$ -# - -BIN = Dump_Schedule -BUILD = $(BIN) - -DUMP_SRCS = \ - Dump_Schedule.cpp - -LSRC = $(DUMP_SRCS) - -SCHEDULE_OBJS=$(SCHEDULE_SRCS:.cpp=.o) -DUMP_OBJS=$(DUMP_SRCS:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO -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.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 -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -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/config.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/Version.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 \ - $(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/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/compat/objbase.h \ - $(TAO_ROOT)/tao/compat/initguid.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/corbacom.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/objkeyC.h \ - $(TAO_ROOT)/tao/objkeyC.i \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/strategy_T.h \ - $(TAO_ROOT)/tao/strategy_T.i \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/poaC.h \ - $(TAO_ROOT)/tao/poaC.i \ - $(TAO_ROOT)/tao/servant_base.h \ - $(TAO_ROOT)/tao/poaS.h \ - $(TAO_ROOT)/tao/poaS.i \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/nvlist.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.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/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.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/svc.conf b/TAO/orbsvcs/Dump_Schedule/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/Dump_Schedule/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources -# where can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency -# where can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags -# specifies the default thread flags to use, where is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy -# where can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_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 -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/Event_Service/Event_Service.cpp b/TAO/orbsvcs/Event_Service/Event_Service.cpp deleted file mode 100644 index 5d20ba57242..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.cpp +++ /dev/null @@ -1,119 +0,0 @@ -// -// $Id$ -// - -#include "ace/Get_Opt.h" -#include "tao/corba.h" - -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event/Event_Channel.h" - - - -const char* service_name = "EventService"; - -int -parse_args (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "n:"); - int opt; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case 'n': - service_name = get_opt.optarg; - break; - case '?': - default: - ACE_DEBUG ((LM_DEBUG, - "Usage: %s " - "-n service_name " - "\n", - argv[0])); - return -1; - } - } - - return 0; -} - - -int main (int argc, char *argv[]) -{ - TAO_TRY - { - // 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 POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_Scheduler_Factory::use_config (naming_context.in ()); - - // Register Event_Service with Naming Service. - ACE_EventChannel ec_impl; - - RtecEventChannelAdmin::EventChannel_var ec = - ec_impl._this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - CORBA::String_var str = - orb->object_to_string (ec.in (), TAO_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 (service_name); - naming_context->bind (channel_name, ec.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - poa_manager->activate (TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_DEBUG ((LM_DEBUG, "running event service\n")); - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1); - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("EC"); - } - TAO_ENDTRY; - - - return 0; -} diff --git a/TAO/orbsvcs/Event_Service/Event_Service.dsp b/TAO/orbsvcs/Event_Service/Event_Service.dsp deleted file mode 100644 index b2cccaa3eee..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.dsp +++ /dev/null @@ -1,147 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.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 /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 orbsvcs.lib TAO.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 2b2901a9725..00000000000 --- a/TAO/orbsvcs/Event_Service/Event_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.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/Makefile b/TAO/orbsvcs/Event_Service/Makefile deleted file mode 100644 index 0fe75c5d817..00000000000 --- a/TAO/orbsvcs/Event_Service/Makefile +++ /dev/null @@ -1,276 +0,0 @@ -# -# $Id$ -# - -BIN = Event_Service -BUILD = $(BIN) - -LSRC = \ - Event_Service.cpp \ - -ES_OBJS=$(LSRC:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO - -#---------------------------------------------------------------------------- -# 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 -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -ifeq ($(probe),1) - CCFLAGS += -DACE_ENABLE_TIMEPROBES -endif # probe - - -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 \ - $(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/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/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.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/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/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/compat/objbase.h \ - $(TAO_ROOT)/tao/compat/initguid.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/corbacom.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/objkeyC.h \ - $(TAO_ROOT)/tao/objkeyC.i \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/strategy_T.h \ - $(TAO_ROOT)/tao/strategy_T.i \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/poaC.h \ - $(TAO_ROOT)/tao/poaC.i \ - $(TAO_ROOT)/tao/servant_base.h \ - $(TAO_ROOT)/tao/poaS.h \ - $(TAO_ROOT)/tao/poaS.i \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/nvlist.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.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/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.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/Event/Event_Channel.h \ - $(TAO_ROOT)/tao/Timeprobe.h \ - $(TAO_ROOT)/tao/Timeprobe.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/CORBA_Utils_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/CORBA_Utils_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Task_Manager.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Task_Manager.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/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - $(ACE_ROOT)/ace/Select_Reactor.i \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Event_Service/svc.conf b/TAO/orbsvcs/Event_Service/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/Event_Service/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources -# where can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency -# where can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags -# specifies the default thread flags to use, where is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy -# where can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_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 -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/Makefile b/TAO/orbsvcs/Makefile deleted file mode 100644 index 1f4bb7b8d64..00000000000 --- a/TAO/orbsvcs/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = orbsvcs \ - Naming_Service \ - Scheduling_Service \ - Event_Service \ - Dump_Schedule \ - tests \ - -#---------------------------------------------------------------------------- -# 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/Naming_Service/Makefile b/TAO/orbsvcs/Naming_Service/Makefile deleted file mode 100644 index 783e0720cea..00000000000 --- a/TAO/orbsvcs/Naming_Service/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = Naming_Service - -SVR_SRCS=Naming_Service.cpp - -LDLIBS = -lorbsvcs -lTAO - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VLIB) $(VSHLIB) $(SHLIBA) $(VBIN) - -#---------------------------------------------------------------------------- -# 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 - -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -# 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/Naming_Service/Naming_Service.cpp b/TAO/orbsvcs/Naming_Service/Naming_Service.cpp deleted file mode 100644 index c5d6a3baf4d..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// orbsvcs/Naming_Service/Naming_Service -// -// = FILENAME -// Naming_Service.cpp -// -// = DESCRIPTION -// This class implements a Naming_Service object. -// -// = AUTHORS -// Nagarajan Surendran (naga@cs.wustl.edu) -// -// ============================================================================ - -#include "Naming_Service.h" - -// Default Constructor. - -Naming_Service::Naming_Service (void) -{ -} - -// Constructor taking command-line arguments - -Naming_Service::Naming_Service (int argc, - char** argv) -{ - this->init (argc,argv); -} - -// Initialize the state of the Naming_Service object - -int -Naming_Service::init (int argc, - char** argv) -{ - TAO_TRY - { - this->init_child_poa (argc, - argv, - "child_poa", - TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->my_naming_server_.init (this->orb_, - this->child_poa_); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("Naming_Service::init"); - return -1; - } - TAO_ENDTRY; - return 0; -} - -// Run the ORB event loop - -int -Naming_Service::run (CORBA_Environment& env) -{ - return TAO_ORB_Manager::run (env); -} - -// Destructor. - -Naming_Service::~Naming_Service (void) -{ -} - - -int -main (int argc, char ** argv) -{ - int init_result; - - Naming_Service naming_service; - - init_result = naming_service.init (argc,argv); - if (init_result < 0) - return init_result; - - TAO_TRY - { - naming_service.run (TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("NamingService"); - return -1; - } - TAO_ENDTRY; - 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 2635de8e1a1..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.dsp +++ /dev/null @@ -1,111 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Naming_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=Naming_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 "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 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 - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!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 "" -# 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)" == "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 "" -# 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 /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 orbsvcs.lib TAO.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao" /libpath:"..\..\..\ace" - -!ENDIF - -# Begin Target - -# Name "Naming_Service - Win32 Release" -# Name "Naming_Service - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\Naming_Service.cpp -# 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 e324e70ecc8..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.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 4d34ad592d0..00000000000 --- a/TAO/orbsvcs/Naming_Service/Naming_Service.h +++ /dev/null @@ -1,60 +0,0 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// orbsvcs/Naming_Service/Naming_Service -// -// = FILENAME -// Naming_Service.h -// -// = DESCRIPTION -// This class implements the functionality of a Naming_Service. -// -// = AUTHORS -// Nagarajan Surendran (naga@cs.wustl.edu) -// -// ============================================================================ - -#if !defined (_NAMING_SERVICE_H) -#define _NAMING_SERVICE_H - -#include "ace/streams.h" -#include "tao/tao_util.h" -#include "orbsvcs/Naming/Naming_Utils.h" - -class Naming_Service:public TAO_ORB_Manager -{ - // =TITLE - // Defines a class that encapsulates the implementation of a - // naming service. - // =DESCRIPTION - // This class makes use of the TAO_Naming_Server and - // TAO_ORB_Manager class to implement the Naming_Service. - -public: - Naming_Service (void); - // Default Constructor. - - 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& env); - // Run the Naming_Service - - ~Naming_Service (void); - // Destructor. - -private: - TAO_Naming_Server my_naming_server_; - // Naming Server instance. -}; - -#endif /* _NAMING_SERVICE_H */ diff --git a/TAO/orbsvcs/Naming_Service/svc.conf b/TAO/orbsvcs/Naming_Service/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/Naming_Service/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources -# where can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency -# where can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags -# specifies the default thread flags to use, where is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy -# where can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_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 -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/README b/TAO/orbsvcs/README deleted file mode 100644 index bffd4dbd907..00000000000 --- a/TAO/orbsvcs/README +++ /dev/null @@ -1 +0,0 @@ -Further documentation can be found in ../docs/orbsvcs.html diff --git a/TAO/orbsvcs/Scheduling_Service/Makefile b/TAO/orbsvcs/Scheduling_Service/Makefile deleted file mode 100644 index c06c01b1d26..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Makefile +++ /dev/null @@ -1,240 +0,0 @@ -# -# $Id$ -# - -BIN = Scheduling_Service -BUILD = $(BIN) - -SCHEDULE_SRCS = \ - Scheduling_Service.cpp - -LSRC = $(SCHEDULE_SRCS) - -SCHEDULE_OBJS=$(SCHEDULE_SRCS:.cpp=.o) - -LDLIBS = -lorbsvcs -lTAO -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.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 -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -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 \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.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/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(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/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/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.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/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/compat/objbase.h \ - $(TAO_ROOT)/tao/compat/initguid.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/corbacom.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/objkeyC.h \ - $(TAO_ROOT)/tao/objkeyC.i \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/strategy_T.h \ - $(TAO_ROOT)/tao/strategy_T.i \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/poaC.h \ - $(TAO_ROOT)/tao/poaC.i \ - $(TAO_ROOT)/tao/servant_base.h \ - $(TAO_ROOT)/tao/poaS.h \ - $(TAO_ROOT)/tao/poaS.i \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/nvlist.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.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/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(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/Config_Scheduler.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp b/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp deleted file mode 100644 index 1bc1b03710b..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.cpp +++ /dev/null @@ -1,81 +0,0 @@ -// -// $Id$ -// - -#include "tao/corba.h" - -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Sched/Config_Scheduler.h" - -int main (int argc, char *argv[]) -{ - TAO_TRY - { - // Initialize ORB. - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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 POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Create an Scheduling service servant... - ACE_Config_Scheduler scheduler_impl; - TAO_CHECK_ENV; - - RtecScheduler::Scheduler_var 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 scheduler IOR is <%s>\n", str.in ())); - - // Register the servant with the Naming Context.... - CosNaming::Name schedule_name (1); - schedule_name.length (1); - schedule_name[0].id = CORBA::string_dup ("ScheduleService"); - naming_context->bind (schedule_name, scheduler.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - poa_manager->activate (TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_DEBUG ((LM_DEBUG, "running scheduling service\n")); - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), 1); - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("schedule_service"); - } - TAO_ENDTRY; - - return 0; -} diff --git a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp b/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp deleted file mode 100644 index ffb8479c780..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsp +++ /dev/null @@ -1,112 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Scheduling_Service" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.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 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 /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 orbsvcs.lib TAO.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 -# 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 ab63039796a..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/Scheduling_Service.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.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/svc.conf b/TAO/orbsvcs/Scheduling_Service/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/Scheduling_Service/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources -# where can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency -# where can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags -# specifies the default thread flags to use, where is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy -# where can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_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 -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/Trading_Service/Makefile b/TAO/orbsvcs/Trading_Service/Makefile deleted file mode 100644 index 3f18ff891ba..00000000000 --- a/TAO/orbsvcs/Trading_Service/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -#-------------------------------------------------------------------------- -# $Id$ -# Build the TAO Trading Service -#-------------------------------------------------------------------------- - -#--------------- -# STL (start) -#--------------- - -include $(STL_ROOT)/config/local.cfg - -CC_INCLUDES += -I$(STD) -CC_INCLUDES += -pta - -CPPFLAGS += \ - -I$(TOOLKIT) \ - $(CC_INCLUDES) \ - $(CC_FLAGS) \ - $(CC_DEFINES) \ - $(CC_EH) \ - $(CC_MT) - -ifndef exceptions -CPPFLAGS += -DOS_NO_EXCEPTION_SPECIFIER -else -CPPFLAGS += -DOS_STL_ASSERT -endif - -LDFLAGS += -L$(STL_ROOT)/lib - -#--------------- -# STL (end) -#--------------- - -#-------------------------------------------------------------------------- -# Local macros -#-------------------------------------------------------------------------- - -BIN = trader - -SVR_SRCS= trader.cpp - -LDLIBS = -lorbsvcs -lTAO -lospace - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VLIB) $(VSHLIB) $(SHLIBA) $(VBIN) - -#-------------------------------------------------------------------------- -# 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 - -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG) #-H - -# 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/Trading_Service/trader.cpp b/TAO/orbsvcs/Trading_Service/trader.cpp deleted file mode 100644 index 0ed28f298fc..00000000000 --- a/TAO/orbsvcs/Trading_Service/trader.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ - -// ======================================================================== -// -// = BINARY -// trader -// -// = FILENAME -// trader.cpp -// -// = AUTHOR -// Marina Spivak -// Seth Widoff -// -// ======================================================================= - -#include "tao/corba.h" -#include "orbsvcs/CosNamingC.h" -#include "orbsvcs/Trader/Trader.h" -#include "orbsvcs/Trader/Service_Type_Repository.h" - -const char* service_name = "TradingService"; - -typedef TAO_Trader TRADER; -typedef TAO_Service_Type_Repository TYPE_REPOS; - -int main(int argc, char * const *argv) -{ - TAO_TRY - { - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - 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 POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - - // Create a Service Type Repository and a Trader Object. - TYPE_REPOS type_repos; - TRADER trader ((TRADER::Trader_Components) - (TRADER::LOOKUP | TRADER::REGISTER | TRADER::ADMIN)); - TAO_Support_Attributes_Impl& sup_attr = trader.support_attributes (); - TAO_Trading_Components_Impl& trd_comp = trader.trading_components (); - - // Set the service type repository - sup_attr.type_repos (type_repos._this (TAO_TRY_ENV)); - TAO_CHECK_ENV; - - CosTrading::Lookup_var lookup = trd_comp.lookup_if (); - - CosNaming::Name trading_name (1); - trading_name.length (1); - trading_name[0].id = CORBA::string_dup (service_name); - naming_context->bind (trading_name, lookup.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - poa_manager->activate (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Begin trading! - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("EC"); - } - TAO_ENDTRY; - - return 0; -} - diff --git a/TAO/orbsvcs/orbsvcs.dsw b/TAO/orbsvcs/orbsvcs.dsw deleted file mode 100644 index d75c2d36bed..00000000000 --- a/TAO/orbsvcs/orbsvcs.dsw +++ /dev/null @@ -1,89 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -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: "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: "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 983e3527555..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp +++ /dev/null @@ -1,771 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// AVStreams_i.cpp -// -// = AUTHOR -// Sumedh Mungee -// -// -// ============================================================================ - -#include "orbsvcs/AV/AVStreams_i.h" - -// ---------------------------------------------------------------------- -// TAO_Basic_StreamCtrl -// ---------------------------------------------------------------------- - -// Constructor -TAO_Basic_StreamCtrl::TAO_Basic_StreamCtrl (CORBA::ORB_var orb) - : orb_ (orb) -{ -} - -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 &env) -{ - if (CORBA::is_nil (stream_endpoint_a_.in ())) - return; - - // Make the upcall into the application - this->stream_endpoint_a_->stop (the_spec, 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 &the_spec, - CORBA::Environment &env) -{ - if (CORBA::is_nil (this->stream_endpoint_a_.in ())) - return; - - // Make the upcall into the application - this->stream_endpoint_a_->start (the_spec, 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 &env) -{ - if (CORBA::is_nil (this->stream_endpoint_a_.in ())) - return; - - // Make the upcall into the application - this->stream_endpoint_a_->destroy (the_spec, 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 &env) -{ - ACE_UNUSED_ARG (new_qos); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (env); - return 0; -} - -// 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 char *the_event, - CORBA::Environment &env) -{ - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) Recieved event \"%s\"", - the_event)); - ACE_UNUSED_ARG (env); -} - -// Used to control the flow protocol parameters. -void -TAO_Basic_StreamCtrl::set_FPStatus (const AVStreams::flowSpec &the_spec, - const char *fp_name, - const CORBA::Any &fp_settings, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (fp_name); - ACE_UNUSED_ARG (fp_settings); - ACE_UNUSED_ARG (env); -} - -// @@ Need to throw not-supported exception here -CORBA::Object_ptr -TAO_Basic_StreamCtrl::get_flow_connection (const char *flow_name, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (flow_name); - ACE_UNUSED_ARG (env); - return 0; -} - -// @@ 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 &env) -{ - ACE_UNUSED_ARG (flow_name); - ACE_UNUSED_ARG (flow_connection); - ACE_UNUSED_ARG (env); -} - -// ---------------------------------------------------------------------- -// TAO_StreamCtrl -// ---------------------------------------------------------------------- - -TAO_StreamCtrl::TAO_StreamCtrl (CORBA::ORB_var orb) - : TAO_Basic_StreamCtrl (orb) -{ -} - -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 &env) -{ - // Check to see if we have non-nil parties to bind! - if (CORBA::is_nil (a_party) || - CORBA::is_nil (b_party)) - ACE_ERROR_RETURN ((LM_ERROR, - "\n(%P|%t) TAO_StreamCtrl::bind_devs: " - "a_party or b_party is null!\n"), - 1); - - // Request a_party to create the endpoint and vdev - CORBA::Boolean met_qos; - CORBA::String_var named_vdev; - - this->stream_endpoint_a_ = - a_party-> create_A (this->_this (env), - this->vdev_a_.out (), - the_qos, - met_qos, - named_vdev.inout (), - the_flows, - env); - TAO_CHECK_ENV_RETURN (env, 1); - - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_StreamCtrl::create_A: succeeded")); - - // Request b_party to create the endpoint and vdev - - this->stream_endpoint_b_ = - b_party-> create_B (this->_this (env), - this->vdev_b_.out (), - the_qos, - met_qos, - named_vdev.inout (), - the_flows, - env); - TAO_CHECK_ENV_RETURN (env, 1); - - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_StreamCtrl::create_B: succeeded")); - - ACE_DEBUG ((LM_DEBUG, - "\nstream_endpoint_b_ = %s", - this->orb_->object_to_string (this->stream_endpoint_b_, - env))); - TAO_CHECK_ENV_RETURN (env, 1); - - // Tell the 2 VDev's about one another - this->vdev_a_->set_peer (this->_this (env), - this->vdev_b_.in (), - the_qos, - the_flows, - env); - - TAO_CHECK_ENV_RETURN (env, 1); - - this->vdev_b_->set_peer (this->_this (env), - this->vdev_a_.in (), - the_qos, - the_flows, - env); - - TAO_CHECK_ENV_RETURN (env, 1); - - - // Now connect the streams together. This will - // establish the connection - this->stream_endpoint_a_->connect (this->stream_endpoint_b_, - the_qos, - the_flows, - env); - TAO_CHECK_ENV_RETURN (env, 1); - return 0; -} - -// Used to establish a connection between two endpoints -// directly, i.e. without a MMDevice -CORBA::Boolean -TAO_StreamCtrl::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) -{ - if (CORBA::is_nil (a_party) || - CORBA::is_nil (b_party)) - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) TAO_StreamCtrl::bind:" - "a_party or b_party null!"), - 1); - - this->stream_endpoint_a_ = a_party; - this->stream_endpoint_b_ = b_party; - // Now connect the streams together - this->stream_endpoint_a_->connect (this->stream_endpoint_b_, - the_qos, - the_flows, - env); - TAO_CHECK_ENV_RETURN (env, 1); - return 0; -} - -void -TAO_StreamCtrl::unbind (CORBA::Environment &env) -{ - ACE_UNUSED_ARG (env); -} - -void -TAO_StreamCtrl::unbind_party (AVStreams::StreamEndPoint_ptr the_ep, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (the_ep); - ACE_UNUSED_ARG (the_spec); - ACE_UNUSED_ARG (env); -} - -// ---------------------------------------------------------------------- -// TAO_StreamEndPoint -// ---------------------------------------------------------------------- - -TAO_StreamEndPoint::TAO_StreamEndPoint (void) -{ -} - -// 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 &env) -{ - // Make the upcall into the app - this->handle_stop (the_spec, env); -} - -// Start the physical flow of data on the stream -// Empty the_spec --> apply to all flows -void -TAO_StreamEndPoint::start (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - // Make the upcall into the app - this->handle_start (the_spec, env); -} - -// Close the connection -void -TAO_StreamEndPoint::destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - // Make the upcall into the app - this->handle_destroy (the_spec, env); -} - -// Called by streamctrl, requesting us to call request_connection -// on the responder (to initiate a connection) -CORBA::Boolean -TAO_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - ACE_DEBUG ((LM_DEBUG, "(%P|%t) In TAO_StreamEndPoint::connect\n")); - responder->request_connection (this->_this (env), - 0, - qos_spec, - the_spec, - env); - TAO_CHECK_ENV_RETURN (env, 1); -} - -// 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 &env) -{ - 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 (int i = 0; i < the_spec.length (); i++) - ACE_DEBUG ((LM_DEBUG, - the_spec [i])); - - return 0; -} - -CORBA::Boolean -TAO_StreamEndPoint::modify_QoS (AVStreams::streamQoS &new_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &env) -{ - return 0; -} - -CORBA::Boolean -TAO_StreamEndPoint::set_protocol_restriction (const AVStreams::protocolSpec &the_pspec, - CORBA::Environment &env) -{ - return 0; -} - -void -TAO_StreamEndPoint::disconnect (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ -} - -void -TAO_StreamEndPoint::set_FPStatus (const AVStreams::flowSpec &the_spec, - const char *fp_name, - const CORBA::Any &fp_settings, - CORBA::Environment &env) -{ -} - -CORBA::Object_ptr -TAO_StreamEndPoint::get_fep (const char *flow_name, - CORBA::Environment &env) -{ - return 0; -} - -char * -TAO_StreamEndPoint::add_fep (CORBA::Object_ptr the_fep, - CORBA::Environment &env) -{ - return 0; -} - -void -TAO_StreamEndPoint::remove_fep (const char *fep_name, - CORBA::Environment &env) -{ -} - -void -TAO_StreamEndPoint::set_negotiator (AVStreams::Negotiator_ptr new_negotiator, - CORBA::Environment &env) -{ -} - -void -TAO_StreamEndPoint::set_key (const char *flow_name, - const char *the_key, - CORBA::Environment &env) -{ -} - -void -TAO_StreamEndPoint::set_source_id (CORBA::Long source_id, - CORBA::Environment &env) -{ -} - -TAO_StreamEndPoint::~TAO_StreamEndPoint (void) -{ -} - -// ---------------------------------------------------------------------- -// TAO_Client_StreamEndPoint -// ---------------------------------------------------------------------- - -TAO_Client_StreamEndPoint::TAO_Client_StreamEndPoint (void) -{ - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_Client_StreamEndPoint::TAO_Client_StreamEndPoint: created")); -} - -CORBA::Boolean -TAO_Client_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - // Use the base class implementation of connect - TAO_StreamEndPoint::connect (responder, - qos_spec, - the_spec, - env); - - // Make the upcall to the app - return this->handle_connection_established (responder, - qos_spec, - the_spec, - env); - -} - - -CORBA::Boolean -TAO_Client_StreamEndPoint::multiconnect (AVStreams::streamQoS &the_qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - return 0; -} - -CORBA::Boolean -TAO_Client_StreamEndPoint::connect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_flows, - CORBA::Environment &env) -{ - return 0; -} - -void -TAO_Client_StreamEndPoint::disconnect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - const AVStreams::flowSpec &theSpec, - CORBA::Environment &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")); -} - -CORBA::Boolean -TAO_Server_StreamEndPoint::request_connection (AVStreams::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env) - -{ - // Use the base class implementation of request_connection - TAO_StreamEndPoint::request_connection (initiator, - is_mcast, - qos, - the_spec, - env); - - // Make the upcall to the app - return this->handle_connection_requested (initiator, - is_mcast, - qos, - the_spec, - env); - -} -CORBA::Boolean -TAO_Server_StreamEndPoint::multiconnect (AVStreams::streamQoS &the_qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - return 0; -} - -TAO_Server_StreamEndPoint::~TAO_Server_StreamEndPoint (void) -{ -} - -// ---------------------------------------------------------------------- -// TAO_VDev -// ---------------------------------------------------------------------- - -TAO_VDev::TAO_VDev (void) -{ - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_VDev::TAO_VDev: created")); -} - -// 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 &env) -{ - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) TAO_VDev::set_peer: called")); - this->streamctrl_ = the_ctrl; - this->peer_ = the_peer_dev; - return 0; -} - -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 &env) -{ - return 0; -} - -void -TAO_VDev::configure (const CosPropertyService::Property &the_config_mesg, - CORBA::Environment &env) -{ -} - -void -TAO_VDev::set_format (const char *flowName, - const char *format_name, - CORBA::Environment &env) -{ -} - -void -TAO_VDev::set_dev_params (const char *flowName, - const CosPropertyService::Properties &new_params, - CORBA::Environment &env) -{ -} - -CORBA::Boolean -TAO_VDev::modify_QoS (AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) -{ - return 0; -} - -TAO_VDev::~TAO_VDev (void) -{ -} - -// ---------------------------------------------------------------------- -// TAO_MMDevice -// ---------------------------------------------------------------------- - - - -TAO_MMDevice::TAO_MMDevice () -{ -} - -// 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 &env) -{ -#if 0 - TAO_TRY - { - TAO_StreamCtrl *stream_ctrl = new TAO_StreamCtrl (); - if (stream_ctrl == 0) - return 0; - stream_ctrl->bind_devs (peer_device, - AVStreams::StreamCtrl::_duplicate - (this->_this (TAO_TRY_ENV)), - the_qos, - the_spec, - TAO_TRY_ENV); - TAO_CHECK_ENV; - return stream_ctrl; - } - TAO_CATCH (CORBA::SystemException, sysex) - { - TAO_TRY_ENV.print_exception ("System Exception"); - return -1; - } - TAO_CATCH (CORBA::UserException, userex) - { - TAO_TRY_ENV.print_exception ("User Exception"); - return -1; - } - TAO_ENDTRY; -#endif - return 0; -} - -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 &env) -{ - return 0; -} - -void -TAO_MMDevice::destroy (AVStreams::StreamEndPoint_ptr the_ep, - const char *vdev_name, - CORBA::Environment &env) -{ -} - -// need to throw notsupported exception -char * -TAO_MMDevice::add_fdev (CORBA::Object_ptr the_fdev, - CORBA::Environment &env) -{ - return 0; -} - -// need to throw notsupported exception -CORBA::Object_ptr -TAO_MMDevice::get_fdev (const char *flow_name, - CORBA::Environment &env) -{ - return 0; -} - -// need to throw notsupported exception -void -TAO_MMDevice::remove_fdev (const char *flow_name, - CORBA::Environment &env) -{ -} - -TAO_MMDevice::~TAO_MMDevice (void) -{ -} - -template -TAO_Client_MMDevice ::TAO_Client_MMDevice () -{ -} - -// We have been asked to create a new stream_endpoint and a vdev. -template -AVStreams::StreamEndPoint_A_ptr -TAO_Client_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 &env) -{ - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_MMDevice::create_A: called")); - - TAO_VDev *vdev = new TAO_VDev; - the_vdev = AVStreams::VDev::_duplicate (vdev->_this (env)); - - TAO_Client_StreamEndPoint *stream_endpoint_a = - new T; - return AVStreams::StreamEndPoint_A::_duplicate - (stream_endpoint_a->_this (env)); -} - -template -AVStreams::StreamEndPoint_B_ptr -TAO_Client_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 &env) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Cannot create a B device on the client side!\n"), - 0); -} - -template -TAO_Server_MMDevice ::TAO_Server_MMDevice () -{ -} - -template -AVStreams::StreamEndPoint_A_ptr -TAO_Server_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 &env) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "(%P|%t) Cannot create a A device on the server side!\n"), - 0); -} - -// We have been asked to create a new stream_endpoint and a vdev. -template -AVStreams::StreamEndPoint_B_ptr -TAO_Server_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 &env) -{ - ACE_DEBUG ((LM_DEBUG, - "\n(%P|%t) TAO_MMDevice::create_B: called")); - - TAO_VDev *vdev = new TAO_VDev; - the_vdev = AVStreams::VDev::_duplicate (vdev->_this (env)); - - TAO_Server_StreamEndPoint *stream_endpoint_b = - new T; - return AVStreams::StreamEndPoint_B::_duplicate - (stream_endpoint_b->_this (env)); -} - diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h deleted file mode 100644 index 4654abbdc43..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h +++ /dev/null @@ -1,495 +0,0 @@ -/* -*- C++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// AVStreams_i.h -// -// = AUTHOR -// Sumedh Mungee -// -// -// ============================================================================ - -#if !defined (AVSTREAMS_I_H) -#define AVSTREAMS_I_H - -#include "orbsvcs/orbsvcs_export.h" -#include "orbsvcs/AVStreamsS.h" - -class TAO_ORBSVCS_Export TAO_Basic_StreamCtrl - : public virtual POA_AVStreams::Basic_StreamCtrl -// = DESCRIPTION -// Base class for StreamCtrl, implements basic stream start -// and stop functionality -{ - public: - TAO_Basic_StreamCtrl (CORBA::ORB_var orb); - // Constructor - - virtual void stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // 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); - // 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); - // 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); - // Changes the QoS associated with the stream - // Empty the_spec means apply operation to all flows - - virtual void push_event (const char *the_event, - CORBA::Environment &env); - // 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); - // Used to control the flow protocol parameters. - - virtual CORBA::Object_ptr get_flow_connection (const char *flow_name, - CORBA::Environment &env); - // 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); - // Not implemented in the light profile, will raise the notsupported - // exception - - virtual ~TAO_Basic_StreamCtrl (void); - // Destructor - - protected: - CORBA::ORB_var orb_; - // ORB reference - - AVStreams::VDev_var vdev_a_; - AVStreams::VDev_var vdev_b_; - // The Virtual Devices for this stream - - AVStreams::StreamEndPoint_A_var stream_endpoint_a_; - AVStreams::StreamEndPoint_B_var stream_endpoint_b_; - // The Endpoints for this stream -}; - -class TAO_ORBSVCS_Export TAO_StreamCtrl - : public virtual POA_AVStreams::StreamCtrl, - public virtual TAO_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. -{ -public: - TAO_StreamCtrl (CORBA::ORB_var orb); - // 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); - // 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); - // Establish a connection between two streamendpoints. This can - // be used if the streamendpoints have been created independent of - // a MMDevice - - virtual void unbind_party (AVStreams::StreamEndPoint_ptr the_ep, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // Unbind the_ep from the stream. Empty the_spec means apply to all flows. - - virtual void unbind (CORBA::Environment &env); - // unbind the stream. Same effect as Basic_StreamCtrl::destroy () - - virtual ~TAO_StreamCtrl (void); - // Destructor - -}; - - -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 void handle_stop (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) = 0; - // Application needs to define this - - virtual void handle_start (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) = 0; - // Application needs to define this - - - virtual void handle_destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) = 0; - // Application needs to define this -}; - -class TAO_ORBSVCS_Export TAO_Client_Base_StreamEndPoint - : public virtual TAO_Base_StreamEndPoint -{ -public: - virtual CORBA::Boolean handle_connection_established (AVStreams::StreamEndPoint_ptr responder, - AVStreams::streamQoS &qos_spec, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env) = 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::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env) = 0; - // Application needs to define this -}; - -class TAO_ORBSVCS_Export TAO_StreamEndPoint - : public virtual POA_AVStreams::StreamEndPoint, // The POA class - public virtual TAO_Base_StreamEndPoint -{ - // = 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); - // Stop the stream. Empty the_spec means, for all the flows - - virtual void start (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // Start the stream, Empty the_spec means, for all the flows - - virtual void destroy (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // 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); - // 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); - // 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); - // Change the transport qos on a stream - - virtual CORBA::Boolean set_protocol_restriction (const AVStreams::protocolSpec &the_pspec, - CORBA::Environment &env); - // Used to restrict the set of protocols - - virtual void disconnect (const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // disconnect the flows - - virtual void set_FPStatus (const AVStreams::flowSpec &the_spec, - const char *fp_name, - const CORBA::Any &fp_settings, - CORBA::Environment &env); - // Used to control the flow - - virtual CORBA::Object_ptr get_fep (const char *flow_name, - CORBA::Environment &env); - // Not implemented in the light profile, throws notsupported - - virtual char * add_fep (CORBA::Object_ptr the_fep, - CORBA::Environment &env); - // Not implemented in the light profile, throws notsupported - - virtual void remove_fep (const char *fep_name, - CORBA::Environment &env); - // Not implemented in the light profile, throws notsupported - - virtual void set_negotiator (AVStreams::Negotiator_ptr new_negotiator, - CORBA::Environment &env); - // Used to "attach" a negotiator to the endpoint - - virtual void set_key (const char *flow_name, - const char *the_key, - CORBA::Environment &env); - // Used for public key encryption. - - virtual void set_source_id (CORBA::Long source_id, - CORBA::Environment &env); - // Used to set a unique id for packets sent by this streamendpoint - - virtual ~TAO_StreamEndPoint (void); - // Destructor - -}; - -class TAO_ORBSVCS_Export TAO_Client_StreamEndPoint : - public virtual POA_AVStreams::StreamEndPoint_A, - public virtual TAO_StreamEndPoint, - public virtual TAO_Client_Base_StreamEndPoint -{ - // = 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); - // 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); - // 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); - // Used for ATM-style multicast - - virtual void disconnect_leaf (AVStreams::StreamEndPoint_B_ptr the_ep, - const AVStreams::flowSpec &theSpec, - CORBA::Environment &env); - // 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 -{ - // = DESCRIPTION - // The "B" side of a streamendpoint -public: - TAO_Server_StreamEndPoint (void); - // Constructor - - virtual CORBA::Boolean request_connection (AVStreams::StreamEndPoint_ptr initiator, - CORBA::Boolean is_mcast, - AVStreams::streamQoS &qos, - AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // 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); - // Used for internet-style multicast - - virtual ~TAO_Server_StreamEndPoint (void); - // Destructor -}; - -class TAO_ORBSVCS_Export TAO_VDev - : public virtual POA_AVStreams::VDev -// = DESCRIPTION -// Implements the VDev interface. One of these is created per connection, -// and represents device-specific parameters -{ - public: - TAO_VDev (void); - // 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); - // 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); - // Used to set the streamctrl and multicast device - - virtual void configure (const CosPropertyService::Property &the_config_mesg, - CORBA::Environment &env); - // 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); - // Used to set a format on a flowname - - virtual void set_dev_params (const char *flowName, - const CosPropertyService::Properties &new_params, - CORBA::Environment &env); - // Used to set device parameters - - virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &the_qos, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); - // Called to change QoS of the device - - virtual ~TAO_VDev (void); - // Destructor - - private: - AVStreams::StreamCtrl_var streamctrl_; - // My stream controller - - AVStreams::VDev_var peer_; - // My peer -}; - -class TAO_ORBSVCS_Export TAO_MMDevice - : public virtual POA_AVStreams::MMDevice -// = DESCRIPTION -// Implements a factory to create Endpoints and VDevs -{ - protected: - TAO_MMDevice (void); - // Constructor - - public: - - 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); - // 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); - // Multicast bind - - virtual void destroy (AVStreams::StreamEndPoint_ptr the_ep, - const char *vdev_name, - CORBA::Environment &env); - // Remove the StreamEndPoint and the related vdev - - virtual char * add_fdev (CORBA::Object_ptr the_fdev, - CORBA::Environment &env); - // Not supported in the light profile, raises notsupported - - virtual CORBA::Object_ptr get_fdev (const char *flow_name, - CORBA::Environment &env); - // Not supported in the light profile, raises notsupported - - virtual void remove_fdev (const char *flow_name, - CORBA::Environment &env); - // Not supported in the light profile, raises notsupported - - virtual ~TAO_MMDevice (void); - // Destructor -}; - -template -class TAO_ORBSVCS_Export TAO_Client_MMDevice - : public virtual TAO_MMDevice -{ -public: - TAO_Client_MMDevice (); - // Constructor - - 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); - // 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); - // Called by StreamCtrl to create a "B" type streamandpoint and vdev -}; - -template -class TAO_ORBSVCS_Export TAO_Server_MMDevice - : public virtual TAO_MMDevice -{ -public: - TAO_Server_MMDevice (); - - 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); - // 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); - // Called by StreamCtrl to create a "B" type streamandpoint and vdev - -}; -#endif /* AVSTREAMS_I_H */ diff --git a/TAO/orbsvcs/orbsvcs/AV/sfp.cpp b/TAO/orbsvcs/orbsvcs/AV/sfp.cpp deleted file mode 100644 index a069f1dc01d..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/sfp.cpp +++ /dev/null @@ -1,211 +0,0 @@ -#include "orbsvcs/AV/sfp.h" -#include "ace/ARGV.h" - -// $Id$ - -// constructor. -SFP_Encoder::SFP_Encoder () - : orb_ (0), - encoder_ (0) -{ - // We need to initialize the ORB! - - TAO_TRY - { - ACE_ARGV orb_args (TAO_SFP_ORB_ARGUMENTS); - int argc = orb_args.argc (); - this->orb_ = CORBA::ORB_init (argc, - orb_args.argv (), - 0, - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SFP_Encoder::ORB_init"); - return; - } - TAO_ENDTRY; - ACE_NEW (encoder_, - CDR ()); - -} - -ACE_Message_Block * -SFP_Encoder::encode_start_message () -{ - TAO_TRY - { - // construct the start message - SFP::start_message start; - - // copy the magic number into the message - start.magic_number = 4; - - // put the version number into the field - start.major_version = TAO_SFP_MAJOR_VERSION; - start.minor_version = TAO_SFP_MINOR_VERSION; - - // flags field is all zeroes - start.flags = 0; - - // encode the start frame - if (encoder_->encode (SFP::_tc_start_message, - &start, - 0, - TAO_TRY_ENV) - == CORBA_TypeCode::TRAVERSE_CONTINUE) - { - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) encode of start message succeeded:" - "length == %d\n", - encoder_->length ())); - - } - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SFP_Source_Endpoint::" - "start_message"); - return 0; - } - TAO_ENDTRY; - - // put the cdr encoded buffer into the message block - ACE_Message_Block *message; - - ACE_NEW_RETURN (message, - ACE_Message_Block (encoder_->length ()), - 0); - - if (message->copy ((char *) encoder_->buffer (), - encoder_->length ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "SFP_Encoder: Could not copy" - " start message into ACE_Message_Block"), - 0); - - message->length (encoder_->length ()); - cerr << message->length (); - - return message; - -} - -ACE_Message_Block * -SFP_Encoder::encode_simple_frame (ACE_Message_Block *data) -{ - TAO_TRY - { - // construct the frame header - SFP::frame_header frame_header; - // copy the magic number into the message - frame_header.magic_number.length (4); - for (int i = 0; i < 4; i++) - frame_header.magic_number [i] = TAO_SFP_MAGIC_NUMBER [i]; - - // flags field is all zeroes - frame_header.flags = 0; - - // put the message type - frame_header.message_type = 2; - - // size - frame_header.message_size = data->length (); - - // encode the frame - if (encoder_->encode (SFP::_tc_frame_header, - &frame_header, - 0, - TAO_TRY_ENV) - == CORBA_TypeCode::TRAVERSE_CONTINUE) - { - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) encode of simple frame succeeded:" - "length == %d\n", - encoder_->length ())); - - } - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SFP_Encoder::" - "start_message"); - return 0; - } - TAO_ENDTRY; - - // put the cdr encoded buffer into the message block - ACE_Message_Block *message; - - ACE_NEW_RETURN (message, - ACE_Message_Block (encoder_->length ()), - 0); - - if (message->copy ((char *) encoder_->buffer (), - (size_t) encoder_->length ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "SFP_Encoder: Could not copy" - " header for simpleframe into " - "ACE_Message_Block"), - 0); - - // set the next pointer to point to the data - message->next (data); - - return message; -} - -SFP_Encoder::~SFP_Encoder () -{ - -} - -SFP_Decoder::SFP_Decoder () -{ - ACE_NEW (decoder_, - CDR ()); - -} - -int -SFP_Decoder::decode_start_message (ACE_Message_Block *message) -{ - - SFP::start_message start; - - TAO_TRY - { - decoder_->setup_encapsulation (message->rd_ptr (), - message->length ()); - - decoder_->decode (SFP::_tc_start_message, - &start, - 0, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SFP_Decoder::" - "decode_start_message"); - return -1; - } - TAO_ENDTRY; - - ACE_DEBUG ((LM_DEBUG, - "Decoded start message," - "version number == %d . %d\n", - start.major_version, - start.minor_version)); - - return 0; -} - -SFP_Decoder::~SFP_Decoder () -{ - -} diff --git a/TAO/orbsvcs/orbsvcs/AV/sfp.h b/TAO/orbsvcs/orbsvcs/AV/sfp.h deleted file mode 100644 index edc5073736f..00000000000 --- a/TAO/orbsvcs/orbsvcs/AV/sfp.h +++ /dev/null @@ -1,81 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#if !defined (TAO_AV_SFP_H) -#define TAO_AV_SFP_H - -#include "ace/SOCK_CODgram.h" -#include "orbsvcs/sfpC.h" - -// default arguments to pass to use for the ORB -const char *TAO_SFP_ORB_ARGUMENTS = "-ORBobjrefstyle URL"; - -// SFP magic numbers -const char *TAO_SFP_MAGIC_NUMBER = "=SFP"; -const char *TAO_SFP_FRAGMENT_MAGIC_NUMBER = "FRAG"; -const char *TAO_SFP_START_MAGIC_NUMBER = "=STA"; - -// SFP version 1.0 -const unsigned char TAO_SFP_MAJOR_VERSION = 1; -const unsigned char TAO_SFP_MINOR_VERSION = 0; - -class SFP_Encoder -// = DESCRIPTION -// Encodes frames for the SFP protocol -// This class uses the CDR encoding format internally. -{ - public: - SFP_Encoder (); - // Default Constructor - - ACE_Message_Block *encode_start_message (); - // returns a SFP start message. it is the users responsibility - // to delete this message block after using it. - - ACE_Message_Block *encode_simple_frame (ACE_Message_Block *data); - // Encodes the message_block in an SFP frame - - // ACE_Message_Block *encode_stop_message (); - // returns a SFP start message. it is the users responsibility to - // delete this message block after using it. - - ~SFP_Encoder (); - - private: - - CDR *encoder_; - // Use the TAO CDR encoder to encode everything - - CORBA::ORB_var orb_; - // Need the ORB to initialize the CDR encoder -}; - -class SFP_Decoder -{ -public: - SFP_Decoder (); - // Default constructor - - int decode_start_message (ACE_Message_Block *message); - // returns 0 if the message is a valid SFP start message - // returns -1 otherwise. - - SFP::message_type decode_frame (ACE_Message_Block *message); - // decodes the message and returns the data in the message. - // Returns the message type. - - int decode_stop_message (ACE_Message_Block *message); - // returns 0 if the message is a valid SFP start message - // returns -1 otherwise. - - ~SFP_Decoder (); - -private: - CDR *decoder_; - // Use the TAO CDR encoder to encode everything - - CORBA::ORB_var orb_; - // Need the ORB to initialize the CDR encoder -}; - -#endif /* !defined (TAO_SFP_H) */ diff --git a/TAO/orbsvcs/orbsvcs/AVStreams.idl b/TAO/orbsvcs/orbsvcs/AVStreams.idl deleted file mode 100644 index 8f71e2dee02..00000000000 --- a/TAO/orbsvcs/orbsvcs/AVStreams.idl +++ /dev/null @@ -1,504 +0,0 @@ -/* -*- C++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// AVStreams.idl -// -// = AUTHOR -// OMG -// -// -// ============================================================================ - -#include "CosPropertyService.idl" - -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" - string QoSParams; - // @@ - // 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 - // This structure is defined for SFP1.0 - // Subsequent versions of the protocol may - // specify new structures - { - // = TITLE - // 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 - // Used to store the status of a flow - { - string flowName; - dirType directionality; - flowState status; - SFPStatus theFormat; - QoS theQoS; - }; - - // @@ - // typedef CosPropertyService::Property streamEvent; - typedef string 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 { string flow_name; }; - // An flow protocol related error - - 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 { - interface Basic_StreamCtrl - // = 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_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 () - }; - - // @@ - // interface MCastConfigIf : CosPropertyService::PropertySet{ - interface MCastConfigIf - // 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); - // multicasting operations are not supported yet - - }; - - // @@ - // interface StreamEndPoint : CosPropertyService::PropertySet{ - interface StreamEndPoint - // = 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 to - - 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{ - interface VDev - // = 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 - interface MMDevice - // = 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 - }; -}; diff --git a/TAO/orbsvcs/orbsvcs/AVStreams_Full.idl b/TAO/orbsvcs/orbsvcs/AVStreams_Full.idl deleted file mode 100644 index 952301d7091..00000000000 --- a/TAO/orbsvcs/orbsvcs/AVStreams_Full.idl +++ /dev/null @@ -1,250 +0,0 @@ -// $Id$ - -// IDL for Control and Management of Audio/Video Streams -// Revised Submission - -// Additional IDL for full profile -#include "AVStreams.idl" - -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 cfa1da318d3..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients.cpp +++ /dev/null @@ -1 +0,0 @@ -// $Id$ diff --git a/TAO/orbsvcs/orbsvcs/Channel_Clients.h b/TAO/orbsvcs/orbsvcs/Channel_Clients.h deleted file mode 100644 index 487e688eb2c..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients.h +++ /dev/null @@ -1,26 +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" - -#if defined (__ACE_INLINE__) -#include "orbsvcs/Channel_Clients.i" -#endif /* __ACE_INLINE__ */ -#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 cc1d2ea78b9..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.cpp +++ /dev/null @@ -1,31 +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__ */ - -template void -ACE_PushConsumer_Adapter::push (const RtecEventComm::EventSet& events, - CORBA::Environment &_env) -{ - target_->push (events, _env); -} - -template void -ACE_PushConsumer_Adapter::disconnect_push_consumer (CORBA::Environment &_env) -{ - target_->disconnect_push_consumer (_env); -} - -template void -ACE_PushSupplier_Adapter::disconnect_push_supplier (CORBA::Environment &_env) -{ - target_->disconnect_push_supplier (_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 09002a8ebaa..00000000000 --- a/TAO/orbsvcs/orbsvcs/Channel_Clients_T.h +++ /dev/null @@ -1,88 +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); - // Forwards to target_. - - virtual void disconnect_push_consumer (CORBA::Environment &); - // Forwards to target_. - -private: - TARGET *target_; -}; - -// ************************************************************ - -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 &); - // Forwards to target_. - -private: - TARGET *target_; -}; - -#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/CosNaming.idl b/TAO/orbsvcs/orbsvcs/CosNaming.idl deleted file mode 100644 index e9064eec131..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosNaming.idl +++ /dev/null @@ -1,207 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosNaming.idl -// -// = AUTHOR -// Marina Spivak -// -// ============================================================================ - -module CosNaming - // = TITLE - // This module provides interface for using COS Naming Service. -{ - typedef string Istring; - struct NameComponent - { - Istring id; - // This is the name that is used to identify object references. - - Istring kind; - // Stores any addtional info about the object reference. - }; - // This is a 'simple' name. - // NOTE: both id and kind fields are used in resolving names. - - 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; - BindingType binding_type; - }; - - 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 - { - NotFoundReason why; - Name rest_of_name; - }; - // Indicates that the name does not identify a binding. - - exception CannotProceed - { - //Commented out due to the bug in Orbix compiler - NamingContext cxt; - Name rest_of_name; - }; - // Implementation has given up for some reason. The client, - // however, may be able to continue operation at the returned - // naming context. - - exception InvalidName {}; - // A name of length 0 is invalid. - // Implementations may place further restrictions. - - exception AlreadyBound {}; - // Indicates that the specified name is already bound to some - // object. Only one object can be bound to a particular name in - // a context. To change the binding, and - // can be used. - - exception NotEmpty {}; - // 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. Ignoring - // this rule may cause unexpected behaviour. deletes - // the context object if it is not bound to any names in the - // given address space. decrements the reference - // count of the context if bindings to it exist. - - // = 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. - }; -}; diff --git a/TAO/orbsvcs/orbsvcs/CosPropertyService.idl b/TAO/orbsvcs/orbsvcs/CosPropertyService.idl deleted file mode 100644 index 83f2ce2a1e1..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosPropertyService.idl +++ /dev/null @@ -1,405 +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 -// -// ====================================================================================== - -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 - }; - - exception 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. - }; -}; diff --git a/TAO/orbsvcs/orbsvcs/CosTimeBase.idl b/TAO/orbsvcs/orbsvcs/CosTimeBase.idl deleted file mode 100644 index 59062c432df..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosTimeBase.idl +++ /dev/null @@ -1,62 +0,0 @@ -// -// $Id$ -// - -#ifndef COS_TIME_BASE_IDL -#define COS_TIME_BASE_IDL - -module TimeBase { - // = TITLE - // COS Time Service basic types. - // - // = DESCRIPTION - // The standard CORBA Time Service defines a number of data - // structures to manipulate and express time. - // TAO does not implement this standard service (yet), but we use - // the standard types. - // - -#if 1 - // interim definition of type ulonglong pending the - // adoption of the type extension RFP. - // @@ We also need support for 64-bit integers in TAO IDL compiler. - struct ulonglong { - unsigned long low; - unsigned long high; - }; - typedef ulonglong TimeT; -#else - typedef unsigned long long TimeT; -#endif - // As yet the IDL compiler does not support 64-bit quantities, we - // resort to the original definition of TimeT before long long - // numbers were added to IDL. - // - // Time in TimeT is expressed in units of 100 nano seconds (in - // other words 10^-7 seconds), and are relative to October 15, 1582; - // please read the spec for further details. - - typedef TimeT InaccuracyT; - // To express an error estimate for time. - - typedef short TdfT; - // Minutes of displacement from the Greenwich time. - - struct UtcT { - // = TITLE - // The UTC time structure. - TimeT time; - unsigned long inacclo; - unsigned short inacchi; - TdfT tdf; - }; - - struct IntervalT { - // = TITLE - // A time interval - TimeT lower_bound; - TimeT upper_bound; - }; -}; - -#endif /* COS_TIME_BASE_IDL */ diff --git a/TAO/orbsvcs/orbsvcs/CosTrading.idl b/TAO/orbsvcs/orbsvcs/CosTrading.idl deleted file mode 100644 index bfdd695fe31..00000000000 --- a/TAO/orbsvcs/orbsvcs/CosTrading.idl +++ /dev/null @@ -1,711 +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 -// -// ======================================================================== - - -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 some: PropertyNameSeq prop_names; - }; - - 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 */ - - -// OMG IDL for Dynamic Property Module, p 16-88 - -module CosTradingDynamic { - - exception DPEvalFailure { - CosTrading::PropertyName name; - TypeCode returned_type; - any extra_info; - }; - - interface DynamicPropEval { - - any evalDP ( - in CosTrading::PropertyName name, - in TypeCode returned_type, - in any extra_info - ) raises ( - DPEvalFailure - ); - }; - - struct DynamicProp { - DynamicPropEval eval_if; - TypeCode returned_type; - any extra_info; - }; -}; /* end module CosTradingDynamic */ - - -// 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; - 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 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 */ diff --git a/TAO/orbsvcs/orbsvcs/Event/BCU.cpp b/TAO/orbsvcs/orbsvcs/Event/BCU.cpp deleted file mode 100644 index 374fe783ef9..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/BCU.cpp +++ /dev/null @@ -1,31 +0,0 @@ -// $Id$ - -#include "ace/ACE.h" -#include "BCU.h" - - -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 07d64c46271..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/BCU.h +++ /dev/null @@ -1,36 +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. -// ============================================================================ - -#if !defined (ACE_BCU_H) -#define ACE_BCU_H - -#include "ace/OS.h" -#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/CORBA_Utils_T.cpp b/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.cpp deleted file mode 100644 index cdffb8aa443..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.cpp +++ /dev/null @@ -1,349 +0,0 @@ -// $Id$ - -#if !defined (ACE_CORBA_UTILS_C) -#define ACE_CORBA_UTILS_C - -#include "ace/Log_Msg.h" -#include "CORBA_Utils_T.h" - -#if !defined (__ACE_INLINE__) -#include "CORBA_Utils_T.i" -#endif /* __ACE_INLINE__ */ - -template -ACE_CORBA_Sequence::ACE_CORBA_Sequence (const ACE_CORBA_Sequence &source) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) -{ - (*this) = source; -} - -template -ACE_CORBA_Sequence::ACE_CORBA_Sequence (void) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) -{ -} - -template -ACE_CORBA_Sequence::~ACE_CORBA_Sequence (void) -{ - if (release_) - { - this->delete_array (buffer_, maximum_); - } -} - -template -ACE_CORBA_Sequence::ACE_CORBA_Sequence (CORBA::ULong max) - : maximum_ (max), - length_ (0), - buffer_ (0), - - release_ (0) -{ - if (maximum_ > 0) - { - buffer_ = this->new_array (maximum_); - release_ = 1; - } -} - -template TYPE * -ACE_CORBA_Sequence::new_array (size_t len) -{ - return new TYPE[len]; -} - -template void -ACE_CORBA_Sequence::delete_array (TYPE *buf, size_t) -{ - delete [] buf; -} - -template -ACE_CORBA_Sequence::ACE_CORBA_Sequence (CORBA::ULong max, - CORBA::ULong length, - TYPE* data, - CORBA::Boolean release) - : maximum_ (max), - length_ (length), - buffer_ (data), - release_ (release) -{ - if ((buffer_ == 0) && (max > 0)) - { - // @@ What should we do here? - errno = ENOMEM; - ACE_ERROR ((LM_ERROR, "No memory.\n")); - } -} - -// @@ This makes a deep copy, dig? -template ACE_CORBA_Sequence & -ACE_CORBA_Sequence::operator= (const ACE_CORBA_Sequence &source) -{ - if (source.length () > 0) - { - // If our buffer is too small, release it and allocate one just big - // enough. If buffer_ == 0, this works fine. - if (this->maximum () < source.length ()) - { - if (release_) - { - this->delete_array (buffer_, maximum_); - } - maximum_ = source.length (); - buffer_ = this->new_array (maximum_); - release_ = 1; - } - - // Copy each of the items from the source. - for (CORBA::ULong index=0; index < source.length (); index++) - (*this)[index] = source[index]; - - this->length (source.length ()); - } - - return *this; -} - -template void -ACE_CORBA_Sequence::length (CORBA::ULong len) -{ - if (len > maximum_) - { - // Allocate the space that we need. - TYPE* tmp = this->new_array (len); - // Copy over the old sequence. - for (CORBA::ULong i = 0; i < maximum_; ++i) - { - tmp[i] = buffer_[i]; - } - if (release_) - { - this->delete_array (buffer_, maximum_); - } - buffer_ = tmp; - release_ = 1; - maximum_ = len; - // The destructor of -old- will release the old buffer_ if - // necessary. - } - - length_ = len; -} - - -// g++ can't handle these operator [] functions if they're inline -template TYPE& -ACE_CORBA_Sequence::operator [] (CORBA::ULong i) -{ - // @@ Should we do bounds checking? - if (i >= maximum_) - { - ACE_ERROR ((LM_ERROR, "Trying to write past maximum.\n")); - return buffer_[maximum_ - 1]; - } - else - return buffer_[i]; -} - -template const TYPE& -ACE_CORBA_Sequence::operator [] (CORBA::ULong i) const -{ - if (i >= length_) - { - ACE_ERROR ((LM_ERROR, "Trying to read past length.\n")); - return buffer_[length_ - 1]; - } - - return buffer_[i]; -} - -// ******************** - -/* -template void -dump (const ACE_CORBA_Sequence &seq) -{ - for (CORBA::ULong index=0; index < seq.length (); index++) - dump (seq[index]); -} -*/ - -/* -template ACE_INLINE void -operator += (ACE_CORBA_Sequence &seq, - const TYPE &item) -{ - CORBA::ULong length = seq.length (); - seq.length (length + 1); - seq[length] = item; -} -*/ - -template ACE_INLINE void -operator += (ACE_CORBA_Sequence &dest, - const ACE_CORBA_Sequence &source) -{ - int old_length = dest.length (); - int new_length = old_length + source.length (); - dest.length (new_length); - - int difference = new_length - old_length; - - for (int x=0; x < difference; x++) - dest[old_length + x] = source[x]; -} - -/* -template ACE_INLINE void -remove_item (TYPE &seq, CORBA::ULong index) -{ - int new_length = seq.length () - 1; - - // Shift the set back one, starting at . - for (int x = index; x < new_length; x++) - seq[x] = seq[x+1]; - - // Set the new length. - seq.length (new_length); -} -*/ - -// ************************************************************ -// ************************************************************ -// ************************************************************ - -template -ACE_CORBA_var::ACE_CORBA_var (const ACE_CORBA_var &source) -{ - if (source.me_ != 0) - me_ = (TYPE *) source.me_->_duplicate (); - // CORBA::duplicate (source.me_); -} - -template -ACE_CORBA_var::ACE_CORBA_var (void) - : me_ (0) -{ -} - -template -ACE_CORBA_var::ACE_CORBA_var (TYPE *source) -{ - me_ = (TYPE *) source->_duplicate (); - // CORBA::duplicate (source); -} - -template -ACE_CORBA_var::~ACE_CORBA_var (void) -{ - if (me_ != 0) - me_->_release (); - //CORBA::release (me_); -} - -template ACE_CORBA_var & -ACE_CORBA_var::operator= (TYPE *source) -{ - if (me_ != source && - me_ != 0) - me_->_release (); - //CORBA::release (me_); - - me_ = (TYPE *) source->_duplicate (); - // CORBA::duplicate (source); - return *this; -} - -template ACE_CORBA_var & -ACE_CORBA_var::operator= (const ACE_CORBA_var &source) -{ - if (me_ != source.me_ && - me_ != 0) - me_->_release (); - // CORBA::release (me_); - - me_ = (TYPE *) source.me_->_duplicate (); - // CORBA::duplicate (source.me_); - return *this; -} - -template TYPE * -ACE_CORBA_var::operator->(void) -{ - return me_; -} - -template -ACE_CORBA_var::operator TYPE *(void) const -{ - return me_; -} - -/* -template -ACE_CORBA_var::operator TYPE *&(void) -{ - return me_; -} -*/ - -template -ACE_CORBA_var::operator TYPE &(void) const -{ - return *me_; -} - -// ************************************************************ -// ************************************************************ - -/* -ACE_CORBA_Object_Ref::ACE_CORBA_Object_Ref (void) - : impl_ (0) -{ -} - -ACE_CORBA_Object_Ref::ACE_CORBA_Object_Ref (IMPL *impl) - : impl_ (impl) -{ -} - -ACE_CORBA_Object_Ref::~ACE_CORBA_Object_Ref (void) - : impl_ (0) -{ -} - -ACE_CORBA_Object_Ref & -ACE_CORBA_Object_Ref::operator= (const ACE_CORBA_Object_Ref &source) -{ - return *this; -} - -IMPL * -ACE_CORBA_Object_Ref::operator->(void) -{ - return impl_; -} - -IMPL * -ACE_CORBA_Object_Ref::operator IMPL *(void) -{ - return impl_; -} - -ACE_CORBA_Object_Ref * -ACE_CORBA_Object_Ref::_duplicate (ACE_CORBA_Object_Ref *source) -{ - source->ref_count_++; - return source; -} - -*/ -#endif /* ACE_CORBA_UTILS_C */ diff --git a/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.h b/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.h deleted file mode 100644 index 8abf180d9e1..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.h +++ /dev/null @@ -1,236 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ace_orb -// -// = FILENAME -// CORBA_Utilities.h -// -// = AUTHORS -// Tim Harrison. -// -// = NOTE -// This class is a bit ackward when using a real ORB, but we cannot -// easily remove it since some of the types are used in the -// implementation of the EC. TODO -// -// ============================================================================ - -#if !defined (ACE_CORBA_UTILS_H) -#define ACE_CORBA_UTILS_H - -#include "ace/Time_Value.h" -#include "tao/corba.h" - -template -class ACE_CORBA_Sequence// : public CORBA::Object -// = TITLE -// -// = DESCRIPTION -{ -public: - - ACE_CORBA_Sequence (const ACE_CORBA_Sequence &source); - // Copy construction. - - ACE_CORBA_Sequence (CORBA::ULong max); - ACE_CORBA_Sequence (CORBA::ULong max, - CORBA::ULong length, - TYPE* data, - CORBA::Boolean release = 0); - ACE_CORBA_Sequence (void); - - virtual ~ACE_CORBA_Sequence (void); - - ACE_CORBA_Sequence &operator= (const ACE_CORBA_Sequence &); - - // static TYPE* allocbuf(CORBA::ULong nelems); - // static void freebuf(TYPE* data); - - CORBA::ULong maximum (void) const; - CORBA::ULong length (void) const; - void length (CORBA::ULong len); - - TYPE& operator [] (CORBA::ULong IT_i); - - const TYPE& operator [] (CORBA::ULong IT_i) const; - - virtual TYPE *new_array (size_t len); - // Allocates TYPE[len]. This facilitates template methods through - // template specialization to allow the use of different memory - // pools. - - virtual void delete_array (TYPE *buf, size_t len); - // delete [] . - -protected: - CORBA::ULong maximum_; - CORBA::ULong length_; - TYPE* buffer_; - unsigned char release_; -}; - -// Utility for debugging sequences. -//template -//void dump (const ACE_CORBA_Sequence &seq); - -// Utility for appending single items. Increases the length of -// and adds to the end of . -template void -operator += (ACE_CORBA_Sequence &seq, - const TYPE &item) -{ - CORBA::ULong length = seq.length (); - seq.length (length + 1); - seq[length] = item; -} - -// Utility for appending sequences. -template void -operator += (ACE_CORBA_Sequence &dest, - const ACE_CORBA_Sequence &source); - -template void -remove_item (TYPE &seq, CORBA::ULong index) -{ - int new_length = seq.length () - 1; - - // Shift the set back one, starting at . - for (int x = index; x < new_length; x++) - seq[x] = seq[x+1]; - - // Set the new length. - seq.length (new_length); -} -// Removes seq[index] by moving everything after back and -// decrementing the length. - -// ************************************************************ - -template -class ACE_CORBA_var -// = TITLE -// -// = DESCRIPTION -{ -public: - ACE_CORBA_var (const ACE_CORBA_var &source); - ACE_CORBA_var (void); - ACE_CORBA_var (TYPE *source); - ~ACE_CORBA_var (void); - ACE_CORBA_var &operator= (TYPE *source); - ACE_CORBA_var &operator= (const ACE_CORBA_var &source); - TYPE *operator->(void); - operator TYPE *(void) const; - // operator TYPE *&(void); - operator TYPE &(void) const; -private: - TYPE *me_; -}; - -// ************************************************************ - -/* -template -class ACE_CORBA_Object_Ref : public CORBA::Object -// = TITLE -// ACE CORBA Object Reference -// -// = DESCRIPTION -// A wrapper for making CORBA Object References. For a single -// address space ORB, this points directly to the IMPL -// class. This is supposed to look like a pointer to -// IMPL with an additional static _duplicate method. -{ -public: - // ACE_CORBA_Object_Ref (ACE_CORBA_Object_Ref &obj); - ACE_CORBA_Object_Ref (void); - ACE_CORBA_Object_Ref (IMPL *impl); - ~ACE_CORBA_Object_Ref (void); - // ACE_CORBA_Object_Ref &operator= (IMPL *source); - ACE_CORBA_Object_Ref &operator= - (const ACE_CORBA_Object_Ref &source); - - IMPL *operator->(void); - // A distributed ORB would require that the CORBA Object Reference - // implement all IMPL interfaces, marshall the parameters, - // and transmit over IIOP. For this single address space ORB, we'll - // just delegate method calls to the IMPL directly. - - operator IMPL *(void) const; - // operator IMPL *&(void); - // operator IMPL &(void) const; - - static ACE_CORBA_Object_Ref *_duplicate - (ACE_CORBA_Object_Ref *source); - -private: - IMPL *impl_; -}; -*/ - -// ************************************************************ - -template -class ACE_ES_Simple_Array -// = TITLE -// Simple Array -// -// = DESCRIPTION -// Wraps ITEM[SIZE] with insert and an iterator. There is no -// remove. It allows duplicates. It is truly very simple. -{ - public: - ACE_ES_Simple_Array (void); - int insert (const ITEM ©_me); - size_t size (void); - ITEM *data (void); - protected: - ITEM data_[SIZE]; - size_t size_; -}; - -template -class ACE_ES_Array_Iterator -// = TITLE -// Simple Iterator -// -// = DESCRIPTION -// Iterates through an array of ITEMs. -{ -public: - ACE_ES_Array_Iterator (ITEM *data, size_t size); - - int next (ITEM *&next_item); - // Returns 0 when all items have been seen, else 1. Sets - // to point at the next ITEM. - - int advance (void); - // Move forward by one element in the Stack. Returns 0 when all the - // items in the Stack have been seen, else 1. - - int done (void) const; - // Returns 1 when all items have been seen, else 0. - -private: - ITEM *data_; - size_t size_; - size_t index_; -}; - -#if defined (__ACE_INLINE__) -#include "CORBA_Utils_T.i" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "CORBA_Utils_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("CORBA_Utils_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* ACE_CORBA_UTILS_H */ diff --git a/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.i b/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.i deleted file mode 100644 index d9ebb9247ad..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/CORBA_Utils_T.i +++ /dev/null @@ -1,75 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -template ACE_INLINE CORBA::ULong -ACE_CORBA_Sequence::maximum (void) const -{ - return maximum_; -} - -template ACE_INLINE CORBA::ULong -ACE_CORBA_Sequence::length() const -{ - return length_; -} - - -// ************************************************************ - -template ACE_INLINE -ACE_ES_Simple_Array::ACE_ES_Simple_Array (void) : - size_ (0) -{ -} - -template ACE_INLINE int -ACE_ES_Simple_Array::insert (const ITEM ©_me) -{ - if (size_ >= SIZE) - return -1; - - data_[size_++] = copy_me; - return 0; -} - -template ACE_INLINE size_t -ACE_ES_Simple_Array::size (void) -{ - return size_; -} - -template ACE_INLINE ITEM * -ACE_ES_Simple_Array::data (void) -{ - return data_; -} - -// ************************************************************ - -template ACE_INLINE -ACE_ES_Array_Iterator::ACE_ES_Array_Iterator (ITEM *data, size_t size) : - data_ (data), - size_ (size), - index_ (0) -{ -} - -template ACE_INLINE int -ACE_ES_Array_Iterator::next (ITEM *&next_item) -{ - next_item = &data_[index_]; - return index_ < (size_ - 1); -} - -template ACE_INLINE int -ACE_ES_Array_Iterator::advance (void) -{ - index_++; - return index_ < size_; -} - -template ACE_INLINE int -ACE_ES_Array_Iterator::done (void) const -{ - return index_ < size_; -} diff --git a/TAO/orbsvcs/orbsvcs/Event/Channel_Clients.i b/TAO/orbsvcs/orbsvcs/Event/Channel_Clients.i deleted file mode 100644 index 6318deb79a0..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Channel_Clients.i +++ /dev/null @@ -1,2 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ diff --git a/TAO/orbsvcs/orbsvcs/Event/Channel_Clients_T.i b/TAO/orbsvcs/orbsvcs/Event/Channel_Clients_T.i deleted file mode 100644 index f7c0760fd86..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Channel_Clients_T.i +++ /dev/null @@ -1,35 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -template ACE_INLINE -ACE_PushConsumer_Adapter::ACE_PushConsumer_Adapter (TARGET *target) - : target_ (target) -{ -} - -template ACE_INLINE void -ACE_PushConsumer_Adapter::push (const RtecEventComm::EventSet& events, - CORBA::Environment &_env) -{ - target_->_push (events, _env); -} - -template ACE_INLINE void -ACE_PushConsumer_Adapter::disconnect_push_consumer (CORBA::Environment &_env) -{ - target_->_disconnect_push_consumer (_env); -} - -// ************************************************************ - -template ACE_INLINE -ACE_PushSupplier_Adapter::ACE_PushSupplier_Adapter (TARGET *target) - : target_ (target) -{ -} - -template ACE_INLINE void -ACE_PushSupplier_Adapter::disconnect_push_supplier (CORBA::Environment &_env) -{ - target_->_disconnect_push_supplier (_env); -} diff --git a/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h b/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h deleted file mode 100644 index 8db3d169082..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h +++ /dev/null @@ -1,11 +0,0 @@ - -#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 3e2e717f143..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp +++ /dev/null @@ -1,616 +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__ */ - -// ************************************************************ - -void -ACE_ES_Dispatch_Request::make_copy (RtecEventComm::EventSet &dest) const -{ - if (use_single_event_) - { - dest.length (1); - dest[0] = single_event_; - } - else - { - dest.length (event_set_.length ()); - - for (CORBA::ULong index=0; index < event_set_.length (); index++) - { - RtecEventComm::Event &dest_event = dest[index]; - ACE_ES_Event_Container_var &source_event_var = ((ACE_ES_Event_Container_var &) event_set_[index]); - dest_event = *(source_event_var.operator->()); - } - } -} - -int -ACE_ES_Dispatch_Request::execute (u_long &command_action) -{ - ACE_TIMEPROBE (" dispatch (dequeue) the event"); - - return dispatching_module_->dispatch_event (this, command_action); -} - -#if 0 -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 */ - -// ************************************************************ - -ACE_ES_Priority_Dispatching::ACE_ES_Priority_Dispatching (ACE_EventChannel *channel, - int threads_per_queue) - : ACE_ES_Dispatching_Base (channel), - notification_strategy_ (this), - highest_priority_ (0), - shutdown_ (0), - threads_per_queue_ (threads_per_queue) -{ - // 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++) - { - queues_[x] = 0; - delete_me_queues_[x] = 0; - } - - this->initialize_queues (); -} - -ACE_ES_Priority_Dispatching::~ACE_ES_Priority_Dispatching (void) -{ - // Delete the queues. - for (int x=0; x < ACE_Scheduler_MAX_PRIORITIES; x++) - delete delete_me_queues_[x]; -} - - -void -ACE_ES_Priority_Dispatching::initialize_queues (void) -{ - for (int x=0; x < ACE_Scheduler_MAX_PRIORITIES; x++) - { - // 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 period = period_tv.sec () * 10000000 + - period_tv.usec () * 10; - - queues_[x] = new ACE_ES_Dispatch_Queue (this, ¬ification_strategy_); - if (queues_[x] == 0 || - queues_[x]->open_queue (period, - threads_per_queue_) == -1) - { - ACE_ERROR ((LM_ERROR, "%p.\n", "ACE_ES_Priority_Dispatching::initialize_queues")); - return; - } - - queue_count_[x] = 1; - } - - highest_priority_ = ACE_Scheduler_MAX_PRIORITIES - 1; -} - -void -ACE_ES_Priority_Dispatching::connected (ACE_Push_Consumer_Proxy *consumer, - CORBA::Environment &_env) -{ - down_->connected (consumer, _env); - - // 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, _env); - - 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, CORBA::COMPLETED_NO, - "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, CORBA::COMPLETED_NO, - "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, "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, "(%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 &_env) -{ - ACE_TIMEPROBE (" push_source_type: Correlation Module"); - - RtecScheduler::OS_Priority thread_priority; - RtecScheduler::Sub_Priority subpriority; - RtecScheduler::Preemption_Priority preemption_priority; - - if (request->rt_info () != 0) - { - // @@ TODO use TAO_TRY&friends - ACE_TIMEPROBE (" Priority_Dispatching::push - priority requested"); - ACE_Scheduler_Factory::server ()->priority - (request->rt_info (), - thread_priority, - subpriority, - preemption_priority, - _env); - ACE_TIMEPROBE (" Priority_Dispatching::push - priority obtained"); - if (_env.exception ()) - { - return; - } - } - 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, "Push to closed queue %d, dropping event.\n", preemption_priority)); - return; -#if 0 - TAO_THROW (SYNC_ERROR (0, CORBA::COMPLETED_NO, "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) - { - TAO_THROW (CORBA::NO_MEMORY (CORBA::COMPLETED_NO)); - // @@ Orbix parameters - // 0, CORBA::COMPLETED_NO, - // "ACE_ES_Priority_Dispatching::push enqueue failed")); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "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); -} - -// 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, "(%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, "shutting down dispatch queue %d.\n", x)); - queues_[x]->shutdown_task (); - } -} - -// 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_ES_GUARD ace_mon (lock_); - - // Find the queue. - for (int x = 0; x <= highest_priority_; x++) - { - if (queues_[x] == queue) - { - ACE_DEBUG ((LM_DEBUG, "(%t) Dispatch queue %d is closed.\n", x)); - - // Store the queue for deleting in this object's destructor. - delete_me_queues_[x] = queues_[x]; - queues_[x] = 0; - - // Reset highest_priority_. - if (x == highest_priority_) - { - while ((--highest_priority_ >= 0) && - (queues_[highest_priority_] == 0)); - - if (highest_priority_ < 0) - { - ACE_DEBUG ((LM_DEBUG, "Dispatching module shut down.\n")); - up_->shutdown (); - return; - } - } - - // If we found the queue, we can exit the for loop. - break; - } - } -} - -/* -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) - : dispatching_module_ (dispatching_module), - notification_strategy_ (notification_strategy) -{ -} - -int -ACE_ES_Dispatch_Queue::open_queue (RtecScheduler::Period &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 - { - // Allocate a message queue that does not notify. - ACE_ES_MQ *mq = new ACE_ES_MQ; - 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: - TAO_TRY - {// @@ TODO: Handle exceptions... - ACE_Scheduler_Factory::server()->set (rt_info_, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - 0, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero, - 1, TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_ES_Display_Queue::exception"), -1); - } - TAO_ENDTRY; - 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, 0) -{ -} - -// 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 ()); - - TAO_TRY - { - // Forward the request. - up_->push (request, TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, "ACE_ES_RTU_Dispatching::dispatch_event unknown exception.\n")); - } - TAO_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 &_env) -{ - // First enqueue the message in the proper queue. - ACE_ES_Priority_Dispatching::push (request, _env); - - // 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) -template class ACE_CORBA_Sequence >; -template void operator+=(ACE_CORBA_Sequence > &, ACE_CORBA_var const &); - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#pragma instantiate ACE_CORBA_Sequence > -#pragma instantiate void operator+=(ACE_CORBA_Sequence > &, ACE_CORBA_var const &) - -#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 3ec2c40da06..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/Dispatching_Modules.h +++ /dev/null @@ -1,486 +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 "ReactorTask.h" -#include "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 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: - typedef ACE_CORBA_Sequence Event_Set; - - 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 Event_Set &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_.creation_time_ - // to

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - */ -class Assert { - static public void notFalse(boolean b) - throws IllegalArgumentException { - if(b == false) - throw new IllegalArgumentException( - "boolean expression false"); - } - static public void notNull(Object obj) - throws IllegalArgumentException { - if(obj == null) - throw new IllegalArgumentException("null argument"); - } - - static public void notFalse(boolean b, String s) - throws IllegalArgumentException { - if(b == false) - throw new IllegalArgumentException(s); - } - static public void notNull(Object obj, String s) - throws IllegalArgumentException { - if(obj == null) - throw new IllegalArgumentException(s); - } -} diff --git a/java/ImageProcessing/filters/BleachFilter.java b/java/ImageProcessing/filters/BleachFilter.java deleted file mode 100644 index e9d6a0b9e0e..00000000000 --- a/java/ImageProcessing/filters/BleachFilter.java +++ /dev/null @@ -1,65 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -/** - * A derivation of RGBImageFilter that bleaches an image.

    - * - * Extent of the bleaching effect is controlled by the only - * constructor argument: an integer representing the percentage - * of bleaching. The percentage of bleaching may also be - * controlled after instantiation by invoking the - * void percent(int) method.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see RGBImageFilter - */ -public class BleachFilter extends RGBImageFilter implements MedFilter -{ - private int percent; - - public BleachFilter() - { - this(25); - } - - public BleachFilter(int percent) - { - Assert.notFalse(percent >= 0 && percent <= 100); - this.percent = percent; - canFilterIndexColorModel = true; - } - - public String info () - { - return "Bleaches/Lightens an image"; - } - - public int percent() { return percent; } - public void percent(int percent) { percent = percent; } - - public int filterRGB(int x, int y, int rgb) { - DirectColorModel cm = - (DirectColorModel)ColorModel.getRGBdefault(); - - int alpha = cm.getAlpha(rgb); - int red = cm.getRed (rgb); - int green = cm.getGreen(rgb); - int blue = cm.getBlue (rgb); - double percentMultiplier = (double)percent/100; - - red = Math.min((int) - (red + (red * percentMultiplier)), 255); - green = Math.min((int) - (green + (green * percentMultiplier)), 255); - blue = Math.min((int) - (blue + (blue * percentMultiplier)), 255); - - alpha = alpha << 24; - red = red << 16; - green = green << 8; - - return alpha | red | green | blue; - } -} diff --git a/java/ImageProcessing/filters/BlurFilter.java b/java/ImageProcessing/filters/BlurFilter.java deleted file mode 100644 index e071324e491..00000000000 --- a/java/ImageProcessing/filters/BlurFilter.java +++ /dev/null @@ -1,95 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class BlurFilter extends SpatialFilter -{ - private int[][] mean_filter; - private int degree_ = 3; - - public BlurFilter() - { - } - - public BlurFilter(int degree) - { - degree_ = degree; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Image Error"); - return; - } - - System.gc(); - - int[] pixels = new int[columns_*rows_]; - int pixel = 0, count = 0; - int red, green, blue, index; - int alpha, n2 = degree_/2; - - profile_timer_.start(); - - for (int z = SpatialFilter.iterations_; z-- > 0;) - { - - for (int y = 0, i = 0; y < rows_; y++) - { - for (int x = 0; x < columns_; x++, i++) - { - red = 0; green = 0; blue = 0; count = 0; - alpha = (raster_[i] >> 24) & 0xff; - - for (int y1 = y - n2; y1 < y + n2; y1++) - { - index = y1*columns_; - if (y1 >= 0 && y1 < rows_) - { - for (int x1 = x - n2; x1 < x + n2; x1++) - { - if (x1 >= 0 && x1 < columns_) - { - pixel = raster_[index + x1]; - - red += (pixel >> 16) & 0xff; - green += (pixel >> 8) & 0xff; - blue += (pixel) & 0xff; - count++; - } - } - } - } - - red /= count; - green /= count; - blue /= count; - - if (red < 0) red = 0; - if (green < 0) green = 0; - if (blue < 0) blue = 0 ; - - if (red > 255) red = 255; - if (green > 255) green = 255; - if (blue > 255) blue = 255; - - pixels[i] = (alpha << 24) | (red << 16) | (green << 8) | blue; - } - } - } - - profile_timer_.stop(); - - System.out.println("Finished altering image"); - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - consumer.imageComplete(status); - } - - public String info () - { - return "Blurs an image."; - } -} diff --git a/java/ImageProcessing/filters/DarkenFilter.java b/java/ImageProcessing/filters/DarkenFilter.java deleted file mode 100644 index ea20d15a46b..00000000000 --- a/java/ImageProcessing/filters/DarkenFilter.java +++ /dev/null @@ -1,48 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class DarkenFilter extends RGBImageFilter implements MedFilter -{ - private int percent_; - - public DarkenFilter () - { - percent_ = 50; - canFilterIndexColorModel = true; - } - - public DarkenFilter(int percent) - { - Assert.notFalse(percent >= 0 && percent <= 100); - percent_ = percent; - canFilterIndexColorModel = true; - } - - public String info () - { - return "Darkens an image."; - } - - public int filterRGB(int x, int y, int rgb) - { - DirectColorModel cm = - (DirectColorModel)ColorModel.getRGBdefault(); - - int alpha = cm.getAlpha(rgb); - int red = cm.getRed (rgb); - int green = cm.getGreen(rgb); - int blue = cm.getBlue (rgb); - double percentMultiplier = (double)((double)1.0 - (double)percent_/100); - - red *= percentMultiplier; - blue *= percentMultiplier; - green *= percentMultiplier; - - alpha = alpha << 24; - red = red << 16; - green = green << 8; - - return alpha | red | green | blue; - } -} diff --git a/java/ImageProcessing/filters/DeSpeckleFilter.java b/java/ImageProcessing/filters/DeSpeckleFilter.java deleted file mode 100644 index d9bff1de3b5..00000000000 --- a/java/ImageProcessing/filters/DeSpeckleFilter.java +++ /dev/null @@ -1,123 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class DeSpeckleFilter extends SpatialFilter -{ - private int degree_ = 3; - - public DeSpeckleFilter() - { - } - - public DeSpeckleFilter(int degree) - { - degree_ = degree; - } - - public String info () - { - return "Removes speckles from an image."; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("DeSpeckleFilter Image Error: " + status); - return; - } - - System.gc(); - - int rsum, bsum, gsum, r, g, b, a; - int count, n2, nsq, c2, lcv, lcv2, index; - int[] rtab, gtab, btab; - int[] pixels = new int[columns_*rows_]; - - profile_timer_.start(); - - n2 = degree_/2; - nsq = degree_ * degree_; - - rtab = new int[nsq]; - gtab = new int[nsq]; - btab = new int[nsq]; - - for (int z = SpatialFilter.iterations_; z-- > 0;) - { - for (int y = 0, k = 0; y < rows_; y++) - { - lcv = y + n2; - for (int x = 0; x < columns_; x++, k++) - { - rsum = gsum = bsum = 0; - count = 0; - - lcv2 = x + n2; - for (int y1 = y - n2; y1 < lcv; y1++) - { - index = y1*columns_; - if (y1 >= 0 && y1 < rows_) - { - for (int x1 = x - n2; x1 < lcv2; x1++) - { - if (x1 >= 0 && x1 < columns_) - { - int pixel = raster_[index + x1]; - rtab[count] = (pixel >> 16) & 0xff; - gtab[count] = (pixel >> 8) & 0xff; - btab[count] = (pixel) & 0xff; - count++; - } - } - } - } - - for (int d = count >> 1; d > 0; d >>= 1) - { - for (int i = d; i < count; i++) - { - for (int j = i - d; j >= 0 && rtab[j] > rtab[j+d]; j -= d) - { - int t = rtab[j]; - rtab[j] = rtab[j + d]; - rtab[j + d] = t; - } - - for (int j = i - d; j >= 0 && gtab[j] > gtab[j+d]; j -= d) - { - int t = gtab[j]; - gtab[j] = gtab[j + d]; - gtab[j + d] = t; - } - - for (int j = i - d; j >= 0 && btab[j] > btab[j+d]; j -= d) - { - int t = btab[j]; - btab[j] = btab[j + d]; - btab[j + d] = t; - } - } - } - - c2 = count >> 1; - - a = (raster_[k] >> 24) & 0xff; - r = ( (count % 2 == 0) ? (rtab[c2] + rtab[c2 - 1]) >> 1 : rtab[c2]); - g = ( (count % 2 == 0) ? (gtab[c2] + gtab[c2 - 1]) >> 1 : gtab[c2]); - b = ( (count % 2 == 0) ? (btab[c2] + btab[c2 - 1]) >> 1 : btab[c2]); - - pixels[k] = (a << 24) | (r << 16) | (g << 8) | b; - } - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - consumer.imageComplete(status); - } - -} diff --git a/java/ImageProcessing/filters/DissolveFilter.java b/java/ImageProcessing/filters/DissolveFilter.java deleted file mode 100644 index 0225aad6ad1..00000000000 --- a/java/ImageProcessing/filters/DissolveFilter.java +++ /dev/null @@ -1,52 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -/** - * A derivation of RGBImageFilter that partially or wholly - * dissolves an image.

    - * - * Extent of dissolving is set by the setOpacity(int) method, - * which is passed an integer between 0 and 255 (inclusive). - * The integer represents the alpha value to be applied to - * every color in the image.

    - * - * An alpha value of 255 signifies an opaque color, while an - * alpha value of 0 signifies a translucent color.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see RGBImageFilter - */ -public class DissolveFilter extends RGBImageFilter implements MedFilter -{ - private int opacity; - - public DissolveFilter() { - this(0); - } - public DissolveFilter(int opacity) { - canFilterIndexColorModel = true; - setOpacity(opacity); - } - public String info () - { - return "Dissolves an image"; - } - public void setOpacity(int opacity) { - Assert.notFalse(opacity >= 0 && opacity <= 255); - this.opacity = opacity; - } - public int filterRGB(int x, int y, int rgb) { - DirectColorModel cm = - (DirectColorModel)ColorModel.getRGBdefault(); - int alpha = cm.getAlpha(rgb); - int red = cm.getRed (rgb); - int green = cm.getGreen(rgb); - int blue = cm.getBlue (rgb); - - alpha = opacity; - - return alpha << 24 | red << 16 | green << 8 | blue; - } -} diff --git a/java/ImageProcessing/filters/EdgeDetectFilter.java b/java/ImageProcessing/filters/EdgeDetectFilter.java deleted file mode 100644 index 87cc88d475d..00000000000 --- a/java/ImageProcessing/filters/EdgeDetectFilter.java +++ /dev/null @@ -1,250 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class EdgeDetectFilter extends SpatialFilter -{ - public EdgeDetectFilter() - { - } - - public String info () - { - return "Edge detection filter."; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Image Error"); - return; - } - - System.gc(); - - int[] pixels = new int[columns_*rows_]; - int pixel = 0; - int red, green, blue; - int row1, row2, row3; - int new_red1 = 0, new_green1 = 0, new_blue1 = 0, - new_red2 = 0, new_green2 = 0, new_blue2 = 0; - int ul, um, ur, ll, lm, lr, ml, mr; - int alpha, lcv, lcv2; - - profile_timer_.start(); - - for (int z = SpatialFilter.iterations_; z-- > 0;) - { - lcv = rows_ - 1; - lcv2 = columns_ - 1; - for (int x = 1, index = 0; x < lcv; x++, index += columns_) - { - for (int y = 1; y < lcv2; y++) - { - row1 = index + y; - row2 = row1 + columns_; - row3 = row2 + columns_; - - ul = raster_[row1 - 1]; - um = raster_[row1]; - ur = raster_[row1 + 1]; - ml = raster_[row2 - 1]; - mr = raster_[row2 + 1]; - ll = raster_[row3 - 1]; - lm = raster_[row3]; - lr = raster_[row3 + 1]; - - alpha = (raster_[row2] >> 24) & 0xff; - - new_red1 = - (((ul >> 16) & 0xff) - + (((um >> 16) & 0xff) << 1) - + ((ur >> 16) & 0xff) - - ((ll >> 16) & 0xff) - - (((lm >> 16) & 0xff) << 1) - - ((lr >> 16) & 0xff)); - - new_green1 = - (((ul >> 8) & 0xff) - + (((um >> 8) & 0xff) << 1) - + ((ur >> 8) & 0xff) - - ((ll >> 8) & 0xff) - - (((lm >> 8) & 0xff) << 1) - - ((lr >> 8) & 0xff)); - - new_blue1 = - (((ul) & 0xff) - + (((um) & 0xff) << 1) - + ((ur) & 0xff) - - ((ll) & 0xff) - - (((lm) & 0xff) << 1) - - ((lr) & 0xff)); - - new_red2 = - (- ((ul >> 16) & 0xff) - + ((ur >> 16) & 0xff) - - (((ml >> 16) & 0xff) << 1) - + (((mr >> 16) & 0xff) << 1) - - ((ll >> 16) & 0xff) - + ((lr >> 16) & 0xff)); - - new_green2 = - (- ((ul >> 8) & 0xff) - + ((ur >> 8) & 0xff) - - (((ml >> 8) & 0xff) << 1) - + (((mr >> 8) & 0xff) << 1) - - ((ll >> 8) & 0xff) - + ((lr >> 8) & 0xff)); - - new_blue2 = - (- ((ul) & 0xff) - + ((ur) & 0xff) - - (((ml) & 0xff) << 1) - + (((mr) & 0xff) << 1) - - ((ll) & 0xff) - + ((lr) & 0xff)); - - - new_red1 = (int)Math.sqrt(new_red1*new_red1 + new_red2*new_red2); - new_green1 = (int)Math.sqrt(new_green1*new_green1 + new_green2*new_green2); - new_blue1 = (int)Math.sqrt(new_blue1*new_blue1 + new_blue2*new_blue2); - - if (new_red1 < 0) red = 0; - if (new_green1 < 0) green = 0; - if (new_blue1 < 0) blue = 0 ; - - - if (new_red1 > 255) - new_red1 = 255; - - if (new_green1 > 255) - new_green1 = 255; - - if (new_blue1 > 255) - new_blue1 = 255; - - pixels[row2] = (alpha << 24) | (new_red1 << 16) | (new_green1 << 8) | new_blue1; - } - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - consumer.imageComplete(status); - } - - /* - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Image Error"); - return; - } - - int[][] pixels = new int[rows_*columns_]; - int pixel = 0; - int red, green, blue; - int row1, row2, row3, row4, row5; - int a, b, c, d, rsum, gsum, bsum, v, maxv = 0; - int ul, um, ur, ml, mr, ll, lm, lr, lcv, lcv2; - int alpha; - - lcv = rows_ -1; - for (int y = 1; y < lcv; y++) - { - lcv2 = columns_ -1; - for (int x = 1; x < lcv2; x++) - { - row1 = columns_*(y-1) + x; - row2 = row1 + columns_; - row3 = row2 + columns_; - ul = raster_[row1 - 1]; - um = raster_[row1]; - ur = raster_[row1 + 1]; - ml = raster_[row2 - 1]; - mr = raster_[row2 + 1]; - ll = raster_[row3 - 1]; - lm = raster_[row3]; - lr = raster_[row3 + 1]; - - alpha = defaultRGB_.getAlpha(raster_[row2]); - - a = ((lr >> 16) & 0xff) - ((ul >> 16) & 0xff); - b = ((mr >> 16) & 0xff) - ((ml >> 16) & 0xff); - c = ((ur >> 16) & 0xff) - ((ll >> 16) & 0xff); - d = ((um >> 16) & 0xff) - ((lm >> 16) & 0xff); - - rsum = a + b + c; - if (rsum < 0) rsum = -rsum; - a = a - c - d; - if (a < 0) a = -a; - if (rsum > a) rsum = a; - rsum /= 3; - - a = ((lr >> 8) & 0xff) - ((ul >> 8) & 0xff); - b = ((mr >> 8) & 0xff) - ((ml >> 8) & 0xff); - c = ((ur >> 8) & 0xff) - ((ll >> 8) & 0xff); - d = ((um >> 8) & 0xff) - ((lm >> 8) & 0xff); - - gsum = a + b + c; - if (gsum < 0) gsum = -gsum; - a = a - c - d; - if (a < 0) a = -a; - if (gsum > a) gsum = a; - gsum /= 3; - - a = ((lr) & 0xff) - ((ul) & 0xff); - b = ((mr) & 0xff) - ((ml) & 0xff); - c = ((ur) & 0xff) - ((ll) & 0xff); - d = ((um) & 0xff) - ((lm) & 0xff); - - bsum = a + b + c; - if (bsum < 0) bsum = -bsum; - a = a - c - d; - if (a < 0) a = -a; - if (bsum > a) bsum = a; - bsum /= 3; - - pixels[row2] = (alpha << 24) | (rsum << 16) | (gsum << 8) | bsum; - - v = (((int)(rsum)*11 + ((int)(gsum) << 4) + (int)(bsum)*5) >> 5); - - if (maxv < v) - maxv = v; - } - - } - - for (int y = 1; y < rows_ - 1; y++) - { - for (int x = 1; x < columns_ - 1; x++) - { - pixel = pixels[y][x]; - alpha = (pixel >> 24) & 0xff; - red = (((pixel >> 16) & 0xff) * 255) / maxv; - green = (((pixel >> 8) & 0xff) * 255) / maxv; - blue = ((pixel & 0xff) * 255) / maxv; - - if (red < 0) red = 0; - if (green < 0) green = 0; - if (blue < 0) blue = 0 ; - - if (red > 255) red = 255; - if (green > 255) green = 255; - if (blue > 255) blue = 255; - - pixels[y*x] = (alpha << 24) | (red << 16) | (green << 8) | blue; - } - - consumer.setPixels(0, y, columns_, 1, defaultRGB_, pixels[y], 0, columns_); - } - - consumer.imageComplete(status); - } - */ -} diff --git a/java/ImageProcessing/filters/EmbossFilter.java b/java/ImageProcessing/filters/EmbossFilter.java deleted file mode 100644 index e6d5833ee39..00000000000 --- a/java/ImageProcessing/filters/EmbossFilter.java +++ /dev/null @@ -1,86 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class EmbossFilter extends SpatialFilter -{ - - public EmbossFilter() - { - } - - public String info () - { - return "Embosses an image."; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Emboss: Image Error: " + status); - return; - } - - System.out.println("Beginning to emboss an image."); - System.gc(); - - int[] pixels = new int[columns_*rows_]; - int pixel = 0; - int red, green, blue; - int row1, row2, row3, ul, um, ml, mr, lm, lr; - int new_grey = 0, lcv, lcv2; - int alpha; - - profile_timer_.start(); - - for (int z = SpatialFilter.iterations_; z-- > 0;) - { - lcv = rows_ -1; - for (int x = 1, index = 0; x < lcv; x++, index += columns_) - { - lcv2 = columns_ - 1; - for (int y = 1; y < lcv2; y++) - { - - row1 = index + y; - row2 = row1 + columns_; - row3 = row2 + columns_; - - ul = raster_[row1 - 1]; - um = raster_[row1]; - ml = raster_[row2 - 1]; - mr = raster_[row2 + 1]; - lm = raster_[row3]; - lr = raster_[row3 + 1]; - - alpha = (raster_[row2] >> 24) & 0xff; - - red = ((- (((ul >> 16) & 0xff) << 1) - ((um >> 16) & 0xff) - - ((ml >> 16) & 0xff) + ((mr >> 16) & 0xff) + - ((lm >> 16) & 0xff) + (((lr >> 16) & 0xff) << 1)) >> 3) + 128; - - green = ((- (((ul >> 8) & 0xff) << 1) - ((um >> 8) & 0xff) - - ((ml >> 8) & 0xff) + ((mr >> 8) & 0xff) + - ((lm >> 8) & 0xff) + (((lr >> 8) & 0xff) << 1)) >> 3) + 128; - - blue = ((- ((ul & 0xff) << 1) - (um & 0xff) - - (ml & 0xff) + (mr & 0xff) + - (lm & 0xff) + ((lr & 0xff) << 1)) >> 3) + 128; - - new_grey = (((int)(red)*11 + ((int)(green) << 4) + (int)(blue)*5) >> 5); - - pixels[row2] = (alpha << 24) | (new_grey << 16) | (new_grey << 8) | new_grey; - - } - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - // System.out.println(timer); - consumer.imageComplete(status); - } -} diff --git a/java/ImageProcessing/filters/Makefile b/java/ImageProcessing/filters/Makefile deleted file mode 100644 index 253bc9b5c22..00000000000 --- a/java/ImageProcessing/filters/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes -DOCDIR = $(JACE_WRAPPER)/doc - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) - -clean: - rm -rf *~ - -realclean: clean - rm -rf $(JACE_WRAPPER)/classes/imaging/filters/*.class - -files = MedFilter.java \ - Assert.java \ - BleachFilter.java \ - BlurFilter.java \ - DarkenFilter.java \ - DeSpeckleFilter.java \ - DissolveFilter.java \ - EdgeDetectFilter.java \ - EmbossFilter.java \ - OilPaintFilter.java \ - PixelizeFilter.java \ - RotateFilter.java \ - SharpenFilter.java \ - SpatialFilter.java \ - SpreadFilter.java \ - Timer.java - diff --git a/java/ImageProcessing/filters/MedFilter.java b/java/ImageProcessing/filters/MedFilter.java deleted file mode 100644 index def0bd2075a..00000000000 --- a/java/ImageProcessing/filters/MedFilter.java +++ /dev/null @@ -1,6 +0,0 @@ -package imaging.filters; - -public interface MedFilter -{ - String info (); -} diff --git a/java/ImageProcessing/filters/OilPaintFilter.java b/java/ImageProcessing/filters/OilPaintFilter.java deleted file mode 100644 index 68bcf79e5c2..00000000000 --- a/java/ImageProcessing/filters/OilPaintFilter.java +++ /dev/null @@ -1,97 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class OilPaintFilter extends SpatialFilter -{ - private int degree_ = 3; - - public OilPaintFilter() - { - } - - public OilPaintFilter(int degree) - { - degree_ = degree; - } - - public String info () - { - return "Converts an image into an oil painting."; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Oil Paint FilterImage Error: " + status); - return; - } - - System.gc(); - - int[] pixels = new int[columns_*rows_]; - int[] nnrect = new int[degree_*degree_]; - int offset = degree_/2, cnt = 0, maxcnt = 0, col = 0, tmp; - int lcv1 = rows_, - lcv2 = columns_, - lcv3 = degree_*degree_; - - profile_timer_.start(); - - for (int z = SpatialFilter.iterations_; z-- > 0;) - { - for (int y = 0, index = 0; y < lcv1; y++) - { - for (int x = 0; x < lcv2; x++, index++) - { - cnt = 0; - for (int i = y - offset; i < y + offset; i++) - { - tmp = i*columns_; - for (int j = x - offset; j < x + offset; j++, cnt++) - { - if (i >= 0 && i < lcv1 && j >= 0 && j < lcv2) - nnrect[cnt] = raster_[tmp + j]; - else - nnrect[cnt] = -1; - } - } - - maxcnt = 0; - col = 0; - cnt = 0; - for (int i = 0; i < lcv3; i++) - { - if (nnrect[i] != -1) - { - cnt = 1; - - for (int j = i+1; j < lcv3; j++) - { - if (nnrect[i] == nnrect[j]) - cnt++; - } - - if (cnt > maxcnt) - { - col = nnrect[i]; - maxcnt = cnt; - } - } - } - - pixels[index] = col; - } - } - } - - System.err.println("Oil Paint should be finished."); - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - consumer.imageComplete(status); - } -} diff --git a/java/ImageProcessing/filters/PixelizeFilter.java b/java/ImageProcessing/filters/PixelizeFilter.java deleted file mode 100644 index cdfe768789a..00000000000 --- a/java/ImageProcessing/filters/PixelizeFilter.java +++ /dev/null @@ -1,117 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class PixelizeFilter extends SpatialFilter -{ - private int pwidth_ = 4; - private int pheight_ = 4; - - public PixelizeFilter() - { - } - - public PixelizeFilter(int pwidth, int pheight) - { - pwidth_ = pwidth; - pheight_ = pheight; - } - - public String info () - { - return "Pixelizes the image."; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Pixelize Image Error: " + status); - return; - } - - System.gc(); - - int pixel; - int nsum, asum, rsum, gsum, bsum, nwide, nhigh, stx, sty, x, y; - int x_offset, y_offset, x_extent, y_extent, lcv, lcv2, lcv3, index; - int[] results = new int[rows_*columns_]; - - profile_timer_.start(); - - for (int z = SpatialFilter.iterations_; z-- > 0;) - { - lcv3 = pwidth_*pheight_; - nwide = (columns_ + pwidth_ - 1) / pwidth_; - nhigh = (rows_ + pheight_ - 1) / pheight_; - - stx = -(nwide*pwidth_ - columns_)/2; - sty = -(nhigh*pheight_ - rows_)/2; - - y = sty; - for (int i = 0; i < nhigh; i++, y += pheight_) - { - x = stx; - for (int j = 0; j < nwide; j++, x += pwidth_) - { - nsum = asum = rsum = bsum = gsum = 0; - - lcv = y + pheight_; - lcv2 = x + pwidth_; - for (int y1 = y; y1 < lcv; y1++) - { - index = y1*columns_; - for (int x1 = x; x1 < lcv2; x1++) - { - if (x1 >= 0 && y1 >= 0 && x1 < columns_ && y1 < rows_) - { - nsum++; - pixel = raster_[index + x1]; - - asum += (pixel >> 24) & 0xff; - rsum += (pixel >> 16) & 0xff; - gsum += (pixel >> 8 ) & 0xff; - bsum += pixel & 0xff; - } - } - } - - if (nsum > 0) - { - rsum /= nsum; - gsum /= nsum; - bsum /= nsum; - - if (asum < 0) asum = 0; - if (rsum < 0) rsum = 0; - if (gsum < 0) gsum = 0; - if (bsum < 0) bsum = 0; - - if (asum > 255) asum = 255; - if (rsum > 255) rsum = 255; - if (gsum > 255) gsum = 255; - if (bsum > 255) bsum = 255; - - } - - for (int y1 = y; y1< lcv; y1++) - { - index = y1*columns_; - for (int x1 = x; x1 < lcv2; x1++) - { - if (x1 >= 0 && y1 >= 0 && x1 < columns_ && y1 < rows_) - results[index + x1] - = (asum << 24) | (rsum << 16) | (gsum << 8) | bsum; - } - } - } - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, results, 0, columns_); - consumer.imageComplete(status); - } -} diff --git a/java/ImageProcessing/filters/RandomizeFilter.java b/java/ImageProcessing/filters/RandomizeFilter.java deleted file mode 100644 index 438f79e01c0..00000000000 --- a/java/ImageProcessing/filters/RandomizeFilter.java +++ /dev/null @@ -1,36 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; -import java.util.Random; - -public class RandomizeFilter extends RGBImageFilter implements MedFilter -{ - private static Random rand = new Random(System.currentTimeMillis()); - - public RandomizeFilter () - { - canFilterIndexColorModel = true; - } - - public String info () - { - return "Randomizes an image."; - } - - public int filterRGB(int x, int y, int rgb) - { - DirectColorModel cm = - (DirectColorModel)ColorModel.getRGBdefault(); - - int alpha = cm.getAlpha(rgb); - int red = rand.nextInt() % 255; - int green = rand.nextInt() % 255; - int blue = rand.nextInt() % 255; - - alpha = alpha << 24; - red = red << 16; - green = green << 8; - - return alpha | red | green | blue; - } -} diff --git a/java/ImageProcessing/filters/RotateFilter.java b/java/ImageProcessing/filters/RotateFilter.java deleted file mode 100644 index 39551017a4b..00000000000 --- a/java/ImageProcessing/filters/RotateFilter.java +++ /dev/null @@ -1,358 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; - -public class RotateFilter extends SpatialFilter -{ - private double angle_; - private int rotx_, roty_; - private int rotheight_, rotwidth_; - - public RotateFilter () - { - this.angle_ = 90.0; - } - - public RotateFilter(double angle) - { - this.angle_ = angle; - } - - public String info () - { - return "Rotates an image"; - } - - public void setDimensions(int width, int height) - { - DoublePoint temp; - - rows_ = height; - columns_ = width; - - // Convert the angle into radians - double rotrad = angle_ * Math.PI / (double)180.0; - - // Compute the corner points after rotation - double center_x = (double)(columns_ - 1) / (double)2.0; - double center_y = (double)(rows_ - 1) / (double)2.0; - - // The new top left corner - temp = rotatePoint(0, 0, center_x, center_y, rotrad); - int rtl_x = (int)(temp.x_ + ((temp.x_ < 0) ? -0.5 : 0.5)); - int rtl_y = (int)(temp.y_ + ((temp.y_ < 0) ? -0.5 : 0.5)); - - // the new top right corner - temp = rotatePoint(0, rows_, center_x, center_y, rotrad); - int rtr_x = (int)(temp.x_ + ((temp.x_ < 0) ? -0.5 : 0.5)); - int rtr_y = (int)(temp.y_ + ((temp.y_ < 0) ? -0.5 : 0.5)); - - // the new bottom left corner - temp = rotatePoint(columns_, 0, center_x, center_y, rotrad); - int rbl_x = (int)(temp.x_ + ((temp.x_ < 0) ? -0.5 : 0.5)); - int rbl_y = (int)(temp.y_ + ((temp.y_ < 0) ? -0.5 : 0.5)); - - // the new bottom right corner - temp = rotatePoint(columns_, rows_, center_x, center_y, rotrad); - int rbr_x = (int)(temp.x_ + ((temp.x_ < 0) ? -0.5 : 0.5)); - int rbr_y = (int)(temp.y_ + ((temp.y_ < 0) ? -0.5 : 0.5)); - - //System.out.println(" ( " + center_x + "," + center_y + " ) "); - //System.out.println(" ( " + rtl_x + "," + rtl_y + " ) "); - //System.out.println(" ( " + rtr_x + "," + rtr_y + " ) "); - //System.out.println(" ( " + rbr_x + "," + rbr_y + " ) "); - //System.out.println(" ( " + rbl_x + "," + rbl_y + " ) "); - - // rotated bounding box - int rbbx1, rbby1; - int rbbx = rbbx1 = rtl_x; - int rbby = rbby1 = rtl_y; - - if (rtr_x < rbbx) rbbx = rtr_x; - if (rtr_x > rbbx1) rbbx1 = rtr_x; - if (rtr_y < rbby) rbby = rtr_y; - if (rtr_y > rbby1) rbby1 = rtr_y; - - if (rbl_x < rbbx) rbbx = rbl_x; - if (rbl_x > rbbx1) rbbx1 = rbl_x; - if (rbl_y < rbby) rbby = rbl_y; - if (rbl_y > rbby1) rbby1 = rbl_y; - - if (rbr_x < rbbx) rbbx = rbr_x; - if (rbr_x > rbbx1) rbbx1 = rbr_x; - if (rbr_y < rbby) rbby = rbr_y; - if (rbr_y > rbby1) rbby1 = rbr_y; - - int rbbw = rbbx1 - rbbx; - int rbbh = rbby1 - rbby; - - //System.out.println("(rbbx, rbby): " + rbbx + " " + rbby); - //System.out.println("(rbbx1, rbby1): " + rbbx1 + " " + rbby1); - //System.out.println("(rbbw, rbbh): " + rbbw + " " + rbbh); - - - //rbbx--; rbby--; rbbw+=2; rbbh+=2; - - - // Ensure we haven't increased the size of the image - - /* - int x = rbbx + rbbw - 1, y = rbby + rbbh - 1; - if (rbbx < 0) rbbx = 0; - if (rbbx > columns_ - 1 ) rbbx = columns_ - 1; - if (rbby < 0) rbby = 0; - if (rbby > rows_ - 1) rbby = rows_ - 1; - */ - - /* - - if (x < 0) x = 0; - if (x > columns_ - 1) x = columns_ - 1; - if (y < 0) y = 0; - if (y > rows_ - 1) y = rows_ - 1; - - if (x < rbbx) x = rbbx; - if (y < rbby) y = rbby; - rbbw = (x - rbbx) + 1; - rbbh = (y - rbby) + 1; - - */ - - rotx_ = rbbx; - roty_ = rbby; - rotheight_ = rbbh; - rotwidth_ = rbbw; - - //System.out.println("(rotx,roty): " + rotx_ + " " + - // roty_); - //System.out.println("(rotwidth,rotheight): " + rotwidth_ + " " + - // rotheight_); - //System.out.println("(columns,rows): " + columns_ + - // " " + rows_); - - - raster_ = new int[columns_*rows_]; - consumer.setDimensions(rotwidth_, rotheight_); - } - - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Image Error: " + status); - return; - } - - // For each pixel in the dimensions of the rotated image, if the - // inverse rotation falls in the bounds of the original image. If - // it does, compute and store an appropriate color, otherwise skip - // it. - - System.gc(); - - double xf, yf, px, py, apx, apy; - int[] pixels = new int[rotwidth_*rotheight_]; - int ox, oy, ox1, oy1, index, pixel; - double cx = (columns_ - 1) / 2; - double cy = (rows_ - 1) / 2; - double rotrad = angle_ * Math.PI / 180.0, ang, d; - int p0r = 0, p0g = 0, p0b = 0, - p1r = 0, p1g = 0,p1b = 0, - p2r = 0, p2g = 0, p2b = 0, - p3r = 0, p3g = 0, p3b = 0, lcv, lcv2; - int rv,gv,bv, alpha; - double rd,gd,bd, p0wgt = 0, - p1wgt = 0, p2wgt = 0, p3wgt = 0, xfrac, yfrac; - - profile_timer_.start(); - - lcv = roty_ + rotheight_; - lcv2 = rotx_ + rotwidth_; - for (int y = roty_, i = 0; y < lcv; y++) - { - for (int x = rotx_; x < lcv2; x++, i++) - { - // Inverse rotate the point (x,y) - // Inlining the call to rotatePoint - xf = (double)x; - yf = (double)y; - d = Math.sqrt((xf - cx) * (xf - cx) + (yf - cy) * (yf - cy)); - - if ((xf - cx) != 0.0) - { - ang = Math.atan((cy-yf)/(xf-cx)); - if ((xf - cx) < 0) - ang += Math.PI; - } - else - { - if ((yf - cy) > 0.0) - ang = (Math.PI * 3.0) / 2; - else - ang = Math.PI / 2; - } - - xf = cx + (d * Math.cos(ang - rotrad)); - yf = cy - (d * Math.sin(ang - rotrad)); - // end inline - - // Cheat a little - if (xf < 0.0 && xf > -0.5) xf = 0.0; - if (yf < 0.0 && yf > -0.5) yf = 0.0; - - ox = (int)Math.floor(xf); - oy = (int)Math.floor(yf); - - if ((ox >= 0) && (oy >= 0) && - (ox < columns_) && (oy < rows_) ) - { - // The color will be a linear combination of the colors of - // the center pixel, its left or right neighbor, its top - // or bottom neighbor, and its corner neighbor. Which - // neighbors are used is determined by the position of - // the fractional part of xf, xy within the 1-unit square - // of the pixel. - - /* compute px,py: fractional offset from center of pixel (x.5,y.5) */ - xfrac = xf - ox; /* 0 - .9999 */ - yfrac = yf - oy; - px = ((xfrac >= .5) ? (xfrac - .5) : (-.5 + xfrac)); - py = ((yfrac >= .5) ? (yfrac - .5) : (-.5 + yfrac)); - apx = ((px < 0) ? -px : px); - apy = ((py < 0) ? -py : py); - - /* get neighbor colors: p0col, p1col, p2col, p3col */ - ox1 = ox + ((px < 0.0) ? -1 : 1); - oy1 = oy + ((py < 0.0) ? -1 : 1); - - index = oy * columns_ + ox; - pixel = raster_[index]; - alpha = (pixel >> 24) & 0xff; - p0r = (pixel >> 16) & 0xff; - p0g = (pixel >> 8) & 0xff; - p0b = pixel & 0xff; - - if (ox1 >= 0 && ox1 < columns_) - { - index = oy*columns_ + ox1; - pixel = raster_[index]; - p1r = (pixel >> 16) & 0xff; - p1g = (pixel >> 8) & 0xff; - p1b = pixel & 0xff; - p1wgt = apx * (1.0 - apy); - } - else { p1r=p1g=p1b=0; p1wgt = 0.0; } - - if (oy1 >= 0 && oy1 < rows_) - { - index = oy1*columns_ + ox; - pixel = raster_[index]; - p2r = (pixel >> 16) & 0xff; - p2g = (pixel >> 8) & 0xff; - p2b = pixel & 0xff; - p2wgt = apx * (1.0 - apy); - } - else { p2r=p2g=p2b=0; p2wgt = 0.0; } - - if (ox1 >= 0 && ox1 < columns_ && - oy1 >= 0 && oy1 < rows_) - { - index = oy1 * columns_ + ox1; - pixel = raster_[index]; - p3r = (pixel >> 16) & 0xff; - p3g = (pixel >> 8) & 0xff; - p3b = pixel & 0xff; - p3wgt = apx * (1.0 - apy); - } - else { p3r=p3g=p3b=0; p3wgt = 0.0; } - - p1wgt = p1wgt * .7; /* black art */ - p2wgt = p2wgt * .7; - p3wgt = p3wgt * .7; - - p0wgt = 1.0 - (p1wgt + p2wgt + p3wgt); - - /* okay, compute and store resulting color */ - rd = p0r * p0wgt + p1r * p1wgt + p2r * p2wgt + p3r * p3wgt; - gd = p0g * p0wgt + p1g * p1wgt + p2g * p2wgt + p3g * p3wgt; - bd = p0b * p0wgt + p1b * p1wgt + p2b * p2wgt + p3b * p3wgt; - - rv = (int) (rd + 0.5); - gv = (int) (gd + 0.5); - bv = (int) (bd + 0.5); - - if (rv < 0) rv = 0; - if (gv < 0) gv = 0; - if (bv < 0) bv = 0 ; - - if (rv > 255) rv = 255; - if (gv > 255) gv = 255; - if (bv > 255) bv = 255; - - pixels[i] = (alpha << 24) | (rv << 16) | (gv << 8) | bv; - } - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, rotwidth_, rotheight_, defaultRGB_, - pixels, 0, rotwidth_); - - consumer.imageComplete(status); - } - - private final static DoublePoint rotatePoint(int x, int y, - double cx, double cy, double rad) - { - /* rotate point x, y 'rad' radians around cx, cy, return rx, ry */ - double d, xf, yf, ang, rx, ry; - - xf = (double)x; - yf = (double)y; - - // d = distance from the point to the center - d = Math.sqrt((xf - cx) * (xf - cx) + (yf - cy) * (yf - cy)); - - if ((xf - cx) != 0.0) - { - // Compute the angle between the axis and the point in radians - // using the inverse tangent function. - ang = Math.atan((cy-yf)/(xf-cx)); - - // If the x value falls below the axis the angle is between - // PI and 2*PI. - if ((xf - cx) < 0) - ang += Math.PI; - } - else - { - // The point is on the positive y-axis so its angle is 3/2*PI - // I'm guessing this the cooridnate system is flipped in - // screen graphics. - if ((yf - cy) > 0.0) - ang = (Math.PI * 3.0) / 2; - else - ang = Math.PI / 2; - } - - rx = cx + (d * Math.cos(ang + rad)); - ry = cy - (d * Math.sin(ang + rad)); - - return new DoublePoint(rx, ry); - } -} - -class DoublePoint -{ - public double x_; - public double y_; - - DoublePoint(double x, double y) - { - x_ = x; - y_ = y; - } -} diff --git a/java/ImageProcessing/filters/SharpenFilter.java b/java/ImageProcessing/filters/SharpenFilter.java deleted file mode 100644 index fcb6f03c7ac..00000000000 --- a/java/ImageProcessing/filters/SharpenFilter.java +++ /dev/null @@ -1,272 +0,0 @@ -package imaging.filters; - -import java.awt.Color; -import java.awt.image.*; -import java.util.*; - -public class SharpenFilter extends SpatialFilter -{ - float percentage_ = (float)75.0; - - public SharpenFilter() - { - } - - public SharpenFilter(float percentage) - { - percentage_ = percentage; - } - - public String info () - { - return "Sharpens an image."; - } - - - public void imageComplete(int status) - { - System.out.println("Image Complete called"); - - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Image Error"); - return; - } - - System.gc(); - - float[] hsv = new float[3]; - int rgb, red, green, blue; - int pixel, alpha, lcv, lcv2, lcv3; - int[] pixels = new int[columns_*rows_]; - float fact, ifact, hue, sat, val, vsum; - float[] line0 = new float[columns_], - linep1 = new float[columns_], - linem1 = new float[columns_], - tmpptr; - - profile_timer_.start(); - - for (int z = 0; z < SpatialFilter.iterations_; z++) - { - fact = percentage_/(float)100.0; - ifact = (float)1.0 - fact; - - for (int x = 0; x < columns_; x++) - { - pixel = raster_[x]; - hsv = getHSV(((pixel >> 16) & 0xff), ((pixel >> 8) & 0xff), (pixel & 0xff),hsv); - line0[x] = hsv[2]; - } - - lcv = columns_ << 1; - for (int x = columns_, index = 0; x < lcv; x++, index++) - { - pixel = raster_[x]; - hsv = getHSV(((pixel >> 16) & 0xff), ((pixel >> 8) & 0xff), (pixel & 0xff),hsv); - linep1[index] = hsv[2]; - } - - lcv = columns_ - 1; - lcv2 = rows_ - 1; - for (int y = 1, i = columns_; y < lcv2; y++) - { - tmpptr = linem1; - linem1 = line0; - line0 = linep1; - linep1 = tmpptr; - - lcv3 = columns_*(y+2); - for (int x = columns_*(y+1), index= 0; x < lcv; x++, index++) - { - pixel = raster_[x]; - // Note hsv is only instantiated once - hsv = getHSV(((pixel >> 16) & 0xff), ((pixel >> 8) & 0xff), (pixel & 0xff), hsv); - linep1[index] = hsv[2]; - } - - i++; - for (int x = 1; x < lcv; x++, i++) - { - vsum = (float)0.0; - vsum = linem1[x-1] + linem1[x] + linem1[x+1] + - line0[x-1] + line0[x] + line0[x + 1] + - linep1[x-1] + linep1[x] + linep1[x + 1]; - - pixel = raster_[i]; - alpha = (pixel >> 24) & 0xff; - hsv = getHSV(((pixel >> 16) & 0xff), ((pixel >> 8) & 0xff), (pixel & 0xff), hsv); - - val = ((hsv[2] - (fact * vsum) / 9) / ifact); - if (val < 1.0) - { - if (val < 0.0) - val = (float)0.0; - } - else - val = (float)1.0; - - hsv[2] = val; - rgb = getRGB(hsv[0], hsv[1], hsv[2]); - - red = (rgb >> 16) & 0xff; - green = (rgb >> 8) & 0xff; - blue = rgb & 0xff; - - if (red < 0) red = 0; - if (green < 0) green = 0; - if (blue < 0) blue = 0 ; - - if (red > 255) red = 255; - if (green > 255) green = 255; - if (blue > 255) blue = 255; - - pixels[i] = - (alpha << 24) | (red << 16) | (green << 8) | blue; - } - i++; - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - - System.out.println("Finished altering image"); - consumer.imageComplete(status); - } - - - static private float[] getHSV(int red, int green, int blue, float[] hsv) - { - float rd, gd, bd, max, min, del, rc, gc, bc, hue, sat; - if (hsv == null) - hsv = new float[3]; - - /* convert RGB to HSV */ - rd = red / (float)255.0; /* rd,gd,bd range 0-1 instead of 0-255 */ - gd = green / (float)255.0; - bd = blue / (float)255.0; - - /* compute maximum of rd,gd,bd */ - if (rd >= gd) - { - if (rd >= bd) - max = rd; - else - max = bd; - } - else - { - if (gd >= bd) - max = gd; - else - max = bd; - } - - /* compute minimum of rd,gd,bd */ - if (rd<=gd) - { - if (rd<=bd) - min = rd; - else - min = bd; - } - else - { - if (gd<=bd) - min = gd; - else - min = bd; - } - - del = max - min; - hsv[2] = max; - - if (max != 0.0) - sat = (del) / max; - else - sat = (float)0.0; - - hue = -1; - - if (sat != 0.0) - { - rc = (max - rd) / del; - gc = (max - gd) / del; - bc = (max - bd) / del; - - if (rd == max) - hue = bc - gc; - else - if (gd == max) - hue = 2 + rc - bc; - else - if (bd == max) - hue = 4 + gc - rc; - - hue *= 60; - if (hue<0) - hue += 360; - } - - hsv[0] = hue; - hsv[1] = sat; - return hsv; - } - - static private int getRGB(float hue, float sat, float val) - { - int j, r, g, b; - float rd, gd, bd; - float f, p, q, t; - - /* convert HSV back to RGB */ - if (hue == -1 || sat == 0.0) - { - rd = val; gd = val; bd = val; - } - else - { - if (hue==(float)360.0) hue = (float)0.0; - hue = hue / (float)60.0; - j = (int) hue; - if (j<0) j=0; /* either hue or floor seem to go neg on some sys */ - f = hue - j; - p = val * (1-sat); // val - sat* val - q = val * (1 - (sat*f)); // val - val*sat*f - t = val * (1 - (sat*(1 - f))); - - switch (j) { - case 0: rd = val; gd = t; bd = p; break; - case 1: rd = q; gd = val; bd = p; break; - case 2: rd = p; gd = val; bd = t; break; - case 3: rd = p; gd = q; bd = val; break; - case 4: rd = t; gd = p; bd = val; break; - case 5: rd = val; gd = p; bd = q; break; - default: rd = val; gd = t; bd = p; break; /* never happen */ - } - } - r = (int)(rd * 255.0 + 0.5); - g = (int)(gd * 255.0 + 0.5); - b = (int)(bd * 255.0 + 0.5); - - return 0xff000000 | (r << 16) | (g << 8) | b; - } -} - - - - - - - - - - - - - - - diff --git a/java/ImageProcessing/filters/SpatialFilter.java b/java/ImageProcessing/filters/SpatialFilter.java deleted file mode 100644 index ad56164819e..00000000000 --- a/java/ImageProcessing/filters/SpatialFilter.java +++ /dev/null @@ -1,213 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; -import JACE.Timers.ProfileTimer; - -public class SpatialFilter extends ImageFilter implements MedFilter -{ - public SpatialFilter() - { - } - - public SpatialFilter(int[][] matrix, int degree) - { - this(matrix, degree, 1, 0); - } - - public SpatialFilter(int[][] matrix, int degree, int div_factor, int offset) - { - matrix_ = matrix; - div_factor_ = div_factor; - offset_ = offset; - degree_ = degree; - } - - public void setFilter(int[][] matrix, int degree, int div_factor) - { - matrix_ = matrix; - degree_ = degree; - div_factor_ = div_factor; - } - - public String info () - { - return "Base Filter class. Doesn't do much"; - } - - public long filterTime() - { - return profile_timer_.elapsedTime(); - } - - public static void setTimer(int internal_iterations) - { - iterations_ = internal_iterations; - } - - public void setDimensions(int width, int height) - { - rows_ = height; - columns_ = width; - raster_ = new int[width * height]; - consumer.setDimensions(width, height); - } - - public void setPixels(int x, int y, int w, int h, ColorModel model, - byte pixels[], int off, int scansize) - { - int source_offset = off; - int dest_offset = y * columns_ + x; - - for (int y_ind = 0; y_ind < h; y_ind++) - { - for (int x_ind = 0; x_ind < w; x_ind++) - { - raster_[dest_offset] = model.getRGB(pixels[source_offset] & 0xff); - dest_offset++; - source_offset++; - } - - source_offset += (scansize - w); - dest_offset += (columns_ - w); - } - } - - public void setPixels(int x, int y, int w, int h, ColorModel model, - int pixels[], int off, int scansize) - { - int source_offset = off; - int dest_offset = y * columns_ + x; - - if (model == defaultRGB_) - { - for (int yc = 0; yc < h; yc++) - { - System.arraycopy(pixels, source_offset, raster_, dest_offset, w); - source_offset += scansize; - dest_offset += columns_; - } - } - else - { - - for (int yc = 0; yc < h; yc++) - { - for (int xc = 0; xc < w; xc++) - { - raster_[dest_offset] = model.getRGB(pixels[source_offset]); - dest_offset++; - source_offset++; - } - source_offset += (scansize - w); - dest_offset += (columns_ - w); - } - } - } - - public void setColorModel(ColorModel model) - { - consumer.setColorModel(defaultRGB_); - } - - public void setHints(int hintflags) - { - consumer.setHints(TOPDOWNLEFTRIGHT - | COMPLETESCANLINES - | SINGLEPASS - | (hintflags & SINGLEFRAME)); - } - - - public void imageComplete(int status) - { - System.out.println("Image Complete called"); - - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Image Error"); - return; - } - - int[] pixels = new int[columns_]; - int[][] new_raster= expandRaster(); - int pixel = 0; - int red, green, blue; - int new_red = 0, new_green = 0, new_blue = 0; - int alpha; - - for (int x = raster_offset_; x < rows_; x++) - { - for (int y = raster_offset_; y < columns_; y++) - { - new_red = 0; new_green = 0; new_blue = 0; - alpha = defaultRGB_.getAlpha(new_raster[x][y]); - for (int i = 0; i < degree_; i++) - { - for (int j = 0; j < degree_; j++) - { - pixel = new_raster[x + (i - raster_offset_)][y + (j - raster_offset_)]; - - red = defaultRGB_.getRed(pixel) * matrix_[i][j]; - blue = defaultRGB_.getBlue(pixel) * matrix_[i][j]; - green = defaultRGB_.getGreen(pixel) * matrix_[i][j]; - - new_red += red; - new_green += green; - new_blue += blue; - } - } - - new_red /= div_factor_; - new_green /= div_factor_; - new_blue /= div_factor_; - - new_red = Math.min(Math.abs(new_red), 255); - new_green = Math.min(Math.abs(new_green), 255); - new_blue = Math.min(Math.abs(new_blue), 255); - - pixels[y - raster_offset_] = - (alpha << 24) | (new_red << 16) | (new_green << 8) | new_blue; - } - - consumer.setPixels(0, x - raster_offset_, columns_, 1, defaultRGB_, pixels, 0, columns_); - } - - System.out.println("Finished altering image"); - consumer.imageComplete(status); - } - - protected int[][] expandRaster() - { - int[][] new_raster; - int index = 0; - - raster_offset_ = degree_ / 2; - new_raster = new int[rows_ + raster_offset_*2][columns_ + raster_offset_*2]; - - for (int x = 0; x < rows_; x++) - { - for (int y = 0; y < columns_; y++) - { - new_raster[x + raster_offset_][y + raster_offset_] = raster_[index]; - index++; - } - } - - return new_raster; - } - - protected static final int intensity(int rd, int gn, int bl) - { - return (((int)(rd)*11 + (int)(gn)*16 + (int)(bl)*5) >> 5); - } - - protected static int iterations_ = 1; - protected static final ColorModel defaultRGB_ = ColorModel.getRGBdefault(); - protected int[][] matrix_; - protected int[] raster_; - protected int rows_ = 0, columns_ = 0; - protected int div_factor_ = 1, offset_, degree_; - protected int raster_offset_ = 0; - protected final ProfileTimer profile_timer_ = new ProfileTimer(); -} diff --git a/java/ImageProcessing/filters/SpreadFilter.java b/java/ImageProcessing/filters/SpreadFilter.java deleted file mode 100644 index c78790c9235..00000000000 --- a/java/ImageProcessing/filters/SpreadFilter.java +++ /dev/null @@ -1,130 +0,0 @@ -package imaging.filters; - -import java.awt.image.*; -import java.util.Random; - -public class SpreadFilter extends SpatialFilter -{ - private int pwidth_ = 5; - private int pheight_ = 5; - - public SpreadFilter() - { - } - - public SpreadFilter(int pwidth, int pheight) - { - pwidth_ = pwidth; - pheight_ = pheight; - } - - public String info () - { - return "Spreads an image (an effect of being under water)."; - } - - public void imageComplete(int status) - { - if (status == IMAGEERROR || status == IMAGEABORTED) - { - consumer.imageComplete(status); - System.out.println("Spread Image Error: " + status); - return; - } - - System.gc(); - - Random rand = new Random(); - int[] pixels = new int[columns_*rows_]; - int d, dx, dy, x1, y1, xrng, xoff, yrng, yoff; - int minx, maxx, miny, maxy, rdist, tmp; - - profile_timer_.start(); - - for (int z = 0; z < SpatialFilter.iterations_; z++) - { - for (int y = 0, i=0; y < rows_; y++) - { - for (int x = 0; x < columns_; x++, i++) - { - if (pwidth_ < 0) - { - d = (pwidth_ < 0 ? -pwidth_ : pwidth_); - - minx = x - d; - if (minx < 0) - minx = 0; - - maxx = x + d; - if (maxx >= columns_) - maxx = columns_ - 1; - - tmp = rand.nextInt(); - tmp = (tmp < 0 ? -tmp : tmp); - x1 = minx + tmp % ((maxx - minx) + 1); - - miny = y - d; - if (miny < 0) - miny = 0; - - maxy = y + d; - if (maxy >= rows_) - maxy = rows_ - 1; - - rdist = d - (x1 < x ? -(x1 - x) : x1 - x); - if (y - miny > rdist) - miny = (y - rdist); - if (maxy - y > rdist) - maxy = (y + rdist); - - tmp = rand.nextInt(); - tmp = (tmp < 0 ? -tmp : tmp); - y1 = miny + tmp % ((maxy - miny) + 1); - } - else - { - minx = x - pwidth_; - if (minx < 0) - minx = 0; - - maxx = x + pwidth_; - if (maxx >= columns_) - maxx = columns_ - 1; - - tmp = rand.nextInt(); - tmp = (tmp < 0 ? -tmp : tmp); - x1 = minx + tmp % ((maxx - minx) + 1); - - miny = y - pheight_; - if (miny < 0) - miny = 0; - - maxy = y + pheight_; - if (maxx >= columns_) - maxx = columns_ - 1; - - tmp = rand.nextInt(); - tmp = (tmp < 0 ? -tmp : tmp); - y1 = miny + tmp % ((maxy - miny) + 1); - } - - if (x1 >= 0 && y1 >= 0 && x1 < columns_ && y1 < rows_) - { - int pixel = raster_[i]; - int alpha = (pixel >> 24) & 0xff; - int red = (pixel >> 16) & 0xff; - int green = (pixel >> 8) & 0xff; - int blue = pixel & 0xff; - - pixels[i] = (alpha << 24) | (red << 16) | (green << 8) | blue; - } - } - } - } - - profile_timer_.stop(); - - consumer.setPixels(0, 0, columns_, rows_, defaultRGB_, pixels, 0, columns_); - consumer.imageComplete(status); - } -} diff --git a/java/ImageProcessing/filters/Timer.java b/java/ImageProcessing/filters/Timer.java deleted file mode 100644 index 609ec8aa366..00000000000 --- a/java/ImageProcessing/filters/Timer.java +++ /dev/null @@ -1,23 +0,0 @@ -package imaging.filters; - -public class Timer -{ - long start_time_; - long stop_time_; - - public void start() - { - start_time_ = System.currentTimeMillis(); - } - - public void stop() - { - stop_time_ = System.currentTimeMillis(); - } - - public String toString() - { - long total = stop_time_ - start_time_; - return "Total Time:" + total + " ms"; - } -} diff --git a/java/ImageProcessing/framework/BaseButton.java b/java/ImageProcessing/framework/BaseButton.java deleted file mode 100644 index 794670b2f3f..00000000000 --- a/java/ImageProcessing/framework/BaseButton.java +++ /dev/null @@ -1,234 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import imaging.filters.*; - -public class BaseButton extends Panel -{ - public BaseButton (String title, String description, ImageApp parent) - { - this.setLayout (new BorderLayout ()); - this.button_ = new Button (title); - this.add ("Center", this.button_); - this.resize (100, 100); - this.description_ = description; - this.parent_ = parent; - } - - public boolean mouseEnter(Event evt, int x, int y) - { - this.parent_.displayStatus (this.description_); - return true; - } - - public boolean mouseExit(Event evt, int x, int y) - { - this.parent_.displayStatus (""); - return true; - } - - protected ImageApp parent_; - private String description_; - private Button button_; -} - -class URLDialogButton extends BaseButton -{ - public URLDialogButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - this.openURLFrame_ = new LoadURLFrame ("Open URL <2>", this.parent_); - } - - public boolean action (Event e, Object arg) - { - this.openURLFrame_.show (); - return true; - } - private LoadURLFrame openURLFrame_; -} - -// ****************** -// Should continue to remember the password -// ****************** -class SaveButton extends BaseButton -{ - public SaveButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - this.openURLFrame_ = new SaveURLFrame ("Save Image <2>", this.parent_); - } - - public boolean action (Event e, Object arg) - { - this.openURLFrame_.show (); - return true; - } - private SaveURLFrame openURLFrame_; -} - -class ReloadButton extends BaseButton -{ - public ReloadButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - this.parent_.reloadFilters (); - return true; - } -} - -class ApplyButton extends BaseButton -{ - public ApplyButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - this.parent_.apply (); - return true; - } -} - -class ResetButton extends BaseButton -{ - public ResetButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - this.parent_.resetImage (); - return true; - } -} - -class ZoomInButton extends BaseButton -{ - public ZoomInButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - this.parent_.zoomFactor (1.6); - return true; - } -} - -class ZoomOutButton extends BaseButton -{ - public ZoomOutButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - this.parent_.zoomFactor (0.625); - return true; - } -} - - -class AboutButton extends BaseButton -{ - public AboutButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - DialogManager.popDialog (DialogType.ABOUT, null); - return true; - } -} - -class HelpButton extends BaseButton -{ - public HelpButton (String title, String desc, ImageApp parent) - { - super (title, desc, parent); - } - - public boolean action (Event e, Object arg) - { - DialogManager.popDialog (DialogType.HELP, null); - return true; - } -} - -class ChoicePanel extends Panel -{ - public ChoicePanel (String desc, ImageApp parent) - { - this.description_ = desc; - this.parent_ = parent; - - this.loadFilters (); - // Set the layout of the Choice Panel. Note that the Choice Panel - // holds the choice button of filters. - this.setLayout (new FlowLayout ()); - this.resize (150, 100); - } - - public void choice (Choice choice) - { - this.choice_ = choice; - } - - public Choice choice () - { - return this.choice_; - } - - public void loadFilters () - { - // First remove all components of the panel including the - // choices of filters - this.removeAll (); - - // Now create new choices - this.choice_ = this.parent_.getFilters (); - - // Add the choices to our choice panel - this.add (this.choice_); - } - - public boolean mouseEnter(Event evt, int x, int y) - { - MedFilter filter = null; - String displayString = null; - String filterName = this.choice_.getSelectedItem (); - - if (filterName.compareTo ("Filters:") == 0) - displayString = "No filter selected"; - else - { - filter = (MedFilter) this.parent_.getFilter (filterName); - displayString = filter.info (); - } - this.parent_.displayStatus (displayString); - // this.parent_.displayStatus (this.description_); - return true; - } - - public boolean mouseExit(Event evt, int x, int y) - { - this.parent_.displayStatus (""); - return true; - } - - private Choice choice_; - private ImageApp parent_; - String description_; -} - diff --git a/java/ImageProcessing/framework/BenchmarkApplet.java b/java/ImageProcessing/framework/BenchmarkApplet.java deleted file mode 100644 index ac125a1d9de..00000000000 --- a/java/ImageProcessing/framework/BenchmarkApplet.java +++ /dev/null @@ -1,622 +0,0 @@ -package imaging.framework; - -import JACE.Timers.ProfileTimer; -import imaging.filters.*; -import java.awt.*; -import java.awt.image.*; -import java.applet.*; -import java.net.*; -import java.util.*; -import java.io.*; -import gjt.*; - -public class BenchmarkApplet extends Applet implements Runnable -{ - public static final Font GLOBAL_FONT = new Font("Dialog", Font.BOLD, 10); - private static final String NEW_LINE = System.getProperty("line.separator"); - private static final String WELCOME = "Welcome to MedJava Image Processing Benchmarking Tool"; - private static final String COPYRIGHT = "(c) 1997 Distributed Object Computing Group, Washington Univesity"; - private static final String ABORT = "Image Processing Tests Aborted"; - private static final String STOP = "Stop"; - private static final String START= "Start"; - private static final String CLEAR= "Clear"; - private static final String RANDOM= "Create Random Image"; - private static final int INTERNAL_ITERATIONS = 10; - private static final int TRIALS = 1; - - private List images_, filters_; - private TextArea console_; - private TextField new_image_; - private Button start_button_; - private Button stop_button_; - private Button clear_button_; - private Button random_button_; - private ButtonPanel button_panel_ = new ButtonPanel(); - private Hashtable filter_table_ = new Hashtable(); - private Hashtable image_table_ = new Hashtable(); - private Thread benchmarker_; - private long elapsed_time_; - private SpatialFilter filter_; - private Object monitor_ = new Object(); - - public void init() - { - Panel control_panel = new Panel(); - Panel sub_panel1 = new Panel(); - Panel filter_panel = new Panel(); - Panel image_panel = new Panel(); - Label image_panel_label = new Label("Images"); - Label filter_panel_label = new Label("Filters"); - - new_image_ = new TextField(); - console_ = new TextArea(); - images_ = new List(); - filters_ = new List(); - - console_.setEditable(false); - images_.setMultipleSelections(true); - filters_.setMultipleSelections(true); - console_.setFont(GLOBAL_FONT); - images_.setFont(GLOBAL_FONT); - filters_.setFont(GLOBAL_FONT); - image_panel_label.setFont(GLOBAL_FONT); - filter_panel_label.setFont(GLOBAL_FONT); - - console_.appendText(WELCOME + NEW_LINE); - console_.appendText(COPYRIGHT + NEW_LINE); - - image_panel.setLayout(new BorderLayout()); - image_panel.add("North", image_panel_label); - image_panel.add("Center", images_); - image_panel.add("South", new_image_); - - filter_panel.setLayout(new BorderLayout()); - filter_panel.add("North", filter_panel_label); - filter_panel.add("Center", filters_); - - sub_panel1.setLayout(new GridLayout(1, 2, 5, 5)); - sub_panel1.add(filter_panel); - sub_panel1.add(image_panel); - - control_panel.setLayout(new GridLayout(2, 1, 5, 5)); - control_panel.add(sub_panel1); - control_panel.add(console_); - - setLayout(new BorderLayout()); - - stop_button_ = button_panel_.add(STOP); - start_button_ = button_panel_.add(START); - clear_button_ = button_panel_.add(CLEAR); - random_button_ = button_panel_.add(RANDOM); - - stop_button_.disable(); - add("Center", control_panel); - add("South", button_panel_); - - getFilters(); - getImages(); - } - - synchronized public void run() - { - Image image; - String image_name, filter_name; - int image_height, image_width; - String[] image_list = images_.getSelectedItems(); - String[] filter_list = filters_.getSelectedItems(); - ImageProducer image_source; - FilteredImageSource filtered_image; - // BenchmarkFrame bframe = BenchmarkFrame.instance(); - - double cumulative_time; - double best_time; - - SpatialFilter.setTimer(INTERNAL_ITERATIONS); - console_.appendText(NEW_LINE); - console_.appendText("Benchmark tests: [mem=" + - Runtime.getRuntime().freeMemory() +"/" + - Runtime.getRuntime().totalMemory() +"]" - + NEW_LINE); - - for (int i = 0; i < image_list.length; i++) - { - - image_name = image_list[i]; - image = (Image)image_table_.get(image_name); - - image_width = image.getWidth(this); - image_height = image.getHeight(this); - - console_.appendText("Begining tests for image " + image_name); - console_.appendText(" (size " + image_width + "x" + image_height + - " = " + image_height*image_width*4 + " bytes )"); - console_.appendText(NEW_LINE); - - console_.appendText(NEW_LINE + " ********** " + NEW_LINE); - // bframe.init("Begining tests for image " + image_name, image, image_width, image_height); - - // if (! bframe.isShowing()) - // bframe.show(); - - for (int j = 0; j < filter_list.length; j++) - { - filter_name = filter_list[j]; - filter_ = (SpatialFilter)filter_table_.get(filter_name); - - if (filter_ == null) - System.err.println(filter_name + " is null"); - - best_time = Double.MAX_VALUE; - cumulative_time = 0; - image_source = image.getSource(); - filtered_image = new FilteredImageSource(image.getSource(), filter_); - - for (int l = 0; l < TRIALS; l++) - { - elapsed_time_ = 0; - prepareImage(createImage(filtered_image), this); - - try - { - // synchronized(monitor_) - // { - while (elapsed_time_ == 0) - { - System.out.println("Waiting for image loading to complete."); - // monitor_.wait(); - wait(); - } - - System.out.println("Image loading has completed."); - // } - } - catch(Exception excp) - { - System.out.println(excp); - stop(); - } - - cumulative_time = (double)elapsed_time_ / (double)INTERNAL_ITERATIONS; - System.out.println(image_name + " " + filter_name + " " + elapsed_time_); - - if (best_time > cumulative_time) - best_time = cumulative_time; - } - - console_.appendText(filter_name + ": best time from " + - TRIALS + " trials of " + INTERNAL_ITERATIONS + - " iterations equals: " + best_time + " ms"); - console_.appendText(NEW_LINE); - Thread.yield(); - } - - console_.appendText(NEW_LINE); - } - - console_.appendText("Tests concluded." + NEW_LINE); - - // if (bframe.isShowing()) - // bframe.hide(); - - stop_button_.disable(); - start_button_.enable(); - } - - synchronized public boolean imageUpdate(Image img, int infoflags, int x, int y, - int width, int height) - { - System.out.println("Image Update called"); - - boolean return_value = false; - try - { - if ((infoflags & ALLBITS) != 0 || - (infoflags & SOMEBITS) != 0) - { - System.out.println("notify called" + width + " " + height); - elapsed_time_ = filter_.filterTime(); - return_value = true; - // monitor_.notify(); - notifyAll(); - } - else if ((infoflags & ImageObserver.ABORT) != 0 || - (infoflags & ERROR) != 0) - { - System.out.println("image error!"); - // stop(); - return_value = true; - } - } - catch(SecurityException excp) - { - System.err.println(excp); - } - - return return_value; - } - - public void stop() - { - try - { - if (benchmarker_.isAlive()) - { - BenchmarkFrame bframe = BenchmarkFrame.instance(); - - if (bframe.isShowing()) - bframe.hide(); - - System.out.println("Stopping tests..."); - benchmarker_.stop(); - console_.appendText(NEW_LINE + ABORT + NEW_LINE); - } - - start_button_.enable(); - stop_button_.disable(); - } - catch(SecurityException exception) - { - console_.appendText(NEW_LINE + "Stop Failed." + NEW_LINE); - } - } - - public boolean action(Event evt, Object what) - { - if (what.equals(START)) - { - boolean proceed = ! (benchmarker_ != null && benchmarker_.isAlive()); - - stop_button_.enable(); - - if (proceed && - images_.getSelectedIndexes() != null && - filters_.getSelectedIndexes() != null) - { - System.out.println("Starting tests..."); - start_button_.disable(); - benchmarker_ = new Thread(this); - benchmarker_.setPriority(Math.min(Thread.currentThread().getPriority() + 2, - Thread.MAX_PRIORITY - 1)); - benchmarker_.start(); - } - } - else if (what.equals(STOP)) - { - stop(); - } - else if (what.equals(CLEAR)) - { - console_.setText(""); - console_.appendText(WELCOME + NEW_LINE); - console_.appendText(COPYRIGHT + NEW_LINE); - } - else if (what.equals(RANDOM)) - { - RandomImageDialog.instance(this).show(); - } - else if (evt.target == new_image_) - { - getSingleImage(new_image_.getText()); - } - - - return true; - } - - private void getSingleImage(String image_url) - { - Image image; - MediaTracker tracker = new MediaTracker(this); - - try - { - image = getImage(new URL(image_url)); - tracker.addImage(image, 0); - tracker.waitForID(0); - - if (image != null) - { - int index = image_url.lastIndexOf('/'); - - if (index != -1) - image_url = image_url.substring(index + 1); - - image_table_.put(image_url, image); - images_.addItem(image_url); - } - } - catch(MalformedURLException e) - { - System.err.println(e); - } - catch(InterruptedException excp) - { - System.err.println(excp); - } - - } - - private void getImages() - { - Image image; - String image_list = getParameter("images"), image_url; - StringTokenizer str_tok = new StringTokenizer(image_list, ","); - - while (str_tok.hasMoreTokens()) - { - image_url = str_tok.nextToken(); - getSingleImage(image_url); - } - } - - private void getFilters() - { - URL url; - Object download; - String config_file; - String configInfo= null; - Choice choice = new Choice (); - ImageFilter filter; - - config_file = getParameter ("configFile"); - - if (config_file == null) - config_file = "http://www.cs.wustl.edu/~pjain/java/ACE_wrappers/java/ImageProcessing/framework/filter.conf"; - - try - { - System.out.println ("Configuration File: " + config_file); - // Create a new URL - url = new URL (config_file); - - // Get the input stream and pipe it to a DataInputStream - DataInputStream iStream = new DataInputStream (url.openStream ()); - - // Create a buffer to hold all the data we get - StringBuffer tempBuf = new StringBuffer (); - // Keep reading the data until we are done - String tempString = iStream.readLine (); - while (tempString != null) - { - tempBuf.append (tempString); - tempBuf.append (" "); - tempString = iStream.readLine (); - } - - configInfo = tempBuf.toString (); - System.out.println(configInfo); - - if (configInfo != null) - { - StringTokenizer tokens = new StringTokenizer (configInfo); - String fullFilterName = null; - String filterName = null; - // Now parse the string, picking up filter names. Use these - // names to load the actual filters as well add new choices to - // the filter choices. - while (tokens.hasMoreTokens ()) - { - // Get the next token - fullFilterName = tokens.nextToken (); - filterName = this.extractFilterName (fullFilterName); - - System.out.println ("Loading: " + fullFilterName); - // Load the filter class - Class c = Class.forName (fullFilterName); - // Class c = this.filterRepository_.load (filter); - - filter = (ImageFilter)c.newInstance(); - - if (filter instanceof SpatialFilter) - { - // Add the filter to the Filter Repository - filter_table_.put(filterName, filter); - - // Add filter name to the list of filter choices - filters_.addItem (filterName); - } - } - } - } - catch (Exception e) - { - System.err.println ("Filter not found: " + e); - } - } - - private String extractFilterName (String s) - { - String filterName = null; - StringTokenizer tokens = new StringTokenizer (s, "."); - while (tokens.hasMoreTokens ()) - filterName = tokens.nextToken (); - return filterName; - } - - public void generateRandomImage(String name, int width, int height) - { - Image image = createImage(width, height); - Graphics g = image.getGraphics(); - FilteredImageSource filtered_image; - - if (g != null) - { - ImageFilter filter = new RandomizeFilter(); - g.fillRect(0, 0, width, height); - filtered_image = new FilteredImageSource(image.getSource(), filter); - image_table_.put(name, createImage(filtered_image)); - images_.addItem(name); - } - } -} - -class RandomImageDialog extends Frame -{ - private static String GENERATE = "Generate"; - private static String CANCEL = "Cancel"; - - private TextField name_ = new TextField(30), - width_ = new TextField(5), - height_= new TextField(5); - private BenchmarkApplet applet_; - private Button generate_button_; - private Button cancel_button_; - private ButtonPanel button_panel_ = new ButtonPanel(); - - private static RandomImageDialog instance_; - - public static RandomImageDialog instance(BenchmarkApplet applet) - { - if (instance_ == null) - instance_ = new RandomImageDialog(applet); - - return instance_; - } - - protected RandomImageDialog(BenchmarkApplet applet) - { - super("Generate Random Image"); - applet_ = applet; - - Panel controls = new Panel(); - GridBagLayout gb = new GridBagLayout(); - GridBagConstraints gc = new GridBagConstraints(); - Label width = new Label("Width: "), - height = new Label("Height: "), - name = new Label("Name: "); - - reshape (0, 0, 300, 200); - - controls.setLayout(gb); - gc.gridx = 0; - gc.gridy = 0; - gc.gridwidth = 1; - gc.insets = new Insets(5,5,5,5); - gc.anchor = GridBagConstraints.WEST; - width.setFont(BenchmarkApplet.GLOBAL_FONT); - gb.setConstraints(width, gc); - controls.add(width); - - gc.gridx = 1; - gc.anchor = GridBagConstraints.CENTER; - gc.fill = GridBagConstraints.HORIZONTAL; - gb.setConstraints(width_, gc); - controls.add(width_); - - gc.gridx = 2; - gc.anchor = GridBagConstraints.WEST; - gc.fill = GridBagConstraints.NONE; - height.setFont(BenchmarkApplet.GLOBAL_FONT); - gb.setConstraints(height, gc); - controls.add(height); - - gc.gridx = 3; - gc.anchor = GridBagConstraints.CENTER; - gc.fill = GridBagConstraints.HORIZONTAL; - gb.setConstraints(height_, gc); - controls.add(height_); - - gc.gridx = 0; - gc.gridy = 1; - gc.gridwidth = 1; - gc.fill = GridBagConstraints.NONE; - gc.anchor = GridBagConstraints.WEST; - name.setFont(BenchmarkApplet.GLOBAL_FONT); - gb.setConstraints(name, gc); - controls.add(name); - - gc.gridx = 1; - gc.gridwidth = GridBagConstraints.REMAINDER; - gc.anchor = GridBagConstraints.CENTER; - gc.fill = GridBagConstraints.HORIZONTAL; - gb.setConstraints(name_, gc); - controls.add(name_); - - setLayout(new BorderLayout()); - generate_button_ = button_panel_.add(GENERATE); - cancel_button_ = button_panel_.add(CANCEL); - add("Center", controls); - add("South", button_panel_); - - } - - public boolean action(Event evt, Object what) - { - if (what.equals(GENERATE)) - { - String width = width_.getText(), - height = height_.getText(), - name = name_.getText(); - - try - { - int width_num = Integer.parseInt(width), - height_num = Integer.parseInt(height); - - applet_.generateRandomImage(name, width_num, height_num); - dispose(); - } - catch(NumberFormatException nfe) - { - width_.setText(""); - height_.setText(""); - } - } - else if (what.equals(CANCEL)) - dispose(); - - return true; - } -} - -class BenchmarkFrame extends Frame -{ - private String desc_; - private Image image_; - private int height_, width_; - private static BenchmarkFrame instance_; - private static final Font FONT = new Font("Dialog", Font.BOLD, 12); - - public static BenchmarkFrame instance() - { - if (instance_ == null) - instance_ = new BenchmarkFrame(); - - return instance_; - } - - public void init(String desc, Image image, int width, int height) - { - reshape(0, 0, width, height + 50); - setImage(desc, image); - } - - public void setImage(String desc, Image image) - {/* - try - { - MediaTracker tracker = new MediaTracker(this); - tracker.addImage(image, 0); - tracker.waitForID(0); - } - catch(InterruptedException excp) - { - } - */ - desc_ = desc; - image_ = image; - } - - public void paint(Graphics g) - { - g.setColor(Color.black); - g.setFont(FONT); - g.drawImage(image_, 0, 50, this); - g.drawString(desc_, 5, 40); - } - - protected BenchmarkFrame() - { - super("Benchmark Frame"); - } -} diff --git a/java/ImageProcessing/framework/DialogManager.java b/java/ImageProcessing/framework/DialogManager.java deleted file mode 100644 index cca0c037af1..00000000000 --- a/java/ImageProcessing/framework/DialogManager.java +++ /dev/null @@ -1,277 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import java.applet.*; -import java.util.*; -import java.io.*; -import java.net.*; - -class DialogManager -{ - public static void initialize (Applet parent) - { - codeBase_ = parent.getCodeBase ().toString (); - aboutFrame_ = new AboutFrame (); - helpFrame_ = new HelpFrame (codeBase_); - } - - public static void popDialog (int type, String message) - { - Frame frame = null; - - switch (type) - { - case DialogType.ABOUT: - aboutFrame_.show (); - break; - case DialogType.HELP: - helpFrame_.show (); - break; - case DialogType.MALFORMED_URL: - case DialogType.NOT_SUPPORTED: - case DialogType.URL_NOT_FOUND: - frame = new MessageFrame ("Error", message); - break; - case DialogType.NOT_YET_IMPLEMENTED: - frame = new MessageFrame ("", message); - break; - } - Dimension d = Toolkit.getDefaultToolkit ().getScreenSize (); - frame.move ((d.width - frame.size ().width)/2, - (d.height - frame.size ().height)/2); - frame.show (); - } - - private static String codeBase_ = ""; - private static AboutFrame aboutFrame_; - private static HelpFrame helpFrame_; -} - -class MessageFrame extends Frame -{ - public MessageFrame (String title, String message) - { - super (title); - - this.resize (message.length () * 8, 100); - this.setLayout (new BorderLayout ()); - - this.text_ = new TextField (message); - this.text_.setEditable (false); - - Panel okButtonPanel = new Panel (); - okButtonPanel.add (this.okButton_); - okButtonPanel.resize (100, 100); - - this.add ("Center", this.text_); - this.add ("South", okButtonPanel); - } - - public boolean handleEvent (Event evt) - { - if (evt.id == Event.WINDOW_DESTROY) - { - this.dispose (); - return true; - } - return super.handleEvent (evt); - } - - // Handle all action events - public boolean action (Event e, Object arg) - { - if (e.target instanceof Button) - { - if (e.target == this.okButton_) - { - this.dispose (); - } - return true; - } - else - return false; - } - - private Button okButton_ = new Button (" ok "); - private TextField text_ = null; -} - -class AboutFrame extends Frame -{ - public AboutFrame () - { - super ("About"); - this.resize (300,300); - this.setLayout (new BorderLayout ()); - - Panel okButtonPanel = new Panel (); - okButtonPanel.add (this.okButton_); - AboutFrameTextPanel textPanel = new AboutFrameTextPanel (); - - this.add ("Center", textPanel); - this.add ("South", okButtonPanel); - } - - // Handle window destroy events - public boolean handleEvent (Event evt) - { - if (evt.id == Event.WINDOW_DESTROY) - { - this.hide (); - return true; - } - return super.handleEvent (evt); - } - - // Handle all action events - public boolean action (Event e, Object arg) - { - if (e.target instanceof Button) - { - if (e.target == this.okButton_) - { - this.hide (); - } - return true; - } - else - return false; - } - private Button okButton_ = new Button (" ok "); -} - -class AboutFrameTextPanel extends Panel -{ - public void paint (Graphics g) - { - int width = this.size ().width; - int height = this.size ().height; - - g.clearRect (0, 0, width, height); - this.setBackground (Color.cyan); - - // First draw the title - g.setFont (new Font ("TimesRoman", Font.BOLD | Font.ITALIC, 48)); - FontMetrics fontMetrics = g.getFontMetrics (); - int x = (width - fontMetrics.stringWidth (title_))/2; - int y = 100; - - Color color = g.getColor (); - g.setColor (Color.orange); - g.drawString(title_, x+2, y+2); - g.setColor (color); - g.drawString(title_, x, y); - - // Then draw author's name - g.setFont (new Font ("TimesRoman", Font.ITALIC, 24)); - fontMetrics = g.getFontMetrics (); - x = (width - fontMetrics.stringWidth (by_))/2; - y += 50; - g.drawString(by_, x, y); - - x = (width - fontMetrics.stringWidth (author_))/2; - y += 50; - g.drawString(author_, x, y); - - // Finally draw other information -- version number etc. - g.setFont (new Font ("TimesRoman", Font.ITALIC, 18)); - fontMetrics = g.getFontMetrics (); - x = (width - fontMetrics.stringWidth (info_))/2; - y += 50; - g.drawString(info_, x, y); - } - - private String title_ = "MedJava"; - private String by_ = "by"; - private String author_ = "Prashant Jain"; - private String info_ = "Version 1.0"; -} - -class HelpFrame extends Frame -{ - public HelpFrame (String codeBase) - { - super ("Help"); - this.setBackground (Color.white); - this.text_.setEditable (false); - Font defaultFont = new Font ("TimesRoman", Font.PLAIN, 14); - this.text_.setFont (defaultFont); - - try - { - URL url = new URL (codeBase + "../ImageProcessing/framework/help.conf"); - String delim = "\n"; - - // Get the input stream and pipe it to a DataInputStream - DataInputStream iStream = new DataInputStream (url.openStream ()); - - // Keep reading the data until we are done - String tempString = iStream.readLine (); - while (tempString != null) - { - if (tempString.startsWith ("")) - delim = ""; - else if (tempString.startsWith ("")) - delim = "\n"; - else if (tempString.startsWith ("")) - this.text_.appendText ("\t"); - else if (tempString.startsWith ("

    ")) - this.text_.appendText ("\n"); - else - { - this.text_.appendText (tempString); - this.text_.appendText (delim); - } - tempString = iStream.readLine (); - } - } - catch (MalformedURLException e) - { - System.err.println (e); - } - catch (IOException e) - { - System.err.println (e); - } - - this.resize (600,700); - this.setLayout (new BorderLayout ()); - - Panel okButtonPanel = new Panel (); - okButtonPanel.add (this.okButton_); - this.add ("South", okButtonPanel); - this.add ("Center", this.text_); - } - - // Handle window destroy events - public boolean handleEvent (Event evt) - { - if (evt.id == Event.WINDOW_DESTROY) - { - this.hide (); - return true; - } - return super.handleEvent (evt); - } - - // Handle all action events - public boolean action (Event e, Object arg) - { - if (e.target instanceof Button) - { - if (e.target == this.okButton_) - { - this.hide (); - } - return true; - } - else - return false; - } - - private Vector helpInfo_ = new Vector (); - private Button okButton_ = new Button (" ok "); - private TextArea text_ = new TextArea (); -} - diff --git a/java/ImageProcessing/framework/DialogType.java b/java/ImageProcessing/framework/DialogType.java deleted file mode 100644 index c95372c08e1..00000000000 --- a/java/ImageProcessing/framework/DialogType.java +++ /dev/null @@ -1,11 +0,0 @@ -package imaging.framework; - -public class DialogType -{ - public static final int ABOUT = 0; - public static final int MALFORMED_URL = 1; - public static final int URL_NOT_FOUND = 2; - public static final int NOT_SUPPORTED = 3; - public static final int HELP = 4; - public static final int NOT_YET_IMPLEMENTED = 10; -} diff --git a/java/ImageProcessing/framework/FileBrowser.java b/java/ImageProcessing/framework/FileBrowser.java deleted file mode 100644 index 27245b1f2f4..00000000000 --- a/java/ImageProcessing/framework/FileBrowser.java +++ /dev/null @@ -1,173 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import java.net.*; -import java.applet.*; -import gjt.Separator; -import gjt.ComponentScroller; - -class FileNode extends HierarchyAdapter -{ - public FileNode (String name, - Icon icon, - boolean root, - ImageApp app) - { - super (name, icon, root); - this.app_ = app; - } - - public FileNode (String name, - Icon icon, - ListFiles list, - ImageApp app) - { - super (name, icon); - this.list_ = list; - this.app_ = app; - } - - public ImageApp app () - { - return this.app_; - } - - public void handleEvent () - { - String s = null; - String pString = ""; - Hierarchy p = this.getHierarchyParent (); - - while (p != null) - { - pString = p.getName () + pString; - p = p.getHierarchyParent (); - } - - if (pString.endsWith ("/")) - s = "http://" + pString + this.getName (); - else - s = "http://" + pString + "/" + this.getName (); - - System.out.println ("Opening: " + s); - - // If list is null, then it is a file, else it is a directory and - // use list to get the rest of the directory. - if (this.list_ == null) - this.app_.openURL (s); // It is a file - else - this.list_.listFiles (s, this); // It is a directory. - } - - private ListFiles list_ = null; - private ImageApp app_ = null; -} - -class BrowserPanel extends Panel -{ - public BrowserPanel (ImageApp parent) - { - this.resize (300, 300); - this.parent_ = parent; - this.setLayout (new BorderLayout ()); - } - - public int initialize (String url, ListFiles list) - { - String directory = null; - int index = -1; - - String pString = list.stripProtocolHeader (url); - if (!pString.endsWith ("/")) - pString = pString + "/"; - - try - { - Icon dirIcon = new Icon (this.parent_.getCodeBase () + - "../ImageProcessing/framework/" + - "file03.gif", (Applet) this.parent_); - System.out.println (this.parent_.getCodeBase () + - "../ImageProcessing/framework/" + - "file03.gif"); - this.root_ = new FileNode (pString, - dirIcon, true, this.parent_); - } - catch (MalformedURLException e) - { - } - - int count = list.listFiles (url, this.root_); - // System.out.println ("Count: " + count); - if (count > 0) - { - // Add the root to the component scroller and then add the - // component scroller to the panel. - this.scroller_ = new ComponentScroller (this.root_); - this.add ("Center", this.scroller_); - } - return count; - } - - private FileNode root_ = null; - private ImageApp parent_; - private ComponentScroller scroller_; -} - -class FileBrowser extends Frame -{ - public FileBrowser (String title, ImageApp parent) - { - super (title); - this.resize (300, 300); - this.browser_ = new BrowserPanel (parent); - this.setLayout (new BorderLayout ()); - - this.cancelButton_ = new Button (" cancel "); - Panel buttonPanel = new Panel (); - buttonPanel.add (this.cancelButton_); - buttonPanel.resize (100, 100); - - Panel southPanel = new Panel (); - southPanel.setLayout (new BorderLayout ()); - southPanel.add ("North", new Separator ()); - southPanel.add ("South", buttonPanel); - this.add ("South", southPanel); - this.add ("Center", this.browser_); - } - - public int initialize (String url, ListFiles list) - { - return this.browser_.initialize (url, list); - } - - // Handle window destroy events - public boolean handleEvent (Event evt) - { - if (evt.id == Event.WINDOW_DESTROY) - { - this.dispose (); - return true; - } - return super.handleEvent (evt); - } - - // Handle all action events - public boolean action (Event e, Object arg) - { - if (e.target instanceof Button) - { - if (e.target == this.cancelButton_) - { - this.dispose (); - } - validate (); - return true; - } - else - return false; - } - - private Button cancelButton_;; - private BrowserPanel browser_; -} diff --git a/java/ImageProcessing/framework/FilePanel.java b/java/ImageProcessing/framework/FilePanel.java deleted file mode 100644 index f8ffc7dbca8..00000000000 --- a/java/ImageProcessing/framework/FilePanel.java +++ /dev/null @@ -1,161 +0,0 @@ -package imaging.framework; - -import java.awt.*; - -// Create a panel for all the buttons -class FilePanel extends Panel -{ - FilePanel (ImageApp parent) - { - this.parent_ = parent; - - this.setLayout (new GridLayout (2, 1)); - - // First create all the buttons - this.URLDialogButton_ = new URLDialogButton ("Open URL", "Download an image", this.parent_); - this.saveButton_ = new SaveButton ("Save", "Upload an image", this.parent_); - - // Place the created buttons in the panel - this.add (this.URLDialogButton_); - this.add (this.saveButton_); - - // Disable the save button for now - this.disableSaveButton (); - this.resize (400, 400); - } - - public void enableSaveButton () - { - this.saveButton_.enable (); - } - - public void disableSaveButton () - { - this.saveButton_.disable (); - } - - // All the created buttons - private URLDialogButton URLDialogButton_; - private SaveButton saveButton_; - - private ImageApp parent_; -} - -// Create a panel for all the buttons -class ResetPanel extends Panel -{ - ResetPanel (ImageApp parent) - { - this.parent_ = parent; - - this.setLayout (new GridLayout (2, 1)); - - // First create all the buttons - this.reloadButton_ = new ReloadButton ("Reload Filters", "Reload all filters", this.parent_); - - // ********************** - // Disable this until it works - // ********************** - this.reloadButton_.disable(); - - - this.resetButton_ = new ResetButton ("Reset", "Reset the image", this.parent_); - - - // Place the created buttons in the panel - this.add (this.resetButton_); - this.add (this.reloadButton_); - - this.resize (400, 400); - } - - // All the created buttons - private ReloadButton reloadButton_; - private ResetButton resetButton_; - - private ImageApp parent_; -} - - -class ZoomPanel extends Panel -{ - ZoomPanel (ImageApp parent) - { - this.parent_ = parent; - - this.setLayout (new GridLayout (2, 1)); - - // First create the two zoom buttons - this.zoomInButton_ = new ZoomInButton ("<< Zoom in", "Zoom into the image", this.parent_); - this.zoomOutButton_ = new ZoomOutButton ("Zoom out >>", "Zoom out of the image", this.parent_); - - // Now add the buttons to the panel - this.add (this.zoomInButton_); - this.add (this.zoomOutButton_); - - this.resize (100, 100); - } - - private ZoomInButton zoomInButton_; - private ZoomOutButton zoomOutButton_; - - private ImageApp parent_; -} - - -class FilterPanel extends Panel -{ - FilterPanel (ImageApp parent) - { - this.parent_ = parent; - - this.setLayout (new GridLayout (2, 1)); - this.applyButton_ = new ApplyButton ("Apply", "Apply the selected filter", this.parent_); - - // Set the layout of the Choice Panel. Note that the Choice Panel - // holds the choice button of filters. - this.choicePanel_ = new ChoicePanel ("Select filter", this.parent_); - - this.add (this.applyButton_); - this.add (this.choicePanel_); - this.resize (200,200); - } - - public Choice choice () - { - return this.choicePanel_.choice (); - } - - public void loadFilters () - { - this.choicePanel_.loadFilters (); - } - - private ChoicePanel choicePanel_; - private ApplyButton applyButton_; - private ImageApp parent_; -} - -class HelpPanel extends Panel -{ - HelpPanel (ImageApp parent) - { - this.parent_ = parent; - - this.setLayout (new GridLayout (2, 1)); - - this.aboutButton_ = new AboutButton ("About", "About the applet", this.parent_); - this.helpButton_ = new HelpButton ("Help", "Help on how to use the applet", this.parent_); - - // Now add the buttons to the panel - this.add (this.aboutButton_); - this.add (this.helpButton_); - - this.resize (100, 100); - } - - private AboutButton aboutButton_; - private HelpButton helpButton_; - - private ImageApp parent_; -} diff --git a/java/ImageProcessing/framework/FilterTest.java b/java/ImageProcessing/framework/FilterTest.java deleted file mode 100644 index b1e33482be9..00000000000 --- a/java/ImageProcessing/framework/FilterTest.java +++ /dev/null @@ -1,62 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import imaging.filters.Timer; - -public class FilterTest -{ - public static void main(String[] args) - { - Timer timer = new Timer(); - ImageProcessor ip = new ImageProcessor(); - ImageFilterFactory iff = new ImageFilterFactory(); - Frame frame = new Frame("Rotate Example"); - Toolkit tk = Toolkit.getDefaultToolkit(); - Dimension d = tk.getScreenSize(); - Image old_image = tk.getImage("myphoto.gif"), image; - int image_x, image_y, x = 50, y = 50; - Graphics g; - - frame.reshape(d.width/4, d.height/8, d.width/2, 3*d.height/4); - frame.show(); - g = frame.getGraphics(); - d = frame.size(); - - MediaTracker tracker = new MediaTracker(frame); - tracker.addImage(old_image, 0); - try { tracker.waitForID(0); } catch(InterruptedException excp) {} - g.drawImage(old_image, x, y, frame); - x += old_image.getWidth(frame) + 50; - - timer.start(); - image = ip.processImage(old_image, iff.createMeanImageFilter(), frame); - timer.stop(); - System.out.println(timer); - g.drawImage(image, x, y, frame); - x += old_image.getWidth(frame) + 50; - - timer.start(); - image = ip.processImage(old_image, iff.createSobelFilter(), frame); - timer.stop(); - System.out.println(timer); - g.drawImage(image, x, y, frame); - x = 50; - y += old_image.getHeight(frame) + 50; - - timer.start(); - image = ip.processImage(old_image, iff.createEmbossFilter(), frame); - timer.stop(); - System.out.println(timer); - g.drawImage(image, x, y, frame); - x += old_image.getWidth(frame) + 50; - - image = ip.processImage(old_image, iff.createSharpenFilter(), frame); - g.drawImage(image, x, y, frame); - x = 50; - y += old_image.getHeight(frame) + 50; - - image = ip.processImage(old_image, iff.createRotateImageFilter(), frame); - g.drawImage(image, x, y, frame); - } -} diff --git a/java/ImageProcessing/framework/GIFHandler.java b/java/ImageProcessing/framework/GIFHandler.java deleted file mode 100644 index 3d099ba294c..00000000000 --- a/java/ImageProcessing/framework/GIFHandler.java +++ /dev/null @@ -1,75 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.io.*; -import JACE.OS.*; -import JACE.Connection.*; - - -public class GIFHandler extends BlobWriter -{ - public GIFHandler (String filename, Image image, int length) - { - super (null, length, 0, filename); - this.image_ = image; - } - - /****************************** - * Used for HTTP 1.1 PUT authorization - *****************************/ - public GIFHandler (String filename, Image image, int length, String authentication) - { - super (null, length, 0, filename, authentication); - this.image_ = image; - } - - protected int sendRequest () - { - if (this.sendHeader () == -1) - { - ACE.ERROR ("GIFHandler::sendHeader failed."); - return -1; - } - else - if (this.sendData () == -1) - { - ACE.ERROR ("GIFHandler::sendData failed."); - return -1; - } - return 0; - } - - // Send the data - protected int sendData () - { - - - try - { - if (this.length_ > 0) - { - OutputStream ostream = this.peer ().outputStream (); - - this.encoder_ = new GifEncoder (this.image_, ostream); - - this.encoder_.encode (); - - ostream.flush(); - - // this.encoder_ = new GIFEncoder (this.image_); - // this.encoder_.Write (ostream); - } - this.bytesWritten_ = this.length_; - - } - catch (IOException e) - { - ACE.ERROR ("Error writing to server"); - } - return 0; - } - - GifEncoder encoder_ = null; - // GIFEncoder encoder_ = null; - Image image_ = null; -} diff --git a/java/ImageProcessing/framework/GifEncoder.java b/java/ImageProcessing/framework/GifEncoder.java deleted file mode 100644 index 91a3927d95d..00000000000 --- a/java/ImageProcessing/framework/GifEncoder.java +++ /dev/null @@ -1,693 +0,0 @@ -// GifEncoder - write out an image as a GIF -// -// Transparency handling and variable bit size courtesy of Jack Palevich. -// -// Copyright (C) 1996 by Jef Poskanzer . All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -// SUCH DAMAGE. -// -// Visit the ACME Labs Java page for up-to-date versions of this and other -// fine Java utilities: http://www.acme.com/java/ - -package imaging.framework; - -import java.util.*; -import java.io.*; -import java.awt.Image; -import java.awt.image.*; - -/// Write out an image as a GIF. -//

    -// Fetch the software.
    -// Fetch the entire Acme package. -//

    -// @see ToGif - -public class GifEncoder extends ImageEncoder - { - - private boolean interlace = false; - - /// Constructor from Image. - // @param img The image to encode. - // @param out The stream to write the GIF to. - public GifEncoder( Image img, OutputStream out ) throws IOException - { - super( img, out ); - } - - /// Constructor from Image with interlace setting. - // @param img The image to encode. - // @param out The stream to write the GIF to. - // @param interlace Whether to interlace. - public GifEncoder( Image img, OutputStream out, boolean interlace ) throws IOException - { - super( img, out ); - this.interlace = interlace; - } - - /// Constructor from ImageProducer. - // @param prod The ImageProducer to encode. - // @param out The stream to write the GIF to. - public GifEncoder( ImageProducer prod, OutputStream out ) throws IOException - { - super( prod, out ); - } - - /// Constructor from ImageProducer with interlace setting. - // @param prod The ImageProducer to encode. - // @param out The stream to write the GIF to. - public GifEncoder( ImageProducer prod, OutputStream out, boolean interlace ) throws IOException - { - super( prod, out ); - this.interlace = interlace; - } - - - int width, height; - int[][] rgbPixels; - - void encodeStart( int width, int height ) throws IOException - { - this.width = width; - this.height = height; - rgbPixels = new int[height][width]; - } - - void encodePixels( - int x, int y, int w, int h, int[] rgbPixels, int off, int scansize ) - throws IOException - { - // Save the pixels. - for ( int row = 0; row < h; ++row ) - System.arraycopy( - rgbPixels, row * scansize + off, - this.rgbPixels[y + row], x, w ); - - } - - IntHashtable colorHash; - - void encodeDone() throws IOException - { - int transparentIndex = -1; - int transparentRgb = -1; - // Put all the pixels into a hash table. - colorHash = new IntHashtable(); - int index = 0; - for ( int row = 0; row < height; ++row ) - { - int rowOffset = row * width; - for ( int col = 0; col < width; ++col ) - { - int rgb = rgbPixels[row][col]; - boolean isTransparent = ( ( rgb >>> 24 ) < 0x80 ); - if ( isTransparent ) - { - if ( transparentIndex < 0 ) - { - // First transparent color; remember it. - transparentIndex = index; - transparentRgb = rgb; - } - else if ( rgb != transparentRgb ) - { - // A second transparent color; replace it with - // the first one. - rgbPixels[row][col] = rgb = transparentRgb; - } - } - GifEncoderHashitem item = - (GifEncoderHashitem) colorHash.get( rgb ); - if ( item == null ) - { - if ( index >= 256 ) - throw new IOException( "too many colors for a GIF" ); - item = new GifEncoderHashitem( - rgb, 1, index, isTransparent ); - ++index; - colorHash.put( rgb, item ); - } - else - ++item.count; - } - } - - // Figure out how many bits to use. - int logColors; - if ( index <= 2 ) - logColors = 1; - else if ( index <= 4 ) - logColors = 2; - else if ( index <= 16 ) - logColors = 4; - else - logColors = 8; - - // Turn colors into colormap entries. - int mapSize = 1 << logColors; - byte[] reds = new byte[mapSize]; - byte[] grns = new byte[mapSize]; - byte[] blus = new byte[mapSize]; - for ( Enumeration e = colorHash.elements(); e.hasMoreElements(); ) - { - GifEncoderHashitem item = (GifEncoderHashitem) e.nextElement(); - reds[item.index] = (byte) ( ( item.rgb >> 16 ) & 0xff ); - grns[item.index] = (byte) ( ( item.rgb >> 8 ) & 0xff ); - blus[item.index] = (byte) ( item.rgb & 0xff ); - } - - GIFEncode( - out, width, height, interlace, (byte) 0, transparentIndex, - logColors, reds, grns, blus ); - } - - byte GetPixel( int x, int y ) throws IOException - { - GifEncoderHashitem item = - (GifEncoderHashitem) colorHash.get( rgbPixels[y][x] ); - if ( item == null ) - throw new IOException( "color not found" ); - return (byte) item.index; - } - - static void writeString( OutputStream out, String str ) throws IOException - { - int len = str.length(); - byte[] buf = new byte[len]; - str.getBytes( 0, len, buf, 0 ); - out.write( buf ); - } - - // Adapted from ppmtogif, which is based on GIFENCOD by David - // Rowley . Lempel-Zim compression - // based on "compress". - - int Width, Height; - boolean Interlace; - int curx, cury; - int CountDown; - int Pass = 0; - - void GIFEncode( - OutputStream outs, int Width, int Height, boolean Interlace, byte Background, int Transparent, int BitsPerPixel, byte[] Red, byte[] Green, byte[] Blue ) - throws IOException - { - byte B; - int LeftOfs, TopOfs; - int ColorMapSize; - int InitCodeSize; - int i; - - this.Width = Width; - this.Height = Height; - this.Interlace = Interlace; - ColorMapSize = 1 << BitsPerPixel; - LeftOfs = TopOfs = 0; - - // Calculate number of bits we are expecting - CountDown = Width * Height; - - // Indicate which pass we are on (if interlace) - Pass = 0; - - // The initial code size - if ( BitsPerPixel <= 1 ) - InitCodeSize = 2; - else - InitCodeSize = BitsPerPixel; - - // Set up the current x and y position - curx = 0; - cury = 0; - - // Write the Magic header - writeString( outs, "GIF89a" ); - - // Write out the screen width and height - Putword( Width, outs ); - Putword( Height, outs ); - - // Indicate that there is a global colour map - B = (byte) 0x80; // Yes, there is a color map - // OR in the resolution - B |= (byte) ( ( 8 - 1 ) << 4 ); - // Not sorted - // OR in the Bits per Pixel - B |= (byte) ( ( BitsPerPixel - 1 ) ); - - // Write it out - Putbyte( B, outs ); - - // Write out the Background colour - Putbyte( Background, outs ); - - // Pixel aspect ratio - 1:1. - //Putbyte( (byte) 49, outs ); - // Java's GIF reader currently has a bug, if the aspect ratio byte is - // not zero it throws an ImageFormatException. It doesn't know that - // 49 means a 1:1 aspect ratio. Well, whatever, zero works with all - // the other decoders I've tried so it probably doesn't hurt. - Putbyte( (byte) 0, outs ); - - // Write out the Global Colour Map - for ( i = 0; i < ColorMapSize; ++i ) - { - Putbyte( Red[i], outs ); - Putbyte( Green[i], outs ); - Putbyte( Blue[i], outs ); - } - - // Write out extension for transparent colour index, if necessary. - if ( Transparent != -1 ) - { - Putbyte( (byte) '!', outs ); - Putbyte( (byte) 0xf9, outs ); - Putbyte( (byte) 4, outs ); - Putbyte( (byte) 1, outs ); - Putbyte( (byte) 0, outs ); - Putbyte( (byte) 0, outs ); - Putbyte( (byte) Transparent, outs ); - Putbyte( (byte) 0, outs ); - } - - // Write an Image separator - Putbyte( (byte) ',', outs ); - - // Write the Image header - Putword( LeftOfs, outs ); - Putword( TopOfs, outs ); - Putword( Width, outs ); - Putword( Height, outs ); - - // Write out whether or not the image is interlaced - if ( Interlace ) - Putbyte( (byte) 0x40, outs ); - else - Putbyte( (byte) 0x00, outs ); - - // Write out the initial code size - Putbyte( (byte) InitCodeSize, outs ); - - // Go and actually compress the data - compress( InitCodeSize+1, outs ); - - // Write out a Zero-length packet (to end the series) - Putbyte( (byte) 0, outs ); - - // Write the GIF file terminator - Putbyte( (byte) ';', outs ); - } - - // Bump the 'curx' and 'cury' to point to the next pixel - void BumpPixel() - { - // Bump the current X position - ++curx; - - // If we are at the end of a scan line, set curx back to the beginning - // If we are interlaced, bump the cury to the appropriate spot, - // otherwise, just increment it. - if ( curx == Width ) - { - curx = 0; - - if ( ! Interlace ) - ++cury; - else - { - switch( Pass ) - { - case 0: - cury += 8; - if ( cury >= Height ) - { - ++Pass; - cury = 4; - } - break; - - case 1: - cury += 8; - if ( cury >= Height ) - { - ++Pass; - cury = 2; - } - break; - - case 2: - cury += 4; - if ( cury >= Height ) - { - ++Pass; - cury = 1; - } - break; - - case 3: - cury += 2; - break; - } - } - } - } - - static final int EOF = -1; - - // Return the next pixel from the image - int GIFNextPixel() throws IOException - { - byte r; - - if ( CountDown == 0 ) - return EOF; - - --CountDown; - - r = GetPixel( curx, cury ); - - BumpPixel(); - - return r & 0xff; - } - - // Write out a word to the GIF file - void Putword( int w, OutputStream outs ) throws IOException - { - Putbyte( (byte) ( w & 0xff ), outs ); - Putbyte( (byte) ( ( w >> 8 ) & 0xff ), outs ); - } - - // Write out a byte to the GIF file - void Putbyte( byte b, OutputStream outs ) throws IOException - { - outs.write( b ); - } - - - // GIFCOMPR.C - GIF Image compression routines - // - // Lempel-Ziv compression based on 'compress'. GIF modifications by - // David Rowley (mgardi@watdcsu.waterloo.edu) - - // General DEFINEs - - static final int BITS = 12; - - static final int HSIZE = 5003; // 80% occupancy - - // GIF Image compression - modified 'compress' - // - // Based on: compress.c - File compression ala IEEE Computer, June 1984. - // - // By Authors: Spencer W. Thomas (decvax!harpo!utah-cs!utah-gr!thomas) - // Jim McKie (decvax!mcvax!jim) - // Steve Davies (decvax!vax135!petsd!peora!srd) - // Ken Turkowski (decvax!decwrl!turtlevax!ken) - // James A. Woods (decvax!ihnp4!ames!jaw) - // Joe Orost (decvax!vax135!petsd!joe) - - int n_bits; // number of bits/code - int maxbits = BITS; // user settable max # bits/code - int maxcode; // maximum code, given n_bits - int maxmaxcode = 1 << BITS; // should NEVER generate this code - - final int MAXCODE( int n_bits ) - { - return ( 1 << n_bits ) - 1; - } - - int[] htab = new int[HSIZE]; - int[] codetab = new int[HSIZE]; - - int hsize = HSIZE; // for dynamic table sizing - - int free_ent = 0; // first unused entry - - // block compression parameters -- after all codes are used up, - // and compression rate changes, start over. - boolean clear_flg = false; - - // Algorithm: use open addressing double hashing (no chaining) on the - // prefix code / next character combination. We do a variant of Knuth's - // algorithm D (vol. 3, sec. 6.4) along with G. Knott's relatively-prime - // secondary probe. Here, the modular division first probe is gives way - // to a faster exclusive-or manipulation. Also do block compression with - // an adaptive reset, whereby the code table is cleared when the compression - // ratio decreases, but after the table fills. The variable-length output - // codes are re-sized at this point, and a special CLEAR code is generated - // for the decompressor. Late addition: construct the table according to - // file size for noticeable speed improvement on small files. Please direct - // questions about this implementation to ames!jaw. - - int g_init_bits; - - int ClearCode; - int EOFCode; - - void compress( int init_bits, OutputStream outs ) throws IOException - { - int fcode; - int i /* = 0 */; - int c; - int ent; - int disp; - int hsize_reg; - int hshift; - - // Set up the globals: g_init_bits - initial number of bits - g_init_bits = init_bits; - - // Set up the necessary values - clear_flg = false; - n_bits = g_init_bits; - maxcode = MAXCODE( n_bits ); - - ClearCode = 1 << ( init_bits - 1 ); - EOFCode = ClearCode + 1; - free_ent = ClearCode + 2; - - char_init(); - - ent = GIFNextPixel(); - - hshift = 0; - for ( fcode = hsize; fcode < 65536; fcode *= 2 ) - ++hshift; - hshift = 8 - hshift; // set hash code range bound - - hsize_reg = hsize; - cl_hash( hsize_reg ); // clear hash table - - output( ClearCode, outs ); - - outer_loop: - while ( (c = GIFNextPixel()) != EOF ) - { - fcode = ( c << maxbits ) + ent; - i = ( c << hshift ) ^ ent; // xor hashing - - if ( htab[i] == fcode ) - { - ent = codetab[i]; - continue; - } - else if ( htab[i] >= 0 ) // non-empty slot - { - disp = hsize_reg - i; // secondary hash (after G. Knott) - if ( i == 0 ) - disp = 1; - do - { - if ( (i -= disp) < 0 ) - i += hsize_reg; - - if ( htab[i] == fcode ) - { - ent = codetab[i]; - continue outer_loop; - } - } - while ( htab[i] >= 0 ); - } - output( ent, outs ); - ent = c; - if ( free_ent < maxmaxcode ) - { - codetab[i] = free_ent++; // code -> hashtable - htab[i] = fcode; - } - else - cl_block( outs ); - } - // Put out the final code. - output( ent, outs ); - output( EOFCode, outs ); - } - - // output - // - // Output the given code. - // Inputs: - // code: A n_bits-bit integer. If == -1, then EOF. This assumes - // that n_bits =< wordsize - 1. - // Outputs: - // Outputs code to the file. - // Assumptions: - // Chars are 8 bits long. - // Algorithm: - // Maintain a BITS character long buffer (so that 8 codes will - // fit in it exactly). Use the VAX insv instruction to insert each - // code in turn. When the buffer fills up empty it and start over. - - int cur_accum = 0; - int cur_bits = 0; - - int masks[] = { 0x0000, 0x0001, 0x0003, 0x0007, 0x000F, - 0x001F, 0x003F, 0x007F, 0x00FF, - 0x01FF, 0x03FF, 0x07FF, 0x0FFF, - 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF }; - - void output( int code, OutputStream outs ) throws IOException - { - cur_accum &= masks[cur_bits]; - - if ( cur_bits > 0 ) - cur_accum |= ( code << cur_bits ); - else - cur_accum = code; - - cur_bits += n_bits; - - while ( cur_bits >= 8 ) - { - char_out( (byte) ( cur_accum & 0xff ), outs ); - cur_accum >>= 8; - cur_bits -= 8; - } - - // If the next entry is going to be too big for the code size, - // then increase it, if possible. - if ( free_ent > maxcode || clear_flg ) - { - if ( clear_flg ) - { - maxcode = MAXCODE(n_bits = g_init_bits); - clear_flg = false; - } - else - { - ++n_bits; - if ( n_bits == maxbits ) - maxcode = maxmaxcode; - else - maxcode = MAXCODE(n_bits); - } - } - - if ( code == EOFCode ) - { - // At EOF, write the rest of the buffer. - while ( cur_bits > 0 ) - { - char_out( (byte) ( cur_accum & 0xff ), outs ); - cur_accum >>= 8; - cur_bits -= 8; - } - - flush_char( outs ); - } - } - - // Clear out the hash table - - // table clear for block compress - void cl_block( OutputStream outs ) throws IOException - { - cl_hash( hsize ); - free_ent = ClearCode + 2; - clear_flg = true; - - output( ClearCode, outs ); - } - - // reset code table - void cl_hash( int hsize ) - { - for ( int i = 0; i < hsize; ++i ) - htab[i] = -1; - } - - // GIF Specific routines - - // Number of characters so far in this 'packet' - int a_count; - - // Set up the 'byte output' routine - void char_init() - { - a_count = 0; - } - - // Define the storage for the packet accumulator - byte[] accum = new byte[256]; - - // Add a character to the end of the current packet, and if it is 254 - // characters, flush the packet to disk. - void char_out( byte c, OutputStream outs ) throws IOException - { - accum[a_count++] = c; - if ( a_count >= 254 ) - flush_char( outs ); - } - - // Flush the packet to disk, and reset the accumulator - void flush_char( OutputStream outs ) throws IOException - { - if ( a_count > 0 ) - { - outs.write( a_count ); - outs.write( accum, 0, a_count ); - a_count = 0; - } - } - - } - -class GifEncoderHashitem - { - - public int rgb; - public int count; - public int index; - public boolean isTransparent; - - public GifEncoderHashitem( int rgb, int count, int index, boolean isTransparent ) - { - this.rgb = rgb; - this.count = count; - this.index = index; - this.isTransparent = isTransparent; - } - - } diff --git a/java/ImageProcessing/framework/Hierarchy.java b/java/ImageProcessing/framework/Hierarchy.java deleted file mode 100644 index 41b1825ef4d..00000000000 --- a/java/ImageProcessing/framework/Hierarchy.java +++ /dev/null @@ -1,347 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.util.Vector; - -public class Hierarchy extends Canvas -{ - // Attributes - private String name_; - private Hierarchy root_; - private Hierarchy parent_; - private Icon icon_ = null; - - // State - private boolean collapsed_ = true; - private boolean deadend_ = true; - private Vector contained_ = new Vector(); - private Rectangle self_; - private Rectangle scope_; - - // Constants - private Color COLOR = Color.black; - private Font FONT = new Font("Dialog", Font.BOLD, 12); - private static int TRI_HEIGHT = 8; - private int SPACE = 15; - - static Hierarchy last_lit_ = null; - - public Hierarchy(String name, boolean root) - { - name_ = name; - - if (root) - { - deadend_ = false; - root_ = this; - parent_ = null; - } - } - - public Hierarchy(String name, Icon icon, boolean root) - { - this(name, root); - icon_ = icon; - } - - public Hierarchy(String name) - { - this(name, false); - } - - public Hierarchy(String name, Icon icon) - { - this(name, icon, false); - } - - public void setExpandable(boolean expandable) - { - deadend_ = ! expandable; - - /* - if (root_ != null) - root_.repaint(); - */ - } - - public void setCollapsed(boolean collapsed) - { - collapsed_ = collapsed; - - if (root_ != null) - root_.repaint(); - } - - public void addEntry(Hierarchy entry) - { - deadend_ = false; - entry.parent_ = this; - entry.root_ = root_; - entry.FONT = FONT; - entry.COLOR = COLOR; - entry.SPACE = SPACE; - - contained_.addElement(entry); - } - - public boolean removeEntry(String name) - { - if (contained_.size() == 1) - deadend_ = true; - - return contained_.removeElement(name); - } - - public String getName() - { - return name_; - } - - public void setName(String name) - { - name_ = name; - } - - public Hierarchy getHierarchyParent() - { - return parent_; - } - - public void setFont(Font font) - { - FONT = font; - } - - public void setColor(Color color) - { - COLOR = color; - } - - public void setSpace(int space) - { - SPACE = space; - } - - public void handleEvent() {} - - public boolean mouseDown(Event evt, int x, int y) - { - Hierarchy value = mouseInside(x, y); - - if (value != null) - { - if (! value.deadend_) - { - if (x < value.self_.x + TRI_HEIGHT + SPACE) - { - value.collapsed_ = ! value.collapsed_; - if (value.contained_.isEmpty()) - value.handleEvent(); - repaint(); - } - } - else - { - if (value.contained_.isEmpty()) - value.handleEvent(); - } - } - - return false; - } - - public boolean mouseMove(Event evt, int x, int y) - { - Hierarchy value = mouseInside(x, y); - - if ((value != last_lit_) && (last_lit_ != null)) - last_lit_.highlight(getGraphics(), false); - - if (value != null && value.deadend_) - value.highlight(getGraphics(), true); - - last_lit_ = value; - - return false; - } - - public void paint(Graphics g) - { - Dimension d = size(); - - drawLevel(g, SPACE, SPACE); - - if (d.width < scope_.width || d.height < scope_.height || - d.width > scope_.width || d.height > scope_.height) - resize(scope_.width, scope_.height); - } - - - private Point drawLevel(Graphics g, int x, int y) - { - g.setFont(FONT); - FontMetrics font_metrics = g.getFontMetrics(); - int string_height = font_metrics.getHeight(); - int string_width = font_metrics.stringWidth(name_); - int entry_height = string_height; - int entry_width = string_width + 2*SPACE + TRI_HEIGHT; - int total_height, total_width, initial_x = x, initial_y = y; - int indent = SPACE + TRI_HEIGHT/2; - int temp_x = x; - Point place_marker; - Hierarchy entry; - - if (icon_ != null) - { - entry_height = Math.max(string_height, icon_.iconSize().height); - entry_width += icon_.iconSize().width + SPACE; - indent += icon_.iconSize().width/2; - if (! deadend_) - drawShape(g, x, y + (entry_height - TRI_HEIGHT)/2, deadend_, collapsed_); - } - else - drawShape(g, x, y + (entry_height - TRI_HEIGHT)/2, deadend_, collapsed_); - - self_ = new Rectangle(initial_x, initial_y, entry_width, entry_height); - - temp_x += TRI_HEIGHT + SPACE; - - if (icon_ != null) - { - icon_.drawIcon(g, temp_x, y, root_); - temp_x += SPACE + icon_.iconSize().width; - } - - g.setColor(COLOR); - - g.drawString(name_, temp_x, y + (entry_height + string_height)/2); - - total_width = entry_width; - y += entry_height + SPACE; - - if (! (deadend_ || collapsed_)) - { - x += indent; - for (int i = 0; i < contained_.size(); i++) - { - entry = (Hierarchy)contained_.elementAt(i); - place_marker = entry.drawLevel(g, x, y); - total_width = Math.max(total_width, entry.scope_.width + indent + SPACE); - x = place_marker.x; - y = place_marker.y; - } - x -= indent; - } - - total_height = y - initial_y; - scope_ = new Rectangle(initial_x, initial_y, total_width, total_height); - - return new Point(x, y); - } - - private Hierarchy mouseInside(int x, int y) - { - Hierarchy entry; - Hierarchy return_value = null; - - if (self_.inside(x, y)) - { - return_value = this; - } - else - { - if (scope_.inside(x, y) && (! collapsed_)) - { - for (int i = 0; i < contained_.size(); i++) - { - entry = (Hierarchy)contained_.elementAt(i); - if ((return_value = entry.mouseInside(x, y)) != null) - break; - } - } - else - return_value = null; - } - - return return_value; - } - - private void highlight(Graphics g, boolean lit) - { - g.setFont(FONT); - FontMetrics fm = g.getFontMetrics(); - int string_height = fm.getHeight(); - int x = self_.x + SPACE + TRI_HEIGHT; - int y = self_.y; - - if (icon_ != null) - x += icon_.iconSize().width + SPACE; - - if (lit) - g.setColor(Color.magenta); - else - g.setColor(COLOR); - - g.drawString(name_, x, y + (self_.height + string_height)/2); - } - - - private static void drawShape(Graphics g, int x, int y, boolean dead_end, boolean collapsed) - { - int xpoints[] = new int[3]; - int ypoints[] = new int[3]; - - xpoints[0] = x; - ypoints[0] = y; - - if (dead_end) - { - g.fillOval(x, y, TRI_HEIGHT, TRI_HEIGHT); - } - else - { - // Draw a small collapsed triangle: |> - if (collapsed) - { - xpoints[1] = x; - xpoints[2] = x + TRI_HEIGHT; - ypoints[1] = y + TRI_HEIGHT; - ypoints[2] = y + TRI_HEIGHT/2; - g.fillPolygon(xpoints, ypoints, 3); - } - //Draw a small uncollapsed triangle - else - { - xpoints[1] = x + TRI_HEIGHT; - xpoints[2] = x + TRI_HEIGHT/2; - ypoints[1] = y; - ypoints[2] = y + TRI_HEIGHT; - g.fillPolygon(xpoints, ypoints, 3); - } - } - } - - private static void drawVertHashedLine(Graphics g, int x, int y1, int y2, int hashsize) - { - for (int ytemp = y1; ytemp < y2; ytemp += hashsize*3) - { - if (y2 - hashsize < ytemp) - g.drawLine(x, ytemp, x, y2); - else - g.drawLine(x, ytemp, x, ytemp + hashsize); - } - } - - private static void drawHoroHashedLine(Graphics g, int y, int x1, int x2, Color color, int hashsize) - { - for (int xtemp = x1; xtemp < x2; xtemp += hashsize*3) - { - if (x2 - hashsize < xtemp) - g.drawLine(xtemp, y, x1, y); - else - g.drawLine(xtemp, y, xtemp + hashsize, y); - } - } -} - - diff --git a/java/ImageProcessing/framework/HierarchyAdapter.java b/java/ImageProcessing/framework/HierarchyAdapter.java deleted file mode 100644 index a265be656ea..00000000000 --- a/java/ImageProcessing/framework/HierarchyAdapter.java +++ /dev/null @@ -1,34 +0,0 @@ -package imaging.framework; - -import java.awt.*; - -class HierarchyAdapter extends Hierarchy -{ - public HierarchyAdapter(String name, boolean root) - { - super(name, root); - } - - public HierarchyAdapter(String name, Icon icon, boolean root) - { - super(name, icon, root); - } - - public HierarchyAdapter(String name) - { - super(name); - } - - public HierarchyAdapter(String name, Icon icon) - { - super(name, icon); - } - - public void paint(Graphics g) - { - super.paint(g); - - Container p = getParent().getParent(); - p.getLayout ().layoutContainer (p); - } -} diff --git a/java/ImageProcessing/framework/Icon.java b/java/ImageProcessing/framework/Icon.java deleted file mode 100644 index eed91ed55c7..00000000000 --- a/java/ImageProcessing/framework/Icon.java +++ /dev/null @@ -1,70 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.applet.*; -import java.net.*; - -public class Icon -{ - protected Image icon_; - protected Dimension iconSize_; - - Icon() - { - super(); - } - - Icon(String file_name, Component comp) - { - this.icon_ = Toolkit.getDefaultToolkit().getImage(file_name); - this.loadImage(comp); - } - - Icon(Image icon_image, Component comp) - { - this.icon_ = icon_image; - this.loadImage(comp); - } - - Icon(String url, Applet applet) throws MalformedURLException - { - this.icon_ = applet.getImage(new URL(url)); - loadImage(applet); - } - - public void drawIcon(Graphics g, int x, int y, Component comp) - { - g.drawImage(this.icon_, x, y, comp); - } - - private void loadImage(Component comp) - { - try - { - MediaTracker tracker = new MediaTracker(comp); - tracker.addImage(this.icon_, 0); - tracker.waitForID(0); - - this.iconSize_ = new Dimension(this.icon_.getWidth(comp), this.icon_.getHeight(comp)); - } - catch (InterruptedException excp) - { - System.err.println("Icon::getIcon image failed to load"); - } - } - - public Dimension iconSize() - { - return this.iconSize_; - } - - public Image getIconImage() - { - return this.icon_; - } - -} - - - - diff --git a/java/ImageProcessing/framework/ImageApp.java b/java/ImageProcessing/framework/ImageApp.java deleted file mode 100644 index 486f45b9afb..00000000000 --- a/java/ImageProcessing/framework/ImageApp.java +++ /dev/null @@ -1,303 +0,0 @@ -package imaging.framework; - -import java.util.*; -import java.awt.*; -import java.net.*; -import java.io.*; -import java.awt.image.*; -import java.applet.*; -import gjt.Separator; -import gjt.Util; - -public class ImageApp extends Applet -{ - public void init () - { - // Use BorderLayout for our applet frame - this.setLayout (new BorderLayout ()); - - // Now load all the filters specified in the config file - // this.loadFilters (); - this.setupButtonPanel (); - this.add ("Center", this.imageCanvas_); - // Check if we are running in test mode - String testFile = getParameter ("testFile"); - if (testFile != null) - { - this.tester_ = new Tester (testFile, this); - this.tester_.initialize (); - } - // Initialize the DialogManager - DialogManager.initialize (this); - } - - private void setupButtonPanel () - { - Panel southPanel = new Panel (); - southPanel.setLayout (new BorderLayout ()); - - Panel buttonPanel = new Panel (); - buttonPanel.setLayout (new GridLayout (1, 5)); - - this.statusDisplay_ = new StatusDisplay (); - // Create a panel for all the buttons - this.filePanel_ = new FilePanel (this); - this.resetPanel_ = new ResetPanel (this); - this.zoomPanel_ = new ZoomPanel (this); - this.filterPanel_ = new FilterPanel (this); - this.helpPanel_ = new HelpPanel (this); - - buttonPanel.add (this.filePanel_); - buttonPanel.add (this.resetPanel_); - buttonPanel.add (this.zoomPanel_); - buttonPanel.add (this.filterPanel_); - buttonPanel.add (this.helpPanel_); - - southPanel.add ("North", new Separator ()); - southPanel.add ("Center", buttonPanel); - southPanel.add ("South", this.statusDisplay_); - - southPanel.resize (400, 400); - - // Now add all these components to the main frame - this.add ("South", southPanel); - this.add ("North", new Panel ()); // Empty panel (for aesthetics) - // this.add ("East", new Panel ()); // Empty panel (for aesthetics) - // this.add ("West", new Panel ()); // Empty panel (for aesthetics) - } - - public void displayStatus (String s) - { - this.statusDisplay_.setText (s); - } - - // Handle all action events - public void zoomFactor (double zoomFactor) - { - this.imageCanvas_.zoomFactor (zoomFactor); - } - - public void reloadFilters () - { - this.filterPanel_.loadFilters (); - repaint (); - } - - public Hashtable filterTable () - { - return this.filterTable_; - } - - public ImageFilter getFilter (String s) - { - return (ImageFilter) this.filterTable_.get (s); - } - - public void apply () - { - ImageFilter filter = this.getFilter (this.filterPanel_.choice ().getSelectedItem ()); - this.apply (filter); - } - - public void apply (ImageFilter filter) - { - if (filter != null) - { - Util.getFrame (this).setCursor (Frame.WAIT_CURSOR); - this.imageCanvas_.applyFilter (filter); - Util.getFrame (this).setCursor (Frame.DEFAULT_CURSOR); - } - } - - public void resetImage () - { - this.imageCanvas_.applyFilter (null); - } - - public int openURL (String url) - { - if (url == null) - return -1; - - Image image = null; - try - { - System.out.println("Getting image"); - image = getImage (new URL (url)); - System.out.println("Done"); - } - catch (MalformedURLException e) - { - return -1; - } - - if (image != null) - { - // Check if the image was actually loaded. Note that we have - // to wait for the potential image to finish loading before we - // know if it is a valid image. - if (this.imageCanvas_.setImage (image) == -1) - return -1; - else - this.filePanel_.enableSaveButton (); - } - else - return -1; - return 0; - } - - // maintain compatibility - public void saveFile (String url) - { - this.saveFile (url, null); - } - - public void saveFile (String url, String authentication) - { - ImageSender imageSender = new ImageSender (this); - imageSender.open (this.imageCanvas_.getImage (), url); - int bytesSent = imageSender.send (authentication); - if (bytesSent == -1) - DialogManager.popDialog (DialogType.NOT_SUPPORTED, - "Server does not support uploading or URL not found"); - } - - public Choice getFilters () - { - Choice choice = new Choice (); - - // Add the default choice first - choice.addItem ("Filters:"); - - // Now do the file processing -- to determine which filters need - // to be loaded. - - // Check if the filename has been previously specified and - // if not then check if the user has specified the name of the - // config file - if (this.configFile_ == null) - this.configFile_ = getParameter ("configFile"); - - /* - if (this.configFile_ == null) - this.configFile_ = "http://www.cs.wustl.edu/~pjain/java/ACE_wrappers/java/ImageProcessing/framework/filter.conf"; - */ - - if (this.configFile_ == null) - this.configFile_ = this.getCodeBase().toString() + "../ImageProcessing/framework/filter.conf"; - - String configInfo = null; - - // Only get the file as a URL if it was specified as an http style parameter! - if ((this.configFile_ != null) && ((this.configFile_.startsWith("http://")) || - (this.configFile_.startsWith("file://")) || - (this.configFile_.startsWith("ftp://")))) { - - URL url; - - try - { - System.out.println ("Configuration File: " + this.configFile_); - // Create a new URL - url = new URL (this.configFile_); - - // Get the input stream and pipe it to a DataInputStream - DataInputStream iStream = new DataInputStream (url.openStream ()); - - // Create a buffer to hold all the data we get - StringBuffer tempBuf = new StringBuffer (); - // Keep reading the data until we are done - String tempString = iStream.readLine (); - while (tempString != null) - { - tempBuf.append (tempString); - tempBuf.append (" "); - tempString = iStream.readLine (); - } - configInfo = tempBuf.toString (); - } - catch (MalformedURLException e) - { - System.err.println (e); - } - catch (IOException e) - { - System.err.println (e); - } - } - - if (configInfo != null) - { - try - { - StringTokenizer tokens = new StringTokenizer (configInfo); - String fullFilterName = null; - String filterName = null; - // Now parse the string, picking up filter names. Use these - // names to load the actual filters as well add new choices to - // the filter choices. - while (tokens.hasMoreTokens ()) - { - // Get the next token - fullFilterName = tokens.nextToken (); - filterName = this.extractFilterName (fullFilterName); - - System.out.println ("Loading: " + fullFilterName); - // Load the filter class - Class c = Class.forName (fullFilterName); - // Class c = this.filterRepository_.load (filter); - - // Add the filter to the Filter Repository - this.filterTable_.put (filterName, - (ImageFilter) c.newInstance ()); - - // Add filter name to the list of filter choices - choice.addItem (filterName); - } - } - catch (ClassNotFoundException e) - { - System.err.println ("Filter not found: " + e); - return null; - } - catch (IllegalAccessException e) - { - System.err.println ("Filter not found: " + e); - return null; - } - catch (InstantiationException e) - { - System.err.println ("Filter not found: " + e); - return null; - } - } - return choice; - } - - // Extract the short filter name from the full filter name. For - // example, this method returns "EmbossFilter" if it is given the - // string "imaging/filters/EmbossFilter" - private String extractFilterName (String s) - { - String filterName = null; - StringTokenizer tokens = new StringTokenizer (s, "."); - while (tokens.hasMoreTokens ()) - filterName = tokens.nextToken (); - return filterName; - } - - private Panel centerPanel_ = new Panel (); - private String configFile_ = null; - private Choice choice_ = null; - private ImageCanvas imageCanvas_ = new ImageCanvas (); - private FilePanel filePanel_; - private ResetPanel resetPanel_; - private ZoomPanel zoomPanel_; - private FilterPanel filterPanel_; - private HelpPanel helpPanel_; - - private StatusDisplay statusDisplay_; - private Hashtable filterTable_ = new Hashtable (); - private Tester tester_; - -} diff --git a/java/ImageProcessing/framework/ImageByteCounter.java b/java/ImageProcessing/framework/ImageByteCounter.java deleted file mode 100644 index c907c9f1c92..00000000000 --- a/java/ImageProcessing/framework/ImageByteCounter.java +++ /dev/null @@ -1,94 +0,0 @@ -package imaging.framework; - -import java.io.*; -import java.awt.*; -import java.applet.*; -import java.net.*; -import JACE.OS.*; - -public class ImageByteCounter -{ - public ImageByteCounter (String title, Image image, Applet parent) - { - this.image_ = image; - this.parent_ = parent; - - Image im = null; - try - { - im = this.parent_.getImage (new URL (this.parent_.getCodeBase () + - "../ImageProcessing/framework/" + - "10.gif")); - } - catch (MalformedURLException e) - { - ACE.ERROR (e); - } - - indicator_ = new StatusIndicator ("", im); - } - - public int count () - { - int length = 0; - try - { - GIFOutputStream ostream = new GIFOutputStream (indicator_); - // GIFOutputStream ostream = new GIFOutputStream (null); - GifEncoder encoder = new GifEncoder (this.image_, ostream); - encoder.encode (); - - length = ostream.count (); - System.out.println ("send: " + length); - } - catch (IOException e) - { - ACE.ERROR ("Exception generating gif"); - } - indicator_.dispose (); - return length; - } - - Image image_ = null; - StatusIndicator indicator_ = null; - boolean done_ = false; - Applet parent_; -} - -class GIFOutputStream extends OutputStream -{ - public GIFOutputStream (StatusIndicator indicator) - { - super (); - this.indicator_ = indicator; - } - - public synchronized void write (int b) throws IOException - { - bytesWritten_++; - if (this.indicator_ != null) - this.indicator_.update (bytesWritten_); - } - - public synchronized void write (byte buf[]) throws IOException - { - bytesWritten_ += buf.length; - if (this.indicator_ != null) - this.indicator_.update (bytesWritten_); - } - - public synchronized void write (byte buf[], int offset, int length) throws IOException - { - bytesWritten_ += length; - if (this.indicator_ != null) - this.indicator_.update (bytesWritten_); - } - - public int count () - { - return this.bytesWritten_; - } - - private int bytesWritten_ = 0; - private StatusIndicator indicator_ = null; -} diff --git a/java/ImageProcessing/framework/ImageCanvas.java b/java/ImageProcessing/framework/ImageCanvas.java deleted file mode 100644 index 182bd54bf9b..00000000000 --- a/java/ImageProcessing/framework/ImageCanvas.java +++ /dev/null @@ -1,166 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import gjt.Util; -import JACE.OS.*; - -class ImageCanvas extends Canvas -{ - public static final double MAX_ZOOM = 4.0; - public static final double MIN_ZOOM = 0.5; - - public int setImage (Image image) - { - int flags = 0; - if (image != null) - { - // Load the image - this.tracker_.addImage(image, 0); - try { this.tracker_.waitForID(0); } catch(InterruptedException excp) {} - - // Check if the image was actually loaded. Note that we have - // to wait for the potential image to finish loading before we - // know if it is a valid image. - flags = this.checkImage (image, this); - if (ACE.BIT_ENABLED (flags, ImageObserver.ERROR)) - return -1; - - // If we reached here, it means image was loaded successfully so cache it - this.image_ = image; - this.originalImage_ = this.image_; - - this.x_ = (this.size ().width - this.image_.getWidth (this))/2; - this.y_ = (this.size ().height - this.image_.getHeight (this))/2; - this.original_x_ = this.x_; - this.original_y_ = this.y_; - repaint (); - } - return 0; - } - - public Image getImage () - { - return this.image_; - } - - public void paint (Graphics g) - { - this.setBackground (Color.white); - if (this.image_ != null) - g.drawImage(this.image_, - this.x_, this.y_, - (int) (this.image_.getWidth (this) * this.zoom_), - (int) (this.image_.getHeight (this) * this.zoom_), - this); - } - - public void applyFilter (ImageFilter filter) - { - if (this.image_ != null) - { - Image temp; - if (filter == null) - { - temp = this.originalImage_; - this.x_ = this.original_x_; - this.y_ = this.original_y_; - this.zoom_ = 1.0; - } - else - temp = this.ip_.processImage(this.image_, filter, this); - - this.tracker_.addImage(temp, 0); - try { this.tracker_.waitForID(0); } catch(InterruptedException excp) {} - - this.image_ = temp; - - // Originally I needed to flush the pixel data for the image to be - // drawn properly. When running the applet in appletviewer, the - // image used to jump around, but running in a browser seems to be - // ok. - //this.image_.flush(); - repaint (); - } - } - - public void zoomFactor (double zoom) - { - this.zoom_ *= zoom; - if (this.zoom_ > ImageCanvas.MAX_ZOOM) - this.zoom_ = ImageCanvas.MAX_ZOOM; - else if (this.zoom_ < ImageCanvas.MIN_ZOOM) - this.zoom_ = ImageCanvas.MIN_ZOOM; - - repaint (); - } - - public boolean mouseDown (Event evt, int x, int y) - { - if (inBounds (x, y)) - { - this.selected_ = true; - this.last_x_ = x; - this.last_y_ = y; - } - return true; - } - - public boolean mouseUp (Event evt, int x, int y) - { - this.selected_ = false; - return true; - } - - public boolean mouseDrag (Event evt, int x, int y) - { - if (this.selected_) - { - this.x_ = x - (this.last_x_ - this.x_); - this.y_ = y - (this.last_y_ - this.y_); - this.last_x_ = x; - this.last_y_ = y; - repaint (); - } - return true; - } - - public boolean mouseMove (Event evt, int x, int y) - { - if (this.image_ != null && inBounds (x, y)) - Util.getFrame (this).setCursor (Frame.HAND_CURSOR); - else - Util.getFrame (this).setCursor (Frame.DEFAULT_CURSOR); - return true; - } - - public boolean mouseExit (Event evt, int x, int y) - { - Util.getFrame (this).setCursor (Frame.DEFAULT_CURSOR); - return true; - } - - // Check if mouse is within the bounds of the image - private boolean inBounds (int x, int y) - { - if (this.image_ == null) - return false; - else - return (x >= this.x_) && - (y >= this.y_) && - (x <= (this.x_ + this.zoom_ * this.image_.getWidth (this))) && - (y <= (this.y_ + this.zoom_ * this.image_.getHeight (this))); - } - - private MediaTracker tracker_ = new MediaTracker(this); - private Image image_, originalImage_; - private int x_ = 0, y_ = 0; - private int original_x_ = 0, original_y_ = 0; - private int width_ = 0, height_ = 0; - private ImageProcessor ip_ = new ImageProcessor (); - private boolean selected_ = false; - private int last_x_ = 0, last_y_ = 0; - private double zoom_ = 1.0; - -} - diff --git a/java/ImageProcessing/framework/ImageEncoder.java b/java/ImageProcessing/framework/ImageEncoder.java deleted file mode 100644 index a0aac0d559f..00000000000 --- a/java/ImageProcessing/framework/ImageEncoder.java +++ /dev/null @@ -1,271 +0,0 @@ -// ImageEncoder - abstract class for writing out an image -// -// Copyright (C) 1996 by Jef Poskanzer . All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions -// are met: -// 1. Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright -// notice, this list of conditions and the following disclaimer in the -// documentation and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -// SUCH DAMAGE. -// -// Visit the ACME Labs Java page for up-to-date versions of this and other -// fine Java utilities: http://www.acme.com/java/ - -package imaging.framework; - -import java.util.*; -import java.io.*; -import java.awt.Image; -import java.awt.image.*; - -/// Abstract class for writing out an image. -//

    -// A framework for classes that encode and write out an image in -// a particular file format. -//

    -// This provides a simplified rendition of the ImageConsumer interface. -// It always delivers the pixels as ints in the RGBdefault color model. -// It always provides them in top-down left-right order. -// If you want more flexibility you can always implement ImageConsumer -// directly. -//

    -// Fetch the software.
    -// Fetch the entire Acme package. -//

    -// @see GifEncoder -// @see PpmEncoder -// @see Acme.JPM.Decoders.ImageDecoder - -public abstract class ImageEncoder implements ImageConsumer - { - - protected OutputStream out; - - private ImageProducer producer; - private int width = -1; - private int height = -1; - private int hintflags = 0; - private boolean started = false; - private boolean encoding; - private IOException iox; - private static final ColorModel rgbModel = ColorModel.getRGBdefault(); - private Hashtable props = null; - - /// Constructor. - // @param img The image to encode. - // @param out The stream to write the bytes to. - public ImageEncoder( Image img, OutputStream out ) throws IOException - { - this( img.getSource(), out ); - } - - /// Constructor. - // @param producer The ImageProducer to encode. - // @param out The stream to write the bytes to. - public ImageEncoder( ImageProducer producer, OutputStream out ) throws IOException - { - this.producer = producer; - this.out = out; - } - - - // Methods that subclasses implement. - - /// Subclasses implement this to initialize an encoding. - abstract void encodeStart( int w, int h ) throws IOException; - - /// Subclasses implement this to actually write out some bits. They - // are guaranteed to be delivered in top-down-left-right order. - // One int per pixel, index is row * scansize + off + col, - // RGBdefault (AARRGGBB) color model. - abstract void encodePixels( - int x, int y, int w, int h, int[] rgbPixels, int off, int scansize ) - throws IOException; - - /// Subclasses implement this to finish an encoding. - abstract void encodeDone() throws IOException; - - - // Our own methods. - - /// Call this after initialization to get things going. - public synchronized void encode() throws IOException - { - encoding = true; - iox = null; - producer.startProduction( this ); - while ( encoding ) - try - { - wait(); - } - catch ( InterruptedException e ) {} - if ( iox != null ) - throw iox; - } - - private boolean accumulate = false; - private int[] accumulator; - - private void encodePixelsWrapper( - int x, int y, int w, int h, int[] rgbPixels, int off, int scansize ) - throws IOException - { - if ( ! started ) - { - started = true; - encodeStart( width, height ); - if ( ( hintflags & TOPDOWNLEFTRIGHT ) == 0 ) - { - accumulate = true; - accumulator = new int[width * height]; - } - } - if ( accumulate ) - for ( int row = 0; row < h; ++row ) - System.arraycopy( - rgbPixels, row * scansize + off, - accumulator, ( y + row ) * width + x, - w ); - else - encodePixels( x, y, w, h, rgbPixels, off, scansize ); - } - - private void encodeFinish() throws IOException - { - if ( accumulate ) - { - encodePixels( 0, 0, width, height, accumulator, 0, width ); - accumulator = null; - accumulate = false; - } - } - - private synchronized void stop() - { - encoding = false; - notifyAll(); - } - - - // Methods from ImageConsumer. - - public void setDimensions( int width, int height ) - { - this.width = width; - this.height = height; - } - - public void setProperties( Hashtable props ) - { - this.props = props; - } - - public void setColorModel( ColorModel model ) - { - // Ignore. - } - - public void setHints( int hintflags ) - { - this.hintflags = hintflags; - } - - public void setPixels( - int x, int y, int w, int h, ColorModel model, byte[] pixels, - int off, int scansize ) - { - int[] rgbPixels = new int[w]; - for ( int row = 0; row < h; ++row ) - { - int rowOff = off + row * scansize; - for ( int col = 0; col < w; ++col ) - rgbPixels[col] = model.getRGB( pixels[rowOff + col] & 0xff ); - try - { - encodePixelsWrapper( x, y + row, w, 1, rgbPixels, 0, w ); - } - catch ( IOException e ) - { - iox = e; - stop(); - return; - } - } - } - - public void setPixels( - int x, int y, int w, int h, ColorModel model, int[] pixels, - int off, int scansize ) - { - if ( model == rgbModel ) - { - try - { - encodePixelsWrapper( x, y, w, h, pixels, off, scansize ); - } - catch ( IOException e ) - { - iox = e; - stop(); - return; - } - } - else - { - int[] rgbPixels = new int[w]; - for ( int row = 0; row < h; ++row ) - { - int rowOff = off + row * scansize; - for ( int col = 0; col < w; ++col ) - rgbPixels[col] = model.getRGB( pixels[rowOff + col] ); - try - { - encodePixelsWrapper( x, y + row, w, 1, rgbPixels, 0, w ); - } - catch ( IOException e ) - { - iox = e; - stop(); - return; - } - } - } - } - - public void imageComplete( int status ) - { - producer.removeConsumer( this ); - if ( status == ImageConsumer.IMAGEABORTED ) - iox = new IOException( "image aborted" ); - else - { - try - { - encodeFinish(); - encodeDone(); - } - catch ( IOException e ) - { - iox = e; - } - } - stop(); - } - - } diff --git a/java/ImageProcessing/framework/ImageProcessor.java b/java/ImageProcessing/framework/ImageProcessor.java deleted file mode 100644 index 422298d508f..00000000000 --- a/java/ImageProcessing/framework/ImageProcessor.java +++ /dev/null @@ -1,111 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import java.util.Vector; - -public class ImageProcessor -{ - private Vector pipeline_ = new Vector(); - - - public ImageProcessor() - { - } - - public void addFilter(String filter_name, ImageFilter filter) - { - pipeline_.addElement(new FilterNode(filter_name, filter)); - } - - public boolean removeFilter(String name) - { - FilterNode filter_node; - - for (int i = 0; i < pipeline_.size(); i++) - { - filter_node = (FilterNode)pipeline_.elementAt(i); - if (name.equals(filter_node.getName())) - { - pipeline_.removeElementAt(i); - pipeline_.trimToSize(); - return true; - } - } - - return false; - } - - public Image processImage(Image image, ImageFilter filter, Component component) - { - Image old_image = image, new_image = old_image; - MediaTracker tracker = new MediaTracker(component); - - try - { - new_image = component.createImage(new FilteredImageSource(old_image.getSource(), filter)); - tracker.addImage(new_image, 0); - tracker.waitForID(0); - } - catch(InterruptedException excp) - { - System.out.println("ImageProcessor::processImage Image failed to load."); - System.out.println(excp); - return null; - } - - return new_image; - } - - public Image processImage(Image image, Component component) - { - Image old_image = image, new_image = null; - ImageFilter image_filter; - FilterNode filter_node; - MediaTracker tracker = new MediaTracker(component); - - try - { - for (int i = 0; i < pipeline_.size(); i++) - { - filter_node = (FilterNode) pipeline_.elementAt(i); - image_filter = filter_node.getFilter(); - new_image = component.createImage(new FilteredImageSource(old_image.getSource(), image_filter)); - old_image = new_image; - tracker.addImage(new_image, 0); - tracker.waitForID(0); - } - } - catch(InterruptedException excp) - { - System.out.println("ImageProcessor::processImage Image failed to load."); - System.out.println(excp); - return null; - } - - return new_image; - } -} - - -class FilterNode -{ - private String name_; - private ImageFilter filter_; - - FilterNode(String name, ImageFilter filter) - { - name_ = name; - filter_ = filter; - } - - String getName() - { - return name_; - } - - ImageFilter getFilter() - { - return filter_; - } -} diff --git a/java/ImageProcessing/framework/ImageSender.java b/java/ImageProcessing/framework/ImageSender.java deleted file mode 100644 index c1659267537..00000000000 --- a/java/ImageProcessing/framework/ImageSender.java +++ /dev/null @@ -1,128 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.net.*; -import java.io.*; -import java.applet.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class ImageSender -{ - public ImageSender (Applet parent) - { - this.parent_ = parent; - } - - // ****************** - // Currently bombs if it's not in an http or / format - // - public void open (Image image, String url) - { - this.image_ = image; - - this.hostname_ = url; - if (this.hostname_.startsWith ("http://")) - this.hostname_ = this.hostname_.substring (7); - - int index = -1; - if ((index = this.hostname_.indexOf (":")) != -1) - { - String temp = this.hostname_.substring (index + 1); - int i = -1; - if ((i = temp.indexOf ("/")) != -1) - { - this.port_ = (new Integer (temp.substring (0, i))).intValue (); - this.filename_ = temp.substring (i); - } - this.hostname_ = this.hostname_.substring (0, index); - } - else - { - int i = -1; - if ((i = this.hostname_.indexOf ("/")) != -1) - { - this.filename_ = hostname_.substring (i); - } - this.hostname_ = this.hostname_.substring (0, i); - this.port_ = 80; - } - } - - // Maintain compatibility - public int send () - { - return send(null); - } - - /******************************************* - * The authenication string allows the PUT command to work if the server - * accepts the basic HTTP 1.1 encryption scheme - *******************************************/ - public int send (String authentication) - { - ImageByteCounter byteCounter = new ImageByteCounter ("", this.image_, this.parent_); - // StatusIndicator indicator = new StatusIndicator (""); - // ImageByteCounter byteCounter = new ImageByteCounter ("", this.image_, indicator); - int length = byteCounter.count (); - // indicator.dispose (); - // First determine how many bytes we will be sending - /* - try - { - GIFOutputStream ostream = new GIFOutputStream (); - GifEncoder encoder = new GifEncoder (this.image_, ostream); - encoder.encode (); - - length = ostream.count (); - System.out.println ("send: " + length); - } - catch (IOException e) - { - ACE.ERROR ("Exception generating gif"); - } - */ - - GIFHandler gifHandler; - if (authentication == null) - gifHandler = new GIFHandler (this.filename_, this.image_, length); - else - gifHandler = new GIFHandler (this.filename_, this.image_, length, authentication); - - try - { - // Connect to the server and send the image - this.connector_.open (this.hostname_, this.port_); - this.connector_.connect (gifHandler); - } - catch (UnknownHostException e) - { - ACE.ERROR (e); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - - if (gifHandler.returnCode () != -1) - return gifHandler.bytesWritten (); - else - return -1; - } - - private Image image_ = null; - String filename_; - String hostname_; - int port_; - Connector connector_ = new Connector (); - Applet parent_; -} - diff --git a/java/ImageProcessing/framework/IntHashtable.java b/java/ImageProcessing/framework/IntHashtable.java deleted file mode 100644 index 95e6cbc25e0..00000000000 --- a/java/ImageProcessing/framework/IntHashtable.java +++ /dev/null @@ -1,396 +0,0 @@ -// IntHashtable - a Hashtable that uses ints as the keys -// -// This is 90% based on JavaSoft's java.util.Hashtable. -// -// Visit the ACME Labs Java page for up-to-date versions of this and other -// fine Java utilities: http://www.acme.com/java/ - -package imaging.framework; - -import java.util.*; - -/// A Hashtable that uses ints as the keys. -//

    -// Use just like java.util.Hashtable, except that the keys must be ints. -// This is much faster than creating a new Integer for each access. -//

    -// Fetch the software.
    -// Fetch the entire Acme package. -//

    -// @see java.util.Hashtable - -public class IntHashtable extends Dictionary implements Cloneable - { - /// The hash table data. - private IntHashtableEntry table[]; - - /// The total number of entries in the hash table. - private int count; - - /// Rehashes the table when count exceeds this threshold. - private int threshold; - - /// The load factor for the hashtable. - private float loadFactor; - - /// Constructs a new, empty hashtable with the specified initial - // capacity and the specified load factor. - // @param initialCapacity the initial number of buckets - // @param loadFactor a number between 0.0 and 1.0, it defines - // the threshold for rehashing the hashtable into - // a bigger one. - // @exception IllegalArgumentException If the initial capacity - // is less than or equal to zero. - // @exception IllegalArgumentException If the load factor is - // less than or equal to zero. - public IntHashtable( int initialCapacity, float loadFactor ) - { - if ( initialCapacity <= 0 || loadFactor <= 0.0 ) - throw new IllegalArgumentException(); - this.loadFactor = loadFactor; - table = new IntHashtableEntry[initialCapacity]; - threshold = (int) ( initialCapacity * loadFactor ); - } - - /// Constructs a new, empty hashtable with the specified initial - // capacity. - // @param initialCapacity the initial number of buckets - public IntHashtable( int initialCapacity ) - { - this( initialCapacity, 0.75f ); - } - - /// Constructs a new, empty hashtable. A default capacity and load factor - // is used. Note that the hashtable will automatically grow when it gets - // full. - public IntHashtable() - { - this( 101, 0.75f ); - } - - /// Returns the number of elements contained in the hashtable. - public int size() - { - return count; - } - - /// Returns true if the hashtable contains no elements. - public boolean isEmpty() - { - return count == 0; - } - - /// Returns an enumeration of the hashtable's keys. - // @see IntHashtable#elements - public synchronized Enumeration keys() - { - return new IntHashtableEnumerator( table, true ); - } - - /// Returns an enumeration of the elements. Use the Enumeration methods - // on the returned object to fetch the elements sequentially. - // @see IntHashtable#keys - public synchronized Enumeration elements() - { - return new IntHashtableEnumerator( table, false ); - } - - /// Returns true if the specified object is an element of the hashtable. - // This operation is more expensive than the containsKey() method. - // @param value the value that we are looking for - // @exception NullPointerException If the value being searched - // for is equal to null. - // @see IntHashtable#containsKey - public synchronized boolean contains( Object value ) - { - if ( value == null ) - throw new NullPointerException(); - IntHashtableEntry tab[] = table; - for ( int i = tab.length ; i-- > 0 ; ) - { - for ( IntHashtableEntry e = tab[i] ; e != null ; e = e.next ) - { - if ( e.value.equals( value ) ) - return true; - } - } - return false; - } - - /// Returns true if the collection contains an element for the key. - // @param key the key that we are looking for - // @see IntHashtable#contains - public synchronized boolean containsKey( int key ) - { - IntHashtableEntry tab[] = table; - int hash = key; - int index = ( hash & 0x7FFFFFFF ) % tab.length; - for ( IntHashtableEntry e = tab[index] ; e != null ; e = e.next ) - { - if ( e.hash == hash && e.key == key ) - return true; - } - return false; - } - - /// Gets the object associated with the specified key in the - // hashtable. - // @param key the specified key - // @returns the element for the key or null if the key - // is not defined in the hash table. - // @see IntHashtable#put - public synchronized Object get( int key ) - { - IntHashtableEntry tab[] = table; - int hash = key; - int index = ( hash & 0x7FFFFFFF ) % tab.length; - for ( IntHashtableEntry e = tab[index] ; e != null ; e = e.next ) - { - if ( e.hash == hash && e.key == key ) - return e.value; - } - return null; - } - - /// A get method that takes an Object, for compatibility with - // java.util.Dictionary. The Object must be an Integer. - public Object get( Object okey ) - { - if ( ! ( okey instanceof Integer ) ) - throw new InternalError( "key is not an Integer" ); - Integer ikey = (Integer) okey; - int key = ikey.intValue(); - return get( key ); - } - - /// Rehashes the content of the table into a bigger table. - // This method is called automatically when the hashtable's - // size exceeds the threshold. - protected void rehash() - { - int oldCapacity = table.length; - IntHashtableEntry oldTable[] = table; - - int newCapacity = oldCapacity * 2 + 1; - IntHashtableEntry newTable[] = new IntHashtableEntry[newCapacity]; - - threshold = (int) ( newCapacity * loadFactor ); - table = newTable; - - for ( int i = oldCapacity ; i-- > 0 ; ) - { - for ( IntHashtableEntry old = oldTable[i] ; old != null ; ) - { - IntHashtableEntry e = old; - old = old.next; - - int index = ( e.hash & 0x7FFFFFFF ) % newCapacity; - e.next = newTable[index]; - newTable[index] = e; - } - } - } - - /// Puts the specified element into the hashtable, using the specified - // key. The element may be retrieved by doing a get() with the same key. - // The key and the element cannot be null. - // @param key the specified key in the hashtable - // @param value the specified element - // @exception NullPointerException If the value of the element - // is equal to null. - // @see IntHashtable#get - // @return the old value of the key, or null if it did not have one. - public synchronized Object put( int key, Object value ) - { - // Make sure the value is not null. - if ( value == null ) - throw new NullPointerException(); - - // Makes sure the key is not already in the hashtable. - IntHashtableEntry tab[] = table; - int hash = key; - int index = ( hash & 0x7FFFFFFF ) % tab.length; - for ( IntHashtableEntry e = tab[index] ; e != null ; e = e.next ) - { - if ( e.hash == hash && e.key == key ) - { - Object old = e.value; - e.value = value; - return old; - } - } - - if ( count >= threshold ) - { - // Rehash the table if the threshold is exceeded. - rehash(); - return put( key, value ); - } - - // Creates the new entry. - IntHashtableEntry e = new IntHashtableEntry(); - e.hash = hash; - e.key = key; - e.value = value; - e.next = tab[index]; - tab[index] = e; - ++count; - return null; - } - - /// A put method that takes an Object, for compatibility with - // java.util.Dictionary. The Object must be an Integer. - public Object put( Object okey, Object value ) - { - if ( ! ( okey instanceof Integer ) ) - throw new InternalError( "key is not an Integer" ); - Integer ikey = (Integer) okey; - int key = ikey.intValue(); - return put( key, value ); - } - - /// Removes the element corresponding to the key. Does nothing if the - // key is not present. - // @param key the key that needs to be removed - // @return the value of key, or null if the key was not found. - public synchronized Object remove( int key ) - { - IntHashtableEntry tab[] = table; - int hash = key; - int index = ( hash & 0x7FFFFFFF ) % tab.length; - for ( IntHashtableEntry e = tab[index], prev = null ; e != null ; prev = e, e = e.next ) - { - if ( e.hash == hash && e.key == key ) - { - if ( prev != null ) - prev.next = e.next; - else - tab[index] = e.next; - --count; - return e.value; - } - } - return null; - } - - /// A remove method that takes an Object, for compatibility with - // java.util.Dictionary. The Object must be an Integer. - public Object remove( Object okey ) - { - if ( ! ( okey instanceof Integer ) ) - throw new InternalError( "key is not an Integer" ); - Integer ikey = (Integer) okey; - int key = ikey.intValue(); - return remove( key ); - } - - /// Clears the hash table so that it has no more elements in it. - public synchronized void clear() - { - IntHashtableEntry tab[] = table; - for ( int index = tab.length; --index >= 0; ) - tab[index] = null; - count = 0; - } - - /// Creates a clone of the hashtable. A shallow copy is made, - // the keys and elements themselves are NOT cloned. This is a - // relatively expensive operation. - public synchronized Object clone() - { - try - { - IntHashtable t = (IntHashtable) super.clone(); - t.table = new IntHashtableEntry[table.length]; - for ( int i = table.length ; i-- > 0 ; ) - t.table[i] = ( table[i] != null ) ? - (IntHashtableEntry) table[i].clone() : null; - return t; - } - catch ( CloneNotSupportedException e) - { - // This shouldn't happen, since we are Cloneable. - throw new InternalError(); - } - } - - /// Converts to a rather lengthy String. - public synchronized String toString() - { - int max = size() - 1; - StringBuffer buf = new StringBuffer(); - Enumeration k = keys(); - Enumeration e = elements(); - buf.append( "{" ); - - for ( int i = 0; i <= max; ++i ) - { - String s1 = k.nextElement().toString(); - String s2 = e.nextElement().toString(); - buf.append( s1 + "=" + s2 ); - if ( i < max ) - buf.append( ", " ); - } - buf.append( "}" ); - return buf.toString(); - } - } - - -class IntHashtableEntry - { - int hash; - int key; - Object value; - IntHashtableEntry next; - - protected Object clone() - { - IntHashtableEntry entry = new IntHashtableEntry(); - entry.hash = hash; - entry.key = key; - entry.value = value; - entry.next = ( next != null ) ? (IntHashtableEntry) next.clone() : null; - return entry; - } - } - - -class IntHashtableEnumerator implements Enumeration - { - boolean keys; - int index; - IntHashtableEntry table[]; - IntHashtableEntry entry; - - IntHashtableEnumerator( IntHashtableEntry table[], boolean keys ) - { - this.table = table; - this.keys = keys; - this.index = table.length; - } - - public boolean hasMoreElements() - { - if ( entry != null ) - return true; - while ( index-- > 0 ) - if ( ( entry = table[index] ) != null ) - return true; - return false; - } - - public Object nextElement() - { - if ( entry == null ) - while ( ( index-- > 0 ) && ( ( entry = table[index] ) == null ) ) - ; - if ( entry != null ) - { - IntHashtableEntry e = entry; - entry = e.next; - return keys ? new Integer( e.key ) : e.value; - } - throw new NoSuchElementException( "IntHashtableEnumerator" ); - } - } diff --git a/java/ImageProcessing/framework/ListFiles.java b/java/ImageProcessing/framework/ListFiles.java deleted file mode 100644 index 7abe067341c..00000000000 --- a/java/ImageProcessing/framework/ListFiles.java +++ /dev/null @@ -1,167 +0,0 @@ -package imaging.framework; - -import java.net.*; -import java.io.*; -import java.applet.*; - -public class ListFiles -{ - public ListFiles () - { - } - - public ListFiles (FileBrowser browser, Applet parent) - { - this.browser_ = browser; - try - { - this.fileIcon_ = new Icon (parent.getCodeBase () + - "../ImageProcessing/framework/" + - "doc01.gif", - parent); - this.dirIcon_ = new Icon (parent.getCodeBase () + - "../ImageProcessing/framework/" + - "file03.gif", - parent); - } - catch (MalformedURLException e) - { - } - } - - public String stripProtocolHeader (String url) - { - if (url.startsWith ("http://")) - { - return url.substring (7); - } - else - return url; - } - - public int listFiles (String url, FileNode fileNode) - { - String s = this.stripProtocolHeader (url); - String hostname = s; - String directory = null; - int index = -1; - - if ((index = s.indexOf ("/")) != -1) - { - hostname = s.substring (0, index); - directory = s.substring (index); - } - return this.listFiles (hostname, directory, fileNode); - } - - public int listFiles (String url, String directory, FileNode fileNode) - { - boolean validDirectory = false; - int count = 0; - String hostname = this.stripProtocolHeader (url); - this.url_ = url; - this.directory_ = directory; - try - { - Socket sock = new Socket (hostname, 80); - PrintStream out = new PrintStream (sock.getOutputStream ()); - DataInputStream in = new DataInputStream (sock.getInputStream ()); - System.out.println ("Connected to: " + hostname); - - String request = null; - if (directory.endsWith ("/")) - request = "GET " + directory + "\n\n"; - else - request = "GET " + directory + "/\n\n"; - - System.out.println ("Sending request: " + request); - - // Send the request - out.println (request); - - String reply = null; - // Receive the reply - - // Read all the data in a loop. Search for "Parent Directory" - // to verify that this indeed is a directory. If we encounter - // the string "" then assume that this is an HTML page - // and therefore the directory contained "index.html" - while ((reply = in.readLine ()) != null) - { - if (validDirectory) - this.parse (reply, fileNode); - else - { - // Take a guess at the type of data we get back - if (reply.indexOf ("Parent Directory") != -1) - validDirectory = true; - else if ((reply.toUpperCase ().indexOf ("") != -1) || - (reply.toUpperCase ().indexOf ("

    ") != -1) || - (reply.toUpperCase ().indexOf ("", i)) != -1) - endIndex = j - 1; - else - return -1; - - // Check if this is a directory - if (s.charAt (endIndex - 1) == '/') - isFile = false; - - if (endIndex >= startIndex) - { - name = s.substring (startIndex, endIndex); - if (browser_ != null) - { - // System.out.println (name); - if (isFile) - fileNode.addEntry (new FileNode (name, this.fileIcon_, null, - fileNode.app ())); - else - { - FileNode f = new FileNode (name, this.dirIcon_, this, - fileNode.app ()); - fileNode.addEntry (f); - f.setExpandable (true); - } - } - } - return 0; - } - - private FileBrowser browser_ = null; - private String url_ = null; - private String directory_ = null; - private Icon fileIcon_; - private Icon dirIcon_; -} diff --git a/java/ImageProcessing/framework/LoadURLFrame.java b/java/ImageProcessing/framework/LoadURLFrame.java deleted file mode 100755 index 610d9eaafa8..00000000000 --- a/java/ImageProcessing/framework/LoadURLFrame.java +++ /dev/null @@ -1,142 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import java.net.*; -import java.io.*; - -/****************************************************** - * Future idea: - * - * Create a smart button class with an invoke method that's - * to be called when the button is pressed. - * - * Subclasses override the invoke method to define - * specific behavior. - * - * That would allow things like load and save frames - * to be almost exactly the same -- one could inherit - * from the other and override addButtons, etc - *****************************************************/ - -class LoadURLFrame extends Frame -{ - public LoadURLFrame (String title, ImageApp parent) - { - super (title); - - this.parent_ = parent; - this.resize (500,130); - - this.addButtons(); - } - - private void addButtons() - { - this.setLayout (new BorderLayout ()); - - Panel textPanel = new Panel (); - textPanel.setLayout (new BorderLayout ()); - textPanel.add ("North", new Label ("Image Location:")); - textPanel.add ("Center", this.openURLText_); - - Panel buttonPanel = new Panel (); - buttonPanel.setLayout (new FlowLayout (FlowLayout.CENTER)); - - buttonPanel.add (this.openButton_); - - buttonPanel.add (this.clearButton_); - buttonPanel.add (this.cancelButton_); - - this.add ("North", textPanel); - this.add ("South", buttonPanel); - } - - private int browseFiles (String url) - { - fileBrowser_ = new FileBrowser ("Browse", this.parent_); - ListFiles list = new ListFiles (this.fileBrowser_, this.parent_); - return this.fileBrowser_.initialize (url, list); - } - - // Handle all action events - public boolean action (Event e, Object arg) - { - if (e.target instanceof Button) - { - if (e.target == this.openButton_) - { - this.getURL (); - } - else if (e.target == this.clearButton_) - { - this.openURLText_.setText (new String ()); - this.openURLText_.requestFocus (); - } - else if (e.target == this.cancelButton_) - this.dispose (); - validate (); - return true; - } - else - return false; - } - - public boolean keyDown (Event e, int key) - { - if (key == 10) - { - this.getURL (); - return true; - } - else - return false; - } - - private void getURL () - { - this.hide (); - String url = this.openURLText_.getText (); - this.dispose (); - - // The following is only for debugging - if (url.compareTo ("ru") == 0) - url = "http://www.cs/~pjain/gifs/"; - else if (url.compareTo ("pj") == 0) - url = "http://www.cs/~pjain/myphoto.gif"; - - if (!url.endsWith ("/") && - (this.parent_.openURL (url) != -1)) // Try to open it as an image - return; - else - { - ListFiles list = new ListFiles (); - switch (this.browseFiles (url)) - { - case 1: - this.fileBrowser_.show (); - break; - case 0: - DialogManager.popDialog (DialogType.MALFORMED_URL, - "Error: Directory contains index.html"); - break; - default: - DialogManager.popDialog (DialogType.MALFORMED_URL, - "Error: Not a valid image or URL not found"); - break; - } - } - } - - // Create the Open URL Frame and also the buttons which appear in - // it - private Button openButton_ = new Button ("Open"); - private Button clearButton_ = new Button ("Clear"); - private Button cancelButton_ = new Button ("Cancel"); - - private TextField openURLText_ = new TextField (40); - - private FileBrowser fileBrowser_ = null; - private ImageApp parent_; - -} diff --git a/java/ImageProcessing/framework/Makefile b/java/ImageProcessing/framework/Makefile deleted file mode 100644 index 1187b8a88d7..00000000000 --- a/java/ImageProcessing/framework/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes -DOCDIR = $(JACE_WRAPPER)/doc - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) - -clean: - rm -rf *~ - -realclean: clean - rm -rf $(JACE_WRAPPER)/classes/imaging/framework - -files = ImageProcessor.java \ - DialogType.java \ - LoadURLFrame.java \ - SaveURLFrame.java \ - DialogManager.java \ - ImageCanvas.java \ - ImageApp.java \ - BaseButton.java \ - FilePanel.java \ - StatusDisplay.java \ - Icon.java \ - Hierarchy.java \ - HierarchyAdapter.java \ - FileBrowser.java \ - ListFiles.java \ - IntHashtable.java \ - ImageEncoder.java \ - GifEncoder.java \ - ImageByteCounter.java \ - StatusIndicator.java \ - GIFHandler.java \ - ImageSender.java \ - ServerTest.java \ - ServerHandler.java \ - Tester.java \ - TestHandler.java diff --git a/java/ImageProcessing/framework/MedJava.html b/java/ImageProcessing/framework/MedJava.html deleted file mode 100644 index a073413bfbb..00000000000 --- a/java/ImageProcessing/framework/MedJava.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - -


    - - - - -
    - - diff --git a/java/ImageProcessing/framework/Options.java b/java/ImageProcessing/framework/Options.java deleted file mode 100644 index edbe90ba904..00000000000 --- a/java/ImageProcessing/framework/Options.java +++ /dev/null @@ -1,25 +0,0 @@ -package imaging.framework; - -import java.awt.*; - -class Options -{ - // Set GridBagConstraints - public static void constrain (Container container, Component component, - int gridx, int gridy, - int gridwidth, int gridheight, - int fill, int anchor) - { - GridBagConstraints c = new GridBagConstraints (); - GridBagLayout gbl = (GridBagLayout) container.getLayout (); - - c.gridx = gridx; - c.gridy = gridy; - c.gridwidth = gridwidth; - c.gridheight = gridheight; - c.fill = fill; - c.anchor = anchor; - gbl.setConstraints (component, c); - container.add (component); - } -} diff --git a/java/ImageProcessing/framework/SaveURLFrame.java b/java/ImageProcessing/framework/SaveURLFrame.java deleted file mode 100755 index c3b6adf3490..00000000000 --- a/java/ImageProcessing/framework/SaveURLFrame.java +++ /dev/null @@ -1,133 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import java.awt.image.*; -import java.net.*; -import java.io.*; - -/****************************************************** - * Future idea: - * - * Create a smart button class with an invoke method that's - * to be called when the button is pressed. - * - * Subclasses override the invoke method to define - * specific behavior. - * - * That would allow things like load and save frames - * to be almost exactly the same -- one could inherit - * from the other and override addButtons, etc - *****************************************************/ - - -class SaveURLFrame extends Frame -{ - public SaveURLFrame (String title, ImageApp parent) - { - super (title); - - this.parent_ = parent; - this.resize (500,200); - - this.addButtons(); - } - - private void addButtons() - { - this.setLayout (new BorderLayout ()); - - Panel textPanels = new Panel(); - textPanels.setLayout(new BorderLayout()); - - Panel URLPanel = new Panel (); - URLPanel.setLayout (new BorderLayout ()); - URLPanel.add ("North", new Label ("Image Location:")); - URLPanel.add ("Center", this.openURLText_); - - // Password panel - Panel pwPanel = new Panel(); - pwPanel.setLayout (new BorderLayout ()); - pwPanel.add ("North", new Label ("Authentication:")); - pwPanel.add ("Center", this.passwordText_); - - textPanels.add("North", URLPanel); - textPanels.add("South", pwPanel); - - Panel buttonPanel = new Panel (); - buttonPanel.setLayout (new FlowLayout (FlowLayout.CENTER)); - - buttonPanel.add (this.saveButton_); - buttonPanel.add (this.clearButton_); - buttonPanel.add (this.cancelButton_); - - this.add ("North", textPanels); - this.add ("South", buttonPanel); - } - - // Handle all action events - public boolean action (Event e, Object arg) - { - if (e.target instanceof Button) - { - if (e.target == this.saveButton_) - { - this.saveFile (); - } - else if (e.target == this.clearButton_) - { - this.openURLText_.setText (new String ()); - this.openURLText_.requestFocus (); - } - else if (e.target == this.cancelButton_) - this.dispose (); - validate (); - return true; - } - else - return false; - } - - public boolean keyDown (Event e, int key) - { - if (key == 10) - { - this.saveFile (); - return true; - } - else - return false; - } - - private void saveFile () - { - String url = this.openURLText_.getText (); - String password = this.passwordText_.getText(); - this.hide (); - this.dispose (); - - // The following is only for debugging - if (url.startsWith ("#")) - url = "http://merengue.cs:5432/" + url.substring (1); - - if ((password != null) && (password.length() > 0)) - this.parent_.saveFile (url, password); - else - this.parent_.saveFile (url); - } - - - // Create the Open URL Frame and also the buttons which appear in - // it - private Button saveButton_ = new Button ("Save"); - private Button clearButton_ = new Button ("Clear"); - private Button cancelButton_ = new Button ("Cancel"); - - private TextField openURLText_ = new TextField (40); - private TextField passwordText_ = new TextField (40); - - private ImageApp parent_; - - // Flag indicating if this is a load window or a save window - private boolean open_ = true; - -} diff --git a/java/ImageProcessing/framework/Separator.java b/java/ImageProcessing/framework/Separator.java deleted file mode 100644 index 6bd610e1ad9..00000000000 --- a/java/ImageProcessing/framework/Separator.java +++ /dev/null @@ -1,90 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A separator that is drawn either vertically or horizontally - * depending upon how it is laid out. Can be drawn either - * etched-in or etched-out, with varying thicknesses. Both - * thickness and etching are settable at construction time - * only.

    - * - * Default thickness is 2 pixels and default etching is - * Etching.IN. Note that thicknesses greater than 4 loose the - * etching effect.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Etching - * @see gjt.test.SeparatorTest - */ -public class Separator extends Canvas { - static private Etching _defaultEtching = Etching.IN; - static private int _defaultThickness = 2; - - private Etching etching; - private int thickness; - - public Separator() { - this(_defaultThickness, _defaultEtching); - } - public Separator(int thickness) { - this(thickness, _defaultEtching); - } - public Separator(Etching etching) { - this(_defaultThickness, etching); - } - public Separator(int thickness, Etching etching) { - this.etching = etching; - this.thickness = thickness; - resize(thickness, thickness); - } - public Dimension minimumSize() { - return preferredSize(); - } - public Dimension preferredSize() { - return new Dimension(thickness, thickness); - } - public void paint(Graphics g) { - Dimension size = size(); - Color brighter = getBackground().brighter().brighter(); - Color darker = getBackground().darker().darker(); - - if(etching == Etching.IN) { - if(size.width > size.height) - paintHorizontal(g, size, darker, brighter); - else - paintVertical(g, size, darker, brighter); - } - else { - if(size.width > size.height) - paintHorizontal(g, size, brighter, darker); - else - paintVertical(g, size, brighter, darker); - } - } - public String paramString() { - Dimension size = size(); - Orientation orient = size.width > size.height ? - Orientation.HORIZONTAL : - Orientation.VERTICAL; - return super.paramString() + "thickness=" + - thickness + "," + etching + "," + orient; - } - private void paintHorizontal(Graphics g, Dimension size, - Color top, Color bottom) { - g.setColor(top); - g.fillRect(0, (size.height/2) - (thickness/2), - size.width, thickness/2); - g.setColor(bottom); - g.fillRect(0, size.height/2, size.width, thickness/2); - } - private void paintVertical(Graphics g, Dimension size, - Color left, Color right) { - g.setColor(left); - g.fillRect((size.width/2) - (thickness/2), - 0, thickness/2, size.height); - g.setColor(right); - g.fillRect(size.width/2, 0, thickness/2, size.height); - } -} diff --git a/java/ImageProcessing/framework/ServerHandler.java b/java/ImageProcessing/framework/ServerHandler.java deleted file mode 100644 index 88da64d6328..00000000000 --- a/java/ImageProcessing/framework/ServerHandler.java +++ /dev/null @@ -1,50 +0,0 @@ -package imaging.framework; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class ServerHandler extends SvcHandler -{ - public int open (Object obj) - { - new Thread (this).start (); - return 0; - } - - public void run () - { - int msg_len; - try - { - while (true) - { - StringBuffer msg = new StringBuffer (); - msg_len = this.peer ().recv (msg); - if (msg_len == 0) - break; - System.out.println (msg); - } - } - catch (NullPointerException e) - { - ACE.ERROR ("connection reset by peer"); - } - catch (IOException e) - { - ACE.ERROR (e); - } - finally - { - try - { - this.peer ().close (); - } - catch (IOException e) - { - } - } - - } -} diff --git a/java/ImageProcessing/framework/ServerTest.java b/java/ImageProcessing/framework/ServerTest.java deleted file mode 100644 index b5ab00596ea..00000000000 --- a/java/ImageProcessing/framework/ServerTest.java +++ /dev/null @@ -1,67 +0,0 @@ -package imaging.framework; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class ServerTest -{ - void print_usage_and_die () - { - System.out.println ("Usage: ServerTest []"); - System.exit (0); - } - - public void init (int port) - { - try - { - Acceptor acceptor = new Acceptor (Class.forName ("imaging.framework.ServerHandler")); - acceptor.open (port); - while (true) - { - acceptor.accept (); - } - } - catch (ClassNotFoundException e) - { - ACE.ERROR (e); - } - catch (SocketException e) - { - ACE.ERROR ("Socket Exception: " + e); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR ("Dang!" + e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - public static void main (String [] args) - { - int port = ACE.DEFAULT_SERVER_PORT; - ServerTest server = new ServerTest (); - - if (args.length == 1) - { - try - { - port = Integer.parseInt (args[0]); - } - catch (NumberFormatException e) - { - server.print_usage_and_die (); - } - } - server.init (port); - } -} diff --git a/java/ImageProcessing/framework/StatusDisplay.java b/java/ImageProcessing/framework/StatusDisplay.java deleted file mode 100644 index e20e9b8384d..00000000000 --- a/java/ImageProcessing/framework/StatusDisplay.java +++ /dev/null @@ -1,23 +0,0 @@ -package imaging.framework; - -import java.awt.*; -import gjt.Separator; - -class StatusDisplay extends Panel -{ - public StatusDisplay () - { - this.setLayout (new BorderLayout ()); - this.textField_.setEditable (false); - this.add ("North", new Separator ()); - this.add ("Center", this.textField_); - this.add ("South", new Separator ()); - } - - public void setText (String s) - { - this.textField_.setText (s); - } - - private TextField textField_ = new TextField (); -} diff --git a/java/ImageProcessing/framework/StatusIndicator.java b/java/ImageProcessing/framework/StatusIndicator.java deleted file mode 100644 index 0f13a71c016..00000000000 --- a/java/ImageProcessing/framework/StatusIndicator.java +++ /dev/null @@ -1,70 +0,0 @@ -package imaging.framework; - -import java.io.*; -import java.awt.*; - -public class StatusIndicator extends Frame -{ - public StatusIndicator (String title, Image image) - { - super (title); - this.image_ = image; - // statusCanvas_ = new CounterCanvas (image); - this.setLayout (new BorderLayout ()); - this.text_ = new TextField (); - this.label_ = new TextField ("Generating"); - - this.add ("North", this.label_); - this.add ("Center", text_); - // this.add ("Center", statusCanvas_); - // this.add ("Center", new Button ("Hello")); - // this.add ("South", new Button ("Hello")); - this.resize (300,200); - this.show (); - } - - public void update (int count) - { - // this.label_.setText ("Generating..."); - this.text_.setText ((new Integer (count++)).toString ()); - // statusCanvas_.update (); - // textCanvas_.setCount (count); - } - - TextField text_; - TextField label_; - Image image_; - // CounterCanvas statusCanvas_ = null; -} - -class CounterCanvas extends Canvas -{ - public CounterCanvas (Image image) - { - this.image_ = image; - } - - public void paint (Graphics g) - { - g.clearRect (0, 0, this.size ().width, this.size ().height); - this.setBackground (Color.white); - - if (this.image_ != null) - g.drawImage(this.image_, - 40, 40, - this.image_.getWidth (this), - this.image_.getHeight (this), - this); - - g.setFont (new Font ("TimesRoman", Font.PLAIN, 18)); - g.drawString ("Generating GIF format: ", 120, 120); - } - - public void update () - { - repaint (); - } - - Image image_ = null; -} - diff --git a/java/ImageProcessing/framework/TestHandler.java b/java/ImageProcessing/framework/TestHandler.java deleted file mode 100644 index 5a97ae6f8b2..00000000000 --- a/java/ImageProcessing/framework/TestHandler.java +++ /dev/null @@ -1,149 +0,0 @@ -package imaging.framework; - -import java.io.*; -import java.net.*; -import java.awt.*; -import java.awt.image.*; -import java.util.*; -import JACE.OS.*; -import JACE.Connection.*; -import JACE.Timers.*; - -public class TestHandler extends SvcHandler -{ - public TestHandler (String imageList, - String JAWSServer, int JAWSPort, - ImageApp parent) - { - this.imageList_ = imageList; - this.JAWSServer_ = JAWSServer; - this.JAWSPort_ = JAWSPort; - this.parent_ = parent; - this.filterTable_ = this.parent_.filterTable(); - } - - public int open (Object obj) - { - // We got called by the Connector so assume connection was set up - // fine and therfore do not use standard output - stdOut = false; - - doTesting (); - return 0; - } - - public void doTesting () - { - if (imageList_ != null) - { - StringTokenizer tokens = new StringTokenizer (imageList_); - String image = null; - - // Now parse the string, picking up image names. - while (tokens.hasMoreTokens ()) - { - // Get the next token - image = tokens.nextToken (); - this.process (image); - } - } - } - - private void write (String data) - { - try - { - // If we are connected to the server then send the data to the - // server, otherwise write it to standard out. - if (stdOut) - System.out.print (data); - else - this.peer ().send (data); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - private void process (String image) - { - this.write ("Image: " + image + "\n"); - - this.loadImage (image); - this.processImage (image); - this.uploadImage (image); - } - - private void loadImage (String image) - { - this.write ("\tLoading..."); - - // Start the timer - timer_.start (); - - // Load the image - parent_.openURL (image); - - // Stop the timer - timer_.stop (); - long time = timer_.elapsedTime (); - - this.write ("done (" + ((double) time)/1000 + " seconds).\n"); - } - - private void processImage (String image) - { - this.write ("\tProcessing...\n"); - - for (Enumeration e = filterTable_.keys (); e.hasMoreElements (); ) - { - String filterName = (String) e.nextElement (); - - this.write ("\t\t" + filterName + "..."); - - ImageFilter filter = (ImageFilter) filterTable_.get (filterName); - - // Reset the image -- in case it was modified earlier - this.parent_.resetImage (); - - // Start the timer - timer_.start (); - - this.parent_.apply (filter); - - // Stop the timer - timer_.stop (); - long time = timer_.elapsedTime (); - - this.write ("done (" + ((double) time)/1000 + " seconds).\n"); - } - } - - private void uploadImage (String image) - { - int index = image.lastIndexOf ("/"); - String imageName = image.substring (index+1); - String url = "http://" + this.JAWSServer_ + ":" + this.JAWSPort_ + "/" + imageName; - this.write ("\tUploading " + url + "..."); - - // Start the timer - timer_.start (); - - this.parent_.saveFile (url); - - // Stop the timer - timer_.stop (); - long time = timer_.elapsedTime (); - - this.write ("done (" + ((double) time)/1000 + " seconds).\n"); - } - - private ImageApp parent_ = null; - private ProfileTimer timer_ = new ProfileTimer (); - private String imageList_ = null; - private boolean stdOut = true; - private Hashtable filterTable_ = null; - private String JAWSServer_ = null; - private int JAWSPort_ = 5432; -} diff --git a/java/ImageProcessing/framework/Tester.java b/java/ImageProcessing/framework/Tester.java deleted file mode 100644 index 79204bb4c5a..00000000000 --- a/java/ImageProcessing/framework/Tester.java +++ /dev/null @@ -1,148 +0,0 @@ -package imaging.framework; - -import java.io.*; -import java.net.*; -import java.awt.*; -import java.awt.image.*; -import java.util.*; -import JACE.Connection.*; -import JACE.OS.*; - -public class Tester implements Runnable -{ - public static final String DEFAULT_TEST_SERVER = "siesta.cs.wustl.edu"; - public static final int DEFAULT_TEST_SERVER_PORT = 7787; - public static final String DEFAULT_JAWS_SERVER = "siesta.cs.wustl.edu"; - public static final int DEFAULT_JAWS_SERVER_PORT = 5432; - - public Tester (String testInFile, - ImageApp parent) - { - this.testInFile_ = testInFile; - this.parent_ = parent; - } - - public void initialize () - { - System.out.println ("Initializing tester..."); - - // Get the hostname of the test server - this.server_ = this.parent_.getParameter ("testServer"); - if (this.server_ == null) - this.server_ = DEFAULT_TEST_SERVER; - - // Get the port number of the test server - String testPortString = this.parent_.getParameter ("testPort"); - if (testPortString == null) - this.port_ = DEFAULT_TEST_SERVER_PORT; - else - this.port_ = (new Integer (testPortString)).intValue (); - - // Get the hostname of the JAWS server - this.JAWSServer_ = this.parent_.getParameter ("JAWSServer"); - if (this.JAWSServer_ == null) - this.JAWSServer_ = DEFAULT_JAWS_SERVER; - - // Get the port number of the JAWS server - String JAWSPortString = this.parent_.getParameter ("JAWSPort"); - if (JAWSPortString == null) - this.JAWSServerPort_ = DEFAULT_JAWS_SERVER_PORT; - else - this.JAWSServerPort_ = (new Integer (JAWSPortString)).intValue (); - - System.out.println ("Test Input File: " + this.testInFile_); - System.out.println ("Test Server: " + this.server_ + "\tPort: " + this.port_); - System.out.println ("JAWS Server: " + this.JAWSServer_ + "\tPort: " + this.JAWSServerPort_); - - // Run in your own thread of control - (new Thread (this)).start (); - } - - public void run () - { - this.setupConnection (this.getImages ()); - } - - private String getImages () - { - URL inputURL; - String imageList = null; - try - { - // Create input URL - inputURL = new URL (this.testInFile_); - - // Get the input stream and pipe it to a DataInputStream - DataInputStream iStream = new DataInputStream (inputURL.openStream ()); - - // Create a buffer to hold all the data we get - StringBuffer tempBuf = new StringBuffer (); - // Keep reading the data until we are done - String tempString = iStream.readLine (); - while (tempString != null) - { - tempBuf.append (tempString); - tempBuf.append (" "); - tempString = iStream.readLine (); - } - imageList = tempBuf.toString (); - } - catch (MalformedURLException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - return imageList; - } - - private void setupConnection (String imageList) - { - // First try to connect to the server. If the server is not - // running then we will write to standard output. - - // Create a handler which will handle our connection. - TestHandler handler = new TestHandler (imageList, - this.JAWSServer_, this.JAWSServerPort_, - this.parent_); - try - { - Connector connector = new Connector (); - connector.open (server_, port_); - connector.connect (handler); - } - catch (UnknownHostException e) - { - ACE.ERROR (e); - } - catch (SocketException e) - { - System.out.println ("Test Server not running! Writing to standard out..."); - // The server is not running so write all the output to screen - handler.doTesting (); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - private String testInFile_ = null; - private ImageApp parent_ = null; - private String server_ = "siesta.cs.wustl.edu"; - private int port_ = 7787; - - private String JAWSServer_ = "siesta.cs.wustl.edu"; - private int JAWSServerPort_ = 5432; -} - diff --git a/java/ImageProcessing/framework/doc01.gif b/java/ImageProcessing/framework/doc01.gif deleted file mode 100644 index 51262529f6d..00000000000 Binary files a/java/ImageProcessing/framework/doc01.gif and /dev/null differ diff --git a/java/ImageProcessing/framework/file03.gif b/java/ImageProcessing/framework/file03.gif deleted file mode 100644 index c98654c604b..00000000000 Binary files a/java/ImageProcessing/framework/file03.gif and /dev/null differ diff --git a/java/ImageProcessing/framework/filter.conf b/java/ImageProcessing/framework/filter.conf deleted file mode 100644 index 2e90ea136ce..00000000000 --- a/java/ImageProcessing/framework/filter.conf +++ /dev/null @@ -1,15 +0,0 @@ -imaging.filters.EmbossFilter -imaging.filters.BleachFilter -imaging.filters.BlurFilter -imaging.filters.DarkenFilter -imaging.filters.DeSpeckleFilter -imaging.filters.EdgeDetectFilter -imaging.filters.OilPaintFilter -imaging.filters.PixelizeFilter -imaging.filters.RotateFilter -imaging.filters.SharpenFilter -imaging.filters.SpreadFilter - - - - diff --git a/java/ImageProcessing/framework/help.conf b/java/ImageProcessing/framework/help.conf deleted file mode 100644 index 8a07e2867d9..00000000000 --- a/java/ImageProcessing/framework/help.conf +++ /dev/null @@ -1,216 +0,0 @@ - MedJava - ~~~~~~~ - -Overview --------- - -MedJava is a prototype of a large scale distributed medical imaging -system. It has been developed using Java, in particular, several -components of Java ACE. - -Here are the key features of the MedJava toolkit: - -* Images can be both downloaded and uploaded across the network. -* Images can be uploaded to Web servers that support HTTP PUT - functionality (for example, JAWS). -* The tool contains more than a dozen image filters to do image - processing. -* The image filters can be configured into the system dynamically - using the Service Configurator pattern. - -Please send comments/suggestions to Prashant Jain (pjain@cs.wustl.edu). - -====================================================================== -Getting Started ---------------- - -MedJava applet can be configured with several (optional) parameters -via the HTML file from which the applet is invoked. Here is a list of -the parameters: - -Note: - 1) * indicates test-mode parameters - 2) All Default URLs begin with - http://www.cs.wustl.edu/~pjain/java/ACE_wrappers/java/ImageProcessing/framework/ - - -Name - - -Description - - - - -Default -

    --------------------------------------------------------------- -

    -configFile - - -Specifies a URL that points to the filter -

    - - -configuration file. - - - - - -filter.conf -

    -

    -*testFile - - -Specifies a URL that points to the file that contains -

    - - -a list of images that need to be tested. - - - -testImages.conf -

    -

    -*testServer - -Specifies the name of the test server. - - - -siesta.cs.wustl.edu -

    -

    -*testPort - - -Specifies the port number of the test server. - - - -7789 -

    -

    -*JAWSServer - -Specifies the name of the server to use in -

    - - -doing image uploading during testing. - - - -siesta.cs.wustl.edu -

    -

    -*JAWSPort - -Specifies the port number of the server to use -

    - - -in doing image uploading during testing. - - - -5432 -

    -====================================================================== - - -Menu ----- - -o Open URL - - Allows user to specify a URL. If the URL points to an image that is - readable, then the image is downloaded and displayed in the view - panel. - - If the URL points to a directory that is readable then a window - appears displaying a list of files in that directory. The user can - then click on an image file in this window to fetch an image. - - IMPORTANT NOTE: If the URL points to a directory, the directory must - not contain an "index.html" file! If it does, the - query will fail and no list of files will appear. - -o Save - - Allows user to specify a URL to save the currently loaded image to. - All images are saved in GIF format. Note that saving/uploading a - file can take a while depending upon the size of the image. This is - because, the tool first generates the GIF format and then sends the - bytes across the network. - - IMPORTANT NOTE: The Web server must support image uploading, that is - HTTP PUT functionality. Also, due to applet - restrictions, the server MUST be running on the same - host from which the applet was downloaded from. - -o Reset - - Resets the image to the original. Note that the effects of any - filters that were applied to the image will be lost. - -o Reload Filters - - Reads the filter configuration file again and reloads all the image - filters. Note that this serves as the trigger of the Service - Configurator pattern allowing the tool to reconfigure based on new - configuration information. - - The filters are specified in filter.conf. To add/remove filters, - change this file and then select "Reload Filters". - - To specify a different configuration file, please see "Getting Started". - -o Zoom In - - Zooms in to the currently displayed image. Note that the applet only - allows to zoom in 4 x times. - -o Zoom Out - - Zooms out of the currently displayed image. Note that the applet - only allows to zoom out 1/4 x times. - -o Apply - - Apply the currently selected filter. By default no filter is - selected. Note that applying a filter to an image can taken - anywhere between a few seconds to a few minutes depending upon the - image size, the filter type, and the speed of the machine on which - the applet is running. - -o Filters: - - Allows the user to select a filter from the ones that have been - configured into the applet. Note that this is a choice menu and its - entries depend upon the filters that were specified in the filter - configuration file. - - For more information, on how to specify the filters, please see - "Getting Started". - -o About - - Displays the "About" dialog containing the version of the MedJava - applet. - -o Help - - Displays this window - -====================================================================== - -Limitations ------------ - -In several browsers, for images larger than 100 KB, the Java virtual -machine may run out of memory while doing image processing. diff --git a/java/ImageProcessing/framework/test.html b/java/ImageProcessing/framework/test.html deleted file mode 100644 index 7a9acf34e38..00000000000 --- a/java/ImageProcessing/framework/test.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - -


    - - - - - - - - -
    - - \ No newline at end of file diff --git a/java/ImageProcessing/framework/testFilter.conf b/java/ImageProcessing/framework/testFilter.conf deleted file mode 100644 index 2e90ea136ce..00000000000 --- a/java/ImageProcessing/framework/testFilter.conf +++ /dev/null @@ -1,15 +0,0 @@ -imaging.filters.EmbossFilter -imaging.filters.BleachFilter -imaging.filters.BlurFilter -imaging.filters.DarkenFilter -imaging.filters.DeSpeckleFilter -imaging.filters.EdgeDetectFilter -imaging.filters.OilPaintFilter -imaging.filters.PixelizeFilter -imaging.filters.RotateFilter -imaging.filters.SharpenFilter -imaging.filters.SpreadFilter - - - - diff --git a/java/VERSION b/java/VERSION deleted file mode 100644 index d3eb3b2efcc..00000000000 --- a/java/VERSION +++ /dev/null @@ -1,5 +0,0 @@ -This is Java ACE version 1.4.2, released Monday, December 22, 1997 - -If you have any problems, please send email to Douglas C. Schmidt -at (schmidt@cs.wustl.edu) - diff --git a/java/apps/NexusII/README b/java/apps/NexusII/README deleted file mode 100644 index 60a630cef5a..00000000000 --- a/java/apps/NexusII/README +++ /dev/null @@ -1,58 +0,0 @@ -Nexus II - A chat application in Java with image support --------------------------------------------------------- - - Rajeev Bector (rajeev@cs.wustl.edu) - Aravind Gopalan (aravind@cs.wustl.edu) - Sumedh Mungee (sumedh@cs.wustl.edu) - -This is the README file. This distribution contains the NexusII -server, which is a java application that can be started by a command -similar to the one contained in the sample "start" shell-script. - -It also contains a "start.html" file, which serves as an example on how -a client applet can be included within a .html file. - -A sample use of this, alongwith a simple users manual, can be found at -http://cumbia.cs.wustl.edu/NexusII/ - -Compiling (optional, all the class files are already present) -------------------------------------------------------------- - -All the source .java files, alongwith the makefile should be placed in -the same directory, and can then be compiled using make. - -The client/server use the following packages: - - awtCommand: This package provides a GUI toolkit for the applet - ACE: This is used both by the client/server for - networking. ACE documentation can be found at: - http://www.cs.wustl.edu/~schmidt/ACE.html - -Running -------- - -See the "start" and "start.html" files for examples on how to run the -server and client applet, respectively. The "mywebaddress" variable is -the "temporary" URL of the server, and the "mywebdir" variable is the -temporary directory in which images are cached by the server. Make -sure that both these exist and are world-readable. The "mywebdir" -should be writable to by the server. The "mywebdir" and "mywebaddress" -variables should thus point to the same location, of which mywebdir -contains the path, and mywebaddress contains the URL. - -See "start" for an example on how to do this. - -If you only want to use an existing running server, all you need to -know is the server host-name and port number, and you can directly run -the start.html file via appletviewer. - -Notes ------ - -1. You can compile the client and server using the same makefile. -2. The client applet MUST reside on the same host as the server is running on. -4. run the server using start script. Change the paramters in the start script, - suitable to your configurations. The start script contains further - information on this. - - diff --git a/java/apps/NexusII/classes/ClientHandler.class b/java/apps/NexusII/classes/ClientHandler.class deleted file mode 100644 index c6bf722c54f..00000000000 Binary files a/java/apps/NexusII/classes/ClientHandler.class and /dev/null differ diff --git a/java/apps/NexusII/classes/FrameHandler.class b/java/apps/NexusII/classes/FrameHandler.class deleted file mode 100644 index 72d0c67ce70..00000000000 Binary files a/java/apps/NexusII/classes/FrameHandler.class and /dev/null differ diff --git a/java/apps/NexusII/classes/ImageCanvas.class b/java/apps/NexusII/classes/ImageCanvas.class deleted file mode 100644 index eefcfe0f323..00000000000 Binary files a/java/apps/NexusII/classes/ImageCanvas.class and /dev/null differ diff --git a/java/apps/NexusII/classes/NexusClientApplet.class b/java/apps/NexusII/classes/NexusClientApplet.class deleted file mode 100644 index 8157ac32759..00000000000 Binary files a/java/apps/NexusII/classes/NexusClientApplet.class and /dev/null differ diff --git a/java/apps/NexusII/classes/NexusIIserver.class b/java/apps/NexusII/classes/NexusIIserver.class deleted file mode 100644 index f8e566ce282..00000000000 Binary files a/java/apps/NexusII/classes/NexusIIserver.class and /dev/null differ diff --git a/java/apps/NexusII/classes/Room.class b/java/apps/NexusII/classes/Room.class deleted file mode 100644 index a9d0d4f97bb..00000000000 Binary files a/java/apps/NexusII/classes/Room.class and /dev/null differ diff --git a/java/apps/NexusII/classes/RoomFactory.class b/java/apps/NexusII/classes/RoomFactory.class deleted file mode 100644 index c1f92d83728..00000000000 Binary files a/java/apps/NexusII/classes/RoomFactory.class and /dev/null differ diff --git a/java/apps/NexusII/classes/RoomFrame.class b/java/apps/NexusII/classes/RoomFrame.class deleted file mode 100644 index 4b648e1a8cc..00000000000 Binary files a/java/apps/NexusII/classes/RoomFrame.class and /dev/null differ diff --git a/java/apps/NexusII/classes/RoomThread.class b/java/apps/NexusII/classes/RoomThread.class deleted file mode 100644 index 829fa4175cb..00000000000 Binary files a/java/apps/NexusII/classes/RoomThread.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CApplet.class b/java/apps/NexusII/classes/awtCommand/CApplet.class deleted file mode 100644 index 3af0361de76..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CApplet.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CApplet.java b/java/apps/NexusII/classes/awtCommand/CApplet.java deleted file mode 100644 index a8680d9abf3..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CApplet.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - -package awtCommand; - -import java.awt.*; -import java.applet.*; - -public class CApplet extends Applet { - - protected Command gotFocusCommand = null, - lostFocusCommand = null; - protected Command mouseDownCommand = null, - mouseDragCommand = null, - mouseEnterCommand = null, - mouseExitCommand = null, - mouseMoveCommand = null, - mouseUpCommand = null; - protected Command keyUpCommand = null, - keyDownCommand = null; - - /** - * Constructs a new CApplet. - */ - public CApplet() { - super(); - } - - /* - * event handling methods - */ - - /** - * Called if the window gains focus. This results in a call to - * the gotFocusCommand object with what set to null. - */ - public boolean gotFocus(Event evt, Object what) { - if (gotFocusCommand != null) - gotFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the window loses focus. This results in a call to - * the lostFocusCommand object with what set to null. - */ - public boolean lostFocus(Event evt, Object what) { - if (lostFocusCommand != null) - lostFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse is down. - * This results in a call to the mouseDownCommand object with - * what set to Point(x, y) - */ - public boolean mouseDown(Event evt, int x, int y) { - if (mouseDownCommand != null) - mouseDownCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is dragged. - * This results in a call to the mouseDragCommand object with - * what set to Point(x, y) - */ - public boolean mouseDrag(Event evt, int x, int y) { - if (mouseDragCommand != null) - mouseDragCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse enters the window. - * This results in a call to the mouseEnterCommand object with - * what set to Point(x, y) - */ - public boolean mouseEnter(Event evt, int x, int y) { - if (mouseEnterCommand != null) - mouseEnterCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse moves inside the window. - * This results in a call to the mouseMoveCommand object with - * what set to Point(x, y) - */ - public boolean mouseMove(Event evt, int x, int y) { - if (mouseExitCommand != null) - mouseExitCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is up. - * This results in a call to the mouseUpCommand object with - * what set to Point(x, y) - */ - public boolean mouseUp(Event evt, int x, int y) { - if (mouseUpCommand != null) - mouseUpCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if a character is pressed. - * This results in a call to the keyDownCommand object with - * what set to Integer(key). - */ - public boolean keyDown(Event evt, int key) { - if (keyDownCommand != null) - keyDownCommand.execute(this, evt, new Integer(key)); - return false; - } - - /** - * Called if a character is released. - * This results in a call to the keyUpCommand object with - * what set to Integer(key). - */ - public boolean keyUp(Event evt, int key) { - if (keyUpCommand != null) - keyUpCommand.execute(this, evt, new Integer(key)); - return false; - } - - - /* - * set...Command methods - */ - - - /** - * Sets the mouseDownCommand object. - */ - public void setMouseDownCommand(Command c) { - mouseDownCommand = c; - } - - /** - * Sets the moueDragCommand object. - */ - public void setMouseDragCommand(Command c) { - mouseDragCommand = c; - } - - /** - * Sets the mouseEnterCommand object. - */ - public void setMouseEnterCommand(Command c) { - mouseEnterCommand = c; - } - - /** - * Sets the mouseExitCommand object. - */ - public void setMouseExitCommand(Command c) { - mouseExitCommand = c; - } - - /** - * Sets the mouseMoveCommand object. - */ - public void setMouseMoveCommand(Command c) { - mouseMoveCommand = c; - } - - /** - * Sets the mouseUpCommand object. - */ - public void setMouseUpCommand(Command c) { - mouseUpCommand = c; - } - - /** - * Sets the keyDownCommand object. - */ - public void setKeyDownCommand(Command c) { - keyDownCommand = c; - } - - /** - * Sets the keyUpCommand object. - */ - public void setKeyUpCommand(Command c) { - keyUpCommand = c; - } -} diff --git a/java/apps/NexusII/classes/awtCommand/CButton.class b/java/apps/NexusII/classes/awtCommand/CButton.class deleted file mode 100644 index b64fecd5bbf..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CButton.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CButton.java b/java/apps/NexusII/classes/awtCommand/CButton.java deleted file mode 100644 index ff0f3385bad..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CButton.java +++ /dev/null @@ -1,41 +0,0 @@ - -package awtCommand; - -import java.lang.*; -import java.awt.*; - -public class CButton extends java.awt.Button { - protected Command actionCommand = null; - - /** - * Constructs a CButton. - */ - public CButton() { - super(); - } - - /** - * Constructs a CButton with the given name. - */ - public CButton(String name) { - super(name); - } - - /** - * Sets the actionCommand object. - */ - public void setActionCommand(Command action) { - actionCommand = action; - } - - /** - * Called when the button is selected.. - * This results in a call to the actionCommand object - * with what set to the button's label. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } -} diff --git a/java/apps/NexusII/classes/awtCommand/CCanvas.class b/java/apps/NexusII/classes/awtCommand/CCanvas.class deleted file mode 100644 index 5d697017b5b..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CCanvas.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CCanvas.java b/java/apps/NexusII/classes/awtCommand/CCanvas.java deleted file mode 100644 index 837b6f56f7a..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CCanvas.java +++ /dev/null @@ -1,381 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - -package awtCommand; - -import java.awt.*; - -public class CCanvas extends Canvas { - - protected Command gotFocusCommand = null, - lostFocusCommand = null; - protected Command mouseDownCommand = null, - mouseDragCommand = null, - mouseEnterCommand = null, - mouseExitCommand = null, - mouseMoveCommand = null, - mouseUpCommand = null; - protected Command keyUpCommand = null, - keyDownCommand = null; - protected Command actionCommand = null; - protected Command scrollAbsoluteCommand = null, - lineDownCommand = null, - lineUpCommand = null, - pageDownCommand = null, - pageUpCommand = null; - protected Command selectCommand = null, - deselectCommand = null; - - - /** - * Constructs a new CCanvas. - */ - public CCanvas() { - super(); - } - - /** - * Handles the event. - * Calls methods for variousL events and passes - * others to its superclass method. - */ - public boolean handleEvent(Event evt) { - switch (evt.id) { - case Event.SCROLL_ABSOLUTE: - return scrollAbsolute(evt, evt.arg); - case Event.SCROLL_LINE_DOWN: - return lineDown(evt, evt.arg); - case Event.SCROLL_LINE_UP: - return lineUp(evt, evt.arg); - case Event.SCROLL_PAGE_DOWN: - return pageDown(evt, evt.arg); - case Event.SCROLL_PAGE_UP: - return pageUp(evt, evt.arg); - case Event.LIST_SELECT: - return select(evt, evt.arg); - case Event.LIST_DESELECT: - return deselect(evt, evt.arg); - default: - return super.handleEvent(evt); - } - } - - - /* - * event handling methods - */ - - /** - * Called if the window gains focus. This results in a call to - * the gotFocusCommand object with what set to null. - */ - public boolean gotFocus(Event evt, Object what) { - if (gotFocusCommand != null) - gotFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the window loses focus. This results in a call to - * the lostFocusCommand object with what set to null. - */ - public boolean lostFocus(Event evt, Object what) { - if (lostFocusCommand != null) - lostFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse is down. - * This results in a call to the mouseDownCommand object with - * what set to Point(x, y) - */ - public boolean mouseDown(Event evt, int x, int y) { - if (mouseDownCommand != null) - mouseDownCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is dragged. - * This results in a call to the mouseDragCommand object with - * what set to Point(x, y) - */ - public boolean mouseDrag(Event evt, int x, int y) { - if (mouseDragCommand != null) - mouseDragCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse enters the window. - * This results in a call to the mouseEnterCommand object with - * what set to Point(x, y) - */ - public boolean mouseEnter(Event evt, int x, int y) { - if (mouseEnterCommand != null) - mouseEnterCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse moves inside the window. - * This results in a call to the mouseMoveCommand object with - * what set to Point(x, y) - */ - public boolean mouseMove(Event evt, int x, int y) { - if (mouseExitCommand != null) - mouseExitCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is up. - * This results in a call to the mouseUpCommand object with - * what set to Point(x, y) - */ - public boolean mouseUp(Event evt, int x, int y) { - if (mouseUpCommand != null) - mouseUpCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if a character is pressed. - * This results in a call to the keyDownCommand object with - * what set to Integer(key). - */ - public boolean keyDown(Event evt, int key) { - if (keyDownCommand != null) - keyDownCommand.execute(this, evt, new Integer(key)); - return false; - } - - /** - * Called if a character is released. - * This results in a call to the keyUpCommand object with - * what set to Integer(key). - */ - public boolean keyUp(Event evt, int key) { - if (keyUpCommand != null) - keyUpCommand.execute(this, evt, new Integer(key)); - return false; - } - - /** - * Called when an ACTION_EVENT is generated. - * This results in a call to the actionCommand object - * with what set to the event's arg. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is dragged. - * This results in a call to the scrollAbsoluteCommand object - * with what set to the slider location value. - */ - public boolean scrollAbsolute(Event evt, Object what) { - if (scrollAbsoluteCommand != null) - scrollAbsoluteCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is incremented down. - * This results in a call to the lineDownCommand object - * with what set to the slider location value. - */ - public boolean lineDown(Event evt, Object what) { - if (lineDownCommand != null) - lineDownCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is incremented up. - * This results in a call to the lineUpCommand object - * with what set to the slider location value. - */ - public boolean lineUp(Event evt, Object what) { - if (lineUpCommand != null) - lineUpCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar pages up. - * This results in a call to the pageUpCommand object - * with what set to the slider location value. - */ - public boolean pageUp(Event evt, Object what) { - if (pageUpCommand != null) - pageUpCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar pages down. - * This results in a call to the pageDownCommand object - * with what set to the slider location value. - */ - public boolean pageDown(Event evt, Object what) { - if (pageDownCommand != null) - pageDownCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse selects an item in a List. - * This results in a call to the selectCommand object - * with what set to the selected index. - */ - public boolean select(Event evt, Object what) { - if (selectCommand != null) - selectCommand.execute(this, evt, what); - return false; - } - - - /** - * Called if the mouse deselects an item in a List. - * This results in a call to the deselectCommand object - * with what set to the deselected index. - */ - public boolean deselect(Event evt, Object what) { - if (deselectCommand != null) - deselectCommand.execute(this, evt, what); - return false; - } - - - /* - * set...Command methods - */ - - - - /** - * Sets the mouseDownCommand object. - */ - public void setMouseDownCommand(Command c) { - mouseDownCommand = c; - } - - /** - * Sets the moueDragCommand object. - */ - public void setMouseDragCommand(Command c) { - mouseDragCommand = c; - } - - /** - * Sets the mouseEnterCommand object. - */ - public void setMouseEnterCommand(Command c) { - mouseEnterCommand = c; - } - - /** - * Sets the mouseExitCommand object. - */ - public void setMouseExitCommand(Command c) { - mouseExitCommand = c; - } - - /** - * Sets the mouseMoveCommand object. - */ - public void setMouseMoveCommand(Command c) { - mouseMoveCommand = c; - } - - /** - * Sets the mouseUpCommand object. - */ - public void setMouseUpCommand(Command c) { - mouseUpCommand = c; - } - - /** - * Sets the keyDownCommand object. - */ - public void setKeyDownCommand(Command c) { - keyDownCommand = c; - } - - /** - * Sets the keyUpCommand object. - */ - public void setKeyUpCommand(Command c) { - keyUpCommand = c; - } - - /** - * Sets the actionCommand object. - */ - public void setActionCommand(Command action) { - actionCommand = action; - } - - /** - * Sets the scrollAbsoluteCommand. - */ - public void setScrollAbsoluteCommand(Command c) { - scrollAbsoluteCommand = c; - } - - /** - * Sets the lineUpCommand. - */ - public void setLineUpCommand(Command c) { - lineUpCommand = c; - } - - /** - * Sets the lineDownCommand. - */ - public void setLineDownCommand(Command c) { - lineDownCommand = c; - } - - /** - * Sets the pageUpCommand. - */ - public void setPageUpCommand(Command c) { - pageUpCommand = c; - } - - /** - * Sets the pageDownCommand. - */ - public void setPageDownCommand(Command c) { - pageDownCommand = c; - } - - /** - * Sets the selectCommand. - */ - public void setSelectCommand(Command select) { - selectCommand = select; - } - - /** - * Sets the deselectCommand. - */ - public void setDeselectCommand(Command deselect) { - deselectCommand = deselect; - } - -} diff --git a/java/apps/NexusII/classes/awtCommand/CFrame.class b/java/apps/NexusII/classes/awtCommand/CFrame.class deleted file mode 100644 index 66f25773c76..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CFrame.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CFrame.java b/java/apps/NexusII/classes/awtCommand/CFrame.java deleted file mode 100644 index f63d3ce8b9a..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CFrame.java +++ /dev/null @@ -1,486 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - -package awtCommand; - -import java.awt.*; - -public class CFrame extends Frame { - - protected Command destroyCommand = null, - deiconifyCommand = null, - iconifyCommand = null, - movedCommand = null; - protected Command gotFocusCommand = null, - lostFocusCommand = null; - protected Command mouseDownCommand = null, - mouseDragCommand = null, - mouseEnterCommand = null, - mouseExitCommand = null, - mouseMoveCommand = null, - mouseUpCommand = null; - protected Command keyUpCommand = null, - keyDownCommand = null; - protected Command actionCommand = null; - protected Command scrollAbsoluteCommand = null, - lineDownCommand = null, - lineUpCommand = null, - pageDownCommand = null, - pageUpCommand = null; - protected Command selectCommand = null, - deselectCommand = null; - - /** - * Constructs a new, initially invisible CFrame. - */ - public CFrame() { - super(); - } - - /** - * Constructs a new, initially invisible CFrame with the - * specified title. - */ - public CFrame(String title) { - super(title); - } - - /** - * Handles the event - */ - public boolean handleEvent(Event evt) { - switch (evt.id) { - case Event.WINDOW_DESTROY: - return windowDestroy(evt); - case Event.WINDOW_DEICONIFY: - return windowDeiconify(evt); - case Event.WINDOW_ICONIFY: - return windowIconify(evt); - case Event.WINDOW_MOVED: - return windowMoved(evt); - case Event.SCROLL_ABSOLUTE: - return scrollAbsolute(evt, evt.arg); - case Event.SCROLL_LINE_DOWN: - return lineDown(evt, evt.arg); - case Event.SCROLL_LINE_UP: - return lineUp(evt, evt.arg); - case Event.SCROLL_PAGE_DOWN: - return pageDown(evt, evt.arg); - case Event.SCROLL_PAGE_UP: - return pageUp(evt, evt.arg); - case Event.LIST_SELECT: - return select(evt, evt.arg); - case Event.LIST_DESELECT: - return deselect(evt, evt.arg); - default: - return super.handleEvent(evt); - } - } - - /* - * event handling methods - */ - - /** - * Called if the dialog's window is destroyed. This results in a call to - * the destroyCommand object with what set to null - */ - public boolean windowDestroy(Event evt) { - if (destroyCommand != null) - destroyCommand.execute(this, evt, null); - return false; - } - - /** - * Called if the dialog's window is deiconified. This results in a call to - * the deiconifyCommand object with what set to null - */ - public boolean windowDeiconify(Event evt) { - if (deiconifyCommand != null) - deiconifyCommand.execute(this, evt, null); - return false; - } - - /** - * Called if the dialog is iconified. This results in a call to - * the iconifyCommand object with what set to null - */ - public boolean windowIconify(Event evt) { - if (iconifyCommand != null) - iconifyCommand.execute(this, evt, null); - return false; - } - - /** - * Called if the dialog's window is moved. This results in a call to - * the movedCommand object with what set to Point(x, y) - */ - public boolean windowMoved(Event evt) { - if (movedCommand != null) - movedCommand.execute(this, evt, new Point(evt.x, evt.y)); - return false; - } - - /* - * I don't know where what objects this next set should belong - * to. Putting them at the top is ok for now - */ - - /** - * Called if the window gains focus. This results in a call to - * the gotFocusCommand object with what set to null. - */ - public boolean gotFocus(Event evt, Object what) { - if (gotFocusCommand != null) - gotFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the window loses focus. This results in a call to - * the lostFocusCommand object with what set to null. - */ - public boolean lostFocus(Event evt, Object what) { - if (lostFocusCommand != null) - lostFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse is down. - * This results in a call to the mouseDownCommand object with - * what set to Point(x, y) - */ - public boolean mouseDown(Event evt, int x, int y) { - if (mouseDownCommand != null) - mouseDownCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is dragged. - * This results in a call to the mouseDragCommand object with - * what set to Point(x, y) - */ - public boolean mouseDrag(Event evt, int x, int y) { - if (mouseDragCommand != null) - mouseDragCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse enters the window. - * This results in a call to the mouseEnterCommand object with - * what set to Point(x, y) - */ - public boolean mouseEnter(Event evt, int x, int y) { - if (mouseEnterCommand != null) - mouseEnterCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse moves inside the window. - * This results in a call to the mouseMoveCommand object with - * what set to Point(x, y) - */ - public boolean mouseMove(Event evt, int x, int y) { - if (mouseExitCommand != null) - mouseExitCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is up. - * This results in a call to the mouseUpCommand object with - * what set to Point(x, y) - */ - public boolean mouseUp(Event evt, int x, int y) { - if (mouseUpCommand != null) - mouseUpCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if a character is pressed. - * This results in a call to the keyDownCommand object with - * what set to Integer(key). - */ - public boolean keyDown(Event evt, int key) { - if (keyDownCommand != null) - keyDownCommand.execute(this, evt, new Integer(key)); - return false; - } - - /** - * Called if a character is released. - * This results in a call to the keyUpCommand object with - * what set to Integer(key). - */ - public boolean keyUp(Event evt, int key) { - if (keyUpCommand != null) - keyUpCommand.execute(this, evt, new Integer(key)); - return false; - } - - - /** - * Called when an ACTION_EVENT is generated. - * This results in a call to the actionCommand object - * with what set to the event's arg. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is dragged. - * This results in a call to the scrollAbsoluteCommand object - * with what set to the slider location value. - */ - public boolean scrollAbsolute(Event evt, Object what) { - if (scrollAbsoluteCommand != null) - scrollAbsoluteCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is incremented down. - * This results in a call to the lineDownCommand object - * with what set to the slider location value. - */ - public boolean lineDown(Event evt, Object what) { - if (lineDownCommand != null) - lineDownCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is incremented up. - * This results in a call to the lineUpCommand object - * with what set to the slider location value. - */ - public boolean lineUp(Event evt, Object what) { - if (lineUpCommand != null) - lineUpCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar pages up. - * This results in a call to the pageUpCommand object - * with what set to the slider location value. - */ - public boolean pageUp(Event evt, Object what) { - if (pageUpCommand != null) - pageUpCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar pages down. - * This results in a call to the pageDownCommand object - * with what set to the slider location value. - */ - public boolean pageDown(Event evt, Object what) { - if (pageDownCommand != null) - pageDownCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse selects an item in a List. - * This results in a call to the selectCommand object - * with what set to the selected index. - */ - public boolean select(Event evt, Object what) { - if (selectCommand != null) - selectCommand.execute(this, evt, what); - return false; - } - - - /** - * Called if the mouse deselects an item in a List. - * This results in a call to the deselectCommand object - * with what set to the deselected index. - */ - public boolean deselect(Event evt, Object what) { - if (deselectCommand != null) - deselectCommand.execute(this, evt, what); - return false; - } - - - /* - * set...Command methods - */ - - - /** - * Sets the destroyCommand object. - */ - public void setDestroyCommand(Command c) { - destroyCommand = c; - } - - /** - * Sets the deiconifyCommand object. - */ - public void setDeiconifyCommand(Command c) { - deiconifyCommand = c; - } - - /** - * Sets the iconifyCommand object. - */ - public void setIconifyCommand(Command c) { - iconifyCommand = c; - } - - /** - * Sets the movedCommand object. - */ - public void setMovedCommand(Command c) { - movedCommand = c; - } - - /** - * Sets the mouseDownCommand object. - */ - public void setMouseDownCommand(Command c) { - mouseDownCommand = c; - } - - /** - * Sets the moueDragCommand object. - */ - public void setMouseDragCommand(Command c) { - mouseDragCommand = c; - } - - /** - * Sets the mouseEnterCommand object. - */ - public void setMouseEnterCommand(Command c) { - mouseEnterCommand = c; - } - - /** - * Sets the mouseExitCommand object. - */ - public void setMouseExitCommand(Command c) { - mouseExitCommand = c; - } - - /** - * Sets the mouseMoveCommand object. - */ - public void setMouseMoveCommand(Command c) { - mouseMoveCommand = c; - } - - /** - * Sets the mouseUpCommand object. - */ - public void setMouseUpCommand(Command c) { - mouseUpCommand = c; - } - - /** - * Sets the keyDownCommand object. - */ - public void setKeyDownCommand(Command c) { - keyDownCommand = c; - } - - /** - * Sets the keyUpCommand object. - */ - public void setKeyUpCommand(Command c) { - keyUpCommand = c; - } - - /** - * Sets the actionCommand object. - */ - public void setActionCommand(Command action) { - actionCommand = action; - } - - /** - * Sets the scrollAbsoluteCommand. - */ - public void setScrollAbsoluteCommand(Command c) { - scrollAbsoluteCommand = c; - } - - /** - * Sets the lineUpCommand. - */ - public void setLineUpCommand(Command c) { - lineUpCommand = c; - } - - /** - * Sets the lineDownCommand. - */ - public void setLineDownCommand(Command c) { - lineDownCommand = c; - } - - /** - * Sets the pageUpCommand. - */ - public void setPageUpCommand(Command c) { - pageUpCommand = c; - } - - /** - * Sets the pageDownCommand. - */ - public void setPageDownCommand(Command c) { - pageDownCommand = c; - } - - /** - * Sets the selectCommand. - */ - public void setSelectCommand(Command select) { - selectCommand = select; - } - - public void setGotFocusCommand(Command c) { - gotFocusCommand = c ; - } - /** - * Sets the deselectCommand. - */ - public void setDeselectCommand(Command deselect) { - deselectCommand = deselect; - } - -} - - - - - - - - - - - - - diff --git a/java/apps/NexusII/classes/awtCommand/CList.class b/java/apps/NexusII/classes/awtCommand/CList.class deleted file mode 100644 index c595ce7786b..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CList.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CList.java b/java/apps/NexusII/classes/awtCommand/CList.java deleted file mode 100644 index 110e6a01db2..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CList.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - - -package awtCommand; - -import java.awt.*; - -public class CList extends List { - protected Command selectCommand = null; - protected Command deselectCommand = null; - protected Command actionCommand = null; - - /** - * Handles the event - */ - public boolean handleEvent(Event evt) { - switch (evt.id) { - case Event.LIST_SELECT: - return select(evt, evt.arg); - case Event.LIST_DESELECT: - return deselect(evt, evt.arg); - default: - return super.handleEvent(evt); - } - } - - /* - * event handling methods - */ - - - /** - * Called if the Enter key is pressed. - * This results in a call to the actionCommand object - * with what set to the selected item. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse selects an item. - * This results in a call to the selectCommand object - * with what set to the selected index. - */ - public boolean select(Event evt, Object what) { - if (selectCommand != null) - selectCommand.execute(this, evt, what); - return false; - } - - - /** - * Called if the mouse deselects an item. - * This results in a call to the deselectCommand object - * with what set to the deselected index. - */ - public boolean deselect(Event evt, Object what) { - if (deselectCommand != null) - deselectCommand.execute(this, evt, what); - return false; - } - - - /** - * Sets the actionCommand. - */ - public void setActionCommand(Command action) { - actionCommand = action; - } - - /** - * Sets the selectCommand. - */ - public void setSelectCommand(Command select) { - selectCommand = select; - } - - /** - * Sets the deselectCommand. - */ - public void setDeselectCommand(Command deselect) { - deselectCommand = deselect; - } -} diff --git a/java/apps/NexusII/classes/awtCommand/CPanel.class b/java/apps/NexusII/classes/awtCommand/CPanel.class deleted file mode 100644 index d00477a30f5..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CPanel.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CPanel.java b/java/apps/NexusII/classes/awtCommand/CPanel.java deleted file mode 100644 index 1c8d39f8537..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CPanel.java +++ /dev/null @@ -1,381 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - -package awtCommand; - -import java.awt.*; - -public class CPanel extends Panel { - - protected Command gotFocusCommand = null, - lostFocusCommand = null; - protected Command mouseDownCommand = null, - mouseDragCommand = null, - mouseEnterCommand = null, - mouseExitCommand = null, - mouseMoveCommand = null, - mouseUpCommand = null; - protected Command keyUpCommand = null, - keyDownCommand = null; - protected Command actionCommand = null; - protected Command scrollAbsoluteCommand = null, - lineDownCommand = null, - lineUpCommand = null, - pageDownCommand = null, - pageUpCommand = null; - protected Command selectCommand = null, - deselectCommand = null; - - /** - * Constructs a new CPanel. - */ - public CPanel() { - super(); - } - - - /** - * Handles the event. - * Calls methods for variousL events and passes - * others to its superclass method. - */ - public boolean handleEvent(Event evt) { - switch (evt.id) { - case Event.SCROLL_ABSOLUTE: - return scrollAbsolute(evt, evt.arg); - case Event.SCROLL_LINE_DOWN: - return lineDown(evt, evt.arg); - case Event.SCROLL_LINE_UP: - return lineUp(evt, evt.arg); - case Event.SCROLL_PAGE_DOWN: - return pageDown(evt, evt.arg); - case Event.SCROLL_PAGE_UP: - return pageUp(evt, evt.arg); - case Event.LIST_SELECT: - return select(evt, evt.arg); - case Event.LIST_DESELECT: - return deselect(evt, evt.arg); - default: - return super.handleEvent(evt); - } - } - - /* - * event handling methods - */ - - /** - * Called if the window gains focus. This results in a call to - * the gotFocusCommand object with what set to null. - */ - public boolean gotFocus(Event evt, Object what) { - if (gotFocusCommand != null) - gotFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the window loses focus. This results in a call to - * the lostFocusCommand object with what set to null. - */ - public boolean lostFocus(Event evt, Object what) { - if (lostFocusCommand != null) - lostFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse is down. - * This results in a call to the mouseDownCommand object with - * what set to Point(x, y) - */ - public boolean mouseDown(Event evt, int x, int y) { - if (mouseDownCommand != null) - mouseDownCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is dragged. - * This results in a call to the mouseDragCommand object with - * what set to Point(x, y) - */ - public boolean mouseDrag(Event evt, int x, int y) { - if (mouseDragCommand != null) - mouseDragCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse enters the window. - * This results in a call to the mouseEnterCommand object with - * what set to Point(x, y) - */ - public boolean mouseEnter(Event evt, int x, int y) { - if (mouseEnterCommand != null) - mouseEnterCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse moves inside the window. - * This results in a call to the mouseMoveCommand object with - * what set to Point(x, y) - */ - public boolean mouseMove(Event evt, int x, int y) { - if (mouseExitCommand != null) - mouseExitCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if the mouse is up. - * This results in a call to the mouseUpCommand object with - * what set to Point(x, y) - */ - public boolean mouseUp(Event evt, int x, int y) { - if (mouseUpCommand != null) - mouseUpCommand.execute(this, evt, new Point(x, y)); - return false; - } - - /** - * Called if a character is pressed. - * This results in a call to the keyDownCommand object with - * what set to Integer(key). - */ - public boolean keyDown(Event evt, int key) { - if (keyDownCommand != null) - keyDownCommand.execute(this, evt, new Integer(key)); - return false; - } - - /** - * Called if a character is released. - * This results in a call to the keyUpCommand object with - * what set to Integer(key). - */ - public boolean keyUp(Event evt, int key) { - if (keyUpCommand != null) - keyUpCommand.execute(this, evt, new Integer(key)); - return false; - } - - - /** - * Called when an ACTION_EVENT is generated. - * This results in a call to the actionCommand object - * with what set to the event's arg. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is dragged. - * This results in a call to the scrollAbsoluteCommand object - * with what set to the slider location value. - */ - public boolean scrollAbsolute(Event evt, Object what) { - if (scrollAbsoluteCommand != null) - scrollAbsoluteCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is incremented down. - * This results in a call to the lineDownCommand object - * with what set to the slider location value. - */ - public boolean lineDown(Event evt, Object what) { - if (lineDownCommand != null) - lineDownCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar is incremented up. - * This results in a call to the lineUpCommand object - * with what set to the slider location value. - */ - public boolean lineUp(Event evt, Object what) { - if (lineUpCommand != null) - lineUpCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar pages up. - * This results in a call to the pageUpCommand object - * with what set to the slider location value. - */ - public boolean pageUp(Event evt, Object what) { - if (pageUpCommand != null) - pageUpCommand.execute(this, evt, what); - return false; - } - - /** - * Called when a scrollbar pages down. - * This results in a call to the pageDownCommand object - * with what set to the slider location value. - */ - public boolean pageDown(Event evt, Object what) { - if (pageDownCommand != null) - pageDownCommand.execute(this, evt, what); - return false; - } - - /** - * Called if the mouse selects an item in a List. - * This results in a call to the selectCommand object - * with what set to the selected index. - */ - public boolean select(Event evt, Object what) { - if (selectCommand != null) - selectCommand.execute(this, evt, what); - return false; - } - - - /** - * Called if the mouse deselects an item in a List. - * This results in a call to the deselectCommand object - * with what set to the deselected index. - */ - public boolean deselect(Event evt, Object what) { - if (deselectCommand != null) - deselectCommand.execute(this, evt, what); - return false; - } - - /* - * set...Command methods - */ - - - - /** - * Sets the mouseDownCommand object. - */ - public void setMouseDownCommand(Command c) { - mouseDownCommand = c; - } - - /** - * Sets the moueDragCommand object. - */ - public void setMouseDragCommand(Command c) { - mouseDragCommand = c; - } - - /** - * Sets the mouseEnterCommand object. - */ - public void setMouseEnterCommand(Command c) { - mouseEnterCommand = c; - } - - /** - * Sets the mouseExitCommand object. - */ - public void setMouseExitCommand(Command c) { - mouseExitCommand = c; - } - - /** - * Sets the mouseMoveCommand object. - */ - public void setMouseMoveCommand(Command c) { - mouseMoveCommand = c; - } - - /** - * Sets the mouseUpCommand object. - */ - public void setMouseUpCommand(Command c) { - mouseUpCommand = c; - } - - /** - * Sets the keyDownCommand object. - */ - public void setKeyDownCommand(Command c) { - keyDownCommand = c; - } - - /** - * Sets the keyUpCommand object. - */ - public void setKeyUpCommand(Command c) { - keyUpCommand = c; - } - - - /** - * Sets the actionCommand object. - */ - public void setActionCommand(Command action) { - actionCommand = action; - } - - /** - * Sets the scrollAbsoluteCommand. - */ - public void setScrollAbsoluteCommand(Command c) { - scrollAbsoluteCommand = c; - } - - /** - * Sets the lineUpCommand. - */ - public void setLineUpCommand(Command c) { - lineUpCommand = c; - } - - /** - * Sets the lineDownCommand. - */ - public void setLineDownCommand(Command c) { - lineDownCommand = c; - } - - /** - * Sets the pageUpCommand. - */ - public void setPageUpCommand(Command c) { - pageUpCommand = c; - } - - /** - * Sets the pageDownCommand. - */ - public void setPageDownCommand(Command c) { - pageDownCommand = c; - } - - /** - * Sets the selectCommand. - */ - public void setSelectCommand(Command select) { - selectCommand = select; - } - - /** - * Sets the deselectCommand. - */ - public void setDeselectCommand(Command deselect) { - deselectCommand = deselect; - } - -} diff --git a/java/apps/NexusII/classes/awtCommand/CTextArea.class b/java/apps/NexusII/classes/awtCommand/CTextArea.class deleted file mode 100644 index 9ec6e238cdf..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CTextArea.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CTextArea.java b/java/apps/NexusII/classes/awtCommand/CTextArea.java deleted file mode 100644 index eacaf526929..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CTextArea.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - -package awtCommand; - -import java.awt.*; - -public class CTextArea extends TextArea { - - protected Command gotFocusCommand = null, - lostFocusCommand = null; - - /** - * Constructs a new TextArea. - */ - public CTextArea() { - super(); - } - - /** - * Constructs a new TextArea with the specified number of rows and columns. - * @param rows the number of rows - * @param cols the number of columns - */ - public CTextArea(int rows, int cols) { - super(rows, cols); - } - - /** - * Constructs a new TextArea with the specified text displayed. - * @param text the text to be displayed - */ - public CTextArea(String text) { - super(text); - } - - /** - * Constructs a new TextArea with the specified text and the - * specified number of rows - * and columns. - * @param text the text to be displayed - * @param rows the number of rows - * @param cols the number of cols - */ - public CTextArea(String text, int rows, int cols) { - super(text, rows, cols); - } - - - /** - * Called when the text area gains the focus. - * This results in a call to the gotFocusCommand object - * with what set to null. - */ - public boolean gotFocus(Event evt, Object what) { - if (gotFocusCommand != null) - gotFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called when the text area loses the focus. - * This results in a call to the lostFocusCommand object - * with what set to null. - */ - public boolean lostFocus(Event evt, Object what) { - if (lostFocusCommand != null) - lostFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Sets the gotFocusCommand object. - */ - public void setGotFocusCommand(Command c) { - gotFocusCommand = c; - } - - /** - * Sets the lostFocusCommand object. - */ - public void setLostFocusCommand(Command c) { - lostFocusCommand = c; - } -} diff --git a/java/apps/NexusII/classes/awtCommand/CTextField.class b/java/apps/NexusII/classes/awtCommand/CTextField.class deleted file mode 100644 index 6f298a43348..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/CTextField.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/CTextField.java b/java/apps/NexusII/classes/awtCommand/CTextField.java deleted file mode 100644 index 146f13206e5..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CTextField.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - -package awtCommand; - -import java.awt.*; - -public class CTextField extends TextField { - - protected Command actionCommand = null, - gotFocusCommand = null, - lostFocusCommand = null; - - /** - * Constructs a new CTextField. - */ - public CTextField() { - super(); - } - - /** - * Constructs a new CTextField initialized with the specified columns. - * @param cols the number of columns - */ - public CTextField(int cols) { - super(cols); - } - - /** - * Constructs a new CTextField initialized with the specified text. - * @param text the text to be displayed - */ - public CTextField(String text) { - super(text); - } - - - /** - * Constructs a new CTextField initialized with the specified text and columns. - * @param text the text to be displayed - * @param cols the number of columns - */ - public CTextField(String text, int cols) { - super(text, cols); - } - - - /** - * Called when Enter is pressed in the text field. - * This results in a call to the actionCommand object - * with what set to the text contents. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } - - /** - * Called when the text field gains the focus. - * This results in a call to the gotFocusCommand object - * with what set to null. - */ - public boolean gotFocus(Event evt, Object what) { - if (gotFocusCommand != null) - gotFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Called when the text field loses the focus. - * This results in a call to the lostFocusCommand object - * with what set to null. - */ - public boolean lostFocus(Event evt, Object what) { - if (lostFocusCommand != null) - lostFocusCommand.execute(this, evt, what); - return false; - } - - /** - * Sets the actionCommand object. - */ - public void setActionCommand(Command c) { - actionCommand = c; - } - - - /** - * Sets the gotFocusCommand object. - */ - public void setGotFocusCommand(Command c) { - gotFocusCommand = c; - } - - /** - * Sets the lostFocusCommand object. - */ - public void setLostFocusCommand(Command c) { - lostFocusCommand = c; - } -} diff --git a/java/apps/NexusII/classes/awtCommand/Command.class b/java/apps/NexusII/classes/awtCommand/Command.class deleted file mode 100644 index 6b3c12c24f7..00000000000 Binary files a/java/apps/NexusII/classes/awtCommand/Command.class and /dev/null differ diff --git a/java/apps/NexusII/classes/awtCommand/Command.java b/java/apps/NexusII/classes/awtCommand/Command.java deleted file mode 100644 index 373c7a363cf..00000000000 --- a/java/apps/NexusII/classes/awtCommand/Command.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 1996 Jan Newmarch, University of Canberra. - * Permission to use, copy, modify, and distribute this - * software and its documentation for any purpose and without - * fee is hereby granted, provided that the above copyright - * notice appear in all copies. The author - * makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without - * express or implied warranty. - */ - - - -package awtCommand; - -import java.awt.*; - -public interface Command { - - /** - * Executes application logic. - * Called by events occurring in associated objects - */ - public abstract void execute(Object target, Event evt, Object what); -} diff --git a/java/apps/NexusII/classes/commandHandler.class b/java/apps/NexusII/classes/commandHandler.class deleted file mode 100644 index 53033fb6b6b..00000000000 Binary files a/java/apps/NexusII/classes/commandHandler.class and /dev/null differ diff --git a/java/apps/NexusII/classes/commandParser.class b/java/apps/NexusII/classes/commandParser.class deleted file mode 100644 index 62da40871e6..00000000000 Binary files a/java/apps/NexusII/classes/commandParser.class and /dev/null differ diff --git a/java/apps/NexusII/classes/connectionHandler.class b/java/apps/NexusII/classes/connectionHandler.class deleted file mode 100644 index 8708229c0eb..00000000000 Binary files a/java/apps/NexusII/classes/connectionHandler.class and /dev/null differ diff --git a/java/apps/NexusII/classes/joinHandler.class b/java/apps/NexusII/classes/joinHandler.class deleted file mode 100644 index 7669e7faed7..00000000000 Binary files a/java/apps/NexusII/classes/joinHandler.class and /dev/null differ diff --git a/java/apps/NexusII/classes/roomHandler.class b/java/apps/NexusII/classes/roomHandler.class deleted file mode 100644 index 9eaa6cc0899..00000000000 Binary files a/java/apps/NexusII/classes/roomHandler.class and /dev/null differ diff --git a/java/apps/NexusII/classes/textHandler.class b/java/apps/NexusII/classes/textHandler.class deleted file mode 100644 index c52764a236b..00000000000 Binary files a/java/apps/NexusII/classes/textHandler.class and /dev/null differ diff --git a/java/apps/NexusII/src/Consumer.java b/java/apps/NexusII/src/Consumer.java deleted file mode 100644 index 84df9b3a3ae..00000000000 --- a/java/apps/NexusII/src/Consumer.java +++ /dev/null @@ -1,74 +0,0 @@ - -// This class encapsulates a Consumer. The consumer dq's from the queue -// Supports both a timed and blocking consumer. -// Each instance of this class creates a different thread of control. -// On timeout, the producer returns. -// The producer tries to dq "iteration" number of times, unless it times out - -//package NexusII.util ; - -public class Consumer extends Thread -{ -public static final int DEFAULT_ITERATIONS = 1 ; -public Consumer(MT_Bounded_Queue queue) - { - this.queue_ = queue ; - this.iterations_ = new Integer(DEFAULT_ITERATIONS); - this.time_out_ = -1 ; - } - -public Consumer(MT_Bounded_Queue queue, String name) - { - super(name); - this.queue_ = queue ; - this.iterations_ = new Integer(DEFAULT_ITERATIONS); - this.time_out_ = -1 ; - } - - -public Consumer(MT_Bounded_Queue queue, String name, Integer iterations) - { - super(name); - this.queue_ = queue ; - this.iterations_ = iterations ; - this.time_out_ = -1 ; - } - - -public Consumer(MT_Bounded_Queue queue, String name, Integer iterations, long msec_timeout) - { - super(name); - this.queue_ = queue ; - this.iterations_ = iterations ; - this.time_out_ = msec_timeout ; - } - - - -public void run() - { - for(int i=0;i - -import java.net.*; -import java.io.*; -import java.util.*; -import ACE.OS.*; -import ACE.SOCK_SAP.*; - -public class NexusIIserver implements consts { - - // Entry point into the server - public static void main(String args[]) throws IOException { - - if(args.length != 1) { - System.out.println("Usage: java NexusIIserver "); - return; - } - - // Create a "Hotel", which is a factory to generate Rooms - // as and when required. - RoomFactory Hotel = new RoomFactory(); - - System.out.println("NexusII server booting"); - SOCKAcceptor sacceptor = new SOCKAcceptor( (new Integer(args[0])).intValue()); - - System.out.println("NexusII is now accepting connections on port " + (new Integer(args[0])).intValue()); - - for(;;) { - - SOCKStream s = new SOCKStream(); - sacceptor.accept(s); - // Accepted connection - // construct a client handler.. - // Pass in the connected socket as an argument, - // and a reference to the Hotel, in case it needs - // to create rooms.. - // and away you go.. - new Thread(new ClientHandler(s, Hotel)).start(); - - } - } -} - - -// This thread handles the clients.. -// It uses 2 additional threads for read/write network operations -// These threads are dedicated to read/write from the -// respective read/write queues.. -class ClientHandler implements Runnable,consts { - - private SOCKStream s_; - private RoomFactory Hotel_; - private MT_Bounded_Queue rq_ = new MT_Bounded_Queue(QUEUE_SIZE); - private MT_Bounded_Queue wq_ = new MT_Bounded_Queue(QUEUE_SIZE); - private String my_name_; - private Vector roomlist_ = new Vector(); - private boolean finished_ = false; - private String init_image_; - - public ClientHandler(SOCKStream s, RoomFactory h) { - s_ = s; - Hotel_ = h; - init_image_ = new String(System.getProperty("mywebaddress") + NEXUS_LOGO); - } - - public void run() { - // Construct the reader/writer threads with the queues and the - // corresponding socket data streams as parameters. - Thread r_ = new socketReaderThread(rq_, new DataInputStream(s_.inputStream())); - Thread w_ = new socketWriterThread(wq_, new DataOutputStream(s_.outputStream())); - r_.start(); - w_.start(); - - // now start parsing the messages, and take action.. - // todo: optimize the below.. - - while(!finished_) { - dataPacket d = (dataPacket) rq_.dq(); - if(d.contentType().startsWith("INIT")) - nexus_init(d); - if(d.contentType().startsWith("JOIN")) - nexus_join(d); - if(d.contentType().startsWith("LEAVE")) - nexus_leave(d); - if(d.contentType().startsWith("QUIT")) - nexus_quit(d); - if(d.contentType().startsWith("TEXT")) - nexus_text(d); - if(d.contentType().startsWith("LUSERS")) - nexus_lusers(d); - if(d.contentType().startsWith("LROOMS")) - nexus_lrooms(d); - if(d.contentType().startsWith("NICK")) - nexus_nick(d); - if(d.contentType().startsWith("URL")) - nexus_url(d); - } - } - - // The following classes implement the server functions.. - - private void nexus_init(dataPacket packet) { - my_name_ = new String(packet.clientName()); - wq_.nq(packet); - } - - private void nexus_join(dataPacket packet) { - Room r = Hotel_.getRoom(packet.content()); - if(r.checkClient(this)) - return; - r.addClient(this); - roomlist_.addElement(r); - writeRoom(r, my_name_ + " has joined the room "); - String contenttype = new String("url"); - dataPacket d = new dataPacket(my_name_, packet.content(), contenttype, (new Integer(init_image_.length())).toString() , init_image_); - wq_.nq(d); - } - - private void nexus_text(dataPacket packet) { - Room r = Hotel_.getRoom(packet.destination()); - r.getQ().nq(packet); - } - - private void nexus_lusers(dataPacket packet) { - - Room r = Hotel_.getRoom(packet.content()); - Enumeration e = r.clientList(); - StringBuffer sb = new StringBuffer(); - while(e.hasMoreElements()) - sb.append(" " + ((ClientHandler)e.nextElement()).getName() + " "); - dataPacket d = new dataPacket(my_name_, packet.destination(), packet.contentType(), (new Integer(sb.length())).toString(), sb.toString()); - wq_.nq(d); - } - - private void nexus_lrooms(dataPacket packet) { - String s = Hotel_.listRooms(); - dataPacket d = new dataPacket(my_name_, packet.destination(), packet.contentType(), (new Integer(s.length())).toString(), s.toString()); - wq_.nq(d); - } - - private void nexus_nick(dataPacket packet) { - Enumeration e = roomlist_.elements(); - while(e.hasMoreElements()) - writeRoom((Room)e.nextElement(), my_name_ + " is now known as " + packet.content()); - - my_name_ = new String(packet.content()); - } - - private void nexus_leave(dataPacket packet) { - - Room r = Hotel_.getRoom(packet.content()); - writeRoom(r, my_name_ + " has left the room " + packet.content()); - if(r.delClient(this)) Hotel_.delRoom(r); - roomlist_.removeElement(r); - } - - private void nexus_quit(dataPacket packet) { - - Enumeration e = roomlist_.elements(); - while(e.hasMoreElements()) { - Room r = (Room)e.nextElement(); - writeRoom(r, my_name_ + " has quit " ); - r.delClient(this); - } - finished_ = true; - } - - private void nexus_url(dataPacket packet) { - try { - URL u = new URL(packet.content()); - - // first extract the filename stripped of its path. - int index = u.getFile().lastIndexOf("/"); - String infilename = u.getFile().substring(index + 1); - - // next construct the name of the temporary file - String outfilename = (System.getProperty("mywebdir") + "_" + packet.destination() + "." + infilename); - - // now the temporary URL assigned to this request - String imageURL = new String(System.getProperty("mywebaddress") + "_" + packet.destination() + "." + infilename); - - // Open temporary file for writing - FileOutputStream fout = new FileOutputStream(outfilename); - - // Now contact alien ship - InputStream i = u.openStream(); - byte[] buffer = new byte[1024]; - - // And download the image - for(;;) { - int num = i.read(buffer); - if(num < 0) - break; - fout.write(buffer, 0, num); - } - - fout.close(); - i.close(); - - // Get room for which this request was issued - Room r = Hotel_.getRoom(packet.destination()); - - // invalidate previous entry - File f = new File(r.getLastImageName()); - if(f.exists()) f.delete(); - - // add new image name - r.putNextImageName(outfilename); - writeRoom(r,"Asynchronously transferring image " + packet.content() + " from " + my_name_ ); - dataPacket d = new dataPacket(my_name_, packet.destination(), packet.contentType(), (new Integer(imageURL.length())).toString(), imageURL); - r.getQ().nq(d); // multicast this imageURL onto the room.. - - } - catch(java.net.MalformedURLException ue) { - System.out.println("warning:Invalid URL requested"); - } - catch(java.io.IOException e) { - System.out.println("warning: IOException occurred"); - } - - } - - // Sends a "system" message msg onto room r - private void writeRoom(Room r, String msg) { - StringBuffer sb = new StringBuffer(); - sb.append("==>"); - sb.append(msg); - dataPacket d = new dataPacket(my_name_, r.getName() , "TEXT" , (new Integer(sb.length())).toString(), sb.toString()); - r.getQ().nq(d); - } - - public String getName() { - return my_name_; - } - - public MT_Bounded_Queue getQ() { - return wq_; - } - -} -// ---------------------------------------------------------------------- -/** This class implements a room factory. getRoom returns an existing room, - or else creates it and returns a reference to a new room. - -**/ -class RoomFactory implements consts { - - private Vector Hotel_; - public RoomFactory() { - Hotel_ = new Vector(); - } - public synchronized Room getRoom(String name) { - Enumeration e = Hotel_.elements(); - while(e.hasMoreElements()) { - Room r = (Room) e.nextElement(); - if(r.getName().equals(name)) - return r; - } - addRoom(name); - return getRoom(name); - } - - private synchronized void addRoom(String name) { - Room r = new Room(name); - Hotel_.addElement(r); - } - public synchronized void delRoom(Room r) { - Hotel_.removeElement(r); - } - public synchronized String listRooms() { - Enumeration e = Hotel_.elements(); - StringBuffer sb = new StringBuffer(); - while(e.hasMoreElements()) - sb.append(" " + ((Room)e.nextElement()).getName() + " "); - return sb.toString(); - } -} - - diff --git a/java/apps/NexusII/src/Producer.java b/java/apps/NexusII/src/Producer.java deleted file mode 100644 index 4153f7d79df..00000000000 --- a/java/apps/NexusII/src/Producer.java +++ /dev/null @@ -1,87 +0,0 @@ -// This class encapsulates a Producer. Each new instance of this class -// creates a different thread which tries to nq into the queue -// Currently queues random values generated by the Random class -// If timeout expires, the Producer instance returns - -//package NexusII.util ; - -import java.util.Random ; - -public class Producer extends Thread -{ - -// If no time out is desired, timeout value is set to one. so the run method -// knows which nq to call - -public Producer(MT_Bounded_Queue queue) - { - this.queue_ = queue ; - this.iterations_ = new Integer(DEFAULT_ITERATIONS); - this.time_out_ = -1 ; - } - -// Include the name of the thread as a parameter -public Producer(MT_Bounded_Queue queue, String name) - { - super(name); - this.queue_ = queue ; - this.iterations_ = new Integer(DEFAULT_ITERATIONS); - this.time_out_ = -1 ; - } - -// If the number of iterations are also included -- -public Producer(MT_Bounded_Queue queue, String name, Integer iterations) - { - super(name); - this.queue_ = queue ; - iterations_ = iterations ; - this.time_out_ = -1 ; - } - -// Finally, if the timeout period is also included - -public Producer(MT_Bounded_Queue queue, String name, Integer iterations, long msec_timeout) - { - super(name); - this.queue_ = queue ; - iterations_ = iterations ; - this.time_out_ = msec_timeout ; - } - -// The hook method called by start() - -public void run() - { - // Initialize the random number generator - Random rand = new Random(); - for(int i=0;i - - -import java.util.*; -import java.io.File; - -// This class(&thread) is responsible for multicasting -// packets on its incoming "client" queues, onto one or -// more outgoing queues, which are picked up by the client. -class RoomThread implements Runnable, consts { - - private MT_Bounded_Queue rq_; - private Vector clientlist_; - - public RoomThread(MT_Bounded_Queue rq, Vector clientlist) { - rq_ = rq; - clientlist_ = clientlist; - } - - public void run() { - for(;;) { - dataPacket d = (dataPacket) rq_.dq(); // Extract packet - Enumeration e = clientlist_.elements(); // Iterate over clients - while(e.hasMoreElements()) - ((ClientHandler)e.nextElement()).getQ().nq(d); // Enqueue packet - } - } -} - - -public class Room implements consts { - - private String name_; // name of this "room" - private String last_image_ = new String("NexusII.gif"); // filename of the last image broadcast - private Thread roomthread_; - private MT_Bounded_Queue rq_ = new MT_Bounded_Queue(); - private Vector clientlist_ = new Vector(); - - // Constructors - public Room(String name) { - int i; - name_ = new String(name); - roomthread_ = new Thread(new RoomThread(rq_, clientlist_)); - roomthread_.start(); - } - - // Client management methods follow.. - - public synchronized void addClient(ClientHandler client) { - clientlist_.addElement(client); - } - // Returns true if this room has now become empty - public synchronized boolean delClient(ClientHandler client) { - clientlist_.removeElement(client); - return clientlist_.isEmpty(); - } - - public synchronized boolean checkClient(ClientHandler client) { - return clientlist_.contains(client); - } - - public synchronized Enumeration clientList() { - return clientlist_.elements(); - } - - public String getName() { - return name_; - } - - public MT_Bounded_Queue getQ() { - return rq_; - } - - public synchronized String getLastImageName() { - return last_image_; - } - - public synchronized void putNextImageName(String s) { - last_image_ = s; - } - - protected void finalize() { - roomthread_.stop(); - File f = new File(last_image_); - if(f.exists()) - f.delete(); - roomthread_ = null; - } -} - - - - - - - diff --git a/java/apps/NexusII/src/RoomFrame.java b/java/apps/NexusII/src/RoomFrame.java deleted file mode 100644 index e9da19b31d6..00000000000 --- a/java/apps/NexusII/src/RoomFrame.java +++ /dev/null @@ -1,297 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:02 sumedh - Added the Nexus II source code files. - -# Revision 1.2 1996/12/07 06:25:18 rajeev -# backup -# -# Revision 1.1 1996/12/07 06:15:12 rajeev -# Initial revision -# - - -*/ -import java.awt.*; -import awtCommand.*; -import java.util.* ; - -//import NexusII.client.* ; -//import NexusII.util.* ; -//import NexusII.networking.*; - -class RoomFrame extends CFrame implements consts { - private static String rcsId = new String("$Id$"); - - // Graphics Objects - private CTextField tfInput ; - private CTextArea taOutput ; - private CButton bLeave ; - private ImageCanvas icOutput; - private Font normalFont = new Font("Helvetica", Font.PLAIN, 14); - private Font boldFont = new Font("Helvetica", Font.BOLD, 14); - private Font italicFont = new Font("Helvetica", Font.ITALIC, 14); - private static final int LINE_LENGTH = 70; - - // Other required objects - private MT_Bounded_Queue write_q_ ; - private NexusClientApplet applet_ ; - private String myName_ ; - - public RoomFrame(MT_Bounded_Queue write_q, - NexusClientApplet applet, - String name) { - super(name); - write_q_ = write_q ; - applet_ = applet ; - myName_ = name ; - SetUpGraphics(); - this.pack(); - this.show(); - } - - void SetUpGraphics() { - // Initialize the graphics objects - // The input text line - tfInput = new CTextField(LINE_LENGTH); - textHandler handlerT = new textHandler(write_q_,applet_,myName_); - tfInput.setActionCommand(handlerT); - // The leave button - bLeave = new CButton(LEAVE_STR); - bLeave.setActionCommand(applet_.nexusJoiner); - - icOutput = new ImageCanvas(myName_); - taOutput = new CTextArea(10,LINE_LENGTH); - - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - setFont(normalFont); - setLayout (gbl); - - gbc.insets = new Insets(5,5,5,5); - gbc.ipadx = 5; - gbc.ipady = 5; - gbc.weightx = 1.0; - gbc.weighty = 1.0; - - // First the Image so that sizes are fixed - gbc.gridx = 1; - gbc.gridy = 0; - gbc.anchor = GridBagConstraints.CENTER; - gbc.fill = GridBagConstraints.BOTH; - gbl.setConstraints(icOutput, gbc); - add(icOutput); - - // The Text Output Area - gbc.gridx = 0; - gbc.gridy = 0; - gbc.weighty = 0.0; - gbc.anchor = GridBagConstraints.SOUTH; - gbc.fill = GridBagConstraints.BOTH; - gbl.setConstraints(taOutput,gbc); - taOutput.setEditable(false); - add(taOutput); - - // The Text Input Field - gbc.gridx = 0; - gbc.gridy = 1; - gbc.weighty = 0.0; - gbc.anchor = GridBagConstraints.NORTH; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbl.setConstraints(tfInput,gbc); - add(tfInput); - - // The Leave Button - gbc.gridx = 1; - gbc.gridy = 1; - gbc.anchor = GridBagConstraints.NORTH; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbl.setConstraints(bLeave,gbc); - add(bLeave); - - resize(800,280); - setResizable(true); // Allow the user to resize - validate(); - } - - public boolean handleEvent(Event event) { - if (event.id == Event.WINDOW_DESTROY) - dispose(); - return super.handleEvent(event); - } - - // This function will be called by the RoomHandler when it receives - // anything for this room and will add the data - public void addText(String tobeadded) { - if (false) { - String speaker = null; - String msg = null; - int pos = tobeadded.indexOf(':'); - if (pos >= 0) - speaker = tobeadded.substring(0,pos+1); - else - speaker = new String(""); - msg = tobeadded.substring(pos+1); - Font oldf = taOutput.getFont(); - taOutput.setFont(boldFont); - taOutput.appendText(speaker); - taOutput.setFont(italicFont); - taOutput.appendText(msg+"\n"); - taOutput.setFont(oldf); - } - else { - taOutput.appendText(tobeadded+"\n"); - } - return; - } - - // This function will also be called by the RoomHandler whenit receives - // Image data for this room. - public void updateImage(Image im) { - if(DEBUG) { - System.out.println("Room : I got an image"); - } - icOutput.setImage(im); - } - - -} - - - -/** - * The ImageCanvas Class -- for the image in the class - */ -class ImageCanvas extends Canvas implements consts { - - Image image_ = null; - int defWidth_ = 128; - int defHeight_ = 128; - int margin = 5; - - String name_ = new String("Nexus Room"); - Font nameFont = new Font("Helvetica",0,14); - - public ImageCanvas(String s) - { - name_ = s; - } - - public Dimension preferredSize() { - return minimumSize(); - } - public Dimension minimumSize() { - return new Dimension(defWidth_, defHeight_); - } - - public void setImage(Image newIm) { - image_ = newIm; - repaint(); - } - public Image getImage() { - return image_; - } - - public void name(String n) { - name_ = n; - } - public String name() { - return name_; - } - - public void paint(Graphics g) { - Dimension d = size(); - int width = d.width; - int height = d.height; - - if (DEBUG) - System.out.println("ImageCanvas:: width = "+width+ " height="+height); - - g.setColor(Color.black); - g.fillRect(0,0,width-1,height-1); - g.setColor(Color.white); - g.fillRect(margin,margin,width-2*margin,height-2*margin); - // Create image if reqd - if (image_ == null) - image_ = createImage(width-2*margin,height-2*margin); - - g.drawImage(image_, margin, margin, - width-2*margin, height-2*margin, Color.white, this); - g.setColor(Color.blue); - g.setFont(nameFont); - FontMetrics fm = g.getFontMetrics(); - g.drawString(name_,(width - fm.stringWidth(name_))/2, - (int)(height*0.9 - fm.getMaxDescent())); - validate(); - return; - } - - public void update(Graphics g) { - paint(g); - } - -} // End of the Image Canvas Class - - - -// this is the event handler for the textfield -- whenever anything is typed -class textHandler implements Command,consts,Runnable { - private MT_Bounded_Queue write_q_ ; - private NexusClientApplet applet_ ; - private String name_ ; - Object what_ ; - - public textHandler(MT_Bounded_Queue write_q, - NexusClientApplet applet, - String name) { - write_q_ = write_q ; - applet_ = applet ; - name_ = name ; - } - - public void execute(Object target, Event evt, Object what) { - // get the string and send it across in a different thread - what_ = what ; - // clear the field in the gui - ((TextField)target).setText(""); - // send it off - new Thread(this).start(); - } - - // send off the string in a different thread - public void run() { - String data = (String)what_; - // check if data begins with / and is followed by url - if(!data.startsWith("/url")) { - - String user = NexusClientApplet.myName ; - String command = user + ":" + data ; - String len = Integer.toString(command.length()); - dataPacket packet = new dataPacket(NexusClientApplet.myName,name_, - "TEXT",len,command); - write_q_.nq(packet); - } - else { - // it is /url - StringTokenizer t = new StringTokenizer(data); - // take out the /url from here - String ur = t.nextToken(); - // data now - String command = t.nextToken(); - String len = Integer.toString(command.length()); - dataPacket packet = new dataPacket(NexusClientApplet.myName,name_, - "URL",len,command); - write_q_.nq(packet); - } - } -} // end of class - - - diff --git a/java/apps/NexusII/src/RoomSpace.java b/java/apps/NexusII/src/RoomSpace.java deleted file mode 100644 index 9afb78ddff1..00000000000 --- a/java/apps/NexusII/src/RoomSpace.java +++ /dev/null @@ -1,110 +0,0 @@ -import java.awt.*; - -class RoomFrame extends Frame // implements Runnable -{ - - // Graphics Objects - private Panel panel = new Panel(); - private TextField tfInput = new TextField(80); - private TextArea taOutput = new TextArea(80,10); - Button bLeave = new Button("Leave"); - ImageCanvas icOutput = new ImageCanvas(); - - void InitGraphics() - { - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - setFont(new Font("Helvetica", Font.PLAIN, 14)); - panel.setLayout (gbl); - - gbc.weightx = 1.0; - gbc.weighty = 1.0; - - // First the Image so that sizes are fixed - gbc.gridx = 1; - gbc.gridy = 0; - gbc.anchor = GridBagConstraints.CENTER; - gbc.fill = GridBagConstraints.NONE; - gbl.setConstraints(icOutput, gbc); - panel.add(icOutput); - - // The Text Output Area - gbc.gridx = 0; - gbc.gridy = 0; - gbc.anchor = GridBagConstraints.WEST; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbl.setConstraints(taOutput,gbc); - taOutput.setEditable(false); - panel.add(taOutput); - - // The Text Input Field - gbc.gridx = 0; - gbc.gridy = 1; - gbc.anchor = GridBagConstraints.WEST; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbl.setConstraints(tfInput,gbc); - panel.add(tfInput); - - // The Leave Button - gbc.gridx = 1; - gbc.gridy = 1; - gbc.anchor = GridBagConstraints.WEST; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbl.setConstraints(bLeave,gbc); - panel.add(bLeave); - } - - - public RoomFrame() - { - this("Anonymous"); - } - - public RoomFrame(String s) - { - InitGraphics(); - super(s); - this.pack(); - this.show(); - } - - public boolean handleEvent(Event event) - { - if (event.id == Event.WINDOW_DESTROY) - dispose(); - return super.handleEvent(event); - } - -} - -class ImageCanvas extends Canvas { - - Image image_; - int imgWidth_ = 128; - int imgHeight_ = 128; - - public Dimension preferredSize() { - return minimumSize(); - } - - public Dimension minimumSize() { - return new Dimension(imgWidth_, imgHeight_); - } - - public void image(Image newIm) { - image_ = newIm; - } - - public Image image() { - return image_; - } - - public void paint(Graphics g) { - g.drawImage(image_,0,0,this); - } - - public void update() { - paint(); - } - -} // End of the Image Canvas Class diff --git a/java/apps/NexusII/src/Timed_Wait.java b/java/apps/NexusII/src/Timed_Wait.java deleted file mode 100644 index 792db39ceb9..00000000000 --- a/java/apps/NexusII/src/Timed_Wait.java +++ /dev/null @@ -1,86 +0,0 @@ -// package NexusII.util ; - - -// Subclass the Exception class to get TimeoutException - -class TimeoutException extends Exception -{ - public TimeoutException() - { - super(); - } - - public TimeoutException(String s) - { - super(s); - } - -} - -// Timed_wait class. This can used by enq and deq to do timed_waits -public abstract class Timed_Wait -{ - // By default the object is itself -public Timed_Wait () - { - object_ = this; - } - // If the calling class specifies objects, delegate to it. -public Timed_Wait (Object obj) - { - object_ = obj; - } - - // This is the object we delegate to if a - // subclass gives us a particular object, - // otherwise, we ``delegate'' to ourself - // (i.e., to this). -protected Object object_; - - // This hook method must be overridden - // by a subclass to provide the condition. - -public abstract boolean condition (); - - // This will borrow the monitor lock from the calling class - -public final void timed_wait(long msec_timeout) -throws InterruptedException, TimeoutException - { - // wait if the condition is false - if (!condition()) - { - long start = System.currentTimeMillis() ; - long wait_time = msec_timeout ; - - for(;;) - { - // anyway have to wait atleast till waittime - object_.wait(wait_time); - - // on coming out check for the condition again - if(!condition()) - { - long now = System.currentTimeMillis() ; - long time_so_far = now - start ; - - // if timed out - if(time_so_far >= msec_timeout) - throw new TimeoutException() ; - else - // retry !! we have some time left - wait_time = msec_timeout - time_so_far ; - } - else // the condition is true here - break ; - } - } - } - - // Notify all threads waiting on the object_. -public final void broadcast () - { - object_.notifyAll (); - } -} - diff --git a/java/apps/NexusII/src/Timer.java b/java/apps/NexusII/src/Timer.java deleted file mode 100644 index df781274913..00000000000 --- a/java/apps/NexusII/src/Timer.java +++ /dev/null @@ -1,31 +0,0 @@ -// This class encapsulates a Timer mechanism -// Can be used for Profiling of parts of code and gathering statistics - -package NexusII ; - -public class Timer { - -public Timer() -{ - start_ = 0 ; -} - -public void start() - -{ - start_ = System.currentTimeMillis(); -} - -public long elapsed_time() -{ - return System.currentTimeMillis() - start_ ; -} - -public void stop() -{ - start_ = 0 ; -} - -private long start_ = 0 ; - -} diff --git a/java/apps/NexusII/src/commandHandler.java b/java/apps/NexusII/src/commandHandler.java deleted file mode 100644 index 4cf80d04235..00000000000 --- a/java/apps/NexusII/src/commandHandler.java +++ /dev/null @@ -1,44 +0,0 @@ -// To handle the events generated by command-line. The user will be saying -// /nick - -import java.awt.* ; -import java.util.* ; - -//import NexusII.client.* ; - -import awtCommand.* ; - - -public class commandHandler implements Command,consts { - NexusClientApplet applet_ ; - // will handle the /nick command for now -- urgent - public commandHandler(NexusClientApplet applet ) { - applet_ = applet ; - } - - public void execute(Object target,Event evt,Object what) { - // Right now assume that it is just a nick command - if(DEBUG) { - System.out.println("Nick typed in ---- "); - } - StringTokenizer t = new StringTokenizer((String)what) ; - // string for holding /nick and - String command = null ; - if(t.hasMoreTokens()) { - command = t.nextToken(); - } - - if(command.equalsIgnoreCase("/nick")) { - if(t.hasMoreTokens()) { - // have to send a nick packet to server - applet_.myName = new String(t.nextToken()); - applet_.sendNickToServer(applet_.myName); - - } - } - // clear the field in the gui - ((TextField)target).setText(""); - - } -} -// of class diff --git a/java/apps/NexusII/src/commandParser.java b/java/apps/NexusII/src/commandParser.java deleted file mode 100644 index 64e6da66122..00000000000 --- a/java/apps/NexusII/src/commandParser.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:06 sumedh - Added the Nexus II source code files. - -# Revision 1.1 1996/12/07 06:27:38 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:05:08 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ -// why not use java utilities !! - -import java.util.* ; -import java.lang.* ; -import java.awt.* ; - - - -//import NexusII.client.* ; -//import NexusII.util.* ; -//import NexusII.networking.* ; - - - -import awtCommand.* ; - -// This class takes a command parses it and packetizes it and puts it in the -// global send queue. It works in its own thread of control and after nqing -// its run() method falls off. It does its work and dies -// Will act as an eventHandler for TextField most probably - -public class commandParser implements Command,consts,Runnable { - - String command ; - MT_Bounded_Queue q_ ; - NexusClientApplet applet_ ; - // constructor - - public commandParser(MT_Bounded_Queue write_q,NexusClientApplet applet) { - // create a reference to the write_q - q_ = write_q ; - // note the applet name - applet_ = applet ; - - } - - - public void execute(Object target, Event evt, Object what) { - // Get the text which was entered there -- - command = new String((String) what) ; - // run in a separate thread - Thread main = new Thread(this); - main.start(); - } - - // The parser etc. run here - public synchronized void run() { - String actual_command = new String(); - String data = new String(); - String data_len = new String(); - if(DEBUG) { - System.out.println("commandParser thread running --- \n"); - } - - // Do the parsing first - if(command.equalsIgnoreCase(LUSERS_STR)) { - actual_command = new String("LUSERS") ; - data = applet_.GetRoomName() ; - data_len = new String(String.valueOf(data.length())); - if(data.length() == 0) - return ; - } - - else if(command.equalsIgnoreCase(LROOMS_STR)) { - actual_command = new String("LROOMS") ; - data = new String("") ; - data_len = new String("0") ; - } - - String room = new String("ROOT"); - - if(DEBUG) { - System.out.println("The room is " + room + "\n"); - } - - /* - StringBuffer databuffer = new StringBuffer(); - - // Get the data - while(t.hasMoreTokens()) { - databuffer.append(t.nextToken()); - } - String data = new String(databuffer); - if(DEBUG) { - System.out.println("The data is " + data + "\n"); - } - - // data length - String data_len = String.valueOf(data.length()); - // Now make a packet - */ - - dataPacket pack = new dataPacket(NexusClientApplet.myName,room,actual_command,data_len,data); - // enqueue it now - q_.nq(pack); - - } // my job is over - -} -// of class - diff --git a/java/apps/NexusII/src/connectionHandler.java b/java/apps/NexusII/src/connectionHandler.java deleted file mode 100644 index 5e9d3823a68..00000000000 --- a/java/apps/NexusII/src/connectionHandler.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:07 sumedh - Added the Nexus II source code files. - -# Revision 1.1 1996/12/07 06:27:38 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:05:30 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ -// This class will handle the event generated when user presses "connect/dis -// connect" button. It will maintain all the state associated with a -// connection ; -// In particular, it will create reader,writer and demux threads and stop -// them when user pressed disconnect. It also sends the init and quit -// packet to the server -// -- Rajeev Bector 11/26/96 - -// package NexusII.networking ; - -import awtCommand.* ; - -import java.net.* ; -import java.awt.* ; -import java.io.* ; -import java.util.* ; -import ACE.OS.*; -import ACE.SOCK_SAP.*; - -public class connectionHandler implements Command,consts,Runnable { - - // The socket for reading and writing - // private Socket nexusSocket; - private SOCKConnector nexusConnector_ = new SOCKConnector(); - private SOCKStream nexusStream_ = new SOCKStream(); - - // Threads which will do reading and writing from Socket - private Thread readerThread ; - private Thread writerThread ; - - // Threads which demuxes the data from Write Queue - private Thread demuxThread; - - // The socket - // private Socket nexusSocket_ ; - - // Data Streams which flow the data out - private DataInputStream is_ ; - private DataOutputStream os_ ; - - // links to the outside world - private MT_Bounded_Queue read_q_ ; - private MT_Bounded_Queue write_q_ ; - - Integer port_ ; - String host_ ; - - NexusClientApplet applet_ ; - // Constructor - public connectionHandler(String host,Integer port,NexusClientApplet applet) { - host_ = host ; - port_ = port ; - applet_ = applet ; - } // of constructor - - // This will be called when the "connect/disconnet" button is pressed - - public void execute(Object target, Event evt, Object what) { - // run in a separate thread - new Thread(this).start(); - } - - public synchronized void run() { - - // If not connected -- then connect - if(!applet_.connected) { - - // Initialize the queues now - read_q_ = new MT_Bounded_Queue(QUEUE_SIZE); - write_q_ = new MT_Bounded_Queue(QUEUE_SIZE); - - // Try to connect to the server now - // nexusSocket_ = new Socket(host_,port_.intValue()); - try { - nexusConnector_.connect(nexusStream_, host_, port_.intValue()); - } - catch(SocketException s) { } - catch(IOException i) { } - // Attach Streams to read and write end os socket - os_ = new DataOutputStream(nexusStream_.outputStream()); - is_ = new DataInputStream(nexusStream_.inputStream()); - - // do something now - - // create and start the socket reader first - readerThread = new socketReaderThread(read_q_,is_); - readerThread.start(); - - // now create the writer also -- subclass of consumer - writerThread = new socketWriterThread(write_q_,os_); - writerThread.start(); - // Have to send the init packet to the server - sayHelloToServer(); - - - // Do all the graphics needed and also init the join handlers etc. - applet_.OnConnect(); - - // make sure that when demux is created -- joinHandler is there ... !! - - // Create the demux here -- he'll spawn off the rooms - demuxThread = new nexusDemuxThread(read_q_,applet_.Mapper()); - demuxThread.start(); - - } // of if !connected - - // if connected already then I have to disconnect --- have to - // write code for this - else { - - // first leave all the rooms - for(Enumeration e = applet_.Mapper().keys(); e.hasMoreElements();) { - String name = (String) e.nextElement() ; - applet_.SetRoomName(name); - applet_.nexusJoiner.execute(null,null,LEAVE_STR); - } - // send a quit packet to the server - sayByeToServer(); - - // Have to send a leave for all the rooms and leave all the rooms - - // stop the running threads - readerThread.stop(); - demuxThread.stop(); - - // Again meddle with graphics - applet_.OnDisconnect(); - return ; - } - } // of run - - // This method returns the underlying socket descriptor - public Socket handle() { - return nexusStream_.socket(); - } - - public DataInputStream getinStream() { - return is_ ; - } - - public DataOutputStream getoutStream() { - return os_ ; - } - - public MT_Bounded_Queue reader_q() { - return read_q_ ; - } - - - public MT_Bounded_Queue writer_q() { - if(write_q_ == null) - System.out.println("Sending a null write_q"); - return write_q_ ; - } - - // This method will compose a hello packet and send it off -- cannot run - // this in a separate thread. Has to send this first surely to our TCP - // Connection - - public void sayHelloToServer() { - // hello doesnt have any body - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH] ; - String clientID = new String(NexusClientApplet.myName); - String roomID = new String("ROOT"); - String contentType = new String("INIT"); - String contentLength = new String("0"); - - // Make a proper packet out of it - dataPacket initPacket = new dataPacket(clientID,roomID,contentType,contentLength); - - // enqueue that packet for socketWriter to read - write_q_.nq(initPacket); - - } - - // This method send a Quit command to the server -- to say that it is - // pushing off - public void sayByeToServer() { - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH] ; - String clientID = new String(NexusClientApplet.myName); - String roomID = new String("null"); - String contentType = new String("QUIT"); - String contentLength = new String("0"); - - // Make a proper packet out of it - dataPacket quitPacket = new dataPacket(clientID,roomID,contentType,contentLength); - - // enqueue that packet for socketWriter to read - write_q_.nq(quitPacket); - } // of sayByeToServer - -} // of class - - - - - - - - - - - - - - - - - - - - - diff --git a/java/apps/NexusII/src/consts.java b/java/apps/NexusII/src/consts.java deleted file mode 100644 index 304ec41a41e..00000000000 --- a/java/apps/NexusII/src/consts.java +++ /dev/null @@ -1,40 +0,0 @@ -// package NexusII.client ; - -// An interface for all the public constants shared by clientApplet -// All classes that need to access constants will implement this - -public interface consts { - // Length of each field in the header - public static final int FIELD_LENGTH = 32 ; - - // Total length of header - public static final int PACKET_HEADER_LENGTH = 128; - - // Offset where we can find the data length - public static final int DATA_LEN_OFFSET = 96; - - // Size of Queues where reader and writer work - public static final int QUEUE_SIZE = 20 ; - - // Separator used by tokens in the packet - public static final String SEPARATOR = " " ; - - // End of message - public static final String END_OF_DATA = "\n" ; - - // Useful for debugging -- set to false for release version (demo) -- Aravind - public static final boolean DEBUG = false; - - // Size of hash tables - public static final int HASH_SIZE = 16 ; - - public static final String JOIN_STR = "Join" ; - public static final String LEAVE_STR = "Leave" ; - public static final String LUSERS_STR = "List Users" ; - public static final String LROOMS_STR = "List Rooms" ; - - public static final int SERVER_PORT = 42429 ; - public static final String NEXUS_LOGO = "Nexus_Logo.gif"; -} - - diff --git a/java/apps/NexusII/src/dataPacket.java b/java/apps/NexusII/src/dataPacket.java deleted file mode 100644 index 1bd2dfeb6ab..00000000000 --- a/java/apps/NexusII/src/dataPacket.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:08 sumedh - Added the Nexus II source code files. - -# Revision 1.2 1996/12/07 06:27:38 rajeev -# yaah paranoid backup ... -# -# Revision 1.1 1996/12/06 18:23:45 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:07:53 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ -// This class encapsulates a dataPacket -// Will encapsulate the byteStream as a characterStream into a single thing -// no packets for now -// package NexusII.networking ; - -//import NexusII.client.* ; - -public class dataPacket implements consts, Cloneable{ - - private String clientName ; - private String roomName ; - private String contentType ; - private String contentLength ; - private String content ; - - // constructor -- will create the data packet - public dataPacket(byte[] header, byte[] body) { - int len = FIELD_LENGTH ; - clientName = new String(header,0,0,len); - roomName = new String(header,0,1*len,len); - contentType = new String(header,0,2*len,len); - contentLength = new String(header,0,3*len,len); - content = new String(body,0); - if(DEBUG) - System.out.println("datapacket: Constructed packet with header " + header + " and body " + body); - } - - // another constructor for length 0 packets - public dataPacket(String client, String room, String type,String len) - { - clientName = new String(client); - roomName = new String(room); - contentType = new String(type); - contentLength = new String(len); - content = new String(); - } - - // another one for some data also - public dataPacket(String client, String room, String type,String len,String data) - { - this(client,room,type,len); - content = new String(data); - } - - // return the data in bytized header and body - public void bytize(byte[] header, byte[] body) - { - // clear the header and body -- fill them with whitespace - String white_space = new String(" "); - - if(DEBUG) { - System.out.println("dataPacket: length is " + new Integer(contentLength.trim()).intValue() + "\n"); - } - - int len = FIELD_LENGTH ; - // copy the header - clientName.getBytes(0,clientName.length(),header,0); - roomName.getBytes(0,roomName.length(),header,len*1); - contentType.getBytes(0,contentType.length(),header,len*2); - contentLength.getBytes(0,contentLength.length(),header,len*3); - - int body_len = (new Integer(contentLength.trim())).intValue(); - // copy the body also - content.getBytes(0,body_len,body,0); - } - - public int contentLength() { - return new Integer(contentLength.trim()).intValue(); - } - - // Returns the destination for the current packet - public String destination(){ - return roomName.trim() ; - } - - public String contentType() { - return contentType.trim() ; - } - - - public String content() { - return content.trim() ; - } - - public String clientName() { - return clientName.trim() ; - } - -} -// of class datapacket - - - - - - - - diff --git a/java/apps/NexusII/src/joinHandler.java b/java/apps/NexusII/src/joinHandler.java deleted file mode 100644 index 3ff071c26ed..00000000000 --- a/java/apps/NexusII/src/joinHandler.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:09 sumedh - Added the Nexus II source code files. - -# Revision 1.1 1996/12/07 06:27:38 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:06:22 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ - -// This class will handle the event generated when user presses "join/leave" -// button. It will maintain all the state associated with all the rooms -// It'll also create and maintain the rooms -// -- Rajeev Bector 11/26/96 - -// package NexusII.networking ; - -// This is a SINGLETON - - -import java.net.* ; -import java.util.* ; -import java.awt.* ; -import java.io.* ; - - -//import NexusII.client.* ; -//import NexusII.util.* ; -//import NexusII.networking.* ; - -import awtCommand.* ; - -public class joinHandler implements Command,consts { - MT_Bounded_Queue write_q_ ; - Hashtable name_to_q_ ; - Hashtable name_to_handler_ ; - NexusClientApplet applet_ ; - - // This will be called when the "join/leave" button is pressed - public joinHandler(MT_Bounded_Queue writer_q,NexusClientApplet applet) { - write_q_ = writer_q ; - applet_ = applet ; - // init. the Hashtables - name_to_q_ = new Hashtable(HASH_SIZE); - name_to_handler_ = new Hashtable(HASH_SIZE); - - } - - public Hashtable Mapper() { - return name_to_q_ ; - } - - public void execute(Object target, Event evt, Object what) { - - String roomName = applet_.GetRoomName() ; - if(roomName.length()==0) { - return ; - } - - // if it is the join button - if(((String)what).equalsIgnoreCase(JOIN_STR)) { - //if already joined -- return - if(name_to_q_.get(roomName) != null) - return ; - - // room doesnt exist - // Just in case the room name isn't listed - applet_.AddRoomName(roomName); - // create a new queue for the room to use - - MT_Bounded_Queue q_ = new MT_Bounded_Queue(QUEUE_SIZE); - if(DEBUG) { - System.out.println("joinHandler: inserted the queue in hash "); - } - name_to_q_.put(roomName,q_); - roomHandler handler = new roomHandler(roomName,q_,write_q_,applet_); - name_to_handler_.put(roomName,handler); - - // send a request to the server - sayJoinToServer(roomName); - // sendTestPacket(roomName,"URL","http://cumbia.cs.wustl.edu:4242/~sumedh/NexusII/NexusII.gif",q_); - } // of join - - else { - // its a "leave packet" - if(name_to_q_.get(roomName) == null) - return ; - // remove the entry from the queue - name_to_q_.remove(roomName); - - roomHandler handle = (roomHandler) name_to_handler_.get(roomName); - if(DEBUG) - System.out.println("joinHandler:Stopiing the room thread" + roomName); - handle.mystop(); - // handle = null ; - - // remove the entry from the queue - name_to_handler_.remove(roomName); - sayLeaveToServer(roomName); - } // of else - } // of execute - - private void sayJoinToServer(String roomName) { - //if (DEBUG) - // System.out.println("In the say J to server..."); - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH] ; - String clientID = new String(NexusClientApplet.myName); - String roomID = new String("ROOT"); - String contentType = new String("JOIN"); - String contentLength = String.valueOf(roomName.length()); - String content = new String(roomName); - // Make a proper packet out of it - dataPacket joinPacket = new dataPacket(clientID,roomID,contentType,contentLength,content); - - // enqueue that packet for socketWriter to read - write_q_.nq(joinPacket); - } - - private void sayLeaveToServer(String roomName) { - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH] ; - String clientID = new String(NexusClientApplet.myName); - String roomID = new String("ROOT"); - String contentType = new String("LEAVE"); - String contentLength = new String(Integer.toString(roomName.length())); - String content = new String(roomName); - - // Make a proper packet out of it - dataPacket leavePacket = new dataPacket(clientID,roomID,contentType,contentLength,content); - - // enqueue that packet for socketWriter to read - write_q_.nq(leavePacket); - } - - - public void sendTestPacket(String roomName,String type,String content,MT_Bounded_Queue readq) { - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH] ; - String clientID = new String(NexusClientApplet.myName); - String contentLength = new String(Integer.toString(content.length())); - - - // Make a proper packet out of it - dataPacket testPacket = new dataPacket(clientID,roomName,type,contentLength,content); - - // enqueue that packet for socketWriter to read - readq.nq(testPacket); - } - - -} - -// of class - - - - - - - - - - - - - - - - diff --git a/java/apps/NexusII/src/makefile b/java/apps/NexusII/src/makefile deleted file mode 100644 index c3cff521511..00000000000 --- a/java/apps/NexusII/src/makefile +++ /dev/null @@ -1,15 +0,0 @@ -all: client server - -client: ../classes/NexusClientApplet.class - -../classes/NexusClientApplet.class: - javac -d ../classes -depend -g NexusClientApplet.java - -server: ../classes/NexusIIserver.class - -../classes/NexusIIserver.class: - javac -d ../classes -depend -g NexusIIserver.java - -clean: - rm -f ../classes/*.class *~ - diff --git a/java/apps/NexusII/src/nexusDemuxThread.java b/java/apps/NexusII/src/nexusDemuxThread.java deleted file mode 100644 index 96d0fdd06e1..00000000000 --- a/java/apps/NexusII/src/nexusDemuxThread.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:10 sumedh - Added the Nexus II source code files. - -# Revision 1.1 1996/12/07 06:27:38 rajeev -# Initial revision -# -# Revision 1.2 1996/12/05 05:39:47 sumedh -# ok -# -# Revision 1.1 1996/12/02 06:08:20 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ - -// Will take the packets from the input queue -// Parse the packet -// Call the room handler thread which Aravind will provide - -// Mapper object is the one which returns the room_q reference if you pass -// it the room number. Aravind has to implement this object called roomMapper -// which has an instance called mapper in the Applet context. This will be -// referred by nexusDemuxThread whenever it has anything to put in the room_q - -// package NexusII.networking ; - -//import NexusII.util.* ; -//import NexusII.client.* ; - -import java.util.* ; - -public class nexusDemuxThread extends Thread implements consts { - MT_Bounded_Queue q_ ; - dataPacket packet ; - Hashtable mapper_ ; - - // constructor - public nexusDemuxThread(MT_Bounded_Queue read_q,Hashtable mapper) { - q_ = read_q ; - mapper_ = mapper ; - } - - public void run() { - // run till infinity - for(;;) { - if(DEBUG) { - System.out.println("Demux running ---- "); - } - // take out packets from the queue - // parse to find out which room they belong to - packet = ((dataPacket)q_.dq()); - if(DEBUG) { - System.out.println("Demux got something ---- "); - } - - String roomName = packet.destination().trim(); - if(DEBUG) { - System.out.println("demux: destination is : " + roomName); - } - if(DEBUG) { - System.out.println("Hashtable size is " + new Integer(mapper_.size())); - } - // Get a reference to which queue to put it in - MT_Bounded_Queue room_q = (MT_Bounded_Queue)mapper_.get(roomName); - - // nq the packet on the room q - if(room_q != null) { - room_q.nq(packet); - System.out.println("deMux: I have enqueued it successfully"); - } - else - { - System.out.println("demux: room_q was null: i couldnt do much"); - } - } - } - // of run -} -// of class - - - - - -// 11/24/96 -- Rajeev Bector diff --git a/java/apps/NexusII/src/roomHandler.java b/java/apps/NexusII/src/roomHandler.java deleted file mode 100644 index bd125631b74..00000000000 --- a/java/apps/NexusII/src/roomHandler.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:11 sumedh - Added the Nexus II source code files. - -# Revision 1.4 1996/12/07 06:22:49 rajeev -# taking a backup ! -# -# Revision 1.3 1996/12/06 06:20:07 rajeev -# Changes to include leave handler -# -# Revision 1.2 1996/12/06 04:49:44 rajeev -# working now hopefully ! -# -# Revision 1.1 1996/12/06 03:44:32 rajeev -# Initial revision -# - -*/ - -// per room -import java.awt.* ; -import awtCommand.* ; -import java.io.* ; -import java.net.* ; -//import NexusII.client.* ; -//import NexusII.util.* ; -//import NexusII.networking.*; - -public class roomHandler implements Runnable,consts{ - - String roomName_ ; - MT_Bounded_Queue read_q_ ; - MT_Bounded_Queue write_q_ ; - RoomFrame rf_; - Thread mainThread ; - NexusClientApplet applet_ ; - - // I dont know what to do currently - public roomHandler(String roomName, MT_Bounded_Queue reader_q,MT_Bounded_Queue writer_q,NexusClientApplet applet) { - roomName_ = roomName ; - read_q_ = reader_q ; - write_q_ = writer_q ; - applet_ = applet ; - rf_ = new RoomFrame(write_q_,applet_,roomName_); - // whenever this frame gets the mouse focus, handler will be called - FrameHandler fh_ = new FrameHandler(applet_); - rf_.setGotFocusCommand(fh_); - mainThread = new Thread(this); - mainThread.start(); - } - - - public void mystop() { - // dispose the graphics part here - if(DEBUG) - System.out.println("Roomhandlers stop called \n"); - rf_.hide(); - rf_.dispose(); - // no longer need the roomframe - rf_ = null ; - mainThread.stop(); - } - - public void run() { - if(DEBUG) { - System.out.println("Room receiver running ---- "); - } - while(Thread.currentThread() == mainThread) { - // get the data packet - dataPacket packet = (dataPacket)(read_q_.dq()) ; - if(DEBUG) - System.out.println("Room - I got something\n"); - - // if the packet is of text type -- display it - if(packet.contentType().trim().equalsIgnoreCase("TEXT")) { - rf_.addText(packet.content()); - } - // if the packet is a url address -- pull the image across - // this url has to be an image as of now - if(packet.contentType().equalsIgnoreCase("URL")) { - Image im = null ; - try { - im = applet_.getImage(new URL(packet.content())); - } catch (MalformedURLException i) { - // nothing as of now - } - // display the image - rf_.updateImage(im); - - } - - if (DEBUG) - System.out.println("roomhandler" + roomName_ + " got data"); - } - } - - public String toString() { - return roomName_ ; - } - -} // of class roomHandler - -// is executed when the room frame gets mouse focus - -class FrameHandler implements Command { - NexusClientApplet applet_ ; - public FrameHandler(NexusClientApplet applet) { - applet_ = applet ; - } - - public void execute(Object target, Event evt, Object what) { - if(target instanceof Frame) { - applet_.SetRoomName(((RoomFrame)target).getTitle()); - } - } -} - diff --git a/java/apps/NexusII/src/socketReaderThread.java b/java/apps/NexusII/src/socketReaderThread.java deleted file mode 100644 index 35679c504b4..00000000000 --- a/java/apps/NexusII/src/socketReaderThread.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:11 sumedh - Added the Nexus II source code files. - -# Revision 1.1 1996/12/07 06:27:38 rajeev -# Initial revision -# -# Revision 1.3 1996/12/03 01:35:37 rajeev -# fixed a big bug with respect to trim() -# -# Revision 1.2 1996/12/03 01:01:27 rajeev -# // fixed the bug at line 76 -# -# Revision 1.1 1996/12/02 06:08:56 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ -// The socketReaderThread is like a Producer who reads from the socket and -// nqs it onto the queue. Thats it ... Big Deal. huh ! - -// This threads task is -// 1. Take things from SocketBuffer. -// 2. Ensure that Full Packets are read -// 3. Put the packet onto the queue - -//package NexusII.networking ; - -// get hold of java classes -//import NexusII.client.* ; -//import NexusII.util.* ; - -import java.io.* ; - - -public class socketReaderThread extends Producer implements Runnable,consts -{ - DataInputStream is_ ; - - // new constructor - // Pass the queue and socketid to the constructor - - public socketReaderThread(MT_Bounded_Queue q, DataInputStream is) { - // call the super constructor - super(q); - is_ = is ; - } - - // This will just override the run method and thats it - // I want to have my own run ! - - public void run() { - // run indefinitely -- i am a daemon anyway - if(DEBUG) { - System.out.println("--- This is socketReaderThread --- \n"); - } - - for(;;) { - - // read header bytes from stream - int field_len = FIELD_LENGTH ; - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH]; - try { - is_.readFully(packetHeader,0,PACKET_HEADER_LENGTH); - } - catch (IOException e) { - // do something here - System.out.println("socketReader: I/O exception in read: I am quitting"); - // what to do here -- right now quit - return ; - } - if(DEBUG){ - System.out.println("socketReader read:" + new String(packetHeader,0)); - } - - // take out the length field from this - String length = new String(packetHeader,0,DATA_LEN_OFFSET,field_len); - - // Read this much more from the socket - if(DEBUG) { - System.out.println("The length of packet is " + length); - } - - Integer Test = new Integer(length.trim()); - int len = Test.intValue(); - if(DEBUG) { - System.out.println("srt: attempting to read " + Test + " bytes "); - } - - byte[] packetBody = new byte[len] ; - try { - if(len != 0) - is_.readFully(packetBody,0,len); - } - catch (IOException e) { - // do something here - System.out.println("socketReader: I/O exception in read: I am quitting"); - // what to do here -- right now quit - return ; - } - - // The header and the body are there now -- so make a packet - dataPacket packet = new dataPacket(packetHeader,packetBody); - if(DEBUG) - System.out.println("srt: Now nq'ing item body " + packet.content() ); - queue_.nq(packet); - if(DEBUG) - System.out.println("srt: Done nq'ing.."); - - // go back to reading the socket now - } - // of for(;;) - } - // of method run -} diff --git a/java/apps/NexusII/src/socketWriterThread.java b/java/apps/NexusII/src/socketWriterThread.java deleted file mode 100644 index 395449b6a53..00000000000 --- a/java/apps/NexusII/src/socketWriterThread.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - $RCSfile$ - $Author$ - - Last Update: $Date$ - $Revision$ - - REVISION HISTORY: - $Log$ - Revision 1.1 1997/01/31 01:11:12 sumedh - Added the Nexus II source code files. - -# Revision 1.1 1996/12/07 06:27:38 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:09:22 rajeev -# Initial revision -# -# Revision 1.1 1996/12/02 06:02:24 rajeev -# Initial revision -# - -*/ -// The socketWriterThread is like a Consumer who reads from the write_q and -// puts it onto the socket. Thats it ... Big Deal. huh ! - -// This threads task is -// 1. Write things to SocketBuffer. -// 2. Ensure that Full Packets are sent -// 3. Read the packet off the queue - -//package NexusII.networking ; - -// get hold of java classes - -import java.io.* ; - -//import NexusII.client.* ; -//import NexusII.util.* ; - -public class socketWriterThread extends Consumer implements Runnable,consts -{ - DataOutputStream os_ ; - - // new constructor - // Pass the queue and outstream to the constructor - - public socketWriterThread(MT_Bounded_Queue q, DataOutputStream os) { - // call the super constructor - super(q); - os_ = os ; - } - - // This will just override the run method and thats it - // I want to have my own run ! - - public void run() { - // run indefinitely -- i am a daemon anyway - if(DEBUG) { - System.out.println("--- This is socketWriterThread --- \n"); - } - boolean bye_sent = false ; - while(!bye_sent) { - - // read the packet from the queue - dataPacket packet = (dataPacket) queue_.dq(); - if(DEBUG){ - System.out.println("socketWriterThread: I got something -- \n"); - } - - // read length bytes from packet - int len = packet.contentLength() ; - if(DEBUG) { - System.out.println("socketWriterThread: length is " + new Integer(len)); - } - - - int field_len = FIELD_LENGTH ; - - // Allocate storage for holding the fields - - byte[] packetHeader = new byte[PACKET_HEADER_LENGTH]; - byte[] packetBody = new byte[len] ; - - // Fill them - packet.bytize(packetHeader,packetBody); - - // put it on the wire now -- - - try { - os_.write(packetHeader,0,PACKET_HEADER_LENGTH); - } - catch (IOException e) { - // do something here - } - if(DEBUG){ - System.out.println("I wrote:" + new String(packetHeader,0)); - } - - try { - os_.write(packetBody,0,len); - } - catch (IOException e) { - // do something here - } - if(DEBUG){ - System.out.println("I wrote:" + new String(packetBody,0)); - } - // this is to handle if the user presses disconnect without leaving the - // room - if(packet.contentType().equalsIgnoreCase("QUIT")) - bye_sent = true ; - // go back to reading the queue now - } - // of for(;;) - } - // of method run - -} diff --git a/java/apps/NexusII/src/url_to_url.java b/java/apps/NexusII/src/url_to_url.java deleted file mode 100644 index 0fe08ab6db3..00000000000 --- a/java/apps/NexusII/src/url_to_url.java +++ /dev/null @@ -1,33 +0,0 @@ -// This method takes in a url and a prefix name and pulls that url across the -// network, stores it in a local file named prefix - -// for now it assumes that the url is an image only ! - -import java.net.* ; -import java.io.* ; -import java.awt.* ; -public class url_to_url { - Image im ; - - public url_to_url(URL url,String prefix) { - try { - im = (Image)url.getContent(); - } catch (IOException i) {} - String www_path = System.getProperty("www-path"); - String home_dir = System.getProperty("user.home"); - String dir = home_dir + www_path ; - System.out.println("web dir is this : " + dir); - - } - - public static void main(String[] argv) { - URL test = null ; - try { - test = new URL("http://www.cs.wustl.edu/~rajeev/images/sand.jpg"); - } catch ( MalformedURLException e) {} - - url_to_url t = new url_to_url(test,"root") ; - - } - -} diff --git a/java/apps/NexusII/start b/java/apps/NexusII/start deleted file mode 100755 index c699c96da60..00000000000 --- a/java/apps/NexusII/start +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh - -## This is an example script to launch the server. - -# the mywebaddress variable should point to a URL which is world-readable -# the mywebdir variable should point to the actual pathname of the URL -# which is specified by the mywebaddress variable -# The server needs to have write access to the mywebdir directory. -# Thus, the server saves images into the "mywebdir", and clients -# can access them via the "mywebaddress" URL. - -# the 222222 number is the port number on which the server is to be launched -# the same port number should appear in the html document containing -# the client applet (see start.html for an example) - -# while running the server, the ./classes should be part of the CLASSPATH. -# while running the client, the client classes as well as the awtCommand -# toolkit should be world-readable. (The awtcommand toolkit is included -# in this toolkit, under the classes directory.) - - -umask 022 -java -Dmywebaddress=http://cumbia.cs.wustl.edu/NexusII/tmp/ -Dmywebdir=/project/cumbia/sumedh/web/apache/root/NexusII/tmp/ NexusIIserver 222222 - - - - diff --git a/java/apps/NexusII/start.html b/java/apps/NexusII/start.html deleted file mode 100644 index cd591295b4a..00000000000 --- a/java/apps/NexusII/start.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/java/classes/README.TXT b/java/classes/README.TXT deleted file mode 100644 index ba771e6615d..00000000000 --- a/java/classes/README.TXT +++ /dev/null @@ -1,2 +0,0 @@ -The .class files are not included in the release archive. When properly -setup and built, a JACE subdirectory will be here. diff --git a/java/doc/images/GridBagEx.gif b/java/doc/images/GridBagEx.gif deleted file mode 100644 index 16c326d88ca..00000000000 Binary files a/java/doc/images/GridBagEx.gif and /dev/null differ diff --git a/java/doc/images/OpenBookIcon.gif b/java/doc/images/OpenBookIcon.gif deleted file mode 100644 index 86384f7733f..00000000000 Binary files a/java/doc/images/OpenBookIcon.gif and /dev/null differ diff --git a/java/doc/images/blue-ball-small.gif b/java/doc/images/blue-ball-small.gif deleted file mode 100644 index d4c5cde5b00..00000000000 Binary files a/java/doc/images/blue-ball-small.gif and /dev/null differ diff --git a/java/doc/images/blue-ball.gif b/java/doc/images/blue-ball.gif deleted file mode 100644 index edc29b786ce..00000000000 Binary files a/java/doc/images/blue-ball.gif and /dev/null differ diff --git a/java/doc/images/class-index.gif b/java/doc/images/class-index.gif deleted file mode 100644 index 7f276bcb242..00000000000 Binary files a/java/doc/images/class-index.gif and /dev/null differ diff --git a/java/doc/images/constructor-index.gif b/java/doc/images/constructor-index.gif deleted file mode 100644 index 435cac42386..00000000000 Binary files a/java/doc/images/constructor-index.gif and /dev/null differ diff --git a/java/doc/images/constructors.gif b/java/doc/images/constructors.gif deleted file mode 100644 index d1a6ae507ca..00000000000 Binary files a/java/doc/images/constructors.gif and /dev/null differ diff --git a/java/doc/images/cyan-ball-small.gif b/java/doc/images/cyan-ball-small.gif deleted file mode 100644 index 7f74357443a..00000000000 Binary files a/java/doc/images/cyan-ball-small.gif and /dev/null differ diff --git a/java/doc/images/cyan-ball.gif b/java/doc/images/cyan-ball.gif deleted file mode 100644 index 97ca1f2b6e3..00000000000 Binary files a/java/doc/images/cyan-ball.gif and /dev/null differ diff --git a/java/doc/images/error-index.gif b/java/doc/images/error-index.gif deleted file mode 100644 index 22835ff8c64..00000000000 Binary files a/java/doc/images/error-index.gif and /dev/null differ diff --git a/java/doc/images/exception-index.gif b/java/doc/images/exception-index.gif deleted file mode 100644 index e3830d9c52e..00000000000 Binary files a/java/doc/images/exception-index.gif and /dev/null differ diff --git a/java/doc/images/green-ball-small.gif b/java/doc/images/green-ball-small.gif deleted file mode 100644 index 17fea5b32bb..00000000000 Binary files a/java/doc/images/green-ball-small.gif and /dev/null differ diff --git a/java/doc/images/green-ball.gif b/java/doc/images/green-ball.gif deleted file mode 100644 index 71e1b2ec2db..00000000000 Binary files a/java/doc/images/green-ball.gif and /dev/null differ diff --git a/java/doc/images/interface-index.gif b/java/doc/images/interface-index.gif deleted file mode 100644 index bf93dda9e35..00000000000 Binary files a/java/doc/images/interface-index.gif and /dev/null differ diff --git a/java/doc/images/magenta-ball-small.gif b/java/doc/images/magenta-ball-small.gif deleted file mode 100644 index bd0584b3c67..00000000000 Binary files a/java/doc/images/magenta-ball-small.gif and /dev/null differ diff --git a/java/doc/images/magenta-ball.gif b/java/doc/images/magenta-ball.gif deleted file mode 100644 index 5da03b84d2b..00000000000 Binary files a/java/doc/images/magenta-ball.gif and /dev/null differ diff --git a/java/doc/images/method-index.gif b/java/doc/images/method-index.gif deleted file mode 100644 index a05e7051160..00000000000 Binary files a/java/doc/images/method-index.gif and /dev/null differ diff --git a/java/doc/images/methods.gif b/java/doc/images/methods.gif deleted file mode 100644 index 949e01b8a33..00000000000 Binary files a/java/doc/images/methods.gif and /dev/null differ diff --git a/java/doc/images/package-index.gif b/java/doc/images/package-index.gif deleted file mode 100644 index f894d4210d7..00000000000 Binary files a/java/doc/images/package-index.gif and /dev/null differ diff --git a/java/doc/images/red-ball-small.gif b/java/doc/images/red-ball-small.gif deleted file mode 100644 index f6b3c372ca1..00000000000 Binary files a/java/doc/images/red-ball-small.gif and /dev/null differ diff --git a/java/doc/images/red-ball.gif b/java/doc/images/red-ball.gif deleted file mode 100644 index dca92960148..00000000000 Binary files a/java/doc/images/red-ball.gif and /dev/null differ diff --git a/java/doc/images/variable-index.gif b/java/doc/images/variable-index.gif deleted file mode 100644 index 65cc029e722..00000000000 Binary files a/java/doc/images/variable-index.gif and /dev/null differ diff --git a/java/doc/images/variables.gif b/java/doc/images/variables.gif deleted file mode 100644 index e8a735399a6..00000000000 Binary files a/java/doc/images/variables.gif and /dev/null differ diff --git a/java/doc/images/yellow-ball-small.gif b/java/doc/images/yellow-ball-small.gif deleted file mode 100644 index 8e5f57cdfcb..00000000000 Binary files a/java/doc/images/yellow-ball-small.gif and /dev/null differ diff --git a/java/doc/images/yellow-ball.gif b/java/doc/images/yellow-ball.gif deleted file mode 100644 index 2b8c0bb3d6b..00000000000 Binary files a/java/doc/images/yellow-ball.gif and /dev/null differ diff --git a/java/examples/Logger/README b/java/examples/Logger/README deleted file mode 100644 index 1da7dbcbb19..00000000000 --- a/java/examples/Logger/README +++ /dev/null @@ -1,29 +0,0 @@ -This directory contains a simple client/server Java implementation of the -distributed logging server described in several papers in the C++ -Report (which can be obtained via the following WWW URLs: -http://www.cs.wustl.edu/~schmidt/{Reactor1-93.ps.gz,Reactor2-93.ps.gz}). - -The example consists of the following two directories: - - . client - NOT YET CONVERTED - This program talks directly to the server logging - daemon. The server daemon must be started before you - can run this test. - - . simple-server - - This program runs a simple - implementation of the - distributed logging server daemon. It also contains - code for a simple client as well. - - . Acceptor-server - NOT YET CONVERTED - This program runs templated, Acceptor-based - single-threaded Reactive implementation of the - distributed logging server daemon. - -The server implemented in "simple" is completely compatible with the -client defined in the C++ version of ACE. - diff --git a/java/examples/Logger/simple-server/LogRecord.java b/java/examples/Logger/simple-server/LogRecord.java deleted file mode 100644 index e29ed6e32b9..00000000000 --- a/java/examples/Logger/simple-server/LogRecord.java +++ /dev/null @@ -1,145 +0,0 @@ -/** - * Class used to communicate logging information; compatible with - * the C++ ACE ACE_Log_Record class. - * - * @author Chris Cleeland - */ - -//package ACE.SimpleLogger; - -import java.util.Date; -import java.io.DataOutputStream; -import java.io.DataInputStream; -import java.io.PrintStream; -import java.io.IOException; - -public class LogRecord -{ - final public static int MAXLOGMSGLEN = 4 * 1024; - - private int type_; - private int length_; - private int timeStamp_; - private int pid_; - private byte[] msgData_ = new byte[MAXLOGMSGLEN]; - private final static int numIntMembers = 4; - private final static int sizeofIntInBytes = 4; - - /** - * Create a default instance. - */ - public LogRecord() - { - this(0, (int) ((new Date()).getTime()/1000), 0); - } - - /** - * Create a LogRecord. This is the designated initializer. - * @param priority a numeric specification of the priority (ascending) - * @param time_stamp time attached to the log entry in Unix
    time_t
    format - * @param pid the process ID; not currently used - */ - public LogRecord(int priority, - int timeStamp, - int pid) - { - type(priority); - timeStamp(timeStamp); - length(0); - pid(pid); - } - - /** - * Conversion to string. Only includes the
    msgData_
    member. - */ - public String toString() - { - return new String(msgData_, 0); - } - - /** - * Place a textual representation of the record on a PrintStream. - * @param hostname name of the host generating this record - * @param verbose if true, print information in the form, (give example) - * @param ps A PrintStream instance to which the output should go. - * @see PrintStream,String - */ - public void print(String hostname, - boolean verbose, - PrintStream ps) - { - String toprint; - if (verbose) - { - long cur = (long)timeStamp() * (long)1000; - Date now = new Date(cur); - - /* 01234567890123456789012345 */ - /* Wed Oct 18 14:25:36 1989n0 */ - toprint = now.toString().substring(4) + "@" - + hostname + "@" + pid_ + "@" + type_ + "@" - + this.toString(); - } - else - { - toprint = this.toString(); - } - ps.println(toprint); - } - - /** - * Streaming methods - */ - public void streamInFrom(DataInputStream dis) throws IOException - { - // Order here must match layout order in the C++ class. - // This, of course, is VERY fragile, and ought not be used as - // a model for anything except how NOT to do anything. - type(dis.readInt()); - length(dis.readInt()); - timeStamp(dis.readInt()); - pid(dis.readInt()); - - // Does readFully() allocate space for the buffer? Either - // way, we won't have memory leaks :-) - int dataLength = (int) (length_ - numIntMembers * sizeofIntInBytes); - msgData_ = new byte[dataLength]; - dis.readFully(msgData_, 0, dataLength); - } - - public void streamOutTo(DataOutputStream dos) throws IOException - { - dos.writeInt(type()); - dos.writeInt(length()); - dos.writeInt(timeStamp()); - dos.writeInt(pid()); - int dataLength = (int) (length_ - numIntMembers * sizeofIntInBytes); - dos.write(msgData_, 0, dataLength); - } - - /** - * Accessor methods - */ - public int type() { return type_; } - public void type(int t) { type_ = t; } - - public int length() { return length_; } - public void length(int l) { length_ = l; } - private void setLen(int msgLen) - { length(msgLen + numIntMembers * sizeofIntInBytes); } - - public int timeStamp() { return timeStamp_; } - public void timeStamp(int t){ timeStamp_ = t; } - - public int pid() { return pid_; } - public void pid(int p) { pid_ = p; } - - public byte[] msgData() { return msgData_; } - public void msgData(byte[] m){ msgData_ = m; setLen(m.length); } - public void msgData(String m) - { - m.getBytes(0, m.length(), msgData_, 0); - setLen(m.length()); - } -}; - diff --git a/java/examples/Logger/simple-server/LoggerConstants.java b/java/examples/Logger/simple-server/LoggerConstants.java deleted file mode 100644 index db62d2fff6e..00000000000 --- a/java/examples/Logger/simple-server/LoggerConstants.java +++ /dev/null @@ -1,7 +0,0 @@ -// package ACE.Logger; - -public class LoggerConstants -{ - final public static int DEFAULT_SERVER_PORT = 4000; - final public static String DEFAULT_SERVER_HOSTNAME = "localhost"; -} diff --git a/java/examples/Logger/simple-server/LoggingAcceptor.java b/java/examples/Logger/simple-server/LoggingAcceptor.java deleted file mode 100644 index 7925e3d5a15..00000000000 --- a/java/examples/Logger/simple-server/LoggingAcceptor.java +++ /dev/null @@ -1,33 +0,0 @@ -//package ACE.SimpleLogger; - -import JACE.SOCK_SAP.*; -import java.io.IOException; - -public class LoggingAcceptor extends Thread -{ - private SOCKAcceptor peerAcceptor_; - - public LoggingAcceptor(int port) throws IOException - { - peerAcceptor_ = new SOCKAcceptor(port); - this.setName("LoggingAcceptor"); - System.err.println("Waiting for connection on port " + - port); - } - - public void run() - { - try - { - while (true) - { - LoggingHandler handler = new LoggingHandler(); - peerAcceptor_.accept(handler.stream()); - handler.open(); - } - } - catch (IOException e) - { - } - } -}; diff --git a/java/examples/Logger/simple-server/LoggingClient.java b/java/examples/Logger/simple-server/LoggingClient.java deleted file mode 100644 index e6ea986c011..00000000000 --- a/java/examples/Logger/simple-server/LoggingClient.java +++ /dev/null @@ -1,108 +0,0 @@ -/** - * Main class that acts as an example logging client. - */ - -import java.io.*; -import java.net.*; -import JACE.SOCK_SAP.*; -import LogRecord; -import LoggerConstants; - -public class LoggingClient implements Runnable -{ - private String loggerHost_; - private int port_; - private int maxIter_; - private static final int DEFAULT_ITERATIONS = 10; - - public static void main(String[] args) - { - // Really need to put code in here to parse options - int iter; - int port; - String host; - - iter = (args.length > 0) ? Integer.parseInt(args[0]) - : DEFAULT_ITERATIONS; - port = (args.length > 1) ? Integer.parseInt(args[1]) - : LoggerConstants.DEFAULT_SERVER_PORT; - host = (args.length > 2) ? args[2] - : LoggerConstants.DEFAULT_SERVER_HOSTNAME; - - LoggingClient lc = new LoggingClient(iter, port, host); - lc.run(); - } - - public LoggingClient() - { - - this(DEFAULT_ITERATIONS, - LoggerConstants.DEFAULT_SERVER_PORT, - LoggerConstants.DEFAULT_SERVER_HOSTNAME); - } - - public LoggingClient(int iterations, int thePort, String theHost) - { - maxIter_ = iterations; - port_ = thePort; - loggerHost_ = theHost; - } - - public void run() - { - SOCKStream logger = new SOCKStream(); - SOCKConnector connector = new SOCKConnector(); - // INETAddr addr = new INETAddr(port_, loggerHost_); - - LogRecord rec = new LogRecord(9, 2, 0); - - try - { - connector.connect(logger, loggerHost_, port_); - - int oneSecond = 1000; - // Currently SOCKStream uses DataInputStream for its input stream, - // and PrintStream for its output stream. It probably ought to use - // DataOutputStream for the output stream for symmetry, or at least - // provide a mechanism for changing the type of the filter stream - // used (which might be better in the long run...give it the class - // id). - BufferedOutputStream bos = new BufferedOutputStream((OutputStream) logger.outputStream(), LogRecord.MAXLOGMSGLEN); - DataOutputStream dos = new DataOutputStream(bos); - - for (int i = 0; i < maxIter_; i++) - { - // Need to overload LogRecord.msgData to take a String - // argument so that it's easy to create instances with text - // inside. - rec.msgData("message = " + i); - try - { - dos.writeInt(rec.length()); - rec.streamOutTo(dos); - bos.flush(); - rec.print("localhost", true, System.err); - } - catch (IOException ex) { } - - try - { - Thread.sleep(oneSecond); - } - catch (InterruptedException ex) { } - } - - try { logger.close(); } catch (IOException ex) { } - - } - catch (SocketException ex) - { - System.err.println("socket exception: " + ex); - } - catch (IOException ex) - { - System.err.println("io exception: " + ex); - } - - } -} diff --git a/java/examples/Logger/simple-server/LoggingHandler.java b/java/examples/Logger/simple-server/LoggingHandler.java deleted file mode 100644 index aeffc991ac3..00000000000 --- a/java/examples/Logger/simple-server/LoggingHandler.java +++ /dev/null @@ -1,121 +0,0 @@ -/************************************************* - * - *@author Chris Cleeland - * - * What we really need to define is a run() (or whatever - * the Thread class has as its method to execute code), and - * have that do the usual delegated work of handle_input. - * We also need to figure out the best place to close the - * the socket, which probably ISN'T the finalizer. - * - *************************************************/ - -//package ACE.SimpleLogger; - -import JACE.SOCK_SAP.*; -import java.util.*; -import java.io.*; - -// Should this extend or simply be handed to a Thread instance to -// be run? -public class LoggingHandler extends Thread -{ - private SOCKStream cliStream_; - - /** - * Create a default Logging Handler - */ - public LoggingHandler() - { - this(new SOCKStream()); - } - - /** - * Create a LoggingHandler with an existing stream - */ - public LoggingHandler(SOCKStream aStream) - { - cliStream_ = aStream; - setName(); - } - - private void setName() - { - int portnum = ((cliStream_.socket() == null) - ? 0 - : cliStream_.socket().getLocalPort()); - this.setName("LoggingHandler#" + portnum); - } - - /** - * Start - */ - public void open() - { - this.start(); - } - - /** - */ - public SOCKStream stream() - { - return cliStream_; - } - - /** - * Handle logging events - */ - public void run() - { - DataInputStream dis = (DataInputStream) cliStream_.inputStream(); - - for (;;) - { - // Messages arrive in the following format: - // o 4 byte length (network format) - // o message, in ACE.LogRecord format - // - // Hey! We need exception catching in here too! - try - { - // Reconstitute a log message from the wire - LogRecord rec = new LogRecord(); - - // We don't really need this, because - // the object already knows how to - // extract itself properly. However, - // in order to interoperate with the - // C++ version, this must be extracted. - // Plus, it makes a convenient way to - // check everything. - int length = dis.readInt(); - - rec.streamInFrom(dis); - - if (rec.length() == length) - { - rec.print(cliStream_.socket().getInetAddress().getHostName(), - true, System.out); - System.out.flush(); - } - else - { - System.err.println("Logging_Handler: Length error receiving logging message\n"); - } - } - catch (EOFException eof) - { - System.err.println(Thread.currentThread().getName() - + ": end-of-file condition found; terminating."); - try { cliStream_.close(); } catch (IOException n) { } - this.stop(); - } - catch (IOException ioe) - { - System.err.println(Thread.currentThread().getName() - + ": IOException received -- " - + ioe.getMessage()); - } - } - } -}; diff --git a/java/examples/Logger/simple-server/Makefile b/java/examples/Logger/simple-server/Makefile deleted file mode 100644 index 5be1b0d048e..00000000000 --- a/java/examples/Logger/simple-server/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -.SUFFIXES: .java .class - -CLASSDIR = . -DOCDIR = . - -JC = javac_g -JCOPTS = -g -d $(CLASSDIR) -JD = javadoc -JDOPTS = -d $(DOCDIR) - -COMPILE.java = $(JC) $(JCOPTS) $< -DOCCOMP.java = $(JD) $(JDOPTS) $< - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -CLASSES = LoggerConstants LogRecord LoggingHandler \ - LoggingAcceptor SimpleLogger LoggingClient -CLASSFILES = $(addsuffix .class,$(CLASSES)) -DOCFILES = $(addsuffix .html,$(CLASSES)) - -%.class: %.java - $(COMPILE.java) - -%.html: %.java - $(DOCCOMP.java) - -all: classes doc - -classes: $(CLASSFILES) -doc: $(DOCFILES) - -clean: - $(RM) *~ $(CLASSFILES) $(DOCFILES) - diff --git a/java/examples/Logger/simple-server/README b/java/examples/Logger/simple-server/README deleted file mode 100644 index 90393c1aae8..00000000000 --- a/java/examples/Logger/simple-server/README +++ /dev/null @@ -1,25 +0,0 @@ -====== -BASICS -====== - -This directory contains both the client (LoggingClient.java) and the -server (SimpleLogger.java). To compile, use GNU make with no specific -target. - -To execute, use "java " where is from the -following table: - - Application - =========================================== - client LoggingClient - server SimpleLogger - - -============== -KNOWN PROBLEMS -============== - -Interoperability between the C++ client and the Java server -implementation is fine. Interoperability between the C++ server and -the Java client seems to work right now. See the CVS information on -LoggingClient.java for details. diff --git a/java/examples/Logger/simple-server/SimpleLogger.java b/java/examples/Logger/simple-server/SimpleLogger.java deleted file mode 100644 index f562689e283..00000000000 --- a/java/examples/Logger/simple-server/SimpleLogger.java +++ /dev/null @@ -1,44 +0,0 @@ -//package ACE.SimpleLogger; - -import java.io.IOException; - -class SimpleLogger implements Runnable -{ - private LoggingAcceptor la; - private int port; - - public static void main(String[] args) - { - SimpleLogger sl = new SimpleLogger(); - sl.run(); - } - - public SimpleLogger() - { - this(LoggerConstants.DEFAULT_SERVER_PORT); - } - - public SimpleLogger(int port) - { - try - { - la = new LoggingAcceptor(port); - } - catch (IOException ioe) - { - System.err.println("SimpleLogger: unable to create LoggingAcceptor (" - + ioe.getMessage() + ")"); - } - } - - public void run() - { - la.run(); - try - { - la.join(); - } - catch (InterruptedException ie) - { } - } -}; diff --git a/java/gjt/Assert.java b/java/gjt/Assert.java deleted file mode 100644 index b704be9ff3c..00000000000 --- a/java/gjt/Assert.java +++ /dev/null @@ -1,33 +0,0 @@ -package gjt; - -/** - * A simple assertion mechanism for asserting validity of - * arguments.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - */ -public class Assert { - static public void notFalse(boolean b) - throws IllegalArgumentException { - if(b == false) - throw new IllegalArgumentException( - "boolean expression false"); - } - static public void notNull(Object obj) - throws IllegalArgumentException { - if(obj == null) - throw new IllegalArgumentException("null argument"); - } - - static public void notFalse(boolean b, String s) - throws IllegalArgumentException { - if(b == false) - throw new IllegalArgumentException(s); - } - static public void notNull(Object obj, String s) - throws IllegalArgumentException { - if(obj == null) - throw new IllegalArgumentException(s); - } -} diff --git a/java/gjt/Bargauge.java b/java/gjt/Bargauge.java deleted file mode 100644 index 27be8afad7b..00000000000 --- a/java/gjt/Bargauge.java +++ /dev/null @@ -1,80 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A bargauge which can be filled (wholly or partially) with a - * client-specified color. Fill color is specified at - * construction time; both fill color and fill percent may be - * set after construction time.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ThreeDRectangle - * @see gjt.test.BargaugeTest - */ -public class Bargauge extends Canvas { - private double percentFill = 0; - private ThreeDRectangle border = new ThreeDRectangle(this); - private Color fillColor; - - public Bargauge(Color fillColor) { - setFillColor(fillColor); - } - public void setFillColor(Color fillColor) { - this.fillColor = fillColor; - } - public void setFillPercent(double percentage) { - Assert.notFalse(percentage >= 0 && percentage <= 100); - percentFill = percentage; - } - public void resize(int w, int h) { - reshape(location().x, location().y, w, h); - } - public void reshape(int x, int y, int w, int h) { - super.reshape(x,y,w,h); - border.resize(w,h); - } - public Dimension minimumSize() { return preferredSize(); } - - public Dimension preferredSize() { - int w = border.getThickness() * 3; - return new Dimension(w, w*4); - } - public void paint(Graphics g) { - border.raise(); - border.paint(); - fill(); - } - public void fill() { - Graphics g = getGraphics(); - - if((g != null) && (percentFill > 0)) { - Rectangle b = border.getInnerBounds(); - int fillw = b.width; - int fillh = b.height; - - if(b.width > b.height) fillw *= percentFill/100; - else fillh *= percentFill/100; - - g.setColor(fillColor); - border.clearInterior(); - - if(b.width > b.height) - g.fillRect(b.x, b.y, fillw, b.height); - else - g.fillRect(b.x, b.y + b.height - fillh, - b.width, fillh); - } - } - protected String paramString() { - Dimension size = size(); - Orientation orient = size.width > size.height ? - Orientation.HORIZONTAL : - Orientation.VERTICAL; - String str = "fill percent=" + percentFill + "," + - "orientation=" + orient + "," + - "color" + fillColor; - return str; - } -} diff --git a/java/gjt/Border.java b/java/gjt/Border.java deleted file mode 100644 index ba80ef2e76a..00000000000 --- a/java/gjt/Border.java +++ /dev/null @@ -1,105 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A panel containing a single component, around which a border - * is drawn. Of course, the single component may be a - * container which may contain other components, so a Border - * can surround multiple components.

    - * - * Thickness of the border, and the gap between the Component - * and the border are specified at time of construction. - * Default border thickness is 2 - default gap is 0.

    - * - * Border color may be set via setLineColor(Color).

    - * - * Border employs a DrawnRectangle to paint the border. Derived - * classes are free to override DrawnRectangle border() if they - * wish to use an extension of DrawnRectangle for drawing their - * border.

    - * - * The following code snippet, from gjt.test.BorderTest creates - * and AWT Button, and embeds the button in a border. That - * border is then embedded in another border. The AWT Button - * winds up inside of a cyan border with a pixel width of 7, - * inside of a black border (pixel width 2):

    - * - *

    - *      private Border makeBorderedAWTButton() {
    - *          Button button;
    - *          Border cyanBorder, blackBorder;
    - *
    - *          button = new Button("Button Inside Two Borders");
    - *          cyanBorder = new Border(button, 7);
    - *          cyanBorder.setLineColor(Color.cyan);
    - *
    - *          blackBorder = new Border(cyanBorder);
    - *
    - *          return blackBorder;
    - *      }
    - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see DrawnRectangle - * @see ThreeDBorder - * @see EtchedBorder - * @see gjt.test.BorderTest - */ -public class Border extends Panel { - protected int thickness; - protected int gap; - protected DrawnRectangle border; - - protected static int _defaultThickness = 2; - protected static int _defaultGap = 0; - - public Border(Component borderMe) { - this(borderMe, _defaultThickness, _defaultGap); - } - public Border(Component borderMe, int thickness) { - this(borderMe, thickness, _defaultGap); - } - public Border(Component borderMe, int thickness, int gap) { - this.thickness = thickness; - this.gap = gap; - - setLayout(new BorderLayout()); - add("Center", borderMe); - } - public Insets insets() { - return new Insets(thickness+gap, thickness+gap, - thickness+gap, thickness+gap); - } - public Rectangle getInnerBounds() { - return border().getInnerBounds(); - } - public void setLineColor(Color c) { - border().setLineColor(c); - } - public Color getLineColor() { - return border().getLineColor(); - } - public void paint(Graphics g) { - border().paint(); - } - public void resize(int w, int h) { - Point location = location(); - reshape(location.x, location.y, w, h); - } - public void reshape(int x, int y, int w, int h) { - super.reshape(x, y, w, h); - border().resize(w, h); - } - protected String paramString() { - return super.paramString() + ",border=" + - border().toString() + ",thickness=" + thickness - + ",gap=" + gap; - } - protected DrawnRectangle border() { - if(border == null) - border = new DrawnRectangle(this, thickness); - return border; - } -} diff --git a/java/gjt/Box.java b/java/gjt/Box.java deleted file mode 100644 index 8feda366942..00000000000 --- a/java/gjt/Box.java +++ /dev/null @@ -1,81 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A Panel containing a single component; an etched rectangle is - * drawn around the component, and a Label is centered at the top - * of the rectangle. Of course, the single component may be - * a container, and therefore a Box may surround many components. - *

    - * - * Both the Component around which the box is drawn, and the - * String drawn at the top of the box are specified at - * construction time.

    - * - * Etching of the box is controlled by etchedIn() and - * etchedOut(). Default etching is etched in.

    - * - * Note: AWT 1.0.2 contains a bug which causes the - * Label.CENTER argument of the Label created for the title - * to be ignored, under Win95. Therefore, under Win95, the - * title will be off-center.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see EtchedRectangle - * @see gjt.test.BoxTest - */ -public class Box extends Panel { - private EtchedRectangle box = new EtchedRectangle(this); - private Label titleLabel; - - public Box(Component surrounded, String title) { - this(surrounded, new Label(title, Label.CENTER)); - } - public Box(Component surrounded, Label label) { - Assert.notNull(surrounded); - Assert.notNull(label); - - titleLabel = label; - - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - - setLayout(gbl); - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.anchor = GridBagConstraints.NORTH; - gbl.setConstraints(titleLabel, gbc); - add(titleLabel); - - gbc.insets = new Insets(0,10,10,10); - gbc.anchor = GridBagConstraints.CENTER; - gbc.weighty = 1.0; - gbc.weightx = 1.0; - gbc.fill = GridBagConstraints.BOTH; - gbl.setConstraints(surrounded,gbc); - add(surrounded); - } - public void etchedIn () { box.etchedIn (); } - public void etchedOut() { box.etchedOut(); } - public void paint (Graphics g) { box.paint(); } - - public void resize(int w, int h) { - reshape(location().x, location().y, w, h); - } - public void reshape(int x, int y, int w, int h) { - super.reshape(x,y,w,h); - - FontMetrics fm = titleLabel.getFontMetrics( - titleLabel.getFont()); - int top = insets().top + fm.getAscent(); - Dimension size = size(); - - box.reshape(0, top, size.width-1, size.height-top-1); - } - protected String paramString() { - return super.paramString() + ",etching=" + - (box.isEtchedIn() ? Etching.IN : Etching.OUT) + - ",title=" + titleLabel; - } -} diff --git a/java/gjt/BulletinLayout.java b/java/gjt/BulletinLayout.java deleted file mode 100644 index 848a280de03..00000000000 --- a/java/gjt/BulletinLayout.java +++ /dev/null @@ -1,100 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Lays out components as though they were pinned to - * a bulletin board.

    - * - * Components are simply reshaped to their location and their - * preferred size. BulletinLayout is preferrable to setting - * a container's layout manager to null and explicitly positioning - * and sizing components.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - */ -public class BulletinLayout implements LayoutManager { - public BulletinLayout() { - } - public void addLayoutComponent(String name, Component comp) { - } - public void removeLayoutComponent(Component comp) { - } - public Dimension preferredLayoutSize(Container target) { - Insets insets = target.insets(); - Dimension dim = new Dimension(0,0); - int ncomponents = target.countComponents(); - Component comp; - Dimension d; - Rectangle preferredBounds = new Rectangle(0,0); - Rectangle compPreferredBounds; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - d = comp.preferredSize(); - compPreferredBounds = - new Rectangle(comp.location()); - compPreferredBounds.width = d.width; - compPreferredBounds.height = d.height; - - preferredBounds = - preferredBounds.union(compPreferredBounds); - } - } - dim.width += insets.left + insets.right; - dim.height += insets.top + insets.bottom; - - return dim; - } - public Dimension minimumLayoutSize(Container target) { - Insets insets = target.insets(); - Dimension dim = new Dimension(0,0); - int ncomponents = target.countComponents(); - Component comp; - Dimension d; - Rectangle minimumBounds = new Rectangle(0,0); - Rectangle compMinimumBounds; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - d = comp.minimumSize(); - compMinimumBounds = - new Rectangle(comp.location()); - compMinimumBounds.width = d.width; - compMinimumBounds.height = d.height; - - minimumBounds = - minimumBounds.union(compMinimumBounds); - } - } - dim.width += insets.left + insets.right; - dim.height += insets.top + insets.bottom; - - return dim; - } - public void layoutContainer(Container target) { - Insets insets = target.insets(); - int ncomponents = target.countComponents(); - Component comp; - Dimension ps; - Point loc; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - ps = comp.preferredSize(); - loc = comp.location(); - - comp.reshape(insets.left + loc.x, - insets.top + loc.y, - ps.width, ps.height); - } - } - } -} diff --git a/java/gjt/ButtonPanel.java b/java/gjt/ButtonPanel.java deleted file mode 100644 index 6fc72ecaab2..00000000000 --- a/java/gjt/ButtonPanel.java +++ /dev/null @@ -1,51 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Button panel employs a BorderLayout to lay out a Separator in - * the north, and a Panel to which Buttons are added in the - * center.

    - * - * Buttons may be added to the panel via two methods: - *

    - *
    void add(Button) - *
    Button add(String) - *
    - *

    - * - * Button add(String) creates a Button and adds it to the - * panel, then returns the Button created, as a convenience to - * clients so that they do not have to go through the pain - * and agony of creating an ImageButton.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see MessageDialog - * @see QuestionDialog - * @see YesNoDialog - * @see gjt.test.DialogTest - * @see gjt.test.ComponentScrollerTest - */ -public class ButtonPanel extends Panel { - Panel buttonPanel = new Panel(); - Separator separator = new Separator(); - - public ButtonPanel() { - setLayout(new BorderLayout(0,5)); - add("North", separator); - add("Center", buttonPanel); - } - public void add(Button button) { - buttonPanel.add(button); - } - public Button add(String buttonLabel) { - Button addMe = new Button(buttonLabel); - buttonPanel.add(addMe); - return addMe; - } - protected String paramString() { - return super.paramString() + "buttons=" + - countComponents(); - } -} diff --git a/java/gjt/CardPanel.java b/java/gjt/CardPanel.java deleted file mode 100644 index c2ab1a9033c..00000000000 --- a/java/gjt/CardPanel.java +++ /dev/null @@ -1,48 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * CardPanel employs a BorderLayout to lay out North and Center - * panels; extensions of CardPanel must implement - * Component viewSelector(). The component returned from - * Component viewSelector() is centered in the North panel, and - * should contain UI controls that allow selection of the - * component to be displayed in the Center panel.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see IconCardPanel - * @see ChoiceCardPanel - * @see gjt.test.ChoiceCardPanelTest - * @see gjt.test.IconCardPanelTest - */ -public abstract class CardPanel extends Panel { - private Panel north, center; - private CardLayout cards; - - abstract public Component viewSelector(); - - public CardPanel() { - center = new Panel(); - north = new Panel(); - - setLayout(new BorderLayout()); - center.setLayout(cards = new CardLayout()); - north.setLayout (new BorderLayout()); - - add("North", north); - add("Center", center); - } - public void addNotify() { - super.addNotify(); - north.add("Center", viewSelector()); - north.add("South", new Separator()); - } - protected void addView(String name, Component component) { - center.add(name, component); - } - protected void showView(String name) { - cards.show(center, name); - } -} diff --git a/java/gjt/ChoiceCardPanel.java b/java/gjt/ChoiceCardPanel.java deleted file mode 100644 index 6273e03a5aa..00000000000 --- a/java/gjt/ChoiceCardPanel.java +++ /dev/null @@ -1,53 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * ChoiceCardPanel is an extension of CardPanel which presents - * an awt.Choice for selecting the panel to be displayed - * in the center panel.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see CardPanel - * @see IconCardPanel - * @see gjt.test.IconCardPanelTest - * @see gjt.test.ChoiceCardPanelTest - */ -public class ChoiceCardPanel extends CardPanel { - private ChoiceViewSelector viewSelector; - - public ChoiceCardPanel() { - viewSelector = new ChoiceViewSelector(this); - } - public Component viewSelector() { - return viewSelector; - } - public void addChoice(String name, - Component component) { - viewSelector.addItem(name); - super.addView(name, component); - } -} - -class ChoiceViewSelector extends Panel { - private ChoiceCardPanel mvp; - private Choice choice; - - public ChoiceViewSelector(ChoiceCardPanel panel) { - setLayout(new FlowLayout()); - add(choice = new Choice()); - mvp = panel; - } - public void addItem(String name) { - choice.addItem(name); - } - public boolean handleEvent(Event event) { - if(event.id == Event.ACTION_EVENT) { - if(event.target instanceof Choice) { - mvp.showView(choice.getSelectedItem()); - } - } - return super.handleEvent(event); - } -} diff --git a/java/gjt/ColumnLayout.java b/java/gjt/ColumnLayout.java deleted file mode 100644 index bc51b44e456..00000000000 --- a/java/gjt/ColumnLayout.java +++ /dev/null @@ -1,154 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * ColumnLayout lays out components in a column. At - * construction time, both horizontal orientation and vertical - * orientation may be specified, along with the gap to use - * between components.

    - * - * Horizontal orientation must be one of the following: - *

    - *
    LEFT - *
    CENTER - *
    RIGHT - *
    - * - * Vertical orientation must be one of the following: - *
    - *
    TOP - *
    CENTER - *
    BOTTOM - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Orientation - * @see RowLayout - */ -public class ColumnLayout implements LayoutManager { - static private int _defaultGap = 5; - - private int gap; - private Orientation horizontalOrientation; - private Orientation verticalOrientation; - - public ColumnLayout() { - this(Orientation.CENTER, - Orientation.CENTER, _defaultGap); - } - public ColumnLayout(int gap) { - this(Orientation.CENTER, Orientation.CENTER, gap); - } - public ColumnLayout(Orientation horizontalOrient, - Orientation verticalOrient) { - this(horizontalOrient, verticalOrient, _defaultGap); - } - public ColumnLayout(Orientation horizontalOrient, - Orientation verticalOrient, int gap) { - Assert.notFalse(gap >= 0); - Assert.notFalse( - horizontalOrient == Orientation.LEFT || - horizontalOrient == Orientation.CENTER || - horizontalOrient == Orientation.RIGHT); - Assert.notFalse( - verticalOrient == Orientation.TOP || - verticalOrient == Orientation.CENTER || - verticalOrient == Orientation.BOTTOM); - - this.gap = gap; - this.verticalOrientation = verticalOrient; - this.horizontalOrientation = horizontalOrient; - } - - public void addLayoutComponent(String name, - Component comp) { - } - public void removeLayoutComponent(Component comp) { - } - - public Dimension preferredLayoutSize(Container target) { - Insets insets = target.insets(); - Dimension dim = new Dimension(0,0); - int ncomponents = target.countComponents(); - Component comp; - Dimension d; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - d = comp.preferredSize(); - if(i > 0) - dim.height += gap; - - dim.height += d.height; - dim.width = Math.max(d.width, dim.width); - } - } - dim.width += insets.left + insets.right; - dim.height += insets.top + insets.bottom; - return dim; - } - public Dimension minimumLayoutSize(Container target) { - Insets insets = target.insets(); - Dimension dim = new Dimension(0,0); - int ncomponents = target.countComponents(); - Component comp; - Dimension d; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - d = comp.minimumSize(); - - dim.width = Math.max(d.width, dim.width); - dim.height += d.height; - - if(i > 0) dim.height += gap; - } - } - dim.width += insets.left + insets.right; - dim.height += insets.top + insets.bottom; - - return dim; - } - public void layoutContainer(Container target) { - Insets insets = target.insets(); - int top = insets.top; - int left = 0; - int ncomponents = target.countComponents(); - Dimension preferredSize = target.preferredSize(); - Dimension targetSize = target.size(); - Component comp; - Dimension ps; - - if(verticalOrientation == Orientation.CENTER) - top += (targetSize.height/2) - - (preferredSize.height/2); - else if(verticalOrientation == Orientation.BOTTOM) - top = targetSize.height - preferredSize.height + - insets.top; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - left = insets.left; - - if(comp.isVisible()) { - ps = comp.preferredSize(); - - if(horizontalOrientation == Orientation.CENTER) - left = (targetSize.width/2) - (ps.width/2); - else if( - horizontalOrientation == Orientation.RIGHT) { - left = targetSize.width - ps.width - - insets.right; - } - comp.reshape(left,top,ps.width,ps.height); - top += ps.height + gap; - } - } - } -} diff --git a/java/gjt/ComponentScroller.java b/java/gjt/ComponentScroller.java deleted file mode 100644 index 3aef71c4ea2..00000000000 --- a/java/gjt/ComponentScroller.java +++ /dev/null @@ -1,42 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Scrolls any component. Component to be scrolled may be a - * container, so ultimately many components may be scrolled - * at once.

    - * - * Component to be scrolled may be specified at construction - * time, or may be set after construction via - * void setComponent(Component).

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see BulletinLayout - * @see Scroller - * @see ScrollerLayout - * @see ImageScroller - * @see gjt.test.ComponentScrollerTest - */ -public class ComponentScroller extends Scroller { - private Component scrollMe; - - public ComponentScroller() { - } - public ComponentScroller(Component component) { - setComponent(component); - } - public void setComponent(Component component) { - scrollMe = component; - viewport.setLayout(new BulletinLayout()); - viewport.add (scrollMe); - viewport.move (0,0); - } - public void scrollTo(int x, int y) { - scrollMe.move(-x,-y); - } - public Dimension getScrollAreaSize() { - return scrollMe.preferredSize(); - } -} diff --git a/java/gjt/DialogClient.java b/java/gjt/DialogClient.java deleted file mode 100644 index 7e67cea758e..00000000000 --- a/java/gjt/DialogClient.java +++ /dev/null @@ -1,20 +0,0 @@ -package gjt; - -import java.awt.Dialog; - -/** - * DialogClients are notified when the Dialog with which they - * are associated is dismissed. A reference to the dismissed - * Dialog is passed as a parameter of dialogDismissed() in case - * a DialogClient is a client of more than one Dialog.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see MessageDialog - * @see QuestionDialog - * @see YesNoDialog - * @see gjt.test.DialogTest - */ -public interface DialogClient { - abstract public void dialogDismissed(Dialog d); -} diff --git a/java/gjt/DrawingPanel.java b/java/gjt/DrawingPanel.java deleted file mode 100644 index cda3fd69431..00000000000 --- a/java/gjt/DrawingPanel.java +++ /dev/null @@ -1,72 +0,0 @@ -package gjt; - -import java.awt.*; -import gjt.rubberband.*; - -/** - * An extension of gjt.rubberband.RubberbandPanel which serves - * as a panel used for drawing simple shapes (lines, rectangles, - * and ellipses). The shapes may be filled (except for lines, - * of course), and the color of the shapes may be specified.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see gjt.rubberband.RubberbandPanel - * @see gjt.rubberband.RubberbandEllipse - * @see gjt.rubberband.RubberbandLine - * @see gjt.rubberband.RubberbandRectangle - * @see gjt.test.RubberbandTest - * @see gjt.test.ToolbarTest - */ -public class DrawingPanel extends RubberbandPanel { - private Rubberband rbLine, rbRect, rbEllipse; - private Color color; - private boolean fill; - - public DrawingPanel() { - rbLine = new RubberbandLine (this); - rbRect = new RubberbandRectangle(this); - rbEllipse = new RubberbandEllipse (this); - - setRubberband(rbLine); - } - public void drawLines () { setRubberband(rbLine); } - public void drawRectangles() { setRubberband(rbRect); } - public void drawEllipses () { setRubberband(rbEllipse); } - - public void setColor(Color color) { this.color = color; } - public Color getColor() { return color; } - - public void setFill(boolean b) { fill = b; } - public boolean getFill() { return fill; } - - public boolean mouseUp(Event event, int x, int y) { - Rubberband rb = getRubberband(); - Graphics g = getGraphics(); - - super.mouseUp(event, x, y); - g.setColor(color); - - if(rb == rbLine) drawLine (rb, g); - else if(rb == rbRect) drawRectangle(rb, g); - else if(rb == rbEllipse) drawEllipse (rb, g); - - return true; - } - protected void drawLine(Rubberband rb, Graphics g) { - Point anchor = rb.getAnchor(), end = rb.getEnd(); - g.drawLine(anchor.x, anchor.y, end.x, end.y); - } - protected void drawRectangle(Rubberband rb, Graphics g) { - Rectangle r = rb.bounds(); - - if(fill) g.fillRect(r.x, r.y, r.width, r.height); - else g.drawRect(r.x, r.y, r.width, r.height); - } - protected void drawEllipse(Rubberband rb, Graphics g) { - Rectangle r = rb.bounds(); - - if(fill) g.fillArc(r.x, r.y, r.width, r.height, 0, 360); - else g.drawArc(r.x, r.y, r.width, r.height, 0, 360); - } -} diff --git a/java/gjt/DrawnRectangle.java b/java/gjt/DrawnRectangle.java deleted file mode 100644 index e96fd8d3673..00000000000 --- a/java/gjt/DrawnRectangle.java +++ /dev/null @@ -1,136 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A Rectangle which draws itself inside of a Component.

    - * - * DrawnRectangles may have their thickness and line color set, - * and are capable of reporting their inner bounds (the area - * inside the lines).

    - * - * Default thickness is 2.

    - * - * If not set explicitly, the line color used is three shades - * darker than the background color of the Component being - * drawn into.

    - * - * DrawnRectangles may be clear()ed, which clears both the - * exterior (the lines) and the interior (the area inside of - * the lines) of the DrawnRectangle.

    - * - * DrawnRectangles may also be fill()ed with a specified color - * by calling fill(Color), or by calling setFillColor(Color) - * followed by fill().

    - * - * By default, the fill Color is the background color of the - * Component drawn into.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ThreeDRectangle - * @see EtchedRectangle - * @see Border - * @see EtchedBorder - * @see ThreeDBorder - * @see gjt.test.DrawnRectangleTest - */ -public class DrawnRectangle extends Rectangle { - protected static int _defaultThickness = 2; - - protected Component drawInto; - private int thick; - private Color lineColor, fillColor; - - public DrawnRectangle(Component drawInto) { - this(drawInto, _defaultThickness, 0, 0, 0, 0); - } - public DrawnRectangle(Component drawInto, int thick) { - this(drawInto, thick, 0, 0, 0, 0); - } - public DrawnRectangle(Component drawInto, int x, int y, - int w, int h) { - this(drawInto, _defaultThickness, x, y, w, h); - } - public DrawnRectangle(Component drawInto, int thick, - int x, int y, int w, int h) { - Assert.notNull(drawInto); - Assert.notFalse(thick > 0); - - this.drawInto = drawInto; - this.thick = thick; - reshape(x,y,w,h); - } - public Component component() {return drawInto; } - public int getThickness () {return thick; } - public void setThickness (int thick) {this.thick = thick; } - - public void setLineColor(Color lineColor) { - this.lineColor = lineColor; - } - public void setFillColor(Color fillColor) { - this.fillColor = fillColor; - } - public void fill() { - fill(getFillColor()); - } - public Color getLineColor() { - if(lineColor == null) - lineColor = - drawInto.getBackground().darker().darker().darker(); - return lineColor; - } - public Color getFillColor() { - if(fillColor == null) - fillColor = drawInto.getBackground(); - return fillColor; - } - public Rectangle getInnerBounds() { - return new Rectangle(x+thick, y+thick, - width-(thick*2), height-(thick*2)); - } - public void paint() { - Graphics g = drawInto.getGraphics(); - paintFlat(g, getLineColor()); - } - private void paintFlat(Graphics g, Color color) { - if(g != null) { - g.setColor(color); - for(int i=0; i < thick; ++i) - g.drawRect(x+i, y+i, - width-(i*2)-1, height-(i*2)-1); - } - } - public void clearInterior() { - fill(drawInto.getBackground()); - } - public void clearExterior() { - paintFlat(drawInto.getGraphics(), - drawInto.getBackground()); - } - public void clear() { - clearExterior(); - clearInterior(); - } - public void fill(Color color) { - Graphics g = drawInto.getGraphics(); - - if(g != null) { - Rectangle r = getInnerBounds(); - g.setColor(color); - g.fillRect(r.x, r.y, r.width, r.height); - setFillColor(color); - } - } - public String toString() { - return super.toString() + "[" + paramString() + "]"; - } - public String paramString() { - return "color=" + getLineColor() + ",thickness=" + - thick + ",fillColor=" + getFillColor(); - } - protected Color brighter() { - return - getLineColor().brighter().brighter().brighter().brighter(); - } -} diff --git a/java/gjt/EtchedBorder.java b/java/gjt/EtchedBorder.java deleted file mode 100644 index 09ff845014b..00000000000 --- a/java/gjt/EtchedBorder.java +++ /dev/null @@ -1,59 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * An extension of Border that draws an etched border. - * - * Drawn etchedIn by default, drawing style used by paint() is - * controlled by etchedIn() and etchedOut(). Note that - * etchedIn() and etchedOut() do not result in anything being - * painted, but only set the state for the next call to paint(). - * To set the state and paint in one operation, use - * paintEtchedIn() and paintEtchedOut().

    - * - * The current state of the border may be obtained by calling - * isEtchedIn().

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Border - * @see ThreeDRectangle - * @see gjt.test.BorderTest - */ -public class EtchedBorder extends Border { - public EtchedBorder(Component borderMe) { - this(borderMe, _defaultThickness, _defaultGap); - } - public EtchedBorder(Component borderMe, - int borderThickness) { - this(borderMe, borderThickness, _defaultGap); - } - public EtchedBorder(Component borderMe, - int borderThickness, int gap) { - super(borderMe, borderThickness, gap); - } - public void etchedIn() { - ((EtchedRectangle)border()).etchedIn(); - } - public void etchedOut() { - ((EtchedRectangle)border()).etchedOut(); - } - public void paintEtchedIn() { - ((EtchedRectangle)border()).paintEtchedIn (); - } - public void paintEtchedOut() { - ((EtchedRectangle)border()).paintEtchedOut(); - } - public boolean isEtchedIn() { - return ((EtchedRectangle)border()).isEtchedIn(); - } - protected String paramString() { - return super.paramString() + (EtchedRectangle)border(); - } - protected DrawnRectangle border() { - if(border == null) - border = new EtchedRectangle(this, thickness); - return border; - } -} diff --git a/java/gjt/EtchedRectangle.java b/java/gjt/EtchedRectangle.java deleted file mode 100644 index b8026d42f8d..00000000000 --- a/java/gjt/EtchedRectangle.java +++ /dev/null @@ -1,97 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A DrawnRectangle that draws an etched border.

    - * - * Drawn etched in by default, drawing style used by paint() is - * controlled by etchedIn() and etchedOut(). Note that - * etchedIn() and etchedOut() do not result in anything being - * painted, but only set the state for the next call to paint(). - * To set the state and paint in one operation, use - * paintEtchedIn() and paintEtchedOut().

    - * - * Although it is permissible to set the thickness of - * EtchedRectangles, they tend to loose the etching effect - * if thickness is greater than 4.

    - * - * The current state of the rectangle may be obtained by - * calling isEtchedIn(). - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see DrawnRectangle - * @see ThreeDRectangle - * @see gjt.test.DrawnRectangleTest - */ -public class EtchedRectangle extends DrawnRectangle { - protected static Etching _defaultEtching = Etching.IN; - private Etching etching; - - public EtchedRectangle(Component drawInto) { - this(drawInto, _defaultEtching, - _defaultThickness, 0, 0, 0, 0); - } - public EtchedRectangle(Component drawInto, int thickness) { - this(drawInto, _defaultEtching, thickness, 0, 0, 0, 0); - } - public EtchedRectangle(Component drawInto, int x, int y, - int w, int h) { - this(drawInto, _defaultEtching, - _defaultThickness, x, y, w, h); - } - public EtchedRectangle(Component drawInto, int thickness, - int x, int y, - int w, int h) { - this(drawInto, _defaultEtching, thickness, x, y, w, h); - } - public EtchedRectangle(Component drawInto, Etching etching, - int thickness, int x, int y, - int w, int h) { - super(drawInto, thickness, x, y, w, h); - this.etching = etching; - } - public void etchedIn () { etching = Etching.IN; } - public void etchedOut () { etching = Etching.OUT; } - public boolean isEtchedIn() { return etching == Etching.IN;} - - public void paint() { - if(etching == Etching.IN) paintEtchedIn(); - else paintEtchedOut(); - } - public void paintEtchedIn() { - Graphics g = drawInto.getGraphics(); - if(g != null) - paintEtched(g, getLineColor(), brighter()); - - etchedIn(); - } - public void paintEtchedOut() { - Graphics g = drawInto.getGraphics(); - if(g != null) - paintEtched(g, brighter(), getLineColor()); - - etchedOut(); - } - public String paramString() { - return super.paramString() + "," + etching; - } - private void paintEtched(Graphics g, - Color topLeft, - Color bottomRight) { - int thickness = getThickness(); - int w = width - thickness; - int h = height - thickness; - - g.setColor(topLeft); - for(int i=0; i < thickness/2; ++i) - g.drawRect(x+i, y+i, w, h); - - g.setColor(bottomRight); - - for(int i=0; i < thickness/2; ++i) - g.drawRect(x+(thickness/2)+i, - y+(thickness/2)+i, w, h); - } -} diff --git a/java/gjt/Etching.java b/java/gjt/Etching.java deleted file mode 100644 index ad40d9caaea..00000000000 --- a/java/gjt/Etching.java +++ /dev/null @@ -1,22 +0,0 @@ -package gjt; - -/** - * Constants for Etching. - * - * This class may not be instantiated. - * - * @version 1.0, Apr 11 1996 - * @author David Geary - */ -public class Etching { - public static final Etching OUT = new Etching(); - public static final Etching IN = new Etching(); - - public String toString() { - if(this == Etching.OUT) - return getClass().getName() + "=OUT"; - else - return getClass().getName() + "=IN"; - } - private Etching() { } -} diff --git a/java/gjt/ExclusiveImageButtonPanel.java b/java/gjt/ExclusiveImageButtonPanel.java deleted file mode 100644 index f1d0878a499..00000000000 --- a/java/gjt/ExclusiveImageButtonPanel.java +++ /dev/null @@ -1,47 +0,0 @@ -package gjt; - -import java.awt.Image; - -/** - * An ImageButtonPanel which fits all of its ImageButtons with - * a StickyImageButtonController. ExclusiveImageButtonPanel - * relies upon its superclass' controller: a - * RadioImageButtonPanelController, which ensures that only one - * of the ImageButtons is selected at a time.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see ImageButtonPanel - * @see gjt.test.ToolbarTest - */ -public class ExclusiveImageButtonPanel extends - ImageButtonPanel { - public ExclusiveImageButtonPanel(Orientation orient) { - this(orient, 5); - } - public ExclusiveImageButtonPanel(Orientation orient, - int gap) { - super(orient, gap); - } - public ExclusiveImageButtonPanel(Orientation orient, - Orientation horient, - Orientation vorient, - int gap) { - super(orient, horient, vorient, gap); - } - public void add(ImageButton button) { - super.add(button); - new StickyImageButtonController(button); - } - public ImageButton add(Image image) { - ImageButton button = super.add(image); - new StickyImageButtonController(button); - return button; - } - public ImageButton add(Image image, String name) { - ImageButton button = super.add(image, name); - new StickyImageButtonController(button); - return button; - } -} diff --git a/java/gjt/FontDialog.java b/java/gjt/FontDialog.java deleted file mode 100644 index 182ca582884..00000000000 --- a/java/gjt/FontDialog.java +++ /dev/null @@ -1,362 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A dialog used for selecting a font. FontDialog is - * constructed with a Frame, DialogClient, initial font to - * display, and boolean that indicates modality.

    - * - * FontDialog contains a preview panel which previews the - * currently selected font. Updating of the preview panel is - * triggered by a preview button at the bottom of the dialog.

    - * - * FontDialog contains 3 methods which define the labels for - * the buttons it contains: - *

    - *
    String getPreviewButtonLabel() - *
    String getOkButtonLabel() - *
    String getCancelButtonLabel() - *

    - * - * By default the 3 methods return "Preview", "Ok" and "Cancel" - * respectively. FontDialog may be extended and the 3 methods - * overridden to customize the labels displayed in the - * buttons.

    - * - * FontDialog uses Toolkit to get a list of fonts by invoking - * Toolkit.getFontList(). This is done in the getFontNames() - * method, which may be overridden by extensions of FontDialog - * in case the standard set of font names are inadequate.

    - * - * Finally, font sizes are obtained by the getFontSizes() - * method. FontDialog defines 8 sizes by default: 8, 12, 14, - * 16, 18, 24, 48 and 64. Extensions of FontDialog may override - * getFontSizes() to provide a different list of sizes.

    - * - * See gjt.test.FontDialogTest for an example of an extension - * of FontDialog which overrides the methods discussed above.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see java.awt.Dialog - * @see java.awt.Toolkit - * @see DialogClient - * @see gjt.test.FontDialogTest - */ -public class FontDialog extends Dialog { - private static String _defaultSizes[] = - { "8", "12", "14", "16", "18", "24", "48", "64" }; - - private FontPanel fontPanel; - private Font fontSelected; - private DialogClient client; - - public FontDialog(Frame frame, - DialogClient client, - Font font, // initial font - boolean modal) { - super(frame, "Select A Font", modal); - this.client = client; - - setLayout(new BorderLayout()); - add("Center", fontPanel = new FontPanel(this, font)); - } - public boolean handleEvent(Event event) { - if(event.id == Event.WINDOW_DESTROY) - done(null); - - return super.handleEvent(event); - } - public String[] getFontNames() { - return getToolkit().getFontList(); - } - public String[] getFontSizes() { - return _defaultSizes; - } - - public String getPreviewButtonLabel() { return "Preview"; } - public String getOkButtonLabel () { return "Ok"; } - public String getCancelButtonLabel () { return "Cancel"; } - - public void show() { - Point frameLoc = getParent().location(); - reshape(frameLoc.x + 50, frameLoc.x + 50, 550, 450); - super.show(); - } - public void done(Font font) { - fontSelected = font; - client.dialogDismissed(this); - hide (); - dispose(); - } - public Font getFontSelected() { - return fontSelected; - } - public void listSelectedInPicker() { - fontPanel.getPreviewButton().requestFocus(); - } -} - -class FontPanel extends Panel { - private static Font defaultFont = - new Font("TimesRoman", Font.PLAIN, 12); - - private FontPreviewPanel preview; - private FontSelectionPanel fsp; - - public FontPanel(FontDialog dialog, Font f) { - Font font = f == null ? defaultFont : f; - - setLayout(new BorderLayout()); - add("North", preview = new FontPreviewPanel ()); - add("Center", fsp = - new FontSelectionPanel(dialog, preview, font)); - } - public Button getPreviewButton() { - return fsp.getPreviewButton(); - } -} - -class FontPreviewPanel extends Panel { - TextField textField = new TextField(); - Box box = new Box(textField, "Preview"); - - public FontPreviewPanel() { - textField.setEditable(false); - - setLayout(new BorderLayout()); - add("Center", box); - } - public void setPreviewFont(Font font) { - String name = font.getName(); - String size = String.valueOf(font.getSize()); - String style = new String(); - - if(font.isPlain () == true) style = "Plain"; - else { - if(font.isBold () == true) style += "Bold"; - if(font.isItalic() == true) style += "Italic"; - } - textField.setFont(font); - textField.setText(name + " " + style + " " + size); - retrofitPreviewPanel(); - } - private void retrofitPreviewPanel() { - Dimension tfps, tfs; - FontPanel fontPanel = (FontPanel)getParent(); - - tfps = textField.preferredSize(); - tfs = textField.size(); - - if(tfps.width != tfs.width || - tfps.height != tfs.height) { - fontPanel.invalidate(); - fontPanel.getParent().validate(); - box.repaint(); // Only necessary on Win95 - } - } -} - -class FontSelectionPanel extends Panel { - private FontPickerPanel picker; - private FontButtonsPanel buttons; - private FontPreviewPanel preview; - private Font initialFont; - - public FontSelectionPanel(FontDialog dialog, - FontPreviewPanel preview, - Font initialFont) { - this.preview = preview; - this.initialFont = initialFont; - - picker = new FontPickerPanel (dialog, initialFont); - buttons = new FontButtonsPanel(dialog, picker, preview); - - setLayout(new BorderLayout()); - add("Center", picker); - add("South", buttons); - } - public void addNotify() { - super.addNotify(); - preview.setPreviewFont(initialFont); - } - public Button getPreviewButton() { - return buttons.getPreviewButton(); - } -} - -class FontPickerPanel extends Panel { - private FontDialog dialog; - private Button previewButton; - private List fonts = new List(); - private List styles = new List(); - private List sizes = new List(); - private Font initialFont; - - public FontPickerPanel(FontDialog dialog, - Font initialFont) { - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - Label family = new Label("Family"); - Label style = new Label("Style"); - Label size = new Label("Size"); - - this.initialFont = initialFont; - this.dialog = dialog; - - populateFonts (); - populateStyles(); - populateSizes (); - - setLayout(gbl); - - gbc.anchor = GridBagConstraints.NORTH; - gbc.gridwidth = 1; - gbl.setConstraints(family, gbc); add(family); - gbl.setConstraints(style, gbc); add(style); - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbl.setConstraints(size, gbc); add(size); - - gbc.gridwidth = 1; - gbc.weighty = 1.0; - gbc.weightx = 1.0; - gbc.fill = GridBagConstraints.BOTH; - gbl.setConstraints(fonts, gbc); add(fonts); - gbl.setConstraints(styles, gbc); add(styles); - gbl.setConstraints(sizes, gbc); add(sizes); - } - public boolean handleEvent(Event event) { - if(event.id == Event.LIST_SELECT) { - dialog.listSelectedInPicker(); - return true; - } - return false; - } - public void addNotify() { - super.addNotify(); - String initialFamily = initialFont.getName(); - int initialSize = initialFont.getSize(); - int initialStyle = initialFont.getStyle(); - - styles.select(initialStyle); - - for(int i=0; i < fonts.countItems(); ++i) { - String nextFamily = fonts.getItem(i); - if(nextFamily.equals(initialFamily)) - fonts.select(i); - } - for(int i=0; i < sizes.countItems(); ++i) { - String nextSize = sizes.getItem(i); - if(nextSize.equals(String.valueOf(initialSize))) - sizes.select(i); - } - } - public String fontSelected() { - return fonts.getSelectedItem (); - } - public String styleSelected() { - return styles.getSelectedItem(); - } - public int sizeSelected() { - String szstring = sizes.getSelectedItem(); - - if(szstring != null) { - Integer integer = new Integer(szstring); - return integer.intValue(); - } - else - return 0; - } - private void populateFonts() { - String names[] = dialog.getFontNames(); - - for(int i=0; i < names.length; ++i) { - fonts.addItem(names[i]); - } - } - private void populateSizes() { - String sizeArray[] = dialog.getFontSizes(); - - for(int i=0; i < sizeArray.length; ++i) { - sizes.addItem(sizeArray[i]); - } - } - private void populateStyles() { - styles.addItem("Plain"); - styles.addItem("Bold"); - styles.addItem("Italic"); - styles.addItem("BoldItalic"); - } -} - -class FontButtonsPanel extends Panel { - private FontDialog dialog; - private FontPickerPanel picker; - private FontPreviewPanel preview; - private Button previewButton, - okButton, - cancelButton; - - public FontButtonsPanel(FontDialog dialog, - FontPickerPanel picker, - FontPreviewPanel preview) { - this.picker = picker; - this.preview = preview; - this.dialog = dialog; - - add(previewButton = - new Button(dialog.getPreviewButtonLabel())); - add(cancelButton = - new Button(dialog.getCancelButtonLabel())); - add(okButton = - new Button(dialog.getOkButtonLabel())); - } - public void addNotify() { - super.addNotify(); - cancelButton.requestFocus(); - } - public boolean action(Event event, Object object) { - Button button = (Button)event.target; - boolean handledEvent = true; - - if(event.target == previewButton) { - Font selectedFont = fontSelected(); - - if(selectedFont != null) { - preview.setPreviewFont(selectedFont); - okButton.requestFocus(); - } - } - else if(event.target == okButton) - dialog.done(fontSelected()); - else if(event.target == cancelButton) - dialog.done(null); - else - handledEvent = false; - - return handledEvent; - } - public Button getPreviewButton() { - return previewButton; - } - private Font fontSelected() { - String font = picker.fontSelected (); - String style = picker.styleSelected(); - int size = picker.sizeSelected (); - int istyle = Font.PLAIN; - - if(font != null && style != null && size > 0) { - if(style.equals("Bold")) istyle = Font.BOLD; - if(style.equals("Plain")) istyle = Font.PLAIN; - if(style.equals("Italic")) istyle = Font.ITALIC; - - if(style.equals("BoldItalic")) - istyle = Font.BOLD + Font.ITALIC; - - return new Font(font, istyle, size); - } - else - return null; - } -} diff --git a/java/gjt/GJT.DSP b/java/gjt/GJT.DSP deleted file mode 100644 index e2060a0ad72..00000000000 --- a/java/gjt/GJT.DSP +++ /dev/null @@ -1,456 +0,0 @@ -# Microsoft Developer Studio Project File - Name="GJT" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=GJT - Java Virtual Machine 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 "GJT.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 "GJT.MAK" CFG="GJT - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "GJT - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "GJT - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "GJT - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "GJT - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "GJT - Java Virtual Machine Release" -# Name "GJT - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\Assert.java -# End Source File -# Begin Source File - -SOURCE=.\test\AttributesPanel.java -# End Source File -# Begin Source File - -SOURCE=.\Bargauge.java -# End Source File -# Begin Source File - -SOURCE=.\test\BargaugeTest.java -# End Source File -# Begin Source File - -SOURCE=.\image\BleachImageFilter.java -# End Source File -# Begin Source File - -SOURCE=.\test\BleachImageFilterTest.java -# End Source File -# Begin Source File - -SOURCE=.\Border.java -# End Source File -# Begin Source File - -SOURCE=.\test\BorderTest.java -# End Source File -# Begin Source File - -SOURCE=.\Box.java -# End Source File -# Begin Source File - -SOURCE=.\test\BoxTest.java -# End Source File -# Begin Source File - -SOURCE=.\BulletinLayout.java -# End Source File -# Begin Source File - -SOURCE=.\test\BumpAnimationTest.java -# End Source File -# Begin Source File - -SOURCE=.\ButtonPanel.java -# End Source File -# Begin Source File - -SOURCE=.\CardPanel.java -# End Source File -# Begin Source File - -SOURCE=.\ChoiceCardPanel.java -# End Source File -# Begin Source File - -SOURCE=.\test\ChoiceCardPanelTest.java -# End Source File -# Begin Source File - -SOURCE=.\animation\CollisionArena.java -# End Source File -# Begin Source File - -SOURCE=.\animation\CollisionDetector.java -# End Source File -# Begin Source File - -SOURCE=.\ColumnLayout.java -# End Source File -# Begin Source File - -SOURCE=.\test\ColumnLayoutTest.java -# End Source File -# Begin Source File - -SOURCE=.\ComponentScroller.java -# End Source File -# Begin Source File - -SOURCE=.\test\ComponentScrollerTest.java -# End Source File -# Begin Source File - -SOURCE=.\test\ConnectionsPanel.java -# End Source File -# Begin Source File - -SOURCE=.\DialogClient.java -# End Source File -# Begin Source File - -SOURCE=.\test\DialogTest.java -# End Source File -# Begin Source File - -SOURCE=.\image\DissolveFilter.java -# End Source File -# Begin Source File - -SOURCE=.\DrawingPanel.java -# End Source File -# Begin Source File - -SOURCE=.\DrawnRectangle.java -# End Source File -# Begin Source File - -SOURCE=.\test\DrawnRectangleTest.java -# End Source File -# Begin Source File - -SOURCE=.\animation\EdgeCollisionDetector.java -# End Source File -# Begin Source File - -SOURCE=.\EtchedBorder.java -# End Source File -# Begin Source File - -SOURCE=.\EtchedRectangle.java -# End Source File -# Begin Source File - -SOURCE=.\Etching.java -# End Source File -# Begin Source File - -SOURCE=.\ExclusiveImageButtonPanel.java -# End Source File -# Begin Source File - -SOURCE=.\FontDialog.java -# End Source File -# Begin Source File - -SOURCE=.\test\FontDialogTest.java -# End Source File -# Begin Source File - -SOURCE=.\GJTDialog.java -# End Source File -# Begin Source File - -SOURCE=.\IconCardPanel.java -# End Source File -# Begin Source File - -SOURCE=.\test\IconCardPanelTest.java -# End Source File -# Begin Source File - -SOURCE=.\ImageButton.java -# End Source File -# Begin Source File - -SOURCE=.\ImageButtonController.java -# End Source File -# Begin Source File - -SOURCE=.\ImageButtonEvent.java -# End Source File -# Begin Source File - -SOURCE=.\ImageButtonPanel.java -# End Source File -# Begin Source File - -SOURCE=.\ImageButtonPanelController.java -# End Source File -# Begin Source File - -SOURCE=.\test\ImageButtonTest.java -# End Source File -# Begin Source File - -SOURCE=.\ImageCanvas.java -# End Source File -# Begin Source File - -SOURCE=.\image\ImageDissolver.java -# End Source File -# Begin Source File - -SOURCE=.\test\ImageDissolverTest.java -# End Source File -# Begin Source File - -SOURCE=.\ImageScroller.java -# End Source File -# Begin Source File - -SOURCE=.\test\ImageScrollerTest.java -# End Source File -# Begin Source File - -SOURCE=.\LabelCanvas.java -# End Source File -# Begin Source File - -SOURCE=.\test\LabelCanvasTest.java -# End Source File -# Begin Source File - -SOURCE=.\MessageDialog.java -# End Source File -# Begin Source File - -SOURCE=.\test\MessageDialogTest.java -# End Source File -# Begin Source File - -SOURCE=.\MouseController.java -# End Source File -# Begin Source File - -SOURCE=.\test\OccupationOracle.java -# End Source File -# Begin Source File - -SOURCE=.\Orientation.java -# End Source File -# Begin Source File - -SOURCE=.\animation\Playfield.java -# End Source File -# Begin Source File - -SOURCE=.\ProgressDialog.java -# End Source File -# Begin Source File - -SOURCE=.\QuestionDialog.java -# End Source File -# Begin Source File - -SOURCE=.\RadioImageButtonPanelController.java -# End Source File -# Begin Source File - -SOURCE=.\RowLayout.java -# End Source File -# Begin Source File - -SOURCE=.\test\RowLayoutTest.java -# End Source File -# Begin Source File - -SOURCE=.\rubberband\Rubberband.java -# End Source File -# Begin Source File - -SOURCE=.\rubberband\RubberbandEllipse.java -# End Source File -# Begin Source File - -SOURCE=.\rubberband\RubberbandLine.java -# End Source File -# Begin Source File - -SOURCE=.\rubberband\RubberbandPanel.java -# End Source File -# Begin Source File - -SOURCE=.\rubberband\RubberbandRectangle.java -# End Source File -# Begin Source File - -SOURCE=.\test\RubberbandTest.java -# End Source File -# Begin Source File - -SOURCE=.\Scroller.java -# End Source File -# Begin Source File - -SOURCE=.\ScrollerLayout.java -# End Source File -# Begin Source File - -SOURCE=.\SelectionEvent.java -# End Source File -# Begin Source File - -SOURCE=.\Separator.java -# End Source File -# Begin Source File - -SOURCE=.\test\SeparatorTest.java -# End Source File -# Begin Source File - -SOURCE=.\animation\Sequence.java -# End Source File -# Begin Source File - -SOURCE=.\test\SimpleAnimationTest.java -# End Source File -# Begin Source File - -SOURCE=.\test\SimpleBargaugeTest.java -# End Source File -# Begin Source File - -SOURCE=.\SpringyImageButtonController.java -# End Source File -# Begin Source File - -SOURCE=.\animation\Sprite.java -# End Source File -# Begin Source File - -SOURCE=.\animation\SpriteCollisionDetector.java -# End Source File -# Begin Source File - -SOURCE=.\StateButton.java -# End Source File -# Begin Source File - -SOURCE=.\StateButtonController.java -# End Source File -# Begin Source File - -SOURCE=.\test\StateButtonTest.java -# End Source File -# Begin Source File - -SOURCE=.\StickyImageButtonController.java -# End Source File -# Begin Source File - -SOURCE=.\Stopwatch.java -# End Source File -# Begin Source File - -SOURCE=.\StopwatchClient.java -# End Source File -# Begin Source File - -SOURCE=.\test\TenPixelBorder.java -# End Source File -# Begin Source File - -SOURCE=.\ThreeDBorder.java -# End Source File -# Begin Source File - -SOURCE=.\ThreeDBorderStyle.java -# End Source File -# Begin Source File - -SOURCE=.\ThreeDRectangle.java -# End Source File -# Begin Source File - -SOURCE=.\test\TitledPanel.java -# End Source File -# Begin Source File - -SOURCE=.\Toolbar.java -# End Source File -# Begin Source File - -SOURCE=.\test\ToolbarTest.java -# End Source File -# Begin Source File - -SOURCE=.\test\TwoDrinkersAnimationTest.java -# End Source File -# Begin Source File - -SOURCE=.\test\UnitTest.java -# End Source File -# Begin Source File - -SOURCE=.\Util.java -# End Source File -# Begin Source File - -SOURCE=.\YesNoDialog.java -# End Source File -# End Target -# End Project diff --git a/java/gjt/GJT.DSW b/java/gjt/GJT.DSW deleted file mode 100644 index fb82e10ad55..00000000000 --- a/java/gjt/GJT.DSW +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "GJT"=.\GJT.DSP - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/java/gjt/GJTDialog.java b/java/gjt/GJTDialog.java deleted file mode 100644 index 7fc0bd39f40..00000000000 --- a/java/gjt/GJTDialog.java +++ /dev/null @@ -1,51 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A base class for gjt dialog classes, this concrete class - * establishes the relationship between a dialog and its - * client (DialogClient).

    - * - * Note that show() is overridden to ensure that the dialog is - * centered in the frame which is specified as its parent. This - * is necessary due to a bug in the Win95 implementation of the - * AWT (version 1.0.2) that causes dialogs to be displayed at - * a screen coordinate of 0,0. While the overridden show() is - * not necessary under non-Win95 Java implementations, it - * alleviates the Win95 bug and results in no dire consequences - * on other platforms.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see MessageDialog - * @see QuestionDialog - * @see YesNoDialog - * @see ProgressDialog - * @see gjt.test.DialogTest - */ -public class GJTDialog extends Dialog { - protected DialogClient client; - - public GJTDialog(Frame frame, - String title, - DialogClient client, - boolean modal) { - super(frame, title, modal); - setClient(client); - } - public void setClient(DialogClient client) { - this.client = client; - } - public void show() { // Fixes bug under Win95 - Dimension frameSize = getParent().size(); - Point frameLoc = getParent().location(); - Dimension mySize = size(); - int x,y; - - x = frameLoc.x + (frameSize.width/2) -(mySize.width/2); - y = frameLoc.y + (frameSize.height/2)-(mySize.height/2); - reshape(x,y,size().width,size().height); - super.show(); - } -} diff --git a/java/gjt/IconCardPanel.java b/java/gjt/IconCardPanel.java deleted file mode 100644 index 78940bf8f4f..00000000000 --- a/java/gjt/IconCardPanel.java +++ /dev/null @@ -1,55 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A CardPanel whose Component viewSelector() returns - * a panel with image buttons to control the selection of the - * panel to be displayed beneath the view selector panel.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see CardPanel - * @see ChoiceCardpanel - * @see gjt.test.IconCardPanelTest - */ -public class IconCardPanel extends CardPanel { - private ImageButtonPanel viewSelector; - - public IconCardPanel() { - viewSelector = new IconViewSelector(this); - } - public Component viewSelector() { - return viewSelector; - } - public void addImageButton(Image image, - String name, - Component component) { - ImageButton newButton; - - viewSelector.add( - newButton = new ImageButton(image), name); - newButton.setController( - new StickyImageButtonController(newButton)); - super.addView(name, component); - } -} - -class IconViewSelector extends ImageButtonPanel { - private IconCardPanel mvp; - - public IconViewSelector(IconCardPanel panel) { - super(Orientation.HORIZONTAL); - setLayout(new FlowLayout()); - mvp = panel; - } - public boolean handleEvent(Event event) { - if(event.id == Event.MOUSE_DOWN) { - if(event.target instanceof ImageButton) { - ImageButton ib = (ImageButton)event.target; - mvp.showView(getButtonName(ib)); - } - } - return super.handleEvent(event); - } -} diff --git a/java/gjt/ImageButton.java b/java/gjt/ImageButton.java deleted file mode 100644 index 07bdeff0ef8..00000000000 --- a/java/gjt/ImageButton.java +++ /dev/null @@ -1,209 +0,0 @@ -package gjt; - -import java.awt.*; -import java.awt.image.FilteredImageSource; - -import gjt.image.BleachImageFilter; - -/** - * An Image painted in a Canvas, bordered by a ThreeDRectangle. - *

    - * - * ImageButtons have two constructors, both of which take an - * Image. The Image passed to the constructor must not be null; - * this is enforced by an assertion.

    - * - * Default border thickness is 2 pixels - thickness may be set - * at construction time only.

    - * - * Event handling is delegated to an ImageButtonController. By - * default, all ImageButtons are fitted with an instance of - * SpringyImageButtonController, however, - * setController(ImageButtonController) may be used to fit an - * ImageButton with a different derivation of - * ImageButtonController after construction.

    - * - * ImageButtons ensure that their Images are completely loaded - * before they are displayed.

    - * - * Drawn either raised or inset, current state may be queried - * via the isRaised() method.

    - * - * disable() disables response to input and repaints the image - * with a bleached version. enable() restores the original - * image and enables response to input. The intensity of the - * bleaching effect may be controlled (for all ImageButtons) - * via the static setBleachPercent(int) method.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ThreeDRectangle - * @see ImageButtonController - * @see ImageButtonEvent - * @see SpringyImageButtonController - * @see StickyImageButtonController - * @see BleachImageFilter - * @see gjt.test.ImageButtonTest - */ -public class ImageButton extends Canvas { - private static BleachImageFilter _bleachFilter; - private static int _bleachPercent = 50; - private static int _offset = 1; - private static int _defaultThickness = 2; - - private ThreeDRectangle border = new ThreeDRectangle(this); - private boolean isDisabled = false; - private Dimension preferredSize = new Dimension(0,0); - private int thickness; - private Image image, disabledImage; - private ImageButtonController controller; - - public static int setBleachPercent() { - return _bleachPercent; - } - public static void getBleachPercent(int p) { - _bleachPercent = p; - } - public ImageButton(Image image) { - this(image, _defaultThickness, null); - } - public ImageButton(Image image, - ImageButtonController controller) { - this(image, _defaultThickness, controller); - } - public ImageButton(Image image, int thickness, - ImageButtonController controller) { - Assert.notNull(image); - Assert.notFalse(thickness > 0); - - if(controller == null) - this.controller = - new SpringyImageButtonController(this); - else - this.controller = controller; - - border.setThickness(this.thickness = thickness); - setImage(image); - } - public void setImage(Image image) { - Util.waitForImage(this, this.image = image); - - preferredSize.width = image.getWidth (this) + - (2*thickness); - preferredSize.height = image.getHeight(this) + - (2*thickness); - } - public Dimension minimumSize() { - return preferredSize; - } - public Dimension preferredSize() { - return preferredSize; - } - public boolean isRaised () { return border.isRaised(); } - public boolean isDisabled() { return isDisabled; } - - public void enable() { - isDisabled = false; - repaint(); - } - public void disable() { - isDisabled = true; - - if(disabledImage == null) - createDisabledImage(); - - repaint(); - } - public void resize(int w, int h) { - reshape(location().x, location().y, w, h); - } - public void reshape(int x, int y, int w, int h) { - super.reshape(x,y,w,h); - border.resize(w,h); - } - public void paint(Graphics g) { - if(isRaised()) paintRaised(); - else paintInset (); - } - public void paintInset() { - Point upperLeft = findUpperLeft(); - Graphics g = getGraphics(); - Image image = isDisabled() ? - disabledImage : this.image; - Dimension size = size(); - - if(g != null) { - border.clearInterior(); - g.drawImage(image, - upperLeft.x + thickness + _offset, - upperLeft.y + thickness + _offset,this); - - g.setColor(getBackground().darker()); - for(int i=0; i < _offset; ++i) { - g.drawLine(thickness+i,thickness+i, - size.width-thickness-i,thickness+i); - g.drawLine(thickness+i,thickness+i, - thickness+i,size.height-thickness-i); - } - border.paintInset(); - } - } - public void paintRaised() { - Point upperLeft = findUpperLeft(); - Graphics g = getGraphics(); - Image image = isDisabled() ? - disabledImage : this.image; - - if(g != null) { - border.clearInterior(); - g.drawImage(image, upperLeft.x + thickness, - upperLeft.y + thickness, this); - border.paintRaised(); - } - } - public boolean isInside(int x, int y) { - Dimension size = size(); - return x >= 0 && x < size.width && y >= 0 && - y < size.height; - } - public void setController(ImageButtonController controller){ - this.controller = controller; - } - public ImageButtonController getController() { - return controller; - } - public boolean mouseDown(Event event, int x, int y) { - if(isDisabled()) return false; - else return controller.mouseDown(event,x,y); - } - public boolean mouseUp(Event event, int x, int y) { - if(isDisabled()) return false; - else return controller.mouseUp(event,x,y); - } - public boolean mouseDrag(Event event, int x, int y) { - if(isDisabled()) return false; - else return controller.mouseDrag(event,x,y); - } - - private void createDisabledImage() { - if(_bleachFilter == null) - _bleachFilter = - new BleachImageFilter(_bleachPercent); - - if(_bleachPercent != _bleachFilter.percent()) - _bleachFilter.percent(_bleachPercent); - - FilteredImageSource fis = - new FilteredImageSource(image.getSource(), - _bleachFilter); - - Util.waitForImage(this, disabledImage=createImage(fis)); - } - private Point findUpperLeft() { - Dimension size = size(); - return new Point((size.width/2) - - (preferredSize.width/2), - (size.height/2) - - (preferredSize.height/2)); - } -} diff --git a/java/gjt/ImageButtonController.java b/java/gjt/ImageButtonController.java deleted file mode 100644 index 0f6aa6f4add..00000000000 --- a/java/gjt/ImageButtonController.java +++ /dev/null @@ -1,79 +0,0 @@ -package gjt; -import java.awt.Event; - -/** - * A controller for an ImageButton, this abstract class - * establishes the association between itself and an ImageButton - * and delivers events to its ImageButton.

    - * - * ImageButtonControllers must be constructed with an - * ImageButton; the ImageButton's controller gets set by - * ImageButtonController's constructor.

    - * - * The ImageButton passed into the constructor must not be null; - * this is enforced by an assertion.

    - * - * Methods defined in the MouseController interface are left - * for subclasses to implement. ImageButtonController defines - * mouseMove(), mouseEnter() and mouseExit() as no-ops, so - * that extensions of ImageButtonController only have to - * implement mouseDown(), mouseUp() and mouseDrag(). Note - * that extensions are still free to override mouseMove(), - * mouseEnter() and mouseExit() if desired.

    - * - * Subclasses should also call the protected XXXButton(Event) - * methods below, where XXX is either arm, disarm, activate, or - * deactivate as appropriate. SpringyImageButtonController is - * a good example of this (so is StickyImageButtonController, - * but it is more complicated than it's springy sibling).

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see MouseController - * @see ImageButton - * @see ImageButtonEvent - * @see SpringyImageButtonController - * @see StickyImageButtonController - * @see gjt.test.ImageButtonTest - */ -public abstract class ImageButtonController - implements MouseController { - private ImageButton button; - - ImageButtonController(ImageButton button) { - Assert.notNull(button); - this.button = button; - button.setController(this); - } - public ImageButton getButton() { - return button; - } - public boolean mouseEnter(Event event, int x, int y) { - return false; - } - public boolean mouseExit (Event event, int x, int y) { - return false; - } - public boolean mouseMove (Event event, int x, int y) { - return false; - } - - protected void armButton(Event event) { - button.deliverEvent( - new ImageButtonEvent(button, - event, - ImageButtonEvent.ARM)); - } - protected void disarmButton(Event event) { - button.deliverEvent( - new ImageButtonEvent(button, - event, - ImageButtonEvent.DISARM)); - } - protected void activateButton(Event event) { - button.deliverEvent( - new ImageButtonEvent(button, - event, - ImageButtonEvent.ACTIVATE)); - } -} diff --git a/java/gjt/ImageButtonEvent.java b/java/gjt/ImageButtonEvent.java deleted file mode 100644 index bb7f196698f..00000000000 --- a/java/gjt/ImageButtonEvent.java +++ /dev/null @@ -1,103 +0,0 @@ -package gjt; - -import java.awt.Event; - -/** - * An extension of java.awt.Event, specifically designed for - * ImageButton events.

    - * - * ImageButtonEvents are constructed with 3 arguments: - *

    - *
    ImageButton in which the event occurred - *
    The AWT event that triggered the image button event - *
    The id of the event. - *
    - * - * An ImageButtonEvent's id (the constructor's 3rd argument), - * must be one of the following: - * - *
    - *
    ImageButtonEvent.ARM - *
    ImageButtonEvent.DISARM - *
    ImageButtonEvent.ACTIVATE - *
    - * - * ImageButtonEvent has only a constructor and a paramString() - * method. Containers that contain ImageButtons should check - * for ImageButtonEvents like so:

    - * - *

    - *      // handleEvent(Event) method of a container that
    - *      // contains ImageButtons.
    - *
    - *      public boolean handleEvent(Event event) {
    - *              if(event instanceof ImageButtonEvent) {
    - *                  ImageButtonEvent ibevent = 
    - *                  (ImageButtonEvent)event;
    - *
    - *                  if(ibevent.isArmed()) {
    - *                      // do something for arming
    - *                  }
    - *                  if(ibevent.isDisarmed()) {
    - *                      // do something for disarming
    - *                  }
    - *                  if(ibevent.isActivated()) {
    - *                      // do something for activation
    - *                  }
    - *              }
    - *      }
    - * 
    - * - * ImageButtonController is the only GJT class that creates - * ImageButtonEvents. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see ImageButtonController - * @see SpringyImageButtonController - * @see StickyImageButtonController - * @see gjt.test.ImageButtonTest - */ -public class ImageButtonEvent extends Event { - public static final int ARM = 1; - public static final int DISARM = 2; - public static final int ACTIVATE = 3; - - private int eventType; - - public ImageButtonEvent(ImageButton button, - Event event, - int type) { - super(button, event.when, event.id, event.x, event.y, - event.key, event.modifiers, event.arg); - - Assert.notFalse(type == ARM || - type == DISARM || - type == ACTIVATE); - - eventType = type; - id = -1; - } - public boolean isArmed() { - return eventType == ARM; - } - public boolean isDisarmed() { - return eventType == DISARM; - } - public boolean isActivated() { - return eventType == ACTIVATE; - } - protected String paramString() { - String str = new String(); - - if(eventType == ImageButtonEvent.ARM) - str = "ARM"; - else if(eventType == ImageButtonEvent.DISARM) - str = "DISARM"; - else if(eventType == ImageButtonEvent.ACTIVATE) - str = "ACTIVATE"; - - return super.paramString() + str; - } -} diff --git a/java/gjt/ImageButtonPanel.java b/java/gjt/ImageButtonPanel.java deleted file mode 100644 index 0d033b7967b..00000000000 --- a/java/gjt/ImageButtonPanel.java +++ /dev/null @@ -1,106 +0,0 @@ -package gjt; - -import java.awt.*; -import java.util.Enumeration; -import java.util.Hashtable; - -/** - * A panel which contains a collection of ImageButtons, - * arranged either horizontally or vertically.

    - * - * Handling of mouse events is delegated to an image button - * panel controller. By default, an image button panel is - * outfitted with an instance of RadioImageButtonPanelController - * which implements mutually exclusive selection behavior. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see RadioImageButtonPanelController - * @see gjt.test.ToolbarTest - */ -public class ImageButtonPanel extends Panel { - static private int _defaultGap = 5; - - private Hashtable nameAndButtonPairs = new Hashtable(); - private ImageButtonPanelController controller; - - public ImageButtonPanel(Orientation orient) { - this(orient, Orientation.CENTER, - Orientation.CENTER, _defaultGap); - } - public ImageButtonPanel(Orientation orient, int gap) { - this(orient, Orientation.CENTER, - Orientation.CENTER, gap); - } - public ImageButtonPanel(Orientation orient, - Orientation horient, - Orientation vorient, int gap) { - Assert.notFalse(orient == Orientation.HORIZONTAL || - orient == Orientation.VERTICAL); - - if(orient == Orientation.VERTICAL) - setLayout(new ColumnLayout(horient, vorient, gap)); - else - setLayout(new RowLayout(horient, vorient, gap)); - - setController( - new RadioImageButtonPanelController(this)); - } - public void setController(ImageButtonPanelController c) { - this.controller = c; - } - public Insets insets() { return new Insets(10,10,10,10); } - - public ImageButton add(Image image, String name) { - ImageButton button = new ImageButton(image); - add(button); - nameAndButtonPairs.put(name, button); - return button; - } - public ImageButton add(Image image) { - return add(image, "noname"); - } - public void add(ImageButton button) { - add(button, "noname"); - } - public void add(ImageButton button, String name) { - nameAndButtonPairs.put(name, button); - super.add(button); - } - public ImageButton getButtonByName(String name) { - return (ImageButton)nameAndButtonPairs.get(name); - } - public String getButtonName(ImageButton button) { - Enumeration e = nameAndButtonPairs.keys(); - ImageButton nbutt; - String nstr; - - while(e.hasMoreElements()) { - nstr = (String)e.nextElement(); - nbutt = (ImageButton)nameAndButtonPairs.get(nstr); - - if(nbutt.equals(button)) - return nstr; - } - return null; - } - public void addSpacer(int sizeInPixels) { - Assert.notFalse(sizeInPixels > 0); - Canvas spacer = new Canvas(); - spacer.resize(sizeInPixels, sizeInPixels); - add(spacer); - } - public boolean mouseDown(Event event, int x, int y) { - return controller != null ? - controller.mouseDown(event,x,y) : false; - } - public boolean mouseDrag(Event event, int x, int y) { - return controller != null ? - controller.mouseDrag(event,x,y) : false; - } - public boolean mouseUp(Event event, int x, int y) { - return controller != null ? - controller.mouseUp(event,x,y) : false; - } -} diff --git a/java/gjt/ImageButtonPanelController.java b/java/gjt/ImageButtonPanelController.java deleted file mode 100644 index 74f900001b6..00000000000 --- a/java/gjt/ImageButtonPanelController.java +++ /dev/null @@ -1,47 +0,0 @@ -package gjt; - -import java.awt.Event; - -/** - * A controller for an ImageButtonPanel, this abstract class - * does nothing more than establish the association between an - * ImageButton and its controller.

    - * - * ImageButtonControllers must be constructed with an - * ImageButtonPanel; the ImageButtonPanels' controller gets set - * by the constructor.

    - * - * The ImageButton passed into the constructor must not be null; - * this is enforced by an assertion.

    - * - * Methods defined in the MouseController interface are left - * for subclasses to implement.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see MouseController - * @see ImageButtonPanel - * @see gjt.test.Toolbar - */ -abstract class ImageButtonPanelController implements - MouseController { - private ImageButtonPanel panel; - - ImageButtonPanelController(ImageButtonPanel panel) { - Assert.notNull(panel); - this.panel = panel; - panel.setController(this); - } - public ImageButtonPanel panel() { - return panel; - } - public boolean mouseEnter(Event event, int x, int y) { - return false; - } - public boolean mouseExit (Event event, int x, int y) { - return false; - } - public boolean mouseMove (Event event, int x, int y) { - return false; - } -} diff --git a/java/gjt/ImageCanvas.java b/java/gjt/ImageCanvas.java deleted file mode 100644 index 49e3bc72f3f..00000000000 --- a/java/gjt/ImageCanvas.java +++ /dev/null @@ -1,31 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A Canvas that displays an image.

    - * - * update() is overridden to call paint() directly, thus - * bypassing the default implementation of update() which - * erases the background of the canvas before calling paint(). - * This eliminates nasty flashing.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Util - */ -class ImageCanvas extends Canvas { - private Image image; - - public ImageCanvas(Image image) { - this.image = image; - Util.waitForImage(this, image); - resize(image.getWidth(this), image.getHeight(this)); - } - public void paint(Graphics g) { - g.drawImage(image, 0, 0, this); - } - public void update(Graphics g) { - paint(g); - } -} diff --git a/java/gjt/ImageScroller.java b/java/gjt/ImageScroller.java deleted file mode 100644 index 79fdc86ea3c..00000000000 --- a/java/gjt/ImageScroller.java +++ /dev/null @@ -1,62 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * An extension of Scroller that smoothly scrolls an Image.

    - * - * An Image must be supplied at construction time. The image - * may be reset any time after construction.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Scroller - * @see ImageCanvas - * @see gjt.test.ScrollerTest - */ -public class ImageScroller extends Scroller { - private Image image; - private ScrollerImageCanvas canvas; - - public ImageScroller(Image image) { - viewport.setLayout(new BorderLayout()); - setImage(image); - } - public void resetImage(Image image) { - viewport.remove(canvas); - setImage(image); - invalidate(); - validate(); - } - public void scrollTo(int x, int y) { - Graphics g = canvas.getGraphics(); - if(g != null) { - g.translate(-x,-y); - g.drawImage(image, 0, 0, this); - } - } - public Dimension getScrollAreaSize() { - return new Dimension(image.getWidth(this), - image.getHeight(this)); - } - private void setImage(Image image) { - this.image = image; - hbar.setValue(0); - vbar.setValue(0); - viewport.add("Center", - canvas = new ScrollerImageCanvas(this, image)); - } -} - -class ScrollerImageCanvas extends ImageCanvas { - private ImageScroller scroller; - - public ScrollerImageCanvas(ImageScroller scroller, - Image image) { - super(image); - this.scroller = scroller; - } - public void paint(Graphics g) { - scroller.repaint(); - } -} diff --git a/java/gjt/LabelCanvas.java b/java/gjt/LabelCanvas.java deleted file mode 100644 index ba733249b76..00000000000 --- a/java/gjt/LabelCanvas.java +++ /dev/null @@ -1,93 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A selectable label. Clients can set the insets around the - * label via setInsets(Insets). - * - * LabelCanvases generate SelectionEvents when they are - * selected or deselected.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see SelectionEvent - * @see gjt.test.LabelCanvasTest - */ -public class LabelCanvas extends Canvas { - private String label; - private boolean selected = false; - private Insets insets = new Insets(2,2,2,2); - private Point labelLoc = new Point(0,0); - - public LabelCanvas(String label) { - this.label = label; - } - public void paint(Graphics g) { - if(selected == true) paintSelected(g); - else - g.drawString(label, labelLoc.x, labelLoc.y); - } - public void setInsets(Insets insets) { - this.insets = insets; - repaint(); - } - public String getLabel () { return label; } - public boolean isSelected() { return selected; } - public void select () { selected = true; repaint(); } - public void deselect () { selected = false; repaint(); } - - public void resize(int w, int h) { - reshape(location().x, location().y, w, h); - } - public void reshape(int x, int y, int w, int h) { - super.reshape(x, y, w, h); - labelLoc = labelLocation(getGraphics()); - } - public Dimension minimumSize() { - return preferredSize(); - } - public Dimension preferredSize() { - FontMetrics fm = getFontMetrics(getFont()); - return new Dimension( - insets.left + fm.stringWidth(label) + - insets.right, - insets.top + fm.getHeight() + - insets.bottom); - } - public boolean mouseDown(Event event, int x, int y) { - if(selected) deselect(); - else select (); - - int eventType = isSelected() ? - SelectionEvent.SELECT : - SelectionEvent.DESELECT; - - Event newEvent = new SelectionEvent(this, - event, - eventType); - deliverEvent(newEvent); - - return true; - } - protected void paintSelected(Graphics g) { - Point labelLoc = labelLocation(g); - - g.setColor(getForeground()); - g.fillRect(0,0,size().width,size().height); - g.setColor(getBackground()); - g.drawString(label, labelLoc.x, labelLoc.y); - } - protected String paramString() { - return super.paramString() + ",text=" + label; - } - private Point labelLocation(Graphics g) { - Dimension size = size(); - FontMetrics fm = g.getFontMetrics(); - - int x = (size.width/2) - (fm.stringWidth(label)/2); - int y = (size.height/2) + (fm.getAscent()/2) - - fm.getLeading(); - return new Point(x,y); - } -} diff --git a/java/gjt/Makefile b/java/gjt/Makefile deleted file mode 100644 index ef6e80748a7..00000000000 --- a/java/gjt/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = .. -CLASSDIR = $(JACE_WRAPPER)/classes -DOCDIR = $(JACE_WRAPPER)/doc - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) - -clean: - rm -rf *~ - -realclean: clean - rm -rf $(JACE_WRAPPER)/classes/gjt - -files = Assert.java \ - Border.java \ - BulletinLayout.java \ - CardPanel.java \ - ChoiceCardPanel.java \ - ColumnLayout.java \ - ComponentScroller.java \ - DialogClient.java \ - DrawingPanel.java \ - DrawnRectangle.java \ - EtchedBorder.java \ - EtchedRectangle.java \ - Etching.java \ - ExclusiveImageButtonPanel.java \ - FontDialog.java \ - GJTDialog.java \ - IconCardPanel.java \ - ImageButton.java \ - ImageButtonController.java \ - ImageButtonEvent.java \ - ImageButtonPanel.java \ - ImageButtonPanelController.java \ - ImageCanvas.java \ - ImageScroller.java \ - LabelCanvas.java \ - MessageDialog.java \ - MouseController.java \ - Orientation.java \ - ProgressDialog.java \ - QuestionDialog.java \ - RadioImageButtonPanelController.java \ - RowLayout.java \ - Scroller.java \ - ScrollerLayout.java \ - SelectionEvent.java \ - Separator.java \ - SpringyImageButtonController.java \ - StateButton.java \ - StateButtonController.java \ - StickyImageButtonController.java \ - Stopwatch.java \ - StopwatchClient.java \ - ThreeDBorder.java \ - ThreeDBorderStyle.java \ - ThreeDRectangle.java \ - Toolbar.java \ - Util.java \ - YesNoDialog.java diff --git a/java/gjt/MessageDialog.java b/java/gjt/MessageDialog.java deleted file mode 100644 index 4b00bc7033f..00000000000 --- a/java/gjt/MessageDialog.java +++ /dev/null @@ -1,77 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A dialog that displays a message and comes equipped with an - * Ok button with which the dialog is dismissed.

    - * - * Note that there is only one MessageDialog, that gets - * reused. Clients must call getMessageDialog() in order to - * access the one and only MessageDialog.

    - * - * Note: The 1.0.2 version of the AWT seems to have - * introduced a bug that causes pack() to work incorrectly - * under Win95. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see GJTDialog - * @see gjt.test.MessageDialogTest - * @see gjt.test.DialogTest - */ -public class MessageDialog extends GJTDialog { - static private MessageDialog _theMessageDialog; - - private Button okButton; - private String message; - private ButtonPanel buttonPanel = new ButtonPanel(); - - static public MessageDialog getMessageDialog(Frame frame, - DialogClient client, - String title, - String message) { - if(_theMessageDialog == null) - _theMessageDialog = new MessageDialog(frame, - client, - title, - message); - else { - _theMessageDialog.setClient (client); - _theMessageDialog.setTitle (title); - _theMessageDialog.setMessage(message); - } - return _theMessageDialog; - } - private MessageDialog(Frame frame, DialogClient client, - String title, String message) { - super(frame, title, client, true); - okButton = buttonPanel.add("Ok"); - - setLayout(new BorderLayout()); - add("Center", new MessagePanel(message)); - add("South", buttonPanel); - pack(); - } - public void show() { - okButton.requestFocus(); - super.show(); - } - public boolean action(Event event, Object what) { - hide(); - client.dialogDismissed(this); - return true; - } - private void setMessage(String message) { - this.message = message; - } -} - -class MessagePanel extends Panel { - public MessagePanel(String message) { - add("Center", new Label(message, Label.CENTER)); - } - public Insets insets() { - return new Insets(10,10,10,10); - } -} diff --git a/java/gjt/MouseController.java b/java/gjt/MouseController.java deleted file mode 100644 index f044adee5ba..00000000000 --- a/java/gjt/MouseController.java +++ /dev/null @@ -1,32 +0,0 @@ -package gjt; - -import java.awt.Event; - -/** - * An interface for handling mouse events.

    - * - * Components delegate handling of mouse events to a - * MouseController derivation.

    - * - * For instance:

    - *

     
    - *      mouseDown(Event event, int x, int y) {
    - *          return controller.mouseDown(event,x,y);
    - *      }
    - *
    - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see ImageButtonController - * @see SpringyImageButtonController - * @see StickyImageButtonController - */ -public interface MouseController { - public boolean mouseEnter(Event event, int x, int y); - public boolean mouseExit (Event event, int x, int y); - - public boolean mouseMove (Event event, int x, int y); - public boolean mouseDown (Event event, int x, int y); - public boolean mouseUp (Event event, int x, int y); - public boolean mouseDrag (Event event, int x, int y); -} diff --git a/java/gjt/Orientation.java b/java/gjt/Orientation.java deleted file mode 100644 index f83b27451da..00000000000 --- a/java/gjt/Orientation.java +++ /dev/null @@ -1,87 +0,0 @@ -package gjt; - -/** - * Constants for orientations (and alignments).

    - * - * This class may not be instantiated. - * - * @version 1.0, Apr 11 1996 - * @author David Geary - */ -public class Orientation { - public static final Orientation BAD = new Orientation(); - public static final Orientation NORTH = new Orientation(); - public static final Orientation SOUTH = new Orientation(); - public static final Orientation EAST = new Orientation(); - public static final Orientation WEST = new Orientation(); - public static final Orientation CENTER = new Orientation(); - public static final Orientation TOP = new Orientation(); - public static final Orientation LEFT = new Orientation(); - public static final Orientation RIGHT = new Orientation(); - public static final Orientation BOTTOM = new Orientation(); - - public static final Orientation HORIZONTAL = - new Orientation(); - public static final Orientation VERTICAL = - new Orientation(); - - static public Orientation fromString(String s) { - Orientation o = BAD; - - if(s.equals("NORTH") || s.equals("north")) o = NORTH; - else if(s.equals("SOUTH") || s.equals("south")) - o = SOUTH; - else if(s.equals("EAST") || s.equals("east")) - o = EAST; - else if(s.equals("WEST") || s.equals("west")) - o = WEST; - else if(s.equals("CENTER") || s.equals("center")) - o = CENTER; - else if(s.equals("TOP") || s.equals("top")) - o = TOP; - else if(s.equals("LEFT") || s.equals("left")) - o = LEFT; - else if(s.equals("RIGHT") || s.equals("right")) - o = RIGHT; - else if(s.equals("BOTTOM") || s.equals("bottom")) - o = BOTTOM; - else if(s.equals("VERTICAL") || s.equals("vertical")) - o = VERTICAL; - else if(s.equals("HORIZONTAL") || - s.equals("horizontal")) - o = HORIZONTAL; - - return o; - } - public String toString() { - String s = new String(); - - if(this == Orientation.NORTH) - s = getClass().getName() + "=NORTH"; - else if(this == Orientation.SOUTH) - s = getClass().getName() + "=SOUTH"; - else if(this == Orientation.EAST) - s = getClass().getName() + "=EAST"; - else if(this == Orientation.WEST) - s = getClass().getName() + "=WEST"; - else if(this == Orientation.CENTER) - s = getClass().getName() + "=CENTER"; - else if(this == Orientation.TOP) - s = getClass().getName() + "=TOP"; - else if(this == Orientation.LEFT) - s = getClass().getName() + "=LEFT"; - else if(this == Orientation.RIGHT) - s = getClass().getName() + "=RIGHT"; - else if(this == Orientation.BOTTOM) - s = getClass().getName() + "=BOTTOM"; - else if(this == Orientation.HORIZONTAL) - s = getClass().getName() + "=HORIZONTAL"; - else if(this == Orientation.VERTICAL) - s = getClass().getName() + "=VERTICAL"; - else if(this == Orientation.BAD) - s = getClass().getName() + "=BAD"; - - return s; - } - private Orientation() { } // Defeat instantiation -} diff --git a/java/gjt/ProgressDialog.java b/java/gjt/ProgressDialog.java deleted file mode 100644 index de7d4be1674..00000000000 --- a/java/gjt/ProgressDialog.java +++ /dev/null @@ -1,67 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A dialog that uses a bargauge to indicate progress made on a - * task that presumably takes some time to complete. - * - * ProgressDialog implements the singleton pattern: clients - * may only access the one and only ProgressDialog through the - * static getProgressDialog() method.

    - * - * Note: The 1.0.2 version of the AWT has introduced a - * bug that breaks the ProgressDialog under Motif - the - * bargauge does not function. This worked fine in 1.0.1. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see GJTDialog - * @see Bargauge - * @see gjt.test.DialogTest - */ -public class ProgressDialog extends GJTDialog { - static private ProgressDialog _theProgressDialog; - static private int _preferredWidth = 400; - static private int _preferredHeight = 75; - static private Color _color; - static private boolean _dialogUp; - - private Bargauge bargauge; - - static public ProgressDialog getProgressDialog( - Frame frame, - String title, - Color color){ - if(_theProgressDialog == null) - _theProgressDialog = new ProgressDialog(frame, - title, - color); - else { - _theProgressDialog.setTitle (title); - _theProgressDialog.reset (); - } - return _theProgressDialog; - } - private ProgressDialog(Frame frame, - String title, - Color color) { - super(frame, title, null, true); - setLayout(new BorderLayout()); - add("Center", bargauge = new Bargauge(color)); - pack(); - } - public void setPercentComplete(double percent) { - bargauge.setFillPercent(percent); - bargauge.fill(); - - if(percent == 100) - hide(); - } - public void reset() { - bargauge.setFillPercent(0); - } - public Dimension preferredSize() { - return new Dimension(_preferredWidth, _preferredHeight); - } -} diff --git a/java/gjt/QuestionDialog.java b/java/gjt/QuestionDialog.java deleted file mode 100644 index 042b491e178..00000000000 --- a/java/gjt/QuestionDialog.java +++ /dev/null @@ -1,130 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A dialog that presents a prompt and a TextField into which - * a reply may be entered. Comes complete with an Ok button - * and a Cancel button, whose uses will be left to the - * imagination.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see GJTDialog - * @see gjt.test.DialogTest - */ -public class QuestionDialog extends GJTDialog { - static private int _defaultTextFieldSize = 20; - private Button okButton; - private Button cancelButton; - private String question; - private TextField textField; - private boolean wasCancelled; - private ButtonPanel buttonPanel = new ButtonPanel(); - - public QuestionDialog(Frame frame, DialogClient client, - String title, String question, - String initialResponse) { - this(frame, client, title, question, initialResponse, - _defaultTextFieldSize); - } - public QuestionDialog(Frame frame, DialogClient client, - String title, String question) { - this(frame, client, title, - question, null, _defaultTextFieldSize); - } - public QuestionDialog(Frame frame, DialogClient client, - String title, String question, - int textFieldSize) { - this(frame, client, title, - question, null, textFieldSize); - } - public QuestionDialog(Frame frame, DialogClient client, - String title, String question, - String initialResponse, - int textFieldSize) { - super(frame, title, client, true); - - QuestionPanel questionPanel; - - okButton = buttonPanel.add("Ok"); - cancelButton = buttonPanel.add("Cancel"); - - setLayout(new BorderLayout()); - add("North", questionPanel = - new QuestionPanel(this, question, - initialResponse, textFieldSize)); - add("South", buttonPanel); - textField = questionPanel.getTextField(); - pack(); - } - public boolean action(Event event, Object what) { - if(event.target == cancelButton) wasCancelled = true; - else wasCancelled = false; - - hide(); - dispose(); - client.dialogDismissed(this); - return true; - } - public void show() { - textField.requestFocus(); - super.show(); - } - public void returnInTextField() { - okButton.requestFocus(); - } - public TextField getTextField() { - return textField; - } - public String getAnswer() { - return textField.getText(); - } - public boolean wasCancelled() { - return wasCancelled; - } - private void setQuestion(String question) { - this.question = question; - } -} - -class QuestionPanel extends Panel { - private TextField field; - private QuestionDialog dialog; - - public QuestionPanel(QuestionDialog dialog, - String question) { - this(dialog, question, null, 0); - } - public QuestionPanel(QuestionDialog dialog, String question, - int columns) { - this(dialog, question, null, columns); - } - public QuestionPanel(QuestionDialog dialog, String question, - String initialResponse, int cols) { - this.dialog = dialog; - setLayout(new RowLayout()); - add(new Label(question)); - - if(initialResponse != null) { - if(cols != 0) - add(field=new TextField(initialResponse, cols)); - else - add(field=new TextField(initialResponse)); - } - else { - if(cols != 0) add(field = new TextField(cols)); - else add(field = new TextField()); - } - } - public TextField getTextField() { - return field; - } - public boolean action(Event event, Object what) { - dialog.returnInTextField(); - return false; - } - public Insets insets() { - return new Insets(10,10,10,10); - } -} diff --git a/java/gjt/RadioImageButtonPanelController.java b/java/gjt/RadioImageButtonPanelController.java deleted file mode 100644 index 8dc34d25bff..00000000000 --- a/java/gjt/RadioImageButtonPanelController.java +++ /dev/null @@ -1,45 +0,0 @@ -package gjt; - -import java.awt.Event; - -/** - * A controller for an ImageButtonPanel that ensures that only - * one ImageButton in its associated ImageButtonPanel is - * selected at a time.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButtonPanelController - * @see ImageButton - * @see ImageButtonPanel - * @see gjt.test.ToolbarTest - */ -class RadioImageButtonPanelController - extends ImageButtonPanelController { - ImageButton down; - - public RadioImageButtonPanelController( - ImageButtonPanel panel) { - super(panel); - } - public boolean mouseDown(Event event, int x, int y) { - ImageButton button; - - if(event.target instanceof ImageButton) { - button = (ImageButton)event.target; - if(down == button) return false; - - if(down != null) - down.paintRaised(); - - down = button; - } - return false; - } - public boolean mouseUp(Event event, int x, int y) { - return false; - } - public boolean mouseDrag(Event event, int x, int y) { - return false; - } -} diff --git a/java/gjt/RowLayout.java b/java/gjt/RowLayout.java deleted file mode 100644 index eecd074c34f..00000000000 --- a/java/gjt/RowLayout.java +++ /dev/null @@ -1,153 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * RowLayout lays out components in a row. At construction - * time, both horizontal orientation and vertical orientation - * may be specified, along with the gap to use between - * components.

    - * - * Horizontal orientation must be one of the following: - *

    - *
    LEFT - *
    CENTER - *
    RIGHT - *
    - * - * Vertical orientation must be one of the following: - *
    - *
    TOP - *
    CENTER - *
    BOTTOM - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ColumnLayout - * @see Orientation - */ -public class RowLayout implements LayoutManager { - static private int _defaultGap = 5; - - private int gap; - private Orientation verticalOrientation; - private Orientation horizontalOrientation; - - public RowLayout() { - this(Orientation.CENTER, - Orientation.CENTER, _defaultGap); - } - public RowLayout(int gap) { - this(Orientation.CENTER, Orientation.CENTER, gap); - } - public RowLayout(Orientation horizontalOrient, - Orientation verticalOrient) { - this(horizontalOrient, verticalOrient, _defaultGap); - } - public RowLayout(Orientation horizontalOrient, - Orientation verticalOrient, int gap) { - Assert.notFalse(gap >= 0); - Assert.notFalse( - horizontalOrient == Orientation.LEFT || - horizontalOrient == Orientation.CENTER || - horizontalOrient == Orientation.RIGHT); - Assert.notFalse( - verticalOrient == Orientation.TOP || - verticalOrient == Orientation.CENTER || - verticalOrient == Orientation.BOTTOM); - - this.gap = gap; - this.verticalOrientation = verticalOrient; - this.horizontalOrientation = horizontalOrient; - } - - public void addLayoutComponent(String name, Component comp) { - } - public void removeLayoutComponent(Component comp) { - } - - public Dimension preferredLayoutSize(Container target) { - Insets insets = target.insets(); - Dimension dim = new Dimension(0,0); - int ncomponents = target.countComponents(); - Component comp; - Dimension d; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - d = comp.preferredSize(); - - dim.width += d.width; - dim.height = Math.max(d.height, dim.height); - - if(i > 0) dim.width += gap; - } - } - dim.width += insets.left + insets.right; - dim.height += insets.top + insets.bottom; - - return dim; - } - public Dimension minimumLayoutSize(Container target) { - Insets insets = target.insets(); - Dimension dim = new Dimension(0,0); - int ncomponents = target.countComponents(); - Component comp; - Dimension d; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - d = comp.minimumSize(); - - dim.width += d.width; - dim.height = Math.max(d.height, dim.height); - - if(i > 0) dim.width += gap; - } - } - dim.width += insets.left + insets.right; - dim.height += insets.top + insets.bottom; - - return dim; - } - public void layoutContainer(Container target) { - Insets insets = target.insets(); - int ncomponents = target.countComponents(); - int top = 0; - int left = insets.left; - Dimension tps = target.preferredSize(); - Dimension targetSize = target.size(); - Component comp; - Dimension ps; - - if(horizontalOrientation == Orientation.CENTER) - left = left + (targetSize.width/2) - (tps.width/2); - if(horizontalOrientation == Orientation.RIGHT) - left = left + targetSize.width - tps.width; - - for (int i = 0 ; i < ncomponents ; i++) { - comp = target.getComponent(i); - - if(comp.isVisible()) { - ps = comp.preferredSize(); - - if(verticalOrientation == Orientation.CENTER) - top = (targetSize.height/2) - (ps.height/2); - else if(verticalOrientation == Orientation.TOP) - top = insets.top; - else if( - verticalOrientation == Orientation.BOTTOM) - top = targetSize.height - - ps.height - insets.bottom; - - comp.reshape(left,top,ps.width,ps.height); - left += ps.width + gap; - } - } - } -} diff --git a/java/gjt/Scroller.java b/java/gjt/Scroller.java deleted file mode 100644 index 61d6e5f55e5..00000000000 --- a/java/gjt/Scroller.java +++ /dev/null @@ -1,154 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Each Scroller contains a Panel (viewport) and two Scrollbars - * (horizontal and vertical). Works in conjunction with a - * ScrollerLayout, that lays out the viewport and two - * scrollbars.

    - * - * Subclasses must override:

    - *

    - *
    abstract public void scrollTo(int x, int y) - *
    abstract public Dimension getScrollAreaSize() - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ComponentScroller - * @see ImageScroller - * @see ScrollerLayout - * @see gjt.test.ComponentScrollerTest - * @see gjt.test.ImageScrollerTest - */ -public abstract class Scroller extends Panel { - protected Panel viewport; - protected Scrollbar hbar, vbar; - - abstract public void scrollTo(int x, int y); - abstract public Dimension getScrollAreaSize(); - - public Scroller() { - setLayout(new ScrollerLayout(this)); - add("Scroll", viewport = new Panel()); - add("East", vbar = new Scrollbar(Scrollbar.VERTICAL)); - add("South",hbar = new Scrollbar(Scrollbar.HORIZONTAL)); - } - public Scrollbar getHorizontalScrollbar() {return hbar; } - public Scrollbar getVerticalScrollbar () {return vbar; } - public Panel getViewport () {return viewport;} - - public boolean handleEvent(Event event) { - boolean handledEvent; - - switch(event.id) { - case Event.SCROLL_LINE_UP: scrollLineUp(event); - break; - case Event.SCROLL_LINE_DOWN: scrollLineDown(event); - break; - case Event.SCROLL_PAGE_UP: scrollPageUp (event); - break; - case Event.SCROLL_PAGE_DOWN: scrollPageDown(event); - break; - case Event.SCROLL_ABSOLUTE: scrollAbsolute(event); - break; - } - handledEvent = event.id == Event.SCROLL_LINE_UP || - event.id == Event.SCROLL_LINE_DOWN || - event.id == Event.SCROLL_PAGE_UP || - event.id == Event.SCROLL_PAGE_DOWN || - event.id == Event.SCROLL_ABSOLUTE; - - if(handledEvent) return true; - else return super.handleEvent(event); - } - public void paint (Graphics g) { scroll(); } - public void update(Graphics g) { paint(g); } - - public void manageScrollbars() { - manageHorizontalScrollbar(); - manageVerticalScrollbar (); - } - protected void manageHorizontalScrollbar() { - Dimension size = size(); - Dimension scrollAreaSize = getScrollAreaSize(); - - if(vbar.isVisible()) - size.width -= vbar.size().width; - - if(scrollAreaSize.width > size.width) { - if( ! hbar.isVisible()) - hbar.show(); - } - else if(hbar.isVisible()) { - hbar.hide(); - hbar.setValue(0); - repaint(); - } - } - protected void manageVerticalScrollbar() { - Dimension size = size(); - Dimension scrollAreaSize = getScrollAreaSize(); - - if(hbar.isVisible()) - size.height -= hbar.size().height; - - if(scrollAreaSize.height > size.height) { - if( ! vbar.isVisible()) - vbar.show(); - } - else if(vbar.isVisible()) { - vbar.hide(); - vbar.setValue(0); - repaint(); - } - } - public void setScrollbarValues() { - if(hbar.isVisible()) setHorizontalScrollbarValues(); - if(vbar.isVisible()) setVerticalScrollbarValues(); - } - protected void setHorizontalScrollbarValues() { - Dimension vsize = viewport.size(); - Dimension scrollAreaSize = getScrollAreaSize(); - int max = scrollAreaSize.width - vsize.width; - - hbar.setValues(hbar.getValue(), // value - vsize.width, // amt visible/page - 0, // minimum - max); // maximum - - setHorizontalLineAndPageIncrements(); - } - protected void setVerticalScrollbarValues() { - Dimension vsize = viewport.size(); - Dimension scrollAreaSize = getScrollAreaSize(); - int max = scrollAreaSize.height - vsize.height; - - vbar.setValues(vbar.getValue(), // value - vsize.height, // amt visible/page - 0, // minimum - max); // maximum - - setVerticalLineAndPageIncrements(); - } - protected void scrollLineUp (Event event) { scroll(); } - protected void scrollLineDown(Event event) { scroll(); } - protected void scrollPageUp (Event event) { scroll(); } - protected void scrollPageDown(Event event) { scroll(); } - protected void scrollAbsolute(Event event) { scroll(); } - - protected void setHorizontalLineAndPageIncrements() { - Dimension size = getScrollAreaSize(); - hbar.setLineIncrement(size.width/10); - hbar.setPageIncrement(size.width/5); - } - protected void setVerticalLineAndPageIncrements() { - Dimension size = getScrollAreaSize(); - vbar.setLineIncrement(size.height/10); - vbar.setPageIncrement(size.height/5); - } - protected void scroll() { - scrollTo(hbar.getValue(), vbar.getValue()); - } -} diff --git a/java/gjt/ScrollerLayout.java b/java/gjt/ScrollerLayout.java deleted file mode 100644 index 21012fd5688..00000000000 --- a/java/gjt/ScrollerLayout.java +++ /dev/null @@ -1,160 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Layout manager for a Scroller.

    - * - * Lays out 3 Components: a horizontal scrollbar, a vertical - * scrollbar and a viewport (Panel).

    - * - * Valid names/Component pairs that can be added via - * addLayoutComponent(String, Component):

    - *

    - *
    "East" Scrollbar (vertical) - *
    "West" Scrollbar (vertical) - *
    "North" Scrollbar (horizontal) - *
    "South" Scrollbar (horizontal) - *
    "Scroll" Panel (viewport) - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Scroller - */ -public class ScrollerLayout implements LayoutManager { - private Scroller scroller; - private Scrollbar hbar, vbar; - private String hbarPosition, vbarPosition; - private Component viewport; - private int top, bottom, right, left; - - public ScrollerLayout(Scroller scroller) { - this.scroller = scroller; - } - - public void addLayoutComponent(String name, - Component comp) { - Assert.notFalse(comp != null); - - if(comp instanceof Scrollbar) { - Scrollbar sbar = (Scrollbar)comp; - - if(sbar.getOrientation() == Scrollbar.VERTICAL) { - Assert.notFalse("East".equals(name) == true || - "West".equals(name) == true); - vbar = sbar; - vbarPosition = name; - } - else { - Assert.notFalse("North".equals(name) == true || - "South".equals(name) == true); - hbar = sbar; - hbarPosition = name; - } - } - else { - Assert.notFalse("Scroll".equals(name) == true); - viewport = comp; - } - } - public void removeLayoutComponent(Component comp) { - if(comp == vbar) vbar = null; - if(comp == hbar) hbar = null; - if(comp == viewport) viewport = null; - } - public Dimension preferredLayoutSize(Container parent) { - Dimension dim = new Dimension(0,0); - - if(vbar != null && vbar.isVisible()) { - Dimension d = vbar.preferredSize(); - dim.width += d.width; - dim.height = d.height; - } - if(hbar != null && hbar.isVisible()) { - Dimension d = hbar.preferredSize(); - dim.width += d.width; - dim.height = Math.max(d.height, dim.height); - } - if(viewport != null && viewport.isVisible()) { - Dimension d = viewport.preferredSize(); - dim.width += d.width; - dim.height = Math.max(d.height, dim.height); - } - return dim; - } - public Dimension minimumLayoutSize(Container parent) { - Dimension dim = new Dimension(0,0); - - if(vbar != null && vbar.isVisible()) { - Dimension d = vbar.minimumSize(); - dim.width += d.width; - dim.height = d.height; - } - if(hbar != null && hbar.isVisible()) { - Dimension d = hbar.minimumSize(); - dim.width += d.width; - dim.height = Math.max(d.height, dim.height); - } - if(viewport != null && viewport.isVisible()) { - Dimension d = viewport.minimumSize(); - dim.width += d.width; - dim.height = Math.max(d.height, dim.height); - } - return dim; - } - public void layoutContainer(Container target) { - Insets insets = target.insets(); - Dimension targetSize = target.size(); - - top = insets.top; - bottom = targetSize.height - insets.bottom; - left = insets.left; - right = targetSize.width - insets.right; - - scroller.manageScrollbars(); - - reshapeHorizontalScrollbar(); - reshapeVerticalScrollbar (); - reshapeViewport (); - - scroller.setScrollbarValues(); - } - private void reshapeHorizontalScrollbar() { - if(hbar != null && hbar.isVisible()) { - if("North".equals(hbarPosition)) { - Dimension d = hbar.preferredSize(); - hbar.reshape(left, top, right - left, d.height); - top += d.height; - } - else { // South - Dimension d = hbar.preferredSize(); - hbar.reshape(left, bottom - d.height, - right - left,d.height); - bottom -= d.height; - } - } - } - private void reshapeVerticalScrollbar() { - if(hbar != null && vbar.isVisible()) { - if("East".equals(vbarPosition)) { - Dimension d = vbar.preferredSize(); - vbar.reshape(right - d.width, top, - d.width, bottom - top); - right -= d.width; - } - else { // West - Dimension d = vbar.preferredSize(); - vbar.reshape(left, top, - d.width, bottom - top); - left += d.width; - } - } - } - private void reshapeViewport() { - if(viewport != null && viewport.isVisible()) { - viewport.reshape(left, top, - right - left, bottom - top); - } - } -} diff --git a/java/gjt/SelectionEvent.java b/java/gjt/SelectionEvent.java deleted file mode 100644 index 4bcab59cd0a..00000000000 --- a/java/gjt/SelectionEvent.java +++ /dev/null @@ -1,82 +0,0 @@ -package gjt; - -import java.awt.Event; - -/** - * An extension of java.awt.Event, specifically designed for - * selection events.

    - * - * SelectionEvents are constructed with arguments:

    - *

    - *
    The AWT event that triggered the image button event - *
    The id of the event. - *
    - * - * An SelectionEvent's id (the constructor's 3rd argument), - * must be one of the following:

    - *

    - *
    SelectionEvent.SELECT - *
    SelectionEvent.DESELECT - *
    - * - * SelectionEvent has only a constructor and a paramString() - * method. Containers that contain objects which are capable - * of generating SelectionEvents should check the events - * like so: - * - *
    - *      // handleEvent(Event) method of a container that
    - *      // contain objects that generate SelectionEvents
    - *
    - *      public boolean handleEvent(Event event) {
    - *              if(event instanceof SelectionEvent) {
    - *                  SelectionEvent sevent = 
    - *                  (SelectionEvent)event;
    - *
    - *                  if(sevent.isSelected()) {
    - *                      // do something for selection
    - *                  }
    - *                  else {
    - *                      // do something for deselection
    - *                  }
    - *              }
    - *      }
    - * 
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see LabelCanvas - * @see ImageButtonEvent - * @see gjt.test.LabelCanvasTest - */ -public class SelectionEvent extends Event { - public static final int SELECT = 1; - public static final int DESELECT = 2; - - private int eventType; - - public SelectionEvent(Object target, - Event event, - int type) { - super(target, event.when, event.id, event.x, event.y, - event.key, event.modifiers, event.arg); - - Assert.notFalse(type == SELECT || type == DESELECT); - - eventType = type; - id = -1; - } - public boolean isSelected() { - return eventType == SELECT; - } - protected String paramString() { - String typeString = new String(); - - if(eventType == SelectionEvent.SELECT) - typeString = "SELECT"; - else if(eventType == SelectionEvent.DESELECT) - typeString = "DESELECT"; - - return super.paramString() + typeString; - } -} diff --git a/java/gjt/Separator.java b/java/gjt/Separator.java deleted file mode 100644 index 6bd610e1ad9..00000000000 --- a/java/gjt/Separator.java +++ /dev/null @@ -1,90 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A separator that is drawn either vertically or horizontally - * depending upon how it is laid out. Can be drawn either - * etched-in or etched-out, with varying thicknesses. Both - * thickness and etching are settable at construction time - * only.

    - * - * Default thickness is 2 pixels and default etching is - * Etching.IN. Note that thicknesses greater than 4 loose the - * etching effect.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Etching - * @see gjt.test.SeparatorTest - */ -public class Separator extends Canvas { - static private Etching _defaultEtching = Etching.IN; - static private int _defaultThickness = 2; - - private Etching etching; - private int thickness; - - public Separator() { - this(_defaultThickness, _defaultEtching); - } - public Separator(int thickness) { - this(thickness, _defaultEtching); - } - public Separator(Etching etching) { - this(_defaultThickness, etching); - } - public Separator(int thickness, Etching etching) { - this.etching = etching; - this.thickness = thickness; - resize(thickness, thickness); - } - public Dimension minimumSize() { - return preferredSize(); - } - public Dimension preferredSize() { - return new Dimension(thickness, thickness); - } - public void paint(Graphics g) { - Dimension size = size(); - Color brighter = getBackground().brighter().brighter(); - Color darker = getBackground().darker().darker(); - - if(etching == Etching.IN) { - if(size.width > size.height) - paintHorizontal(g, size, darker, brighter); - else - paintVertical(g, size, darker, brighter); - } - else { - if(size.width > size.height) - paintHorizontal(g, size, brighter, darker); - else - paintVertical(g, size, brighter, darker); - } - } - public String paramString() { - Dimension size = size(); - Orientation orient = size.width > size.height ? - Orientation.HORIZONTAL : - Orientation.VERTICAL; - return super.paramString() + "thickness=" + - thickness + "," + etching + "," + orient; - } - private void paintHorizontal(Graphics g, Dimension size, - Color top, Color bottom) { - g.setColor(top); - g.fillRect(0, (size.height/2) - (thickness/2), - size.width, thickness/2); - g.setColor(bottom); - g.fillRect(0, size.height/2, size.width, thickness/2); - } - private void paintVertical(Graphics g, Dimension size, - Color left, Color right) { - g.setColor(left); - g.fillRect((size.width/2) - (thickness/2), - 0, thickness/2, size.height); - g.setColor(right); - g.fillRect(size.width/2, 0, thickness/2, size.height); - } -} diff --git a/java/gjt/SpringyImageButtonController.java b/java/gjt/SpringyImageButtonController.java deleted file mode 100644 index 3559e040459..00000000000 --- a/java/gjt/SpringyImageButtonController.java +++ /dev/null @@ -1,54 +0,0 @@ -package gjt; - -import java.awt.Event; -import java.awt.Graphics; - -/** - * An ImageButtonController that reacts to mouseDown/mouseUp - * events exactly as a java.awt.Button does.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see ImageButtonController - * @see StickyImageButtonController - */ -public class SpringyImageButtonController - extends ImageButtonController { - public SpringyImageButtonController(ImageButton ib) { - super(ib); - } - public boolean mouseDown(Event event, int x, int y) { - if(event.modifiers == 0) { - getButton().paintInset(); - armButton(event); - } - return false; - } - public boolean mouseUp(Event event, int x, int y) { - if(event.modifiers == 0) { - if(getButton().isRaised() == false) { - getButton().paintRaised(); - activateButton(event); - } - } - return false; - } - public boolean mouseDrag(Event event, int x, int y) { - if(event.modifiers == 0) { - if(getButton().isInside(x,y)) { - if(getButton().isRaised()) { - getButton().paintInset(); - armButton(event); - } - } - else { - if(getButton().isRaised() == false) { - getButton().paintRaised(); - disarmButton(event); - } - } - } - return false; - } -} diff --git a/java/gjt/StateButton.java b/java/gjt/StateButton.java deleted file mode 100644 index 6de20a76f98..00000000000 --- a/java/gjt/StateButton.java +++ /dev/null @@ -1,45 +0,0 @@ -package gjt; - -import java.awt.Image; - -/** - * An ImageButton that cycles through a series of images. The - * image advances to the next image in the series every time - * the button is activated.

    - * - * Note that the cycling is actually performed by the buttons' - * controller - a StateButtonController.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see StateButtonController - * @see gjt.test.StateButtonTest - */ -public class StateButton extends ImageButton { - private Image[] images; - private int state = 0; - private int numStates; - - public StateButton(Image[] images) { - super(images[0]); - - this.images = images; - numStates = images.length; - setController(new StateButtonController(this)); - waitForImages(); - } - public Image nextImage() { - if(state + 1 < numStates) state++; - else state = 0; - - return images[state]; - } - public int state() { - return state; - } - private void waitForImages() { - for(int i=0; i < images.length; ++i) - Util.waitForImage(this, images[i]); - } -} diff --git a/java/gjt/StateButtonController.java b/java/gjt/StateButtonController.java deleted file mode 100644 index d6fc83830a6..00000000000 --- a/java/gjt/StateButtonController.java +++ /dev/null @@ -1,27 +0,0 @@ -package gjt; - -import java.awt.Event; - -/** - * A controller for a StateButton, that cycles through a - * series of images which reside in the StateButton class. - * Each time a mouse up is detected in the StateButton, the - * buttons image is set to the next image in the array. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see StateButton - * @see SpringyImageButtonController - * @see gjt.test.StateButtonTest - */ -class StateButtonController extends SpringyImageButtonController { - public StateButtonController(StateButton button) { - super(button); - } - public boolean mouseUp(Event event, int x, int y) { - StateButton button = (StateButton)getButton(); - button.setImage(button.nextImage()); - activateButton(event); - return super.mouseUp(event, x, y); - } -} diff --git a/java/gjt/StickyImageButtonController.java b/java/gjt/StickyImageButtonController.java deleted file mode 100644 index c459e5cdae1..00000000000 --- a/java/gjt/StickyImageButtonController.java +++ /dev/null @@ -1,87 +0,0 @@ -package gjt; - -import java.awt.Event; -import java.awt.Graphics; - -/** - * An ImageButtonController that causes its associated - * ImageButton to "stick" when activated. If the ImageButton - * is raised it depresses[1] upon a mouse down and stays - * down upon a subsequent mouse up event. The same "sticky" - * behaviour occurs when a depressed ImageButton encounters a - * mouse down followed by a subsequent mouse up.

    - * - * Note that false is returned from mouse event handlers; - * therefore mouse events will be propagated to the - * ImageButton's container. While this is not always - * desirable, it was deemed a better default than swallowing - * the event here. Subclasses may, of course, modify this - * behavior.

    - * - * [1] No psychiatric consultation is necessary.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see ImageButtonController - * @see SpringyImageButtonController - */ -public class StickyImageButtonController - extends ImageButtonController { - private boolean buttonUpOnLastMouseDown = true; - - public StickyImageButtonController(ImageButton ib) { - super(ib); - } - public boolean mouseDown(Event event, int x, int y) { - ImageButton button = getButton(); - - if(event.modifiers == 0) { - if(button.isRaised()) button.paintInset(); - else button.paintRaised(); - - buttonUpOnLastMouseDown = getButton().isRaised(); - armButton(event); - } - return false; - } - public boolean mouseUp(Event event, int x, int y) { - activateButton(event); - return false; - } - public boolean mouseDrag(Event event, int x, int y) { - ImageButton button = getButton(); - - if(event.modifiers == 0) { - if(button.isInside(x,y)) { - if(buttonUpOnLastMouseDown) { - if(button.isRaised() == false) { - button.paintRaised(); - armButton(event); - } - } - else { - if(button.isRaised()) { - button.paintInset(); - armButton(event); - } - } - } - else { - if(buttonUpOnLastMouseDown) { - if(button.isRaised()) { - button.paintInset(); - disarmButton(event); - } - } - else { - if(button.isRaised() == false) { - button.paintRaised(); - disarmButton(event); - } - } - } - } - return false; - } -} diff --git a/java/gjt/Stopwatch.java b/java/gjt/Stopwatch.java deleted file mode 100644 index fc8963e88a1..00000000000 --- a/java/gjt/Stopwatch.java +++ /dev/null @@ -1,94 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A Thread that acts as a stopwatch.

    - * - * Stopwatch starts running when it is constructed, and may be - * reset by the reset() method. getHour(), getMinute(), - * getSecond(), and getMillisecond() are used to get the - * elapsed time since construction, or since the last reset.

    - * - * toString() returns the elapsed time in the form of - * HH:MM:SS:mm, where HH == hours, MM == minutes, SS == seconds - * and mm == milliseconds.

    - * - * Each Stopwatch may have a StopwatchClient associated with it. - * If the StopwatchClient is non-null, the StopwatchClients' - * tick() method is invoked every 50 milliseconds.

    - * - * @version 1.0, Apr 21 1996 - * @author David Geary - * @see StopwatchClient - * @see gjt.animation.Sequence - * @see gjt.animation.Sprite - */ -public class Stopwatch extends Thread { - private StopwatchClient client; - private long start, now, elapsed; - private long hour, minute, second, millisecond; - - public Stopwatch() { - this(null); - } - public Stopwatch(StopwatchClient client) { - start = System.currentTimeMillis(); - this.client = client; - } - public void update() { - now = System.currentTimeMillis(); - elapsed = now - start; - hour = minute = second = millisecond = 0; - - second = elapsed / 1000; - millisecond = elapsed % 1000; - millisecond = (millisecond == 0) ? 0 : millisecond/10; - - if(second > 59) { - minute = second / 60; - second = second - (minute*60); - } - if(minute > 59) { - hour = minute / 60; - minute = minute - (hour*60); - } - } - public String toString() { - update(); - return new String(stringValueOf(hour) + ":" + - stringValueOf(minute) + ":" + - stringValueOf(second) + ":" + - stringValueOf(millisecond)); - } - public long getHour () { return hour; } - public long getMinute () { return minute; } - public long getSecond () { return second; } - public long getMillisecond () { return millisecond; } - - public long elapsedTime() { - update(); - return elapsed; - } - public void reset() { - start = System.currentTimeMillis(); - } - public void run() { - while(true) { - try { - Thread.currentThread().sleep(50, 0); - update(); - if(client != null) - client.tick(); - } - catch(InterruptedException e) { - Assert.notFalse(false); - } - } - } - private String stringValueOf(long l) { - if(l < 10) return "0" + String.valueOf(l); - else return String.valueOf(l); - - } -} diff --git a/java/gjt/StopwatchClient.java b/java/gjt/StopwatchClient.java deleted file mode 100644 index c2eb5fb0460..00000000000 --- a/java/gjt/StopwatchClient.java +++ /dev/null @@ -1,14 +0,0 @@ -package gjt; - -/** - * Client of a Stopwatch. Stopwatches that have non-null - * clients, call their clients' tick() method every 50 - * milliseconds.

    - * - * @version 1.0, Apr 21 1996 - * @author David Geary - * @see Stopwatch - */ -public interface StopwatchClient { - public void tick(); -} diff --git a/java/gjt/ThreeDBorder.java b/java/gjt/ThreeDBorder.java deleted file mode 100644 index 0441fdf3052..00000000000 --- a/java/gjt/ThreeDBorder.java +++ /dev/null @@ -1,53 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Extension of Border that draws a 3D border. - * - * Drawn raised by default, drawing style used by paint() is - * controlled by raise() and inset(). Note that raise() and - * inset() do not result in anything being painted, but only set - * the state for the next call to paint(). To set the state and - * paint in one operation, use paintRaised() and paintInset(). - *

    - * - * The current state of the border may be obtained by calling - * isRaised().

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Border - * @see EtchedRectangle - * @see gjt.test.BorderTest - */ -public class ThreeDBorder extends Border { - public ThreeDBorder(Component borderMe) { - this(borderMe, _defaultThickness, _defaultGap); - } - public ThreeDBorder(Component borderMe, - int borderThickness) { - this(borderMe, borderThickness, _defaultGap); - } - public ThreeDBorder(Component borderMe, - int borderThickness, int gap) { - super(borderMe, borderThickness, gap); - } - public void inset() { ((ThreeDRectangle)border()).inset(); } - public void raise() { ((ThreeDRectangle)border()).raise(); } - - public void paintRaised() { - ((ThreeDRectangle)border()).paintRaised(); - } - public void paintInset() { - ((ThreeDRectangle)border()).paintInset (); - } - public boolean isRaised() { - return ((ThreeDRectangle)border()).isRaised(); - } - protected DrawnRectangle border() { - if(border == null) - border = new ThreeDRectangle(this, thickness); - return border; - } -} diff --git a/java/gjt/ThreeDBorderStyle.java b/java/gjt/ThreeDBorderStyle.java deleted file mode 100644 index b0e1b7d8ab8..00000000000 --- a/java/gjt/ThreeDBorderStyle.java +++ /dev/null @@ -1,24 +0,0 @@ -package gjt; - -/** - * Constants for 3D border styles. - * - * This class may not be instantiated. - * - * @version 1.0, Apr 11 1996 - * @author David Geary - */ -public class ThreeDBorderStyle { - public static final ThreeDBorderStyle RAISED = - new ThreeDBorderStyle(); - public static final ThreeDBorderStyle INSET = - new ThreeDBorderStyle(); - - public String toString() { - if(this == ThreeDBorderStyle.RAISED) - return getClass().getName() + "=RAISED"; - else - return getClass().getName() + "=INSET"; - } - private ThreeDBorderStyle() { } // defeat instantiation -} diff --git a/java/gjt/ThreeDRectangle.java b/java/gjt/ThreeDRectangle.java deleted file mode 100644 index 647129190c5..00000000000 --- a/java/gjt/ThreeDRectangle.java +++ /dev/null @@ -1,105 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A DrawnRectangle which draws in 3D.

    - * - * Drawn raised by default, drawing style used by paint() is - * controlled by raise() and inset(). Note that raise() and - * inset() do not result in anything being painted, but only set - * the state for the next call to paint(). To set the state and - * paint in one operation, use paintRaised() and paintInset(). - *

    - * - * The current state of the rectangle may be obtained by - * calling isRaised().

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see DrawnRectangle - * @see EtchedRectangle - * @see gjt.test.DrawnRectangleTest - */ -public class ThreeDRectangle extends DrawnRectangle { - protected static ThreeDBorderStyle - _defaultState = ThreeDBorderStyle.RAISED; - - private ThreeDBorderStyle state; - - public ThreeDRectangle(Component drawInto) { - this(drawInto, _defaultState, - _defaultThickness, 0, 0, 0, 0); - } - public ThreeDRectangle(Component drawInto, int thickness) { - this(drawInto, _defaultState, thickness, 0, 0, 0, 0); - } - public ThreeDRectangle(Component drawInto, - int x, int y, int w, int h) { - this(drawInto, - _defaultState, _defaultThickness, x, y, w, h); - } - public ThreeDRectangle(Component drawInto, int thickness, - int x, int y, - int w, int h) { - this(drawInto, _defaultState, thickness, x, y, w, h); - } - public ThreeDRectangle(Component drawInto, - ThreeDBorderStyle state, - int thickness, int x, int y, - int w, int h) { - super(drawInto, thickness, x, y, w, h); - this.state = state; - } - public void paint() { - if(state == ThreeDBorderStyle.RAISED) paintRaised(); - else paintInset (); - } - public void raise() { state = ThreeDBorderStyle.RAISED; } - public void inset() { state = ThreeDBorderStyle.INSET; } - - public boolean isRaised() { - return state == ThreeDBorderStyle.RAISED; - } - public String paramString() { - return super.paramString() + "," + state; - } - public void paintRaised() { - Graphics g = drawInto.getGraphics(); - - if(g != null) { - raise (); - drawTopLeftLines (g, brighter()); - drawBottomRightLines(g, getLineColor()); - } - } - public void paintInset() { - Graphics g = drawInto.getGraphics(); - - if(g != null) { - inset (); - drawTopLeftLines (g, getLineColor()); - drawBottomRightLines(g, brighter()); - } - } - private void drawTopLeftLines(Graphics g, Color color) { - int thick = getThickness(); - g.setColor(color); - - for(int i=0; i < thick; ++i) { - g.drawLine(x+i, y+i, x + width-(i+1), y+i); - g.drawLine(x+i, y+i+1, x+i, y + height-(i+1)); - } - } - private void drawBottomRightLines(Graphics g, Color color) { - int thick = getThickness(); - g.setColor(color); - - for(int i=1; i <= thick; ++i) { - g.drawLine(x+i-1, y + height-i, - x + width-i, y + height-i); - g.drawLine(x + width-i, y+i-1, - x + width-i, y + height-i); - } - } -} diff --git a/java/gjt/Toolbar.java b/java/gjt/Toolbar.java deleted file mode 100644 index 4d6ebddc217..00000000000 --- a/java/gjt/Toolbar.java +++ /dev/null @@ -1,58 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * A toolbar containing image buttons which are laid out to the - * north of (horizontal) separator.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ImageButton - * @see ImageButtonPanel - * @see gjt.test.ToolbarTest - */ -public class Toolbar extends Panel { - static private int _defaultGap = 0; - static private int _defaultLeftInset = 0; - - private ToolbarButtonPanel buttonPanel; - - public Toolbar() { - this(_defaultLeftInset, _defaultGap); - } - public Toolbar(int leftInset, int gap) { - buttonPanel = new ToolbarButtonPanel(leftInset, gap); - - setLayout(new BorderLayout()); - add ("North", buttonPanel); - add ("South", new Separator()); - } - public ImageButton add(Image image) { - return buttonPanel.add(image); - } - public void add(ImageButton button) { - buttonPanel.add(button); - } - public void addSpacer(int sizeInPixels) { - Assert.notFalse(sizeInPixels > 0); - buttonPanel.addSpacer(sizeInPixels); - } -} - -class ToolbarButtonPanel extends ImageButtonPanel { - private int leftInset; - - public ToolbarButtonPanel(int leftInset, int gap) { - super(Orientation.HORIZONTAL, - Orientation.LEFT, - Orientation.CENTER, - gap); - - this.leftInset = leftInset; - setController(null); - } - public Insets insets() { - return new Insets(5,leftInset,5,5); - } -} diff --git a/java/gjt/Util.java b/java/gjt/Util.java deleted file mode 100644 index 0970a6fd488..00000000000 --- a/java/gjt/Util.java +++ /dev/null @@ -1,69 +0,0 @@ -package gjt; - -import java.applet.Applet; -import java.awt.*; - -/** - * A handy collection of methods for getting a component's - * frame, getting a component's applet, waiting for a - * component's image, and wallpapering a components background. - *

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - */ -public class Util { - public static Frame getFrame(Component component) { - Component c = component; - - if(c instanceof Frame) - return (Frame)c; - - while((c = c.getParent()) != null) { - if(c instanceof Frame) - return (Frame)c; - } - return null; - } - public static Applet getApplet(Component component) { - Component c = component; - - if(c instanceof Applet) - return (Applet)c; - - while((c = c.getParent()) != null) { - if(c instanceof Applet) - return (Applet)c; - } - return null; - } - public static void waitForImage(Component component, - Image image) { - MediaTracker tracker = new MediaTracker(component); - try { - tracker.addImage(image, 0); - tracker.waitForID(0); - } - catch(InterruptedException e) { Assert.notNull(null); } - } - public static void wallPaper(Component component, - Graphics g, - Image image) { - Dimension compsize = component.size(); - Util.waitForImage(component, image); - - int patchW = image.getWidth(component); - int patchH = image.getHeight(component); - - Assert.notFalse(patchW != -1 && patchH != -1); - - for(int r=0; r < compsize.width; r += patchW) { - for(int c=0; c < compsize.height; c += patchH) - g.drawImage(image, r, c, component); - } - } - public static void setCursor(int cursor, - Component component) { - getFrame(component).setCursor(cursor); - } -} diff --git a/java/gjt/YesNoDialog.java b/java/gjt/YesNoDialog.java deleted file mode 100644 index 2db64ea6e4b..00000000000 --- a/java/gjt/YesNoDialog.java +++ /dev/null @@ -1,80 +0,0 @@ -package gjt; - -import java.awt.*; - -/** - * Similar in fuction to the MessageDialog, YesNoDialog poses - * a question, that is answered by selection of either a Yes - * button or a No button.

    - * - * Note that the YesNoDialog is a singleton - meaning there is - * only one YesNoDialog in existence per applet. Clients - * may obtain the YesNoDialog by invoking getYesNoDialog().

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see GJTDialog - * @see MessageDialog - * @see gjt.test.DialogTest - */ -public class YesNoDialog extends GJTDialog { - static private YesNoDialog _theYesNoDialog; - private Button yesButton; - private Button noButton; - private String message; - private boolean answer = false; - private ButtonPanel buttonPanel = new ButtonPanel(); - - static public YesNoDialog getYesNoDialog( Frame frame, - DialogClient client, - String title, - String message) { - if(_theYesNoDialog == null) - _theYesNoDialog = new YesNoDialog(frame,client, - title,message); - else { - _theYesNoDialog.setClient (client); - _theYesNoDialog.setTitle (title); - _theYesNoDialog.setMessage(message); - } - return _theYesNoDialog; - } - private YesNoDialog(Frame frame, DialogClient client, - String title, String message) { - super(frame, title, client, true); - yesButton = buttonPanel.add("Yes"); - noButton = buttonPanel.add("No"); - - setLayout(new BorderLayout()); - add("Center", new YesNoPanel(message)); - add("South", buttonPanel); - pack(); - } - public void show() { - yesButton.requestFocus(); - super.show(); - } - public boolean answeredYes() { - return answer; - } - public boolean action(Event event, Object what) { - if(event.target == yesButton) answer = true; - else answer = false; - - hide(); - client.dialogDismissed(this); - return true; - } - private void setMessage(String message) { - this.message = message; - } -} - -class YesNoPanel extends Panel { - public YesNoPanel(String question) { - add("Center", new Label(question, Label.CENTER)); - } - public Insets insets() { - return new Insets(10,10,10,10); - } -} diff --git a/java/gjt/animation/CollisionArena.java b/java/gjt/animation/CollisionArena.java deleted file mode 100644 index defb1a6d86b..00000000000 --- a/java/gjt/animation/CollisionArena.java +++ /dev/null @@ -1,39 +0,0 @@ -package gjt.animation; - -import java.awt.Dimension; -import java.awt.Insets; -import java.util.Vector; -import gjt.Orientation; - -/** - * A CollisionArena is defined as an arena in which collisions - * may take place.

    - * - * CollisionArenas must be able to report their size and - * insets, and return a Vector of the Sprites contained in the - * arena.

    - * - * CollisionArenas must also implement two methods for handling - * sprite and edge collisions, respectively. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Playfield - * @see CollisionDetector - * @see EdgeCollisionDetector - * @see SpriteCollisionDetector - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -public interface CollisionArena { - abstract public Vector getSprites(); - abstract public Dimension getSize (); - abstract public Insets getInsets (); - - abstract public void spriteCollision(Sprite sprite, - Sprite other); - - abstract public void edgeCollision(Sprite sprite, - Orientation orient); -} diff --git a/java/gjt/animation/CollisionDetector.java b/java/gjt/animation/CollisionDetector.java deleted file mode 100644 index ff05f16c6d3..00000000000 --- a/java/gjt/animation/CollisionDetector.java +++ /dev/null @@ -1,24 +0,0 @@ -package gjt.animation; - -/** - * Collision detectors detect collisions that take place within - * a CollisionArena. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see CollisionArena - * @see EdgeCollisionDetector - * @see SpriteCollisionDetector - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -abstract public class CollisionDetector { - protected CollisionArena arena; - - abstract public void detectCollisions(); - - public CollisionDetector(CollisionArena arena) { - this.arena = arena; - } -} diff --git a/java/gjt/animation/EdgeCollisionDetector.java b/java/gjt/animation/EdgeCollisionDetector.java deleted file mode 100644 index 8624b7c2f28..00000000000 --- a/java/gjt/animation/EdgeCollisionDetector.java +++ /dev/null @@ -1,53 +0,0 @@ -package gjt.animation; - -import java.awt.*; -import java.util.Enumeration; -import java.util.Vector; -import gjt.Orientation; - -/** - * A CollisionDetector that detects collisions between Sprites - * and the edges of the CollisionArena in which they reside.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see CollisionDetector - * @see Sprite - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -public class EdgeCollisionDetector extends CollisionDetector { - public EdgeCollisionDetector(CollisionArena arena) { - super(arena); - } - public void detectCollisions() { - Enumeration sprites = arena.getSprites().elements(); - Dimension arenaSize = arena.getSize(); - Insets arenaInsets = arena.getInsets(); - Sprite sprite; - - while(sprites.hasMoreElements()) { - sprite = (Sprite)sprites.nextElement(); - - Point nl = sprite.nextLocation (); - Point mv = sprite.getMoveVector(); - int nextRightEdge = nl.x + sprite.width(); - int nextBottomEdge = nl.y + sprite.height(); - int arenaBottomEdge = arenaSize.height - - arenaInsets.bottom; - int arenaRightEdge = arenaSize.width - - arenaInsets.right; - - if(nextRightEdge > arenaRightEdge) - arena.edgeCollision(sprite, Orientation.LEFT); - else if(nl.x < arenaInsets.left) - arena.edgeCollision(sprite, Orientation.RIGHT); - - if(nextBottomEdge > arenaBottomEdge) - arena.edgeCollision(sprite, Orientation.BOTTOM); - else if(nl.y < arenaInsets.top) - arena.edgeCollision(sprite, Orientation.TOP); - } - } -} diff --git a/java/gjt/animation/Playfield.java b/java/gjt/animation/Playfield.java deleted file mode 100644 index 386c0fb24c4..00000000000 --- a/java/gjt/animation/Playfield.java +++ /dev/null @@ -1,140 +0,0 @@ -package gjt.animation; - -import java.awt.*; -import java.util.Enumeration; -import java.util.Vector; -import gjt.Util; - -/** - * A surface upon which Sprites are animated. Playfields are - * responsible for animating the sprites.

    - * - * Each Playfield comes complete with two collision detectors: - * an edge collision detector and a sprite collision detector. - * - * Playfield is an abstract class: extensions must implement - * the following methods: - *

    - *
    void paintBackground(Graphics) - *
    void void spriteCollision(Sprite sprite, Sprite other) - *
    void void edgeCollision (Sprite sprite, Sprite other) - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see CollisionArena - * @see Sprite - * @see SpriteCollisionDetector - * @see EdgeCollisionDetector - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -public abstract class Playfield extends Canvas - implements Runnable, - CollisionArena { - protected Vector sprites = new Vector(); - private boolean running = false; - private Insets insets = new Insets(0,0,0,0); - - private Thread animationThread; - private Image bgoffscreen, - workplaceBuffer; - private Dimension offscreenSize; - private EdgeCollisionDetector edgeCollisionDetector; - private SpriteCollisionDetector spriteCollisionDetector; - - abstract public void paintBackground(Graphics g); - - public Playfield() { - edgeCollisionDetector = - new EdgeCollisionDetector(this); - spriteCollisionDetector = - new SpriteCollisionDetector(this); - } - public void stop () { running = false; } - public boolean running () { return running; } - public Dimension getSize () { return size(); } - public Insets getInsets () { return insets; } - public Vector getSprites() { return sprites; } - - public void addSprite(Sprite sprite) { - sprites.addElement(sprite); - } - public void setInsets(Insets insets) { - this.insets = insets; - } - public void start() { - animationThread = new Thread(this); - running = true; - animationThread.start(); - } - public void paint(Graphics g) { - if(needNewOffscreenBuffer()) { - workplaceBuffer = createOffscreenImage(size()); - bgoffscreen = createOffscreenImage(size()); - paintBackground(bgoffscreen.getGraphics()); - } - g.drawImage(bgoffscreen, 0, 0, this); - paintSprites(); - } - public void reshape(int x, int y, int w, int h) { - super.reshape(x,y,w,h); - repaint(); - } - public void run() { - while(running == true) { - edgeCollisionDetector.detectCollisions (); - spriteCollisionDetector.detectCollisions(); - - animateSprites(); - Thread.currentThread().yield(); - } - animationThread = null; - } - private boolean needNewOffscreenBuffer() { - return (workplaceBuffer == null || - bgoffscreen == null || - size().width != offscreenSize.width || - size().height != offscreenSize.height); - } - private Image createOffscreenImage(Dimension size) { - Image image = createImage(size.width, size.height); - Util.waitForImage(this, image); - offscreenSize = size; - return image; - } - protected void animateSprites() { - Sprite nextSprite; - Enumeration e = sprites.elements(); - - while(e.hasMoreElements()) { - nextSprite = (Sprite)e.nextElement(); - nextSprite.animate(); - } - } - protected void paintSprites() { - Sprite nextSprite; - Enumeration e = sprites.elements(); - - while(e.hasMoreElements()) { - nextSprite = (Sprite)e.nextElement(); - paintSprite(nextSprite); - } - } - protected void paintSprite(Sprite sprite) { - Graphics g = getGraphics(); - Graphics wpg = workplaceBuffer.getGraphics(); - Rectangle clip = sprite.clipRect(); - - wpg.clipRect(clip.x, clip.y, clip.width, clip.height); - wpg.drawImage(bgoffscreen, 0, 0, this); - sprite.paint(wpg); - - g.clipRect (clip.x, clip.y, clip.width, clip.height); - g.drawImage(workplaceBuffer, 0, 0, this); - - g.dispose(); - wpg.dispose(); - } -} diff --git a/java/gjt/animation/Sequence.java b/java/gjt/animation/Sequence.java deleted file mode 100644 index 7b777ecd0d8..00000000000 --- a/java/gjt/animation/Sequence.java +++ /dev/null @@ -1,119 +0,0 @@ -package gjt.animation; - -import java.util.Vector; -import java.awt.*; -import java.awt.image.ImageObserver; -import gjt.Util; -import gjt.Stopwatch; - -/** - * A sequence of images used in an animation. Each sequence - * keeps track of the number of cycles the sequence is to run, - * and reports whether or not the cycles have been completed - * via the boolean animationOver() method. - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Sprite - * @see Playfield - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -public class Sequence { - private static long infiniteCycle = -1; - - private Vector cells = new Vector(); - private Point lastPaintLocation = new Point(0,0); - private Stopwatch cellAdvanceTimer = new Stopwatch(); - private Image currentImage, lastImagePainted; - private long cellAdvanceInterval = 0, - currentCycle = 0, - cyclesPerAnimation = 0; - - public Sequence() { } - - public Sequence(Component component, Image[] images) { - for(int i=0; i < images.length; ++i) { - addImage(component, images[i]); - } - cyclesPerAnimation = infiniteCycle; - } - public void start () { cellAdvanceTimer.start(); } - public Image getLastImage () { return lastImagePainted; } - public Point getLastLocation() { return lastPaintLocation; } - public int getNumImages () { return cells.size(); } - - public long getCurrentCycle() { return currentCycle; } - public void setCurrentCycle(long c) { currentCycle = c; } - - public long getCyclesPerAnimation() { - return currentCycle; - } - public void setCyclesPerAnimation(long cyclesPerAnimation) { - this.cyclesPerAnimation = cyclesPerAnimation; - } - public Image getFirstImage() { - return (Image)cells.firstElement(); - } - public Image getCurrentImage() { - return currentImage; - } - public int getCurrentImagePosition() { - return cells.indexOf(currentImage); - } - public Image getNextImage() { - int index = cells.indexOf(currentImage); - Image image; - - if(index == cells.size() - 1) - image = (Image)cells.elementAt(0); - else - image = (Image)cells.elementAt(index + 1); - - return image; - } - public void setAdvanceInterval(long interval) { - cellAdvanceInterval = interval; - } - public void addImage(Component component, Image image) { - if(currentImage == null) - currentImage = image; - - Util.waitForImage(component, image); - cells.addElement(image); - } - public void removeImage(Image image) { - cells.removeElement(image); - } - public boolean needsRepainting(Point point) { - return (lastPaintLocation.x != point.x || - lastPaintLocation.y != point.y || - lastImagePainted != currentImage); - } - public void paint(Graphics g, int x, int y, - ImageObserver observer) { - g.drawImage(currentImage, x, y, observer); - lastPaintLocation.x = x; - lastPaintLocation.y = y; - lastImagePainted = currentImage; - } - public boolean isAtLastImage() { - return getCurrentImagePosition() == (cells.size() - 1); - } - public boolean timeToAdvanceCell() { - return - cellAdvanceTimer.elapsedTime() > cellAdvanceInterval; - } - public boolean animationOver() { - return (cyclesPerAnimation != infiniteCycle) && - (currentCycle >= cyclesPerAnimation); - } - public void advance() { - if(isAtLastImage()) - ++currentCycle; - - currentImage = getNextImage(); - cellAdvanceTimer.reset(); - } -} diff --git a/java/gjt/animation/Sprite.java b/java/gjt/animation/Sprite.java deleted file mode 100644 index e7840b7615b..00000000000 --- a/java/gjt/animation/Sprite.java +++ /dev/null @@ -1,191 +0,0 @@ -package gjt.animation; - -import java.awt.*; -import java.util.Vector; -import gjt.Assert; -import gjt.Stopwatch; -import gjt.Util; - -/** - * A sequence of images which are animated and moved about on - * a Playfield.

    - * - * Each Sprite is constructed with a reference to it's - * Playfield, a Sequence, and a beginning position for it's - * upper left hand corner.

    - * - * A Sprite's animation is controlled by invoking the following - * methods: - *

    - *
    setMoveVector(Point) - *
    setMoveInterval(long) - *
    setImageChangeInterval(long) - *
    setMainSequence(Sequence) - *
    setSequence(Sequence) - *
    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see Sequence - * @see Playfield - * @see SpriteCollisionDetector - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -public class Sprite { - private Playfield field; - private Sequence currentSequence, mainSequence; - private Stopwatch moveTimer = new Stopwatch(); - - private Point ulhc = new Point(0,0); - private Point start = new Point(0,0); - private Point moveVector = new Point(1,1); - - private Rectangle clip = new Rectangle(0,0); - private Rectangle curBounds, lastBounds; - - private int width, height; - private long moveInterval = 0; - - public Sprite(Playfield field, - Sequence sequence, - Point ulhc) { - Assert.notNull(field); - Assert.notNull(sequence); - Assert.notNull(ulhc); - - this.field = field; - this.ulhc = ulhc; - start.x = ulhc.x; - start.y = ulhc.y; - - setSequence(sequence); - setMainSequence(sequence); - - initializeBounds(); - moveTimer.start(); - currentSequence.start(); - } - public Playfield getPlayfield() { return field; } - public Rectangle clipRect () { return clip; } - public Rectangle curBounds () { return curBounds; } - - public int width () { return width; } - public int height () { return height; } - public void reverseX () { moveVector.x = 0-moveVector.x; } - public void reverseY () { moveVector.y = 0-moveVector.y; } - public void reverse () { reverseX(); reverseY(); } - public Point start () { return start; } - - public void setMoveVector (Point p) { moveVector = p; } - public Point getMoveVector() { return moveVector; } - - public void play(Sequence sequence, long cycles) { - setSequence(sequence); - sequence.setCyclesPerAnimation(cycles); - sequence.setCurrentCycle(0); - } - public void animate() { - if(currentSequence.animationOver()) - currentSequence = mainSequence; - - if(timeToChangeImage()) currentSequence.advance(); - if(timeToMove()) move(); - if(needsRepainting()) field.paintSprite(this); - } - public void setMainSequence(Sequence sequence) { - mainSequence = sequence; - } - public Sequence getMainSequence() { - return mainSequence; - } - public void setSequence(Sequence sequence) { - currentSequence = sequence; - - if(curBounds != null) - updateBounds(); - } - public Sequence getSequence() { - return currentSequence; - } - public boolean intersects(Sprite otherSprite) { - return curBounds().intersects(otherSprite.curBounds()); - } - public boolean willIntersect(Sprite otherSprite) { - return - nextBounds().intersects(otherSprite.nextBounds()); - } - public boolean timeToMove() { - return moveTimer.elapsedTime() > moveInterval; - } - public boolean timeToChangeImage() { - return currentSequence.timeToAdvanceCell(); - } - public void moveTo(Point p) { - ulhc = p; - moveTimer.reset(); - } - public boolean needsRepainting() { - return currentSequence.needsRepainting(ulhc); - } - public void setMoveInterval(long interval) { - moveInterval = interval; - } - public void setImageChangeInterval(long interval) { - currentSequence.setAdvanceInterval(interval); - } - public void move() { - ulhc.x += moveVector.x; - ulhc.y += moveVector.y; - updateBounds(); - moveTimer.reset(); - } - public Point location() { - return ulhc; - } - public Point nextLocation() { - return new Point(ulhc.x + moveVector.x, - ulhc.y + moveVector.y); - } - public Rectangle nextBounds() { - Image nextImage = currentSequence.getNextImage(); - Point nextLoc = nextLocation(); - - return new Rectangle( - nextLoc.x, nextLoc.y, width, height); - } - public void paint(Graphics g) { - currentSequence.paint(g, ulhc.x, ulhc.y, field); - } - private void initializeBounds() { - Image curImage = currentSequence.getCurrentImage(); - - width = curImage.getWidth (field); - height = curImage.getHeight(field); - - curBounds = - new Rectangle(ulhc.x, ulhc.y, width, height); - - lastBounds = new Rectangle(curBounds.x, - curBounds.y, - curBounds.width, - curBounds.height); - - clip = lastBounds.union(curBounds); - } - private void updateBounds() { - Image curImage = currentSequence.getCurrentImage(); - - lastBounds.width = curBounds.width; - lastBounds.height = curBounds.height; - - curBounds.width = width = curImage.getWidth(field); - curBounds.height = height = curImage.getHeight(field); - - lastBounds.move(curBounds.x, curBounds.y); - curBounds.move (ulhc.x, ulhc.y); - - clip = lastBounds.union(curBounds); - } -} diff --git a/java/gjt/animation/SpriteCollisionDetector.java b/java/gjt/animation/SpriteCollisionDetector.java deleted file mode 100644 index 2ef37d79208..00000000000 --- a/java/gjt/animation/SpriteCollisionDetector.java +++ /dev/null @@ -1,45 +0,0 @@ -package gjt.animation; - -import java.awt.*; -import java.util.Enumeration; -import java.util.Vector; -import gjt.Orientation; - -/** - * A CollisionDetector that detects collisions between Sprites - * residing in a CollisionArena.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see CollisionArena - * @see CollisionDetector - * @see Sprite - * @see gjt.test.SimpleAnimationTest - * @see gjt.test.BumpAnimationTest - * @see gjt.test.TwoDrinkersAnimationTest - */ -public class SpriteCollisionDetector extends CollisionDetector { - public SpriteCollisionDetector(CollisionArena arena) { - super(arena); - } - public void detectCollisions() { - Enumeration sprites = arena.getSprites().elements(); - Sprite sprite; - - while(sprites.hasMoreElements()) { - sprite = (Sprite)sprites.nextElement(); - - Enumeration otherSprites = - arena.getSprites().elements(); - Sprite otherSprite; - - while(otherSprites.hasMoreElements()) { - otherSprite=(Sprite)otherSprites.nextElement(); - - if(otherSprite != sprite) - if(sprite.willIntersect(otherSprite)) - arena.spriteCollision(sprite,otherSprite); - } - } - } -} diff --git a/java/gjt/image/BleachImageFilter.java b/java/gjt/image/BleachImageFilter.java deleted file mode 100644 index f698a218284..00000000000 --- a/java/gjt/image/BleachImageFilter.java +++ /dev/null @@ -1,53 +0,0 @@ -package gjt.image; - -import java.awt.image.*; -import gjt.Assert; - -/** - * A derivation of RGBImageFilter that bleaches an image.

    - * - * Extent of the bleaching effect is controlled by the only - * constructor argument: an integer representing the percentage - * of bleaching. The percentage of bleaching may also be - * controlled after instantiation by invoking the - * void percent(int) method.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see RGBImageFilter - */ -public class BleachImageFilter extends RGBImageFilter { - private int percent; - - public BleachImageFilter(int percent) { - Assert.notFalse(percent >= 0 && percent <= 100); - this.percent = percent; - canFilterIndexColorModel = true; - } - public int percent() { return percent; } - public void percent(int percent) { percent = percent; } - - public int filterRGB(int x, int y, int rgb) { - DirectColorModel cm = - (DirectColorModel)ColorModel.getRGBdefault(); - - int alpha = cm.getAlpha(rgb); - int red = cm.getRed (rgb); - int green = cm.getGreen(rgb); - int blue = cm.getBlue (rgb); - double percentMultiplier = (double)percent/100; - - red = Math.min((int) - (red + (red * percentMultiplier)), 255); - green = Math.min((int) - (green + (green * percentMultiplier)), 255); - blue = Math.min((int) - (blue + (blue * percentMultiplier)), 255); - - alpha = alpha << 24; - red = red << 16; - green = green << 8; - - return alpha | red | green | blue; - } -} diff --git a/java/gjt/image/DissolveFilter.java b/java/gjt/image/DissolveFilter.java deleted file mode 100644 index 027455b39b6..00000000000 --- a/java/gjt/image/DissolveFilter.java +++ /dev/null @@ -1,48 +0,0 @@ -package gjt.image; - -import java.awt.image.*; -import gjt.Assert; - -/** - * A derivation of RGBImageFilter that partially or wholly - * dissolves an image.

    - * - * Extent of dissolving is set by the setOpacity(int) method, - * which is passed an integer between 0 and 255 (inclusive). - * The integer represents the alpha value to be applied to - * every color in the image.

    - * - * An alpha value of 255 signifies an opaque color, while an - * alpha value of 0 signifies a translucent color.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see RGBImageFilter - */ -public class DissolveFilter extends RGBImageFilter { - private int opacity; - - public DissolveFilter() { - this(0); - } - public DissolveFilter(int opacity) { - canFilterIndexColorModel = true; - setOpacity(opacity); - } - public void setOpacity(int opacity) { - Assert.notFalse(opacity >= 0 && opacity <= 255); - this.opacity = opacity; - } - public int filterRGB(int x, int y, int rgb) { - DirectColorModel cm = - (DirectColorModel)ColorModel.getRGBdefault(); - int alpha = cm.getAlpha(rgb); - int red = cm.getRed (rgb); - int green = cm.getGreen(rgb); - int blue = cm.getBlue (rgb); - - alpha = opacity; - - return alpha << 24 | red << 16 | green << 8 | blue; - } -} diff --git a/java/gjt/image/ImageDissolver.java b/java/gjt/image/ImageDissolver.java deleted file mode 100644 index 5d0e6a2daf6..00000000000 --- a/java/gjt/image/ImageDissolver.java +++ /dev/null @@ -1,132 +0,0 @@ -package gjt.image; - -import java.awt.*; -import java.awt.image.*; -import gjt.Util; - -/** - * Given an image, an ImageDissolver produces an array of - * images of varying opacity that are used in the fadeIn() - * and fadeOut() methods for fading the image in and out - * respectively.

    - * - * As a convenience, ImageDissolver has a static method: - * Image[] createImages() that creates the array of images - * mentioned above, in case clients would like to create their - * own array of images instead of using an ImageDissolver - * directly.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see ThreeDBorder - * @see ImageButtonController - * @see SpringyImageButtonController - * @see StickyImageButtonController - * @see BleachImageFilter - * @see gjt.test.ImageButtonTest - */ -public class ImageDissolver { - private static int _defaultNumImages = 10, - _defaultPause = 50; - Component comp; - int numImages, pauseInterval; - Image image, offscreen; - Image[] dissolvedImages; - - static public Image[] createImages(Image image, - int numImages, - Component component) { - Image images[] = new Image[numImages]; - MediaTracker tracker = new MediaTracker(component); - - DissolveFilter filter; - FilteredImageSource fis; - - for(int i=0; i < numImages; ++i) { - filter = new DissolveFilter((255/(numImages-1))*i); - fis = new FilteredImageSource(image.getSource(), - filter); - - images[i] = component.createImage(fis); - tracker.addImage(images[i], i); - } - try { tracker.waitForAll(); } - catch(InterruptedException e) { } - - return images; - } - - public ImageDissolver(Component comp, Image image) { - this(comp, image, _defaultNumImages, _defaultPause); - } - public ImageDissolver(Component comp, Image im, - int numImages, int pause) { - this.image = im; - this.comp = comp; - this.numImages = numImages; - dissolvedImages = new Image[numImages]; - pauseInterval = pause; - - Util.waitForImage(comp, im); - dissolvedImages = createImages(image, numImages, comp); - } - public void fadeIn(int x, int y) { - if(offscreen == null) - offscreen = comp.createImage(image.getWidth(comp), - image.getHeight(comp)); - - Graphics offg = offscreen.getGraphics(); - Graphics compg = comp.getGraphics(); - - if(offg != null && compg != null) { - clearComponent(compg, x, y); - for(int i=0; i < numImages; ++i) { - blitImage(compg, offg, x, y, i); - pause (); - } - blitOpaqueImage(compg, offg, x, y); - } - } - public void fadeOut(int x, int y) { - if(offscreen == null) - offscreen = comp.createImage(image.getWidth(comp), - image.getHeight(comp)); - - Graphics offg = offscreen.getGraphics(); - Graphics compg = comp.getGraphics(); - - if(offg != null && compg != null) { - blitOpaqueImage(compg, offg, x, y); - for(int i=numImages-1; i >= 0; --i) { - clearOffscreen(); - blitImage (compg, offg, x, y, i); - pause (); - } - } - } - private void blitImage(Graphics compg, Graphics offg, - int x, int y, int index) { - offg.drawImage (dissolvedImages[index], 0, 0, comp); - compg.drawImage(offscreen, x, y, comp); - } - private void blitOpaqueImage(Graphics compg, Graphics offg, - int x, int y) { - offg.drawImage(image, 0, 0, comp); - compg.drawImage(offscreen, x, y, comp); - } - private void clearComponent(Graphics compg, int x, int y) { - clearOffscreen(); - compg.drawImage(offscreen, x, y, comp); - } - private void clearOffscreen() { - Graphics offg = offscreen.getGraphics(); - - offg.setColor(comp.getBackground()); - offg.fillRect(0, 0, - image.getWidth(comp), image.getHeight(comp)); - } - private void pause() { - try { Thread.currentThread().sleep(pauseInterval); } - catch(InterruptedException e) { } - } -} diff --git a/java/gjt/rubberband/Rubberband.java b/java/gjt/rubberband/Rubberband.java deleted file mode 100644 index be4b1b6ac05..00000000000 --- a/java/gjt/rubberband/Rubberband.java +++ /dev/null @@ -1,100 +0,0 @@ -package gjt.rubberband; - -import java.awt.*; - -/** - * A abstract base class for rubberbands.

    - * - * Rubberbands do their rubberbanding inside of a Component, - * which must be specified at construction time.

    - * - * Subclasses are responsible for implementing - * void drawLast(Graphics g) and - * void drawNext(Graphics g). - * - * drawLast() draws the appropriate geometric shape at the last - * rubberband location, while drawNext() draws the appropriate - * geometric shape at the next rubberband location. All of the - * underlying support for rubberbanding is taken care of here, - * including handling XOR mode setting; extensions of Rubberband - * need not concern themselves with anything but drawing the - * last and next geometric shapes.

    - * - * @version 1.00, 12/27/95 - * @author David Geary - * @see RubberbandLine - * @see RubberbandRectangle - * @see RubberbandEllipse - * @see gjt.test.RubberbandTest - */ -abstract public class Rubberband { - protected Point anchor = new Point(0,0); - protected Point stretched = new Point(0,0); - protected Point last = new Point(0,0); - protected Point end = new Point(0,0); - - private Component component; - private boolean firstStretch = true; - - abstract public void drawLast(Graphics g); - abstract public void drawNext(Graphics g); - - public Rubberband(Component component) { - this.component = component; - } - public Point getAnchor () { return anchor; } - public Point getStretched() { return stretched; } - public Point getLast () { return last; } - public Point getEnd () { return end; } - - public void anchor(Point p) { - firstStretch = true; - anchor.x = p.x; - anchor.y = p.y; - - stretched.x = last.x = anchor.x; - stretched.y = last.y = anchor.y; - } - public void stretch(Point p) { - last.x = stretched.x; - last.y = stretched.y; - stretched.x = p.x; - stretched.y = p.y; - - Graphics g = component.getGraphics(); - if(g != null) { - g.setXORMode(component.getBackground()); - - if(firstStretch == true) firstStretch = false; - else drawLast(g); - - drawNext(g); - } - } - public void end(Point p) { - last.x = end.x = p.x; - last.y = end.y = p.y; - - Graphics g = component.getGraphics(); - if(g != null) { - g.setXORMode(component.getBackground()); - drawLast(g); - } - } - public Rectangle bounds() { - return new Rectangle(stretched.x < anchor.x ? - stretched.x : anchor.x, - stretched.y < anchor.y ? - stretched.y : anchor.y, - Math.abs(stretched.x - anchor.x), - Math.abs(stretched.y - anchor.y)); - } - - public Rectangle lastBounds() { - return new Rectangle( - last.x < anchor.x ? last.x : anchor.x, - last.y < anchor.y ? last.y : anchor.y, - Math.abs(last.x - anchor.x), - Math.abs(last.y - anchor.y)); - } -} diff --git a/java/gjt/rubberband/RubberbandEllipse.java b/java/gjt/rubberband/RubberbandEllipse.java deleted file mode 100644 index 50ddb0cdd6b..00000000000 --- a/java/gjt/rubberband/RubberbandEllipse.java +++ /dev/null @@ -1,32 +0,0 @@ -package gjt.rubberband; - -import java.awt.Component; -import java.awt.Graphics; -import java.awt.Rectangle; - -/** - * A Rubberband that does ellipses. - * - * @version 1.00, 12/27/95 - * @author David Geary - * @see Rubberband - * @see gjt.test.RubberbandTest - */ -public class RubberbandEllipse extends Rubberband { - private final int startAngle = 0; - private final int endAngle = 360; - - public RubberbandEllipse(Component component) { - super(component); - } - public void drawLast(Graphics graphics) { - Rectangle r = lastBounds(); - graphics.drawArc(r.x, r.y, - r.width, r.height, startAngle, endAngle); - } - public void drawNext(Graphics graphics) { - Rectangle r = bounds(); - graphics.drawArc(r.x, r.y, - r.width, r.height, startAngle, endAngle); - } -} diff --git a/java/gjt/rubberband/RubberbandLine.java b/java/gjt/rubberband/RubberbandLine.java deleted file mode 100644 index 95daafa32a6..00000000000 --- a/java/gjt/rubberband/RubberbandLine.java +++ /dev/null @@ -1,25 +0,0 @@ -package gjt.rubberband; - -import java.awt.Component; -import java.awt.Graphics; - -/** - * A Rubberband that does lines. - * - * @version 1.0, 12/27/95 - * @author David Geary - * @see Rubberband - * @see gjt.test.RubberbandTest - */ -public class RubberbandLine extends Rubberband { - public RubberbandLine(Component component) { - super(component); - } - public void drawLast(Graphics graphics) { - graphics.drawLine(anchor.x, anchor.y, last.x, last.y); - } - public void drawNext(Graphics graphics) { - graphics.drawLine(anchor.x, anchor.y, - stretched.x, stretched.y); - } -} diff --git a/java/gjt/rubberband/RubberbandPanel.java b/java/gjt/rubberband/RubberbandPanel.java deleted file mode 100644 index e4c25f4efb5..00000000000 --- a/java/gjt/rubberband/RubberbandPanel.java +++ /dev/null @@ -1,38 +0,0 @@ -package gjt.rubberband; - -import java.awt.*; - -/** - * An extension of Panel which is fitted with a Rubberband. - * Handling of mouse events is automatically handled for - * rubberbanding.

    - * - * Clients may set or get the Rubberband at any time.

    - * - * @version 1.0, Dec 27 1995 - * @author David Geary - * @see Rubberband - * @see gjt.test.RubberbandTest - */ -public class RubberbandPanel extends Panel { - private Rubberband rubberband; - - public void setRubberband(Rubberband rubberband) { - this.rubberband = rubberband; - } - public Rubberband getRubberband() { - return rubberband; - } - public boolean mouseDown(Event event, int x, int y) { - rubberband.anchor(new Point(x,y)); - return false; - } - public boolean mouseDrag(Event event, int x, int y) { - rubberband.stretch(new Point(x,y)); - return false; - } - public boolean mouseUp(Event event, int x, int y) { - rubberband.end(new Point(x,y)); - return false; - } -} diff --git a/java/gjt/rubberband/RubberbandRectangle.java b/java/gjt/rubberband/RubberbandRectangle.java deleted file mode 100644 index bfcb1bfc32c..00000000000 --- a/java/gjt/rubberband/RubberbandRectangle.java +++ /dev/null @@ -1,29 +0,0 @@ -package gjt.rubberband; - -import java.awt.Component; -import java.awt.Graphics; -import java.awt.Rectangle; - -/** - * A Rubberband that does rectangles. - * - * @version 1.00, 12/27/95 - * @author David Geary - * @see Rubberband - * @see gjt.test.RubberbandTest - */ -public class RubberbandRectangle extends Rubberband { - public RubberbandRectangle(Component component) { - super(component); - } - public void drawLast(Graphics graphics) { - Rectangle rect = lastBounds(); - graphics.drawRect(rect.x, rect.y, - rect.width, rect.height); - } - public void drawNext(Graphics graphics) { - Rectangle rect = bounds(); - graphics.drawRect(rect.x, rect.y, - rect.width, rect.height); - } -} diff --git a/java/gjt/test/AttributesPanel.java b/java/gjt/test/AttributesPanel.java deleted file mode 100644 index 535a12edaeb..00000000000 --- a/java/gjt/test/AttributesPanel.java +++ /dev/null @@ -1,78 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import gjt.*; - -class AttributesPanel extends Panel { - private Applet applet; - private Box iconbox, labelbox, checkboxbox; - private Panel panelInLabelbox = new Panel(); - private Panel panelInCheckboxbox = new Panel(); - private ExclusiveImageButtonPanel panelInIconbox; - - public AttributesPanel(Applet applet) { - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - - this.applet = applet; - panelInIconbox = new ExclusiveImageButtonPanel( - Orientation.HORIZONTAL); - - populateIconPanel (); - populateLabelPanel (); - populateCheckboxPanel(); - - iconbox = new Box(panelInIconbox, - "Meaningless Images"); - labelbox = new Box(panelInLabelbox, "Labels"); - checkboxbox = new Box(panelInCheckboxbox, "Fruits"); - iconbox.etchedOut(); - - setLayout(gbl); - gbc.anchor = GridBagConstraints.NORTH; - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.weighty = 0.50; - gbl.setConstraints(iconbox, gbc); - add(iconbox); - gbl.setConstraints(labelbox, gbc); - add(labelbox); - - gbc.anchor = GridBagConstraints.SOUTH; - gbc.weighty = 0; - gbl.setConstraints(panelInCheckboxbox, gbc); - add(checkboxbox); - } - private void populateIconPanel() { - Image ballot, film, ticket; - - ballot = applet.getImage(applet.getCodeBase(), - "gifs/ballot_box.gif"); - ticket = applet.getImage(applet.getCodeBase(), - "gifs/movie_ticket.gif"); - film = applet.getImage(applet.getCodeBase(), - "gifs/filmstrip.gif"); - - panelInIconbox.add(ballot); - panelInIconbox.add(ticket); - panelInIconbox.add(film); - } - private void populateLabelPanel() { - panelInLabelbox.add(new Label("Label One")); - panelInLabelbox.add(new Label("Label Two")); - panelInLabelbox.add(new Label("Label Three")); - panelInLabelbox.add(new Label("Label Four")); - panelInLabelbox.add(new Label("Label Five")); - } - private void populateCheckboxPanel() { - CheckboxGroup group = new CheckboxGroup(); - - panelInCheckboxbox.setLayout(new GridLayout(3,0)); - panelInCheckboxbox.add(new Checkbox("apples", - group, false)); - panelInCheckboxbox.add(new Checkbox("oranges", - group, false)); - panelInCheckboxbox.add(new Checkbox("pears", - group, true)); - } -} diff --git a/java/gjt/test/BargaugeTest.java b/java/gjt/test/BargaugeTest.java deleted file mode 100644 index 47733d6b0bf..00000000000 --- a/java/gjt/test/BargaugeTest.java +++ /dev/null @@ -1,130 +0,0 @@ -package gjt.test; - -import java.awt.*; -import java.applet.*; -import gjt.Bargauge; - -/** - * An array of either horizontal or vertical animated bargauges. - * The orientation of the bargauges is controlled by a parameter - * passed into the applet.

    - * - * - * Warning: An AWT bug causes this test to be a gluttenous - * consumer of resources (especially under Win95). A mouse down - * will halt the animation thread along with its consumption of - * resources.

    - * - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.Bargauge - */ -public class BargaugeTest extends UnitTest { - private Bargauge[] gauges = new Bargauge[10]; - private Thread animatorThread; - private boolean running; - - public String title() { - return "Bargauge Test"; - } - public Panel centerPanel() { - return new BargaugeTestPanel( - gauges, getParameter("orientation")); - } - public boolean mouseDown(Event event, int x, int y) { - if(running == true) { - animatorThread.suspend(); - running = false; - } - else { - animatorThread.resume (); - running = true; - } - return true; - } - public void start() { - super.start(); - animatorThread = new BargaugeAnimator(gauges); - animatorThread.start(); - running = true; - } - public void stop() { - super.stop(); - animatorThread.suspend(); - running = false; - } -} - -class BargaugeTestPanel extends Panel { - public BargaugeTestPanel(Bargauge[] gauges, String orient) { - Panel bargaugePanel = new Panel(); - - setLayout(new BorderLayout()); - add("North", - new Label("Mouse Down Starts/Stops",Label.CENTER)); - add("Center", bargaugePanel); - - bargaugePanel.add(new BargaugeGridPanel(gauges,orient)); - } -} - -class BargaugeGridPanel extends Panel { - private Dimension preferredSize = new Dimension(200, 250); - - public BargaugeGridPanel(Bargauge[] gauges, String orient) { - Bargauge nextGauge; - Color color = Color.gray; - - if("horizontal".equals(orient)) - setLayout(new GridLayout(gauges.length,0,5,5)); - else - setLayout(new GridLayout(0,gauges.length,5,5)); - - for(int i=0; i < gauges.length; ++i) { - switch(i) { - case 1: color = Color.darkGray; break; - case 2: color = Color.blue; break; - case 3: color = Color.magenta; break; - case 4: color = Color.yellow; break; - case 5: color = Color.green; break; - case 6: color = Color.cyan; break; - case 7: color = Color.orange; break; - case 8: color = Color.pink; break; - case 9: color = Color.red; break; - case 10: color = Color.yellow; break; - } - nextGauge = new Bargauge(color); - gauges[i] = nextGauge; - add(nextGauge); - } - } - public Dimension preferredSize() { return preferredSize; } - public Dimension minimumSize () { return preferredSize; } -} - -class BargaugeAnimator extends Thread { - private Bargauge[] gauges; - private boolean firstAnimation = true; - - public BargaugeAnimator(Bargauge[] gauges) { - this.gauges = gauges; - } - public void run() { - int count = gauges.length; - - while(true) { - try { Thread.currentThread().sleep(500,0); } - catch(InterruptedException e) { } - for(int i=0; i < count; ++i) { - gauges[i].setFillPercent(Math.random() * 100); - gauges[i].fill(); - - if(firstAnimation) - System.out.println(gauges[i].toString()); - } - firstAnimation = false; - } - } -} diff --git a/java/gjt/test/BleachImageFilterTest.java b/java/gjt/test/BleachImageFilterTest.java deleted file mode 100644 index 08fda725a08..00000000000 --- a/java/gjt/test/BleachImageFilterTest.java +++ /dev/null @@ -1,86 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import java.awt.image.FilteredImageSource; - -import gjt.Util; -import gjt.image.BleachImageFilter; - -/** - * Initially displays an unbleached image. Subsequent mouse - * clicks in the canvas containing the image toggle between - * a bleached version of the image and an unbleached version.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.image.BleachImageFilter - */ -public class BleachImageFilterTest extends UnitTest { - public String title() { - return "BleachImageFilter Test " + - "(Click below to Bleach/Unbleach Picture)"; - } - public Panel centerPanel() { - return new BleachImageFilterTestPanel(this); - } -} - -class BleachImageFilterTestPanel extends Panel { - BleachImageFilterTestCanvas canvas; - - public BleachImageFilterTestPanel(Applet applet) { - add(canvas = new BleachImageFilterTestCanvas(applet)); - } - public boolean mouseDown(Event event, int x, int y) { - canvas.toggleBleaching(); - canvas.repaint(); - return true; - } -} - -class BleachImageFilterTestCanvas extends Canvas { - private Image im; - private Image bleached; - private boolean showingBleached = false; - - public BleachImageFilterTestCanvas(Applet applet) { - int bp; - String bleachPercent = - applet.getParameter("bleachPercent"); - - if(bleachPercent != null) - bp = new Integer(bleachPercent).intValue(); - else - bp = 50; - - im = applet.getImage(applet.getCodeBase(), - "gifs/saint.gif"); - Util.waitForImage(this, im); - - FilteredImageSource source = - new FilteredImageSource(im.getSource(), - new BleachImageFilter(bp)); - - bleached = createImage(source); - Util.waitForImage(this, bleached); - - showImageSize(); - } - public Dimension preferredSize() { - return new Dimension(im.getWidth(this), - im.getHeight(this)); - } - public void paint(Graphics g) { - if(showingBleached) g.drawImage(bleached,0,0,this); - else g.drawImage(im, 0,0,this); - } - public void toggleBleaching() { - showingBleached = showingBleached ? false : true; - } - private void showImageSize() { - System.out.print ("Image width=" + im.getWidth(this)); - System.out.println(" height=" + im.getHeight(this)); - } -} diff --git a/java/gjt/test/BorderTest.java b/java/gjt/test/BorderTest.java deleted file mode 100644 index 450b5ffc7ea..00000000000 --- a/java/gjt/test/BorderTest.java +++ /dev/null @@ -1,202 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import gjt.Border; -import gjt.Box; -import gjt.EtchedBorder; -import gjt.ImageButton; -import gjt.ThreeDBorder; - -/** - * Creates 10 bordered Components: - *

    - *
    A Canvas (click in canvas to depress/raise the border). - *
    A Label with an etched out border. - *
    A TextField with an inset 3D border. - *
    A CheckBox with a default border. - *
    A List with a raised 3D border. - *
    A Choice with an etched in border. - *
    A Box with a raised 3D border. - *
    An ImageButton with a thick, red border. - *
    An AWT Button with a cyan border. - *
    A TextArea with a blue default-width border. - *
    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.Border - * @see gjt.ThreeDBorder - * @see gjt.EtchedBorder - */ -public class BorderTest extends UnitTest { - public String title() { - return "Border Test"; - } - public Panel centerPanel() { - return new BorderTestPanel(this); - } -} - -class BorderTestPanel extends Panel { - TextField tf = new TextField( - "Inset TextField: border 5 pixels, gap 5 pixels "); - ThreeDBorder threeDBorder; - EtchedBorder etchedLabel; - Border border; - - public BorderTestPanel(Applet applet) { - setLayout(new FlowLayout(FlowLayout.CENTER, 10, 10)); - - add(new BorderedCanvas()); - add(etchedLabel = - new EtchedBorder(new Label("Etched Label"))); - add(threeDBorder = new ThreeDBorder(tf, 5, 5)); - add(new Border(new Checkbox("Check Me Out"))); - add(makeThreeDBorderedList ()); - add(makeEtchedBorderedChoice ()); - add(makeThreeDBorderedCheckboxes()); - add(makeBorderedImageButton (applet)); - add(makeBorderedAWTButton ()); - add(makeBorderedTextArea ()); - - threeDBorder.inset(); - etchedLabel.etchedOut(); - } - private Border makeThreeDBorderedList() { - List list = new List(10, true); - - list.addItem("One"); - list.addItem("Two"); - list.addItem("Three"); - list.addItem("Four"); - list.addItem("Five"); - list.addItem("Six"); - list.addItem("Seven"); - list.addItem("Eight"); - list.addItem("Nine"); - list.addItem("Ten"); - list.addItem("Eleven"); - list.addItem("Twelve"); - list.addItem("Thirteen"); - list.addItem("Fourteen"); - list.addItem("Fiveteen"); - list.addItem("Sixteen"); - list.addItem("Seventeen"); - list.addItem("Eightteen"); - list.addItem("Nineteen"); - list.addItem("Twenty"); - - return new ThreeDBorder(list); - } - private Border makeEtchedBorderedChoice() { - Choice choice = new Choice(); - - choice.addItem("Toadies"); - choice.addItem("SilverChair"); - choice.addItem("Rug Burns"); - choice.addItem("Cracker"); - choice.addItem("Seven Mary Three"); - choice.addItem("Dishwalla"); - choice.addItem("Blues Traveler"); - choice.addItem("BottleRockets"); - choice.addItem("SpaceHog"); - - return new EtchedBorder(choice); - } - private Border makeBorderedImageButton(Applet applet) { - Image snail; - Border border; - - snail = applet.getImage(applet.getCodeBase(), - "gifs/snail.gif"); - border = new Border(new ImageButton(snail), 10); - border.setLineColor(Color.red); - - return border; - } - private Border makeBorderedAWTButton() { - Button button; - Border cyanBorder, blackBorder; - - button = new Button("Button Inside Two Borders"); - cyanBorder = new Border(button, 7); - cyanBorder.setLineColor(Color.cyan); - - blackBorder = new Border(cyanBorder); - - return blackBorder; - } - private Border makeThreeDBorderedCheckboxes() { - Panel panel = new Panel(); - Box box = new Box(panel, "Options"); - CheckboxGroup group = new CheckboxGroup(); - - panel.setLayout(new GridLayout(3,0)); - panel.add(new Checkbox("bordered", group, false)); - panel.add(new Checkbox("transparent", group, false)); - panel.add(new Checkbox("continuous", group, true)); - - return new ThreeDBorder(box, 4); - } - private Border makeBorderedTextArea() { - Border border; - - border = new Border( - new TextArea("Blue Bordered TextArea", 5, 30)); - border.setLineColor(Color.blue); - - return border; - } -} - -class BorderedCanvas extends ThreeDBorder { - public BorderedCanvas() { - super(new TestCanvas()); - } - public boolean mouseDown(Event event, int x, int y) { - if(isRaised()) paintInset (); - else paintRaised(); - return true; - } -} - -class TestCanvas extends Canvas { - private boolean centeredShowing = false; - private String centered = new String ("Red Centered Text"); - - public void paint(Graphics g) { - String canvas = "Canvas"; - String click = "Click Me"; - Dimension size = size(); - FontMetrics fm = g.getFontMetrics(); - - g.drawString(canvas, (size.width/2) - - (fm.stringWidth(canvas)/2), - fm.getHeight() - fm.getDescent()); - - g.drawString(click, (size.width/2) - - (fm.stringWidth(click)/2), - size.height - fm.getHeight() + - fm.getAscent()); - - if(centeredShowing == true) { - g.setColor(Color.red); - g.drawString(centered, - size.width/2-(fm.stringWidth(centered)/2), - size.height/2 - (fm.getHeight()/2) + - fm.getAscent()); - } - } - public Dimension preferredSize() { - FontMetrics fm = getGraphics().getFontMetrics(); - return new Dimension(fm.stringWidth(centered)+10, 100); - } - public boolean mouseUp(Event event, int x, int y) { - if(centeredShowing == false) centeredShowing = true; - else centeredShowing = false; - repaint(); - return true; - } -} diff --git a/java/gjt/test/BoxTest.java b/java/gjt/test/BoxTest.java deleted file mode 100644 index 24e3de9213e..00000000000 --- a/java/gjt/test/BoxTest.java +++ /dev/null @@ -1,100 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import gjt.Box; -import gjt.ExclusiveImageButtonPanel; -import gjt.Orientation; - -/** - * Three Boxes, each of which surrounds either: ImageButtons, - * Labels or Checkboxes. The Box surrounding the ImageButtons - * is etched out, while the other two Boxes are etched in.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.ImageButton - * @see gjt.Box - */ -public class BoxTest extends UnitTest { - public String title() { - return "Box Test"; - } - public Panel centerPanel() { - return new BoxTestPanel(this); - } -} - -class BoxTestPanel extends Panel { - private Applet applet; - private Box iconbox, labelbox, checkboxbox; - private Panel panelInLabelbox = new Panel(); - private Panel panelInCheckboxbox = new Panel(); - private ExclusiveImageButtonPanel panelInIconbox; - - public BoxTestPanel(Applet applet) { - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - - this.applet = applet; - panelInIconbox = new ExclusiveImageButtonPanel( - Orientation.HORIZONTAL); - - populateIconPanel (); - populateLabelPanel (); - populateCheckboxPanel(); - - iconbox = new Box(panelInIconbox, - "Meaningless Images"); - labelbox = new Box(panelInLabelbox, "Labels"); - checkboxbox = new Box(panelInCheckboxbox, "Fruits"); - iconbox.etchedOut(); - - setLayout(gbl); - gbc.anchor = GridBagConstraints.NORTH; - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.weighty = 0.50; - gbl.setConstraints(iconbox, gbc); - add(iconbox); - gbl.setConstraints(labelbox, gbc); - add(labelbox); - - gbc.anchor = GridBagConstraints.SOUTH; - gbc.weighty = 0; - gbl.setConstraints(checkboxbox, gbc); - add(checkboxbox); - } - private void populateIconPanel() { - Image ballot, film, ticket; - - ballot = applet.getImage(applet.getCodeBase(), - "gifs/ballot_box.gif"); - ticket = applet.getImage(applet.getCodeBase(), - "gifs/movie_ticket.gif"); - film = applet.getImage(applet.getCodeBase(), - "gifs/filmstrip.gif"); - - panelInIconbox.add(ballot); - panelInIconbox.add(ticket); - panelInIconbox.add(film); - } - private void populateLabelPanel() { - panelInLabelbox.add(new Label("Label One")); - panelInLabelbox.add(new Label("Label Two")); - panelInLabelbox.add(new Label("Label Three")); - panelInLabelbox.add(new Label("Label Four")); - panelInLabelbox.add(new Label("Label Five")); - } - private void populateCheckboxPanel() { - CheckboxGroup group = new CheckboxGroup(); - - panelInCheckboxbox.setLayout(new GridLayout(3,0)); - panelInCheckboxbox.add(new Checkbox("apples", - group, false)); - panelInCheckboxbox.add(new Checkbox("oranges", - group, false)); - panelInCheckboxbox.add(new Checkbox("pears", - group, true)); - } -} diff --git a/java/gjt/test/BumpAnimationTest.java b/java/gjt/test/BumpAnimationTest.java deleted file mode 100644 index 81b6fb5ce8e..00000000000 --- a/java/gjt/test/BumpAnimationTest.java +++ /dev/null @@ -1,107 +0,0 @@ -package gjt.test; - -import java.net.URL; -import java.applet.Applet; -import java.awt.*; - -import gjt.Util; -import gjt.Orientation; -import gjt.animation.*; - -/** - * A simple animation playfield with one sprite that bounces - * off the boundaries of the playfield.

    - * - * When the sprite bounces off the left wall, it plays a - * bump sequence once; when it bounces off the right wall - * it plays the bump sequence twice.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see gjt.animation.Playfield - * @see gjt.animation.Sprite - */ -public class BumpAnimationTest extends UnitTest { - public String title() { - return "Bump Animation - Mouse Down Starts/Stops"; - } - public Panel centerPanel() { - return new BumpAnimationTestPanel(this); - } -} - -class BumpAnimationTestPanel extends Panel { - public BumpAnimationTestPanel(Applet applet) { - setLayout(new BorderLayout()); - add("Center", new BumpPlayfield(applet)); - } -} - -class BumpPlayfield extends Playfield { - private Applet applet; - private URL cb; - private Sprite javaDrinker; - private Sequence spinSequence, bumpSequence; - - public BumpPlayfield(Applet applet) { - this.applet = applet; - cb = applet.getCodeBase(); - makeSequencesAndSprites(); - } - public void paintBackground(Graphics g) { - Image bg = applet.getImage(cb, "gifs/background.gif"); - Util.wallPaper(this, g, bg); - } - public boolean mouseDown(Event event, int x, int y) { - if(running() == true) stop (); - else start(); - return true; - } - public void spriteCollision(Sprite sprite, Sprite sprite2) { - // Nothing to do: only 1 sprite! - } - public void edgeCollision(Sprite sprite, - Orientation orientation) { - if(orientation == Orientation.RIGHT || - orientation == Orientation.LEFT) { - if(sprite.getSequence() != bumpSequence) { - sprite.reverseX(); - - if(orientation == Orientation.RIGHT) - sprite.play(bumpSequence, 1); - else - sprite.play(bumpSequence, 2); - } - } - else - sprite.reverseY(); - } - private void makeSequencesAndSprites() { - String file; - Point startLoc = new Point(10, 10); - Image[] spinImages = new Image[19]; - Image[] bumpImages = new Image[6]; - - for(int i=0; i < spinImages.length; ++i) { - file = "gifs/spin"; - - if(i < 10) file += "0" + i + ".gif"; - else file += i + ".gif"; - - spinImages[i] = applet.getImage(cb, file); - } - for(int i=0; i < bumpImages.length; ++i) { - file = "gifs/bump0" + i + ".gif"; - bumpImages[i] = applet.getImage(cb, file); - } - spinSequence = new Sequence(this, spinImages); - bumpSequence = new Sequence(this, bumpImages); - javaDrinker = new Sprite(this, spinSequence, startLoc); - - spinSequence.setAdvanceInterval(100); - bumpSequence.setAdvanceInterval(200); - - javaDrinker.setMoveVector(new Point(2,2)); - addSprite(javaDrinker); - } -} diff --git a/java/gjt/test/ChoiceCardPanelTest.java b/java/gjt/test/ChoiceCardPanelTest.java deleted file mode 100644 index 4ec27ac8945..00000000000 --- a/java/gjt/test/ChoiceCardPanelTest.java +++ /dev/null @@ -1,34 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import gjt.ChoiceCardPanel; - -/** - * A ChoiceCardPanel that controls three Panels.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.ChoiceCardPanel - */ -public class ChoiceCardPanelTest extends UnitTest { - public String title() { return "Choice CardPanel Test"; } - public Panel centerPanel() { - return new ChoiceCardPanelTestPanel(this); - } -} - -class ChoiceCardPanelTestPanel extends Panel { - private ChoiceCardPanel mvp = new ChoiceCardPanel(); - - public ChoiceCardPanelTestPanel(Applet applet) { - setLayout(new BorderLayout()); - - mvp.addChoice("Attributes", - new AttributesPanel(applet)); - mvp.addChoice("Connections", new ConnectionsPanel()); - mvp.addChoice("Oracle", new OccupationOracle()); - add("Center", mvp); - } -} diff --git a/java/gjt/test/ColumnLayoutTest.java b/java/gjt/test/ColumnLayoutTest.java deleted file mode 100644 index fcef2151a25..00000000000 --- a/java/gjt/test/ColumnLayoutTest.java +++ /dev/null @@ -1,126 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.net.URL; -import java.awt.*; -import gjt.*; - -/** - * Lays out 3 image buttons, and provides controls for setting - * orientations and gaps on the fly.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.ImageButton - * @see gjt.Box - */ -public class ColumnLayoutTest extends UnitTest { - public String title() { - return "ColumnLayout Test"; - } - public Panel centerPanel() { - ColumnButtonPanel buttonPanel; - Panel panel = new Panel(); - - buttonPanel = new ColumnButtonPanel(this); - - panel.setLayout(new BorderLayout()); - panel.add("Center", buttonPanel); - panel.add("North", new Box(new ColumnPicker(buttonPanel), - "Column Layout Settings")); - return panel; - } -} - -class ColumnButtonPanel extends Panel implements DialogClient { - private ImageButton one, two, three; - private Panel panel = new Panel(); - private TenPixelBorder border = new TenPixelBorder(panel); - - public ColumnButtonPanel(Applet applet) { - URL cb = applet.getCodeBase(); - - one = new ImageButton(applet.getImage(cb, - "gifs/one.gif")); - two = new ImageButton(applet.getImage(cb, - "gifs/two.gif")); - three = new ImageButton(applet.getImage(cb, - "gifs/three.gif")); - - panel.setLayout(new ColumnLayout(0)); - panel.add(one); - panel.add(two); - panel.add(three); - - setLayout(new BorderLayout()); - add ("Center", border); - } - public void updateOrientations(Orientation horient, - Orientation vorient, - int gap) { - panel.setLayout(new ColumnLayout(horient, vorient, gap)); - border.validate(); - } - public void dialogDismissed(Dialog d) { } -} - -class ColumnPicker extends Panel { - private Label horientLabel = new Label("Horizontal:"); - private Label vorientLabel = new Label("Vertical:"); - private Label gapLabel = new Label("Gap:"); - - private Choice hchoice = new Choice(); - private Choice vchoice = new Choice(); - private Choice gapChoice = new Choice(); - - private ColumnButtonPanel buttonPanel; - - public ColumnPicker(ColumnButtonPanel buttonPanel) { - Panel orientations = new Panel(); - Panel gap = new Panel(); - - this.buttonPanel = buttonPanel; - hchoice.addItem("left"); - hchoice.addItem("center"); - hchoice.addItem("right"); - hchoice.select(1); - - vchoice.addItem("top"); - vchoice.addItem("center"); - vchoice.addItem("bottom"); - vchoice.select(1); - - gapChoice.addItem("0"); - gapChoice.addItem("5"); - gapChoice.addItem("10"); - gapChoice.addItem("15"); - gapChoice.addItem("20"); - - orientations.add(horientLabel); - orientations.add(hchoice); - orientations.add(vorientLabel); - orientations.add(vchoice); - - gap.add(gapLabel); - gap.add(gapChoice); - - add(new Box(orientations, "Orientations")); - add(new Box(gap, "Gap")); - } - public boolean action(Event event, Object what) { - String horient, vorient; - int gap; - - horient = hchoice.getSelectedItem(); - vorient = vchoice.getSelectedItem(); - gap = - (new Integer(gapChoice.getSelectedItem())).intValue(); - - buttonPanel.updateOrientations( - Orientation.fromString(horient), - Orientation.fromString(vorient), gap); - - return true; - } -} diff --git a/java/gjt/test/ComponentScrollerTest.java b/java/gjt/test/ComponentScrollerTest.java deleted file mode 100644 index 4f0e4a2ec70..00000000000 --- a/java/gjt/test/ComponentScrollerTest.java +++ /dev/null @@ -1,205 +0,0 @@ -package gjt.test; - -import java.awt.*; -import java.util.Vector; -import java.applet.Applet; -import java.net.URL; - -import gjt.Border; -import gjt.ButtonPanel; -import gjt.ColumnLayout; -import gjt.ComponentScroller; -import gjt.EtchedBorder; -import gjt.ImageButton; -import gjt.RowLayout; -import gjt.Separator; -import gjt.StickyImageButtonController; - -/** - * A phony image store, where you can purchase images.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see Border - * @see ButtonPanel - * @see ImageButton - * @see Separator - * @see StickyImageButtonController - * @see ComponentScroller - */ -public class ComponentScrollerTest extends UnitTest { - public String title() { - return "ComponentScroller Test"; - } - public Panel centerPanel() { - return new ComponentScrollerTestPanel(this); - } -} - -class ComponentScrollerTestPanel extends Panel { - private ComponentScroller scroller; - private Panel purchasePanel; - private ImageButtonRow nextRow; - private String[][] imageNames = { - { "gifs/ballot_box.gif", "gifs/filmstrip.gif", - "gifs/fly.gif", "gifs/eagle.gif", - "gifs/bullet_hole.gif" }, - { "gifs/mad_hacker.gif", "gifs/tricycle.gif", - "gifs/light_bulb1.gif", "gifs/scissors.gif", - "gifs/palette.gif" }, - { "gifs/frog.gif", "gifs/gear.gif", - "gifs/wrench.gif", "gifs/www.gif", - "gifs/Dining.gif" }, - { "gifs/ant.gif", "gifs/abomb.gif", - "gifs/basketball.gif", "gifs/soccer.gif", - "gifs/skelly.gif" }, - }; - public ComponentScrollerTestPanel(Applet applet) { - URL base = applet.getCodeBase(); - Image nextImage; - Border border, blackBorder; - - purchasePanel = new Panel(); - purchasePanel.setLayout(new ColumnLayout()); - - for(int r=0; r < imageNames.length; ++r) { - nextRow = new ImageButtonRow(); - nextRow.setLayout(new RowLayout()); - - for(int c=0; c < imageNames[r].length; ++c) { - nextImage = applet.getImage(base, - imageNames[r][c]); - nextRow.add(nextImage); - } - purchasePanel.add(nextRow); - } - purchasePanel.add(new ButtonPurchaseForm()); - - scroller = new ComponentScroller(); - border = new Border(purchasePanel, 3, 2); - blackBorder = new Border(border, 1, 0); - - border.setLineColor(Color.gray); - blackBorder.setLineColor(Color.black); - scroller.setComponent(blackBorder); - - setLayout(new BorderLayout()); - add("Center", scroller); - } -} - -class ButtonPurchaseForm extends Panel { - TextField nameField = new TextField(25); - TextField addressField = new TextField(25); - TextField cityField = new TextField(15); - TextField stateField = new TextField(2); - - Choice paymentChoice = new Choice(); - - Button paymentButton = new Button("Purchase"); - Button cancelButton = new Button("Cancel"); - - public ButtonPurchaseForm() { - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - - Separator sep = new Separator(); - Label title = - new Label("Purchase A Fine Image Today"); - Label name = new Label("Name:"); - Label address = new Label("Address:"); - Label payment = new Label("Purchase Method:"); - Label phone = new Label("Phone:"); - Label city = new Label("City:"); - Label state = new Label("State:"); - - setLayout(gbl); - - paymentChoice.addItem("Visa"); - paymentChoice.addItem("MasterCard"); - paymentChoice.addItem("COD"); - - title.setFont(new Font("Times-Roman", - Font.BOLD + Font.ITALIC, - 16)); - gbc.anchor = GridBagConstraints.NORTH; - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbl.setConstraints(title, gbc); - add(title); - - gbc.anchor = GridBagConstraints.NORTH; - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbc.insets = new Insets(0,0,10,0); - gbl.setConstraints(sep, gbc); - add(sep); - - gbc.anchor = GridBagConstraints.WEST; - gbc.gridwidth = 1; - gbc.insets = new Insets(0,0,0,10); - gbl.setConstraints(name, gbc); - add(name); - - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbl.setConstraints(nameField, gbc); - add(nameField); - - gbc.gridwidth = 1; - gbl.setConstraints(address, gbc); - add(address); - - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.fill = GridBagConstraints.HORIZONTAL; - gbl.setConstraints(addressField, gbc); - add(addressField); - - gbc.gridwidth = 1; - gbl.setConstraints(city, gbc); - add(city); - - gbl.setConstraints(cityField, gbc); - add(cityField); - - gbl.setConstraints(state, gbc); - add(state); - - gbl.setConstraints(stateField, gbc); - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbl.setConstraints(stateField, gbc); - add(stateField); - - gbc.gridwidth = 1; - gbl.setConstraints(payment, gbc); - gbc.insets = new Insets(5,0,5,0); - add(payment); - - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.fill = GridBagConstraints.NONE; - gbl.setConstraints(paymentChoice, gbc); - add(paymentChoice); - - ButtonPanel buttonPanel = new ButtonPanel(); - - buttonPanel.add(paymentButton); - buttonPanel.add(cancelButton); - - gbc.anchor = GridBagConstraints.SOUTH; - gbc.insets = new Insets(5,0,0,0); - gbc.fill = GridBagConstraints.HORIZONTAL; - gbc.gridwidth = 4; - gbl.setConstraints(buttonPanel, gbc); - add(buttonPanel); - } -} -class ImageButtonRow extends Panel { - public ImageButtonRow() { - setLayout(new RowLayout()); - } - public void add(Image image) { - ImageButton button = new ImageButton(image); - add(button); - button.setController( - new StickyImageButtonController(button)); - } -} diff --git a/java/gjt/test/ConnectionsPanel.java b/java/gjt/test/ConnectionsPanel.java deleted file mode 100644 index 7790d0709b1..00000000000 --- a/java/gjt/test/ConnectionsPanel.java +++ /dev/null @@ -1,9 +0,0 @@ -package gjt.test; - -import java.awt.*; - -class ConnectionsPanel extends Panel { - public ConnectionsPanel() { - add(new Label("Connections")); - } -} diff --git a/java/gjt/test/DialogTest.java b/java/gjt/test/DialogTest.java deleted file mode 100644 index f92069b7c49..00000000000 --- a/java/gjt/test/DialogTest.java +++ /dev/null @@ -1,140 +0,0 @@ -package gjt.test; - -import java.awt.*; -import java.applet.Applet; - -import gjt.Util; -import gjt.DialogClient; -import gjt.MessageDialog; -import gjt.ProgressDialog; -import gjt.QuestionDialog; -import gjt.YesNoDialog; - -/** - * Tests 4 gjt custom dialogs: - *

    - *
    MessageDialog (a dialog which displays a message) - *
    QuestionDialog (a dialog which asks a question) - *
    YesNoDialog (a dialog with yes/no buttons) - *
    ProgressDialog (a dialog which records progress of task) - *
    - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.DialogClient - * @see gjt.MessageDialog - * @see gjt.ProgressDialog; - * @see gjt.QuestionDialog; - * @see gjt.YesNoDialog; - */ -public class DialogTest extends UnitTest { - public String title() { - return "Graphic Java Toolkit Dialog Test"; - } - public Panel centerPanel() { - return new DialogLauncher(); - } -} - -class DialogLauncher extends Panel implements DialogClient { - private MessageDialog messageDialog; - private QuestionDialog questionDialog; - private YesNoDialog yesNoDialog; - private ProgressDialog progressDialog; - - private Button messageDialogButton, questionDialogButton, - yesNoDialogButton, progressDialogButton; - - public DialogLauncher() { - setLayout(new GridLayout(0,1)); - - add(messageDialogButton = - new Button("Message Dialog")); - - add(questionDialogButton = - new Button("Question Dialog")); - - add(yesNoDialogButton = - new Button("YesNo Dialog")); - - add(progressDialogButton = - new Button("Progress Dialog")); - } - public boolean action(Event event, Object what) { - if(event.target == messageDialogButton) { - messageDialog = MessageDialog.getMessageDialog( - Util.getFrame(this), this, - "Example Message Dialog", - "This is an example of a message dialog."); - - messageDialog.show(); - } - else if(event.target == questionDialogButton) { - questionDialog = - new QuestionDialog(Util.getFrame(this), this, - "Example Question Dialog", - "Name: ", "Gumby", 45); - questionDialog.show(); - } - else if(event.target == yesNoDialogButton) { - yesNoDialog = - YesNoDialog.getYesNoDialog(Util.getFrame(this), - this, - "Example YesNo Dialog", - "Another cup of Java?"); - yesNoDialog.show(); - } - else if(event.target == progressDialogButton) { - progressDialog = - ProgressDialog.getProgressDialog( - Util.getFrame(this), - "Example Progress Dialog", - Color.blue); - - progressDialog.show(); - - ProgressThread thread = - new ProgressThread(progressDialog); - thread.start(); - } - - return true; - } - public void dialogDismissed(Dialog d) { - if(d == messageDialog) { - System.out.println("MessageDialog Down"); - } - if(d == questionDialog) { - if(questionDialog.wasCancelled()) - System.out.println("CANCELLED"); - else - System.out.println( - "Name: " + - questionDialog.getTextField().getText()); - } - if(d == yesNoDialog) { - if(yesNoDialog.answeredYes()) - System.out.println("YES"); - else - System.out.println("NO"); - } - } -} - -class ProgressThread extends Thread { - private ProgressDialog dialog; - private double percentComplete = 0; - - public ProgressThread(ProgressDialog dialog) { - this.dialog = dialog; - } - public void run() { - while(percentComplete <= 100) { - try { Thread.currentThread().sleep(500); } - catch(InterruptedException e) { } - - dialog.setPercentComplete(percentComplete); - percentComplete += 10; - } - } -} diff --git a/java/gjt/test/DrawnRectangleTest.java b/java/gjt/test/DrawnRectangleTest.java deleted file mode 100644 index 19e3c195f7c..00000000000 --- a/java/gjt/test/DrawnRectangleTest.java +++ /dev/null @@ -1,119 +0,0 @@ -package gjt.test; - -import java.awt.*; -import gjt.DrawnRectangle; -import gjt.EtchedRectangle; -import gjt.ThreeDRectangle; - -/** - * 9 DrawnRectangles (some of which are EtchedRectangles - * and ThreeDRectangles) with varying characteristics such - * as line widths and colors.

    - * - * A mouse down (any mouse button) in any of the rectangles - * causes information about the rectangle to be printed to - * System.out. (Output will go to Java Console in Netscape).

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.DrawnRectangle - * @see gjt.EtchedRectangle - * @see gjt.ThreeDRectangle - */ -public class DrawnRectangleTest extends UnitTest { - public String title() { - return "Drawn Rectangle Test"; - } - public Panel centerPanel() { - return new DrawnRectangleTestPanel(); - } -} - -class DrawnRectangleTestPanel extends Panel { - private DrawnRectangle drawnFilledOrange, - drawnFilledBlue, drawnBlue; - private EtchedRectangle etchedOut, - etchedIn, etchedFilledCyan; - private ThreeDRectangle thinRaised, - thinInset, thickRaised, thickInset; - - public DrawnRectangleTestPanel() { - drawnFilledOrange = - new DrawnRectangle (this, 10, 10, 100, 100); - drawnFilledBlue = - new DrawnRectangle (this, 135, 135, 100, 100); - drawnBlue = - new DrawnRectangle (this, 505, 135, 100, 100); - etchedFilledCyan = - new EtchedRectangle(this, 10, 135, 100, 100); - - etchedIn = new EtchedRectangle(this, 385, 10, 100, 100); - etchedOut= new EtchedRectangle(this, 505, 10, 100, 100); - - thinRaised = - new ThreeDRectangle(this, 135, 10, 100, 100); - thinInset = - new ThreeDRectangle(this, 260, 10, 100, 100); - thickRaised = - new ThreeDRectangle(this, 385, 135, 100, 100); - thickInset = - new ThreeDRectangle(this, 260, 135, 100, 100); - - drawnFilledOrange.setLineColor(Color.black); - - drawnFilledBlue.setLineColor(Color.yellow); - drawnFilledBlue.setThickness(3); - - drawnBlue.setLineColor(Color.blue); - drawnBlue.setThickness(5); - - thickRaised.setThickness(5); - thickInset.setThickness (5); - } - public Dimension preferredSize() { - return new Dimension(610, 270); - } - public void paint(Graphics g) { - drawnFilledOrange.paint(); - drawnFilledOrange.fill (Color.orange); - - drawnFilledBlue.paint (); - drawnFilledBlue.fill (Color.blue); - - drawnBlue.paint (); - - etchedIn.paintEtchedIn (); - etchedOut.paintEtchedOut(); - - etchedFilledCyan.paintEtchedIn(); - etchedFilledCyan.fill(Color.cyan); - - thinRaised.paintRaised (); - thinInset.paintInset (); - - thickRaised.paintRaised (); - - thickInset.paintInset (); - thickInset.fill (Color.red); - } - public boolean mouseDown(Event event, int x, int y) { - if(drawnFilledOrange.inside(x,y)) - show(drawnFilledOrange); - - if(drawnFilledBlue.inside(x,y)) show(drawnFilledBlue); - if(drawnBlue.inside(x,y)) show(drawnBlue); - if(etchedIn.inside(x,y)) show(etchedIn); - if(etchedOut.inside(x,y)) show(etchedOut); - if(etchedFilledCyan.inside(x,y)) show(etchedFilledCyan); - if(thinRaised.inside(x,y)) show(thinRaised); - if(thickRaised.inside(x,y)) show(thickRaised); - if(thinInset.inside(x,y)) show(thinInset); - if(thickInset.inside(x,y)) show(thickInset); - - return true; - } - private void show(DrawnRectangle drawnRectangle) { - System.out.println(drawnRectangle); - } -} diff --git a/java/gjt/test/FontDialogTest.java b/java/gjt/test/FontDialogTest.java deleted file mode 100644 index d0b535c27f9..00000000000 --- a/java/gjt/test/FontDialogTest.java +++ /dev/null @@ -1,95 +0,0 @@ -package gjt.test; - -import java.awt.*; - -import gjt.FontDialog; -import gjt.DialogClient; -import gjt.Util; - -/** - * Activating the button causes the FontDialog to be displayed. - * Selecting a font from the FontDialog causes the button to - * use the selected font.

    - * - * This unit test overrides FontDialog to reset the labels - * displayed in the buttons, and to reset the list of font - * sizes displayed. See FontDialog for a discussion of the - * overridden methods.

    - * - *Note: The FontDialog takes forever to come up in - * Netscape. - * - * @version 1.0, Apr 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.Util - * @see gjt.FontDialog - * @see gjt.DialogClient - */ -class LotsOfSizesFontDialog extends FontDialog { - private static String _defaultSizes[] = - { "8", "10", "12", "14", "16", - "18", "20", "22", "24", - "26", "28", "30", "32", "34", - "36", "38", "40", "42", "44", - "46", "48", "50", "52", "54", - "56", "58", "60", "62", "64", - "66", "68", "70", "72", "74", - "76", "78", "80", "82", "84", - "86", "88", "90", "92", "94", - "96", "98", "100" }; - - public LotsOfSizesFontDialog(Frame frame, - DialogClient client, - Font font) { - super(frame, client, font, true); - } - public String getPreviewButtonLabel() { - return "Preview Selected Font"; - } - public String getOkButtonLabel () { - return "I'll Take It"; - } - public String getCancelButtonLabel () { - return "Nevermind"; - } - public String[] getFontSizes () { - return _defaultSizes; - } -} - -public class FontDialogTest extends UnitTest { - public String title() { return "Font Dialog Test"; } - public Panel centerPanel() { - return new FontDialogTestPanel(); - } -} - -class FontDialogTestPanel extends Panel - implements DialogClient { - private Button fontButton; - - public FontDialogTestPanel() { - setLayout(new BorderLayout()); - add("Center", fontButton = new Button("Fonts ...")); - } - public boolean handleEvent(Event event) { - if(event.id == Event.ACTION_EVENT) { - LotsOfSizesFontDialog d; - d = new LotsOfSizesFontDialog(Util.getFrame(this), - this, - fontButton.getFont()); - d.show(); - } - return true; - } - public void dialogDismissed(Dialog d) { - FontDialog fontDialog = (FontDialog)d; - Font fontSelected = fontDialog.getFontSelected(); - - if(fontSelected != null) - fontButton.setFont(fontSelected); - - fontButton.requestFocus(); - } -} diff --git a/java/gjt/test/IconCardPanelTest.java b/java/gjt/test/IconCardPanelTest.java deleted file mode 100644 index 33a65e1939c..00000000000 --- a/java/gjt/test/IconCardPanelTest.java +++ /dev/null @@ -1,47 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import java.net.URL; -import gjt.IconCardPanel; - -/** - * A gjt.IconCardPanel that controls 3 Panels.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.IconCardPanel - */ -public class IconCardPanelTest extends UnitTest { - public String title() { return "IconCardPanel Test"; } - public Panel centerPanel() { - return new CardPanelTestPanel(this); - } -} -class CardPanelTestPanel extends Panel { - IconCardPanel mvp = new IconCardPanel(); - - public CardPanelTestPanel(Applet applet) { - URL cb = applet.getCodeBase(); - - setLayout(new BorderLayout()); - - Image folks = applet.getImage(cb,"gifs/cell_phone.gif"); - Image pencil = applet.getImage(cb,"gifs/clipboard.gif"); - Image library = - applet.getImage(cb, "gifs/mad_hacker.gif"); - - mvp.addImageButton(folks, - "Attributes", - new AttributesPanel(applet)); - mvp.addImageButton(pencil, - "Connections", - new ConnectionsPanel()); - mvp.addImageButton(library, - "Oracle", - new OccupationOracle()); - - add("Center", mvp); - } -} diff --git a/java/gjt/test/ImageButtonTest.java b/java/gjt/test/ImageButtonTest.java deleted file mode 100644 index 52df6efeba0..00000000000 --- a/java/gjt/test/ImageButtonTest.java +++ /dev/null @@ -1,130 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import gjt.Box; -import gjt.ImageButton; -import gjt.ImageButtonEvent; -import gjt.SpringyImageButtonController; -import gjt.StickyImageButtonController; - -/** - * 2 ImageButtons, one springy and the other sticky, both - * crabby.

    - * - * Both ImageButtons come with an awt.Button that is used to - * enable/disable the ImageButton it's associated with.

    - * - * ImageButtonEvents, along with mouse enter and mouse exit - * events for the two image buttons are printed out.

    - * - * @version 1.0, Apr 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.ImageButton - * @see gjt.ImageButtonEvent - * @see gjt.SpringyImageButtonController - * @see gjt.StickyImageButtonController - */ -public class ImageButtonTest extends UnitTest { - public String title() { - return "ImageButton Test"; - } - public Panel centerPanel() { - return new ImageButtonTestPanel(this); - } -} - -class ImageButtonTestPanel extends Panel { - private ImageButton springyButton; - private Button springyButtonEnabler; - private ImageButton stickyButton; - private Button stickyButtonEnabler; - - public ImageButtonTestPanel(Applet applet) { - Image image; - Box springyBox, stickyBox; - GridBagLayout gbl = new GridBagLayout(); - GridBagConstraints gbc = new GridBagConstraints(); - - image = - applet.getImage(applet.getCodeBase(), "gifs/crab.gif"); - - springyButton = new ImageButton(image); - springyButtonEnabler = new Button ("Disable"); - stickyButton = new ImageButton(image); - stickyButtonEnabler = new Button ("Disable"); - - stickyButton.setController( - new StickyImageButtonController(stickyButton)); - - setLayout(gbl); - - gbc.anchor = GridBagConstraints.NORTH; - springyBox = new Box(springyButton, "Springy"); - gbc.insets = new Insets(10,0,0,0); - gbl.setConstraints(springyBox, gbc); add(springyBox); - - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.insets = new Insets(45,10,0,0); - gbl.setConstraints(springyButtonEnabler, gbc); - add(springyButtonEnabler); - - gbc.anchor = GridBagConstraints.NORTH; - gbc.gridwidth = 1; - stickyBox = new Box(stickyButton, "Sticky"); - gbc.insets = new Insets(10,0,0,0); - gbc.weighty = 1.0; - gbl.setConstraints(stickyBox, gbc); add(stickyBox); - - gbc.gridwidth = GridBagConstraints.REMAINDER; - gbc.insets = new Insets(45,10,0,0); - gbl.setConstraints(stickyButtonEnabler, gbc); - add(stickyButtonEnabler); - } - public boolean action(Event event, Object what) { - Button button = (Button)event.target; - String label = (String)what; - - if(button == stickyButtonEnabler) { - if(label.equals("Disable")) stickyButton.disable(); - else stickyButton.enable(); - } - else { - if(label.equals("Disable")) springyButton.disable(); - else springyButton.enable(); - } - if(label.equals("Disable")) button.setLabel("Enable"); - else button.setLabel("Disable"); - - return true; - } - public boolean handleEvent(Event event) { - boolean eventHandled = false; - - if(event instanceof ImageButtonEvent) { - System.out.println("ImageButton " + event); - eventHandled = true; - } - if(event.id == Event.MOUSE_ENTER) { - if(event.target == stickyButton) - System.out.println("Sticky Button Entered"); - - else if(event.target == springyButton) - System.out.println("Springy Button Entered"); - - eventHandled = true; - } - if(event.id == Event.MOUSE_EXIT) { - if(event.target == stickyButton) - System.out.println("Sticky Button Exited"); - - else if(event.target == springyButton) - System.out.println("Springy Button Exited"); - - eventHandled = true; - } - if(eventHandled) return true; - else return super.handleEvent(event); - } -} diff --git a/java/gjt/test/ImageDissolverTest.java b/java/gjt/test/ImageDissolverTest.java deleted file mode 100644 index c157408d2af..00000000000 --- a/java/gjt/test/ImageDissolverTest.java +++ /dev/null @@ -1,69 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import java.awt.image.FilteredImageSource; - -import gjt.Util; -import gjt.image.ImageDissolver; - -/** - * Initially displays an image. Subsequent mouse clicks in the - * canvas containing the image cause the image to fade in or - * fade out, depending upon it's current state.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.image.DissolveFilter - * @see gjt.image.ImageDissolver - */ -public class ImageDissolverTest extends UnitTest { - public String title() { - return "ImageDissolver Test " + - "(Click Below to Fade Picture In/Out)"; - } - public Panel centerPanel() { - return new ImageDissolverTestPanel(this); - } -} - -class ImageDissolverTestPanel extends Panel { - ImageDissolverTestCanvas canvas; - - public ImageDissolverTestPanel(Applet applet) { - add(canvas = new ImageDissolverTestCanvas(applet)); - } - public boolean mouseDown(Event event, int x, int y) { - canvas.doFade(); - return true; - } -} - -class ImageDissolverTestCanvas extends Canvas { - private boolean isFaded = false; - private Image image; - private ImageDissolver dissolver; - - public ImageDissolverTestCanvas(Applet applet) { - image = - applet.getImage(applet.getCodeBase(),"gifs/saint.gif"); - - Util.waitForImage(this, image); - dissolver = new ImageDissolver(this, image); - } - public void paint(Graphics g) { - if( ! isFaded) - g.drawImage(image, 0, 0, this); - } - public Dimension preferredSize() { - return new Dimension(image.getWidth(this), - image.getHeight(this)); - } - public void doFade() { - if(isFaded) dissolver.fadeIn (0,0); - else dissolver.fadeOut(0,0); - - isFaded = isFaded ? false : true; - } -} diff --git a/java/gjt/test/ImageScrollerTest.java b/java/gjt/test/ImageScrollerTest.java deleted file mode 100644 index 0476682eb6d..00000000000 --- a/java/gjt/test/ImageScrollerTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package gjt.test; - -import java.awt.*; -import java.applet.Applet; -import java.net.URL; - -import gjt.ImageScroller; -import gjt.Util; - -/** - * Four images are loaded; subsequent mouse clicks cycle - * through the images, that are displayed in an ImageScroller. - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.Scroller - * @see gjt.ImageScroller - */ -public class ImageScrollerTest extends UnitTest { - public String title() { - return "ImageScroller Test"; - } - public Panel centerPanel() { - return new ImageScrollerTestPanel(this); - } -} - -class ImageScrollerTestPanel extends Panel { - private Image[] images = new Image[4]; - private int imageIndex = 0; - private ImageScroller scroller; - - public ImageScrollerTestPanel(Applet applet) { - URL cb = applet.getCodeBase(); - - images[0]=applet.getImage(cb,"gifs/ashleyAndRoy.gif"); - images[1]=applet.getImage(cb,"gifs/ashleyAndSabre.gif"); - images[2]=applet.getImage(cb,"gifs/anjinAndMariko.gif"); - images[3]=applet.getImage(cb,"gifs/ashleyAndAnjin.gif"); - - setLayout(new BorderLayout()); - add("Center", scroller = new ImageScroller(images[0])); - } - public boolean mouseUp(Event event, int x, int y) { - if(imageIndex == images.length-1) imageIndex = 0; - else imageIndex++; - - Util.setCursor(Frame.WAIT_CURSOR, this); - scroller.resetImage(images[imageIndex]); - Util.setCursor(Frame.DEFAULT_CURSOR, this); - - return true; - } -} diff --git a/java/gjt/test/LabelCanvasTest.java b/java/gjt/test/LabelCanvasTest.java deleted file mode 100644 index cb4c0a857ae..00000000000 --- a/java/gjt/test/LabelCanvasTest.java +++ /dev/null @@ -1,75 +0,0 @@ -package gjt.test; -import java.applet.Applet; -import java.awt.Event; -import java.awt.Panel; -import java.awt.Insets; -import java.awt.Graphics; -import gjt.LabelCanvas; -import gjt.SelectionEvent; -import gjt.Util; - -/** - * Four LabelCanvases, each with different insets. The leftmost - * LabelCanvas has standard insets (2 all around), while the - * other three were constructed as follows: - *

    - *      insetFive.setInsets   (new Insets(5,5,5,5));
    - *      insetTen.setInsets    (new Insets(10,10,10,10));
    - *      insetFifteen.setInsets(new Insets(15,15,15,15));
    - * 

    - * - * LabelCanvases generate SelectionEvents, that we watch - * for in our handleEvent() method, and print out.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.LabelCanvas - */ -public class LabelCanvasTest extends UnitTest { - public String title() { return "LabelCanvas Test"; } - public Panel centerPanel() { - return new LabelCanvasTestPanel(this); - } -} - -class LabelCanvasTestPanel extends Panel { - Applet applet; - public LabelCanvasTestPanel(Applet applet) { - this.applet = applet; - LabelCanvas standard = - new LabelCanvas("Standard Insets"); - LabelCanvas insetFive = - new LabelCanvas("Insets = Five"); - LabelCanvas insetTen = - new LabelCanvas("Insets = Ten"); - LabelCanvas insetFifteen = - new LabelCanvas("Insets = Fifteen"); - - insetFive.setInsets (new Insets(5,5,5,5)); - insetTen.setInsets (new Insets(10,10,10,10)); - insetFifteen.setInsets(new Insets(15,15,15,15)); - - add(standard); - add(insetFive); - add(insetTen); - add(insetFifteen); - } - public boolean handleEvent(Event event) { - if(event instanceof SelectionEvent) { - SelectionEvent sevent = (SelectionEvent)event; - LabelCanvas canvas = (LabelCanvas)event.target; - - if(sevent.isSelected()) - System.out.println("LabelCanvas " + - canvas.getLabel() + - " selected"); - else - System.out.println("LabelCanvas " + - canvas.getLabel() + - " deselected"); - return true; - } - return super.handleEvent(event); - } -} diff --git a/java/gjt/test/MessageDialogTest.java b/java/gjt/test/MessageDialogTest.java deleted file mode 100644 index 6efddd08cb4..00000000000 --- a/java/gjt/test/MessageDialogTest.java +++ /dev/null @@ -1,50 +0,0 @@ - -package gjt.test; - -import java.awt.*; -import java.applet.Applet; - -import gjt.MessageDialog; -import gjt.DialogClient; -import gjt.Util; - -/** - * Simple unit test that exercises gjt.MessageDialog. This - * unit test serves to illustrate the use of gjt.DialogClient. - * For a unit test which covers all of the gjt dialogs, - * see gjt.test.DialogTest. - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.DialogClient - * @see gjt.MessageDialog - */ -public class MessageDialogTest extends UnitTest { - public String title() { - return "Message Dialog Test"; - } - public Panel centerPanel() { - return new MessageDialogLauncher(); - } -} - -class MessageDialogLauncher extends Panel - implements DialogClient { - private MessageDialog messageDialog; - - public MessageDialogLauncher() { - add(new Button("Show Message Dialog")); - } - public boolean action(Event event, Object what) { - messageDialog = MessageDialog.getMessageDialog( - Util.getFrame(this), this, - "Example Message Dialog", - "This is an example of a message dialog."); - messageDialog.show(); - return true; - } - public void dialogDismissed(Dialog d) { - System.out.println("MessageDialog Down"); - } -} diff --git a/java/gjt/test/OccupationOracle.java b/java/gjt/test/OccupationOracle.java deleted file mode 100644 index a34c2ad2064..00000000000 --- a/java/gjt/test/OccupationOracle.java +++ /dev/null @@ -1,334 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; - -// The OccupationOracle class makes a guess at a person's occupation -// within an engineering organization based on a few "key" traits. -// Invalid entries in numeric fields result in an "Unknown" occupation. -// This applet uses the awt.GridBagLayout class to structure the -// occupation form. The awt.GridBagLayout class allows fields to -// be placed in rows and columns within a form. Each component -// is given a "display area" based on the constraints in effect -// when it is added to the layout. - -// Author: Jerry Jackson (thanks, sifu) - -public class OccupationOracle extends Panel { - - // Construct the form. Create each component of the form and - // add it to the layout. Initialize the occupation to "Unknown". - - public OccupationOracle() { - - // Use the GridBagLayout layout to construct rows and - // columns. - - GridBagLayout gridbag = new GridBagLayout(); - - // Create a new set of constraints to use when adding - // a component to the layout. The constraint values - // in effect when a component is added to the layout - // are cloned and stored in conjunction with the component - // by the layout. - - GridBagConstraints constraints = new GridBagConstraints(); - - // Set the font for the form. - - //setFont(new Font("TimesRoman", Font.BOLD, 12)); - - // Associate the GridBagLayout object with the applet. - - setLayout(gridbag); - - // The "anchor" constraint determines how a component - // is justified within its display area. - - constraints.anchor = GridBagConstraints.WEST; - - // Determines how much space should be given to this component. - // if left at 0.0, all components clump up in the middle as the - // padding is applied to the outside. - - constraints.weightx = 1.0; - - // Create a name label and text field. - - makeNameField(); - - // Setting the "gridwidth" constraint to 1 will - // cause the component to take up the minimum - // horizontal space in its row. - - constraints.gridwidth = 1; - - // "addFormComponent" will associate the current constraints - // with a component and add the component to the form. - - addFormComponent(gridbag, nameLabel, constraints); - - // Setting the "gridwidth" constraint to REMAINDER will - // cause the component to fill up the remainder of its row. - // i.e. it will be the last entry in the row. - - constraints.gridwidth = GridBagConstraints.REMAINDER; - - // The "fill" constraint tells what to do if the item is in - // a area larger than it is. In this case we want to fill - // any extra horizontal space. - - constraints.fill = GridBagConstraints.HORIZONTAL; - - addFormComponent(gridbag, nameField, constraints); - - // Create and add an age label and text field. - - makeAgeField(); - - constraints.gridwidth = 1; - constraints.fill = GridBagConstraints.NONE; - constraints.weightx = 0.0; - addFormComponent(gridbag, ageLabel, constraints); - constraints.gridwidth = GridBagConstraints.REMAINDER; - constraints.weightx = 1.0; - addFormComponent(gridbag, ageField, constraints); - - // Create and add a world view label and a single checkbox - // for a true/false value. - - makeWorldViewField(); - - constraints.gridwidth = 1; - constraints.weightx = 0.0; - addFormComponent(gridbag, worldViewLabel, constraints); - constraints.gridwidth = GridBagConstraints.REMAINDER; - constraints.weightx = 1.0; - addFormComponent(gridbag, worldViewField, constraints); - - - // Create and add a coffee consumption label and text field. - - makeCoffeeField(); - - constraints.gridwidth = 1; - constraints.weightx = 0.0; - addFormComponent(gridbag, coffeeLabel, constraints); - constraints.gridwidth = GridBagConstraints.REMAINDER; - constraints.weightx = 1.0; - addFormComponent(gridbag, coffeeField, constraints); - - - // Create and add a fashion sense label and a checkbox - // group that has three mutually exclusive values. - - makeFashionField(); - - constraints.gridwidth = GridBagConstraints.REMAINDER; - constraints.weightx = 0.0; - constraints.weighty = 0.0; - addFormComponent(gridbag, fashionLabel, constraints); - - // The three checkboxes that represent fashion sense. - - addFormComponent(gridbag, low, constraints); - addFormComponent(gridbag, medium, constraints); - addFormComponent(gridbag, high, constraints); - - // The Occupation field is output only. - - makeOccupationField(); - - constraints.gridwidth = 1; - constraints.weightx = 0.0; - constraints.weighty = 1.0; - constraints.fill = GridBagConstraints.NONE; - addFormComponent(gridbag, occupationLabel, constraints); - constraints.fill = GridBagConstraints.HORIZONTAL; - constraints.gridwidth = GridBagConstraints.REMAINDER; - constraints.weightx = 1.0; - addFormComponent(gridbag, occupationField, constraints); - - // Display the initial "Unknown" occupation. - - recalculateOccupation(); - - resize(400, 250); - } - - // The paint() method for this applet just calls the paintComponents() - // method which is defined by the Container class. It causes all - // the components visible within the Container to get painted. - - public void paint(Graphics g) { - paintComponents(g); - } - - // When any action occurs within the form we do the same thing: - // recalculate the person's occupation. - - public boolean action(Event event, Object arg) { - recalculateOccupation(); - return true; - } - - // A helper function that associates constraints with a component - // and adds it to the form. - - private void addFormComponent(GridBagLayout grid, Component comp, - GridBagConstraints c) { - grid.setConstraints(comp, c); - add(comp); - } - - - // recalculateOccupation() fetches the values of each component - // and computes an occupation based on some truly stupid heuristics. - - private void recalculateOccupation() { - - // If we don't have a name yet we might incorrectly categorize - // the CEO! - - if (nameField.getText() == "") { - occupationField.setText("Unknown"); - } - - // Fetch other important values that we'll use in our - // calculations. - - int age; - int coffeeConsumption; - boolean binaryView = worldViewField.getState(); - - - // Try to fetch integer values for age and coffeeConsumption. - // If the values in the fields can't be parsed as integers, - // set the occupation to "Unknown". - - try { - age = Integer.parseInt(ageField.getText()); - coffeeConsumption = Integer.parseInt(coffeeField.getText()); - } catch (Exception e) { - occupationField.setText("Unknown"); - return; - } - - // Check for the CEO. - - String name = nameField.getText(); - - if (name.endsWith("II") || - name.endsWith("III") || - name.endsWith("IV")) { - - if (age < 35 || coffeeConsumption < 4) { - occupationField.setText("Junior Executive"); - } else { - occupationField.setText("CEO"); - } - - return; - } - - // Fashion sense is a critical piece of information. - // The getCurrent() method of CheckboxGroup returns whichever - // Checkbox in the group is currently selected. Only one - // can be selected at a time. - - Checkbox fashionValue = fashionGroup.getCurrent(); - - if (fashionValue == low || fashionValue == medium) { - - // There are two kinds of people in the world: those who - // divide people into two kinds and those who don't. - - if (binaryView && coffeeConsumption >= 4) { - occupationField.setText("Engineer"); - - } else if ((age > 40 && binaryView) || - (age < 40 && coffeeConsumption >= 4)) { - occupationField.setText("Engineering Manager"); - - } else { - occupationField.setText("Product Manager"); - } - - } else { - - // High fashion sense. Not an engineer! - - if (binaryView || coffeeConsumption >= 4) { - occupationField.setText("Vice President"); - - } else { - occupationField.setText("Product Marketing"); - } - } - } - - // Helper functions to create form components. - - private void makeNameField() { - nameLabel = new Label("Name: "); - nameField = new TextField(40); - } - - private void makeAgeField() { - ageLabel = new Label("Age: "); - ageField = new TextField(3); - } - - private void makeOccupationField() { - occupationLabel = new Label("Occupation: "); - occupationField = new TextField(40); - } - - private void makeWorldViewField() { - worldViewLabel = new Label("Binary World View: "); - worldViewField = new Checkbox(); - } - - private void makeCoffeeField() { - coffeeLabel = new Label("Coffee consumption: "); - coffeeField = new TextField(3); - } - - private void makeFashionField() { - fashionLabel = new Label("Fashion sense:"); - - fashionGroup = new CheckboxGroup(); - low = new Checkbox("Low ", fashionGroup, false); - medium = new Checkbox("Medium", fashionGroup, true); - high = new Checkbox("High ", fashionGroup, false); - } - - // Text fields. - - private TextField nameField; - private TextField ageField; - private TextField coffeeField; - private TextField occupationField; - - // Labels. - - private Label nameLabel; - private Label ageLabel; - private Label coffeeLabel; - private Label fashionLabel; - private Label worldViewLabel; - private Label occupationLabel; - - // Checkboxes. - - private Checkbox worldViewField; - private Checkbox low; - private Checkbox medium; - private Checkbox high; - - // The fashion sense checkbox group. - - private CheckboxGroup fashionGroup; -} - - diff --git a/java/gjt/test/RowLayoutTest.java b/java/gjt/test/RowLayoutTest.java deleted file mode 100644 index eb7b419ca17..00000000000 --- a/java/gjt/test/RowLayoutTest.java +++ /dev/null @@ -1,124 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.net.URL; -import java.awt.*; -import gjt.*; - -/** - * Lays out 3 image buttons, and provides controls for setting - * orientations and gaps on the fly.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.ImageButton - * @see gjt.Box - */ -public class RowLayoutTest extends UnitTest { - public String title() { - return "RowLayout Test"; - } - public Panel centerPanel() { - RowButtonPanel buttonPanel = new RowButtonPanel(this); - Panel panel = new Panel(); - - panel.setLayout(new BorderLayout()); - panel.add("Center", buttonPanel); - panel.add("North", new Box(new RowPicker(buttonPanel), - "Row Layout Settings")); - return panel; - } -} - -class RowButtonPanel extends Panel implements DialogClient { - private ImageButton one, two, three; - private Panel panel = new Panel(); - private TenPixelBorder border = new TenPixelBorder(panel); - - public RowButtonPanel(Applet applet) { - URL cb = applet.getCodeBase(); - - one = new ImageButton(applet.getImage(cb, - "gifs/one.gif")); - two = new ImageButton(applet.getImage(cb, - "gifs/two.gif")); - three = new ImageButton(applet.getImage(cb, - "gifs/three.gif")); - - panel.setLayout(new RowLayout(0)); - panel.add(one); - panel.add(two); - panel.add(three); - - setLayout(new BorderLayout()); - add ("Center", border); - } - public void updateOrientations(Orientation horient, - Orientation vorient, - int gap) { - panel.setLayout(new RowLayout(horient, vorient, gap)); - border.validate(); - } - public void dialogDismissed(Dialog d) { } -} - -class RowPicker extends Panel { - private Label horientLabel = new Label("Horizontal:"); - private Label vorientLabel = new Label("Vertical:"); - private Label gapLabel = new Label("Gap:"); - - private Choice hchoice = new Choice(); - private Choice vchoice = new Choice(); - private Choice gapChoice = new Choice(); - - private RowButtonPanel buttonPanel; - - public RowPicker(RowButtonPanel buttonPanel) { - Panel orientations = new Panel(); - Panel gap = new Panel(); - - this.buttonPanel = buttonPanel; - hchoice.addItem("left"); - hchoice.addItem("center"); - hchoice.addItem("right"); - hchoice.select(1); - - vchoice.addItem("top"); - vchoice.addItem("center"); - vchoice.addItem("bottom"); - vchoice.select(1); - - gapChoice.addItem("0"); - gapChoice.addItem("5"); - gapChoice.addItem("10"); - gapChoice.addItem("15"); - gapChoice.addItem("20"); - - orientations.add(horientLabel); - orientations.add(hchoice); - orientations.add(vorientLabel); - orientations.add(vchoice); - - gap.add(gapLabel); - gap.add(gapChoice); - - add(new Box(orientations, "Orientations")); - add(new Box(gap, "Gap")); - } - public boolean action(Event event, Object what) { - String horient, vorient; - int gap; - - horient = hchoice.getSelectedItem(); - vorient = vchoice.getSelectedItem(); - gap = - (new Integer(gapChoice.getSelectedItem())).intValue(); - - buttonPanel.updateOrientations( - Orientation.fromString(horient), - Orientation.fromString(vorient), gap); - - return true; - } -} diff --git a/java/gjt/test/RubberbandTest.java b/java/gjt/test/RubberbandTest.java deleted file mode 100644 index ae256fb2c3a..00000000000 --- a/java/gjt/test/RubberbandTest.java +++ /dev/null @@ -1,112 +0,0 @@ -package gjt.test; - -import java.awt.*; -import gjt.DrawingPanel; -import gjt.Separator; -import gjt.RowLayout; -import gjt.rubberband.*; - -/** - * A simple drawing applet that demonstrates the utility of - * the gjt.rubberband package.

    - * - * Note that this unit test also serves as the unit test for - * gjt.DrawingPanel.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.DrawingPanel - * @see gjt.rubberband.Rubberband - * @see gjt.rubberband.RubberbandLine - * @see gjt.rubberband.RubberbandRectangle - * @see gjt.rubberband.RubberbandEllipse - * @see gjt.rubberband.RubberbandPanel - */ -public class RubberbandTest extends UnitTest { - public String title() { - return "Rubberband Test"; - } - public Panel centerPanel() { - return new RubberbandTestPanel(); - } -} - -class RubberbandTestPanel extends Panel { - private DrawingPanel drawingPanel; - private ChoicePanel choicePanel; - - public RubberbandTestPanel() { - drawingPanel = new DrawingPanel(); - choicePanel = new ChoicePanel(drawingPanel); - - setLayout(new BorderLayout()); - add("North", choicePanel); - add("Center", drawingPanel); - } -} - -class ChoicePanel extends Panel { - private DrawingPanel drawingPanel; - private Color color; - private Checkbox fillCheckbox = new Checkbox(); - - public ChoicePanel(DrawingPanel drawingPanel) { - Panel choicePanel = new Panel(); - Choice geometricChoice = new Choice(); - Choice colorChoice = new Choice(); - - this.drawingPanel = drawingPanel; - - geometricChoice.addItem("Lines"); - geometricChoice.addItem("Rectangles"); - geometricChoice.addItem("Ellipses"); - - colorChoice.addItem("Black"); - colorChoice.addItem("Red"); - colorChoice.addItem("Blue"); - colorChoice.addItem("Gray"); - colorChoice.addItem("White"); - - choicePanel.setLayout(new RowLayout(10)); - choicePanel.add(new Label("Shape:")); - choicePanel.add(geometricChoice); - choicePanel.add(new Label("Color:")); - choicePanel.add(colorChoice); - choicePanel.add(new Label("Fill:")); - choicePanel.add(fillCheckbox); - - setLayout(new BorderLayout()); - add("Center", choicePanel); - add("South", new Separator()); - } - public boolean action(Event event, Object what) { - if(event.target instanceof Checkbox) { - drawingPanel.setFill(fillCheckbox.getState()); - } - else if(event.target instanceof Choice) { - if(((String)what).equals("Lines")) { - fillCheckbox.setState(false); - drawingPanel.drawLines(); - } - else if(((String)what).equals("Rectangles")) { - System.out.println("Rectangles"); - drawingPanel.drawRectangles(); - } - else if(((String)what).equals("Ellipses")) - drawingPanel.drawEllipses (); - else if(((String)what).equals("Black")) - drawingPanel.setColor(Color.black); - else if(((String)what).equals("Red")) - drawingPanel.setColor(Color.red); - else if(((String)what).equals("Blue")) - drawingPanel.setColor(Color.blue); - else if(((String)what).equals("Gray")) - drawingPanel.setColor(Color.gray); - else if(((String)what).equals("White")) - drawingPanel.setColor(Color.white); - } - return true; - } - public Insets insets() { return new Insets(5,0,5,0); } -} diff --git a/java/gjt/test/SeparatorTest.java b/java/gjt/test/SeparatorTest.java deleted file mode 100644 index 3dd80173ea3..00000000000 --- a/java/gjt/test/SeparatorTest.java +++ /dev/null @@ -1,64 +0,0 @@ -package gjt.test; - -import java.awt.*; -import gjt.Etching; -import gjt.Separator; - -/** - * Two Separators, one horizontal and the other vertical, the - * former etched in, and the latter etched out are laid out with - * an adorning Label for each.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.UnitTest - * @see gjt.Separator - */ -public class SeparatorTest extends UnitTest { - public String title () { return "Separator Test"; } - public Panel centerPanel() { - return new SeparatorTestPanel(); - } -} - -class SeparatorTestPanel extends Panel { - public SeparatorTestPanel() { - setLayout(new BorderLayout()); - add("North", new SeparatorTestNorthPanel ()); - add("Center", new SeparatorTestCenterPanel()); - } -} - -class SeparatorTestNorthPanel extends Panel { - Separator separator = new Separator(); - - public SeparatorTestNorthPanel() { - setLayout(new BorderLayout()); - add("North", new Label("North Of Etched-In Separator")); - add("South", separator); - } -} - -class SeparatorTestCenterPanel extends Panel { - Separator separator = new Separator(Etching.OUT); - - public SeparatorTestCenterPanel() { - GridBagConstraints gbc = new GridBagConstraints(); - GridBagLayout gbl = new GridBagLayout(); - Label label = new Label("West Of Etched-Out Separator"); - - setLayout(gbl); - gbc.anchor = GridBagConstraints.WEST; - gbc.insets = new Insets(0,0,0,10); - gbl.setConstraints(label, gbc); - add(label); - - gbc.insets = new Insets(0,0,0,0); - gbc.weightx = 1.0; - gbc.weighty = 1.0; - gbc.fill = GridBagConstraints.VERTICAL; - gbl.setConstraints(separator, gbc); - add(separator); - - } -} diff --git a/java/gjt/test/SimpleAnimationTest.java b/java/gjt/test/SimpleAnimationTest.java deleted file mode 100644 index faf0c7c611c..00000000000 --- a/java/gjt/test/SimpleAnimationTest.java +++ /dev/null @@ -1,87 +0,0 @@ -package gjt.test; - -import java.net.URL; -import java.applet.Applet; -import java.awt.*; - -import gjt.Util; -import gjt.Orientation; -import gjt.animation.*; - -/** - * An animation playfield containing a lone sprite that bounces - * off the boundaries of the playfield.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see gjt.test.AnimationTest - * @see gjt.animation.Playfield - * @see gjt.animation.Sprite - */ -public class SimpleAnimationTest extends UnitTest { - public String title() { - return "Simple Animation - Mouse Down Starts/Stops"; - } - public Panel centerPanel() { - return new SimpleAnimationTestPanel(this); - } -} - -class SimpleAnimationTestPanel extends Panel { - public SimpleAnimationTestPanel(Applet applet) { - setLayout(new BorderLayout()); - add("Center", new SimplePlayfield(applet)); - } -} - -class SimplePlayfield extends Playfield { - private Applet applet; - private URL cb; - private Sprite javaDrinker; - private Sequence spinSequence; - - public SimplePlayfield(Applet applet) { - this.applet = applet; - cb = applet.getCodeBase(); - makeSequencesAndSprites(); - } - public void paintBackground(Graphics g) { - Image bg = applet.getImage(cb, "gifs/background.gif"); - Util.wallPaper(this, g, bg); - } - public boolean mouseDown(Event event, int x, int y) { - if(running() == true) stop (); - else start(); - return true; - } - public void spriteCollision(Sprite sprite, Sprite sprite2) { - // Nothing to do: only 1 sprite! - } - public void edgeCollision(Sprite sprite, - Orientation orientation) { - if(orientation == Orientation.RIGHT || - orientation == Orientation.LEFT) - sprite.reverseX(); - else - sprite.reverseY(); - } - private void makeSequencesAndSprites() { - String file; - Point startLoc = new Point(10, 10); - Image[] spinImages = new Image[19]; - - for(int i=0; i < spinImages.length; ++i) { - file = "gifs/spin"; - - if(i < 10) file += "0" + i + ".gif"; - else file += i + ".gif"; - - spinImages[i] = applet.getImage(cb, file); - } - spinSequence = new Sequence(this, spinImages); - javaDrinker = new Sprite(this, spinSequence, startLoc); - - javaDrinker.setMoveVector(new Point(2,2)); - addSprite(javaDrinker); - } -} diff --git a/java/gjt/test/SimpleBargaugeTest.java b/java/gjt/test/SimpleBargaugeTest.java deleted file mode 100644 index 57eb464f4b1..00000000000 --- a/java/gjt/test/SimpleBargaugeTest.java +++ /dev/null @@ -1,61 +0,0 @@ -package gjt.test; - -import java.awt.*; -import gjt.Bargauge; - -/** - * A lone Barguage which animates. This unit test is meant to - * illustrate that a Bargauge can cope with having its - * orientation chanaged from horizontal to vertical or - * vice-versa. This test is best run in appletviewer, so that - * the window may be resized such that the Bargauge changes its - * orientation.

    - * - * - * Warning: An AWT bug causes this test to be a gluttenous - * consumer of resources (especially under Win95). A mouse down - * will halt the animation thread along with its consumption of - * resources.

    - * - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.Bargauge - */ -public class SimpleBargaugeTest extends UnitTest { - public String title() { - return "Simple Bargauge Test"; - } - public Panel centerPanel() { - return new SimpleBargaugeTestPanel(); - } -} - -class SimpleBargaugeTestPanel extends Panel implements Runnable { - private Bargauge gauge = new Bargauge(Color.blue); - private boolean running = true; - private Thread t; - - public SimpleBargaugeTestPanel() { - setLayout(new BorderLayout()); - add("Center", gauge); - - t = new Thread(this); - t.start(); - } - public void run() { - while(true) { - try { Thread.currentThread().sleep(500,0); } - catch(InterruptedException e) { } - - gauge.setFillPercent(Math.random() * 100); - gauge.fill(); - } - } - public boolean mouseDown(Event event, int x, int y) { - if(running) { t.suspend(); running = false; } - else { t.resume (); running = true; } - return true; - } -} diff --git a/java/gjt/test/StateButtonTest.java b/java/gjt/test/StateButtonTest.java deleted file mode 100644 index 508aee1682e..00000000000 --- a/java/gjt/test/StateButtonTest.java +++ /dev/null @@ -1,41 +0,0 @@ -package gjt.test; - -import java.applet.Applet; -import java.awt.*; -import java.net.URL; -import gjt.StateButton; -import gjt.ImageButtonEvent; - -/** - * A StateButton which cycles through a fascinating series of - * Images.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.StateButton - */ -public class StateButtonTest extends UnitTest { - public String title () { return "StateButton Test"; } - public Panel centerPanel() { - return new StateButtonTestPanel(this); - } -} - -class StateButtonTestPanel extends Panel { - private URL codeBase; - private Image[] images; - private StateButton button; - - public StateButtonTestPanel(Applet applet) { - codeBase = applet.getCodeBase(); - images = new Image[3]; - images[0] = applet.getImage(codeBase, "gifs/fly.gif"); - images[1] = applet.getImage(codeBase, "gifs/frog.gif"); - images[2] = applet.getImage(codeBase, "gifs/eagle.gif"); - button = new StateButton(images); - - setLayout(new FlowLayout(FlowLayout.CENTER, 20, 20)); - add (button); - } -} diff --git a/java/gjt/test/TenPixelBorder.java b/java/gjt/test/TenPixelBorder.java deleted file mode 100644 index bab694d0fb1..00000000000 --- a/java/gjt/test/TenPixelBorder.java +++ /dev/null @@ -1,44 +0,0 @@ -package gjt.test; - -import java.awt.*; - -public class TenPixelBorder extends Panel { - public TenPixelBorder(Component borderMe) { - setLayout(new BorderLayout()); - add("Center", borderMe); - } - public void paint(Graphics g) { - Dimension mySize = size(); - Insets myInsets = insets(); - - g.setColor(Color.gray); - - // Top Inset area - g.fillRect(0, - 0, - mySize.width, - myInsets.top); - - // Left Inset area - g.fillRect(0, - 0, - myInsets.left, - mySize.height); - - // Right Inset area - g.fillRect(mySize.width - myInsets.right, - 0, - myInsets.right, - mySize.height); - - // Bottom Inset area - g.fillRect(0, - mySize.height - myInsets.bottom, - mySize.width, - mySize.height); - } - public Insets insets() { - return new Insets(10,10,10,10); - } - -} diff --git a/java/gjt/test/TitledPanel.java b/java/gjt/test/TitledPanel.java deleted file mode 100644 index cb8d054e888..00000000000 --- a/java/gjt/test/TitledPanel.java +++ /dev/null @@ -1,22 +0,0 @@ -package gjt.test; - -import java.awt.BorderLayout; -import java.awt.Label; -import java.awt.Panel; -import gjt.Separator; - -/** - * A Panel fitted with a BorderLayout that contains a Label - * (title) in the North, and a Separator in the South. - * - * @version 1.0, Apr 2 1996 - * @author David Geary - */ - -public class TitledPanel extends Panel { - public TitledPanel(String title) { - setLayout(new BorderLayout()); - add("North", new Label(title, Label.CENTER)); - add("South", new Separator()); - } -} diff --git a/java/gjt/test/ToolbarTest.java b/java/gjt/test/ToolbarTest.java deleted file mode 100644 index f739ce96236..00000000000 --- a/java/gjt/test/ToolbarTest.java +++ /dev/null @@ -1,111 +0,0 @@ -package gjt.test; - -import java.net.URL; -import java.awt.*; -import java.applet.Applet; -import gjt.ExclusiveImageButtonPanel; -import gjt.ImageButton; -import gjt.ImageButtonEvent; -import gjt.Orientation; -import gjt.Toolbar; -import gjt.Separator; - -/** - * A Toolbar to the north, and an ExclusiveImageButtonPanel on - * the west give this little applet its own unique charm. - * Owner is motivated.

    - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see gjt.test.UnitTest - * @see gjt.ExclusiveImageButtonPanel - * @see gjt.ImageButton - * @see gjt.Toolbar - */ -public class ToolbarTest extends UnitTest { - public String title() { - return "Toolbar/ImageButtonPanel Test"; - } - public Panel centerPanel() { - return new ToolbarTestPanel(this); - } -} - -class ToolbarTestPanel extends Panel { - ImageButton newButton, openButton, diskButton, - printButton, cutButton, copyButton, - pasteButton; - - public ToolbarTestPanel(Applet app) { - setLayout(new BorderLayout()); - add("North", makeToolbar(app, app.getCodeBase())); - add("West", makePalette(app, app.getCodeBase())); - } - public boolean handleEvent(Event event) { - if(event instanceof ImageButtonEvent) { - ImageButtonEvent ibevent = (ImageButtonEvent)event; - - if(ibevent.isActivated()) { - if(event.target == newButton) - System.out.println("New Button Activated"); - if(event.target == openButton) - System.out.println("Open Button Activated"); - if(event.target == diskButton) - System.out.println("Disk Button Activated"); - if(event.target == printButton) - System.out.println("Print Button Activated"); - if(event.target == cutButton) - System.out.println("Cut Button Activated"); - if(event.target == copyButton) - System.out.println("Copy Button Activated"); - if(event.target == pasteButton) - System.out.println("Paste Button Activated"); - - return true; - } - } - - return super.handleEvent(event); - } - private Toolbar makeToolbar(Applet app, URL cb) { - Toolbar tb = new Toolbar(10, 0); - - newButton = tb.add(app.getImage(cb, "gifs/new.gif")); - openButton = tb.add(app.getImage(cb, "gifs/open.gif")); - diskButton = tb.add(app.getImage(cb, "gifs/disk.gif")); - - tb.addSpacer(newButton.preferredSize().width); - - printButton = tb.add(app.getImage(cb, "gifs/print.gif")); - - tb.addSpacer(newButton.preferredSize().width); - - cutButton = tb.add(app.getImage(cb, "gifs/cut.gif")); - copyButton = tb.add(app.getImage(cb, "gifs/copy.gif")); - pasteButton = tb.add(app.getImage(cb, "gifs/paste.gif")); - - return tb; - } - private Panel makePalette(Applet app, URL cb) { - ExclusiveImageButtonPanel iconPalette; - Panel iconPalettePanel = new Panel(); - - iconPalette = new ExclusiveImageButtonPanel( - Orientation.VERTICAL, - Orientation.CENTER, - Orientation.TOP, 10); - - iconPalette.add(app.getImage(cb,"gifs/ballot_box.gif")); - iconPalette.add(app.getImage(cb,"gifs/palette.gif")); - iconPalette.add(app.getImage(cb,"gifs/light_bulb1.gif")); - iconPalette.add(app.getImage(cb,"gifs/Dining.gif")); - iconPalette.add(app.getImage(cb,"gifs/scissors.gif")); - iconPalette.add(app.getImage(cb,"gifs/tricycle.gif")); - - iconPalettePanel = new Panel(); - iconPalettePanel.setLayout(new BorderLayout()); - iconPalettePanel.add ("Center", iconPalette); - iconPalettePanel.add ("East", new Separator()); - return iconPalettePanel; - } -} diff --git a/java/gjt/test/TwoDrinkersAnimationTest.java b/java/gjt/test/TwoDrinkersAnimationTest.java deleted file mode 100644 index ae4041b9eb6..00000000000 --- a/java/gjt/test/TwoDrinkersAnimationTest.java +++ /dev/null @@ -1,130 +0,0 @@ -package gjt.test; - -import java.net.URL; -import java.applet.Applet; -import java.awt.*; -import java.awt.Panel; - -import gjt.Util; -import gjt.Orientation; -import gjt.animation.*; - -/** - * An animation playfield containing two "java drinkers", that - * both bounce off the sides of the playfield.

    - * - * One of the java drinkers moves slow and spins fast, while - * the other java drinker moves fast and spins slow. When - * the two java drinkers collide, they both play a bump - * sequence - at different speeds.

    - * - * @version 1.0, Apr 1 1996 - * @author David Geary - * @see gjt.test.AnimationTest - * @see gjt.animation.Playfield - * @see gjt.animation.Sprite - */ -public class TwoDrinkersAnimationTest extends UnitTest { - public String title() { - return - "TwoDrinkers Animation - Mouse Down Starts/Stops"; - } - public Panel centerPanel() { - return new TwoDrinkersAnimationTestPanel(this); - } -} - -class TwoDrinkersAnimationTestPanel extends Panel { - public TwoDrinkersAnimationTestPanel(Applet applet) { - setLayout(new BorderLayout()); - add("Center", new TwoDrinkersPlayfield(applet)); - } -} - -class TwoDrinkersPlayfield extends Playfield { - private Applet applet; - private URL cb; - private Sprite moveFastSpinSlow, moveSlowSpinFast; - private Sequence fastSpinSequence, - slowSpinSequence, - fastBumpSequence, - slowBumpSequence; - - public TwoDrinkersPlayfield(Applet applet) { - this.applet = applet; - cb = applet.getCodeBase(); - makeSequencesAndSprites(); - } - public void paintBackground(Graphics g) { - Image bg = applet.getImage(cb, "gifs/background.gif"); - Util.wallPaper(this, g, bg); - } - public boolean mouseDown(Event event, int x, int y) { - if(running() == true) stop (); - else start(); - return true; - } - public void spriteCollision(Sprite sprite, Sprite sprite2) { - if(moveSlowSpinFast.getSequence() != fastBumpSequence) { - sprite.reverse(); - sprite2.reverse(); - - moveSlowSpinFast.play(fastBumpSequence, 3); - moveFastSpinSlow.play(slowBumpSequence, 3); - } - } - public void edgeCollision(Sprite sprite, - Orientation orientation) { - if(orientation == Orientation.RIGHT || - orientation == Orientation.LEFT) - sprite.reverseX(); - else - sprite.reverseY(); - } - private void makeSequencesAndSprites() { - String file; - Image[] spinImages = new Image[19]; - Image[] bumpImages = new Image[6]; - Image[] volleyball = new Image[4]; - - for(int i=0; i < spinImages.length; ++i) { - file = "gifs/spin"; - - if(i < 10) file += "0" + i + ".gif"; - else file += i + ".gif"; - - spinImages[i] = applet.getImage(cb, file); - } - for(int i=0; i < bumpImages.length; ++i) { - file = "gifs/bump0" + i + ".gif"; - bumpImages[i] = applet.getImage(cb, file); - } - fastSpinSequence = new Sequence(this, spinImages); - slowSpinSequence = new Sequence(this, spinImages); - - fastBumpSequence = new Sequence(this, bumpImages); - slowBumpSequence = new Sequence(this, bumpImages); - - moveFastSpinSlow = - new Sprite(this, - slowSpinSequence, new Point(25, 75)); - - moveSlowSpinFast = - new Sprite(this, - fastSpinSequence, new Point(250,250)); - - fastSpinSequence.setAdvanceInterval(50); - slowSpinSequence.setAdvanceInterval(300); - - fastBumpSequence.setAdvanceInterval(25); - slowBumpSequence.setAdvanceInterval(200); - - moveFastSpinSlow.setMoveVector(new Point(2,3)); - moveSlowSpinFast.setMoveVector(new Point(-1,-1)); - - moveSlowSpinFast.setMoveInterval(100); - - addSprite(moveFastSpinSlow); - addSprite(moveSlowSpinFast); - } -} diff --git a/java/gjt/test/UnitTest.java b/java/gjt/test/UnitTest.java deleted file mode 100644 index 1fa262d5629..00000000000 --- a/java/gjt/test/UnitTest.java +++ /dev/null @@ -1,46 +0,0 @@ -package gjt.test; - -import java.awt.BorderLayout; -import java.awt.Frame; -import java.awt.Panel; -import java.applet.Applet; -import gjt.*; - -/** - * An (abstract) Applet fitted with a BorderLayout that - * contains a TitledPanel in the North, and a Panel created by - * derived classes in the Center.

    - * - * Since some Applets take awhile to load, UnitTest changes the - * cursor to a wait cursor in init(), changing it back to the - * default cursor in start(). Derived classes must be sure to - * call super.init() if they override init(); likewise for - * start().

    - * - * Subclasses must implement: - *

    - *
    String title() - *
    Panel centerPanel() - *
    - * Subclasses should populate the Panel returned from - * centerPanel() with whatever makes sense for their unit test. - * - * @version 1.0, April 25, 1996 - * @author David Geary - * @see TitledPanel - */ -abstract public class UnitTest extends Applet { - abstract public String title(); - abstract public Panel centerPanel(); - - public void init() { - Util.getFrame(this).setCursor(Frame.WAIT_CURSOR); - Panel titledPanel = new TitledPanel(title()); - setLayout(new BorderLayout()); - add("North", titledPanel); - add("Center", centerPanel()); - } - public void start() { - Util.getFrame(this).setCursor(Frame.DEFAULT_CURSOR); - } -} diff --git a/java/java_cup/java_cup.dsp b/java/java_cup/java_cup.dsp deleted file mode 100644 index 8da88f40928..00000000000 --- a/java/java_cup/java_cup.dsp +++ /dev/null @@ -1,224 +0,0 @@ -# Microsoft Developer Studio Project File - Name="java_cup" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=java_cup - Java Virtual Machine 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 "java_cup.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 "java_cup.mak" CFG="java_cup - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "java_cup - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "java_cup - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "java_cup - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "java_cup - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "java_cup - Java Virtual Machine Release" -# Name "java_cup - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\action_part.java -# End Source File -# Begin Source File - -SOURCE=.\action_production.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\char_token.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\double_token.java -# End Source File -# Begin Source File - -SOURCE=.\emit.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\float_token.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\int_token.java -# End Source File -# Begin Source File - -SOURCE=.\internal_error.java -# End Source File -# Begin Source File - -SOURCE=.\lalr_item.java -# End Source File -# Begin Source File - -SOURCE=.\lalr_item_set.java -# End Source File -# Begin Source File - -SOURCE=.\lalr_state.java -# End Source File -# Begin Source File - -SOURCE=.\lalr_transition.java -# End Source File -# Begin Source File - -SOURCE=.\lexer.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\long_token.java -# End Source File -# Begin Source File - -SOURCE=.\lr_item_core.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\lr_parser.java -# End Source File -# Begin Source File - -SOURCE=.\Main.java -# End Source File -# Begin Source File - -SOURCE=.\non_terminal.java -# End Source File -# Begin Source File - -SOURCE=.\parse_action.java -# End Source File -# Begin Source File - -SOURCE=.\parse_action_row.java -# End Source File -# Begin Source File - -SOURCE=.\parse_action_table.java -# End Source File -# Begin Source File - -SOURCE=.\parse_reduce_row.java -# End Source File -# Begin Source File - -SOURCE=.\parse_reduce_table.java -# End Source File -# Begin Source File - -SOURCE=.\parser.java -# End Source File -# Begin Source File - -SOURCE=.\production.java -# End Source File -# Begin Source File - -SOURCE=.\production_part.java -# End Source File -# Begin Source File - -SOURCE=.\reduce_action.java -# End Source File -# Begin Source File - -SOURCE=.\shift_action.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\str_token.java -# End Source File -# Begin Source File - -SOURCE=.\sym.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\symbol.java -# End Source File -# Begin Source File - -SOURCE=.\symbol.java -# End Source File -# Begin Source File - -SOURCE=.\symbol_part.java -# End Source File -# Begin Source File - -SOURCE=.\symbol_set.java -# End Source File -# Begin Source File - -SOURCE=.\terminal.java -# End Source File -# Begin Source File - -SOURCE=.\terminal_set.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\token.java -# End Source File -# Begin Source File - -SOURCE=.\version.java -# End Source File -# Begin Source File - -SOURCE=.\runtime\virtual_parse_stack.java -# End Source File -# End Target -# End Project diff --git a/java/java_cup/java_cup.dsw b/java/java_cup/java_cup.dsw deleted file mode 100644 index be87e846db8..00000000000 --- a/java/java_cup/java_cup.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "java_cup"=.\java_cup.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/java/netsvcs/Logger/DefaultLMR.java b/java/netsvcs/Logger/DefaultLMR.java deleted file mode 100644 index 19e319de015..00000000000 --- a/java/netsvcs/Logger/DefaultLMR.java +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Logger - * - * = FILENAME - * DefaultLMR.java - * - * - *@author Everett Anderson - * - *************************************************/ -package netsvcs.Logger; - -import java.io.*; - -/** - * - *

    DESCRIPTION

    - * - *
    - * The LogMessageReceiver removes the code that handles a log message from - * the logging service acceptor. The DefaultLMR simply calls the LogRecord's - * print method. - * - * @see netsvcs.Logger.ServerLoggingAcceptor - * @see netsvcs.Logger.LogRecord - */ -class DefaultLMR implements LogMessageReceiver -{ - public void logRecord (String hostname, - LogRecord record) - { - record.print(hostname, true, System.err); - } -} diff --git a/java/netsvcs/Logger/LogMessageReceiver.java b/java/netsvcs/Logger/LogMessageReceiver.java deleted file mode 100644 index c001e06f2bd..00000000000 --- a/java/netsvcs/Logger/LogMessageReceiver.java +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Logger - * - * = FILENAME - * LogMessageReceiver.java - * - *@author Everett Anderson - * - *************************************************/ -package netsvcs.Logger; - -import java.io.*; - -/** - * - *

    DESCRIPTION

    - * - *
    - * The LogMessageReceiver removes the code that handles a log message from - * the logging service acceptor. The DefaultLMR simply calls the LogRecord's - * print method. Other implementations of this interface can be built and - * given to the ServerLoggingAcceptor to change the result. - * - * @see netsvcs.Logger.ServerLoggingAcceptor - * @see netsvcs.Logger.LogRecord - */ -public interface LogMessageReceiver -{ - public void logRecord (String hostname, - LogRecord record); -}; diff --git a/java/netsvcs/Logger/LogRecord.java b/java/netsvcs/Logger/LogRecord.java deleted file mode 100644 index 721341cb252..00000000000 --- a/java/netsvcs/Logger/LogRecord.java +++ /dev/null @@ -1,185 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Logger - * - * = FILENAME - * LogRecord.java - * - *@author Chris Cleeland, Everett Anderson - * - *************************************************/ -package netsvcs.Logger; - -import java.util.Date; -import java.io.DataOutputStream; -import java.io.DataInputStream; -import java.io.PrintStream; -import java.io.IOException; -import JACE.OS.*; - -/** - * - *

    DESCRIPTION

    - * - *
    - * Communicates logging information. Compatible with the C++ ACE - * ACE_Log_Record class. - * - */ -public class LogRecord -{ - final public int MAXLOGMSGLEN = 4 * 1024; - - private int type_; - private int length_; - private long msec_; - private int pid_; - private byte[] msgData_; - private final static int numIntMembers = 5; - private final static int sizeofIntInBytes = 4; - - /** - * Create a default instance. - */ - public LogRecord() - { - this(0, (int)new Date().getTime(), 0); - } - - /** - * Create a LogRecord. This is the designated initializer. - * @param priority a numeric specification of the priority (ascending) - * @param milliseconds time attached to the log entry in Unix
    time_t
    format - * @param pid the process ID; not currently used - */ - public LogRecord(int priority, - long milliseconds, - int pid) - { - type(priority); - timeStamp(milliseconds); - length(0); - pid(pid); - } - - /** - * Conversion to string. Only includes the
    msgData_
    member. - */ - public String toString() - { - return new String(msgData_); - } - - /** - * Place a textual representation of the record on a PrintStream. - * @param hostname name of the host generating this record - * @param verbose if true, print information in the form, (give example) - * @param ps A PrintStream instance to which the output should go. - * @see PrintStream,String - */ - public void print(String hostname, - boolean verbose, - PrintStream ps) - { - String toprint; - if (verbose) - { - Date now = new Date(this.timeStamp()); - - /* 01234567890123456789012345 */ - /* Wed Oct 18 14:25:36 1989n0 */ - toprint = now.toString().substring(4) + "@" - + hostname + "@" + pid_ + "@" + type_ + "@" - + this.toString(); - } - else - { - toprint = this.toString(); - } - ps.println(toprint); - } - - /** - * Streaming methods - */ - public void streamInFrom(DataInputStream dis) throws IOException - { - // Order here must match layout order in the C++ class. - // This, of course, is VERY fragile, and ought not be used as - // a model for anything except how NOT to do anything. - type(dis.readInt()); - length(dis.readInt()); - this.timeStamp((long)dis.readInt() * 1000); - - // Skip smaller time resolution info since we're lucky if Java's - // timer can handle more than millisecond precision, anyway - dis.skipBytes(4); - - pid(dis.readInt()); - - // Does readFully() allocate space for the buffer? Either - // way, we won't have memory leaks :-) - int dataLength = (int) (length_ - numIntMembers * sizeofIntInBytes); - msgData_ = new byte[dataLength]; - dis.readFully(msgData_, 0, dataLength); - } - - public void streamOutTo(DataOutputStream dos) throws IOException - { - dos.writeInt(length()); - dos.writeInt(type()); - dos.writeInt(length()); - dos.writeInt((int)(this.msec_ / 1000)); - dos.writeInt(0); - dos.writeInt(pid()); - - dos.write(msgData_); - } - - /** - * Accessor methods - */ - public int type() { return type_; } - public void type(int t) { type_ = t; } - - public int length() { return length_; } - public void length(int l) { length_ = l; } - private void setLen(int msgLen) - { length(msgLen + numIntMembers * sizeofIntInBytes); } - - public long timeStamp() { return this.msec_; } - public void timeStamp(long msec){ this.msec_ = msec; } - - public int pid() { return pid_; } - public void pid(int p) { pid_ = p; } - - public byte[] msgData() { return msgData_; } - public void msgData(byte[] m) - { - int size = m.length; - - if (size > MAXLOGMSGLEN) - size = MAXLOGMSGLEN; - - this.msgData_ = new byte[size]; - - System.arraycopy(m, 0, msgData_, 0, size); - - setLen(size); - } - - public void msgData(String m) - { - byte temp[] = m.getBytes(); - if (temp.length > MAXLOGMSGLEN) { - this.msgData_ = new byte[MAXLOGMSGLEN]; - - System.arraycopy(temp, 0, msgData_, 0, MAXLOGMSGLEN); - } else - this.msgData_ = temp; - - setLen(msgData_.length); - } -}; - diff --git a/java/netsvcs/Logger/Makefile b/java/netsvcs/Logger/Makefile deleted file mode 100644 index 0f024034839..00000000000 --- a/java/netsvcs/Logger/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = $(WRAPPER_ROOT)/java - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - -files = LogMessageReceiver.java \ - DefaultLMR.java \ - LogRecord.java \ - ServerLoggingAcceptor.java \ - ServerLoggingHandler.java - -packages = netsvcs \ - netsvcs.Logger - -realclean: - /bin/rm -rf ${JACE_WRAPPER}/classes/netsvcs/Logger - diff --git a/java/netsvcs/Logger/ServerLoggingAcceptor.java b/java/netsvcs/Logger/ServerLoggingAcceptor.java deleted file mode 100644 index d5d4ae5220d..00000000000 --- a/java/netsvcs/Logger/ServerLoggingAcceptor.java +++ /dev/null @@ -1,171 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Logger - * - * = FILENAME - * ServerLoggingAcceptor.java - * - *@author Chris Cleeland, Everett Anderson - * - *************************************************/ -package netsvcs.Logger; - -import JACE.SOCK_SAP.*; -import JACE.Connection.*; -import JACE.OS.*; -import java.io.*; -import java.net.*; -import JACE.Misc.*; - -/** - * - *

    DESCRIPTION

    - * - *
    - * Acceptor: Listens on a specified port and launches ServerLoggingHandlers - * in response to requests. A LogMessageReceiver can be specified on the - * command line to change the way the logging service processes messages. - * - * @see netsvcs.Logger.ServerLoggingHandler, netsvcs.Logger.LogMessageReceiver - */ -public class ServerLoggingAcceptor extends Acceptor implements Runnable -{ - /** Main function to bootstrap the process - * - * Command line arguments: - * - * -p Select a port for listening for requests - * -r Specify a LogMessageReceiver (make sure it's a full class name) - * - */ - public static void main (String [] args) - { - ServerLoggingAcceptor sla = new ServerLoggingAcceptor(); - - sla.init(args); - } - - /** - * Receives the command line and launches its own thread - */ - public int init (String [] args) - { - this.parseArgs(args); - - // If the user didn't specify a LogMessageReceiver, use the default - // (which just calls a print method on LogMessage) - if (this.receiver_ == null) - this.receiver_ = new DefaultLMR(); - - new Thread (this).start(); - return 0; - } - - /** - * Specify what LogMessageReceiver to use - */ - public void setLMR(LogMessageReceiver receiver) - { - this.receiver_ = receiver; - } - - /** - * Accessor for the LogMessageReceiver - */ - public LogMessageReceiver getLMR () - { - return this.receiver_; - } - - /** - * Create a new ServerLoggingHandler - */ - protected SvcHandler makeSvcHandler () - throws InstantiationException, IllegalAccessException - { - return new netsvcs.Logger.ServerLoggingHandler (this.receiver_); - } - - /** - * Run forever accepting new connections - */ - public void run () - { - try { - - this.open (this.port_); - while (true) - this.accept(); - - } catch (SocketException e) - { - ACE.ERROR ("Socket Exception: " + e); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - - ACE.ERROR("ServerLoggingAcceptor has exited"); - } - - /** - * Process the command line - */ - protected void parseArgs (String args[]) - { - String s; - GetOpt opt = new GetOpt (args, "p:r:"); - for (int c; (c = opt.next ()) != -1; ) - { - switch (c) - { - case 'p': - s = opt.optarg (); - this.port_ = (new Integer (s)).intValue (); - break; - case 'r': - // Load the LMR with the given name - s = new String(opt.optarg ()); - Class LMRfactory; - try { - LMRfactory = Class.forName(s); - - receiver_ = (LogMessageReceiver)LMRfactory.newInstance(); - - } catch (ClassNotFoundException e) { - ACE.ERROR("Unable to find LMR factory: " + e); - } catch (InstantiationException e) { - ACE.ERROR("Creating LMR: " + e); - } catch (IllegalAccessException e) { - ACE.ERROR("Creating LMR: " + e); - } - // Any of the above exceptions will result in just using the - // default LMR - break; - default: - ACE.ERROR ("Unknown argument: " + c); - ACE.ERROR ("Valid args: -p -r "); - break; - } - } - } - - private int port_ = ACE.DEFAULT_SERVER_PORT; - private LogMessageReceiver receiver_ = null; -}; - - - - - - diff --git a/java/netsvcs/Logger/ServerLoggingHandler.java b/java/netsvcs/Logger/ServerLoggingHandler.java deleted file mode 100644 index 9088e17d9d1..00000000000 --- a/java/netsvcs/Logger/ServerLoggingHandler.java +++ /dev/null @@ -1,123 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Logger - * - * = FILENAME - * ServerLoggingHandler.java - * - *@author Chris Cleeland, Everett Anderson - * - *************************************************/ -package netsvcs.Logger; - -import JACE.SOCK_SAP.*; -import JACE.Connection.*; -import JACE.OS.*; -import java.util.*; -import java.io.*; - -/** - * - *

    DESCRIPTION

    - * - *
    - * Created by ServerLoggingAcceptor every time a client connects. This reads - * a logging statement passes it to the LogMessageReceiver for processing. - *
    - * - * @see netsvcs.Logger.ServerLoggingAcceptor - */ -public class ServerLoggingHandler extends SvcHandler -{ - // Processes log messages - private LogMessageReceiver receiver_; - - /** - * Constructor - * - *@param receiver LogMessageReceiver that handles what to do with a message - */ - public ServerLoggingHandler (LogMessageReceiver receiver) - { - super(); - this.receiver_ = receiver; - } - - /** - * Start this handler in its own thread - */ - public int open(Object obj) - { - new Thread (this).start(); - return 0; - } - - /** - * Accessor: get the host name of the connected client - */ - protected String hostName () - { - return new String(this.peer().socket().getInetAddress().getHostName()); - } - - /** - * Receive input from the client, and send it to the LMR. This is the - * main loop for this thread. - */ - public void run() - { - DataInputStream dis = new DataInputStream(this.peer().inputStream()); - - for (;;) - { - // Messages arrive in the following format: - // o 4 byte length (network format) - // o message, in ACE.LogRecord format - // - // Hey! We need exception catching in here too! - try - { - // Reconstitute a log message from the wire - LogRecord rec = new LogRecord(); - - // We don't really need this, because - // the object already knows how to - // extract itself properly. However, - // in order to interoperate with the - // C++ version, this must be extracted. - // Plus, it makes a convenient way to - // check everything. - int length = dis.readInt(); - - rec.streamInFrom(dis); - - if (rec.length() == length) - { - // Give the record to the log processor - this.receiver_.logRecord(this.hostName(), - rec); - } - else - { - ACE.ERROR(Thread.currentThread().getName() + ": Length error"); - } - } - catch (EOFException eof) - { - try { - this.stream_.close(); - } catch (IOException n) { } - - return; - } - catch (IOException ioe) - { - ACE.ERROR(Thread.currentThread().getName() - + ": " - + ioe); - } - } - } -}; - diff --git a/java/netsvcs/Time/Clerk.java b/java/netsvcs/Time/Clerk.java deleted file mode 100755 index f29e08e06f8..00000000000 --- a/java/netsvcs/Time/Clerk.java +++ /dev/null @@ -1,23 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// netsvcs.Time -// -// = FILENAME -// Clerk.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package netsvcs.Time; - -// Test driver for the time server clerk -public class Clerk -{ - public static void main (String [] args) - { - TSClerkProcessor clerk = new TSClerkProcessor (); - clerk.init (args); - } -} diff --git a/java/netsvcs/Time/Makefile b/java/netsvcs/Time/Makefile deleted file mode 100755 index b6dc6dd02ea..00000000000 --- a/java/netsvcs/Time/Makefile +++ /dev/null @@ -1,27 +0,0 @@ - -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = $(WRAPPER_ROOT)/java - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - -files = TSClerkProcessor.java \ - TSClerkHandler.java \ - TSRequestAcceptor.java \ - TSRequestHandler.java \ - TSServerAcceptor.java \ - TSServerHandler.java \ - Clerk.java \ - Server.java - -packages = netsvcs \ - netsvcs.Time - -realclean: - /bin/rm -rf ${JACE_WRAPPER}/classes/netsvcs/Time - diff --git a/java/netsvcs/Time/Server.java b/java/netsvcs/Time/Server.java deleted file mode 100755 index 6b44ddf8d9f..00000000000 --- a/java/netsvcs/Time/Server.java +++ /dev/null @@ -1,23 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// netsvcs.Time -// -// = FILENAME -// Server.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package netsvcs.Time; - -// Test driver for the time service server -public class Server -{ - public static void main (String [] args) - { - TSServerAcceptor server = new TSServerAcceptor (); - server.init (args); - } -} diff --git a/java/netsvcs/Time/TSClerkHandler.java b/java/netsvcs/Time/TSClerkHandler.java deleted file mode 100755 index fc89b69c45c..00000000000 --- a/java/netsvcs/Time/TSClerkHandler.java +++ /dev/null @@ -1,296 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Time - * - * = FILENAME - * TS_Clerk_Handler.java - * - *@author Prashant Jain, Everett Anderson - * - *************************************************/ -package netsvcs.Time; - -import java.io.*; -import java.util.Date; -import JACE.OS.*; -import JACE.Connection.*; -import JACE.Reactor.*; -import JACE.ASX.TimeValue; - -/** - *
    - *

    SYNOPSIS

    - * - *
    Requests the remote time on a server at regular - * intervals.
    - * - *

    DESCRIPTION

    - * - *
    TSClerkHandlers are created by a TSClerkProcessor. There - * is one handler for each server that the Clerk Processor factors into - * its calculations.
    - */ -public class TSClerkHandler extends SvcHandler -{ - /** - * Constructor. TSClerkProcessor specifies the server machine and - * port, as well as the interval at which to make the query. - */ - public TSClerkHandler (String hostname, - int port, - TimerQueue tq, - int timeout, - TSClerkProcessor parent) - { - - this.hostname_ = hostname; - this.port_ = port; - this.tq_ = tq; - this.timeout_ = timeout; - - this.initialTimeout_ = timeout; - this.processor_ = parent; - - this.sendMsg_ = new String ("TIME_UPDATE_REQUEST"); - } - - /** - * Called to start this handler in a new thread. This only - * does it when the state of the handler is INITIALIZING. - */ - public int open (Object obj) - { - if (this.state_ != RECONNECTING) { - - Thread test = new Thread(this); - - new Thread (this).start (); - - } - return 0; - } - - /** - * Accessor - return the host name of the server - */ - public String hostname () - { - return this.hostname_; - } - - /** - * Accessor - return the port used to contact the server - */ - public int port () - { - return this.port_; - } - - /** - * Accessor - returns the difference between the local time and - * the remote server. - */ - public long delta () - { - return this.delta_; - } - - /** - * Called when the thread starts. Schedules itself with the - * timer queue. - */ - public void run () - { - this.timerId_ = this.tq_.scheduleTimer (this, - null, - new TimeValue (this.timeout_), - new TimeValue (this.timeout_)); - - } - - /** - * Accessor - return the state - */ - public int state() - { - return this.state_; - } - - /** - * Sets the state of the handler - */ - public void state(int newState) - { - this.state_ = newState; - } - - /** - * Provides a new time out interval (exponentially increasing) so - * that if the server doesn't respond, we don't keep trying to - * reconnect as often. Maximum value is 5 minutes. - */ - public int recalculateTimeout() - { - this.timeout_ *= 2; - - if (this.timeout_ > this.max_timeout_) - this.timeout_ = max_timeout_; - - return this.timeout_; - } - - /** - * Start the recovery from a server disconnection by closing the - * port and recalculating the timeout value. - */ - protected void errorRecovery() - { - ACE.DEBUG("Time Service failure with server " + this.hostname_); - - this.timeout_ = this.recalculateTimeout(); - - this.reschedule(); - } - - /** - * Removes this handler from the timer queue, and reschedules it - * (presumably with a new timeout value) - */ - public void reschedule() - { - this.tq_.cancelTimer(this); - - this.timerId_ = this.tq_.scheduleTimer (this, - null, - new TimeValue (this.timeout_), - new TimeValue (this.timeout_)); - } - - /** - * Called back by the timer queue. If the handler isn't connected, - * it tries to reconnect to the server. Otherwise, it requests - * the remote time. The server is said to have disconnected when - * an exception is thrown in the socket system, or the result is - * a string with length <= 0. - */ - public int handleTimeout (TimeValue tv, Object obj) - { - if (this.state_ != CONNECTED) { - - this.processor_.initiateConnection(this); - - // If still not connected - if (this.state_ != CONNECTED) { - - // used to set state to reconnecting here - this.state_ = RECONNECTING; - - // Reschedule to try again later - this.errorRecovery(); - return 0; - } - - // If connected, poll the server at the requested intervals - this.resetTimeout(); - } - - StringBuffer ack = new StringBuffer (); - int ackLen; - try - { - // Used to calculate the turn-around time - long sendTime = System.currentTimeMillis(); - - this.peer ().send(this.sendMsg_); - ackLen = this.peer ().recv (ack); - - long recvTime = System.currentTimeMillis(); - - if (ackLen <= 0) { - - this.state_ = DISCONNECTED; - return -1; - - } else { - - long delta = (new Long(ack.toString())).longValue() - recvTime; - - delta += (recvTime - sendTime) / 2; - - this.delta_ = delta; - - System.err.println("Delta: " + this.delta_); - } - - } - catch (NullPointerException e) - { - ACE.ERROR ("connection reset by peer"); - this.state_ = DISCONNECTED; - return -1; - } - catch (IOException e) - { - ACE.ERROR (e); - this.state_ = DISCONNECTED; - return -1; - } - - return 0; - } - - /** - * Resets the timer interval to be the one supplied to the - * constructor. - */ - public void resetTimeout() - { - this.timeout_ = this.initialTimeout_; - - this.reschedule(); - } - - private TSClerkProcessor processor_; - // Reference used to re-establish connections - - public static final int MAX_RETRY_TIMEOUT = 300; - // Wait at most 5 minutes before trying to reconnect - - // States - public static final int CONNECTED = 0; - public static final int DISCONNECTED = 1; - public static final int RECONNECTING = 2; - - // If there has been a failure, try reconnecting - // at least every MAX_RETRY_TIMEOUT seconds - private int max_timeout_ = MAX_RETRY_TIMEOUT; - - // State of the handler - private int state_ = DISCONNECTED; - - // Difference between the remote time and the local time. - private long delta_ = 0; - - // Name of the remote host - private String hostname_; - - // Port used for the connection - private int port_; - - // Current timer interval - private int timeout_; - - // Reference to the Clerk Processor's timer queue - private TimerQueue tq_; - - // Message to send for a time update - private String sendMsg_; - - // ID of the handler in the queue - private int timerId_; - - // Desired time interval to receive updates - private int initialTimeout_; - -} diff --git a/java/netsvcs/Time/TSClerkProcessor.java b/java/netsvcs/Time/TSClerkProcessor.java deleted file mode 100755 index d7b1773cc9e..00000000000 --- a/java/netsvcs/Time/TSClerkProcessor.java +++ /dev/null @@ -1,267 +0,0 @@ -/************************************************* - * - * = PACKAGE - * netsvcs.Time - * - * = FILENAME - * TSClerkProcessor.java - * - *@author Prashant Jain, Everett Anderson - * - *************************************************/ -package netsvcs.Time; - -import java.io.*; -import java.net.*; -import java.util.*; -import JACE.OS.*; -import JACE.Misc.*; -import JACE.Connection.*; -import JACE.Reactor.*; -import JACE.ASX.TimeValue; - -/** - * - *
    - *

    SYNOPSIS

    - * - *
    Monitors a specified port (default 7989) and launches - * TSClerkHandlers when connections are made. The handlers communicate - * with servers and calculate the difference between the server time - * and local time. The Clerk Processor averages these differences - * and reports them to clients.
    - * - *

    DESCRIPTION

    - * - *
    This doesn't actually change the system clock, but it - * provides the average of the differences of the local and server - * times. A client could use this information to adjust the clock, or - * just use the midpoint to determine the correct network time.
    - * - */ -public class TSClerkProcessor extends Connector implements Runnable -{ - /** - * Default constructor - */ - public TSClerkProcessor () - { - this.serverArray_ = new Vector (); - - } - - /** - * Parse the command line, setup the TSRequestAcceptor, and run - * the Clerk Processor in its own thread. - */ - public int init (String [] args) - { - // Parse arguments - this.parseArgs (args); - - TSRequestAcceptor ra = new TSRequestAcceptor (this); - ra.init (args); - - // Run in own thread of control so that we don't block the caller - new Thread (this).start (); - return 0; - } - - - /** - * Makes connections to the servers, schedules itself for intervals - * to update the delta time. - */ - public void run () - { - - // Set up connections with all servers - Enumeration table = this.serverArray_.elements (); - while (table.hasMoreElements ()) - { - this.initiateConnection((TSClerkHandler)table.nextElement()); - } - - // Set up timer - this.timer_id_ = this.tq_.scheduleTimer (this, - null, - new TimeValue (this.timeout_), - new TimeValue (this.timeout_)); - } - - /** - * Makes connections to the servers. - */ - public void initiateConnection (TSClerkHandler handler) - { - this.open (handler.hostname(), handler.port()); - - try - { - // Connect to the server - this.connect (handler); - - // Set the state of the Clerk Handler so it queries the - // server at intervals. - handler.state(TSClerkHandler.CONNECTED); - - } - catch (UnknownHostException e) - { - ACE.ERROR (e); - } - catch (SocketException e) - { - ACE.ERROR ("Connection refused"); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - - /** - * - * Called by the timer queue. Calls updateTime(). - */ - public int handleTimeout (TimeValue tv, Object obj) - { - return this.updateTime (); - } - - /** - * Calculates the delta time by averaging the results from - * Clerk Handler delta()'s. It only includes handlers whose - * state is currently CONNECTED. If they're not connected, it - * reschedules them to begin the error correction process of - * trying to reconnect to the server (possible synch problems?). - */ - protected int updateTime () - { - TSClerkHandler handler; - int count = 0; - long totalDeltaTime = 0; - - Enumeration table = this.serverArray_.elements (); - - while (table.hasMoreElements ()) - { - handler = (TSClerkHandler) table.nextElement (); - - if (handler.state() != TSClerkHandler.CONNECTED) { - - // Reconnecting state means we don't need to put - // it in the timer queue again - if (handler.state() == TSClerkHandler.RECONNECTING) - continue; - else - if (handler.state() == TSClerkHandler.DISCONNECTED) - handler.state(TSClerkHandler.RECONNECTING); - - handler.errorRecovery(); - continue; - } - - long delta = handler.delta(); - - ACE.DEBUG(handler.hostname() + ": " + delta); - - totalDeltaTime += delta; - count++; - } - - if (count > 0) { - - this.timeDelta_ = totalDeltaTime / count; - - ACE.DEBUG("Average deviation: " + totalDeltaTime/count); - - } else - - this.timeDelta_ = 0; - - return 0; - } - - /** - * Return the delta time. - */ - public long getDelta() - { - return this.timeDelta_; - } - - /** - * Parse the command line. Watches for -t
    - * MessageQueue is the central queueing facility for messages - * in the ASX framework. All operations are thread-safe, as it is intended - * to be used for inter-thread communication (e.g., a producer and - * consumer thread joined by a MessageQueue). The queue - * consiste of MessageBlocks. - *
    - * - *@see MessageBlock,TimeValue - */ -public class MessageQueue -{ - /** - * Default constructor - */ - public MessageQueue () - { - this (DEFAULT_HWM, DEFAULT_LWM); - } - - /** - * Create a Message Queue with high and low water marks. - *@param hwm High water mark (max number of bytes allowed in the - * queue) - *@param lwm Low water mark (min number of bytes in the queue) - */ - public MessageQueue (int hwm, int lwm) - { - if (this.open (hwm, lwm) == -1) - ACE.ERROR ("open"); - } - - /** - * Initialize a Message Queue with high and low water marks. - *@param hwm High water mark (max number of bytes allowed in the - * queue) - *@param lwm Low water mark (min number of bytes in the queue) - */ - public synchronized int open (int hwm, int lwm) - { - this.highWaterMark_ = hwm; - this.lowWaterMark_ = lwm; - this.deactivated_ = false; - this.currentBytes_ = 0; - this.currentCount_ = 0; - this.tail_ = null; - this.head_ = null; - return 0; - } - - // = For enqueue, enqueueHead, enqueueTail, and dequeueHead if - // timeout is specified, the caller will wait for amount of time in - // tv. Calls will return, however, when queue is closed, - // deactivated, or if the time specified in tv elapses. - - /** - * Enqueue a into the in accordance - * with its (0 is lowest priority). Note that the - * call will block (unless the queue has been deactivated). - *@param newItem item to enqueue onto the Message Queue - *@return -1 on failure, else the number of items still on the queue. - */ - public synchronized int enqueue (MessageBlock newItem) throws InterruptedException - { - return this.enqueue (newItem, null); - } - - /** - * Enqueue a into the in accordance - * with its (0 is lowest priority). Note that the - * call will return if amount of time expires or if the - * queue has been deactivated. - *@param newItem item to enqueue onto the Message Queue - *@param tv amount of time (TimeValue) to wait before returning - * (unless operation completes before) - *@return -1 on failure, else the number of items still on the - * queue. - */ - public synchronized int enqueue (MessageBlock newItem, - TimeValue tv) throws InterruptedException - { - int result = -1; - if (this.deactivated_) - return -1; - try - { - if (tv == null) // Need to do a blocking wait - notFullCondition_.timedWait (); - else // Need to do a timed wait - notFullCondition_.timedWait (tv); - } - catch (TimeoutException e) - { - return -1; - } - - // Check again if queue is still active - if (this.deactivated_) - return -1; - else - result = this.enqueueInternal (newItem); - - // Tell any blocked threads that the queue has a new item! - this.notEmptyCondition_.broadcast (); - return result; - } - - /** - * Enqueue a at the end of the . Note - * that the call will block (unless the queue has been deactivated). - *@param newItem item to enqueue onto the Message Queue - *@return -1 on failure, else the number of items still on the queue. - */ - public synchronized int enqueueTail (MessageBlock newItem) throws InterruptedException - { - return this.enqueueTail (newItem, null); - } - - /** - * Enqueue a at the end of the . Note - * that the call will return if amount of time expires or - * if the queue has been deactivated. - *@param newItem item to enqueue onto the Message Queue - *@param tv amount of time (TimeValue) to wait before returning - * (unless operation completes before) - *@return -1 on failure, else the number of items still on the queue. - */ - public synchronized int enqueueTail (MessageBlock newItem, - TimeValue tv) throws InterruptedException - { - int result = -1; - if (this.deactivated_) - return -1; - try - { - if (tv == null) // Need to do a blocking wait - notFullCondition_.timedWait (); - else // Need to do a timed wait - notFullCondition_.timedWait (tv); - } - catch (TimeoutException e) - { - return -1; - } - - // Check again if queue is still active - if (this.deactivated_) - return -1; - else - result = this.enqueueTailInternal (newItem); - - // Tell any blocked threads that the queue has a new item! - this.notEmptyCondition_.broadcast (); - return result; - } - - /** - * Enqueue a at the head of the . Note - * that the call will block (unless the queue has been deactivated). - *@param newItem item to enqueue onto the Message Queue - *@return -1 on failure, else the number of items still on the queue. - */ - public synchronized int enqueueHead (MessageBlock newItem) throws InterruptedException - { - return this.enqueueHead (newItem, null); - } - - /** - * Enqueue a at the head of the . Note - * that the call will return if amount of time expires or - * if the queue has been deactivated. - *@param newItem item to enqueue onto the Message Queue - *@param tv amount of time (TimeValue) to wait before returning - * (unless operation completes before) - *@return -1 on failure, else the number of items still on the queue. - */ - public synchronized int enqueueHead (MessageBlock newItem, - TimeValue tv) throws InterruptedException - { - int result = -1; - if (this.deactivated_) - return -1; - try - { - if (tv == null) // Need to do a blocking wait - notFullCondition_.timedWait (); - else // Need to do a timed wait - notFullCondition_.timedWait (tv); - } - catch (TimeoutException e) - { - return -1; - } - - // Check again if queue is still active - if (this.deactivated_) - return -1; - else - result = this.enqueueHeadInternal (newItem); - - // Tell any blocked threads that the queue has a new item! - this.notEmptyCondition_.broadcast (); - return result; - } - - /** - * Dequeue and return the at the head of the - * . Note that the call will block (unless the queue - * has been deactivated). - *@return null on failure, else the at the head of queue. - */ - public synchronized MessageBlock dequeueHead () throws InterruptedException - { - return this.dequeueHead (null); - } - - /** - * Dequeue and return the at the head of the - * . Note that the call will return if - * amount of time expires or if the queue has been deactivated. - *@return null on failure, else the at the head of queue. - */ - public synchronized MessageBlock dequeueHead (TimeValue tv) throws InterruptedException - { - MessageBlock result = null; - if (this.deactivated_) - return null; - try - { - if (tv == null) // Need to do a blocking wait - notEmptyCondition_.timedWait (); - else // Need to do a timed wait - notEmptyCondition_.timedWait (tv); - } - catch (TimeoutException e) - { - return null; - } - - // Check again if queue is still active - if (this.deactivated_) - return null; - else - result = this.dequeueHeadInternal (); - - // Tell any blocked threads that the queue has room for an item! - this.notFullCondition_.broadcast (); - return result; - } - - /** - * Check if queue is full. - *@return true if queue is full, else false. - */ - public synchronized boolean isFull () - { - return this.isFullInternal (); - } - - /** - * Check if queue is empty. - *@return true if queue is empty, else false. - */ - public synchronized boolean isEmpty () - { - return this.isEmptyInternal (); - } - - /** - * Get total number of bytes on the queue. - *@return total number number of bytes on the queue - */ - public int messageBytes () - { - return this.currentBytes_; - } - - /** - * Get total number of messages on the queue. - *@return total number number of messages on the queue - */ - public int messageCount () - { - return this.currentCount_; - } - - // = Flow control routines - - /** - * Get high watermark. - *@return high watermark - */ - public int highWaterMark () - { - return this.highWaterMark_; - } - - /** - * Set high watermark. - *@param hwm high watermark - */ - public void highWaterMark (int hwm) - { - this.highWaterMark_ = hwm; - } - - /** - * Get low watermark. - *@return low watermark - */ - public int lowWaterMark () - { - return this.lowWaterMark_; - } - - /** - * Set low watermark. - *@param lwm low watermark - */ - public void lowWaterMark (int lwm) - { - this.lowWaterMark_ = lwm; - } - - // = Activation control methods. - - /** - * Deactivate the queue and wakeup all threads waiting on the queue - * so they can continue. No messages are removed from the queue, - * however. Any other operations called until the queue is - * activated again will immediately return -1. - *@return WAS_INACTIVE if queue was inactive before the call and - * WAS_ACTIVE if queue was active before the call. - */ - public synchronized int deactivate () - { - return this.deactivateInternal (); - } - - - /** - * Reactivate the queue so that threads can enqueue and dequeue - * messages again. - *@return WAS_INACTIVE if queue was inactive before the call and - * WAS_ACTIVE if queue was active before the call. - */ - public synchronized int activate () - { - return this.activateInternal (); - } - - protected boolean isEmptyInternal () - { - // Not sure about this one!!!! - return this.currentBytes_ <= this.lowWaterMark_ && this.currentCount_ <= 0; - } - - protected boolean isFullInternal () - { - return this.currentBytes_ > this.highWaterMark_; - } - - protected int deactivateInternal () - { - int currentStatus = - this.deactivated_ ? WAS_INACTIVE : WAS_ACTIVE; - - this.notFullCondition_.broadcast (); - this.notEmptyCondition_.broadcast (); - - this.deactivated_ = true; - return currentStatus; - } - - protected int activateInternal () - { - int currentStatus = - this.deactivated_ ? WAS_INACTIVE : WAS_ACTIVE; - this.deactivated_ = false; - - return currentStatus; - } - - protected int enqueueTailInternal (MessageBlock newItem) - { - if (newItem == null) - return -1; - - // List was empty, so build a new one. - if (this.tail_ == null) - { - this.head_ = newItem; - this.tail_ = newItem; - newItem.next (null); - newItem.prev (null); - } - // Link at the end. - else - { - newItem.next (null); - this.tail_.next (newItem); - newItem.prev (this.tail_); - this.tail_ = newItem; - } - - if (newItem.msgType() != MessageType.MB_OBJECT) - { - // Make sure to count *all* the bytes in a composite message!!! - for (MessageBlock temp = newItem; - temp != null; - temp = temp.cont ()) - this.currentBytes_ += temp.size (); - } - - this.currentCount_++; - return this.currentCount_; - } - - protected int enqueueHeadInternal (MessageBlock newItem) - { - if (newItem == null) - return -1; - - newItem.prev (null); - newItem.next (this.head_); - - if (this.head_ != null) - this.head_.prev (newItem); - else - this.tail_ = newItem; - - this.head_ = newItem; - - if (newItem.msgType() != MessageType.MB_OBJECT) - { - // Make sure to count *all* the bytes in a composite message!!! - for (MessageBlock temp = newItem; - temp != null; - temp = temp.cont ()) - this.currentBytes_ += temp.size (); - } - - this.currentCount_++; - - return this.currentCount_; - } - - protected int enqueueInternal (MessageBlock newItem) - { - if (newItem == null) - return -1; - - if (this.head_ == null) - // Check for simple case of an empty queue, where all we need to - // do is insert into the head. - return this.enqueueHeadInternal (newItem); - else - { - MessageBlock temp; - - // Figure out where the new item goes relative to its priority. - - for (temp = this.head_; - temp != null; - temp = temp.next ()) - { - if (temp.msgPriority () <= newItem.msgPriority ()) - // Break out when we've located an item that has lower - // priority that . - break; - } - - if (temp == null) - // Check for simple case of inserting at the end of the queue, - // where all we need to do is insert after the - // current tail. - return this.enqueueTailInternal (newItem); - else if (temp.prev () == null) - // Check for simple case of inserting at the beginning of the - // queue, where all we need to do is insert before - // the current head. - return this.enqueueHeadInternal (newItem); - else - { - // Insert the message right before the item of equal or lower - // priority. - newItem.next (temp); - newItem.prev (temp.prev ()); - temp.prev ().next (newItem); - temp.prev (newItem); - } - } - - if (newItem.msgType() != MessageType.MB_OBJECT) - { - // Make sure to count *all* the bytes in a composite message!!! - for (MessageBlock temp = newItem; - temp != null; - temp = temp.cont ()) - this.currentBytes_ += temp.size (); - } - - this.currentCount_++; - return this.currentCount_; - } - - protected MessageBlock dequeueHeadInternal () - { - MessageBlock firstItem = this.head_; - this.head_ = this.head_.next (); - - if (this.head_ == null) - this.tail_ = null; - - if (firstItem.msgType() != MessageType.MB_OBJECT) - { - // Make sure to subtract off all of the bytes associated with this - // message. - for (MessageBlock temp = firstItem; - temp != null; - temp = temp.cont ()) - this.currentBytes_ -= temp.size (); - } - - this.currentCount_--; - return firstItem; - } - - - /** Default high watermark (16 K). */ - public final static int DEFAULT_HWM = 16 * 1024; - - /** Default low watermark. */ - public final static int DEFAULT_LWM = 0; - - /** Message queue was active before activate() or deactivate(). */ - public final static int WAS_ACTIVE = 1; - - /** Message queue was inactive before activate() or deactivate(). */ - public final static int WAS_INACTIVE = 2; - - private int highWaterMark_; - // Greatest number of bytes before blocking. - - private int lowWaterMark_; - // Lowest number of bytes before unblocking occurs. - - private boolean deactivated_; - // Indicates that the queue is inactive. - - private int currentBytes_; - // Current number of bytes in the queue. - - private int currentCount_; - // Current number of messages in the queue. - - private MessageBlock head_; - // Head of Message_Block list. - - private MessageBlock tail_; - // Tail of Message_Block list. - - // The Delegated Notification mechanisms. - private NotFullCondition notFullCondition_ = new NotFullCondition (this); - private NotEmptyCondition notEmptyCondition_ = new NotEmptyCondition (this); - -} diff --git a/java/src/MessageType.java b/java/src/MessageType.java deleted file mode 100644 index 62c34455854..00000000000 --- a/java/src/MessageType.java +++ /dev/null @@ -1,110 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * MessageType.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -/** - *
    - *

    SYNOPSIS

    - *
    - * Message types used by ACE.MessageBlock. - *
    - * - *

    DESCRIPTION

    - *
    - * Defines bit masks used to identify various types of messages. - *
    - * - *

    NOTES

    - *
    - * This class is not intended to be instantiable. - *
    - */ -public class MessageType -{ - // = Data and protocol messages (regular and priority) - /** regular data */ - public static final int MB_DATA = 0x01; - - /** protocol control */ - public static final int MB_PROTO = 0x02; - - /** regular data */ - public static final int MB_OBJECT = 0x09; - - - // = Control messages (regular and priority) - /** line break */ - public static final int MB_BREAK = 0x03; - - /** pass file pointer */ - public static final int MB_PASSFP = 0x04; - - /** post an event to an event queue */ - public static final int MB_EVENT = 0x05; - - /** generate process signal */ - public static final int MB_SIG = 0x06; - - /** ioctl; set/get params */ - public static final int MB_IOCTL = 0x07; - - /** set various stream head options */ - public static final int MB_SETOPTS = 0x08; - - - // = Control messages (high priority; go to head of queue) - /** acknowledge ioctl */ - public static final int MB_IOCACK = 0x81; - - /** negative ioctl acknowledge */ - public static final int MB_IOCNAK = 0x82; - - /** priority proto message */ - public static final int MB_PCPROTO = 0x83; - - /** generate process signal */ - public static final int MB_PCSIG = 0x84; - - /** generate read notification */ - public static final int MB_READ = 0x85; - - /** flush your queues */ - public static final int MB_FLUSH = 0x86; - - /** stop transmission immediately */ - public static final int MB_STOP = 0x87; - - /** restart transmission after stop */ - public static final int MB_START = 0x88; - - /** line disconnect */ - public static final int MB_HANGUP = 0x89; - - /** fatal error used to set u.u_error */ - public static final int MB_ERROR = 0x8a; - - /** post an event to an event queue */ - public static final int MB_PCEVENT = 0x8b; - - - /** Normal priority messages */ - public static final int MB_NORMAL = 0x00; - - /** High priority control messages */ - public static final int MB_PRIORITY = 0x80; - - // Default private constructor to avoid instantiation - private MessageType () - { - } -} - diff --git a/java/src/Module.java b/java/src/Module.java deleted file mode 100644 index 6eb56bcbf43..00000000000 --- a/java/src/Module.java +++ /dev/null @@ -1,253 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * Module.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -import JACE.OS.*; - -/** - *
    - *

    SYNOPSIS

    - *
    - * Provides an abstraction for managing a bi-directional flow of - * messages. - *
    - * - *

    DESCRIPTION

    - *
    - * This is based on the Module concept in System V Streams, - * which contains a pair of Tasks, one for handling upstream - * processing, one for handling downstream processing. - *
    - */ -public class Module -{ - // = Initialization and termination methods. - - /** - * Create an empty Module. - */ - public Module () - { - // Do nothing... - this.name (""); - } - - /* - * Create an initialized module. - *@param modName identity of the module. - *@param writerQ writer task of the module. - *@param readerQ reader task of the module. - *@param flags Module flags - */ - public Module (String modName, - Task writerQ, - Task readerQ, - Object flags) - { - this.open (modName, writerQ, readerQ, flags); - } - - /* - * Create an initialized module. - *@param modName identity of the module. - *@param writerQ writer task of the module. - *@param readerQ reader task of the module. - *@param flags Module flags - */ - public void open (String modName, - Task writerQ, - Task readerQ, - Object arg) - { - this.name (modName); - this.arg_ = arg; - - if (writerQ == null) - writerQ = new ThruTask (); - if (readerQ == null) - readerQ = new ThruTask (); - - this.reader (readerQ); - this.writer (writerQ); - - // Setup back pointers. - readerQ.module (this); - writerQ.module (this); - } - - - /* - * Set the writer task. - *@param q the writer task - */ - public void writer (Task q) - { - this.qPair_[1] = q; - if (q != null) - q.flags (ACE.CLR_BITS (q.flags (), TaskFlags.ACE_READER)); - } - - /* - * Set the reader task. - *@param q the reader task - */ - public void reader (Task q) - { - this.qPair_[0] = q; - if (q != null) - q.flags (ACE.SET_BITS (q.flags (), TaskFlags.ACE_READER)); - } - - /* - * Link this Module on top of Module. - *@param m the module to link this on top of. - */ - public void link (Module m) - { - this.next (m); - this.writer ().next (m.writer ()); - m.reader ().next (this.reader ()); - } - - /* - * Set and get pointer to sibling Task in Module. - *@param orig the task to get the sibling for - *@return the sibling of the task - */ - public Task sibling (Task orig) - { - if (this.qPair_[0] == orig) - return this.qPair_[1]; - else if (this.qPair_[1] == orig) - return this.qPair_[0]; - else - return null; - } - - /* - * Close down the module and its tasks. - *@param flags Module flags - *@return 0 on success, -1 on failure - */ - public int close (long flags) - { - Task readerQ = this.reader (); - Task writerQ = this.writer (); - int result = 0; - - if (readerQ != null) - { - if (readerQ.close (flags) == -1) - result = -1; - readerQ.flush (flags); - readerQ.next (null); - } - - if (writerQ != null) - { - if (writerQ.close (flags) == -1) - result = -1; - writerQ.flush (flags); - writerQ.next (null); - } - - return result; - } - - /* - * Get the argument passed to tasks. - *@return the argument passed to tasks. - */ - public Object arg () - { - return this.arg_; - } - - /* - * Set the argument to be passed to tasks. - *@param a the argument to be passed to tasks. - */ - public void arg (Object a) - { - this.arg_ = a; - } - - /* - * Get the name of the module. - *@return the name of the module. - */ - public String name () - { - return this.name_; - } - - /* - * Set the name of the module. - *@param n the name of the module. - */ - public void name (String n) - { - this.name_ = n; - } - - /* - * Get the writer task of the module. - *@return the writer task of the module. - */ - public Task writer () - { - return this.qPair_[1]; - } - - /* - * Get the reader task of the module. - *@return the reader task of the module. - */ - public Task reader () - { - return this.qPair_[0]; - } - - /* - * Get the next pointer to the module above in the stream. - *@return the next pointer to the module above in the stream. - */ - public Module next () - { - return this.next_; - } - - /* - * Set the next pointer to the module above in the stream. - *@param m the next pointer to the module above in the stream. - */ - public void next (Module m) - { - this.next_ = m; - } - - private Task qPair_[] = new Task[2]; - // Pair of Tasks that form the "read-side" and "write-side" of the - // ACE_Module partitioning. - - private String name_ = null; - // Name of the ACE_Module. - - private Module next_; - // Next ACE_Module in the stack. - - private Object arg_; - // Argument passed through to the reader and writer task when they - // are opened. - -} - diff --git a/java/src/Mutex.java b/java/src/Mutex.java deleted file mode 100644 index 8daab4ff9eb..00000000000 --- a/java/src/Mutex.java +++ /dev/null @@ -1,92 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Concurrency - * - * = FILENAME - * Mutex.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Concurrency; - -import java.util.*; -import JACE.ASX.*; - -class TimedWaitMAdapter extends TimedWait -{ - TimedWaitMAdapter (Object obj) - { - super (obj); - } - - // Check to see if the lock is currently held or not. - public boolean condition () - { - return !this.inUse_; - } - - // Acquire/Release the lock - public void inUse (boolean c) - { - this.inUse_ = c; - } - - private boolean inUse_ = false; - // The actual lock -} - - -/** - *
    - *

    SYNOPSIS

    - *
    - * Value added abstraction for mutex variable creation. - *
    - * - *

    DESCRIPTION

    - *
    - * A timed mutex, i.e. a mutex whose operations do not - * block forever and can time out. - *
    - */ -public class Mutex -{ - /** - * Acquire the mutex. Note that this will block. - *@exception InterruptedException exception during wait - */ - public synchronized void acquire () throws InterruptedException - { - this.monitor_.timedWait (); - this.monitor_.inUse (true); - } - - /** - * Acquire the mutex. Note that the call will return if - * amount of time expires. - *@param tv amount of time (TimeValue) to wait before returning - * (unless operation completes before) - *@exception TimeoutException wait timed out exception - *@exception InterruptedException exception during wait - */ - public synchronized void acquire (TimeValue tv) throws - TimeoutException, InterruptedException - { - this.monitor_.timedWait (tv); - this.monitor_.inUse (true); - } - - /** - * Release the mutex. - */ - public synchronized void release () - { - this.monitor_.inUse (false); - this.monitor_.signal (); - } - - private TimedWaitMAdapter monitor_ = new TimedWaitMAdapter (this); - // The monitor (adapter) to wait on -} diff --git a/java/src/OS.java b/java/src/OS.java deleted file mode 100644 index c17fd6d07f2..00000000000 --- a/java/src/OS.java +++ /dev/null @@ -1,72 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.OS - * - * = FILENAME - * OS.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.OS; - -import java.util.StringTokenizer; - -/** - *
    - *

    SYNOPSIS

    - *
    - * Methods to extend the capabilities of the Java runtime system. - *
    - * - *

    DESCRIPTION

    - *
    - * This non-instantiable class contains little utility functions - * that should have been in Java to begin with :-) - *
    - */ -public class OS -{ - /** - * Create an array of Strings from a single String using as - * the delimiter. - *@param args the String to break up to make an array of Strings - *@param delim the delimeter to use to break the String up - *@return an array containing the original String broken up - */ - public static String [] createStringArray (String args, String delim) - { - // First determine the number of arguments - int count = 0; - StringTokenizer tokens = new StringTokenizer (args, delim); - while (tokens.hasMoreTokens ()) - { - tokens.nextToken (); - count++; - } - if (count == 0) - return null; - - // Create argument array - String [] argArray = new String [count]; - int index = 0; - tokens = new StringTokenizer (args, " "); - while (tokens.hasMoreTokens ()) - { - argArray [index] = tokens.nextToken (); - index++; - } - - // Assert index == count - if (index != count) - return null; - else - return argArray; - } - - // Default private constructor to avoid instantiation - private OS () - { - } -} diff --git a/java/src/ParseNode.java b/java/src/ParseNode.java deleted file mode 100644 index 6a4db754227..00000000000 --- a/java/src/ParseNode.java +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ParseNode.java - * - * Base class for the data types used in the parse tree for adjusting - * services. Things like SuspendNode extend this. They help connect - * CUP/JLex with the service configurator system. - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import JACE.OS.*; -import java_cup.runtime.*; - -public class ParseNode extends java_cup.runtime.symbol -{ - /** - * Constructor - * - */ - public ParseNode (int number) - { - super(number); - - this.name_ = new String("Uninitialized"); - } - - /** - * Initialize the service (subclasses - * may do more than set the name) - */ - public void init (String name) - { - this.name_ = name; - } - - /** - * Subclasses override to do real work, usually - * initiating a service or modifying one - */ - public void apply () - { - // Empty - } - - /** - * Retrive the service name - */ - public String name() - { - return this.name_; - } - - /** - * Set the name of the service - */ - public void name(String newName) - { - this.name_ = newName; - } - - String name_; -}; - - - diff --git a/java/src/ProfileTimer.java b/java/src/ProfileTimer.java deleted file mode 100644 index b7e9c908a13..00000000000 --- a/java/src/ProfileTimer.java +++ /dev/null @@ -1,48 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Timers - * - * = FILENAME - * ProfileTimer.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Timers; - -/** - *
    - *

    TITLE
    - * A Java wrapper for interval timers. - */ -public class ProfileTimer -{ - /** - * Start the timer. - */ - public void start () - { - this.startTime_ = java.lang.System.currentTimeMillis (); - } - - /** - * Stop the timer. - */ - public void stop () - { - this.stopTime_ = java.lang.System.currentTimeMillis (); - } - - /** - * Determine elapsed time between start and stop. - *@return Total elapsed time (stop - start). - */ - public long elapsedTime () - { - return this.stopTime_ - this.startTime_; - } - - private long startTime_; - private long stopTime_; -} diff --git a/java/src/RWMutex.java b/java/src/RWMutex.java deleted file mode 100644 index 1161d9a8618..00000000000 --- a/java/src/RWMutex.java +++ /dev/null @@ -1,174 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Concurrency - * - * = FILENAME - * RWMutex.java - * - *@author Ross Dargahi (rossd@krinfo.com), Prashant Jain, and Irfan Pyarali - * - *************************************************/ - -package JACE.Concurrency; - -import JACE.OS.*; - -/******************************************************************************* -*


    -* Description -*
    -* This class increments a read/write lock. A read/write lock allows multiple -* readers or a single writer to access the guarded element. -* This implementation is based on the C++ version of ACE. -*


    -* Notes -*
      -*
    • This class does not support recursive semantics -*
    -*******************************************************************************/ -public class RWMutex -{ - /** - * Acquires the write lock - * @exception InterruptedException Lock acquisition interrupted - **/ - public void acquire() - throws InterruptedException - { - acquireWrite(); - } - - /** - * Acquires the read lock - * @exception InterruptedException Lock acquisition interrupted - **/ - public void acquireRead() - throws InterruptedException - { - // make sure we start with no exception - InterruptedException exception_ = null; - - // grab lock - lock_.acquire (); - - // Give preference to writers who are waiting. - while (referenceCount_ < 0 || numberOfWaitingWriters_ > 0) - { - numberOfWaitingReaders_++; - try - { - waitingReaders_.Wait (); - } - catch (InterruptedException exception) - { - // cache exception - exception_ = exception; - } - numberOfWaitingReaders_--; - } - - if (exception_ == null) - // No errors - referenceCount_++; - - // make sure this is released in all cases - lock_.release (); - - if (exception_ != null) - // error: propogate - throw exception_; - } - - /** - * Acquires the write lock - * @exception InterruptedException Lock acquisition interrupted - **/ - public void acquireWrite() - throws InterruptedException - { - // make sure we start with no exception - InterruptedException exception_ = null; - - // grab lock - lock_.acquire (); - - // Give preference to writers who are waiting. - while (referenceCount_ != 0) - { - numberOfWaitingWriters_++; - try - { - waitingWriters_.Wait (); - } - catch (InterruptedException exception) - { - // cache exception - exception_ = exception; - } - numberOfWaitingWriters_--; - } - - if (exception_ == null) - // No errors - referenceCount_ = -1; - - // make sure this is released in all cases - lock_.release (); - - if (exception_ != null) - // error: propogate - throw exception_; - } - - /** - * Release held lock - * @exception InterruptedException Lock acquisition interrupted - **/ - public void release() - throws InterruptedException - { - lock_.acquire (); - - // Releasing a reader. - if (referenceCount_ > 0) - referenceCount_--; - else - // Releasing a writer. - if (referenceCount_ == -1) - referenceCount_ = 0; - - // Give preference to writers over readers... - if (numberOfWaitingWriters_ > 0) - { - waitingWriters_.signal (); - } - else if (numberOfWaitingReaders_ > 0) - { - waitingReaders_.broadcast (); - } - - - lock_.release (); - } - - private Mutex lock_ = new Mutex (); - // Serialize access to internal state. - - private Condition waitingReaders_ = new Condition (lock_); - // Reader threads waiting to acquire the lock. - - private int numberOfWaitingReaders_; - // Number of waiting readers. - - private Condition waitingWriters_ = new Condition (lock_); - // Writer threads waiting to acquire the lock. - - private int numberOfWaitingWriters_ = 0; - // Number of waiting writers. - - private int referenceCount_ = 0; - // Value is -1 if writer has the lock, else this keeps track of the - // number of readers holding the lock. -} - diff --git a/java/src/RemoveNode.java b/java/src/RemoveNode.java deleted file mode 100644 index 43744394a7b..00000000000 --- a/java/src/RemoveNode.java +++ /dev/null @@ -1,37 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * RemoveNode.java - * - * Used when a service is specified to be removed based on a line - * in a service configurator file. Note: Make sure to call the - * prepareToReload method in ServiceConfig before reloading the - * service that is being removed. - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import JACE.OS.*; -import java_cup.runtime.*; - -class RemoveNode extends ParseNode -{ - public RemoveNode (int act_num) - { - super(act_num); - } - - public void apply () - { - ACE.DEBUG("RemoveNode apply"); - - if (JACE.ServiceConfigurator.ServiceConfig.remove(this.name_) == -1) - ACE.ERROR("Error removing " + this.name_); - } -}; diff --git a/java/src/ResumeNode.java b/java/src/ResumeNode.java deleted file mode 100644 index 49b7f5a2b62..00000000000 --- a/java/src/ResumeNode.java +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ResumeNode.java - * - * Used when a service is specified to be resumed based on a line - * in a service configurator file. The actual implementation of the - * service being resumed does the work. - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import JACE.OS.*; -import java_cup.runtime.*; - -class ResumeNode extends ParseNode -{ - public ResumeNode (int act_num) - { - super(act_num); - } - - public void apply () - { - ACE.DEBUG("ResumeNode apply: " + this.name_); - - if (JACE.ServiceConfigurator.ServiceConfig.resume(this.name_) == -1) - ACE.ERROR("Error resuming " + this.name_); - } -}; diff --git a/java/src/SOCKAcceptor.java b/java/src/SOCKAcceptor.java deleted file mode 100644 index aaca725426a..00000000000 --- a/java/src/SOCKAcceptor.java +++ /dev/null @@ -1,114 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.SOCK_SAP - * - * = FILENAME - * SOCKAcceptor.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.SOCK_SAP; - -import java.io.*; -import java.net.*; -import JACE.OS.*; - -/** - *
    - *

    TITLE
    - * Defines the format and interface for an ACE.SOCKAcceptor. - */ -public class SOCKAcceptor -{ - // = Initialization - - /** - * Create a SOCKAcceptor. Do nothing constructor. Allows user to - * call open() later and pass in the port number. - */ - public SOCKAcceptor () - { - } - - /** - * Create a SOCKAcceptor. - *@param port port number where the server will listen for connections - */ - public SOCKAcceptor (int port) throws IOException - { - this.open (port); - } - - /** - * Create socket to listen for connections on. - *@param port port number where the server will listen for connections - */ - public void open(int port) throws IOException - { - // Close old socket (if there is one) - this.close (); - - // Create a new server socket - this.listenSocket_ = new ServerSocket (port); - // ACE.DEBUG ("Server listening on port " + port); - } - - /** - * Close the socket and do any necessary cleanup. - */ - public void close () throws IOException - { - if (this.listenSocket_ != null) - { - this.listenSocket_.close (); - this.listenSocket_ = null; - } - } - - /** - * Accept a connection. The streams are set when the method returns. - *@param sockStream SOCK Stream to use for the connection - */ - public void accept (SOCKStream sockStream) throws SocketException, IOException - { - // Block in accept. Returns when a connection shows up and sets - // the streams - sockStream.socket (this.listenSocket_.accept ()); - ACE.DEBUG ("Accepted connection from " + - sockStream.socket ().getInetAddress ()); - } - - /** - * Get the underlying listen socket. - *@return the underlying listen socket - */ - public ServerSocket listenSocket () - { - return this.listenSocket_; - } - - /** - * Set the underlying listen socket. - *@param s the underlying listen socket - */ - public void listenSocket (ServerSocket s) - { - this.listenSocket_ = s; - } - - /** - * Clean up when the garbage collector gets run (if at all). Note - * that there is no guarantee that finalize () will get called. - */ - protected void finalize () throws Throwable - { - super.finalize (); - this.close (); - } - - // Socket on which listen for connections (by default initialized to - // null) - private ServerSocket listenSocket_; -} diff --git a/java/src/SOCKConnector.java b/java/src/SOCKConnector.java deleted file mode 100644 index 98dfcaf6b3d..00000000000 --- a/java/src/SOCKConnector.java +++ /dev/null @@ -1,75 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.SOCK_SAP - * - * = FILENAME - * SOCKConnector.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.SOCK_SAP; - -import java.io.*; -import java.net.*; -import JACE.OS.*; - -/** - *


    - *

    TITLE
    - * Defines an active connection factory for the socket wrappers. - */ -public class SOCKConnector -{ - // = Initialization - - /** - * Create a SOCKConnector. Do nothing constructor. Allows user to - * call connect() later. - */ - public SOCKConnector () - { - // Do nothing constructor - } - - /** - * Create a SOCKConnector and connect to the server. - *@param sockStream SOCK Stream to use for the connection - *@param hostname hostname of the server - *@param port port number to connect with server at - */ - public SOCKConnector (SOCKStream sockStream, - String hostname, - int port) throws SocketException, IOException - { - this.connect (sockStream, - hostname, - port); - } - - /** - * Connect to the server. - *@param sockStream SOCK Stream to use for the connection - *@param hostname hostname of the server - *@param port port number to connect with server at - */ - public void connect (SOCKStream sockStream, - String hostname, - int port) throws SocketException, IOException - { - sockStream.socket (new Socket (hostname, port)); - } - - /** - * Connect to the server. - *@param sockStream SOCK Stream to use for the connection - *@param addr INETAddr instance specifying host/port - */ - public void connect (SOCKStream sockStream, - INETAddr addr) throws SocketException, IOException - { - sockStream.socket (new Socket (addr.getHostName(), - addr.getPortNumber())); - } -} diff --git a/java/src/SOCKStream.java b/java/src/SOCKStream.java deleted file mode 100644 index 638482d8e40..00000000000 --- a/java/src/SOCKStream.java +++ /dev/null @@ -1,209 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.SOCK_SAP - * - * = FILENAME - * SOCKStream.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.SOCK_SAP; - -import java.io.*; -import java.net.*; -import JACE.OS.*; - -/** - *


    - *

    TITLE
    - * Defines the methods in the ACE.SOCKStream abstraction. - * - *

    DESCRIPTION
    - * This adds additional wrapper methods atop the java Socket class. - */ -public class SOCKStream -{ - /** - * Create a default SOCK Stream. Do nothing constructor. - */ - public SOCKStream () - { - } - - /** - * Create a SOCK Stream. - *@param s Socket to initialize SOCK Stream with. - */ - public SOCKStream (Socket s) throws IOException - { - this.socket (s); - } - - /** - * Set the socket and the underlying streams. - *@param s Socket associated with the SOCK Stream. - */ - public void socket (Socket s) throws IOException - { - this.socket_ = s; - // Note that if s is not a valid socket or is null, the - // following calls will throw exceptions - - // Create buffered, platform independent byte streams. This hasn't been switched - // to the newer character streams since the change would break cross talk with - // non-Java sockets. - - this.iStream_ = new DataInputStream(new BufferedInputStream(s.getInputStream())); - - this.oStream_ = new PrintStream(new DataOutputStream(new BufferedOutputStream(s.getOutputStream()))); - } - - /* Get the underlying Socket. - *@return the underlying socket - */ - public Socket socket () - { - return this.socket_; - } - - /** - * Close the streams and the underlying socket. - */ - public void close () throws IOException - { - if (this.socket_ != null) - this.socket_.close (); - this.socket_ = null; - } - - // = The following send and recv methods are overloaded to provide a - // flexible interface - - /** - * Send a StringBuffer. Note that the method blocks. - *@param s the StringBuffer to send - *@return the length of the StringBuffer - */ - public int send (StringBuffer s) throws IOException - { - // Get the data out - String buf = s.toString (); - - this.oStream_.println(buf); - this.oStream_.flush (); - - return buf.length (); - } - - /** - * Send a String. Note that the method blocks. - *@param s the String to send - *@return the length of the String - */ - public int send (String s) throws IOException - { - this.oStream_.println(s); - this.oStream_.flush(); - - return s.length (); - } - - /** - * Send an array of bytes. Note that the method blocks. - *@param b array of bytes to send - *@param offset offset into the byte array to start sending from - *@param length number of bytes to send - *@return number of bytes sent - */ - public int sendN (byte[] b, int offset, int length) throws IOException - { - this.oStream_.write (b, offset, length); - this.oStream_.flush (); - return length; - } - - /** - * Receive data and append it to the StringBuffer that was passed - * in. Note that the method blocks. - *@param s the StringBuffer to append the result of the recv to - *@return the length of the String received - */ - public int recv (StringBuffer s) throws IOException - { - String temp = this.iStream_.readLine (); - s.append (temp); - - if (temp == null) // Possible if user sends just a line feed, but - return -1; // not checking would cause a null ptr exception - else - return temp.length (); - } - - /** - * Receive an array of characters. This method blocks until either - * all the bytes are read, the end of the stream is detected, or - * an exception is thrown. - *@param b byte array to receive the data in - *@param offset the start offset of the data in the byte array. - *@param n number of bytes to receive - *@return n - */ - public int recvN (byte[] b, int offset, int n) throws IOException - { - this.iStream_.readFully (b, offset, n); - return n; - } - - /** - * Set the underlying input stream. - *@param iStream the input stream - */ - public void inputStream (InputStream iStream) - { - this.iStream_ = new DataInputStream(new BufferedInputStream(iStream)); - } - - /** - * Get the underlying input stream. - *@return the underlying input stream - */ - public InputStream inputStream () - { - return this.iStream_; - } - - /** - * Set the underlying output stream. - *@param iStream the output stream - */ - public void outputStream (OutputStream oStream) - { - this.oStream_ = new PrintStream(new DataOutputStream(new BufferedOutputStream(oStream))); - } - - /** - * Get the underlying output stream. - *@return the underlying output stream - */ - public OutputStream outputStream () - { - return this.oStream_; - } - - /** - * Cleanup when the SOCK Stream is garbage collected. - */ - protected void finalize () throws Throwable - { - super.finalize (); - this.close (); - } - - private Socket socket_; - - // = The input and output streams (by default null) - private DataInputStream iStream_; - private PrintStream oStream_; -} diff --git a/java/src/Semaphore.java b/java/src/Semaphore.java deleted file mode 100644 index 4762712d722..00000000000 --- a/java/src/Semaphore.java +++ /dev/null @@ -1,103 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Concurrency - * - * = FILENAME - * Semaphore.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Concurrency; - -import java.util.*; -import JACE.ASX.*; - -class TimedWaitSAdapter extends JACE.ASX.TimedWait -{ - TimedWaitSAdapter (Object obj) - { - super (obj); - } - - // Check to see if there are any semaphores available. - public boolean condition () - { - return this.count_ > 0; - } - - // Increment the count by one - public void increment () - { - this.count_++; - } - - // Decrement the count by one - public void decrement () - { - this.count_--; - } - - // Set the count - public void count (int c) - { - this.count_ = c; - } - - private int count_ = 0; -} - -/** - *


    - *

    SYNOPSIS

    - * Implementation of Dijkstra's counting semaphore in java. - */ -public class Semaphore -{ - /** - * Create a Semaphore. - *@param count semaphore count - */ - public Semaphore (int c) - { - this.monitor_.count (c); - } - - /** - * Acquire the Semaphore. Note that this will block. - *@exception InterruptedException exception during wait - */ - public synchronized void acquire () throws InterruptedException - { - this.monitor_.timedWait (); - this.monitor_.decrement (); - } - - /** - * Acquire the Semaphore. Note that the call will return if - * amount of time expires. - *@param tv amount of time (TimeValue) to wait before returning - * (unless operation completes before) - *@exception TimeoutException wait timed out exception - *@exception InterruptedException exception during wait - */ - public synchronized void acquire (TimeValue tv) - throws JACE.ASX.TimeoutException, InterruptedException - { - this.monitor_.timedWait (tv); - this.monitor_.decrement (); - } - - /** - * Release the Semaphore. - */ - public synchronized void release () - { - this.monitor_.increment (); - this.monitor_.signal (); - } - - private TimedWaitSAdapter monitor_ = new TimedWaitSAdapter (this); - // The monitor (adapter) to wait on -} diff --git a/java/src/ServiceConfig.java b/java/src/ServiceConfig.java deleted file mode 100644 index 11504527bdd..00000000000 --- a/java/src/ServiceConfig.java +++ /dev/null @@ -1,420 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ServiceConfig.java - * - * Services can be suspended, resumed, removed, and reloaded. Reloading requires that - * the user calls a prepareForReload method after removing a service. You can't access - * the ServiceObjects that are loaded directly -- anything loaded with a class loader - * must be wrapped and have its methods called via reflection. This is because a - * loaded class doesn't exist in the same space as one loaded with the system loader. - * - * - * - *@author Prashant Jain, Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import java.util.*; -import java.net.*; -import JACE.OS.*; -import JACE.Misc.*; - -/** - *
    - *

    TITLE
    - * Provide the base class that supplies common server daemon - * operations. Also provides a global point for interacting with - * the service repository. - */ -public class ServiceConfig -{ - /** Begins the process of loading a service configurator file: - * parses the command line and calls either loadOldConfigFile or - * processDirectives depending on whether or not the user wants - * to try to load a C++ svc.conf file. - */ - public static int open (String [] args) throws FileNotFoundException, IOException, ClassNotFoundException, IllegalAccessException, InstantiationException - { - // Parse the command line - ServiceConfig.parseArgs (args); - - // Create a repository and class loader - if (ServiceConfig.svcRep_ == null) - ServiceConfig.svcRep_ = new ServiceRepository (); - if (ServiceConfig.loader_ == null) - ServiceConfig.loader_ = new ServiceLoader(); - - if (ServiceConfig.oldConfigFormat_) - return ServiceConfig.loadOldConfigFile(); - else - return ServiceConfig.processDirectives (); - - } - - /** Parses the command line - * Valid command line options: - * -b Run as a daemon (not implemented yet) - * -d Debug mode - * -n No defaults - * -o Attempt to load a C++ ACE service config file - * -f Load services in the given file [see below for info] - * - */ - protected static void parseArgs (String [] args) - { - GetOpt getopt = new GetOpt (args, "bdnf:o:"); - for (int c; (c = getopt.next ()) != -1; ) - switch (c) - { - case 'b': - // Note: not supported yet! - ServiceConfig.beADaemon_ = true; - break; - case 'd': - ServiceConfig.debug_ = true; - break; - case 'n': - ServiceConfig.noDefaults_ = true; - break; - case 'o': - ServiceConfig.oldConfigFormat_ = true; - break; - case 'f': - ServiceConfig.serviceConfigFile_ = getopt.optarg (); - break; - default: - ACE.ERROR ((char ) c + " is not a ServiceConfig option"); - break; - } - } - - /** Called by ParseNode subclass - * Asks the Service Repository to spend a service - */ - public static int suspend (String name) - { - return svcRep_.suspend(name); - } - - /** Called by ParseNode subclass - * Asks the Service Repository to resume a service - */ - public static int resume (String name) - { - return svcRep_.resume(name); - } - - /** Called by ParseNode subclass - * Asks the Service Repository to remove a serivce - */ - public static int remove (String name) - { - return svcRep_.remove(name); - } - - /** Should be called before the user wants to reload - * a service. This calls garbage collection to - * (hopefully) obliterate the names of any unused - * service classes, and creates a new instance - * of the ClassLoader so there won't be problems - * reloading. - */ - public static void prepareForReload() - { - ServiceConfig.loader_ = new ServiceLoader(); - - System.gc(); - - } - - /** - * Parse a service configurator file, creating classes as necessary - * - * This is getting too complicated -- since CUP and JLex are available, it would be nice to - * develop a grammar for this. Unfortunately, there may be file problems when trying to get - * CUP and JLex to produce more than one parser per program. - * - * Current formats: - * - * load Service_Object "" - * - * resume - * suspend - * remove - * - */ - protected static int processDirectives () throws FileNotFoundException, IOException, ClassNotFoundException, IllegalAccessException, InstantiationException - { - if (ServiceConfig.serviceConfigFile_ == null) - ServiceConfig.serviceConfigFile_ = "svc.conf"; - - ACE.DEBUG("Processing directives in file " + ServiceConfig.serviceConfigFile_); - - File configFile = new File (ServiceConfig.serviceConfigFile_); - - // Check if file exists and is a normal file - if (!configFile.exists () || !configFile.isFile ()) - throw new FileNotFoundException ("File " + ServiceConfig.serviceConfigFile_ + " not found"); - - // Check if the file is readable - if (!configFile.canRead ()) - throw new IOException ("File " + ServiceConfig.serviceConfigFile_ + " not readable"); - - // Set up the stream - FileInputStream fileIn = new FileInputStream (configFile); - - // Parse the file - StreamTokenizer in = new StreamTokenizer (fileIn); - - // Set '#' as comment character to be ignored and set '/' as - // ordinary character (was original comment character) - // in.commentChar ('#'); - in.ordinaryChar ('/'); - - // Set characters in ASCII range 33 to 47, ASCII range 91 to 96, - // and ASCII range 123 to 126 as ordinary characters - in.wordChars ('!', '/'); // ASCII range 33 to 47 - in.wordChars (':', '@'); // ASCII range 58 to 64 - in.wordChars ('[', '`'); // ASCII range 91 to 96 - in.wordChars ('{', '~'); // ASCII range 123 to 126 - - String commandName = null; - String serviceName = null; - String className = null; - String classType = null; - String args = null; - // Create a state machine - int state = ServiceConfig.COMMAND_NAME; - - // The apply() method on ParseNode starts the process of actually executing the - // desired action (suspend, load, etc) - ParseNode result = null; - - while (in.nextToken () != StreamTokenizer.TT_EOF) - { - switch (state) - { - case ServiceConfig.COMMAND_NAME: - if (in.ttype == StreamTokenizer.TT_WORD) { - commandName = in.sval; - - // This is a hack, but it should work until CUP is easier - // to deal with when multiple parsers are needed - if (commandName.equals("load")) - result = new AddServiceObjectNode(0); - else - if (commandName.equals("remove")) - result = new RemoveNode(0); - else - if (commandName.equals("suspend")) - result = new SuspendNode(0); - else - if (commandName.equals("resume")) - result = new ResumeNode(0); - else - throw new IOException ("COMMAND NAME missing or invalid: " + commandName); - - ACE.DEBUG("Command node type: " + ((Object)result).getClass().getName()); - - - } else - throw new IOException ("Illegal COMMAND NAME argument in file " + ServiceConfig.serviceConfigFile_); - state = ServiceConfig.SERVICE_NAME; - break; - case ServiceConfig.SERVICE_NAME: - if (in.ttype == StreamTokenizer.TT_WORD) - serviceName = in.sval; - else - throw new IOException ("Illegal SERVICE NAME argument in file " + ServiceConfig.serviceConfigFile_); - - - if (!commandName.equals("load")) { - result.init(serviceName); - result.apply(); - in.whitespaceChars (' ', ' '); - state = ServiceConfig.SERVICE_NAME; - } else - state = ServiceConfig.CLASS_NAME; - break; - case ServiceConfig.CLASS_NAME: - if (in.ttype == StreamTokenizer.TT_WORD) - className = in.sval; - else - throw new IOException ("Illegal CLASS NAME argument in file " + ServiceConfig.serviceConfigFile_); - state = ServiceConfig.CLASS_TYPE; - break; - case ServiceConfig.CLASS_TYPE: - if (in.ttype == StreamTokenizer.TT_WORD) - classType = in.sval; - else - throw new IOException ("Illegal CLASS TYPE argument in file " + ServiceConfig.serviceConfigFile_); - state = ServiceConfig.ARGS; - // Set space to be an ordinary character to allow - // arguments to be parsed in - in.wordChars (' ', ' '); - break; - case ServiceConfig.ARGS: - ACE.DEBUG("Processing arguments"); - - args = new String(""); - - if (in.ttype == StreamTokenizer.TT_WORD) - { - args = in.sval; - - // If just two double quotes, there are no args - if (args.length() == 2) { - args = new String(""); - } else - args = args.substring(1, args.length() - 1); - } - - // Quick hack until more parsing necessary -- set the needed data - ((AddServiceObjectNode)result).init(serviceName, className, false); - ((AddServiceObjectNode)result).params(args); - - result.apply(); - - state = ServiceConfig.SERVICE_NAME; - // Set space back to whitespace-character to extract the - // next token - in.whitespaceChars (' ', ' '); - break; - default: - throw new IOException ("Illegal argument in file " + ServiceConfig.serviceConfigFile_); - } - } - return 0; - } - - /** Parses the svc.conf file, treating it as a C++ ACE svc.conf file. - * This will involve attempts to infer the class name from - * the service initializer path, and isn't very accurate. - */ - public static int loadOldConfigFile () - { - parser ps = new parser(); - - try { - - ps.parse(); - - } catch (Exception e) { - ACE.ERROR("Error: " + e); - return -1; - } - - return 0; - } - - - /** - * This is called when apply() is called on AddServiceObjectNodes. Similar - * methods could be developed for later data types (AddStreamNode, etc). This - * tries to load the ServiceObject and its classes. When trying to find info - * from the C++ files, this generates possible file paths. - */ - public static int initialize (AddServiceObjectNode son) - { - Class c = null; - - if (ServiceConfig.oldConfigFormat_) { - - // Generate a lot of possible file locations and names - ClassNameGenerator cng = new ClassNameGenerator(son.locator()); - String attempt = null; - boolean ready = false; - - - // Try to load the class based on the names we can infer from - // the C++ svc.conf line - while ((cng.hasMoreElements()) && (!ready)) { - try { - - attempt = (String)cng.nextElement(); - - c = loader_.loadClass(attempt, true); - - ready = true; - - } catch (ClassNotFoundException e) { } - - } - - // Couldn't find the class - if (!ready) { - ACE.ERROR("Can't find class with locator: " + son.locator()); - return -1; - } - - } else { - - try { - - c = loader_.loadClass(son.locator(), true); - - } catch (ClassNotFoundException e) { - ACE.ERROR("Can't find class with locator: " + son.locator()); - return 01; - } - - } - - try { - - Object service = c.newInstance(); - // Can't cast this to a ServiceObject, even though it will look just - // like one -- Java puts things loaded with a non-standard class loader - // in their own name space. The ServiceObjectRecord is a wrapper that - // gets around this by using reflection. - ServiceObjectRecord svcObjRec = new ServiceObjectRecord(service, son.name()); - - // Split the argument array up into smaller pieces - String [] argArray = OS.createStringArray (son.params(), " "); - - // Initialize the service -- start it running - svcObjRec.init(argArray); - - // Put it in the service repository - svcRep_.insert((ServiceRecord)svcObjRec); - - } catch (IllegalAccessException e) { - ACE.ERROR("Error " + e); - return -1; - } catch (InstantiationException e) { - ACE.ERROR("Error " + e); - return -1; - } - - return 0; - } - - // Set by command line options - private static boolean oldConfigFormat_ = false; - private static boolean beADaemon_ = false; - private static boolean debug_ = false; - private static boolean noDefaults_ = false; - - public static String serviceConfigFile_ = "svc.conf"; - - private static ServiceRepository svcRep_ = null; - private static ServiceLoader loader_ = null; - - // States for the state-machine used in parsing the config file - private final static int SERVICE_NAME = 0; - private final static int CLASS_NAME = 1; - private final static int CLASS_TYPE = 2; - private final static int ARGS = 3; - private final static int COMMAND_NAME = 4; - - -} - - - diff --git a/java/src/ServiceLoader.java b/java/src/ServiceLoader.java deleted file mode 100644 index 427428c5ae2..00000000000 --- a/java/src/ServiceLoader.java +++ /dev/null @@ -1,241 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ServiceLoader.java - * - * Implementation of a ClassLoader - * - *@author Prashant Jain, Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import java.util.*; -import java.net.*; -import JACE.OS.*; -import JACE.Misc.*; - -public class ServiceLoader extends ClassLoader -{ - /** - * Constructor - */ - public ServiceLoader () - { - super (); - this.getClassPath (); - } - - /** - * Searches the class path for a given file - * - *@param filename File name to look for - *@return Returns the absolute path to the file - * (useful for package name) - */ - public String findFileInClasspath (String filename) - { - // Checks for the given name across the classpath - StringTokenizer tokens = new StringTokenizer (this.classPath_, - this.pathSeparator_); - - while (tokens.hasMoreTokens()) - { - String fn = tokens.nextToken() + this.fileSeparator_ + filename; - - File f = new File (fn); - - if (f.exists() && f.isFile() && f.canRead()) - return new String(f.getAbsolutePath()); - } - - return null; - } - - /** - * Load a class from across the network - */ - public Class loadClass (URL url, boolean resolve) throws ClassNotFoundException - { - Class newClass = null; - // Try to load it the class by reading in the bytes. - // Note that we are not catching ClassNotFoundException here - // since our caller will catch it. - try - { - URLConnection urlConnection = url.openConnection (); - - // Get the input stream associated with the URL connection and - // pipe it to a newly created DataInputStream - DataInputStream i = new DataInputStream (urlConnection.getInputStream ()); - - // Allocate a buffer big enough to hold the contents of the - // data we are about to read - byte [] buf = new byte [urlConnection.getContentLength ()]; - - // Now read all the data into the buffer - i.readFully (buf); - - newClass = defineClass (buf, 0, buf.length); - // ACE.DEBUG ("Loaded class: "+ name); - - // Check if we need to load other classes referred to by this class. - if (resolve) - resolveClass (newClass); - } - catch (IOException e) - { - throw new ClassNotFoundException (e.toString ()); - } - return newClass; - } - - - /** - * Load a class file: - * - * @param fn A file name WITHOUT the .class extension - * @param resolve Standard resolve flag -- user should set to true - * - * @return A Class file capable of creating quasi-useful instances - * of the loaded class. They can't exist in the normal - * Java space, though, so it's impossible to cast them - * to something useful. Use a wrapper and reflection - * as in ServiceRecords. - */ - public Class loadClass (String fn, boolean resolve) throws ClassNotFoundException - { - Class newClass; - - // Load built-in java classes with the system loader - if (fn.startsWith("java")) { - newClass = findSystemClass(fn); - if (newClass == null) - throw (new ClassNotFoundException()); - else - return newClass; - } - - // If given a dot separated qualified name, put it in OS path format. - // This assumes the file separator is one char - String str = new String(fn); - if (str.indexOf('.') >= 0) - str = str.replace('.', this.fileSeparator_.charAt(0)); - str = str + ".class"; - - // Search the class path for the given file name - String fullname = this.findFileInClasspath(str); - if (fullname == null) { - - // If we can't find the class file, see if the - // system can - if ((newClass = findSystemClass(fn)) != null) { - return newClass; - } else - throw (new ClassNotFoundException()); - } - - try - { - // Try to load it the class by reading in the bytes. - // Note that we are not catching ClassNotFoundException here - // since our caller will catch it. - try - { - byte[] buf = bytesForClass (fullname); - - // ***** Note ***** - // This looks inside the class file and digs up the true - // fully qualified class name. You need this to - // load the class! - String className = ClassReader.getClassName(fullname); - - if (className != null) { - ACE.DEBUG("Defining class with name: " + className); - newClass = defineClass (className, buf, 0, buf.length); - } else { - // Try it anyway - newClass = defineClass (null, buf, 0, buf.length); - - ACE.ERROR("Unknown class name"); - } - - // Check if we need to load other classes referred to by this class. - if (resolve) - resolveClass (newClass); - - } catch (ClassNotFoundException e) { - - ACE.DEBUG ("Using default loader for class: " + fn); - - if ((newClass = findSystemClass (fn)) != null) - return newClass; - else - throw (e); // Rethrow the exception - } - } - catch (IOException e) - { - throw new ClassNotFoundException (e.toString ()); - } - - return newClass; - } - - /** - * Get system properties for later use - */ - private void getClassPath () - { - // Cache system properties that are needed when trying to find a - // class file - this.classPath_ = System.getProperty ("java.class.path", "."); - this.pathSeparator_ = System.getProperty ("path.separator", ":"); - this.fileSeparator_ = System.getProperty ("file.separator", "/"); - } - - /** - * Read file into a byte array - */ - private byte[] bytesForClass (String name) throws IOException, ClassNotFoundException - { - // Set up the stream - FileInputStream in = new FileInputStream (name); - - // Get byte count - int length = in.available (); - - if (length == 0) - throw new ClassNotFoundException (name); - - // Create an array of bytes to read the file in - byte[] buf = new byte[length]; - - // Read the file - in.read (buf); - - // Return byte array - return buf; - } - - private String classPath_; - // Class path that is loaded at construction - - private String pathSeparator_; - // Platform-dependent path separator (e.g., : or ;) - - private String fileSeparator_; - // Platform-dependent file separator (e.g., / or \) - - private String context_ = null; -} - - - - - - diff --git a/java/src/ServiceObject.java b/java/src/ServiceObject.java deleted file mode 100644 index 1c420c08f3b..00000000000 --- a/java/src/ServiceObject.java +++ /dev/null @@ -1,80 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ServiceObject.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import JACE.ASX.*; -import JACE.Reactor.*; - -public class ServiceObject implements EventHandler -{ - /** - * Initialize object when dynamic loading occurs. Overwrite this - * method to do anything useful. - *@return -1 (default implementation) - */ - public int init (String [] args) - { - return -1; - } - - /** - * Terminate the object. Note that an object can not be explicitly - * unloaded. Overwrite this method to do anything useful. - *@return -1 (default implementation) - */ - public int fini () - { - return -1; - } - - /** - * Get information on an active object. Overwrite this method to do - * anything useful. - *@return null (default implementation) - */ - public String info () - { - return null; - } - - /** - * Called when timer expires. Overwrite this method to do - * anything useful. - *@param tv Time Value for which timer was set - *@param obj An arbitrary object that was passed to the Timer Queue - * (Asynchronous Completion Token) - *@return -1 - */ - public int handleTimeout (TimeValue tv, Object obj) - { - return -1; - } - - /** - * Request that this service suspend activity. Overwrite this - * method to do anything useful. - */ - public int suspend () - { - return -1; - } - - /** - * Request that this service resume activity. Overwrite this - * method to do anything useful. - */ - public int resume () - { - return -1; - } -} diff --git a/java/src/ServiceObjectRecord.java b/java/src/ServiceObjectRecord.java deleted file mode 100644 index 282d4360fbf..00000000000 --- a/java/src/ServiceObjectRecord.java +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ServiceObjectRecord.java - * - * Provided to show future symmetry. ServiceRecord currently - * provides all the desired behavior necessary for a record - * of a ServiceObject, but later there could be ModuleRecords, - * etc. - * - *@see JACE.ServiceConfigurator.ServiceRecord; - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -public class ServiceObjectRecord extends ServiceRecord -{ - public ServiceObjectRecord (Object so, String name) - { - super (so, name); - } - -}; - - - - - diff --git a/java/src/ServiceRecord.java b/java/src/ServiceRecord.java deleted file mode 100644 index e0bd75a1405..00000000000 --- a/java/src/ServiceRecord.java +++ /dev/null @@ -1,253 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ServiceRecord.java - * - * This class structure is used in the ServiceRepository. Each service - * object, module, or stream in the repository should be wrapped by a - * type of ServiceRecord. The contained object does the real work. - * - * Modules and Streams will require records with more functionality. - * - * The caller should never be allowed to access the Object within the - * record -- casting will result in a ClassCastException because of - * the problem with loading classes with a ClassLoader. To get - * around this, all the method calls are made on the Object via - * reflection. - * - *@see JACE.ServiceConfigurator.ServiceObject - *@see JACE.ServiceConfigurator.ServiceRepository - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import java.lang.reflect.*; -import JACE.OS.*; - -public class ServiceRecord -{ - /** - * Constructor - * - *@param service A java Object, the service - *@param name Name of this service - */ - ServiceRecord (Object service, String name) - { - this.service_ = service; - this.name_ = name; - this.suspended_ = false; - } - - /** - * Forward the call to suspend - * @return -1 error - */ - public int suspend() - { - this.setSuspend(true); - - Object result = this.invokeSimpleReflected("suspend"); - - if (result == null) - return -1; - else - return ((Integer)result).intValue(); - } - - - /** - * Forward the call to resume - * @return -1 error - */ - public int resume() - { - this.setSuspend(false); - - Object result = this.invokeSimpleReflected("resume"); - - if (result == null) - return -1; - else - return ((Integer)result).intValue(); - } - - - /** - * Initialize the service, provide the given command line args to it. - * - */ - public int init(String [] args) - { - Class types[] = new Class[1]; - if (args == null) - args = new String[0]; - - types[0] = args.getClass(); - - // Find the method we want to call - Method m; - try { - m = this.object().getClass().getMethod("init", types); - } catch (NoSuchMethodException e) { - ACE.ERROR("" + e); - return -1; - } catch (SecurityException e) { - ACE.ERROR("" + e); - return -1; - } - - Class ptypes[] = m.getParameterTypes(); - //for (int x = 0; x < ptypes.length; x++) - // System.err.println(ptypes[x].getName()); - Object params[] = new Object[1]; - - params[0] = args; - - int result = -1; - try { - result = ((Integer)m.invoke(this.object(), params)).intValue(); - } catch (IllegalAccessException e) { - ACE.ERROR("" + e); - return -1; - } catch (IllegalArgumentException e) { - ACE.ERROR("" + e); - return -1; - } catch (InvocationTargetException e) { - ACE.ERROR("init(): " + e.getTargetException()); - return -1; - } - - return result; - } - - /** - * Prepare to close it - */ - public int fini() - { - Object result = this.invokeSimpleReflected("fini"); - - if (result == null) - return -1; - else - return ((Integer)result).intValue(); - } - - /** - * Obtain information about this service - */ - public String info() - { - Object result = this.invokeSimpleReflected("info"); - - if (result == null) - return null; - else - return new String((String)result); - } - - /** Invokes the method with the given name on the ServiceObject. - * The invoked method must take no parameters for this to work. - * Could be adjusted to throw a generic exception. - */ - private Object invokeSimpleReflected(String name) - { - Method m; - - // find the desired method - try { - m = this.object().getClass().getMethod(name, null); - } catch (NoSuchMethodException e) { - ACE.ERROR("" + e); - return null; - } catch (SecurityException e) { - ACE.ERROR("" + e); - return null; - } - - // Invoke it - Object result = null; - - try { - result = m.invoke(this.object(), null); - } catch (IllegalAccessException e) { - ACE.ERROR("" + e); - } catch (IllegalArgumentException e) { - ACE.ERROR("" + e); - } catch (InvocationTargetException e) { - ACE.ERROR(name + "(): " + e.getTargetException()); - } - - return result; - } - - /** - * Accessor for the name - */ - public String name() - { - return new String(this.name_); - } - - /** Set the name of the service - */ - public void name(String name) - { - this.name_ = name; - } - - /** Is this service suspended? - */ - public boolean suspended() - { - return this.suspended_; - } - - /** Set the suspended flag - */ - void setSuspend (boolean suspended) - { - this.suspended_ = suspended; - } - - /** Accessor for the contained Object. This should - * never be available to the end user since they - * might try casting the result. - */ - Object object() - { - return this.service_; - } - - /** - * Set the contained object - */ - void object(Object service) - { - this.service_ = service; - } - - Object service_; - String name_; - boolean suspended_; -}; - - -/* -class ModuleRecord extends ServiceRecord -{ -}; - -class StreamRecord extends ServiceRecord -{ -}; -*/ - - diff --git a/java/src/ServiceRepository.java b/java/src/ServiceRepository.java deleted file mode 100644 index 29c90a77313..00000000000 --- a/java/src/ServiceRepository.java +++ /dev/null @@ -1,189 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * ServiceRepository.java - * - * The service repository stores the network services, allowing them to be removed, suspended, - * resumed, etc. To reload a service, the caller must remove it from the repository and then - * call prepareForReload(). - * - *@see JACE.ServiceConfigurator.ServiceRecord; - *@see JACE.ServiceConfigurator.ServiceConfig; - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import java.util.*; - -public class ServiceRepository -{ - /** - * Constructor - */ - public ServiceRepository () - { - this.serviceVector_ = new Vector(); - } - - /** - * Constructor - * - *@param initialSize Initial vector size for the repository - */ - public ServiceRepository (int initialSize) - { - this.serviceVector_ = new Vector (initialSize); - } - - /** - * Shut down all the services, closing them in reverse order of insertion - * - * Maybe should be called by finalize? - */ - public int close() - { - for (int i = this.size() - 1; i >= 0; i--) { - ServiceRecord rec = (ServiceRecord)this.serviceVector_.elementAt(i); - - rec.fini(); - - this.serviceVector_.removeElementAt(i); - } - - return 0; - } - - /** - * Insert a ServiceRecord into the repository. - * (If already in, calls fini() and replaces) - * - *@param srvRec ServiceRecord to add - */ - public void insert (ServiceRecord srvRec) - { - ServiceRecord alreadyIn = find(srvRec.name()); - - // Replace the service - if (alreadyIn != null) { - alreadyIn.fini(); - this.serviceVector_.removeElement(alreadyIn); - } - - this.serviceVector_.addElement(srvRec); - } - - /** - * Finds the ServiceRecord associated with a given - * service name. Note -- the user should not try to - * get a ServiceObject out of the ServiceRecord. - * Same as saying ignoreSuspended is false on the - * next method. - * - *@param name Name of the service to find - */ - public ServiceRecord find (String name) - { - return this.find(name, false); - } - - /** Return the service record for the given service. The caller - * should NOT try to access a ServiceObject (or Module or Stream) - * by taking it out of the ServiceRecord -- just make the calls - * through the record! - * - *@param name Name of the service to find - *@param ignoreSuspended Allow finding suspended services? - */ - public ServiceRecord find (String name, boolean ignoreSuspended) - { - ServiceRecord rec; - - for (int i = 0; i < this.size(); i++) { - rec = (ServiceRecord)this.serviceVector_.elementAt(i); - - if ((rec.name().equals(name)) && ((!ignoreSuspended) || (!rec.suspended()))) - return rec; - } - - return null; - } - - /** Take the given service out of the repository. This also sets the - * reference in the repository to null to ensure there are no - * hidden references to the old ServiceObject. To reload, the user must - * still run prepareToReload on ServiceConfig if they don't want any - * problems. - */ - public int remove (String name) - { - ServiceRecord rec = this.find(name, false); - - if (rec == null) - return -1; - - int index = this.serviceVector_.indexOf(rec); - - // Shut down the service - rec.fini(); - - // Make sure there are no hidden references left - this.serviceVector_.setElementAt(null, index); - - this.serviceVector_.removeElementAt(index); - - return 0; - } - - /** - * Resume a suspended service - *@param name Name of the service to resume - */ - public int resume (String name) - { - ServiceRecord rec = this.find(name, false); - - if (rec == null) - return -1; - - return rec.resume(); - } - - /** - * Suspend a service - *@param name Name of the service to suspend - */ - public int suspend (String name) - { - ServiceRecord rec = this.find(name, false); - - if (rec == null) - return -1; - - return rec.suspend(); - } - - /** - * Returns the number of items in the repository - */ - public int size () - { - return this.serviceVector_.size(); - } - - // Vector representation - Vector serviceVector_; -}; - - - - - - - - diff --git a/java/src/StrategyAcceptor.java b/java/src/StrategyAcceptor.java deleted file mode 100644 index 07f81a8ad63..00000000000 --- a/java/src/StrategyAcceptor.java +++ /dev/null @@ -1,148 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Connection - * - * = FILENAME - * StrategyAcceptor.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Connection; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.SOCK_SAP.*; - -public class StrategyAcceptor -{ - /** - * Create an instance of StrategyAcceptor. - *@param handlerFactory Svc Handler factory that is used to create - * an instance of a Svc Handler when a connection is accepted. - */ - public StrategyAcceptor (Class handlerFactory) - { - this (handlerFactory, null, null, null); - } - - /** - * Create an instance of StrategyAcceptor. Use the creation - * strategy and the handlerFactory passed in to creae a new instance - * of the Svc Handler. - *@param handlerFactory Svc Handler factory that is used to create - * an instance of a Svc Handler when a connection is accepted. - *@param creStrategy Creation strategy to use to create a new - * instance of the Svc Handler. - *@param acceptStrategy Accept strategy to use to accept a new - * connection into the Svc Handler. - *@param activateStrategy Activate strategy to use to activate the - * instance of the Svc Handler. - */ - public StrategyAcceptor (Class handlerFactory, - CreationStrategy creStrategy, - AcceptStrategy acceptStrategy, - ActivateStrategy activateStrategy) - { - // Cache everything - this.handlerFactory_ = handlerFactory; - this.creStrategy_ = creStrategy; - this.acceptStrategy_ = acceptStrategy; - this.activateStrategy_ = activateStrategy; - } - - /** - * Initialize the Strategy Acceptor. The method creates the - * appropriate strategies as needed. - *@param port port number where the server will listen for connections - */ - public void open (int port) throws IOException - { - if (this.creStrategy_ == null) - this.creStrategy_ = new CreationStrategy (this.handlerFactory_); - if (this.acceptStrategy_ == null) - this.acceptStrategy_ = new AcceptStrategy (port); - else - this.acceptStrategy_.open (port); - if (this.activateStrategy_ == null) - this.activateStrategy_ = new ActivateStrategy (); - } - - /** - * Accept a connection using the appropriate strategies. - */ - public void accept () throws SocketException, - InstantiationException, - IllegalAccessException, - IOException - { - // Create a Svc_Handler using the appropriate Creation_Strategy - SvcHandler sh = this.makeSvcHandler (); - - // Accept a connection into the Svc_Handler - this.acceptSvcHandler (sh); - - // Activate the Svc_Handler - this.activateSvcHandler (sh); - } - - /** - * Bridge method for creating a SvcHandler. The strategy for - * creating a SvcHandler is configured into the Acceptor via it's - * creStrategy_. If no strategy is passed in, the default behavior - * of this method is to use the default CreationStrategy. - *@return a new instance of the Svc Handler - */ - protected SvcHandler makeSvcHandler () throws InstantiationException, - IllegalAccessException - { - // Create a new handler for the connection - return this.creStrategy_.makeSvcHandler (); - } - - - /** - * Bridge method for accepting the new connection into the - * . The strategy for accepting into a SvcHandler is - * configured into the Acceptor via it's acceptStrategy_. If no - * strategy is passed in, the default behavior of this method is to - * use the default AcceptStrategy. - *@param sh Svc Handler in which to accept the connection - *@return result of accepting a connection using the accept strategy - */ - protected int acceptSvcHandler (SvcHandler sh) throws - SocketException, IOException - { - // Delegate responsibility to the appropriate strategy - return this.acceptStrategy_.acceptSvcHandler (sh); - } - - /** - * Bridge method for activating a . The strategy for - * activating a SvcHandler is configured into the Acceptor via it's - * activateStrategy_. If no strategy is passed in, the default - * behavior of this method is to use the default ActivateStrategy. - *@param sh Svc Handler to activate - *@return result of activating the Svc Handler - */ - protected int activateSvcHandler (SvcHandler sh) - { - // Delegate responsibility to the appropriate strategy - return this.activateStrategy_.activateSvcHandler (sh); - } - - // Handler class that should be instantiated when a connection is - // made with a client - private Class handlerFactory_; - - // Creation Strategy - private CreationStrategy creStrategy_; - - // Accept Strategy - private AcceptStrategy acceptStrategy_; - - // Activation Strategy - private ActivateStrategy activateStrategy_; -} diff --git a/java/src/Stream.java b/java/src/Stream.java deleted file mode 100644 index 030114d092f..00000000000 --- a/java/src/Stream.java +++ /dev/null @@ -1,438 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * Stream.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -import JACE.OS.*; - -/** - *


    - *

    SYNOPSIS

    - *
    - * This class is the primary abstraction for the ASX framework. - * It is moduled after System V Stream. - *
    - * - *

    DESCRIPTION

    - *
    - * A Stream consists of a stack of , each of which - * contains two . - *
    - */ - -public class Stream -{ - - public Stream () - { - this (null, null, null); - } - - // Create a Stream consisting of and as the Stream - // head and Stream tail, respectively. If these are 0 then the - // and are used, respectively. - // is the value past in to the open() methods of the tasks. - - public Stream (Object a, - Module head, - Module tail) - { - this.linkedUs_ = null; - // this.final_close_ = this.lock_; - - if (this.open (a, head, tail) == -1) - ACE.ERROR ("open" + head.name () + " " + tail.name ()); - } - - public int push (Module newTop) - { - if (this.pushModule (newTop, - this.streamHead_.next (), - this.streamHead_) == -1) - return -1; - else - return 0; - } - - public int put (MessageBlock mb, TimeValue tv) - { - return this.streamHead_.writer ().put (mb, tv); - } - - public MessageBlock get (TimeValue tv) throws InterruptedException - { - return this.streamHead_.reader ().getq (tv); - } - -// Return the "top" ACE_Module in a ACE_Stream, skipping over the -// stream_head. - - public Module top () - { - if (this.streamHead_.next () == this.streamTail_) - return null; - else - return this.streamHead_.next (); - } - -// Remove the "top" ACE_Module in a ACE_Stream, skipping over the -// stream_head. - - public int pop (long flags) - { - if (this.streamHead_.next () == this.streamTail_) - return -1; - else - { - // Skip over the ACE_Stream head. - Module top = this.streamHead_.next (); - Module newTop = top.next (); - - this.streamHead_.next (newTop); - - // Close the top ACE_Module. - - top.close (flags); - - this.streamHead_.writer ().next (newTop.writer ()); - newTop.reader ().next (this.streamHead_.reader ()); - - return 0; - } - } - -// Remove a named ACE_Module from an arbitrary place in the -// ACE_Stream. - - public int remove (String name, long flags) - { - Module prev = null; - - for (Module mod = this.streamHead_; - mod != null; mod = mod.next ()) - if (name.compareTo (mod.name ()) == 0) - { - if (prev == null) // Deleting ACE_Stream Head - this.streamHead_.link (mod.next ()); - else - prev.link (mod.next ()); - - mod.close (flags); - return 0; - } - else - prev = mod; - - return -1; - } - - public Module find (String name) - { - for (Module mod = this.streamHead_; - mod != null; - mod = mod.next ()) - if (name.compareTo (mod.name ()) == 0) - return mod; - - return null; - } - -// Actually push a module onto the stack... - - private int pushModule (Module newTop, - Module currentTop, - Module head) - { - Task ntReader = newTop.reader (); - Task ntWriter = newTop.writer (); - Task ctReader = null; - Task ctWriter = null; - - if (currentTop != null) - { - ctReader = currentTop.reader (); - ctWriter = currentTop.writer (); - ctReader.next (ntReader); - } - - ntWriter.next (ctWriter); - - if (head != null) - { - if (head != newTop) - head.link (newTop); - } - else - ntReader.next (null); - - newTop.next (currentTop); - - if (ntReader.open (newTop.arg ()) == -1) - return -1; - - if (ntWriter.open (newTop.arg ()) == -1) - return -1; - return 0; - } - - public synchronized int open (Object a, - Module head, - Module tail) - { - Task h1 = null, h2 = null; - Task t1 = null, t2 = null; - - if (head == null) - { - h1 = new StreamHead (); - h2 = new StreamHead (); - head = new Module ("ACEStreamHead", h1, h2, a); - } - - if (tail == null) - { - t1 = new StreamTail (); - t2 = new StreamTail (); - tail = new Module ("ACEStreamTail", - t1, t2, a); - } - - // Make sure *all* the allocation succeeded! - if (h1 == null || h2 == null || head == null - || t1 == null || t2 == null || tail == null) - { - // Close up! - head.close (0); - tail.close (0); - return -1; - } - - this.streamHead_ = head; - this.streamTail_ = tail; - - if (this.pushModule (this.streamTail_, - null, null) == -1) - return -1; - else if (this.pushModule (this.streamHead_, - this.streamTail_, - this.streamHead_) == -1) - return -1; - else - return 0; - } - - public synchronized int close (long flags) - { - if (this.streamHead_ != null - && this.streamTail_ != null) - { - // Don't bother checking return value here. - this.unlinkInternal (); - - int result = 0; - - // Remove and cleanup all the intermediate modules. - - while (this.streamHead_.next () != this.streamTail_) - { - if (this.pop (flags) == -1) - result = -1; - } - - // Clean up the head and tail of the stream. - if (this.streamHead_.close (flags) == -1) - result = -1; - if (this.streamTail_.close (flags) == -1) - result = -1; - - this.streamHead_ = null; - this.streamTail_ = null; - - // Tell all threads waiting on the close that we are done. - // this.final_close_.broadcast (); - return result; - } - return 0; - } - - public int control (int cmd, Object a) throws InterruptedException - { - IOCntlMsg ioc = new IOCntlMsg (cmd); - - // Create a data block that contains the user-supplied data. - MessageBlock db = - new MessageBlock (MessageType.MB_IOCTL, - null, - a); - - // Create a control block that contains the control field and a - // pointer to the data block. - MessageBlock cb = - new MessageBlock (MessageType.MB_IOCTL, - db, - (Object) ioc); - - int result = 0; - - if (this.streamHead_.writer ().put (cb, new TimeValue ()) == -1) - result = -1; - else if ((cb = this.streamHead_.reader ().getq (new TimeValue ())) == null) - result = -1; - else - result = ((IOCntlMsg ) cb.obj ()).rval (); - - return result; - } - -// Link two streams together at their bottom-most Modules (i.e., the -// one just above the Stream tail). Note that all of this is premised -// on the fact that the Stream head and Stream tail are non-NULL... -// This must be called with locks held. - - private int linkInternal (Stream us) - { - this.linkedUs_ = us; - // Make sure the other side is also linked to us! - us.linkedUs_ = this; - - Module myTail = this.streamHead_; - - if (myTail == null) - return -1; - - // Locate the module just above our Stream tail. - while (myTail.next () != this.streamTail_) - myTail = myTail.next (); - - Module otherTail = us.streamHead_; - - if (otherTail == null) - return -1; - - // Locate the module just above the other Stream's tail. - while (otherTail.next () != us.streamTail_) - otherTail = otherTail.next (); - - // Reattach the pointers so that the two streams are linked! - myTail.writer ().next (otherTail.reader ()); - otherTail.writer ().next (myTail.reader ()); - return 0; - } - - public synchronized int link (Stream us) - { - return this.linkInternal (us); - } - -// Must be called with locks held... - - private int unlinkInternal () - { - // Only try to unlink if we are in fact still linked! - - if (this.linkedUs_ != null) - { - Module myTail = this.streamHead_; - - // Only relink if we still exist! - if (myTail != null) - { - // Find the module that's just before our stream tail. - while (myTail.next () != this.streamTail_) - myTail = myTail.next (); - - // Restore the writer's next() link to our tail. - myTail.writer ().next (this.streamTail_.writer ()); - } - - Module otherTail = this.linkedUs_.streamHead_; - - // Only fiddle with the other side if it in fact still remains. - if (otherTail != null) - { - while (otherTail.next () != this.linkedUs_.streamTail_) - otherTail = otherTail.next (); - - otherTail.writer ().next (this.linkedUs_.streamTail_.writer ()); - - } - - // Make sure the other side is also aware that it's been unlinked! - this.linkedUs_.linkedUs_ = null; - - this.linkedUs_ = null; - return 0; - } - else - return -1; - } - - public synchronized int unlink () - { - return this.unlinkInternal (); - } - - public void dump () - { - ACE.DEBUG ("-------- module links --------"); - - for (Module mp = this.streamHead_; ; mp = mp.next ()) - { - ACE.DEBUG ("module name = " + mp.name ()); - if (mp == this.streamTail_) - break; - } - - ACE.DEBUG ("-------- writer links --------"); - - Task tp; - - for (tp = this.streamHead_.writer (); ; tp = tp.next ()) - { - ACE.DEBUG ("writer queue name = " + tp.name ()); - tp.dump (); - ACE.DEBUG ("-------\n"); - if (tp == this.streamTail_.writer () - || (this.linkedUs_ != null && tp == this.linkedUs_.streamHead_.reader ())) - break; - } - - ACE.DEBUG ("-------- reader links --------\n"); - for (tp = this.streamTail_.reader (); ; tp = tp.next ()) - { - ACE.DEBUG ("reader queue name = " + tp.name ()); - tp.dump (); - ACE.DEBUG ("-------\n"); - if (tp == this.streamHead_.reader () - || (this.linkedUs_ != null && tp == this.linkedUs_.streamHead_.writer ())) - break; - } - } - - Module streamHead_ = null; - // Pointer to the head of the stream. - - Module streamTail_ = null; - // Pointer to the tail of the stream. - - Stream linkedUs_ = null; - // Pointer to an adjoining linked stream. - - // = Synchronization objects used for thread-safe streams. - // ACE_SYNCH_MUTEX lock_; - // Protect the stream against race conditions. - - // ACE_SYNCH_CONDITION final_close_; - // Use to tell all threads waiting on the close that we are done. - -} - - diff --git a/java/src/StreamHead.java b/java/src/StreamHead.java deleted file mode 100644 index 37d9c2af0c3..00000000000 --- a/java/src/StreamHead.java +++ /dev/null @@ -1,120 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * StreamHead.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -import JACE.OS.*; - -/** - *
    - *

    SYNOPSIS

    - *
    - * Standard module that acts as the head of a ustream. - *
    - */ - -public class StreamHead extends Task -{ - // Module that acts as the head of a Stream. - - public int open (Object obj) - { - return 0; - } - - public int close (long l) - { - return 0; - } - - public int svc () - { - return -1; - } - - private int control (MessageBlock mb) - { - - IOCntlMsg ioc = (IOCntlMsg) mb.obj (); - int cmd = ioc.cmd (); - - switch (cmd) - { - case IOCntlCmds.SET_LWM: - case IOCntlCmds.SET_HWM: - this.waterMarks (cmd, mb.cont ().length ()); - ioc.rval (0); - break; - default: - return 0; - } - return ioc.rval (); - } - - /* Performs canonical flushing at the ACE_Stream Head */ - - private int canonicalFlush (MessageBlock mb) - { - String s = mb.base (); - long f = (new Long (s)).longValue (); - - if ((f & TaskFlags.ACE_FLUSHR) != 0) - { - this.flush (TaskFlags.ACE_FLUSHALL); - f &= ~TaskFlags.ACE_FLUSHR; - } - if ((f & TaskFlags.ACE_FLUSHW) != 0) - return this.reply (mb, new TimeValue ()); - return 0; - } - - public int put (MessageBlock mb, TimeValue tv) - { - int res = 0; - if (mb.msgType () == MessageType.MB_IOCTL - && (res = this.control (mb)) == -1) - return res; - - if (this.isWriter ()) - { - return this.putNext (mb, tv); - } - else /* this.isReader () */ - { - switch (mb.msgType ()) - { - case MessageType.MB_FLUSH: - return this.canonicalFlush (mb); - default: - break; - } - - try - { - return this.putq (mb, tv); - } - catch (InterruptedException e) - { - return -1; - } - } - } - - public void dump () - { - } - - public int handleTimeout (TimeValue tv, Object obj) - { - return 0; - } - -} diff --git a/java/src/StreamTail.java b/java/src/StreamTail.java deleted file mode 100644 index 44f9dde6634..00000000000 --- a/java/src/StreamTail.java +++ /dev/null @@ -1,111 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * StreamTail.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -import JACE.OS.*; - -/** - *
    - *

    SYNOPSIS

    - *
    - * Standard module that acts as the tail of a ustream. - *
    - */ - -public class StreamTail extends Task -{ - // Module that acts as the tail of a Stream. - - public int open (Object obj) - { - return 0; - } - - public int close (long l) - { - return 0; - } - - public int svc () - { - return -1; - } - - private int control (MessageBlock mb) - { - IOCntlMsg ioc = (IOCntlMsg) mb.obj (); - int cmd = ioc.cmd (); - - switch (cmd) - { - case IOCntlCmds.SET_LWM: - case IOCntlCmds.SET_HWM: - { - int size = mb.cont ().length (); - - this.waterMarks (cmd, size); - this.sibling ().waterMarks (cmd, size); - ioc.rval (0); - break; - } - default: - mb.msgType (MessageType.MB_IOCNAK); - } - return this.reply (mb, new TimeValue ()); - } - - // Perform flush algorithm as though we were the driver - private int canonicalFlush (MessageBlock mb) - { - String s = mb.base (); - long f = (new Long (s)).longValue (); - - if ((f & TaskFlags.ACE_FLUSHW) != 0) - { - this.flush (TaskFlags.ACE_FLUSHALL); - f &= ~TaskFlags.ACE_FLUSHW; - } - if ((f & TaskFlags.ACE_FLUSHR) != 0) - { - this.sibling ().flush (TaskFlags.ACE_FLUSHALL); - return this.reply (mb, new TimeValue ()); - } - return 0; - } - - public int put (MessageBlock mb, TimeValue tv) - { - if (this.isWriter ()) - { - switch (mb.msgType ()) - { - case MessageType.MB_IOCTL: - return this.control (mb); - /* NOTREACHED */ - default: - break; - } - } - - return -1; - } - - public void dump () - { - } - - public int handleTimeout (TimeValue tv, Object obj) - { - return 0; - } - -} diff --git a/java/src/SuspendNode.java b/java/src/SuspendNode.java deleted file mode 100644 index 52faab4ac05..00000000000 --- a/java/src/SuspendNode.java +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ServiceConfigurator - * - * = FILENAME - * SuspendNode.java - * - * Used when a service is specified to be suspended based on a line - * in a service configurator file. The actual implementation of the - * service being suspended does the work. - * - *@author Everett Anderson - * - *************************************************/ -package JACE.ServiceConfigurator; - -import java.io.*; -import JACE.OS.*; -import java_cup.runtime.*; - -class SuspendNode extends ParseNode -{ - public SuspendNode (int act_num) - { - super(act_num); - } - - public void apply () - { - ACE.DEBUG("Suspend Node apply: " + this.name_); - - if (JACE.ServiceConfigurator.ServiceConfig.suspend(this.name_) == -1) - ACE.ERROR("Error suspending " + this.name_); - } -}; diff --git a/java/src/SvcHandler.java b/java/src/SvcHandler.java deleted file mode 100644 index cb9af5a3334..00000000000 --- a/java/src/SvcHandler.java +++ /dev/null @@ -1,85 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Connection - * - * = FILENAME - * SvcHandler.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Connection; - -import java.io.*; -import java.net.*; -import JACE.SOCK_SAP.*; -import JACE.ASX.*; -import JACE.Reactor.*; - -public abstract class SvcHandler extends Task -{ - - /** - * Do nothing constructor. - */ - public SvcHandler () - { - } - - /** - * Set the stream using the SOCKStream passed in. This sets the - * underlying peer - *@param s SOCK Stream to use for the connection - */ - public void setHandle (SOCKStream s) throws IOException - { - this.stream_ = s; - } - - /** - * Get the underlying peer - *@return the underlying peer - */ - public SOCKStream peer () - { - return this.stream_; - } - - /** - * Abstract method that subclasses must define to allow - * initialization to take place. - */ - public abstract int open (Object obj); - - /** - * Provide a default implementation to simplify ancestors. - *@return 0 - */ - public int close (long flags) - { - return 0; - } - - /** - * Provide a default implementation to simplify ancestors. - *@return -1 - */ - public int put (MessageBlock mb, TimeValue tv) - { - return -1; - } - - /** - * Provide a default implementation to simplify ancestors. - *@param tv Time Value for which timer was set - *@param obj An arbitrary object that was passed to the Timer Queue - * (Asynchronous Completion Token) - */ - public int handleTimeout (TimeValue tv, Object obj) - { - return -1; - } - - protected SOCKStream stream_; -} diff --git a/java/src/Svc_Conf.y b/java/src/Svc_Conf.y deleted file mode 100644 index a11a18f9af0..00000000000 --- a/java/src/Svc_Conf.y +++ /dev/null @@ -1,208 +0,0 @@ -package JACE.ServiceConfigurator; - -import java.io.*; -import java_cup.runtime.*; -import JACE.OS.*; - -parser code {: - // Lexical Analyzer - private Yylex lexer_; - - public void setLexer(Yylex lexer) - { - this.lexer_ = lexer; - } -:}; - -init with {: - try { - - FileInputStream fs = new FileInputStream(new String(ServiceConfig.serviceConfigFile_)); - - this.setLexer(new Yylex(fs)); - - } catch (FileNotFoundException fnf) { - - ACE.ERROR("File not found: " + fnf); - - } catch (SecurityException se) { - - ACE.ERROR("Security: " + se); - } -:}; - -scan with {: return this.lexer_.yylex(); :}; - -terminal token ACE_DYNAMIC, ACE_STATIC, ACE_SUSPEND, ACE_RESUME, ACE_REMOVE, ACE_STREAM; -terminal token ACE_MODULE_T, ACE_STREAM_T, ACE_SVC_OBJ_T, ACE_ACTIVE, ACE_INACTIVE; -terminal str_token ACE_PATHNAME, ACE_IDENT, ACE_STRING; -terminal token ACE_LPAREN, ACE_RPAREN, ACE_LBRACE, ACE_RBRACE, ACE_STAR, ACE_COLON; -terminal token ACE_USTREAM; - -non terminal AddServiceObjectNode dynamic, svc_location; /* AddServiceObjectNode */ -non terminal SuspendNode suspend; /* SuspendNode */ -non terminal ResumeNode resume; /* ResumeNode */ -non terminal RemoveNode remove; /* RemoveNode */ -non terminal ParseNode module_list, stream, svc_config_entry; -non terminal ParseNode svc_config_entries, static; -non terminal java_cup.runtime.str_token stream_modules, module; -non terminal java_cup.runtime.int_token status; -non terminal java_cup.runtime.str_token svc_initializer; -non terminal java_cup.runtime.str_token pathname, parameters_opt; -non terminal java_cup.runtime.str_token stream_ops, type; - -start with svc_config_entries; - -svc_config_entries ::= svc_config_entry:e1 svc_config_entries - {: - if (e1 != null) - e1.apply(); - :} - | - svc_config_entry:e1 - {: - if (e1 != null) - e1.apply(); - :} - ; - -svc_config_entry ::= dynamic - {: - /* Empty -- result auto set to dynamic */ - /* CUP$result = (ParseNode)CUP$stack.elementAt(CUP$top-0); */ - :} - | - static - {: - /* More graceful error system needed here */ - ACE.ERROR("Not implemented: static service loading"); :} - | - suspend - {: - /* Empty -- result auto set to suspend */ - /* CUP$result = (ParseNode)CUP$stack.elementAt(CUP$top-0); */ - :} - | - resume - {: /* Empty -- result auto set to resume */ - :} - | - remove - {: - - :} - | - stream - {: ACE.ERROR("Not implemented: stream loading"); :} - ; - -dynamic ::= ACE_DYNAMIC svc_location:e1 parameters_opt:e2 -{: - RESULT.init(e1.name(), e1.locator(), e1.suspended()); - - RESULT.params(e2.str_val); -:} - ; - -static ::= ACE_STATIC ACE_IDENT parameters_opt - ; - -suspend ::= ACE_SUSPEND ACE_IDENT:e1 -{: - RESULT.init(e1.str_val); -:} - ; - -resume ::= ACE_RESUME ACE_IDENT:e1 -{: - RESULT.init(e1.str_val); -:} - ; - -remove ::= ACE_REMOVE ACE_IDENT:e1 -{: - RESULT.init(e1.str_val); -:} - ; - -stream ::= ACE_USTREAM stream_ops stream_modules - | - ACE_USTREAM ACE_IDENT stream_modules - ; - -stream_ops ::= dynamic - | - static - ; - -stream_modules ::= ACE_LBRACE - | - module_list ACE_RBRACE - ; - -module_list ::= module_list module - {: ACE.ERROR("Not implemented: module manipulation"); :} - | - {: ACE.ERROR("Not implemented: module manipulation"); :} - ; - -module ::= dynamic - | - static - | - suspend - | - resume - | - remove - ; - -svc_location ::= ACE_IDENT:e1 type:e2 svc_initializer:e3 status:e4 -{: - boolean suspended = false; - if (e4.int_val == 1) - suspended = true; - - RESULT.init(e1.str_val, e3.str_val, suspended); -:} -; - -status ::= ACE_ACTIVE - {: RESULT.int_val = 0; :} - | - ACE_INACTIVE - {: RESULT.int_val = 1; :} - | - {: // Default case - RESULT.int_val = 0; :} - ; - -svc_initializer ::= pathname:e1 ACE_COLON ACE_IDENT:e2 - {: RESULT.str_val = new String(e1.str_val + ":" + e2.str_val); :} - | - pathname:e1 ACE_COLON ACE_IDENT:e2 ACE_LPAREN ACE_RPAREN - {: RESULT.str_val = new String(e1.str_val + ":" + e2.str_val); :} - ; - -type ::= ACE_MODULE_T ACE_STAR - | - ACE_SVC_OBJ_T ACE_STAR - {: RESULT.str_val = new String("Service Object"); :} - | - ACE_STREAM_T ACE_STAR - ; - -parameters_opt ::= ACE_STRING:e - {: RESULT.str_val = new String(e.str_val); :} - | - ; - -pathname ::= ACE_PATHNAME:e - {: RESULT.str_val = new String(e.str_val); :} - | - ACE_IDENT:e - {: RESULT.str_val = new String(e.str_val); :} - ; - - - diff --git a/java/src/Task.java b/java/src/Task.java deleted file mode 100644 index 065e7869fef..00000000000 --- a/java/src/Task.java +++ /dev/null @@ -1,415 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * Task.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -import JACE.OS.*; -import JACE.Reactor.*; -import JACE.Concurrency.*; - -public abstract class Task implements Runnable, EventHandler -{ - // = Initialization/termination methods. - - /** - * Initialize a Task. Note, we allocate a message queue ourselves. - */ - public Task () - { - this.msgQueue_ = new MessageQueue (); - this.thrMgr_ = null; - } - - /** - * Initialize a Task. Note, we use the message queue and thread - * manager supplied by the user. - *@param mq Message Queue to hold list of messages on the Task - *@param thrMgr Thread Manager that manages all the spawned threads - */ - public Task (MessageQueue mq, - ThreadManager thrMgr) - { - this.msgQueue_ = mq; - this.thrMgr_ = thrMgr; - } - - /** - * Not meant to be invoked by the user directly!. This needs to be - * in the public interface in order to get invoked by Thread - * class. - */ - public void run () - { - this.svc (); - } - - // = Initialization and termination hooks (note that these *must* be - // defined by subclasses). - - /** - * Hook called to open a Task. - *@param obj used to pass arbitrary information - */ - public abstract int open (Object obj); - - /** - * Hook called to close a Task. - */ - public abstract int close (long flags); - - // = Immediate and deferred processing methods, respectively. - - /** - * Transfer a message into the queue to handle immediate - * processing. - *@param mb Message Block to handle immediately - *@param tv amount of time to wait for - */ - public abstract int put (MessageBlock mb, TimeValue tv); - - /** - * Run by a daemon thread to handle deferred processing. Note, that - * to do anything useful, this method should be overriden by the - * subclass. - *@return default implementation always returns 0. - */ - public int svc () - { - return 0; - } - - /** - * Set the underlying Thread Manager. - *@param t Thread Manager to use - */ - public synchronized void thrMgr (ThreadManager t) - { - this.thrMgr_ = t; - } - - /** - * Get the Thread Manager. - *@return Underlying Thread Manager - */ - public synchronized ThreadManager thrMgr () - { - return this.thrMgr_; - } - - // = Active object method. - - /** - * Turn the task into an active object. That is, having - * separate threads of control that all invoke Task::svc. - *@param flags Task Flags - *@param nThreads number of threads to spawn - *@param forceActive whether to force creation of new threads or not - *@return -1 if failure occurs, 1 if Task is already an active - * object and is false (doesn't *not* create a new - * thread in this case), and 0 if Task was not already an active - * object and a thread is created successfully or thread is an active - * object and is true. - */ - public synchronized int activate (long flags, int nThreads, boolean forceActive) - { - // Create a Thread Manager if we do not already have one - if (this.thrMgr_ == null) - this.thrMgr_ = new ThreadManager (); - - if (this.thrCount () > 0 && forceActive == false) - return 1; // Already active. - this.flags_ = flags; - - if (ACE.BIT_ENABLED (flags, TaskFlags.THR_DAEMON)) - this.thrMgr_.spawnN (nThreads, this, true); // Spawn off all threads as daemon threads - else // Spawn off all threads as normal threads - this.thrMgr_.spawnN (nThreads, this, false); - - return 0; - } - - // = Suspend/resume a Task - - /** - * Suspend a task. - */ - public synchronized void suspend () - { - // Suspend all threads - if (this.thrMgr_ != null) - this.thrMgr_.thrGrp ().suspend (); - } - - /** - * Resume a suspended task. - */ - public synchronized void resume () - { - // Resume all threads - if (this.thrMgr_ != null) - this.thrMgr_.thrGrp ().resume (); - } - - /** - * Get the current group name. - *@return name of the current thread group - */ - public synchronized String grpName () - { - if (this.thrMgr_ != null) - return this.thrMgr_.thrGrp ().getName (); - else - return null; - } - - /** - * Get the message queue associated with this task. - *@return the message queue associated with this task. - */ - public MessageQueue msgQueue () - { - return this.msgQueue_; - } - - /** - * Set the message queue associated with this task. - *@param mq Message Queue to use with this Task. - */ - public void msgQueue (MessageQueue mq) - { - this.msgQueue_ = mq; - } - - /** - * Get the number of threads currently running within the Task. - *@return the number of threads currently running within the Task. - * 0 if we're a passive object, else > 0. - */ - public synchronized int thrCount () - { - if (this.thrMgr_ != null) - return this.thrMgr_.thrGrp ().activeCount (); - else - return 0; - } - - /** - * Set the Task flags - *@param flags Task Flags - */ - public synchronized void flags (long flags) - { - this.flags_ = flags; - } - - /** - * Get the Task flags - *@return Task Flags - */ - public synchronized long flags () - { - return this.flags_; - } - - // = Message queue manipulation methods. - - - /* - * Dump debug information. - */ - public void dump () - { - } - - /** - * Insert message into the message queue. - *@param mb Message Block to insert into the Message Queue - *@param tv amount of time to wait for - */ - protected int putq (MessageBlock mb, TimeValue tv) throws InterruptedException - { - return this.msgQueue_.enqueueTail (mb, tv); - } - - /** - * Extract the first message from the queue. Note that the call is blocking. - *@return the first Message Block from the Message Queue. - *@param tv amount of time to wait for - */ - protected MessageBlock getq (TimeValue tv) throws InterruptedException - { - return this.msgQueue_.dequeueHead (tv); - } - - /** - * Return a message back to the queue. - *@param mb Message Block to return back to the Message Queue - *@param tv amount of time to wait for - */ - protected int ungetq (MessageBlock mb, TimeValue tv) throws InterruptedException - { - return this.msgQueue_.enqueueHead (mb, tv); - } - - /** - * Transfer message to the adjacent ACETask in an ACEStream. - *@param mb Message Block to transfer to the adjacent Task - *@param tv amount of time to wait for - *@return -1 if there is no adjacent Task, else the return value of - * trying to put the Message Block on that Task's Message Queue. - */ - protected int putNext (MessageBlock mb, TimeValue tv) - { - return this.next_ == null ? -1 : this.next_.put (mb, tv); - } - - /** - * Turn the message back around. Puts the message in the sibling's - * Message Queue. - *@param mb Message Block to put into sibling's Message Queue - *@param tv amount of time to wait for - *@return -1 if there is no adjacent Task to the sibling, else the - * return value of trying to put the Message Block on sibling's - * Message Queue. - */ - protected int reply (MessageBlock mb, TimeValue tv) - { - return this.sibling ().putNext (mb, tv); - } - - // = ACE_Task utility routines to identify names et al. - - /** - * Get the name of the enclosing Module. - *@return the name of the enclosing Module if there's one associated - * with the Task, else null. - */ - protected String name () - { - if (this.mod_ == null) - return null; - else - return this.mod_.name (); - } - - /** - * Get the Task's sibling. - *@return the Task's sibling if there's one associated with the - * Task's Module, else null. - */ - protected Task sibling () - { - if (this.mod_ == null) - return null; - else - return this.mod_.sibling (this); - } - - /** - * Set the Task's module. - *@param mod the Task's Module. - */ - protected void module (Module mod) - { - this.mod_ = mod; - } - - /** - * Get the Task's module. - *@return the Task's Module if there is one, else null. - */ - protected Module module () - { - return this.mod_; - } - - /** - * Check if queue is a reader. - *@return true if queue is a reader, else false. - */ - protected boolean isReader () - { - return (ACE.BIT_ENABLED (this.flags_, TaskFlags.ACE_READER)); - } - - /** - * Check if queue is a writer. - *@return true if queue is a writer, else false. - */ - protected boolean isWriter () - { - return (ACE.BIT_DISABLED (this.flags_, TaskFlags.ACE_READER)); - } - - // = Pointers to next ACE_Queue (if ACE is part of an ACE_Stream). - - /** - * Get next Task pointer. - *@return pointer to the next Task - */ - protected Task next () - { - return this.next_; - } - - /** - * Set next Task pointer. - *@param task next task pointer - */ - protected void next (Task task) - { - this.next_ = task; - } - - // Special routines corresponding to certain message types. - - /** - * Flush the Message Queue - *@return 0 if Message Queue is null, 1 if flush succeeds, -1 if - * ACE_FLUSHALL bit is not enabled in flags. - */ - protected int flush (long flag) - { - if (ACE.BIT_ENABLED (flag, TaskFlags.ACE_FLUSHALL)) - return (this.msgQueue_ == null ? 0 : 1); - else - return -1; - } - - - /** - * Manipulate watermarks. - *@param cmd IOCntlCmd - *@param size watermark - */ - protected void waterMarks (int cmd, int size) - { - if (cmd == IOCntlCmds.SET_LWM) - this.msgQueue_.lowWaterMark (size); - else /* cmd == IOCntlMsg.SET_HWM */ - this.msgQueue_.highWaterMark (size); - } - - private ThreadManager thrMgr_ = null; - // Thread_Manager that manages all the spawned threads - - private long flags_; - // Task flags. - - private MessageQueue msgQueue_; - // List of messages on the Task.. - - private Task next_; - // Adjacent ACE_Task. - - private Module mod_; - // Back-pointer to the enclosing module. -} diff --git a/java/src/TaskFlags.java b/java/src/TaskFlags.java deleted file mode 100644 index 590e514b5e2..00000000000 --- a/java/src/TaskFlags.java +++ /dev/null @@ -1,44 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * TaskFlags.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -public abstract class TaskFlags -{ - /** Identifies a Task as being the "reader" in a Module. */ - public static final int ACE_READER = 01; - - /** Just flush data messages in the queue. */ - public static final int ACE_FLUSHDATA = 02; - - /** Flush all messages in the Queue. */ - public static final int ACE_FLUSHALL = 04; - - /** Flush read queue */ - public static final int ACE_FLUSHR = 010; - - /** Flush write queue */ - public static final int ACE_FLUSHW = 020; - - /** Flush both queues */ - public static final int ACE_FLUSHRW = 030; - - /** Identifies a thread as suspended */ - public static final int THR_SUSPENDED = 0x00000080; - - /** Identifies a thread as a daemon thread */ - public static final int THR_DAEMON = 0x00000100; - - // Default private constructor to avoid instantiation - private TaskFlags () - { - } -} diff --git a/java/src/ThreadManager.java b/java/src/ThreadManager.java deleted file mode 100644 index 5043d26511e..00000000000 --- a/java/src/ThreadManager.java +++ /dev/null @@ -1,109 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Concurrency - * - * = FILENAME - * ThreadManager.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Concurrency; - -import java.util.*; -import JACE.OS.*; - -public class ThreadManager -{ - /** - * Default constructor - */ - public ThreadManager () - { - this (ACE.DEFAULT_THREAD_GROUP_NAME); - } - - /** - * Create a Thread Manager. - *@param groupName name of the thread group that the Thread Manager - * will manage - */ - public ThreadManager (String groupName) - { - this.thrGrp_ = new ThreadGroup (groupName); - if (this.thrGrp_ == null) - ACE.ERROR ("Thread group create failed"); - } - - /** - * Create a new thread. - *@param thr the caller whose run method will be invoked when the - * thread has been spawned - *@param daemon flag indicating whether the thread should be - * spawned off as a daemon thread - */ - public void spawn (Runnable thr, - boolean daemon) - { - Thread t = new Thread (this.thrGrp_, thr); - if (daemon) // Set the thread to be a daemon thread - t.setDaemon (true); - t.start (); - } - - /** - * Create a new thread and also give it a name. - *@param thr the caller whose run method will be invoked when the - * thread has been spawned - *@param threadName the name of the new thread - *@param daemon flag indicating whether the thread should be - * spawned off as a daemon thread - */ - public void spawn (Runnable thr, - String threadName, - boolean daemon) - { - Thread t = new Thread (this.thrGrp_, thr, threadName); - if (daemon) // Set the thread to be a daemon thread - t.setDaemon (true); - t.start (); - } - - - /** - * Create new threads. - *@param n the number of threads to spawn - *@param thr the caller whose run method will be invoked by each of - * the threads - *@param daemon flag indicating whether the threads should be - * spawned off as daemon threads - */ - public void spawnN (int n, - Runnable thr, - boolean daemon) - { - // Spawn off all the threads. - for (int i = 0; i < n; i++) - { - this.spawn (thr, daemon); - } - } - - /** - * Get the thread group containing all the threads. Note that the - * thread group can be used to get information regarding number of - * active threads as well as to suspend/resume all the threads in - * the group. - *@return the thread group that contains all the threads managed by - * the Thread Manager - */ - public ThreadGroup thrGrp () - { - return this.thrGrp_; - } - - private ThreadGroup thrGrp_; - // Thread Group that contains all the spawned threads - -} diff --git a/java/src/ThruTask.java b/java/src/ThruTask.java deleted file mode 100644 index aebc8eb1f48..00000000000 --- a/java/src/ThruTask.java +++ /dev/null @@ -1,48 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * ThruTask.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.ASX; - -/** - *
    - *

    SYNOPSIS

    - *
    - * Standard module that acts as a "no op", simply passing on all - * data to its adjacent neighbor. - *
    - */ -public class ThruTask extends Task -{ - public int open (Object obj) - { - return 0; - } - - public int close (long flags) - { - return 0; - } - - public int put (MessageBlock msg, TimeValue tv) - { - return this.putNext (msg, tv); - } - - public int svc () - { - return -1; - } - - public int handleTimeout (TimeValue tv, Object obj) - { - return 0; - } -} diff --git a/java/src/TimeValue.java b/java/src/TimeValue.java deleted file mode 100644 index 280f45ab0f1..00000000000 --- a/java/src/TimeValue.java +++ /dev/null @@ -1,256 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Reactor - * - * = FILENAME - * TimeValue.java - * - *@author Prashant Jain - * - *************************************************/ -//package JACE.Reactor; -package JACE.ASX; - -public class TimeValue -{ - public final static TimeValue zero = new TimeValue (0,0); - - /** - * Default constructor - */ - public TimeValue () - { - this (0, 0); - } - - /** - * Constructor - *@param sec seconds - */ - public TimeValue (long sec) - { - this (sec, 0); - } - - /** - * Constructor - *@param sec seconds - *@param nanos nanoseconds - */ - public TimeValue (long sec, int nanos) - { - this.set (sec, nanos); - } - - /** - * Sets the seconds and nanoseconds of Time Value - *@param sec seconds - *@param nanos nanoseconds - */ - public void set (long sec, int nanos) - { - this.millisec_ = sec * 1000; - this.nanos_ = nanos; - this.normalize (); - } - - /** - * Get seconds - *@return Seconds - */ - public long sec () - { - return this.millisec_/1000; - } - - /** - * Get nanoseconds - *@return Nanoseconds - */ - public int nanos () - { - return this.nanos_; - } - - /** - * Get time in milliseconds. - *@return time in milliseconds - */ - public long getMilliTime () - { - return this.millisec_; - } - - /** - * Get a String representation of the Time Value. - *@return String representation of the Time Value - */ - public String toString () - { - return (new Long (this.millisec_/1000)).toString () + ":" + - (new Integer (this.nanos_)).toString (); - } - - /** - * Get current time. - *@return the current system time - */ - public static TimeValue getTimeOfDay () - { - return new TimeValue (System.currentTimeMillis ()/1000); - } - - /** - * Compare two Time Values for equality. - *@param tv Time Value to compare with - *@return true if the two Time Values are equal, false otherwise - */ - public boolean equals (TimeValue tv) - { - return this.millisec_ == (tv.sec () * 1000) && this.nanos_ == tv.nanos (); - } - - /** - * Compare two Time Values for non-equality. - *@param tv Time Value to compare with - *@return true if the two Time Values are not equal, false otherwise - */ - public boolean notEquals (TimeValue tv) - { - return !this.equals (tv); - } - - /** - * Add two Time Values. - *@param tv1 The first Time Value - *@param tv2 The second Time Value - *@return sum of the two Time Values. - */ - public static TimeValue plus (TimeValue tv1, TimeValue tv2) - { - TimeValue tv = new TimeValue (tv1.sec () + tv2.sec (), - tv1.nanos () + tv2.nanos ()); - tv.normalize (); - return tv; - } - - /** - * Subtract two Time Values. - *@param tv1 The first Time Value - *@param tv2 The second Time Value - *@return difference of the two Time Values. - */ - public static TimeValue minus (TimeValue tv1, TimeValue tv2) - { - TimeValue tv = new TimeValue (tv1.sec () - tv2.sec (), - tv1.nanos () - tv2.nanos ()); - tv.normalize (); - return tv; - } - - /** - * Add Time Value to "this". - *@param tv The Time Value to add to this. - */ - public void plusEquals (TimeValue tv) - { - this.set (this.sec () + tv.sec (), - this.nanos () + tv.nanos ()); - this.normalize (); - } - - /** - * Subtract Time Value from "this". - *@param tv The Time Value to subtract from this. - */ - public void minusEquals (TimeValue tv) - { - this.set (this.sec () - tv.sec (), - this.nanos () - tv.nanos ()); - this.normalize (); - } - - /** - * Compare two Time Values for less than. - *@param tv Time Value to compare with - *@return true if "this" is less than tv, false otherwise - */ - public boolean lessThan (TimeValue tv) - { - return tv.greaterThan (this); - } - - /** - * Compare two Time Values for greater than. - *@param tv Time Value to compare with - *@return true if "this" is greater than tv, false otherwise - */ - public boolean greaterThan (TimeValue tv) - { - if (this.sec () > tv.sec ()) - return true; - else if (this.sec () == tv.sec () - && this.nanos () > tv.nanos ()) - return true; - else - return false; - } - - /** - * Compare two Time Values for <=. - *@param tv Time Value to compare with - *@return true if "this" <= tv, false otherwise - */ - public boolean lessThanEqual (TimeValue tv) - { - return tv.greaterThanEqual (this); - } - - /** - * Compare two Time Values for >=. - *@param tv Time Value to compare with - *@return true if "this" >= tv, false otherwise - */ - public boolean greaterThanEqual (TimeValue tv) - { - return this.sec () >= tv.sec () && this.nanos () >= tv.nanos (); - } - - private void normalize () - { - if (this.nanos_ >= ONE_MILLISECOND) - { - do - { - this.millisec_++; - this.nanos_ -= ONE_MILLISECOND; - } - while (this.nanos_ >= ONE_MILLISECOND); - } - else if (this.nanos_ <= -ONE_MILLISECOND) - { - do - { - this.millisec_--; - this.nanos_ += ONE_MILLISECOND; - } - while (this.nanos_ <= -ONE_MILLISECOND); - } - - if (this.millisec_ >= 1 && this.nanos_ < 0) - { - this.millisec_--; - this.nanos_ += ONE_MILLISECOND; - } - else if (this.millisec_ < 0 && this.nanos_ > 0) - { - this.millisec_++; - this.nanos_ -= ONE_MILLISECOND; - } - } - - private long millisec_; - private int nanos_; - private final static int ONE_MILLISECOND = 1000000; -} diff --git a/java/src/TimedWait.java b/java/src/TimedWait.java deleted file mode 100644 index acf771dfca1..00000000000 --- a/java/src/TimedWait.java +++ /dev/null @@ -1,134 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * TimedWait.java - * - *@author Prashant Jain and Doug Schmidt - * - *************************************************/ -package JACE.ASX; - -public abstract class TimedWait -{ - /** - * Default Constructor. Sets "this" to be used for the delegation of - * the wait() call to. - */ - public TimedWait () - { - object_ = this; - } - - /** - * Constructor. Allows subclasses to supply us with an Object that - * is delegated the wait() call. - *@param obj The Object that is delegated the wait() call. - */ - public TimedWait (Object obj) - { - object_ = obj; - } - - /** - * Hook method that needs to be implemented by subclasses. - */ - public abstract boolean condition (); - - /** - * Wait until condition becomes true. Note that the method - * blocks. Also note that this method is final to ensure that no one - * overrides it. - * IMPORTANT: This method assumes it is called with the object_'s - * monitor lock already held. - */ - public final void timedWait () throws InterruptedException - { - // Acquire the monitor lock. - if (!condition ()) - { - // Only attempt to perform the wait if the condition isn't - // true initially. - for (;;) - { - // Wait until we are notified. - object_.wait (); - - // Recheck the condition. - if (condition ()) - break; // Condition became true. - // else we were falsely notified so go back into wait - } - } - } - - /** - * Template Method that implements the actual timed wait. Note that - * this method is final to ensure that no one overrides it. - * IMPORTANT: This method assumes it is called with the object_'s - * monitor lock already held. - *@param tv Amount of time to do wait for. - */ - public final void timedWait (TimeValue tv) - throws InterruptedException, - TimeoutException - { - // Acquire the monitor lock. - if (!condition ()) - { - // Only attempt to perform the timed wait if the condition isn't - // true initially. - long start = System.currentTimeMillis (); - long waitTime = tv.getMilliTime (); - - for (;;) { - // Wait until we are notified. - object_.wait (waitTime); - - // Recheck the condition. - if (!condition ()) { - long now = System.currentTimeMillis (); - long timeSoFar = now - start; - - // Timed out! - if (timeSoFar >= tv.getMilliTime ()) - throw new TimeoutException (); - else - // We still have some time left to wait, so adjust the - // wait_time. - waitTime = tv.getMilliTime () - timeSoFar; - } - else - break; // Condition became true. - } - } - } - - /** - * Notify any one thread waiting on the object_. - * IMPORTANT: This method assumes it is called with the object_'s - * monitor lock already held. - */ - public final void signal () { - object_.notify (); - } - - /** - * Notify all threads waiting on the object_. - * IMPORTANT: This method assumes it is called with the object_'s - * monitor lock already held. - */ - public final void broadcast () { - object_.notifyAll (); - } - - /** - * The object we delegate to. If a subclass gives us a particular - * object, we use that to delegate to, otherwise, we ``delegate'' - * to ourself (i.e., this). - */ - protected Object object_; - -} diff --git a/java/src/TimeoutException.java b/java/src/TimeoutException.java deleted file mode 100644 index b55549938dc..00000000000 --- a/java/src/TimeoutException.java +++ /dev/null @@ -1,34 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.ASX - * - * = FILENAME - * TimeoutException.java - * - *@author Prashant Jain and Doug Schmidt - * - *************************************************/ -package JACE.ASX; - -public class TimeoutException extends Exception -{ - /** - * Default Constructor. - */ - public TimeoutException () - { - super ("Timed Out"); - } - - /** - * Constructor. - *@param timeout The timeout value which expired. - *@param desc Textual description of the exception - */ - public TimeoutException (TimeValue timeout, String desc) - { - super ("Timed Out in " + timeout + ": " + desc); - } - -} diff --git a/java/src/TimerQueue.java b/java/src/TimerQueue.java deleted file mode 100644 index e3aa30d9472..00000000000 --- a/java/src/TimerQueue.java +++ /dev/null @@ -1,433 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Reactor - * - * = FILENAME - * TimerQueue.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Reactor; - -import java.util.*; -import JACE.ASX.*; - -import JACE.OS.*; - -class TimerNode -{ - public TimerNode (EventHandler handler, - Object arg, - TimeValue timerValue, - TimeValue interval, - TimerNode next, - int timerId) - { - this.handler_ = handler; - this.arg_ = arg; - this.timerValue_ = timerValue; - this.interval_ = interval; - this.next_ = next; - this.timerId_ = timerId; - } - - public EventHandler handler_; - // Handler to invoke on when a timeout occurs. - - public Object arg_; - // Argument to pass to . - - public TimeValue timerValue_; - // Time until the timer expires. - - public TimeValue interval_; - // If this is a periodic timer this holds the time until the next - // timeout. - - public TimerNode next_; - // Pointer to next timer. - - public int timerId_; - // Id of this timer (used to cancel timers before they expire). -} - -class WaitObject extends TimedWait -{ - public boolean condition () - { - return this.condition_; - } - - public void condition (boolean c) - { - this.condition_ = c; - } - - private boolean condition_ = false; -} - -/** - *
    - *

    SYNOPSIS

    - *
    - * Class that provides an interface to timers. - * - *
    - * - *

    DESCRIPTION

    - *
    - * This is a simple implementation that keeps a linked list of - * absolute timers. It allows multiple timers to be scheduled - * and returns a timer id for each timer scheduled. In addition, - * it allows periodic timers to be scheduled. - *
    - */ -public class TimerQueue implements Runnable -{ - /** - * Constructor. - *@param createInternalThread flag specifying whether to create an - * internal thread that runs the event loop. If it is true, a thread - * is spawned and it runs the event loop, handling all timeout - * events. If it is false, the caller is then responsible for calling - * handleEvents () to run the event loop. - */ - public TimerQueue (boolean createInternalThread) - { - this.eventLoopRunning_ = false; - if (createInternalThread) - new Thread (this).start (); - } - - /** - * The thread run method. Do *NOT* call this method! It gets called - * automatically. - */ - public void run () - { - this.handleEvents (); - } - - /** - * Handle timeout events. This forms the event loop and takes care - * of all scheduling. This method should only be called if the Timer - * Queue was constructed with the value of createInternalThread as - * false. - */ - public void handleEvents () - { - if (!this.eventLoopRunning_) - { - // Set the flag indicating that the event loop is now running - this.eventLoopRunning_ = true; - - TimeValue timeout = null; - TimeValue earliest = null; - - for (;;) - { - synchronized (this.obj_) - { - earliest = this.earliestTime (); - if (earliest != null) - timeout = TimeValue.minus (earliest, TimeValue.getTimeOfDay ()); - else - timeout = new TimeValue (); - try - { - // Extract the earliest time from the queue and do a timed wait - this.obj_.timedWait (timeout); - - // We have been notified. Check to see if we need to - // restart the wait with a different timeout - if (this.reset_) - { - this.reset_ = false; - this.obj_.condition (false); - timeout = TimeValue.minus (this.earliestTime (), TimeValue.getTimeOfDay ()); - } - } - catch (TimeoutException e) - { - // Timeout occurred. Call handleTimeout on appropriate - // Event Handlers - this.dispatchHandlers (); - } - catch (InterruptedException e) - { - } - } - } - } - } - - /** - * Check if the queue is empty. - *@return true if queue is empty, else false. - */ - boolean isEmpty () - { - return this.head_ == null; - } - - /** - * Get the node of the earliest node in the TimerQueue. - *@return the time of the earlier node in the TimerQueue. - */ - TimeValue earliestTime () - { - synchronized (this.obj_) - { - if (!this.isEmpty ()) - return this.head_.timerValue_; - else - return null; - } - } - - /** - * Schedule an that will expire after amount - * of time. If it expires then is passed in as the value to - * the 's callback method. This method - * returns a timer id that uniquely identifies the timer and can be - * used to cancel the timer before it expires. - *@param handler Event Handler that is to be scheduled with the timer - *@param obj Object that is passed back to the Event Handler when - * timeout occurs (Asynchronous Completion Token) - *@param delta amount of time for which to schedule the timer - *@return id of the timer scheduled - */ - public int scheduleTimer (EventHandler handler, - Object obj, - TimeValue delta) - { - return this.scheduleTimer (handler, obj, delta, TimeValue.zero); - } - - /** - * Schedule an that will expire after amount - * of time. If it expires then is passed in as the value to - * the 's callback method. If - * is != to then it is used to - * reschedule the automatically. This method - * returns a timer id that uniquely identifies the timer and can be - * used to cancel the timer before it expires. - *@param handler Event Handler that is to be scheduled with the timer - *@param arg Object that is passed back to the Event Handler when - * timeout occurs (Asynchronous Completion Token) - *@param timeout amount of time for which to schedule the timer - *@param interval amount of time to use to reschedule the timer - *@return id of the timer scheduled - */ - public int scheduleTimer (EventHandler handler, - Object arg, - TimeValue timeout, - TimeValue interval) - { - - // Increment the sequence number (it will wrap around). - this.timerId_++; - - ACE.DEBUG("scheduleTimer (" + this.timerId_ + "): " + timeout + ", " + interval); - - - TimeValue futureTime = TimeValue.plus (timeout, TimeValue.getTimeOfDay ()); - TimerNode node = new TimerNode (handler, - arg, - futureTime, - interval, - null, - this.timerId_); - synchronized (this.obj_) - { - // Check if event loop is running. If it is not, then we can - // just place it at the appropriate place in the queue and - // don't need to do any notification. If event loop is - // running, then check if the node is the first node in the - // queue (either because the queue is empty or because the - // time for the node is earlier than the currently scheduled - // timer node). - if (this.eventLoopRunning_ && - (this.isEmpty () || futureTime.lessThan (this.earliestTime ()))) - { - // Insert the node into (the beginning of) the queue to be - // scheduled. - this.reschedule (node); - - // Notify the waiting thread so that it can reschedule - // using the earliest timeout - this.obj_.notify (); - } - else // Place in the appropriate position in the queue. - { - this.reschedule (node); - } - } - return this.timerId_; - } - - - /** - * Cancel the single timer associated with . - *@param timerId id of the timer that needs to be cancelled. - *@return Object that was passed in when timer was scheduled - * (Asynchronous Completion Token). - */ - public Object cancelTimer (int timerId) - { - TimerNode prev = null; - TimerNode curr = null; - - synchronized (this.obj_) - { - // Try to locate the TimerNode that matches the timerId. - for (curr = this.head_; - curr != null && curr.timerId_ != timerId; - curr = curr.next_) - prev = curr; - - if (curr != null) - { - if (prev == null) - this.head_ = curr.next_; - else - prev.next_ = curr.next_; - - return curr.arg_; - } - } - return null; - } - - /** - * Cancel all timers associated with . - *@param handler Event Handler whose associated timers need to be cancelled. - */ - public void cancelTimer (EventHandler handler) - { - TimerNode prev = null; - TimerNode curr = this.head_; - - synchronized (this.obj_) - { - while (curr != null) - { - if (curr.handler_ == handler) - { - if (prev == null) - { - this.head_ = curr.next_; - curr = this.head_; - } - else - { - prev.next_ = curr.next_; - curr = prev.next_; - } - } - else - { - prev = curr; - curr = curr.next_; - } - } - } - } - - // Call handleTimeout() on all handlers whose timers have expired. - private void dispatchHandlers () - { - TimeValue currentTime = TimeValue.getTimeOfDay (); - - for (;;) - { - if (this.isEmpty () || this.earliestTime ().greaterThan (currentTime)) - break; // There aren't any more timers eligible to expire. - - TimerNode expired = this.head_; - EventHandler handler = expired.handler_; - Object arg = expired.arg_; - int result; - - this.head_ = this.head_.next_; - - // Check whether this is an interval timer. - if (expired.interval_.greaterThan (TimeValue.zero)) - { - // Make sure that we skip past values that have already - // "expired". - do - expired.timerValue_.plusEquals (expired.interval_); - while (expired.timerValue_.lessThanEqual (currentTime)); - - // Since this is an interval timer, we need to reschedule - // it. - this.reschedule (expired); - } - - ACE.DEBUG("handleTimeout " + expired.timerId_); - - // Perform the callback. - result = handler.handleTimeout (currentTime, arg); - - if (result == -1) - this.cancelTimer (handler); - } - } - - // Reschedule a TimerNode by inserting it at the appropriate - // position in the queue. - private void reschedule (TimerNode expired) - { - ACE.DEBUG("reschedule " + expired.timerId_ + " for " + expired.timerValue_); - // *** Shouldn't it use interval here? - - if (this.isEmpty () || - expired.timerValue_.lessThan (this.earliestTime ())) - { - expired.next_ = this.head_; - this.head_ = expired; - // Set the condition to true so that the waiting thread can be - // notified and it can reschedule. - this.obj_.condition (true); - this.reset_ = true; - } - else - { - TimerNode prev = this.head_; - TimerNode after = this.head_.next_; - - // Locate the proper position in the queue. - - while (after != null - && expired.timerValue_.greaterThan (after.timerValue_)) - { - prev = after; - after = after.next_; - } - - expired.next_ = after; - prev.next_ = expired; - } - } - - private WaitObject obj_ = new WaitObject (); - // Synchronization object (as well as object to use to do wait on) - - private TimerNode head_; - // Pointer to linked list of TimerHandles. - - private int timerId_; - // Keeps track of the timer id that uniquely identifies each timer. - // This id can be used to cancel a timer via the - // method. - - private boolean reset_; - // Flag indicating whether to start the wait again - - private boolean eventLoopRunning_; - // Flag indicating whether the event loop is running or not -} - diff --git a/java/src/Token.java b/java/src/Token.java deleted file mode 100644 index a17be013ad5..00000000000 --- a/java/src/Token.java +++ /dev/null @@ -1,298 +0,0 @@ -/************************************************* - * - * = PACKAGE - * JACE.Concurrency - * - * = FILENAME - * Token.java - * - *@author Prashant Jain - * - *************************************************/ -package JACE.Concurrency; - -import java.util.*; -import JACE.ASX.*; - -class WaitObject extends TimedWait -{ - public boolean condition () - { - return this.condition_; - } - - public void condition (boolean c) - { - this.condition_ = c; - } - - private boolean condition_ = false; -} - -/** - *
    - *

    SYNOPSIS

    - *
    - * Class that acquires, renews, and releases a synchronization - * token that is serviced in strict FIFO ordering. - * - *
    - * - *

    DESCRIPTION

    - *
    - * This is a general-purpose synchronization mechanism that offers - * several benefits. For example, it implements "recursive mutex" - * semantics, where a thread that owns the token can reacquire it - * without deadlocking. In addition, threads that are blocked - * awaiting the token are serviced in strict FIFO order as other - * threads release the token. The solution makes use of the - * Specific Notification pattern presented by Tom Cargill in - * "Specific Notification for Java Thread Synchronization," PLoP96. - *
    - */ -public class Token -{ - /** - * Acquire the token. Note that this will block. The method uses - * synchronized blocks internally to avoid race conditions. - *@return 0 if acquires without calling - * 1 if is called. - * -1 if failure occurs - *@exception InterruptedException exception during wait - */ - public int acquire () throws InterruptedException - { - try - { - return this.acquire (new TimeValue ()); - } - catch (TimeoutException e) - { - // This really shouldn't happen since we are supposed to - // block. - return -1; - } - } - - /** - * Acquire the token. Wait for timeout amount of time. The method - * uses synchronized blocks internally to avoid race conditions. - *@param timeout Amount of time to wait for in trying to acquire the - * token. - *@return 0 if acquires without calling - * 1 if is called. - * -1 if failure occurs - *@exception TimeoutException exception if timeout occurs - *@exception InterruptedException exception during wait - */ - public int acquire (TimeValue timeout) throws InterruptedException, TimeoutException - { - int result = 0; - WaitObject snl = new WaitObject (); - boolean mustWait; - synchronized (snl) - { - synchronized (this) - { - mustWait = !this.snq_.isEmpty (); - if (mustWait && - Thread.currentThread ().toString ().compareTo (this.owner_) == 0) - { - // I am the one who has the token. So just increment - // the nesting level - this.nestingLevel_++; - return result; - } - // Add local lock to the queue - this.snq_.addElement (snl); - } - if (mustWait) - { - result = 1; - // Call sleep hook - sleepHook (); - snl.timedWait (timeout); // Do a blocking wait - } - // Set the owner of the token - this.owner_ = Thread.currentThread ().toString (); - } - return result; - } - - /** - * Try to acquire the token. Implements a non-blocking acquire. - *@return 0 if acquires without calling - * 1 if is called. - * -1 if failure occurs - */ - public synchronized int tryAcquire () - { - int result = 0; - if (!this.snq_.isEmpty ()) - { - // No one has the token, so acquire it - this.snq_.addElement (new WaitObject ()); - } - // Check if I am the one holding the token. - else if (Thread.currentThread ().toString ().compareTo (this.owner_) == 0) - { - this.nestingLevel_++; - } - // Someone else has the token. - else - { - // Will have to block to acquire the token, so call - // sleepHook and return - sleepHook (); - result = 1; - } - return result; - } - - /** - * Method that is called before a thread goes to sleep in an - * acquire(). This should be overridden by a subclass to define - * the appropriate behavior before acquire() goes to sleep. - * By default, this is a no-op. - */ - public void sleepHook () - { - } - - /** - * An optimized method that efficiently reacquires the token if no - * other threads are waiting. This is useful for situations where - * you don't want to degrade the quality of service if there are - * other threads waiting to get the token. - *@param requeuePosition Position in the queue where to insert the - * lock. If requeuePosition == -1 and there are other threads - * waiting to obtain the token we are queued at the end of the list - * of waiters. If requeuePosition > -1 then it indicates how many - * entries to skip over before inserting our thread into the list of - * waiters (e.g.,requeuePosition == 0 means "insert at front of the - * queue"). - *@exception InterruptedException exception during wait - */ - public void renew (int requeuePosition) throws InterruptedException - { - try - { - this.renew (requeuePosition, new TimeValue ()); - } - catch (TimeoutException e) - { - // This really shouldn't happen since we are supposed to - // block. - } - } - - /** - * An optimized method that efficiently reacquires the token if no - * other threads are waiting. This is useful for situations where - * you don't want to degrade the quality of service if there are - * other threads waiting to get the token. - *@param requeuePosition Position in the queue where to insert the - * lock. If requeuePosition == -1 and there are other threads - * waiting to obtain the token we are queued at the end of the list - * of waiters. If requeuePosition > -1 then it indicates how many - * entries to skip over before inserting our thread into the list of - * waiters (e.g.,requeuePosition == 0 means "insert at front of the - * queue"). - *@param timeout Amount of time to wait for in trying to acquire the - * token. - *@exception TimeoutException exception if timeout occurs - *@exception InterruptedException exception during wait - */ - public void renew (int requeuePosition, TimeValue timeout) - throws InterruptedException, TimeoutException - { - WaitObject snl = null; - int saveNestingLevel = 0; - - synchronized (this) - { - // Check if there is a thread waiting to acquire the token. If - // not or if requeuePosition == 0, then we don't do anything - // and we simply keep the token. - if (this.snq_.size () > 1 && requeuePosition != 0) - { - // Save the nesting level - saveNestingLevel = this.nestingLevel_; - this.nestingLevel_ = 0; - - // Reinsert ourselves at requeuePosition in the queue - snl = (WaitObject) this.snq_.firstElement (); - this.snq_.removeElementAt (0); - - if (requeuePosition < 0) - this.snq_.addElement (snl); // Insert at end - else - this.snq_.insertElementAt (snl, requeuePosition); - - synchronized (this.snq_.firstElement ()) - { - // Notify the first waiting thread in the queue - WaitObject obj = (WaitObject) this.snq_.firstElement (); - // Set its condition to be true so that it falls out - // of the for loop - obj.condition (true); - // Now signal the thread - obj.signal (); - } - } - } - - // Check if we reinserted the lock in the queue and therefore need - // to do a wait - if (snl != null) - { - synchronized (snl) - { - // Set the condition to be false so that we can begin the - // wait - snl.condition (false); - // Do a blocking wait - snl.timedWait (timeout); - } - // Restore the nesting level and current owner of the lock - this.nestingLevel_ = saveNestingLevel; - this.owner_ = Thread.currentThread ().toString (); - } - } - - /** - * Release the token. - */ - public synchronized void release () - { - // Check if nestingLevel > 0 and if so, decrement it - if (this.nestingLevel_ > 0) - this.nestingLevel_--; - else - { - this.snq_.removeElementAt (0); - if (!this.snq_.isEmpty ()) - { - synchronized (this.snq_.firstElement ()) - { - // Notify the first waiting thread in the queue - WaitObject obj = (WaitObject) this.snq_.firstElement (); - // Set its condition to be true so that it falls out - // of the for loop - obj.condition (true); - // Now signal the thread - obj.signal (); - } - } - } - } - - private Vector snq_ = new Vector (); - // Vector of lock objects - - private int nestingLevel_ = 0; - // Current Nesting Level - - private String owner_ = null; - // Current owner of the token. -} diff --git a/java/src/Yylex.java b/java/src/Yylex.java deleted file mode 100644 index 50e9d1173d3..00000000000 --- a/java/src/Yylex.java +++ /dev/null @@ -1,1315 +0,0 @@ -package JACE.ServiceConfigurator; -import java.io.*; -import JACE.OS.*; -import java_cup.runtime.*; -// This was written for JLex version 1.2 - - -class Yylex { - private final int YY_BUFFER_SIZE = 512; - private final int YY_F = -1; - private final int YY_NO_STATE = -1; - private final int YY_NOT_ACCEPT = 0; - private final int YY_START = 1; - private final int YY_END = 2; - private final int YY_NO_ANCHOR = 4; - private final byte YYEOF = -1; - - // Used to assemble the parameter string for a service - private String params; - private java.io.DataInputStream yy_instream; - private int yy_buffer_index; - private int yy_buffer_read; - private int yy_buffer_start; - private int yy_buffer_end; - private byte yy_buffer[]; - private int yyline; - private int yy_lexical_state; - Yylex (java.io.InputStream instream) { - if (null == instream) { - throw (new Error("Error: Bad input stream initializer.")); - } - yy_instream = new java.io.DataInputStream(instream); - yy_buffer = new byte[YY_BUFFER_SIZE]; - yy_buffer_read = 0; - yy_buffer_index = 0; - yy_buffer_start = 0; - yy_buffer_end = 0; - yyline = 0; - yy_lexical_state = YYINITIAL; - } - private boolean yy_eof_done = false; - private final int COMMENT = 1; - private final int YYINITIAL = 0; - private final int PARAMS = 2; - private final int yy_state_dtrans[] = { - 0, - 23, - 30 - }; - private void yybegin (int state) { - yy_lexical_state = state; - } - private byte yy_advance () - throws java.io.IOException { - int next_read; - int i; - int j; - - if (yy_buffer_index < yy_buffer_read) { - return yy_buffer[yy_buffer_index++]; - } - - if (0 != yy_buffer_start) { - i = yy_buffer_start; - j = 0; - while (i < yy_buffer_read) { - yy_buffer[j] = yy_buffer[i]; - ++i; - ++j; - } - yy_buffer_end = yy_buffer_end - yy_buffer_start; - yy_buffer_start = 0; - yy_buffer_read = j; - yy_buffer_index = j; - next_read = yy_instream.read(yy_buffer, - yy_buffer_read, - yy_buffer.length - yy_buffer_read); - if (-1 == next_read) { - return YYEOF; - } - yy_buffer_read = yy_buffer_read + next_read; - } - - while (yy_buffer_index >= yy_buffer_read) { - if (yy_buffer_index >= yy_buffer.length) { - yy_buffer = yy_double(yy_buffer); - } - next_read = yy_instream.read(yy_buffer, - yy_buffer_read, - yy_buffer.length - yy_buffer_read); - if (-1 == next_read) { - return YYEOF; - } - yy_buffer_read = yy_buffer_read + next_read; - } - return yy_buffer[yy_buffer_index++]; - } - private void yy_move_start () { - if ((byte) '\n' == yy_buffer[yy_buffer_start]) { - ++yyline; - } - ++yy_buffer_start; - } - private void yy_pushback () { - --yy_buffer_end; - } - private void yy_mark_start () { - int i; - for (i = yy_buffer_start; i < yy_buffer_index; ++i) { - if ((byte) '\n' == yy_buffer[i]) { - ++yyline; - } - } - yy_buffer_start = yy_buffer_index; - } - private void yy_mark_end () { - yy_buffer_end = yy_buffer_index; - } - private void yy_to_mark () { - yy_buffer_index = yy_buffer_end; - } - private java.lang.String yytext () { - return (new java.lang.String(yy_buffer,0, - yy_buffer_start, - yy_buffer_end - yy_buffer_start)); - } - private int yylength () { - return yy_buffer_end - yy_buffer_start; - } - private byte[] yy_double (byte buf[]) { - int i; - byte newbuf[]; - newbuf = new byte[2*buf.length]; - for (i = 0; i < buf.length; ++i) { - newbuf[i] = buf[i]; - } - return newbuf; - } - private final int YY_E_INTERNAL = 0; - private final int YY_E_MATCH = 1; - private java.lang.String yy_error_string[] = { - "Error: Internal error.\n", - "Error: Unmatched input.\n" - }; - private void yy_error (int code,boolean fatal) { - java.lang.System.out.print(yy_error_string[code]); - java.lang.System.out.flush(); - if (fatal) { - throw new Error("Fatal Error.\n"); - } - } - private int yy_acpt[] = { - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NOT_ACCEPT, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NOT_ACCEPT, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR, - YY_NO_ANCHOR - }; - private int yy_cmap[] = { - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 1, 2, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 3, 4, 0, 0, 0, 0, - 5, 6, 7, 0, 0, 8, 8, 8, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 10, 0, 0, 0, 0, 0, - 0, 11, 12, 12, 12, 13, 12, 12, - 12, 12, 12, 12, 12, 14, 12, 15, - 12, 12, 16, 17, 18, 12, 12, 12, - 12, 12, 12, 0, 8, 0, 0, 19, - 0, 20, 21, 22, 23, 24, 12, 12, - 12, 25, 26, 12, 27, 28, 29, 30, - 31, 12, 32, 33, 34, 35, 36, 12, - 12, 37, 12, 38, 0, 39, 0, 0 - - }; - private int yy_rmap[] = { - 0, 1, 1, 1, 1, 1, 1, 2, - 1, 3, 1, 1, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 4, - 1, 1, 1, 1, 5, 6, 7, 8, - 9, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67 - }; - private int yy_nxt[][] = { - { 1, 28, 28, 2, 3, 4, 5, 6, - 7, 7, 8, 9, 9, 9, 72, 9, - 9, 73, 9, 9, 74, 9, 9, 81, - 9, 84, 9, 9, 9, 9, 9, 9, - 75, 76, 9, 9, 9, 9, 10, 11 - - }, - { -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, - 7, 7, -1, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { 24, 24, 25, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24, - 24, 24, 24, 24, 24, 24, 24, 24 - - }, - { -1, 28, 28, -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, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 12, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { 26, 26, 27, 27, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 26, 26, 26, 26, 26, 26 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 13, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 14, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 15, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 16, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 17, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 18, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 19, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 20, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 21, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 22, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 29, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 31, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 32, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 33, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 34, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 35, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 36, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 37, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 38, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 39, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 40, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 41, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 42, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 43, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 44, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 45, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 46, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 47, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 48, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 49, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 50, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 51, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 52, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 53, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 54, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 55, 9, 9, 9, - 9, 56, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 57, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 58, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 59, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 60, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 61, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 62, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 63, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 64, 9, 9, 9, 9, 9, - 90, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 65, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 66, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 67, 78, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 68, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 69, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 70, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 71, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 77, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 79, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 80, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 82, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 83, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 85, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 86, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 87, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 88, 9, -1, -1 - - }, - { -1, -1, -1, -1, -1, -1, -1, -1, - 7, 9, -1, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, - 89, 9, 9, 9, 9, 9, -1, -1 - - } - }; - public java_cup.runtime.token yylex () - throws java.io.IOException { - byte yy_lookahead; - int yy_anchor = YY_NO_ANCHOR; - int yy_state = yy_state_dtrans[yy_lexical_state]; - int yy_next_state = YY_NO_STATE; - int yy_last_accept_state = YY_NO_STATE; - boolean yy_initial = true; - int yy_this_accept; - - yy_mark_start(); - yy_this_accept = yy_acpt[yy_state]; - if (YY_NOT_ACCEPT != yy_this_accept) { - yy_last_accept_state = yy_state; - yy_mark_end(); - } - while (true) { - yy_lookahead = yy_advance(); - yy_next_state = YY_F; - if (YYEOF != yy_lookahead) { - yy_next_state = yy_nxt[yy_rmap[yy_state]][yy_cmap[yy_lookahead]]; - } - if (YY_F != yy_next_state) { - yy_state = yy_next_state; - yy_initial = false; - yy_this_accept = yy_acpt[yy_state]; - if (YY_NOT_ACCEPT != yy_this_accept) { - yy_last_accept_state = yy_state; - yy_mark_end(); - } - } - else { - if (YYEOF == yy_lookahead && true == yy_initial) { - - return new java_cup.runtime.token (sym.EOF); - } - else if (YY_NO_STATE == yy_last_accept_state) { - throw (new Error("Lexical Error: Unmatched Input.")); - } - else { - yy_to_mark(); - yy_anchor = yy_acpt[yy_last_accept_state]; - if (0 != (YY_END & yy_anchor)) { - yy_pushback(); - } - if (0 != (YY_START & yy_anchor)) { - yy_move_start(); - } - switch (yy_last_accept_state) { - case 0: - { /* Skip all white space */ } - case -2: - break; - case 1: - { - ACE.ERROR ("Unknown text, line " + (yyline + 1) + ": \"" + yytext() + "\""); - return new java_cup.runtime.str_token (sym.error); -} - case -3: - break; - case 2: - { - yybegin(PARAMS); - params = new String(); -} - case -4: - break; - case 3: - { yybegin(COMMENT); } - case -5: - break; - case 4: - { return new java_cup.runtime.token (sym.ACE_LPAREN); } - case -6: - break; - case 5: - { return new java_cup.runtime.token (sym.ACE_RPAREN); } - case -7: - break; - case 6: - { return new java_cup.runtime.token (sym.ACE_STAR); } - case -8: - break; - case 7: - { - return new java_cup.runtime.str_token (sym.ACE_PATHNAME, yytext()); -} - case -9: - break; - case 8: - { return new java_cup.runtime.token (sym.ACE_COLON); } - case -10: - break; - case 9: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -11: - break; - case 10: - { return new java_cup.runtime.token (sym.ACE_LBRACE); } - case -12: - break; - case 11: - { return new java_cup.runtime.token (sym.ACE_RBRACE); } - case -13: - break; - case 12: - { return new java_cup.runtime.token (sym.ACE_MODULE_T); } - case -14: - break; - case 13: - { return new java_cup.runtime.token (sym.ACE_STREAM_T); } - case -15: - break; - case 14: - { return new java_cup.runtime.token (sym.ACE_ACTIVE); } - case -16: - break; - case 15: - { return new java_cup.runtime.token (sym.ACE_REMOVE); } - case -17: - break; - case 16: - { return new java_cup.runtime.token (sym.ACE_RESUME); } - case -18: - break; - case 17: - { return new java_cup.runtime.token (sym.ACE_STATIC); } - case -19: - break; - case 18: - { return new java_cup.runtime.token (sym.ACE_USTREAM); } - case -20: - break; - case 19: - {return new java_cup.runtime.token (sym.ACE_DYNAMIC); } - case -21: - break; - case 20: - { return new java_cup.runtime.token (sym.ACE_SUSPEND); } - case -22: - break; - case 21: - { return new java_cup.runtime.token (sym.ACE_INACTIVE); } - case -23: - break; - case 22: - { return new java_cup.runtime.token (sym.ACE_SVC_OBJ_T); } - case -24: - break; - case 24: - { /* Skip everything on a comment line */ } - case -25: - break; - case 25: - { yybegin(YYINITIAL); } - case -26: - break; - case 26: - { - params = params + yytext(); -} - case -27: - break; - case 27: - { - yybegin(YYINITIAL); - return new java_cup.runtime.str_token (sym.ACE_STRING, params); -} - case -28: - break; - case 28: - { /* Skip all white space */ } - case -29: - break; - case 29: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -30: - break; - case 31: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -31: - break; - case 32: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -32: - break; - case 33: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -33: - break; - case 34: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -34: - break; - case 35: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -35: - break; - case 36: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -36: - break; - case 37: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -37: - break; - case 38: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -38: - break; - case 39: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -39: - break; - case 40: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -40: - break; - case 41: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -41: - break; - case 42: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -42: - break; - case 43: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -43: - break; - case 44: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -44: - break; - case 45: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -45: - break; - case 46: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -46: - break; - case 47: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -47: - break; - case 48: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -48: - break; - case 49: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -49: - break; - case 50: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -50: - break; - case 51: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -51: - break; - case 52: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -52: - break; - case 53: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -53: - break; - case 54: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -54: - break; - case 55: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -55: - break; - case 56: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -56: - break; - case 57: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -57: - break; - case 58: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -58: - break; - case 59: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -59: - break; - case 60: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -60: - break; - case 61: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -61: - break; - case 62: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -62: - break; - case 63: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -63: - break; - case 64: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -64: - break; - case 65: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -65: - break; - case 66: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -66: - break; - case 67: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -67: - break; - case 68: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -68: - break; - case 69: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -69: - break; - case 70: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -70: - break; - case 71: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -71: - break; - case 72: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -72: - break; - case 73: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -73: - break; - case 74: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -74: - break; - case 75: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -75: - break; - case 76: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -76: - break; - case 77: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -77: - break; - case 78: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -78: - break; - case 79: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -79: - break; - case 80: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -80: - break; - case 81: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -81: - break; - case 82: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -82: - break; - case 83: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -83: - break; - case 84: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -84: - break; - case 85: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -85: - break; - case 86: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -86: - break; - case 87: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -87: - break; - case 88: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -88: - break; - case 89: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -89: - break; - case 90: - { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - case -90: - break; - default: - yy_error(YY_E_INTERNAL,false); - case -1: - } - yy_initial = true; - yy_state = yy_state_dtrans[yy_lexical_state]; - yy_next_state = YY_NO_STATE; - yy_last_accept_state = YY_NO_STATE; - yy_mark_start(); - yy_this_accept = yy_acpt[yy_state]; - if (YY_NOT_ACCEPT != yy_this_accept) { - yy_last_accept_state = yy_state; - } - } - } - } - } -} diff --git a/java/src/Yylex.lex b/java/src/Yylex.lex deleted file mode 100644 index fc41453fbad..00000000000 --- a/java/src/Yylex.lex +++ /dev/null @@ -1,78 +0,0 @@ -package JACE.ServiceConfigurator; - -import java.io.*; -import JACE.OS.*; -import java_cup.runtime.*; - -// This was written for JLex version 1.2 - -%% - -// Return a java_cup.runtime.token instead of a Yytoken from yylex() -%type java_cup.runtime.token -%{ - // Used to assemble the parameter string for a service - private String params; -%} - -%eofval{ - return new java_cup.runtime.token (sym.EOF); -%eofval} - -%line - -%state COMMENT -%state PARAMS - -ALPHA=[A-Za-z_] -DIGIT=[0-9] -WHITE_SPACE=[\ \t\b\012] -PATHNAME=[\.\\\/A-Za-z_\-0-9] -NEWLINE=\n -OTHER=. - -%% - - dynamic {return new java_cup.runtime.token (sym.ACE_DYNAMIC); } - static { return new java_cup.runtime.token (sym.ACE_STATIC); } - suspend { return new java_cup.runtime.token (sym.ACE_SUSPEND); } - resume { return new java_cup.runtime.token (sym.ACE_RESUME); } - remove { return new java_cup.runtime.token (sym.ACE_REMOVE); } - stream { return new java_cup.runtime.token (sym.ACE_USTREAM); } - Module { return new java_cup.runtime.token (sym.ACE_MODULE_T); } - Service_Object { return new java_cup.runtime.token (sym.ACE_SVC_OBJ_T); } - STREAM { return new java_cup.runtime.token (sym.ACE_STREAM_T); } - active { return new java_cup.runtime.token (sym.ACE_ACTIVE); } - inactive { return new java_cup.runtime.token (sym.ACE_INACTIVE); } - ":" { return new java_cup.runtime.token (sym.ACE_COLON); } - \" { - yybegin(PARAMS); - params = new String(); -} - "#" { yybegin(COMMENT); } - "*" { return new java_cup.runtime.token (sym.ACE_STAR); } - "(" { return new java_cup.runtime.token (sym.ACE_LPAREN); } - ")" { return new java_cup.runtime.token (sym.ACE_RPAREN); } - "{" { return new java_cup.runtime.token (sym.ACE_LBRACE); } - "}" { return new java_cup.runtime.token (sym.ACE_RBRACE); } - {WHITE_SPACE}* { /* Skip all white space */ } - {ALPHA}({ALPHA}|{DIGIT}|_)* { - return new java_cup.runtime.str_token (sym.ACE_IDENT, yytext()); -} - {PATHNAME}* { - return new java_cup.runtime.str_token (sym.ACE_PATHNAME, yytext()); -} - {NEWLINE} { /* Empty */ } - {OTHER} { - ACE.ERROR ("Unknown text, line " + (yyline + 1) + ": \"" + yytext() + "\""); - return new java_cup.runtime.str_token (sym.error); -} - [\"\n] { - yybegin(YYINITIAL); - return new java_cup.runtime.str_token (sym.ACE_STRING, params); -} - . { - params = params + yytext(); -} - {NEWLINE} { yybegin(YYINITIAL); } - {OTHER} { /* Skip everything on a comment line */ } diff --git a/java/src/parser.java b/java/src/parser.java deleted file mode 100644 index ab55b9a8a4e..00000000000 --- a/java/src/parser.java +++ /dev/null @@ -1,621 +0,0 @@ - -//---------------------------------------------------- -// The following code was generated by CUP v0.9e -// Fri Dec 19 15:46:53 CST 1997 -//---------------------------------------------------- - -package JACE.ServiceConfigurator; - -import java.io.*; -import java_cup.runtime.*; -import JACE.OS.*; - -public class parser extends java_cup.runtime.lr_parser { - - /** constructor */ - public parser() {super();} - - /** production table */ - protected static final short _production_table[][] = { - {0, 2}, {9, 2}, {9, 1}, {8, 1}, {8, 1}, - {8, 1}, {8, 1}, {8, 1}, {8, 1}, {1, 3}, - {10, 3}, {3, 2}, {4, 2}, {5, 2}, {7, 3}, - {7, 3}, {17, 1}, {17, 1}, {11, 1}, {11, 2}, - {6, 2}, {6, 0}, {12, 1}, {12, 1}, {12, 1}, - {12, 1}, {12, 1}, {2, 4}, {13, 1}, {13, 1}, - {13, 0}, {14, 3}, {14, 5}, {18, 2}, {18, 2}, - {18, 2}, {16, 1}, {16, 0}, {15, 1}, {15, 1} - }; - - /** access to production table */ - public short[][] production_table() {return _production_table;} - - /** parse action table */ - protected static final short[][] _action_table = { - /*0*/{2,6,3,10,4,15,5,11,6,3,22,2,-1,0}, - /*1*/{2,6,3,10,14,47,-1,0}, - /*2*/{14,44,-1,0}, - /*3*/{0,-5,2,-5,3,-5,4,-5,5,-5,6,-5,22,-5,-1,0}, - /*4*/{0,-7,2,-7,3,-7,4,-7,5,-7,6,-7,22,-7,-1,0}, - /*5*/{14,24,-1,0}, - /*6*/{0,-3,2,6,3,10,4,15,5,11,6,3,22,2,-1,0}, - /*7*/{0,-9,2,-9,3,-9,4,-9,5,-9,6,-9,22,-9,-1,0}, - /*8*/{0,-6,2,-6,3,-6,4,-6,5,-6,6,-6,22,-6,-1,0}, - /*9*/{14,19,-1,0}, - /*10*/{14,18,-1,0}, - /*11*/{0,-8,2,-8,3,-8,4,-8,5,-8,6,-8,22,-8,-1,0}, - /*12*/{0,17,-1,0}, - /*13*/{0,-4,2,-4,3,-4,4,-4,5,-4,6,-4,22,-4,-1,0}, - /*14*/{14,16,-1,0}, - /*15*/{0,-12,2,-12,3,-12,4,-12,5,-12,6,-12,19,-12,22,-12,-1,0}, - /*16*/{0,-1,-1,0}, - /*17*/{0,-13,2,-13,3,-13,4,-13,5,-13,6,-13,19,-13,22,-13,-1,0}, - /*18*/{0,-38,2,-38,3,-38,4,-38,5,-38,6,-38,15,20,18,-38,19,-38,22,-38,-1,0}, - /*19*/{0,-37,2,-37,3,-37,4,-37,5,-37,6,-37,18,-37,19,-37,22,-37,-1,0}, - /*20*/{0,-11,2,-11,3,-11,4,-11,5,-11,6,-11,18,-11,19,-11,22,-11,-1,0}, - /*21*/{0,-2,-1,0}, - /*22*/{0,-38,2,-38,3,-38,4,-38,5,-38,6,-38,15,20,18,-38,19,-38,22,-38,-1,0}, - /*23*/{8,26,9,28,10,27,-1,0}, - /*24*/{13,32,14,35,-1,0}, - /*25*/{20,31,-1,0}, - /*26*/{20,30,-1,0}, - /*27*/{20,29,-1,0}, - /*28*/{13,-36,14,-36,-1,0}, - /*29*/{13,-35,14,-35,-1,0}, - /*30*/{13,-34,14,-34,-1,0}, - /*31*/{21,-39,-1,0}, - /*32*/{0,-31,2,-31,3,-31,4,-31,5,-31,6,-31,11,42,12,41,15,-31,18,-31,19,-31,22,-31,-1,0}, - /*33*/{21,36,-1,0}, - /*34*/{21,-40,-1,0}, - /*35*/{14,37,-1,0}, - /*36*/{0,-32,2,-32,3,-32,4,-32,5,-32,6,-32,11,-32,12,-32,15,-32,16,38,18,-32,19,-32,22,-32,-1,0}, - /*37*/{17,39,-1,0}, - /*38*/{0,-33,2,-33,3,-33,4,-33,5,-33,6,-33,11,-33,12,-33,15,-33,18,-33,19,-33,22,-33,-1,0}, - /*39*/{0,-28,2,-28,3,-28,4,-28,5,-28,6,-28,15,-28,18,-28,19,-28,22,-28,-1,0}, - /*40*/{0,-30,2,-30,3,-30,4,-30,5,-30,6,-30,15,-30,18,-30,19,-30,22,-30,-1,0}, - /*41*/{0,-29,2,-29,3,-29,4,-29,5,-29,6,-29,15,-29,18,-29,19,-29,22,-29,-1,0}, - /*42*/{0,-10,2,-10,3,-10,4,-10,5,-10,6,-10,18,-10,19,-10,22,-10,-1,0}, - /*43*/{0,-14,2,-14,3,-14,4,-14,5,-14,6,-14,19,-14,22,-14,-1,0}, - /*44*/{2,-18,3,-18,4,-18,5,-18,6,-18,18,-18,19,-18,-1,0}, - /*45*/{2,-22,3,-22,4,-22,5,-22,6,-22,18,50,19,-22,-1,0}, - /*46*/{2,-22,3,-22,4,-22,5,-22,6,-22,18,50,19,-22,-1,0}, - /*47*/{2,-17,3,-17,4,-17,5,-17,6,-17,18,-17,19,-17,-1,0}, - /*48*/{2,6,3,10,4,15,5,11,6,3,19,54,-1,0}, - /*49*/{0,-19,2,-19,3,-19,4,-19,5,-19,6,-19,22,-19,-1,0}, - /*50*/{0,-16,2,-16,3,-16,4,-16,5,-16,6,-16,22,-16,-1,0}, - /*51*/{2,-21,3,-21,4,-21,5,-21,6,-21,19,-21,-1,0}, - /*52*/{2,-24,3,-24,4,-24,5,-24,6,-24,19,-24,-1,0}, - /*53*/{0,-20,2,-20,3,-20,4,-20,5,-20,6,-20,22,-20,-1,0}, - /*54*/{2,-26,3,-26,4,-26,5,-26,6,-26,19,-26,-1,0}, - /*55*/{2,-25,3,-25,4,-25,5,-25,6,-25,19,-25,-1,0}, - /*56*/{2,-27,3,-27,4,-27,5,-27,6,-27,19,-27,-1,0}, - /*57*/{2,-23,3,-23,4,-23,5,-23,6,-23,19,-23,-1,0}, - /*58*/{0,-15,2,-15,3,-15,4,-15,5,-15,6,-15,22,-15,-1,0}, - }; - - /** access to parse action table */ - public short[][] action_table() {return _action_table;} - - /** reduce_goto table */ - protected static final short[][] _reduce_table = { - /*0*/{1,13,3,8,4,4,5,11,7,7,8,6,9,12,10,3,-1,-1}, - /*1*/{1,47,10,44,17,45,-1,-1}, - /*2*/{-1,-1}, - /*3*/{-1,-1}, - /*4*/{-1,-1}, - /*5*/{2,22,-1,-1}, - /*6*/{1,13,3,8,4,4,5,11,7,7,8,6,9,21,10,3,-1,-1}, - /*7*/{-1,-1}, - /*8*/{-1,-1}, - /*9*/{-1,-1}, - /*10*/{-1,-1}, - /*11*/{-1,-1}, - /*12*/{-1,-1}, - /*13*/{-1,-1}, - /*14*/{-1,-1}, - /*15*/{-1,-1}, - /*16*/{-1,-1}, - /*17*/{-1,-1}, - /*18*/{16,20,-1,-1}, - /*19*/{-1,-1}, - /*20*/{-1,-1}, - /*21*/{-1,-1}, - /*22*/{16,42,-1,-1}, - /*23*/{18,24,-1,-1}, - /*24*/{14,32,15,33,-1,-1}, - /*25*/{-1,-1}, - /*26*/{-1,-1}, - /*27*/{-1,-1}, - /*28*/{-1,-1}, - /*29*/{-1,-1}, - /*30*/{-1,-1}, - /*31*/{-1,-1}, - /*32*/{13,39,-1,-1}, - /*33*/{-1,-1}, - /*34*/{-1,-1}, - /*35*/{-1,-1}, - /*36*/{-1,-1}, - /*37*/{-1,-1}, - /*38*/{-1,-1}, - /*39*/{-1,-1}, - /*40*/{-1,-1}, - /*41*/{-1,-1}, - /*42*/{-1,-1}, - /*43*/{-1,-1}, - /*44*/{-1,-1}, - /*45*/{6,48,11,58,-1,-1}, - /*46*/{6,48,11,50,-1,-1}, - /*47*/{-1,-1}, - /*48*/{1,57,3,55,4,54,5,56,10,52,12,51,-1,-1}, - /*49*/{-1,-1}, - /*50*/{-1,-1}, - /*51*/{-1,-1}, - /*52*/{-1,-1}, - /*53*/{-1,-1}, - /*54*/{-1,-1}, - /*55*/{-1,-1}, - /*56*/{-1,-1}, - /*57*/{-1,-1}, - /*58*/{-1,-1}, - }; - - /** access to reduce_goto table */ - public short[][] reduce_table() {return _reduce_table;} - - /** instance of action encapsulation class */ - protected CUP$actions action_obj; - - /** action encapsulation object initializer */ - protected void init_actions() - { - action_obj = new CUP$actions(); - } - - /** invoke a user supplied parse action */ - public java_cup.runtime.symbol do_action( - int act_num, - java_cup.runtime.lr_parser parser, - java.util.Stack stack, - int top) - throws java.lang.Exception - { - /* call code in generated class */ - return action_obj.CUP$do_action(act_num, parser, stack, top); - } - - /** start state */ - public int start_state() {return 0;} - /** start production */ - public int start_production() {return 0;} - - /** EOF symbol index */ - public int EOF_sym() {return 0;} - - /** error symbol index */ - public int error_sym() {return 1;} - - - /** user initialization */ - public void user_init() throws java.lang.Exception - { - - try { - - FileInputStream fs = new FileInputStream(new String(ServiceConfig.serviceConfigFile_)); - - this.setLexer(new Yylex(fs)); - - } catch (FileNotFoundException fnf) { - - ACE.ERROR("File not found: " + fnf); - - } catch (SecurityException se) { - - ACE.ERROR("Security: " + se); - } - - } - - /** scan to get the next token */ - public java_cup.runtime.token scan() - throws java.lang.Exception - { - return this.lexer_.yylex(); - } - - - // Lexical Analyzer - private Yylex lexer_; - - public void setLexer(Yylex lexer) - { - this.lexer_ = lexer; - } - -}; - -/** Cup generated class to encapsulate user supplied action code.*/ -class CUP$actions { - - /** Constructor */ - CUP$actions() { } - - /** Method with the actual generated action code. */ - public final java_cup.runtime.symbol CUP$do_action( - int CUP$act_num, - java_cup.runtime.lr_parser CUP$parser, - java.util.Stack CUP$stack, - int CUP$top) - throws java.lang.Exception - { - /* object for return from actions */ - java_cup.runtime.symbol CUP$result; - - /* select the action based on the action number */ - switch (CUP$act_num) - { - /*. . . . . . . . . . . . . . . . . . . .*/ - case 39: // pathname ::= ACE_IDENT - { - CUP$result = new java_cup.runtime.str_token(/*pathname*/15); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 38: // pathname ::= ACE_PATHNAME - { - CUP$result = new java_cup.runtime.str_token(/*pathname*/15); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 37: // parameters_opt ::= - { - CUP$result = new java_cup.runtime.str_token(/*parameters_opt*/16); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 36: // parameters_opt ::= ACE_STRING - { - CUP$result = new java_cup.runtime.str_token(/*parameters_opt*/16); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 35: // type ::= ACE_STREAM_T ACE_STAR - { - CUP$result = new java_cup.runtime.str_token(/*type*/18); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 34: // type ::= ACE_SVC_OBJ_T ACE_STAR - { - CUP$result = new java_cup.runtime.str_token(/*type*/18); - ((java_cup.runtime.str_token)CUP$result).str_val = new String("Service Object"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 33: // type ::= ACE_MODULE_T ACE_STAR - { - CUP$result = new java_cup.runtime.str_token(/*type*/18); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 32: // svc_initializer ::= pathname ACE_COLON ACE_IDENT ACE_LPAREN ACE_RPAREN - { - CUP$result = new java_cup.runtime.str_token(/*svc_initializer*/14); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e1*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-4)).str_val + ":" + (/*e2*/(str_token)CUP$stack.elementAt(CUP$top-2)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 31: // svc_initializer ::= pathname ACE_COLON ACE_IDENT - { - CUP$result = new java_cup.runtime.str_token(/*svc_initializer*/14); - ((java_cup.runtime.str_token)CUP$result).str_val = new String((/*e1*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-2)).str_val + ":" + (/*e2*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 30: // status ::= - { - CUP$result = new java_cup.runtime.int_token(/*status*/13); - // Default case - ((java_cup.runtime.int_token)CUP$result).int_val = 0; - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 29: // status ::= ACE_INACTIVE - { - CUP$result = new java_cup.runtime.int_token(/*status*/13); - ((java_cup.runtime.int_token)CUP$result).int_val = 1; - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 28: // status ::= ACE_ACTIVE - { - CUP$result = new java_cup.runtime.int_token(/*status*/13); - ((java_cup.runtime.int_token)CUP$result).int_val = 0; - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 27: // svc_location ::= ACE_IDENT type svc_initializer status - { - CUP$result = new AddServiceObjectNode(/*svc_location*/2); - - boolean suspended = false; - if ((/*e4*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val == 1) - suspended = true; - - ((AddServiceObjectNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-3)).str_val, (/*e3*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val, suspended); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 26: // module ::= remove - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 25: // module ::= resume - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 24: // module ::= suspend - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 23: // module ::= static - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 22: // module ::= dynamic - { - CUP$result = new java_cup.runtime.str_token(/*module*/12); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 21: // module_list ::= - { - CUP$result = new ParseNode(/*module_list*/6); - ACE.ERROR("Not implemented: module manipulation"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 20: // module_list ::= module_list module - { - CUP$result = new ParseNode(/*module_list*/6); - ACE.ERROR("Not implemented: module manipulation"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 19: // stream_modules ::= module_list ACE_RBRACE - { - CUP$result = new java_cup.runtime.str_token(/*stream_modules*/11); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 18: // stream_modules ::= ACE_LBRACE - { - CUP$result = new java_cup.runtime.str_token(/*stream_modules*/11); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 17: // stream_ops ::= static - { - CUP$result = new java_cup.runtime.str_token(/*stream_ops*/17); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 16: // stream_ops ::= dynamic - { - CUP$result = new java_cup.runtime.str_token(/*stream_ops*/17); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 15: // stream ::= ACE_USTREAM ACE_IDENT stream_modules - { - CUP$result = new ParseNode(/*stream*/7); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 14: // stream ::= ACE_USTREAM stream_ops stream_modules - { - CUP$result = new ParseNode(/*stream*/7); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 13: // remove ::= ACE_REMOVE ACE_IDENT - { - CUP$result = new RemoveNode(/*remove*/5); - - ((RemoveNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 12: // resume ::= ACE_RESUME ACE_IDENT - { - CUP$result = new ResumeNode(/*resume*/4); - - ((ResumeNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 11: // suspend ::= ACE_SUSPEND ACE_IDENT - { - CUP$result = new SuspendNode(/*suspend*/3); - - ((SuspendNode)CUP$result).init((/*e1*/(str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 10: // static ::= ACE_STATIC ACE_IDENT parameters_opt - { - CUP$result = new ParseNode(/*static*/10); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 9: // dynamic ::= ACE_DYNAMIC svc_location parameters_opt - { - CUP$result = new AddServiceObjectNode(/*dynamic*/1); - - ((AddServiceObjectNode)CUP$result).init((/*e1*/(AddServiceObjectNode)CUP$stack.elementAt(CUP$top-1)).name(), (/*e1*/(AddServiceObjectNode)CUP$stack.elementAt(CUP$top-1)).locator(), (/*e1*/(AddServiceObjectNode)CUP$stack.elementAt(CUP$top-1)).suspended()); - - ((AddServiceObjectNode)CUP$result).params((/*e2*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 8: // svc_config_entry ::= stream - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - ACE.ERROR("Not implemented: stream loading"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 7: // svc_config_entry ::= remove - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 6: // svc_config_entry ::= resume - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - /* Empty -- result auto set to resume */ - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 5: // svc_config_entry ::= suspend - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - /* Empty -- result auto set to suspend */ - /* CUP$result = (ParseNode)CUP$stack.elementAt(CUP$top-0); */ - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 4: // svc_config_entry ::= static - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - /* More graceful error system needed here */ - ACE.ERROR("Not implemented: static service loading"); - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 3: // svc_config_entry ::= dynamic - { - CUP$result = new ParseNode(/*svc_config_entry*/8); - - /* Empty -- result auto set to dynamic */ - /* CUP$result = (ParseNode)CUP$stack.elementAt(CUP$top-0); */ - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 2: // svc_config_entries ::= svc_config_entry - { - CUP$result = new ParseNode(/*svc_config_entries*/9); - - if ((/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-0)) != null) - (/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-0)).apply(); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 1: // svc_config_entries ::= svc_config_entry svc_config_entries - { - CUP$result = new ParseNode(/*svc_config_entries*/9); - - if ((/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-1)) != null) - (/*e1*/(ParseNode)CUP$stack.elementAt(CUP$top-1)).apply(); - - } - return CUP$result; - - /*. . . . . . . . . . . . . . . . . . . .*/ - case 0: // $START ::= svc_config_entries EOF - { - CUP$result = new java_cup.runtime.token(/*$START*/0); - - } - /* ACCEPT */ - CUP$parser.done_parsing(); - return CUP$result; - - /* . . . . . .*/ - default: - throw new Exception( - "Invalid action number found in internal parse table"); - - } - } -}; - diff --git a/java/src/sym.java b/java/src/sym.java deleted file mode 100644 index 8e9fc333d82..00000000000 --- a/java/src/sym.java +++ /dev/null @@ -1,36 +0,0 @@ - -//---------------------------------------------------- -// The following code was generated by CUP v0.9e -// Fri Dec 19 15:46:53 CST 1997 -//---------------------------------------------------- - -package JACE.ServiceConfigurator; - -/** Cup generated class containing symbol constants. */ -public class sym { - /* terminals */ - static final int ACE_STATIC = 3; - static final int ACE_ACTIVE = 11; - static final int EOF = 0; - static final int ACE_IDENT = 14; - static final int ACE_USTREAM = 22; - static final int ACE_LPAREN = 16; - static final int ACE_MODULE_T = 8; - static final int error = 1; - static final int ACE_DYNAMIC = 2; - static final int ACE_RESUME = 5; - static final int ACE_LBRACE = 18; - static final int ACE_REMOVE = 6; - static final int ACE_STREAM = 7; - static final int ACE_STRING = 15; - static final int ACE_RPAREN = 17; - static final int ACE_COLON = 21; - static final int ACE_PATHNAME = 13; - static final int ACE_STAR = 20; - static final int ACE_SVC_OBJ_T = 10; - static final int ACE_RBRACE = 19; - static final int ACE_SUSPEND = 4; - static final int ACE_STREAM_T = 9; - static final int ACE_INACTIVE = 12; -}; - diff --git a/java/tests/ASX/BufferStreamTest.dsp b/java/tests/ASX/BufferStreamTest.dsp deleted file mode 100644 index b916aba58bb..00000000000 --- a/java/tests/ASX/BufferStreamTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="BufferStreamTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=BufferStreamTest - Java Virtual Machine 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 "BufferStreamTest.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 "BufferStreamTest.mak"\ - CFG="BufferStreamTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "BufferStreamTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "BufferStreamTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "BufferStreamTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "BufferStreamTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "BufferStreamTest - Java Virtual Machine Release" -# Name "BufferStreamTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\BufferStreamTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/ASX/BufferStreamTest.java b/java/tests/ASX/BufferStreamTest.java deleted file mode 100644 index 9a696497562..00000000000 --- a/java/tests/ASX/BufferStreamTest.java +++ /dev/null @@ -1,184 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.ASX -// -// = FILENAME -// BufferStreamTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.ASX; - -import java.io.*; -import JACE.OS.*; -import JACE.ASX.*; - -// This short program copies stdin to stdout via the use of an ASX -// STREAM. It illustrates an implementation of the classic "bounded -// buffer" program using an ASX STREAM containing two Modules. Each -// Module contains two Tasks. - -class CommonTask extends Task -{ - // ACE_Task hooks - public int open (Object obj) - { - if (this.activate (0, 1, false) == -1) - ACE.ERROR ("spawn"); - return 0; - } - - public int close (long exitStatus) - { - ACE.DEBUG (Thread.currentThread () + " thread is exiting with status " + - exitStatus + " in module " + this.name () + "\n"); - return 0; - } - - public int put (MessageBlock mb, TimeValue tv) - { - return 0; - } - - public int handleTimeout (TimeValue tv, Object obj) - { - return 0; - } -} - -// Define the Producer interface. - -class Producer extends CommonTask -{ - // Read data from stdin and pass to consumer. - // The Consumer reads data from the stdin stream, creates a message, - // and then queues the message in the message list, where it is - // removed by the consumer thread. A 0-sized message is enqueued when - // there is no more data to read. The consumer uses this as a flag to - // know when to exit. - - public int svc () - { - // Keep reading stdin, until we reach EOF. - - DataInputStream in = new DataInputStream (System.in); - String msg = null; - try - { - while (true) - { - System.out.print ("Enter input: "); - System.out.flush (); - msg = in.readLine (); - if (msg == null) - { - // Send a shutdown message to the other thread and exit. - if (this.putNext (new MessageBlock (0), new TimeValue ()) == -1) - ACE.ERROR ("putNext"); - break; - } - else - { - // Send the message to the other thread. - if (this.putNext (new MessageBlock (msg), new TimeValue ()) == -1) - ACE.ERROR ("putNext"); - } - } - } - catch (IOException e) - { - } - return 0; - } -} - -class Consumer extends CommonTask - // = TITLE - // Define the Consumer interface. -{ - // Enqueue the message on the MessageQueue for subsequent - // handling in the svc() method. - public int put (MessageBlock mb, TimeValue tv) - { - try - { - return this.putq (mb, tv); - } - catch (InterruptedException e) - { - } - return 0; - } - - // The consumer dequeues a message from the ACE_Message_Queue, writes - // the message to the stderr stream, and deletes the message. The - // Consumer sends a 0-sized message to inform the consumer to stop - // reading and exit. - - public int svc () - { - MessageBlock mb = null; - - // Keep looping, reading a message out of the queue, until we - // timeout or get a message with a length == 0, which signals us to - // quit. - try - { - while (true) - { - // Wait for upto 4 seconds - mb = this.getq (new TimeValue (4)); - - if (mb == null) - break; - - int length = mb.length (); - - if (length > 0) - System.out.println ("\n" + mb.base ()); - - if (length == 0) - break; - } - } - catch (InterruptedException e) - { - } - if (mb == null) - { - ACE.ERROR ("timed out waiting for message"); - System.exit (1); - } - return 0; - } -} - -// Spawn off a new thread. - -public class BufferStreamTest -{ - public static void main (String args[]) - { - // Control hierachically-related active objects - Stream stream = new Stream (); - Module pm = new Module ("Consumer", new Consumer (), null, null); - Module cm = new Module ("Producer", new Producer (), null, null); - - // Create Producer and Consumer Modules and push them onto the - // STREAM. All processing is performed in the STREAM. - - if (stream.push (pm) == -1) - { - ACE.ERROR ("push"); - return; - } - else if (stream.push (cm) == -1) - { - ACE.ERROR ("push"); - return; - } - } -} diff --git a/java/tests/ASX/Makefile b/java/tests/ASX/Makefile deleted file mode 100644 index d097cbb0850..00000000000 --- a/java/tests/ASX/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = MessageQueueTest.java \ - TaskTest.java \ - PriorityBufferTest.java \ - ThreadPoolTest.java \ - BufferStreamTest.java - -packages = tests.ASX - -realclean: - find ${JACE_WRAPPER}/classes/tests/ASX -name '*.class' -print | xargs ${RM} - diff --git a/java/tests/ASX/MessageQueueTest.dsp b/java/tests/ASX/MessageQueueTest.dsp deleted file mode 100644 index 26796a1a80c..00000000000 --- a/java/tests/ASX/MessageQueueTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="MessageQueueTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=MessageQueueTest - Java Virtual Machine 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 "MessageQueueTest.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 "MessageQueueTest.mak"\ - CFG="MessageQueueTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "MessageQueueTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "MessageQueueTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "MessageQueueTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "MessageQueueTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "MessageQueueTest - Java Virtual Machine Release" -# Name "MessageQueueTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\MessageQueueTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/ASX/MessageQueueTest.java b/java/tests/ASX/MessageQueueTest.java deleted file mode 100644 index c22d2cf041d..00000000000 --- a/java/tests/ASX/MessageQueueTest.java +++ /dev/null @@ -1,50 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.ASX -// -// = FILENAME -// MessageQueueTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.ASX; - -import java.io.*; -import JACE.OS.*; -import JACE.ASX.*; - -public class MessageQueueTest -{ - public static void main (String args[]) - { - try - { - MessageBlock conMb; - MessageQueue msgQueue = new MessageQueue (); - MessageBlock mb1 = new MessageBlock ("hello"); - MessageBlock mb2 = new MessageBlock ("world"); - mb1.msgPriority (5); - mb2.msgPriority (7); - - // Enqueue in priority order. - if (msgQueue.enqueue (mb1) == -1) - ACE.ERROR ("put_next"); - - if (msgQueue.enqueue (mb2) == -1) - ACE.ERROR ("put_next"); - - // Now try to dequeue - if ((conMb = msgQueue.dequeueHead ()) == null) - ACE.ERROR ("dequeueHead"); - else - ACE.DEBUG ("Consumer: removed item " + conMb.base () + " of priority " + conMb.msgPriority ()); - } - catch (InterruptedException e) - { - } - } -} - diff --git a/java/tests/ASX/PriorityBufferTest.dsp b/java/tests/ASX/PriorityBufferTest.dsp deleted file mode 100644 index 2a943487b04..00000000000 --- a/java/tests/ASX/PriorityBufferTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="PriorityBufferTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=PriorityBufferTest - Java Virtual Machine 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 "PriorityBufferTest.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 "PriorityBufferTest.mak"\ - CFG="PriorityBufferTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "PriorityBufferTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "PriorityBufferTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "PriorityBufferTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "PriorityBufferTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "PriorityBufferTest - Java Virtual Machine Release" -# Name "PriorityBufferTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\PriorityBufferTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/ASX/PriorityBufferTest.java b/java/tests/ASX/PriorityBufferTest.java deleted file mode 100644 index 5cce32fa3b1..00000000000 --- a/java/tests/ASX/PriorityBufferTest.java +++ /dev/null @@ -1,116 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.ASX -// -// = FILENAME -// PriorityBufferTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.ASX; - -import java.io.*; -import JACE.OS.*; -import JACE.ASX.*; - -class consumer extends Thread -{ - public void run () - { - MessageBlock mb = null; - long curPriority = 0; - int length = 0; - - try - { - // Keep looping, reading a message out of the queue, until we - // get a message with a length == 0, which signals us to quit. - for (;;) - { - if ((mb = PriorityBufferTest.msgQueue.dequeueHead ()) == null) - break; - - length = mb.length (); - curPriority = mb.msgPriority (); - - if (length > 0) - ACE.DEBUG ("Consumer: removed item \"" + mb.base () + "\" of priority: " + curPriority); - - if (length == 0) - break; - } - } - catch (InterruptedException e) - { - } - } -} - -class producer extends Thread -{ - producer (int delay) - { - this.delay_ = delay; - } - - public void run () - { - try - { - long count = 0; - for (char c = 'a'; c <= 'z'; c++) - { - count++; - // Allocate a new message - MessageBlock mb = new MessageBlock (new Character (c).toString ()); - // Set the priority - mb.msgPriority (count); - - // Enqueue in priority order. - if (PriorityBufferTest.msgQueue.enqueue (mb) == -1) - ACE.ERROR ("put_next"); - else - { - ACE.DEBUG ("Producer: inserted item \"" + mb.base () + "\" of priority: " + count); - if (this.delay_ > 0) - this.sleep (this.delay_); - } - } - - // Now send a 0-sized shutdown message to the other thread - if (PriorityBufferTest.msgQueue.enqueueTail (new MessageBlock (0)) == -1) - ACE.ERROR ("put_next"); - } - catch (InterruptedException e) - { - } - } - - private int delay_; -} - -public class PriorityBufferTest -{ - public static MessageQueue msgQueue = new MessageQueue (); - - public static void main (String args[]) - { - int delay = 0; - if (args.length == 1) - { - try - { - delay = Integer.parseInt (args[0]); - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - } - new producer (delay).start (); - new consumer ().start (); - } -} diff --git a/java/tests/ASX/TaskTest.dsp b/java/tests/ASX/TaskTest.dsp deleted file mode 100644 index 7906e7b6fcd..00000000000 --- a/java/tests/ASX/TaskTest.dsp +++ /dev/null @@ -1,72 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TaskTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=TaskTest - Java Virtual Machine 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 "TaskTest.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 "TaskTest.mak" CFG="TaskTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TaskTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "TaskTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "TaskTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "TaskTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "TaskTest - Java Virtual Machine Release" -# Name "TaskTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\TaskTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/ASX/TaskTest.java b/java/tests/ASX/TaskTest.java deleted file mode 100644 index b26b48ea148..00000000000 --- a/java/tests/ASX/TaskTest.java +++ /dev/null @@ -1,86 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.ASX -// -// = FILENAME -// TaskTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.ASX; - -import java.io.*; -import JACE.OS.*; -import JACE.ASX.*; -import JACE.Reactor.*; - -public class TaskTest extends Task -{ - int nThreads_; - int nIterations_; - - public TaskTest (int nThreads, int nIterations) - { - this.nIterations_ = nIterations; - this.nThreads_ = nThreads; - if (this.activate (0, nThreads, true) == -1) - ACE.ERROR ("activate failed"); - } - - public int open (Object obj) - { - return 0; - } - - public int close (long flags) - { - return 0; - } - - public int put (MessageBlock mb, TimeValue tv) - { - return 0; - } - - public int handleTimeout (TimeValue tv, Object obj) - { - return 0; - } - - public int svc () - { - for (int i = 1; i <= this.nIterations_; i++) - { - ACE.DEBUG (Thread.currentThread ().toString () + " in iteration " + i); - // Allow other threads to run - Thread.yield (); - } - return 0; - } - - public static void main (String args[]) - { - int nThreads = 1; - int nIterations = 1; - try - { - if (args.length == 2) - { - nThreads = Integer.parseInt (args[0]); - nIterations = Integer.parseInt (args[1]); - } - else if (args.length == 1) - { - nThreads = Integer.parseInt (args[0]); - } - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - TaskTest tt = new TaskTest (nThreads, nIterations); - } -} diff --git a/java/tests/ASX/ThreadPoolTest.dsp b/java/tests/ASX/ThreadPoolTest.dsp deleted file mode 100644 index 0c7c3538a0d..00000000000 --- a/java/tests/ASX/ThreadPoolTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ThreadPoolTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=ThreadPoolTest - Java Virtual Machine 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 "ThreadPoolTest.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 "ThreadPoolTest.mak"\ - CFG="ThreadPoolTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ThreadPoolTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "ThreadPoolTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "ThreadPoolTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "ThreadPoolTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "ThreadPoolTest - Java Virtual Machine Release" -# Name "ThreadPoolTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\ThreadPoolTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/ASX/ThreadPoolTest.java b/java/tests/ASX/ThreadPoolTest.java deleted file mode 100644 index cfb20f87adb..00000000000 --- a/java/tests/ASX/ThreadPoolTest.java +++ /dev/null @@ -1,185 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.ASX -// -// = FILENAME -// ThreadPoolTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.ASX; - -import java.io.*; -import JACE.OS.*; -import JACE.ASX.*; -import JACE.Reactor.*; - -public class ThreadPoolTest extends Task -{ - int nThreads_; - int nIterations_; - - public static int MAX_MB_SIZE = 1024; - - public ThreadPoolTest (int nThreads, int nIterations) - { - this.nIterations_ = nIterations; - this.nThreads_ = nThreads; - if (this.activate (0, nThreads, true) == -1) - ACE.ERROR ("activate failed"); - } - - public int handleTimeout (TimeValue tv, Object obj) - { - return 0; - } - - public int open (Object obj) - { - return 0; - } - - public int close (long flags) - { - return 0; - } - - public int put (MessageBlock mb, TimeValue tv) - { - try - { - return this.putq (mb, tv); - } - catch (InterruptedException e) - { - } - return 0; - } - - public int svc () - { - int result = 0; - int count = 1; - - // Keep looping, reading a message out of the queue, until we get a - // message with a length == 0, which signals us to quit. - try - { - for (;; count++) - { - MessageBlock mb = this.getq (new TimeValue ()); - if (mb == null) - { - ACE.ERROR (Thread.currentThread ().toString () + " in iteration " + count + ", got result -1, exiting"); - break; - } - int length = mb.length (); - - if (length > 0) - ACE.DEBUG (Thread.currentThread ().toString () + - " in iteration " + count + ", length = " + - length + ", text = \"" + mb.base () + "\""); - - if (length == 0) - { - ACE.DEBUG (Thread.currentThread ().toString () + - " in iteration " + count + - ", got NULL message, exiting"); - break; - } - Thread.yield (); - } - } - catch (InterruptedException e) - { - } - return 0; - } - - public static void produce (ThreadPoolTest threadPool, int nIterations) - { - int count = 0; - for (int n = 0;;) - { - // Allocate a new message. - MessageBlock mb = new MessageBlock (new Integer (count).toString ()); - - if (count == nIterations) - n = 1; // Indicate that we need to shut down. - else - count++; - - if (count == 0 || (count % 20 == 0)) - { - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - } - if (n != 1) - { - ACE.DEBUG ("Producing..."); - // Pass the message to the Thread_Pool. - if (threadPool.put (mb, new TimeValue ()) == -1) - ACE.ERROR ("put"); - } - else - { - // Send a shutdown message to the waiting threads and exit. - ACE.DEBUG ("start loop, dump of task"); - - for (int i = threadPool.thrCount (); i > 0; i--) - { - ACE.DEBUG (Thread.currentThread ().toString () + - "EOF, enqueueing NULL block for thread " + i); - - // Enqueue a NULL message to flag each consumer to - // shutdown. - if (threadPool.put (new MessageBlock (0), new TimeValue ()) == -1) - ACE.ERROR ("put"); - } - - break; - } - } - } - - public static void main (String args[]) - { - int nThreads = 1; - int nIterations = 100; - try - { - if (args.length == 2) - { - nThreads = Integer.parseInt (args[0]); - nIterations = Integer.parseInt (args[1]); - } - else if (args.length == 1) - { - nThreads = Integer.parseInt (args[0]); - } - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - ACE.DEBUG ("Threads = " + nThreads + " Iterations = " + nIterations); - - // Create the worker tasks. - ThreadPoolTest threadPool = new ThreadPoolTest (nThreads, - nIterations); - - // Create work for the worker tasks to process in their own threads. - produce (threadPool, nIterations); - ACE.DEBUG ("exiting..."); - } -} - - diff --git a/java/tests/Concurrency/Condition/Condition.dsp b/java/tests/Concurrency/Condition/Condition.dsp deleted file mode 100644 index 2775a9cded6..00000000000 --- a/java/tests/Concurrency/Condition/Condition.dsp +++ /dev/null @@ -1,88 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Condition" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=Condition - Java Virtual Machine 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 "Condition.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 "Condition.mak" CFG="Condition - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "Condition - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "Condition - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "Condition - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "Condition - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "Condition - Java Virtual Machine Release" -# Name "Condition - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\Consumer.java -# End Source File -# Begin Source File - -SOURCE=.\JoinableThreadGroup.java -# End Source File -# Begin Source File - -SOURCE=.\Producer.java -# End Source File -# Begin Source File - -SOURCE=.\QueueTest.java -# End Source File -# Begin Source File - -SOURCE=.\SimpleMessageQueue.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Concurrency/Condition/Consumer.java b/java/tests/Concurrency/Condition/Consumer.java deleted file mode 100644 index ff4f5ff4a4b..00000000000 --- a/java/tests/Concurrency/Condition/Consumer.java +++ /dev/null @@ -1,73 +0,0 @@ -//File: Consumer.java -//Seth Widoff 8/8/96 -//This class attempts at random intervals to dequeue random elements -//from a queue. If the queue is empty the thread waits until an element -//has been enqueued and another thread has invoked the notify() method. - -package tests.Concurrency.Condition; - -import JACE.ASX.TimeValue; -import java.util.Random; - -public class Consumer implements Runnable -{ - //Maximum pause between dequeues (in milliseconds) - private static final int MAX_PAUSE = 1000; - - private SimpleMessageQueue queue_; - private boolean stop_requested_ = false; - private String name_; - private int iterations_; - private TimeValue timeout_; - - public Consumer(String name, - SimpleMessageQueue queue, - int iterations, - TimeValue timeout) - { - name_ = "Consumer " + name; - queue_ = queue; - iterations_ = iterations; - timeout_ = timeout; - } - - public void run() - { - //Set the random number generator seed to the current time in - //milliseconds. - - Random random = new Random(System.currentTimeMillis()); - Integer element; - - for (int i = 0; i < iterations_; ) - { - try - { - element = (Integer)queue_.dequeue(timeout_); - if (element != null) - { - - System.out.print("Consumer::run() " + name_ + " dequeued " + element.toString()); - System.out.println(" Queue size: " + queue_.size()); - - Thread.sleep(random.nextLong() % MAX_PAUSE); - } - else - { - System.out.println ("Null"); - } - i++; - } - catch(Exception excp) - { - System.out.print ("Consumer::run() Exception: "); - System.out.println(excp); - } - } - } - - public void requestStop() - { - stop_requested_ = true; - } -} diff --git a/java/tests/Concurrency/Condition/JoinableThreadGroup.java b/java/tests/Concurrency/Condition/JoinableThreadGroup.java deleted file mode 100644 index c878eb026d3..00000000000 --- a/java/tests/Concurrency/Condition/JoinableThreadGroup.java +++ /dev/null @@ -1,24 +0,0 @@ -package tests.Concurrency.Condition; - -public class JoinableThreadGroup extends ThreadGroup -{ - public JoinableThreadGroup(String name) - { - super(name); - } - - public JoinableThreadGroup(ThreadGroup parent, String name) - { - super(parent, name); - } - - public void join() throws InterruptedException - { - Thread list[] = new Thread[activeCount()]; - - enumerate(list, true); - - for (int i = 0; i < list.length; i++) - list[i].join(); - } -} diff --git a/java/tests/Concurrency/Condition/Makefile b/java/tests/Concurrency/Condition/Makefile deleted file mode 100644 index fd1e6a93677..00000000000 --- a/java/tests/Concurrency/Condition/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - -files = \ - QueueTest.java \ - JoinableThreadGroup.java \ - SimpleMessageQueue.java \ - Producer.java \ - Consumer.java - -packages = tests.Concurrency.Condition; - -realclean: - find ${JACE_WRAPPER}/classes/tests/Concurrency/Condition -name '*.class' -print | xargs ${RM} diff --git a/java/tests/Concurrency/Condition/Producer.java b/java/tests/Concurrency/Condition/Producer.java deleted file mode 100644 index ed6da2251ba..00000000000 --- a/java/tests/Concurrency/Condition/Producer.java +++ /dev/null @@ -1,67 +0,0 @@ -//File: Producer.java -//Seth Widoff 8/8/96 -//This class attempts at random intervals to enqueue random elements -//into a queue. If the queue is full the thread waits until an element -//has been dequeued and another thread has invoked the notify() method. - -package tests.Concurrency.Condition; - -import JACE.ASX.TimeValue; -import java.util.Random; - -public class Producer implements Runnable -{ - //Maximum pause between enqueues (in milliseconds) - private static final int MAX_PAUSE = 1000; - - private SimpleMessageQueue queue_; - private boolean stop_requested_ = false; - private String name_; - private int iterations_; - private TimeValue timeout_; - - public Producer(String name, - SimpleMessageQueue queue, - int iterations, - TimeValue timeout) - { - name_ = "Producer " + name; - queue_ = queue; - iterations_ = iterations; - timeout_ = timeout; - } - - public void run() - { - //Set the random number generator seed to the current time in milliseconds. - Random random = new Random(System.currentTimeMillis()); - int element = 1; - - for (int i = 0; i < iterations_; ) - { - try - { - // element = random.nextInt(); - - queue_.enqueue((Object)new Integer(element), timeout_); - System.out.print("Producer::run() " + name_ + " enqueued " + element); - System.out.println(" Queue size: " + queue_.size()); - - Thread.sleep(random.nextLong() % MAX_PAUSE); - i++; - element++; - } - catch(Exception excp) - { - System.out.print("Producer::run() Exception: "); - System.out.println(excp); - } - } - } - - public void requestStop() - { - stop_requested_ = true; - } -} - diff --git a/java/tests/Concurrency/Condition/QueueTest.java b/java/tests/Concurrency/Condition/QueueTest.java deleted file mode 100644 index 87e7d57bbbd..00000000000 --- a/java/tests/Concurrency/Condition/QueueTest.java +++ /dev/null @@ -1,64 +0,0 @@ -//File: QueueTest.java -//Seth Widoff, 8/8/96 -//This class is a test method for the Producer and Consumer classes. -//The main method takes as arguments the number of producers, the -//number of consumers and the number of elements in the queue. It then -//spawn the specified threads and starts them. - -package tests.Concurrency.Condition; - -import JACE.ASX.TimeValue; - -public class QueueTest -{ - public static void main(String[] args) - { - if (args.length < 5) - { - System.out.println("Usage: java QueueTest <# producers> <# consumers> <# elements> <#iterations> <#timeout secs> <#timeout nano secs>"); - System.exit(1); - } - - int num_producers = Integer.parseInt(args[0]), - num_consumers = Integer.parseInt(args[1]), - num_elements = Integer.parseInt(args[2]), - num_iterations = Integer.parseInt(args[3]), - num_timeout_secs = Integer.parseInt(args[4]), - num_timeout_nano_secs = Integer.parseInt(args[5]); - - if (num_elements < 1 - || num_consumers < 1 - || num_producers < 1) - { - System.out.println("All the parameters must be larger than zero."); - System.exit(1); - } - - SimpleMessageQueue queue = new SimpleMessageQueue(num_elements); - Consumer[] consumers = new Consumer[num_consumers]; - Producer[] producers = new Producer[num_producers]; - JoinableThreadGroup thread_group = new JoinableThreadGroup("Producer Consumer"); - - for (int i = 0; i < num_producers; i++) - { - producers[i] = new Producer("Number " + (i + 1), queue, num_iterations, new TimeValue (num_timeout_secs, num_timeout_nano_secs)); - new Thread(thread_group, producers[i]).start(); - } - - for (int i = 0; i < num_consumers; i++) - { - consumers[i] = new Consumer("Number " + (i + 1), queue, num_iterations, new TimeValue (num_timeout_secs, num_timeout_nano_secs)); - new Thread(thread_group, consumers[i]).start(); - } - - try - { - thread_group.join(); - } - catch(InterruptedException excp) - { - System.out.println("QueueTest::main"); - System.out.println(excp); - } - } -} diff --git a/java/tests/Concurrency/Condition/SimpleMessageQueue.java b/java/tests/Concurrency/Condition/SimpleMessageQueue.java deleted file mode 100644 index bb703516858..00000000000 --- a/java/tests/Concurrency/Condition/SimpleMessageQueue.java +++ /dev/null @@ -1,86 +0,0 @@ -package tests.Concurrency.Condition; - -import JACE.ASX.TimeoutException; -import JACE.ASX.TimeValue; -import JACE.Concurrency.*; - -public class SimpleMessageQueue -{ - private int num_items_ = 0; - private int head_ = 0, tail_ = 0; - private Object[] queue_; - - private Mutex lock_ = new Mutex (); - private Condition notFull_ = new Condition (lock_); - private Condition notEmpty_ = new Condition (lock_); - - public SimpleMessageQueue(int size) - { - queue_ = new Object[size]; - } - - public void enqueue(Object element, TimeValue timeout) - throws TimeoutException, InterruptedException - { - try - { - lock_.acquire (); - while (this.isFull ()) - notFull_.Wait (timeout); - - if (tail_ == queue_.length) - tail_ = 0; - queue_[tail_] = element; - tail_++; - - num_items_++; - notEmpty_.signal (); - } - finally - { - lock_.release (); - } - } - - public Object dequeue (TimeValue timeout) - throws TimeoutException, InterruptedException - { - Object return_value = null; - - try - { - lock_.acquire (); - while (this.isEmpty ()) - notEmpty_.Wait (timeout); - - return_value = queue_[head_]; - head_++; - if (head_ == queue_.length) - head_ = 0; - - num_items_--; - notFull_.signal (); - } - finally - { - lock_.release (); - } - return return_value; - } - - public boolean isEmpty() - { - return num_items_ == 0; - } - - public boolean isFull() - { - return num_items_ == queue_.length; - } - - public int size() - { - return num_items_; - } -} - diff --git a/java/tests/Concurrency/Makefile b/java/tests/Concurrency/Makefile deleted file mode 100644 index f967dffb92f..00000000000 --- a/java/tests/Concurrency/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - -files = MutexTest.java \ - SemaphoreTest.java \ - RWMutexTest.java \ - TokenTest.java - -packages = tests.Concurrency - -realclean: - find ${JACE_WRAPPER}/classes/tests/Concurrency -name '*.class' -print | xargs ${RM} diff --git a/java/tests/Concurrency/MutexTest.dsp b/java/tests/Concurrency/MutexTest.dsp deleted file mode 100644 index 1d5e933af09..00000000000 --- a/java/tests/Concurrency/MutexTest.dsp +++ /dev/null @@ -1,72 +0,0 @@ -# Microsoft Developer Studio Project File - Name="MutexTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=MutexTest - Java Virtual Machine 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 "MutexTest.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 "MutexTest.mak" CFG="MutexTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "MutexTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "MutexTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "MutexTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "MutexTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "MutexTest - Java Virtual Machine Release" -# Name "MutexTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\MutexTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Concurrency/MutexTest.java b/java/tests/Concurrency/MutexTest.java deleted file mode 100644 index 680266ef071..00000000000 --- a/java/tests/Concurrency/MutexTest.java +++ /dev/null @@ -1,154 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.Concurrency - * - * = FILENAME - * MutexTest.java - * - *@author Prashant Jain - * - *************************************************/ -package tests.Concurrency; - -import java.io.*; -import JACE.OS.*; -import JACE.Concurrency.*; - -class MutexReader extends Thread -{ - MutexReader (int nIterations, Mutex mutex) - { - this.nIterations_ = nIterations; - this.mutex_ = mutex; - } - - public void run () - { - for (int i = 1; i <= this.nIterations_; i++) - { - // Acquire the mutex (will block until it gets it) - try - { - this.mutex_.acquire (); - } - catch (InterruptedException e) - { - ACE.ERROR (e); - } - - MutexTest.count++; - ACE.DEBUG (Thread.currentThread ().toString () + - " reader acquired mutex in iteration " + i + - ", count = " + MutexTest.count); - - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - // Release the mutex - this.mutex_.release (); - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - - } - } - - int nIterations_; - Mutex mutex_; -} - -class MutexWriter extends Thread -{ - MutexWriter (int nIterations, Mutex mutex) - { - this.nIterations_ = nIterations; - this.mutex_ = mutex; - } - - public void run () - { - for (int i = 1; i <= this.nIterations_; i++) - { - // Acquire the mutex (will block until it gets it) - try - { - this.mutex_.acquire (); - } - catch (InterruptedException e) - { - ACE.ERROR (e); - } - - MutexTest.count++; - ACE.DEBUG (Thread.currentThread ().toString () + - " writer acquired mutex in iteration " + i + - ", count = " + MutexTest.count); - - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - - // Release the mutex - this.mutex_.release (); - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - - } - } - - int nIterations_; - Mutex mutex_; -} - -public class MutexTest -{ - public static void main (String args[]) - { - int nReaders = 1; - int nWriters = 1; - int nIterations = 100; - int i; - try - { - if (args.length == 3) - { - nReaders = Integer.parseInt (args[0]); - nWriters = Integer.parseInt (args[1]); - nIterations = Integer.parseInt (args[2]); - } - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - - // Create a lock - Mutex mutex = new Mutex (); - - // Now spawn off the readers and writers - for (i = 0; i < nReaders; i++) - new MutexReader (nIterations, mutex).start (); - - for (i = 0; i < nWriters; i++) - new MutexWriter (nIterations, mutex).start (); - } - public static int count; -} diff --git a/java/tests/Concurrency/RWMutexTest.dsp b/java/tests/Concurrency/RWMutexTest.dsp deleted file mode 100644 index 44602766c52..00000000000 --- a/java/tests/Concurrency/RWMutexTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="RWMutexTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=RWMutexTest - Java Virtual Machine 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 "RWMutexTest.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 "RWMutexTest.mak"\ - CFG="RWMutexTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "RWMutexTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "RWMutexTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "RWMutexTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "RWMutexTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "RWMutexTest - Java Virtual Machine Release" -# Name "RWMutexTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\RWMutexTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Concurrency/RWMutexTest.java b/java/tests/Concurrency/RWMutexTest.java deleted file mode 100644 index ab28c9a83fd..00000000000 --- a/java/tests/Concurrency/RWMutexTest.java +++ /dev/null @@ -1,93 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.Concurrency - * - * = FILENAME - * RWMutexTest.java - * - *@author Ross Dargahi (rossd@krinfo.com) - * - *************************************************/ -package tests.Concurrency; - -import JACE.OS.*; -import JACE.Concurrency.*; - -class TestThread extends Thread -{ - TestThread(String name, - boolean writer, - RWMutex lock) - { - super (name); - mWriter = writer; - mLock = lock; - } - - public void run() - { - for (int i = 0; i < 10; i++) - { - try - { - if (!mWriter) - { - mLock.acquireRead(); - ACE.DEBUG (getName() + ": Acquired Read Lock"); - - int sleepTime = i * 100; - sleep (sleepTime); - - mLock.release (); - ACE.DEBUG (getName () + ": Released Read Lock"); - } - else - { - mLock.acquireWrite (); - ACE.DEBUG (getName () + ": Acquired Write Lock"); - - int sleepTime = i * 100; - sleep (sleepTime); - - mLock.release (); - ACE.DEBUG (getName () + ": Released Write Lock"); - } - } - catch (InterruptedException ex) - { - ACE.ERROR ("InterruptedException"); - } - } - } - - RWMutex mLock; - boolean mWriter; -} - -public class RWMutexTest -{ - public static void main(String [] args) - { - RWMutex lock = new RWMutex(); - - TestThread t1 = new TestThread ("1", false, lock); - TestThread t2 = new TestThread ("2", false, lock); - TestThread t3 = new TestThread ("3", false, lock); - TestThread t4 = new TestThread ("4", true, lock); - TestThread t5 = new TestThread ("5", false, lock); - TestThread t6 = new TestThread ("6", false, lock); - TestThread t7 = new TestThread ("7", false, lock); - TestThread t8 = new TestThread ("8", true, lock); - - t1.start (); - t2.start (); - t3.start (); - t4.start (); - t5.start (); - t6.start (); - t7.start (); - t8.start (); - } -} - diff --git a/java/tests/Concurrency/SemaphoreTest.dsp b/java/tests/Concurrency/SemaphoreTest.dsp deleted file mode 100644 index 546ad0e11be..00000000000 --- a/java/tests/Concurrency/SemaphoreTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="SemaphoreTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=SemaphoreTest - Java Virtual Machine 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 "SemaphoreTest.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 "SemaphoreTest.mak"\ - CFG="SemaphoreTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SemaphoreTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "SemaphoreTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "SemaphoreTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "SemaphoreTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "SemaphoreTest - Java Virtual Machine Release" -# Name "SemaphoreTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\SemaphoreTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Concurrency/SemaphoreTest.java b/java/tests/Concurrency/SemaphoreTest.java deleted file mode 100644 index b45929daa55..00000000000 --- a/java/tests/Concurrency/SemaphoreTest.java +++ /dev/null @@ -1,102 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.Concurrency - * - * = FILENAME - * SemaphoreTest.java - * - *@author Prashant Jain - * - *************************************************/ -package tests.Concurrency; - -import java.io.*; -import JACE.OS.*; -import JACE.Concurrency.*; - -class SemaphoreWriter extends Thread -{ - SemaphoreWriter (int nIterations, Semaphore s) - { - this.nIterations_ = nIterations; - this.s_ = s; - } - - public void run () - { - for (int i = 1; i <= this.nIterations_; i++) - { - // Acquire the semaphore (will block until it gets it) - try - { - this.s_.acquire (); - } - catch (InterruptedException e) - { - ACE.ERROR (e); - } - - SemaphoreTest.counter++; - ACE.DEBUG (Thread.currentThread ().toString () + - " acquired semaphore in iteration " + i + - ", counter = " + SemaphoreTest.counter); - - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - - // Release the semaphore - this.s_.release (); - ACE.DEBUG (Thread.currentThread ().toString () + - " released semaphore in iteration " + i); - try - { - Thread.sleep (1); - } - catch (InterruptedException e) - { - } - - } - } - - int nIterations_; - Semaphore s_; -} - -public class SemaphoreTest -{ - public static void main (String args[]) - { - int nThreads = 1; - int count = 1; - int nIterations = 100; - int i; - try - { - if (args.length == 3) - { - nThreads = Integer.parseInt (args[0]); - count = Integer.parseInt (args[1]); - nIterations = Integer.parseInt (args[2]); - } - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - - // Create a lock - Semaphore s = new Semaphore (count); - - // Spawn off n_threads - for (i = 0; i < nThreads; i++) - new SemaphoreWriter (nIterations, s).start (); - } - public static int counter; -} diff --git a/java/tests/Concurrency/TokenTest.dsp b/java/tests/Concurrency/TokenTest.dsp deleted file mode 100644 index 2fd69ce5ee5..00000000000 --- a/java/tests/Concurrency/TokenTest.dsp +++ /dev/null @@ -1,72 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TokenTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=TokenTest - Java Virtual Machine 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 "TokenTest.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 "TokenTest.mak" CFG="TokenTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TokenTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "TokenTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "TokenTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "TokenTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "TokenTest - Java Virtual Machine Release" -# Name "TokenTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\TokenTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Concurrency/TokenTest.java b/java/tests/Concurrency/TokenTest.java deleted file mode 100644 index ededed9fed9..00000000000 --- a/java/tests/Concurrency/TokenTest.java +++ /dev/null @@ -1,73 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.Concurrency - * - * = FILENAME - * TokenTest.java - * - *@author Prashant Jain - * - *************************************************/ -package tests.Concurrency; - -import java.io.*; -import JACE.OS.*; -import JACE.Concurrency.*; - -class MyToken extends Token -{ - public void sleepHook () - { - ACE.DEBUG (Thread.currentThread () + " blocking, sleepHook called"); - } -} - -public class TokenTest implements Runnable -{ - public void run () - { - try - { - this.token_.acquire (); - ACE.DEBUG (Thread.currentThread () + " acquired token"); - this.token_.acquire (); - ACE.DEBUG (Thread.currentThread () + " acquired token"); - Thread.sleep (100); - - this.token_.renew (1); - - this.token_.release (); - ACE.DEBUG (Thread.currentThread () + " released token"); - this.token_.release (); - ACE.DEBUG (Thread.currentThread () + " released token"); - } - catch (InterruptedException e) - { - this.token_.release (); - } - } - - public static void main (String args []) - { - ThreadManager tm = new ThreadManager (); - int n = 1; - try - { - if (args.length == 1) - { - n = Integer.parseInt (args[0]); - } - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - - tm.spawnN (n, - new TokenTest (), - false); - } - - private MyToken token_ = new MyToken (); -} diff --git a/java/tests/Connection/AcceptorTest.dsp b/java/tests/Connection/AcceptorTest.dsp deleted file mode 100644 index a53acd4a035..00000000000 --- a/java/tests/Connection/AcceptorTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="AcceptorTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=AcceptorTest - Java Virtual Machine 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 "AcceptorTest.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 "AcceptorTest.mak"\ - CFG="AcceptorTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "AcceptorTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "AcceptorTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "AcceptorTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "AcceptorTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "AcceptorTest - Java Virtual Machine Release" -# Name "AcceptorTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\AcceptorTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Connection/AcceptorTest.java b/java/tests/Connection/AcceptorTest.java deleted file mode 100644 index 0f8877f52d9..00000000000 --- a/java/tests/Connection/AcceptorTest.java +++ /dev/null @@ -1,79 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.Connection -// -// = FILENAME -// AcceptorTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.Connection; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class AcceptorTest -{ - void print_usage_and_die () - { - System.out.println ("Usage: test_server []"); - System.exit (0); - } - - public void init (int port) - { - try - { - Acceptor acceptor = new Acceptor (Class.forName ("tests.Connection.ServerHandler")); - acceptor.open (port); - while (true) - { - acceptor.accept (); - } - } - catch (ClassNotFoundException e) - { - ACE.ERROR (e); - } - catch (SocketException e) - { - ACE.ERROR ("Socket Exception: " + e); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR ("Dang!" + e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - public static void main (String [] args) - { - int port = ACE.DEFAULT_SERVER_PORT; - AcceptorTest acceptorTest = new AcceptorTest (); - - if (args.length == 1) - { - try - { - port = Integer.parseInt (args[0]); - } - catch (NumberFormatException e) - { - acceptorTest.print_usage_and_die (); - } - } - acceptorTest.init (port); - } -} diff --git a/java/tests/Connection/ClientHandler.dsp b/java/tests/Connection/ClientHandler.dsp deleted file mode 100644 index e54b376c430..00000000000 --- a/java/tests/Connection/ClientHandler.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ClientHandler" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=ClientHandler - Java Virtual Machine 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 "ClientHandler.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 "ClientHandler.mak"\ - CFG="ClientHandler - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ClientHandler - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "ClientHandler - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "ClientHandler - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "ClientHandler - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "ClientHandler - Java Virtual Machine Release" -# Name "ClientHandler - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\ClientHandler.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Connection/ClientHandler.java b/java/tests/Connection/ClientHandler.java deleted file mode 100644 index 702c633ceca..00000000000 --- a/java/tests/Connection/ClientHandler.java +++ /dev/null @@ -1,76 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.Connection -// -// = FILENAME -// ClientHandler.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.Connection; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class ClientHandler extends SvcHandler -{ - public ClientHandler () - { - } - - public int open (Object obj) - { - new Thread (this).start (); - return 0; - } - - public void run () - { - DataInputStream in = new DataInputStream (System.in); - String msg; - StringBuffer ack = new StringBuffer (); - int ack_len; - try - { - while (true) - { - System.out.print ("Enter input: "); - System.out.flush (); - msg = in.readLine (); - if (msg == null) - break; - this.peer ().send (new StringBuffer (msg)); - System.out.println ("Waiting for ack..."); - ack_len = this.peer ().recv (ack); - if (ack_len == 0) - break; - else - System.out.println (ack); - } - } - catch (NullPointerException e) - { - ACE.ERROR ("connection reset by peer"); - } - catch (IOException e) - { - ACE.ERROR (e); - } - finally - { - try - { - this.peer ().close (); - } - catch (IOException e) - { - } - } - - } -} diff --git a/java/tests/Connection/ConnectorTest.dsp b/java/tests/Connection/ConnectorTest.dsp deleted file mode 100644 index 406f9c8f6cb..00000000000 --- a/java/tests/Connection/ConnectorTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ConnectorTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=ConnectorTest - Java Virtual Machine 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 "ConnectorTest.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 "ConnectorTest.mak"\ - CFG="ConnectorTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ConnectorTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "ConnectorTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "ConnectorTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "ConnectorTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "ConnectorTest - Java Virtual Machine Release" -# Name "ConnectorTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\ConnectorTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Connection/ConnectorTest.java b/java/tests/Connection/ConnectorTest.java deleted file mode 100644 index 605d5e7a400..00000000000 --- a/java/tests/Connection/ConnectorTest.java +++ /dev/null @@ -1,76 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.Connection -// -// = FILENAME -// ConnectorTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.Connection; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class ConnectorTest -{ - void print_usage_and_die () - { - System.out.println ("Usage: test_Connector []"); - System.exit (0); - } - - public void init (String hostname, int port) - { - try - { - Connector connector = new Connector (); - connector.open (hostname, port); - connector.connect (new ClientHandler ()); - } - catch (UnknownHostException e) - { - ACE.ERROR (e); - } - catch (SocketException e) - { - ACE.ERROR ("Connection refused"); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - public static void main (String [] args) - { - int port = ACE.DEFAULT_SERVER_PORT; - ConnectorTest connectorTest = new ConnectorTest (); - - if (args.length == 2) - { - try - { - port = Integer.parseInt (args[1]); - } - catch (NumberFormatException e) - { - connectorTest.print_usage_and_die (); - } - } - connectorTest.init (args[0], port); - } -} diff --git a/java/tests/Connection/Makefile b/java/tests/Connection/Makefile deleted file mode 100644 index de076f71237..00000000000 --- a/java/tests/Connection/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = ServerHandler.java \ - ClientHandler.java \ - ConnectorTest.java \ - AcceptorTest.java - -packages = tests.Connection - -realclean: - find ${JACE_WRAPPER}/classes/tests/Connection -name '*.class' -print | xargs ${RM} diff --git a/java/tests/Connection/ServerHandler.dsp b/java/tests/Connection/ServerHandler.dsp deleted file mode 100644 index e666e12b02b..00000000000 --- a/java/tests/Connection/ServerHandler.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ServerHandler" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=ServerHandler - Java Virtual Machine 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 "ServerHandler.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 "ServerHandler.mak"\ - CFG="ServerHandler - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ServerHandler - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "ServerHandler - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "ServerHandler - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "ServerHandler - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "ServerHandler - Java Virtual Machine Release" -# Name "ServerHandler - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\ServerHandler.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Connection/ServerHandler.java b/java/tests/Connection/ServerHandler.java deleted file mode 100644 index 7cdd50d7d37..00000000000 --- a/java/tests/Connection/ServerHandler.java +++ /dev/null @@ -1,68 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.Connection -// -// = FILENAME -// ServerHandler.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.Connection; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.Connection.*; - -public class ServerHandler extends SvcHandler -{ - public ServerHandler () - { - } - - public int open (Object obj) - { - new Thread (this).start (); - return 0; - } - - public void run () - { - int msg_len; - System.out.println ("Waiting for messages..."); - try - { - while (true) - { - StringBuffer msg = new StringBuffer (); - msg_len = this.peer ().recv (msg); - if (msg_len == 0) - break; - System.out.println ("Received: " + msg); - this.peer ().send (new StringBuffer ("Got it!")); - } - } - catch (NullPointerException e) - { - ACE.ERROR ("connection reset by peer"); - } - catch (IOException e) - { - ACE.ERROR (e); - } - finally - { - try - { - this.peer ().close (); - } - catch (IOException e) - { - } - } - - } -} diff --git a/java/tests/Misc/Makefile b/java/tests/Misc/Makefile deleted file mode 100644 index 2ea3d10fba5..00000000000 --- a/java/tests/Misc/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = ParseArgsTest.java - -packages = tests.Misc - -realclean: - find ${JACE_WRAPPER}/classes/tests/Misc -name '*.class' -print | xargs ${RM} diff --git a/java/tests/Misc/ParseArgsTest.dsp b/java/tests/Misc/ParseArgsTest.dsp deleted file mode 100644 index 68a6823e1f2..00000000000 --- a/java/tests/Misc/ParseArgsTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ParseArgsTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=ParseArgsTest - Java Virtual Machine 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 "ParseArgsTest.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 "ParseArgsTest.mak"\ - CFG="ParseArgsTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ParseArgsTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "ParseArgsTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "ParseArgsTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "ParseArgsTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "ParseArgsTest - Java Virtual Machine Release" -# Name "ParseArgsTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\ParseArgsTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Misc/ParseArgsTest.java b/java/tests/Misc/ParseArgsTest.java deleted file mode 100644 index 5baddd2745d..00000000000 --- a/java/tests/Misc/ParseArgsTest.java +++ /dev/null @@ -1,45 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.Misc -// -// = FILENAME -// ParseArgsTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.Misc; - -import JACE.OS.*; -import JACE.Misc.*; - -public class ParseArgsTest -{ - public static void main (String args[]) - { - String s; - GetOpt opt = new GetOpt (args, "p:rs:"); - for (int c; (c = opt.next ()) != -1; ) - { - switch (c) - { - case 'p': - s = opt.optarg (); - ACE.DEBUG ("Option

    selected with argument " + s); - break; - case 'r': - ACE.DEBUG ("Option selected"); - break; - case 's': - s = opt.optarg (); - ACE.DEBUG ("Option selected with argument " + s); - break; - default: - ACE.DEBUG ("Usage: java tests.Misc.ParseArgsTest [-p arg1] [-r] [-s arg2]"); - break; - } - } - } -} diff --git a/java/tests/Reactor/Makefile b/java/tests/Reactor/Makefile deleted file mode 100644 index f55573a89cb..00000000000 --- a/java/tests/Reactor/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = TimeValueTest.java \ - TimerQueueTest.java - -packages = tests.Reactor - -realclean: - find ${JACE_WRAPPER}/classes/tests/Reactor -name '*.class' -print | xargs ${RM} diff --git a/java/tests/Reactor/TimeValueTest.dsp b/java/tests/Reactor/TimeValueTest.dsp deleted file mode 100644 index c476629894a..00000000000 --- a/java/tests/Reactor/TimeValueTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TimeValueTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=TimeValueTest - Java Virtual Machine 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 "TimeValueTest.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 "TimeValueTest.mak"\ - CFG="TimeValueTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TimeValueTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "TimeValueTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "TimeValueTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "TimeValueTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "TimeValueTest - Java Virtual Machine Release" -# Name "TimeValueTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\TimeValueTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Reactor/TimeValueTest.java b/java/tests/Reactor/TimeValueTest.java deleted file mode 100644 index b4f3e420ae1..00000000000 --- a/java/tests/Reactor/TimeValueTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/************************************************* - * - * = PACKAGE - * ACE.Reactor - * - * = FILENAME - * TimeValueTest.java - * - *@author Prashant Jain - * - *************************************************/ -package tests.Reactor; - -import JACE.OS.*; -import JACE.ASX.*; - -public class TimeValueTest -{ - public void ASSERT (boolean expression, int i) - { - if (!expression) - ACE.DEBUG ("ASSERT failed for " + i); - } - - public void runTest () - { - TimeValue tv1 = new TimeValue (); - TimeValue tv2 = new TimeValue (2); - TimeValue tv3 = new TimeValue (100); - TimeValue tv4 = new TimeValue (1, 1000000000); - TimeValue tv5 = new TimeValue (2); - TimeValue tv6 = new TimeValue (1, -1000000000); - - this.ASSERT (tv1.equals (new TimeValue (0)), 1); - this.ASSERT (tv2.lessThan (tv3), 2); - this.ASSERT (tv2.lessThanEqual (tv2), 3); - this.ASSERT (tv2.greaterThanEqual (tv4), 4); - this.ASSERT (tv5.greaterThanEqual (tv6), 5); - this.ASSERT (tv2.equals (new TimeValue (1, 1000000000)), 6); - this.ASSERT (tv5.equals (tv4), 7); - this.ASSERT (tv2.equals (tv4), 8); - this.ASSERT (tv1.notEquals (tv2), 9); - this.ASSERT (tv6.equals (tv1), 10); - } - - public static void main (String [] args) - { - new TimeValueTest ().runTest (); - } -} diff --git a/java/tests/Reactor/TimerQueueTest.dsp b/java/tests/Reactor/TimerQueueTest.dsp deleted file mode 100644 index c6190ea3842..00000000000 --- a/java/tests/Reactor/TimerQueueTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="TimerQueueTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=TimerQueueTest - Java Virtual Machine 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 "TimerQueueTest.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 "TimerQueueTest.mak"\ - CFG="TimerQueueTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "TimerQueueTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "TimerQueueTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "TimerQueueTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "TimerQueueTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "TimerQueueTest - Java Virtual Machine Release" -# Name "TimerQueueTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\TimerQueueTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/Reactor/TimerQueueTest.java b/java/tests/Reactor/TimerQueueTest.java deleted file mode 100644 index d34439dcf9b..00000000000 --- a/java/tests/Reactor/TimerQueueTest.java +++ /dev/null @@ -1,80 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.Reactor -// -// = FILENAME -// TimerQueueTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.Reactor; - -import JACE.OS.*; -import JACE.ASX.*; -import JACE.Reactor.*; - -public class TimerQueueTest implements EventHandler -{ - public int handleTimeout (TimeValue tv, Object obj) - { - ACE.DEBUG ("handleTimeout: " + tv.toString () + " " + (String) obj); - return 0; - } - - public static void main (String args []) - { - TimerQueue tq = new TimerQueue (true); - TimerQueueTest th1 = new TimerQueueTest (); - int n = 5; - - try - { - if (args.length == 1) - { - n = Integer.parseInt (args[0]); - } - } - catch (NumberFormatException e) - { - ACE.ERROR ("Illegal argument."); - } - - // Set a periodic timer - int id= tq.scheduleTimer (th1, - "periodic", - new TimeValue (2), - new TimeValue (3)); - - int i; - // Set a bunch of single timers - for (i=1; i <= n; i++) - { - tq.scheduleTimer (th1, - "A-timer-" + new Integer (i), - new TimeValue (i*2)); - } - - TimerQueueTest th2 = new TimerQueueTest (); - for (i=1; i <= n; i++) - { - tq.scheduleTimer (th2, - "B-timer-" + new Integer (i), - new TimeValue (i*3)); - } - // Cancel all timers associated with this handler - tq.cancelTimer (th2); - - try - { - Thread.sleep (30000); - } - catch (InterruptedException e) - { - } - tq.cancelTimer (id); - System.exit (0); - } -} diff --git a/java/tests/SOCK_SAP/Makefile b/java/tests/SOCK_SAP/Makefile deleted file mode 100644 index 1481d8e566f..00000000000 --- a/java/tests/SOCK_SAP/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = SOCKConnectorTest.java \ - SOCKAcceptorTest.java - -packages = tests.SOCK_SAP - -realclean: - find ${JACE_WRAPPER}/classes/tests/SOCK_SAP -name '*.class' -print | xargs ${RM} diff --git a/java/tests/SOCK_SAP/SOCKAcceptorTest.dsp b/java/tests/SOCK_SAP/SOCKAcceptorTest.dsp deleted file mode 100644 index 6d980b75b9b..00000000000 --- a/java/tests/SOCK_SAP/SOCKAcceptorTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="SOCKAcceptorTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=SOCKAcceptorTest - Java Virtual Machine 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 "SOCKAcceptorTest.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 "SOCKAcceptorTest.mak"\ - CFG="SOCKAcceptorTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SOCKAcceptorTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "SOCKAcceptorTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "SOCKAcceptorTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "SOCKAcceptorTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "SOCKAcceptorTest - Java Virtual Machine Release" -# Name "SOCKAcceptorTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\SOCKAcceptorTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/SOCK_SAP/SOCKAcceptorTest.java b/java/tests/SOCK_SAP/SOCKAcceptorTest.java deleted file mode 100644 index 34ab8ecb6c9..00000000000 --- a/java/tests/SOCK_SAP/SOCKAcceptorTest.java +++ /dev/null @@ -1,108 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.SOCK_SAP -// -// = FILENAME -// SOCKAcceptorTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.SOCK_SAP; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.SOCK_SAP.*; - -class TestHandler extends Thread -{ - public TestHandler (SOCKStream stream) - { - this.stream_ = stream; - this.start (); - } - - public void run () - { - int msgLen; - System.out.println ("Waiting for messages..."); - try - { - while (true) - { - StringBuffer msg = new StringBuffer (); - msgLen = this.stream_.recv (msg); - if (msgLen == 0) - break; - ACE.DEBUG ("Received: " + msg); - this.stream_.send ("Got it!"); - } - } - catch (NullPointerException e) - { - ACE.ERROR ("connection reset by peer"); - } - catch (IOException e) - { - ACE.ERROR (e); - } - finally - { - try - { - this.stream_.close (); - } - catch (IOException e) - { - } - } - } - SOCKStream stream_; -} - -public class SOCKAcceptorTest -{ - void print_usage_and_die () - { - ACE.DEBUG ("Usage: SOCKAcceptorTest []"); - System.exit (0); - } - - public void init (int port) - { - try - { - SOCKAcceptor acceptor = new SOCKAcceptor (port); - while (true) - { - SOCKStream stream = new SOCKStream (); - acceptor.accept (stream); - TestHandler handler = new TestHandler (stream); - } - } - catch (IOException e) - { - } - } - - public static void main (String [] args) - { - int port = ACE.DEFAULT_SERVER_PORT; - SOCKAcceptorTest server = new SOCKAcceptorTest (); - if (args.length == 1) - { - try - { - port = Integer.parseInt (args[0]); - } - catch (NumberFormatException e) - { - server.print_usage_and_die (); - } - } - server.init (port); - } -} diff --git a/java/tests/SOCK_SAP/SOCKConnectorTest.dsp b/java/tests/SOCK_SAP/SOCKConnectorTest.dsp deleted file mode 100644 index 4f018c91580..00000000000 --- a/java/tests/SOCK_SAP/SOCKConnectorTest.dsp +++ /dev/null @@ -1,73 +0,0 @@ -# Microsoft Developer Studio Project File - Name="SOCKConnectorTest" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=SOCKConnectorTest - Java Virtual Machine 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 "SOCKConnectorTest.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 "SOCKConnectorTest.mak"\ - CFG="SOCKConnectorTest - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SOCKConnectorTest - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "SOCKConnectorTest - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "SOCKConnectorTest - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "SOCKConnectorTest - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "SOCKConnectorTest - Java Virtual Machine Release" -# Name "SOCKConnectorTest - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\SOCKConnectorTest.java -# End Source File -# End Target -# End Project diff --git a/java/tests/SOCK_SAP/SOCKConnectorTest.java b/java/tests/SOCK_SAP/SOCKConnectorTest.java deleted file mode 100644 index e0cf37091e6..00000000000 --- a/java/tests/SOCK_SAP/SOCKConnectorTest.java +++ /dev/null @@ -1,92 +0,0 @@ -// ============================================================================ -// -// = PACKAGE -// tests.SOCK_SAP -// -// = FILENAME -// SOCKConnectorTest.java -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ -package tests.SOCK_SAP; - -import java.io.*; -import java.net.*; -import JACE.OS.*; -import JACE.SOCK_SAP.*; - -public class SOCKConnectorTest -{ - static void print_usage_and_die () - { - System.out.println ("Usage: SOCKConnectorTest []"); - System.exit (0); - } - - void processRequests (SOCKStream stream) throws IOException - { - // 1.0 JDK DataInputStream in = new DataInputStream (System.in); - BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); - String msg; - int ack_len; - - while (true) - { - StringBuffer ack = new StringBuffer (); - ACE.DEBUG ("Enter input: "); - ACE.FLUSH (); - msg = in.readLine (); - if (msg == null) - break; - stream.send (msg); - ACE.DEBUG ("Waiting for ack..."); - ack_len = stream.recv (ack); - if (ack_len == 0) - break; - else - ACE.DEBUG (ack.toString ()); - } - } - - public void init (String host, int port) - { - SOCKStream stream = new SOCKStream (); - SOCKConnector connector = new SOCKConnector (); - try - { - connector.connect (stream, - host, - port); - processRequests (stream); - } - catch (IOException e) - { - ACE.ERROR (e); - } - } - - public static void main (String [] args) - { - int port = ACE.DEFAULT_SERVER_PORT; - SOCKConnectorTest client = new SOCKConnectorTest (); - - // check arg count - if (args.length < 2 || args.length > 2) - print_usage_and_die(); - - if (args.length == 2) - { - try - { - port = Integer.parseInt (args[1]); - } - catch (NumberFormatException e) - { - client.print_usage_and_die (); - } - client.init (args[0], port); - } - } -} diff --git a/java/tests/ServiceConfigurator/Makefile b/java/tests/ServiceConfigurator/Makefile deleted file mode 100644 index b4e62f70997..00000000000 --- a/java/tests/ServiceConfigurator/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = TestService.java \ - reloadTest.java \ - suspendTest.java - -packages = tests.Service_Configurator - -realclean: - find ${JACE_WRAPPER}/classes/tests/ServiceConfigurator -name '*.class' -print | xargs ${RM} - - diff --git a/java/tests/ServiceConfigurator/ServiceConfigurator.dsp b/java/tests/ServiceConfigurator/ServiceConfigurator.dsp deleted file mode 100644 index 02a511a336e..00000000000 --- a/java/tests/ServiceConfigurator/ServiceConfigurator.dsp +++ /dev/null @@ -1,81 +0,0 @@ -# Microsoft Developer Studio Project File - Name="ServiceConfigurator" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Java Virtual Machine Java Project" 0x0809 - -CFG=ServiceConfigurator - Java Virtual Machine 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 "ServiceConfigurator.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 "ServiceConfigurator.mak"\ - CFG="ServiceConfigurator - Java Virtual Machine Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ServiceConfigurator - Java Virtual Machine Release" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE "ServiceConfigurator - Java Virtual Machine Debug" (based on\ - "Java Virtual Machine Java Project") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -JAVA=jvc.exe - -!IF "$(CFG)" == "ServiceConfigurator - Java Virtual Machine Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\..\classes-r" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /O -# ADD JAVA /O - -!ELSEIF "$(CFG)" == "ServiceConfigurator - Java Virtual Machine Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "" -# PROP BASE Intermediate_Dir "" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\..\classes" -# PROP Intermediate_Dir "" -# PROP Target_Dir "" -# ADD BASE JAVA /g -# ADD JAVA /g - -!ENDIF - -# Begin Target - -# Name "ServiceConfigurator - Java Virtual Machine Release" -# Name "ServiceConfigurator - Java Virtual Machine Debug" -# Begin Source File - -SOURCE=.\reloadTest.java -# End Source File -# Begin Source File - -SOURCE=.\suspendTest.java -# End Source File -# Begin Source File - -SOURCE=.\TestService.java -# End Source File -# End Target -# End Project diff --git a/java/tests/ServiceConfigurator/TestService.java b/java/tests/ServiceConfigurator/TestService.java deleted file mode 100644 index 7b34c181c60..00000000000 --- a/java/tests/ServiceConfigurator/TestService.java +++ /dev/null @@ -1,52 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.ServiceConfigurator - * - * = FILENAME - * TestService.java - * - *@author Prashant Jain - * - *************************************************/ -package tests.ServiceConfigurator; - -import JACE.ServiceConfigurator.*; -import JACE.OS.*; - -public class TestService extends ServiceObject -{ - public int init (String [] args) - { - System.out.println("TestService init with arguments: "); - - if (args != null) - for (int i = 0; i < args.length; i++) - ACE.DEBUG (args[i]); - - return 0; - } - - public int suspend() - { - System.out.println("TestService suspend ----"); - - return 0; - } - - public int resume() - { - System.out.println("TestService resume ----"); - - return 0; - } - - public int fini() - { - System.out.println("TestService remove ----"); - - return 0; - } - -} - diff --git a/java/tests/ServiceConfigurator/reloadTest.java b/java/tests/ServiceConfigurator/reloadTest.java deleted file mode 100644 index 3e8ac599841..00000000000 --- a/java/tests/ServiceConfigurator/reloadTest.java +++ /dev/null @@ -1,64 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.ServiceConfigurator - * - * = FILENAME - * mainTest.java - * - *@author Prashant Jain, Everett Anderson - * - *************************************************/ -package tests.ServiceConfigurator; - -import JACE.ServiceConfigurator.*; -import JACE.OS.*; -import java.io.*; - -public class reloadTest -{ - - public static void main (String args []) - { - ServiceConfig daemon = new ServiceConfig (); - try - { - daemon.open (args); - Thread.sleep (10000); - - // ***** Note: reloading requires the user to remove the - // service and prepare for reload! - daemon.remove("TimeService"); - daemon.prepareForReload(); - - daemon.open (args); - } - catch (InterruptedException e) - { - ACE.ERROR (e); - } - catch (FileNotFoundException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - catch (ClassNotFoundException e) - { - ACE.ERROR (e + "foo"); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - - System.err.println("End of reloadTest"); - } - -} diff --git a/java/tests/ServiceConfigurator/suspendTest.java b/java/tests/ServiceConfigurator/suspendTest.java deleted file mode 100644 index ab12d06f2f5..00000000000 --- a/java/tests/ServiceConfigurator/suspendTest.java +++ /dev/null @@ -1,80 +0,0 @@ -/************************************************* - * - * = PACKAGE - * tests.ServiceConfigurator - * - * = FILENAME - * mainTest.java - * - *@author Prashant Jain, Everett Anderson - * - *************************************************/ -package tests.ServiceConfigurator; - -import JACE.ServiceConfigurator.*; -import JACE.OS.*; -import java.io.*; - -public class suspendTest -{ - - public static void main (String args []) - { - ServiceConfig daemon = new ServiceConfig (); - ACE.enableDebugging(); - - try - { - String args1 = "-f suspendTest1.conf"; - String[] argv1 = OS.createStringArray(args1, " "); - - daemon.open (argv1); - - Thread.sleep (10000); - - - System.err.println("Suspending"); - String args2 = "-f suspendTest2.conf"; - String[] argv2 = OS.createStringArray(args2, " "); - - daemon.open (argv2); - - Thread.sleep (10000); - - System.err.println("Resuming"); - String args3 = "-f suspendTest3.conf"; - String[] argv3 = OS.createStringArray(args3, " "); - - daemon.open (argv3); - - Thread.sleep(10000); - } - catch (InterruptedException e) - { - ACE.ERROR (e); - } - catch (FileNotFoundException e) - { - ACE.ERROR (e); - } - catch (IOException e) - { - ACE.ERROR (e); - } - catch (ClassNotFoundException e) - { - ACE.ERROR (e + "foo"); - } - catch (IllegalAccessException e) - { - ACE.ERROR (e); - } - catch (InstantiationException e) - { - ACE.ERROR (e); - } - - System.err.println("End of suspendTest"); - } - -} diff --git a/java/tests/ServiceConfigurator/suspendTest1.conf b/java/tests/ServiceConfigurator/suspendTest1.conf deleted file mode 100644 index 983af3234c1..00000000000 --- a/java/tests/ServiceConfigurator/suspendTest1.conf +++ /dev/null @@ -1 +0,0 @@ -load TestService tests.ServiceConfigurator.TestService ServiceObject "-p 10002" diff --git a/java/tests/ServiceConfigurator/suspendTest2.conf b/java/tests/ServiceConfigurator/suspendTest2.conf deleted file mode 100644 index 5cd6cd0fc77..00000000000 --- a/java/tests/ServiceConfigurator/suspendTest2.conf +++ /dev/null @@ -1 +0,0 @@ -suspend TestService diff --git a/java/tests/ServiceConfigurator/suspendTest3.conf b/java/tests/ServiceConfigurator/suspendTest3.conf deleted file mode 100644 index 71250c3acd7..00000000000 --- a/java/tests/ServiceConfigurator/suspendTest3.conf +++ /dev/null @@ -1 +0,0 @@ -resume TestService diff --git a/java/tests/ServiceConfigurator/svc.conf b/java/tests/ServiceConfigurator/svc.conf deleted file mode 100644 index 983af3234c1..00000000000 --- a/java/tests/ServiceConfigurator/svc.conf +++ /dev/null @@ -1 +0,0 @@ -load TestService tests.ServiceConfigurator.TestService ServiceObject "-p 10002" diff --git a/java/tests/Tests.dsw b/java/tests/Tests.dsw deleted file mode 100644 index b7c2cb45af5..00000000000 --- a/java/tests/Tests.dsw +++ /dev/null @@ -1,257 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "AcceptorTest"=.\Connection\AcceptorTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "BufferStreamTest"=.\ASX\BufferStreamTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ClientHandler"=.\Connection\ClientHandler.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "Condition"=.\Concurrency\Condition\Condition.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ConnectorTest"=.\Connection\ConnectorTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MessageQueueTest"=.\ASX\MessageQueueTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "MutexTest"=.\Concurrency\MutexTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ParseArgsTest"=.\Misc\ParseArgsTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "PriorityBufferTest"=.\ASX\PriorityBufferTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "RWMutexTest"=.\Concurrency\RWMutexTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SOCKAcceptorTest"=.\SOCK_SAP\SOCKAcceptorTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SOCKConnectorTest"=.\SOCK_SAP\SOCKConnectorTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SemaphoreTest"=.\Concurrency\SemaphoreTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ServerHandler"=.\Connection\ServerHandler.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ServiceConfigurator"=.\ServiceConfigurator\ServiceConfigurator.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TaskTest"=.\ASX\TaskTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ThreadPoolTest"=.\ASX\ThreadPoolTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TimeValueTest"=.\Reactor\TimeValueTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TimerQueueTest"=.\Reactor\TimerQueueTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "TokenTest"=.\Concurrency\TokenTest.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/java/tests/netsvcs/Logger/LoggerTest.java b/java/tests/netsvcs/Logger/LoggerTest.java deleted file mode 100644 index 40ac903a1d3..00000000000 --- a/java/tests/netsvcs/Logger/LoggerTest.java +++ /dev/null @@ -1,122 +0,0 @@ -/************************************************* - * - * = FILENAME - * LoggerTest.java - * - *@author Everett Anderson - * - *************************************************/ -package tests.netsvcs.Logger; - -import JACE.SOCK_SAP.*; -import java.io.*; -import java.net.*; -import JACE.OS.*; -import netsvcs.Logger.LogRecord; - -/** - * - *

    DESCRIPTION

    - * - *
    - * This is a simple test log client very similar to the direct_logging client of - * C++ ACE. The logging service should correctly receive messages from both - * the C++ and Java version. - *
    - * - * @see netsvcs.Logger.ServerLoggingAcceptor, netsvcs.Logger.LogRecord - */ -public class LoggerTest { - - /** Command line: [] - * - * Creates a "hello world" log message and sends it to the server logging service. - * If no command line arguments are given, it uses ACE.DEFAULT_SERVER_PORT, and the - * current machine for the service location. - * - */ - public static void main(String args[]) - { - if (args.length < 1) { - System.err.println("Use: LoggerTest []"); - System.exit(0); - } - - // Set the port - int port = args.length > 1 ? (new Integer(args[1])).intValue() : ACE.DEFAULT_SERVER_PORT; - - SOCKStream cli_stream = new SOCKStream(); - INETAddr remote_addr; - String host; - - // Try to find the host - try { - - host = args[0]; - - remote_addr = new INETAddr(port, host); - - } catch (UnknownHostException uhe) { - ACE.ERROR("UnknownHostException " + uhe); - return; - } - - System.out.println("Connecting to " + host + " on port " + port); - - SOCKConnector con = new SOCKConnector(); - - try { - - // Connect to the service - con.connect(cli_stream, remote_addr); - - } catch (SocketException se) { - - ACE.ERROR("Socket Exception " + se); - return; - - } catch (IOException ie) { - - ACE.ERROR("IOException " + ie); - return; - } - - - // Send a message with priority 4, the current time, - // and 0 for the process ID. - LogRecord record = new LogRecord(4, - System.currentTimeMillis(), - 0); - - // Set the text of the message - record.msgData("hello world"); - - try { - - // Get a transmission system from the socket - OutputStream os = cli_stream.socket().getOutputStream(); - DataOutputStream dos = new DataOutputStream(os); - - // Send it - record.streamOutTo(dos); - - // Close the socket - cli_stream.close(); - - } catch (IOException ie) { - - ACE.ERROR("IOException, loop: " + ie); - return; - } - } -}; - - - - - - - - - - diff --git a/java/tests/netsvcs/Logger/Makefile b/java/tests/netsvcs/Logger/Makefile deleted file mode 100644 index 56388abc47f..00000000000 --- a/java/tests/netsvcs/Logger/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = $(WRAPPER_ROOT)/java - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - -files = LoggerTest.java - -packages = netsvcs \ - netsvcs.Logger - -realclean: - /bin/rm -rf ${JACE_WRAPPER}/classes/tests/netsvcs/Logger - diff --git a/java/tests/netsvcs/Naming/ClientTest.java b/java/tests/netsvcs/Naming/ClientTest.java deleted file mode 100644 index 64a87a2fe66..00000000000 --- a/java/tests/netsvcs/Naming/ClientTest.java +++ /dev/null @@ -1,115 +0,0 @@ -package tests.netsvcs.Naming; - -import java.io.*; -import java.net.*; -import java.util.*; -import JACE.OS.*; -import JACE.Connection.*; -import JACE.SOCK_SAP.*; -import netsvcs.Naming.*; - -public class ClientTest -{ - void print_usage_and_die () - { - System.out.println ("Usage: ClientTest []"); - System.exit (0); - } - - public SOCKStream init (SOCKStream socket, String hostname, int port) - { - try - { - SOCKConnector sc = new SOCKConnector(socket, hostname, port); - } - catch (UnknownHostException e) - { - ACE.ERROR (e); - System.exit(0); - } - catch (SocketException e) - { - ACE.ERROR ("Connection refused"); - System.exit(0); - } - catch (IOException e) - { - ACE.ERROR (e); - System.exit(0); - } - - return socket; - } - - public static void main (String [] args) - { - SOCKStream socket; - int port = ACE.DEFAULT_SERVER_PORT; - ClientTest clientTest = new ClientTest (); - - if (args.length == 2) - { - try - { - port = Integer.parseInt (args[1]); - } - catch (NumberFormatException e) - { - clientTest.print_usage_and_die (); - } - } - System.out.println("Trying to open port " + port + " on " + args[0]); - - socket = clientTest.init (new SOCKStream(), args[0], port); - - NameProxy proxy = new NameProxy(socket); - - System.out.println("---- Beginning tests ----"); - - try { - - System.out.println("Binding (five, six, seven): " + proxy.bind("five", "six", "seven")); - System.out.println("Binding (filth, rat, eats): " + proxy.bind("filth", "rat", "eats")); - - Vector res = proxy.resolve("five"); - - System.out.println("Resolve (five) : " + (String)res.elementAt(1) + " " - + (String)res.elementAt(2)); - - System.out.println("Binding (fish, words, him): " + proxy.bind("fish", "words", "him")); - - System.out.println("Unbind (five, six, seven): " + proxy.unbind("five")); - - System.out.println("Resolve (five) : " + (String)res.elementAt(1) + " " - + (String)res.elementAt(2)); - System.out.println("Binding (fiction, us, you): " + proxy.bind("fiction", "us", "you")); - - System.out.println("\nGetting all records whose names begin with fi:\n"); - Vector res2 = proxy.listNameEntries("fi"); - - Enumeration iter = res2.elements(); - - while (iter.hasMoreElements()) { - Vector res3 = (Vector)(iter.nextElement()); - - System.out.println((String)res3.elementAt(0) + "\t" + (String)res3.elementAt(1) - + "\t" + (String)res3.elementAt(2)); - } - - } catch (IOException e) - { - ACE.ERROR("" + e); - } - finally - { - try { - socket.close(); - } catch (IOException e) { - ACE.ERROR("" + e); - } - } - - } - -}; - diff --git a/java/tests/netsvcs/Naming/Makefile b/java/tests/netsvcs/Naming/Makefile deleted file mode 100644 index be6e9c45848..00000000000 --- a/java/tests/netsvcs/Naming/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile - -.SUFFIXES: .java .class - -JACE_WRAPPER = ../../.. -CLASSDIR = $(JACE_WRAPPER)/classes - -CLASSPATH := $(CLASSDIR):$(CLASSPATH) - -all: - javac -d ${JACE_WRAPPER}/classes $(files) -doc: - javadoc -d ${JACE_WRAPPER}/doc $(files) $(packages) - - -files = ClientTest.java - -packages = tests.netsvcs.Naming - -realclean: - find ${JACE_WRAPPER}/classes/tests/netsvcs/Naming -name '*.class' -print | xargs ${RM} diff --git a/netsvcs/clients/Naming/Dump_Restore/nametest.cpp b/netsvcs/clients/Naming/Dump_Restore/nametest.cpp deleted file mode 100644 index fb9c71a5014..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/nametest.cpp +++ /dev/null @@ -1,112 +0,0 @@ -#include "ace/Naming_Context.h" -// $Id$ - -#include "ace/Name_Options.h" -#include "nametest.h" - -void -Nametest::listopt (void) -{ - cout << "serverport is " - << ACE_Name_Options::instance ()->nameserver_port() - << endl; - cout << "serverhost is " - << ACE_Name_Options::instance ()->nameserver_host() - << endl; - cout << "process_name is " - << ACE_Name_Options::instance ()->process_name() - << endl; - cout << "namespace_dir is " - << ACE_Name_Options::instance ()->namespace_dir() - << endl; -} - -int -Nametest::init (int argc, char *argv[]) -{ - ACE_Server_Record *sr; - ACE_Service_Config::svc_rep ()->find ("Name_Server_Proxy", &sr); - ACE_Service_Type *st = sr->type (); - ACE_Server_Object *so = st->object (); -dynamic_cast (so); - - ACE_Name_Server_Proxy *ns_proxy = ACE_Service_Config::name_server_proxy (); - - ns_proxy->bind (...); - - this->listopt (); - - ACE_Naming_Context ns_context; - - if (ns_context.open (ACE_Naming_Context::NET_LOCAL) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ns_context.open"), -1); - - const char *mykey = argv[0]; - char *myvalue = argv[1]; - char *ns_value = 0; - char *ns_type = 0; - - if (ns_context.bind (mykey, myvalue, "ottotype") == -1) - cout << "bind failed" << endl; - else - cout << "bind succeeded" << endl; - - - if (ns_context.resolve (mykey, ns_value, ns_type) == -1) - cout << "resolve of " << mykey << " failed" << endl; - else - cout << "resolve of " << mykey << " succeeded, value = " - << ns_value << ", type = " << ns_type << endl; - - delete [] ns_value; - delete [] ns_type; - ns_value = 0; - ns_type = 0; - - if (ns_context.rebind (mykey, myvalue, "newottotype") == -1) - cout << "rebind failed" << endl; - else - cout << "rebind succeeded" << endl; - - if (ns_context.resolve (mykey, ns_value, ns_type) == -1) - cout << "resolve of " << mykey << " failed" << endl; - else - cout << "resolve of " << mykey << " succeeded, value = " - << ns_value << ", type = " << ns_type << endl; - - delete [] ns_value; - delete [] ns_type; - ns_value = 0; - ns_type = 0; - - if (ns_context.unbind (mykey) == -1) - cout << "unbind failed" << endl; - else - cout << "unbind succeeded" << endl; - - return 0; -} - -int -Nametest::fini (void) -{ - cout << "Nametest::fini called" << endl; - return 0; -} - -int -Nametest::info (char **, unsigned) const -{ - cout << "Nametest::info called" << endl; - return 0; -} - -extern "C" ACE_Service_Object *_alloc(void); - -// Factory function that is called automatically when the ACE -// framework dynamically links this shared object file. - -ACE_Service_Object *_alloc (void) -{ - return new Nametest; -} diff --git a/netsvcs/clients/Naming/Dump_Restore/nametest.h b/netsvcs/clients/Naming/Dump_Restore/nametest.h deleted file mode 100644 index fa0cc5dc05c..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/nametest.h +++ /dev/null @@ -1,15 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ace/Service_Object.h" - -class Nametest : public ACE_Service_Object -{ -public: - virtual int init (int argc, char *argv[]); - virtual int fini (void); - virtual int info (char **, size_t) const; - - void listopt (void); -}; - diff --git a/netsvcs/lib/Client_Logging_Handler.i b/netsvcs/lib/Client_Logging_Handler.i deleted file mode 100644 index 57c6d26e751..00000000000 --- a/netsvcs/lib/Client_Logging_Handler.i +++ /dev/null @@ -1,4 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - diff --git a/netsvcs/lib/Server_Logging_Handler.i b/netsvcs/lib/Server_Logging_Handler.i deleted file mode 100644 index 57c6d26e751..00000000000 --- a/netsvcs/lib/Server_Logging_Handler.i +++ /dev/null @@ -1,4 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - diff --git a/netsvcs/servers/cli.conf b/netsvcs/servers/cli.conf deleted file mode 100644 index b2d8fbc8194..00000000000 --- a/netsvcs/servers/cli.conf +++ /dev/null @@ -1,11 +0,0 @@ -# UNIX version -# -# These are the services that can be linked into ACE. -# Note that you can replace the hardcoded "../lib/libnet_svcs" with -# a relative path if you set your LD search path correctly -- ACE will -# locate this for you automatically by reading your LD search path! -# In addition, you can replace the hardcoded "-p 20xxx" with "-p -# $PORTxxx" if you set your environment variables correctly. - -# Activate the Client Logging Daemon. -dynamic Client_Logging_Service Service_Object * ../lib/libnet_svcs:_make_ACE_Client_Logging_Connector() active "-p 20009 -h merengue" diff --git a/netsvcs/servers/ntsvc.conf b/netsvcs/servers/ntsvc.conf deleted file mode 100644 index 94ed5d78c2a..00000000000 --- a/netsvcs/servers/ntsvc.conf +++ /dev/null @@ -1,12 +0,0 @@ -# Windows NT version. -# -# These are the services that can be linked into ACE. -# Note that your path needs to include the path for netsvcs.dll -# In addition, you can replace the hardcoded "-p 20xxx" with "-p -# $PORTxxx" if you set your environment variables correctly. - -dynamic Token_Service Service_Object * netsvcs.dll:_make_ACE_Token_Acceptor() "-p 20202" -dynamic Name_Server Service_Object * netsvcs.dll:_make_ACE_Name_Acceptor() "-p 20012" -#dynamic Client_Logging_Service Service_Object * netsvcs.dll:_make_ACE_Client_Logging_Connector() active "-p 20008" -#dynamic Server_Logging_Service Service_Object * netsvcs.dll:_make_ACE_Server_Logging_Acceptor() active "-p 20009" -#dynamic Thr_Server_Logging_Service Service_Object * netsvcs.dll:_make_ACE_Thr_Server_Logging_Acceptor() active "-p 20020" diff --git a/os-patches/linux-patches.html b/os-patches/linux-patches.html deleted file mode 100644 index e5f07f598df..00000000000 --- a/os-patches/linux-patches.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -With RedHat 5.0 distributions of Linux, it's best to upgrade the -distribution with these: -
      -
    • egcs 1.0.1 -
    • glibc-2.0.6 (from ftp://sunsite.unc.edu/pub/gnu plus Torbjörn's patch) -
    • linuxthreads 0.7? for the glibc-2.0.6 above -
    - -In addition, you'll need to apply Torbjörn Lindgren's -<tl@funcom.com> patch to glibc-2.0.6's LinuxThread:

    - -

    ---- signals.c.old	Wed Jan 14 01:09:02 1998
    -+++ signals.c	Wed Jan 14 01:11:37 1998
    -@@ -82,7 +82,7 @@
    -   pthread_mutex_lock(&sigwaited_mut);
    -   /* Make sure no other thread is waiting on our signals */
    - test_again:
    --  for (s = 0; s < NSIG; s++) {
    -+  for (s = 1; s < NSIG; s++) {
    -     if (sigismember(set, s) && sigismember(&sigwaited, s)) {
    -       pthread_cond_wait(&sigwaited_changed, &sigwaited_mut);
    -       goto test_again;
    -@@ -96,7 +96,7 @@
    -   /* Install our signal handler on all signals in set,
    -      and unblock them in mask.
    -      Also mark those signals as being sigwaited on */
    --  for (s = 1; s <= NSIG; s++) {
    -+  for (s = 1; s < NSIG; s++) {
    -     if (sigismember(set, s) && s != PTHREAD_SIG_CANCEL) {
    -       sigdelset(&mask, s);
    -       action.sa_handler = __pthread_sighandler;
    -@@ -121,7 +121,7 @@
    -   self->p_cancel_jmp = NULL;
    -   /* The signals are now reblocked. Restore the sighandlers. */
    -   pthread_mutex_lock(&sigwaited_mut);
    --  for (s = 1; s <= NSIG; s++) {
    -+  for (s = 1; s < NSIG; s++) {
    -     if (sigismember(set, s) && s != PTHREAD_SIG_CANCEL) {
    -       sigaction(s, &(saved_signals[s]), NULL);
    -       sigdelset(&sigwaited, s);
    -
    - -Thanks to James CE Johnson <jjohnson@lads.com>, Torbjörn -Lindgren <tl@funcom.com>, and Oleg Krivosheev -<kriol@fnal.gov> for this information; Torbjörn supplied the -above patch. With the above configuration, Jame and Torbjörn report -that only ACE Thread_Manager_Test seg faults on Intel platforms! - -Without the following patch from Scott Snyder <sss@d0linux01.fnal.gov>, -egcs 1.0.1 on Linux won't be able to compile -netsvcs/lib/Server_Logging_Handler.cpp: - -
    -1997-12-10  scott snyder  <sss@d0linux01.fnal.gov>
    -
    -	* method.c (make_thunk): Avoid name buffer overflow.
    -
    -
    -Index: gcc/cp/method.c
    -===================================================================
    -RCS file: /d0sgi0/usr0/snyder/CVSROOT/egcs/gcc/cp/method.c,v
    -retrieving revision 1.1.1.5
    -diff -c -r1.1.1.5 method.c
    -*** method.c    1997/12/08 21:06:03     1.1.1.5
    ---- method.c    1997/12/11 05:40:37
    -***************
    -*** 1811,1817 ****
    -       tree function;
    -       int delta;
    -  {
    -!   char buffer[250];
    -    tree thunk_id;
    -    tree thunk;
    -    char *func_name;
    ---- 1811,1817 ----
    -       tree function;
    -       int delta;
    -  {
    -!   char *buffer;
    -    tree thunk_id;
    -    tree thunk;
    -    char *func_name;
    -***************
    -*** 1822,1827 ****
    ---- 1822,1828 ----
    -    if (TREE_CODE (func_decl) != FUNCTION_DECL)
    -      abort ();
    -    func_name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (func_decl));
    -+   buffer = (char *)alloca (strlen (func_name) + 32);
    -    if (delta<=0)
    -      sprintf (buffer, "__thunk_%d_%s", -delta, func_name);
    -    else
    -
    - -With RedHat 5.0 on Alpha CPUs, two system patches and one -glibc-2.0.6/linuxthreads patch are necessary in addition to the above. -The first patch is for the GNU assembler, gas. It is only necessary -on Alphas, and only when -g is used. If you don't want -to patch the assembler, you can enable the SUPPRESS_DASH_G option in -the platform_linux.GNu. Otherwise, this patch can be -applied to the binutils gas source. Then, rebuild and install as. -The file to be patched is binutils-2.8.1/gas/config/tc-alpha.h:

    - -

    ---- tc-alpha.h.orig	Mon May 26 12:32:38 1997
    -+++ tc-alpha.h	Sat Feb 28 06:45:41 1998
    -@@ -25,6 +25,8 @@
    -
    - #define TARGET_ARCH			bfd_arch_alpha
    -
    -+#define PAGE_SIZE 8192
    -+
    - #define TARGET_FORMAT (OUTPUT_FLAVOR == bfd_target_ecoff_flavour	\
    - 		       ? "ecoff-littlealpha"				\
    - 		       : OUTPUT_FLAVOR == bfd_target_elf_flavour	\
    -

    - -In addition, you'll need to patch -/usr/src/linux/include/linux/posix_types.h as follows -to avoid compilation errors:

    - -

    ---- posix_types.h.ORIGINAL	Wed Nov 12 12:01:56 1997
    -+++ posix_types.h	Fri Feb 27 14:13:16 1998
    -@@ -41,9 +41,14 @@
    - #undef __FDMASK
    - #define	__FDMASK(d)	(1UL << ((d) % __NFDBITS))
    -
    -+#if defined (__KERNEL__)
    - typedef struct fd_set {
    - 	unsigned long fds_bits [__FDSET_LONGS];
    - } __kernel_fd_set;
    -+#else  /* ! __KERNEL__ */
    -+#include <gnu/types.h>
    -+typedef __fd_set __kernel_fd_set;
    -+#endif /* ! __KERNEL__ */
    -
    - /* Type of a signal handler.  */
    - typedef void (*__kernel_sighandler_t)(int);
    -

    - -Finally, on Alpha only, I removed wrapsyscall from the LinuxThreads -library by patching linuxthreads/Makefile: - -

    -36c36
    -<                      semaphore wrapsyscall
    ----
    ->                      semaphore # wrapsyscall
    -
    - -With that and the above configuration/pathes, all ACE tests run -perfectly cleanly on Alpha!

    - -WARNING: -There is a bug in getsockname () on versions of Linux -through 2.0.30, at least. getsockname () returns an -Internet host address of 127.0.0.1 (localhost) instead of 0.0.0.0 for -sockets that aren't connected. This bug prevents TAO servers from -working correctly. To fix it, comment out these two lines in function -inet_getname () in -/usr/src/linux/net/ipv4/af_inet.c: - -

    -	} else {
    -		__u32 addr = sk->rcv_saddr;
    -		if (!addr) {
    -			addr = sk->saddr;
    -/* comment out this line:  if (!addr) */
    -/* comment out this line:  	addr = ip_my_addr(); */
    -		}
    -		sin->sin_port = sk->dummy_th.source;
    -		sin->sin_addr.s_addr = addr;
    -	}
    -
    - -and rebuild your kernel. This fix has been implemented in 2.1.x -versions of the kernel.

    - - diff --git a/os-patches/lynxos-patches.html b/os-patches/lynxos-patches.html deleted file mode 100644 index 04275561610..00000000000 --- a/os-patches/lynxos-patches.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - With LynxOS 2.5.0-FCS version: 012797-G, you'll need to apply this - patch:

    -

    ftp://ftp.lynx.com/pub/patches/v2.5-patches/v2.5-on-x86/000134-00.tar.Z
    -     

    - - And, you'll need to apply the following four patches: -

      -
    1. Patch /usr/include/netinet/in.h:

      -

      ---- in.h.ORIGINAL	Sat Feb  8 09:58:28 1997
      -+++ in.h	Wed Nov 26 15:41:04 1997
      -@@ -278,8 +278,7 @@
      - 	compiler, the macros are not defined:  Functions must be used.
      - */
      - static __inline__ unsigned short
      --htons(arg)
      --unsigned short arg;
      -+htons(unsigned short arg)
      - {
      - 	unsigned short retval;
      -
      -@@ -292,8 +291,7 @@
      - }
      -
      - static __inline__ unsigned long
      --htonl(arg)
      --unsigned long arg;
      -+htonl(unsigned long arg)
      - {
      -	unsigned long retval;
      -

      - -

    2. Patch /usr/include/name.h:

      -

      ---- name.h.ORIGINAL	Sat Feb  8 11:57:36 1997
      -+++ name.h	Wed Dec 24 11:00:57 1997
      -@@ -112,7 +112,11 @@
      - static __inline__ int _name_fchmod(int nsid, mode_t mode)
      - { return _name_server(_NS_FCHMOD, nsid, mode); }
      -
      -+#if defined __cplusplus
      -+static __inline__ int _name_fchown(int /* nsid */, uid_t owner, gid_t group)
      -+#else
      - static __inline__ int _name_fchown(int nsid, uid_t owner, gid_t group)
      -+#endif /* __cplusplus */
      - { return _name_server(_NS_FCHOWN, owner, group); }
      -
      - static __inline__ int _name_close(int nsid)
      -
      - -
    3. Patch /usr/include/scsi.h:

      -

      ---- scsi.h.ORIGINAL	Sat Feb  8 09:57:43 1997
      -+++ scsi.h	Mon Dec  1 09:13:13 1997
      -@@ -166,7 +166,7 @@
      - ------------------------------------------------------------------------------
      - */
      - #define GET_DATA_BUFFER_STATUS          0x34	/* O     14.2.1 */
      --#define GET WINDOW                      0x25	/* O     14.2.2 */
      -+#define GET_WINDOW                      0x25	/* O     14.2.2 */
      - #define OBJECT_POSITION                 0x31	/* O     14.2.3 */
      - #define SCAN                            0x1B	/* O     14.2.5 */
      - #define SET_WINDOW                      0x24	/* M     14.2.6 */
      -
      - -
    4. Patch /usr/include/netdb.h:

      -

      ---- netdb.h.ORIGINAL	Sat Feb  8 09:57:36 1997
      -+++ netdb.h	Mon Dec  1 10:57:15 1997
      -@@ -95,6 +95,8 @@
      - extern struct protoent	*getprotobyname	_AP((char *));
      - extern struct protoent  *getprotobynumber _AP((int));
      - extern struct protoent  *getprotoent	_AP((void));
      -+int sethostent _AP((int));
      -+int endhostent _AP((void));
      -
      - /*
      -  * Error return codes from gethostbyname() and gethostbyaddr()
      -
      -
    - - diff --git a/psosim/Makefile b/psosim/Makefile deleted file mode 100644 index 0902651a0da..00000000000 --- a/psosim/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -# Makefile for the pSOSim system object files -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -CPU_FAMILY = psosim -CPU = psosim -CPU_TOOLS = psosim -BOARD = psosim - -PSS_CFG_DIR = $(ACE_ROOT)/psosim - -PSS_CFG_OBJS = $(PSS_CFG_DIR)/drv_conf.o $(PSS_CFG_DIR)/prepccfg.o $(PSS_CFG_DIR)/psoscfg.o $(PSS_CFG_DIR)/sysinit.o - -PSS_CONFIG = $(PSS_ROOT)/configs/std -PSS_SYS_DIR = $(PSS_ROOT)/sys/os -PSS_SYS_LIBS = $(PSS_SYS_DIR)/prepc.a $(PSS_SYS_DIR)/psos.a $(PSS_SYS_DIR)/pna.a -PSS_BSP = $(PSS_ROOT)/bsps/psosim -PSS_BSP_LIB = $(PSS_BSP)/bsp.a - -#---------------------------------------------------------------------------- -# 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 -#---------------------------------------------------------------------------- - -all : $(PSS_CFG_DIR)/acepsos.a - -$(PSS_CFG_DIR)/acepsos.a : $(PSS_CFG_OBJS) - $(AR) $(ARFLAGS) $@ $? - -$(PSS_CFG_DIR)/sysinit.o : $(PSS_CONFIG)/sysinit.c $(ACE_ROOT)/ace/sys_conf.h $(PSS_BSP)/bsp.h \ - $(PSS_ROOT)/include/bspfuncs.h $(PSS_ROOT)/include/configs.h - $(COMPILE.c) -o $@ $(PSS_CONFIG)/sysinit.c - -$(PSS_CFG_DIR)/prepccfg.o : $(PSS_CONFIG)/prepccfg.c $(ACE_ROOT)/ace/sys_conf.h $(PSS_BSP)/bsp.h \ - $(PSS_ROOT)/include/bspfuncs.h $(PSS_ROOT)/include/configs.h - $(COMPILE.c) -o $@ $(PSS_CONFIG)/prepccfg.c - -$(PSS_CFG_DIR)/psoscfg.o : $(PSS_CONFIG)/psoscfg.c $(ACE_ROOT)/ace/sys_conf.h $(PSS_BSP)/bsp.h \ - $(PSS_ROOT)/include/bspfuncs.h $(PSS_ROOT)/include/configs.h - $(COMPILE.c) -o $@ $(PSS_CONFIG)/psoscfg.c - -$(PSS_CFG_DIR)/drv_conf.o : $(PSS_CFG_DIR)/drv_conf.c $(ACE_ROOT)/ace/sys_conf.h $(PSS_BSP)/bsp.h \ - $(PSS_ROOT)/include/bspfuncs.h $(PSS_ROOT)/include/configs.h - $(COMPILE.c) -o $@ $(PSS_CFG_DIR)/drv_conf.c - -#---------------------------------------------------------------------------- -# 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/psosim/drv_conf.c b/psosim/drv_conf.c deleted file mode 100644 index 3228920df6a..00000000000 --- a/psosim/drv_conf.c +++ /dev/null @@ -1,79 +0,0 @@ -/***********************************************************************/ -/* */ -/* MODULE: drv_conf.c */ -/* DATE: 94/01/06 */ -/* PURPOSE: pSOSystem driver configuration and initialization */ -/* */ -/* There is one function in this file: */ -/* */ -/* SetUpDrivers to setup drivers except for Network drivers */ -/* */ -/* */ -/*---------------------------------------------------------------------*/ -/* */ -/* Copyright 1991 - 1993, Integrated Systems, Inc. */ -/* ALL RIGHTS RESERVED */ -/* */ -/* Permission is hereby granted to licensees of Integrated Systems, */ -/* Inc. products to use or abstract this computer program for the */ -/* sole purpose of implementing a product based on Integrated */ -/* Systems, Inc. products. No other rights to reproduce, use, */ -/* or disseminate this computer program, whether in part or in */ -/* whole, are granted. */ -/* */ -/* Integrated Systems, Inc. makes no representation or warranties */ -/* with respect to the performance of this computer program, and */ -/* specifically disclaims any responsibility for any damages, */ -/* special or consequential, connected with the use of this program. */ -/* */ -/***********************************************************************/ -#include "sys_conf.h" -#include "bsp.h" -#include -#include - -struct ioparms; -#define NULLF ((void (*)(struct ioparms *)) 0) -UCHAR *SetUpDrivers(UCHAR *FreeMemPtr) -{ - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem serial device driver */ -/*---------------------------------------------------------------------*/ -#if (SC_DEV_SERIAL && BSP_SERIAL) - InstallDriver(SC_DEV_SERIAL, CnslInit, NULLF, NULLF,CnslRead, - CnslWrite, CnslCntrl, 0, 0); - FreeMemPtr = CnslSetup(FreeMemPtr, SD_DEF_BAUD, SC_APP_CONSOLE); -#endif - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem tick timer */ -/*---------------------------------------------------------------------*/ -#if SC_DEV_TIMER - InstallDriver(SC_DEV_TIMER, RtcInit, NULLF, NULLF, NULLF, NULLF, - NULLF, 0, 0); -#endif - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem ramdisk driver */ -/*---------------------------------------------------------------------*/ -#if SC_DEV_RAMDISK - InstallDriver(SC_DEV_RAMDISK, RdskInit, NULLF, NULLF, RdskRead, - RdskWrite, NULLF, 0, 0); -#endif - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem TFTP driver */ -/*---------------------------------------------------------------------*/ -#if (SC_DEV_TFTP) - InstallDriver(SC_DEV_TFTP, TftpInit, TftpOpen, TftpClose, TftpRead, - NULLF, TftpCntl, 0, 0); -#endif - -/*---------------------------------------------------------------------*/ -/* Add additional drivers to install here. */ -/*---------------------------------------------------------------------*/ - -return(FreeMemPtr); -} - diff --git a/rpc++/.dependencies b/rpc++/.dependencies deleted file mode 100644 index 9afb79a0c0b..00000000000 --- a/rpc++/.dependencies +++ /dev/null @@ -1,131 +0,0 @@ -xdr++.o: xdr++.cc rpc++/xdr++.h /usr/include/rpc/rpc.h \ - /usr/include/rpc/types.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/types.h \ - /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h \ - /usr/include/sys/select.h /usr/include/sys/time.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/time.h \ - /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \ - /usr/include/tiuser.h /usr/include/sys/tiuser.h /usr/include/fcntl.h \ - /usr/include/sys/fcntl.h /usr/include/memory.h /usr/include/rpc/xdr.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/byteorder.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/stdio.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/rpc/auth.h \ - /usr/include/sys/cred.h /usr/include/sys/t_lock.h \ - /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h \ - /usr/include/sys/dl.h /usr/include/sys/sleepq.h \ - /usr/include/sys/turnstile.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/param.h \ - /usr/include/sys/unistd.h /usr/include/sys/pirec.h \ - /usr/include/sys/mutex.h /usr/include/rpc/clnt.h \ - /usr/include/rpc/rpc_com.h /usr/include/sys/netconfig.h \ - /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_sys.h \ - /usr/include/rpc/auth_des.h /usr/include/rpc/auth_kerb.h \ - /usr/include/kerberos/krb.h /usr/include/kerberos/mit-copyright.h \ - /usr/include/kerberos/des.h /usr/include/sys/socket.h \ - /usr/include/netinet/in.h /usr/include/sys/stream.h \ - /usr/include/sys/vnode.h /usr/include/sys/uio.h /usr/include/vm/seg_enum.h \ - /usr/include/sys/poll.h /usr/include/sys/strmdep.h /usr/include/rpc/svc.h \ - /usr/include/rpc/svc_auth.h /usr/include/rpc/rpcb_clnt.h \ - /usr/include/rpc/rpcb_prot.h -service.o: service.cc /pkg/gnu/sparc-sun-solaris2.3/include/assert.h \ - /pkg/gnu/lib/g++-include/stream.h /pkg/gnu/lib/g++-include/iostream.h \ - /pkg/gnu/lib/g++-include/streambuf.h /pkg/gnu/lib/g++-include/libio.h \ - /pkg/gnu/lib/g++-include/_G_config.h /usr/include/memory.h \ - /usr/include/errno.h /usr/include/sys/errno.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/stdlib.h \ - /usr/include/sys/feature_tests.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/types.h \ - /usr/include/sys/machtypes.h /usr/include/sys/select.h \ - /usr/include/sys/time.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/time.h \ - /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \ - /usr/include/sys/socket.h /usr/include/sys/netconfig.h \ - /usr/include/netdb.h /usr/include/rpc/rpc.h /usr/include/rpc/types.h \ - /usr/include/tiuser.h /usr/include/sys/tiuser.h /usr/include/fcntl.h \ - /usr/include/sys/fcntl.h /usr/include/rpc/xdr.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/byteorder.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/stdio.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/rpc/auth.h \ - /usr/include/sys/cred.h /usr/include/sys/t_lock.h \ - /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h \ - /usr/include/sys/dl.h /usr/include/sys/sleepq.h \ - /usr/include/sys/turnstile.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/param.h \ - /usr/include/sys/unistd.h /usr/include/sys/pirec.h \ - /usr/include/sys/mutex.h /usr/include/rpc/clnt.h \ - /usr/include/rpc/rpc_com.h /usr/include/rpc/rpc_msg.h \ - /usr/include/rpc/auth_sys.h /usr/include/rpc/auth_des.h \ - /usr/include/rpc/auth_kerb.h /usr/include/kerberos/krb.h \ - /usr/include/kerberos/mit-copyright.h /usr/include/kerberos/des.h \ - /usr/include/netinet/in.h /usr/include/sys/stream.h \ - /usr/include/sys/vnode.h /usr/include/sys/uio.h /usr/include/vm/seg_enum.h \ - /usr/include/sys/poll.h /usr/include/sys/strmdep.h /usr/include/rpc/svc.h \ - /usr/include/rpc/svc_auth.h /usr/include/rpc/rpcb_clnt.h \ - /usr/include/rpc/rpcb_prot.h rpc++/service.h \ - /pkg/gnu/lib/g++-include/bool.h rpc++/request.h rpc++/xdr++.h \ - rpc++/callback.h -stub.o: stub.cc /pkg/gnu/lib/g++-include/stream.h \ - /pkg/gnu/lib/g++-include/iostream.h /pkg/gnu/lib/g++-include/streambuf.h \ - /pkg/gnu/lib/g++-include/libio.h /pkg/gnu/lib/g++-include/_G_config.h \ - /usr/include/memory.h /pkg/gnu/sparc-sun-solaris2.3/include/assert.h \ - rpc++/stub.h /pkg/gnu/lib/g++-include/bool.h \ - /pkg/gnu/lib/g++-include/String.h /pkg/gnu/lib/g++-include/Regex.h \ - /usr/include/sys/time.h /usr/include/sys/feature_tests.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/types.h \ - /usr/include/sys/machtypes.h /usr/include/sys/select.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/time.h \ - /usr/include/sys/siginfo.h /usr/include/sys/machsig.h rpc++/request.h \ - rpc++/xdr++.h /usr/include/rpc/rpc.h /usr/include/rpc/types.h \ - /usr/include/tiuser.h /usr/include/sys/tiuser.h /usr/include/fcntl.h \ - /usr/include/sys/fcntl.h /usr/include/rpc/xdr.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/byteorder.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/stdio.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/rpc/auth.h \ - /usr/include/sys/cred.h /usr/include/sys/t_lock.h \ - /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h \ - /usr/include/sys/dl.h /usr/include/sys/sleepq.h \ - /usr/include/sys/turnstile.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/param.h \ - /usr/include/sys/unistd.h /usr/include/sys/pirec.h \ - /usr/include/sys/mutex.h /usr/include/rpc/clnt.h \ - /usr/include/rpc/rpc_com.h /usr/include/sys/netconfig.h \ - /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_sys.h \ - /usr/include/rpc/auth_des.h /usr/include/rpc/auth_kerb.h \ - /usr/include/kerberos/krb.h /usr/include/kerberos/mit-copyright.h \ - /usr/include/kerberos/des.h /usr/include/sys/socket.h \ - /usr/include/netinet/in.h /usr/include/sys/stream.h \ - /usr/include/sys/vnode.h /usr/include/sys/uio.h /usr/include/vm/seg_enum.h \ - /usr/include/sys/poll.h /usr/include/sys/strmdep.h /usr/include/rpc/svc.h \ - /usr/include/rpc/svc_auth.h /usr/include/rpc/rpcb_clnt.h \ - /usr/include/rpc/rpcb_prot.h -request.o: request.cc rpc++/request.h rpc++/xdr++.h /usr/include/rpc/rpc.h \ - /usr/include/rpc/types.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/types.h \ - /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h \ - /usr/include/sys/select.h /usr/include/sys/time.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/time.h \ - /usr/include/sys/siginfo.h /usr/include/sys/machsig.h \ - /usr/include/tiuser.h /usr/include/sys/tiuser.h /usr/include/fcntl.h \ - /usr/include/sys/fcntl.h /usr/include/memory.h /usr/include/rpc/xdr.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/byteorder.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/stdio.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/rpc/auth.h \ - /usr/include/sys/cred.h /usr/include/sys/t_lock.h \ - /usr/include/sys/machlock.h /usr/include/sys/dki_lkinfo.h \ - /usr/include/sys/dl.h /usr/include/sys/sleepq.h \ - /usr/include/sys/turnstile.h \ - /pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/sys/param.h \ - /usr/include/sys/unistd.h /usr/include/sys/pirec.h \ - /usr/include/sys/mutex.h /usr/include/rpc/clnt.h \ - /usr/include/rpc/rpc_com.h /usr/include/sys/netconfig.h \ - /usr/include/rpc/rpc_msg.h /usr/include/rpc/auth_sys.h \ - /usr/include/rpc/auth_des.h /usr/include/rpc/auth_kerb.h \ - /usr/include/kerberos/krb.h /usr/include/kerberos/mit-copyright.h \ - /usr/include/kerberos/des.h /usr/include/sys/socket.h \ - /usr/include/netinet/in.h /usr/include/sys/stream.h \ - /usr/include/sys/vnode.h /usr/include/sys/uio.h /usr/include/vm/seg_enum.h \ - /usr/include/sys/poll.h /usr/include/sys/strmdep.h /usr/include/rpc/svc.h \ - /usr/include/rpc/svc_auth.h /usr/include/rpc/rpcb_clnt.h \ - /usr/include/rpc/rpcb_prot.h \ - /pkg/gnu/sparc-sun-solaris2.3/include/assert.h -callback.o: callback.cc rpc++/callback.h diff --git a/rpc++/COPYING b/rpc++/COPYING deleted file mode 100644 index eb685a5ec98..00000000000 --- a/rpc++/COPYING +++ /dev/null @@ -1,481 +0,0 @@ - GNU LIBRARY GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the library GPL. It is - numbered 2 because it goes with version 2 of the ordinary GPL.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - - GNU LIBRARY GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called "this License"). Each licensee is -addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also compile or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - c) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - d) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free - Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/rpc++/Makefile b/rpc++/Makefile deleted file mode 100644 index 6b4819d2b7a..00000000000 --- a/rpc++/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -TOP = . -SUBDIRS = StdHdrs example - -INSTROOT = ../.. - -CC = gcc -CFLAGS = -ggdb -C++FLAGS = $(CFLAGS) - -LIBHDRS = rpc++/xdr++.h rpc++/request.h rpc++/service.h rpc++/stub.h \ - rpc++/callback.h version.h -LIBSRCS = xdr++.cc service.cc stub.cc request.cc callback.cc - -LIBOBJS = $(LIBSRCS:%.cc=%.o) $(GENSRCS:%.cc=%.o) - -all:: librpc++.a - -subdirs.all:: librpc++.a - -librpc++.a: $(LIBOBJS) - rm -f $@ - ar cq $@ $(LIBOBJS) - if [ -x /bin/ranlib -o -x /usr/bin/ranlib ]; then ranlib $@; fi - -install:: librpc++.a - install -d $(INSTROOT)/lib - if cmp -s librpc++.a $(INSTROOT)/lib/librpc++.a; then : ; \ - else rm -f $(INSTROOT)/lib/librpc++.a; \ - cp -p librpc++.a $(INSTROOT)/lib; \ - chmod 444 $(INSTROOT)/lib/librpc++.a; \ - for f in rpc++/*.h; do \ - rm -f $(INSTROOT)/include/$$f; done; fi - install -d $(INSTROOT)/include/rpc++ - for f in rpc++/*.h; do \ - cmp -s $$f $(INSTROOT)/include/$$f \ - || install -c -m 444 $$f $(INSTROOT)/include/rpc++; done - -DISTLIST = Makefile README.ORIG README COPYING Proj.make rpc++.texi \ - gcc-2.2.2.fix $(LIBHDRS) $(LIBSRCS) - -clean:: - rm -f $(CLEANWILDCARDS) librpc++.a - -include .dependencies - -.dependencies: $(LIBHDRS) $(LIBSRCS) - gcc -M $(CPPFLAGS) $(LIBSRCS) > .dependencies - -distlist:: - @for f in *.[ch] *.cc; do \ - if expr " $(DISTLIST) " : ".* $$f " >/dev/null; then : ; \ - else echo 1>&2 "Warning: c- or h-file \"$$f\" not in DISTLIST"; fi; \ - done - -include $(TOP)/Proj.make diff --git a/rpc++/Proj.make b/rpc++/Proj.make deleted file mode 100644 index af50f2f11bf..00000000000 --- a/rpc++/Proj.make +++ /dev/null @@ -1,68 +0,0 @@ -# These are included in every Makefile in the project - -CWDPATH = . -CLEANWILDCARDS = core *~ *.o -VERYCLEANWILDCARDS = core *~ *.o -TEXCLEANWILDCARD = *~ *.aux *.log *.bbl *.blg *.toc *.idx *.ind -TEXVERYCLEANWILDCARD = $(TEXCLEANWILDCARD) *.dvi -ifndef SUBDIRS -SUBDIRS = -endif - -# Doing all always means doing the subdirs. -# Make subdirs.all a target to allow forced processing -ifneq ("$(SUBDIRS)", "") -ifneq ("$(SUBDIRSALL)", "NO") -all:: subdirs.all -endif - -subdirs.all:: - @for d in $(SUBDIRS); do \ - (cd $$d; \ - smflags=$(SUBMFLAGS); \ - echo "Making all in $$d with flags: $$smflags ..." ; \ - echo "cd `pwd`"; \ - $(MAKE) $$smflags all); done; \ - echo "cd `pwd`" -else -all::; -endif - -ifneq ("$(SUBDIRS)", "") -clean:: subdirs.clean - -subdirs.clean:: - @for d in $(SUBDIRS); do \ - echo "Cleaning all in $$d..." ; \ - (cd $$d; $(MAKE) clean); done -else -clean::; -endif - -ifneq ("$(SUBDIRS)", "") -veryclean:: subdirs.veryclean - -subdirs.veryclean:: - @for d in $(SUBDIRS); do \ - echo "Verycleaning all in $$d..." ; \ - (cd $$d; $(MAKE) veryclean); done -else -veryclean::; -endif - -# dist.list prints a list of files to be included in the distribution -distlist:: -ifneq ("$(DISTLIST)", "") - @for f in $(DISTLIST); do \ - echo $(CWDPATH)/$$f; done -endif -ifneq ("$(SUBDIRS)", "") -ifneq ("$(SUBDIRSDIST)", "NO") - @for d in $(SUBDIRS); do \ - (cd $$d; $(MAKE) distlist CWDPATH=$(CWDPATH)/$$d); done -endif -endif -ifeq ("$(DISTLIST)$(SUBDIRS)","") - -endif - diff --git a/rpc++/README b/rpc++/README deleted file mode 100644 index bede31dd376..00000000000 --- a/rpc++/README +++ /dev/null @@ -1,18 +0,0 @@ -This directory contains the sources for a C++ interface to Sun RPCs. - -As far as I remember, I got the original sources of the rpc++-library -from some newsgroup, though I don't remember which one. I liked the -basic idea but disliked several aspects of the interface details. So I -adapted it to my likes. I intended some minor changes but soon found -myself renaming classes, changing method parameters, introducing new -classes, etc. The result is by no way compatible with the original -version. It is, I hope, nevertheless useful. - -The current version 2.2 of the rpc++ library updates the version 2.1 -posted in March 1991. It is the reaction to gcc-2.2 that finally -allows a sufficiently reliable use of templates (almost, see -Installation in rpc++.texi) - -Michael Lipp - - diff --git a/rpc++/README.ORIG b/rpc++/README.ORIG deleted file mode 100644 index 60aa3f121e1..00000000000 --- a/rpc++/README.ORIG +++ /dev/null @@ -1,9 +0,0 @@ -This directory contains a collection of classes that provide an -interface to SUN's RPCs. I dubbed the collection the rpc++-library. It -has been tested with gcc-1.40 on a SparcStation running SunOS 4.0. - -There is no documentation. Look at the example in ./example. - -Peter Berens - - diff --git a/rpc++/StdHdrs/Makefile b/rpc++/StdHdrs/Makefile deleted file mode 100644 index 404499ce0cc..00000000000 --- a/rpc++/StdHdrs/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -TOP = .. -SUBDIRS = rpc -SUBDIRSALL = NO -SUBDIRSDIST = NO - -all:: - -clean:: - rm -f $(CLEANWILDCARDS) - -DISTLIST = Makefile README $(wildcard rpc/*.h) - -include $(TOP)/Proj.make diff --git a/rpc++/StdHdrs/README b/rpc++/StdHdrs/README deleted file mode 100644 index c9f9f5e20e5..00000000000 --- a/rpc++/StdHdrs/README +++ /dev/null @@ -1,3 +0,0 @@ -This directory contains some of Sun's rpc headers that have been fixed -(though not thoroughly) to work with ANSI C and C++. I have installed -them in my standard C include path. diff --git a/rpc++/StdHdrs/rpc/auth.h b/rpc++/StdHdrs/rpc/auth.h deleted file mode 100644 index 82b22c76b29..00000000000 --- a/rpc++/StdHdrs/rpc/auth.h +++ /dev/null @@ -1,171 +0,0 @@ -/* @(#)auth.h 2.3 88/08/07 4.0 RPCSRC; from 1.17 88/02/08 SMI */ -/* - * Sun RPC is a product of Sun Microsystems, Inc. and is provided for - * unrestricted use provided that this legend is included on all tape - * media and as a part of the software program in whole or part. Users - * may copy or modify Sun RPC 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. - * - * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE - * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun RPC is provided with no support and without any obligation on the - * part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. 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. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - */ - -/* - * auth.h, Authentication interface. - * - * Copyright (C) 1984, Sun Microsystems, Inc. - * - * The data structures are completely opaque to the client. The client - * is required to pass a AUTH * to routines that create rpc - * "sessions". - */ - - -#ifndef _rpc_auth_h -#define _rpc_auth_h - -#define MAX_AUTH_BYTES 400 -#define MAXNETNAMELEN 255 /* maximum length of network user's name */ - -/* - * Status returned from authentication check - */ -enum auth_stat { - AUTH_OK=0, - /* - * failed at remote end - */ - AUTH_BADCRED=1, /* bogus credentials (seal broken) */ - AUTH_REJECTEDCRED=2, /* client should begin new session */ - AUTH_BADVERF=3, /* bogus verifier (seal broken) */ - AUTH_REJECTEDVERF=4, /* verifier expired or was replayed */ - AUTH_TOOWEAK=5, /* rejected due to security reasons */ - /* - * failed locally - */ - AUTH_INVALIDRESP=6, /* bogus response verifier */ - AUTH_FAILED=7 /* some unknown reason */ -}; - -#if (__mc68000__ || __sparc__ || __vax__ || __i386__) -typedef u_long u_int32; /* 32-bit unsigned integers */ -#endif - -union des_block { - struct { - u_int32 high; - u_int32 low; - } key; - char c[8]; -}; -typedef union des_block des_block; -extern bool_t xdr_des_block(); - -/* - * Authentication info. Opaque to client. - */ -struct opaque_auth { - enum_t oa_flavor; /* flavor of auth */ - caddr_t oa_base; /* address of more auth stuff */ - u_int oa_length; /* not to exceed MAX_AUTH_BYTES */ -}; - - -/* - * Auth handle, interface to client side authenticators. - */ -typedef struct { - struct opaque_auth ah_cred; - struct opaque_auth ah_verf; - union des_block ah_key; - struct auth_ops { - void (*ah_nextverf)(); - int (*ah_marshal)(); /* nextverf & serialize */ - int (*ah_validate)(); /* validate varifier */ - int (*ah_refresh)(); /* refresh credentials */ - void (*ah_destroy)(); /* destroy this structure */ - } *ah_ops; - caddr_t ah_private; -} AUTH; - - -/* - * Authentication ops. - * The ops and the auth handle provide the interface to the authenticators. - * - * AUTH *auth; - * XDR *xdrs; - * struct opaque_auth verf; - */ -#define AUTH_NEXTVERF(auth) \ - ((*((auth)->ah_ops->ah_nextverf))(auth)) -#define auth_nextverf(auth) \ - ((*((auth)->ah_ops->ah_nextverf))(auth)) - -#define AUTH_MARSHALL(auth, xdrs) \ - ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) -#define auth_marshall(auth, xdrs) \ - ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) - -#define AUTH_VALIDATE(auth, verfp) \ - ((*((auth)->ah_ops->ah_validate))((auth), verfp)) -#define auth_validate(auth, verfp) \ - ((*((auth)->ah_ops->ah_validate))((auth), verfp)) - -#define AUTH_REFRESH(auth) \ - ((*((auth)->ah_ops->ah_refresh))(auth)) -#define auth_refresh(auth) \ - ((*((auth)->ah_ops->ah_refresh))(auth)) - -#define AUTH_DESTROY(auth) \ - ((*((auth)->ah_ops->ah_destroy))(auth)) -#define auth_destroy(auth) \ - ((*((auth)->ah_ops->ah_destroy))(auth)) - - -extern struct opaque_auth _null_auth; - - -/* - * These are the various implementations of client side authenticators. - */ - -/* - * Unix style authentication - * AUTH *authunix_create(machname, uid, gid, len, aup_gids) - * char *machname; - * int uid; - * int gid; - * int len; - * int *aup_gids; - */ -extern AUTH *authunix_create(); -extern AUTH *authunix_create_default(); /* takes no parameters */ -extern AUTH *authnone_create(); /* takes no parameters */ -extern AUTH *authdes_create(); - -#define AUTH_NONE 0 /* no authentication */ -#define AUTH_NULL 0 /* backward compatibility */ -#define AUTH_UNIX 1 /* unix style (uid, gids) */ -#define AUTH_SHORT 2 /* short hand unix style */ -#define AUTH_DES 3 /* des style (encrypted timestamps) */ - -#endif /*!_rpc_auth_h*/ diff --git a/rpc++/StdHdrs/rpc/c_types.h b/rpc++/StdHdrs/rpc/c_types.h deleted file mode 100644 index eac882f1082..00000000000 --- a/rpc++/StdHdrs/rpc/c_types.h +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef _rpc_c_types_h_ -#define _rpc_c_types_h_ - -#if defined(__cplusplus) - /* - * Definitions for C++ 2.0 and later require extern "C" { decl; } - */ -# define EXTERN_FUNCTION( rtn, args ) extern "C" { rtn args; } -# define FUN_ARGS( args ) args -# define STRUCT_TAG( tag_name ) /* the tag disappears */ -# define ENUM_BITFIELD( enum_type ) unsigned -# define ENUM_TYPE( enum_sp, enum_ty ) enum_ty - -#if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) -# define NAME_CONFLICT( name ) _##name -#else -# define NAME_CONFLICT( name ) _/**/name -#endif - -# define DOTDOTDOT ... -# define _VOID_ /* anachronism */ -# define CONST const - -/* - * This is not necessary for 2.0 since 2.0 has corrected the void (*) () problem - */ -typedef void (*_PFV_)(); -typedef int (*_PFI_)(); - -#elif defined(c_plusplus) - /* - * Definitions for C++ 1.2 - */ -# define EXTERN_FUNCTION( rtn, args ) rtn args -# define FUN_ARGS( args ) args -# define STRUCT_TAG( tag_name ) /* the tag disappears */ -# define ENUM_BITFIELD( enum_type ) unsigned -# define ENUM_TYPE( enum_sp, enum_ty ) enum_ty -# define NAME_CONFLICT( name ) _/**/name -# define DOTDOTDOT ... -# define _VOID_ /* anachronism */ -# define CONST const - -typedef void (*_PFV_)(); -typedef int (*_PFI_)(); - -#elif defined(__STDC__) - /* - * Definitions for ANSI C - */ -# define EXTERN_FUNCTION( rtn, args ) rtn args -# define FUN_ARGS( args ) args -# define STRUCT_TAG( tag_name ) tag_name -# define ENUM_BITFIELD( enum_type ) unsigned -# define ENUM_TYPE( enum_sp, enum_ty ) enum_sp enum_ty -# define NAME_CONFLICT( name ) name -# define DOTDOTDOT ... -# define _VOID_ void -# define CONST - -#else - /* - * Definitions for Sun/K&R C -- ignore function prototypes, - * but preserve tag names and enum bitfield declarations. - */ -# define EXTERN_FUNCTION( rtn, args ) rtn() -# define FUN_ARGS( args ) () -# define STRUCT_TAG( tag_name ) tag_name -# define ENUM_BITFIELD( enum_type ) enum_type -# define ENUM_TYPE( enum_sp, enum_ty ) enum_sp enum_ty -# define NAME_CONFLICT( name ) name -# define DOTDOTDOT -# define _VOID_ - /* VOID is only used where it disappears anyway */ -# define CONST - -#endif /* Which type of C/C++ compiler are we using? */ - -#endif diff --git a/rpc++/StdHdrs/rpc/clnt.h b/rpc++/StdHdrs/rpc/clnt.h deleted file mode 100644 index 4cb303bc1eb..00000000000 --- a/rpc++/StdHdrs/rpc/clnt.h +++ /dev/null @@ -1,347 +0,0 @@ -/* @(#)clnt.h 2.1 88/07/29 4.0 RPCSRC; from 1.31 88/02/08 SMI*/ -/* - * Sun RPC is a product of Sun Microsystems, Inc. and is provided for - * unrestricted use provided that this legend is included on all tape - * media and as a part of the software program in whole or part. Users - * may copy or modify Sun RPC 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. - * - * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE - * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun RPC is provided with no support and without any obligation on the - * part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. 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. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - */ - -/* - * clnt.h - Client side remote procedure call interface. - * - * Copyright (C) 1984, Sun Microsystems, Inc. - */ - -#ifndef _rpc_clnt_h -#define _rpc_clnt_h - -/* - * Rpc calls return an enum clnt_stat. This should be looked at more, - * since each implementation is required to live with this (implementation - * independent) list of errors. - */ -enum clnt_stat { - RPC_SUCCESS=0, /* call succeeded */ - /* - * local errors - */ - RPC_CANTENCODEARGS=1, /* can't encode arguments */ - RPC_CANTDECODERES=2, /* can't decode results */ - RPC_CANTSEND=3, /* failure in sending call */ - RPC_CANTRECV=4, /* failure in receiving result */ - RPC_TIMEDOUT=5, /* call timed out */ - /* - * remote errors - */ - RPC_VERSMISMATCH=6, /* rpc versions not compatible */ - RPC_AUTHERROR=7, /* authentication error */ - RPC_PROGUNAVAIL=8, /* program not available */ - RPC_PROGVERSMISMATCH=9, /* program version mismatched */ - RPC_PROCUNAVAIL=10, /* procedure unavailable */ - RPC_CANTDECODEARGS=11, /* decode arguments error */ - RPC_SYSTEMERROR=12, /* generic "other problem" */ - - /* - * callrpc & clnt_create errors - */ - RPC_UNKNOWNHOST=13, /* unknown host name */ - RPC_UNKNOWNPROTO=17, /* unkown protocol */ - - /* - * _ create errors - */ - RPC_PMAPFAILURE=14, /* the pmapper failed in its call */ - RPC_PROGNOTREGISTERED=15, /* remote program is not registered */ - /* - * unspecified error - */ - RPC_FAILED=16 -}; - - -/* - * Error info. - */ -struct rpc_err { - enum clnt_stat re_status; - union { - int RE_errno; /* realated system error */ - enum auth_stat RE_why; /* why the auth error occurred */ - struct { - u_long low; /* lowest verion supported */ - u_long high; /* highest verion supported */ - } RE_vers; - struct { /* maybe meaningful if RPC_FAILED */ - long s1; - long s2; - } RE_lb; /* life boot & debugging only */ - } ru; -#define re_errno ru.RE_errno -#define re_why ru.RE_why -#define re_vers ru.RE_vers -#define re_lb ru.RE_lb -}; - - -/* - * Client rpc handle. - * Created by individual implementations, see e.g. rpc_udp.c. - * Client is responsible for initializing auth, see e.g. auth_none.c. - */ -typedef struct { - AUTH *cl_auth; /* authenticator */ - struct clnt_ops { - enum clnt_stat (*cl_call)(DOTDOTDOT); /* call remote procedure */ - void (*cl_abort)(DOTDOTDOT); /* abort a call */ - void (*cl_geterr)(DOTDOTDOT); /* get specific error code */ - bool_t (*cl_freeres)(DOTDOTDOT); /* frees results */ - void (*cl_destroy)(DOTDOTDOT);/* destroy this structure */ - bool_t (*cl_control)(DOTDOTDOT);/* the ioctl() of rpc */ - } *cl_ops; - caddr_t cl_private; /* private stuff */ -} CLIENT; - - -/* - * client side rpc interface ops - * - * Parameter types are: - * - */ - -/* - * enum clnt_stat - * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout) - * CLIENT *rh; - * u_long proc; - * xdrproc_t xargs; - * caddr_t argsp; - * xdrproc_t xres; - * caddr_t resp; - * struct timeval timeout; - */ -#define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ - ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) -#define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ - ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) - -/* - * void - * CLNT_ABORT(rh); - * CLIENT *rh; - */ -#define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh)) -#define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh)) - -/* - * struct rpc_err - * CLNT_GETERR(rh); - * CLIENT *rh; - */ -#define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) -#define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) - - -/* - * bool_t - * CLNT_FREERES(rh, xres, resp); - * CLIENT *rh; - * xdrproc_t xres; - * caddr_t resp; - */ -#define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) -#define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) - -/* - * bool_t - * CLNT_CONTROL(cl, request, info) - * CLIENT *cl; - * u_int request; - * char *info; - */ -#define CLNT_CONTROL(cl,rq,in) ((*(cl)->cl_ops->cl_control)(cl,rq,in)) -#define clnt_control(cl,rq,in) ((*(cl)->cl_ops->cl_control)(cl,rq,in)) - -/* - * control operations that apply to both udp and tcp transports - */ -#define CLSET_TIMEOUT 1 /* set timeout (timeval) */ -#define CLGET_TIMEOUT 2 /* get timeout (timeval) */ -#define CLGET_SERVER_ADDR 3 /* get server's address (sockaddr) */ -/* - * udp only control operations - */ -#define CLSET_RETRY_TIMEOUT 4 /* set retry timeout (timeval) */ -#define CLGET_RETRY_TIMEOUT 5 /* get retry timeout (timeval) */ - -/* - * void - * CLNT_DESTROY(rh); - * CLIENT *rh; - */ -#define CLNT_DESTROY(rh) ((*(rh)->cl_ops->cl_destroy)(rh)) -#define clnt_destroy(rh) ((*(rh)->cl_ops->cl_destroy)(rh)) - - -/* - * RPCTEST is a test program which is accessable on every rpc - * transport/port. It is used for testing, performance evaluation, - * and network administration. - */ - -#define RPCTEST_PROGRAM ((u_long)1) -#define RPCTEST_VERSION ((u_long)1) -#define RPCTEST_NULL_PROC ((u_long)2) -#define RPCTEST_NULL_BATCH_PROC ((u_long)3) - -/* - * By convention, procedure 0 takes null arguments and returns them - */ - -#define NULLPROC ((u_long)0) - -/* - * Below are the client handle creation routines for the various - * implementations of client side rpc. They can return NULL if a - * creation failure occurs. - */ - -/* - * Memory based rpc (for speed check and testing) - * CLIENT * - * clntraw_create(prog, vers) - * u_long prog; - * u_long vers; - */ -EXTERN_FUNCTION(CLIENT *clntraw_create, (u_long prog, u_long vers)); - - -/* - * Generic client creation routine. Supported protocols are "udp" and "tcp" - */ -EXTERN_FUNCTION(CLIENT * -clnt_create, (char* host, u_long prog, u_long vers, char* prot)); -/* - char *host; -- hostname - u_long prog; -- program number - u_long vers; -- version number - char *prot; -- protocol -*/ - - - - -/* - * TCP based rpc - * CLIENT * - * clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz) - * struct sockaddr_in *raddr; - * u_long prog; - * u_long version; - * register int *sockp; - * u_int sendsz; - * u_int recvsz; - */ -EXTERN_FUNCTION(CLIENT *clnttcp_create, (struct sockaddr_in *raddr, - u_long prog, - u_long version, - register int *sockp, - u_int sendsz, - u_int recvsz)); - -/* - * UDP based rpc. - * CLIENT * - * clntudp_create(raddr, program, version, wait, sockp) - * struct sockaddr_in *raddr; - * u_long program; - * u_long version; - * struct timeval wait; - * int *sockp; - * - * Same as above, but you specify max packet sizes. - * CLIENT * - * clntudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz) - * struct sockaddr_in *raddr; - * u_long program; - * u_long version; - * struct timeval wait; - * int *sockp; - * u_int sendsz; - * u_int recvsz; - */ -EXTERN_FUNCTION(CLIENT *clntudp_create, (struct sockaddr_in *raddr, - u_long program, - u_long version, - struct timeval wait, - int *sockp)); -EXTERN_FUNCTION(CLIENT *clntudp_bufcreate, (struct sockaddr_in *raddr, - u_long program, - u_long version, - struct timeval wait, - int *sockp, - u_int sendsz, - u_int recvsz)); - -/* - * Print why creation failed - */ -EXTERN_FUNCTION(void clnt_pcreateerror, (char *msg)); /* stderr */ -EXTERN_FUNCTION(char *clnt_spcreateerror, (char *msg)); /* string */ - -/* - * Like clnt_perror(), but is more verbose in its output - */ -EXTERN_FUNCTION(void clnt_perrno, (enum clnt_stat num)); /* stderr */ - -/* - * Print an English error message, given the client error code - */ -EXTERN_FUNCTION(void clnt_perror, (CLIENT *clnt, char *msg)); /* stderr */ -EXTERN_FUNCTION(char *clnt_sperror, (CLIENT *clnt, char *msg)); /* string */ - -/* - * If a creation fails, the following allows the user to figure out why. - */ -struct rpc_createerr { - enum clnt_stat cf_stat; - struct rpc_err cf_error; /* useful when cf_stat == RPC_PMAPFAILURE */ -}; - -extern struct rpc_createerr rpc_createerr; - - - -/* - * Copy error message to buffer. - */ -EXTERN_FUNCTION(char *clnt_sperrno, (enum clnt_stat num)); /* string */ - - - -#define UDPMSGSIZE 8800 /* rpc imposed limit on udp msg size */ -#define RPCSMALLMSGSIZE 400 /* a more reasonable packet size */ - -#endif /*!_rpc_clnt_h*/ diff --git a/rpc++/StdHdrs/rpc/pmap_clnt.h b/rpc++/StdHdrs/rpc/pmap_clnt.h deleted file mode 100644 index 0a209e4f00f..00000000000 --- a/rpc++/StdHdrs/rpc/pmap_clnt.h +++ /dev/null @@ -1,82 +0,0 @@ -/* @(#)pmap_clnt.h 2.1 88/07/29 4.0 RPCSRC; from 1.11 88/02/08 SMI */ -/* - * Sun RPC is a product of Sun Microsystems, Inc. and is provided for - * unrestricted use provided that this legend is included on all tape - * media and as a part of the software program in whole or part. Users - * may copy or modify Sun RPC 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. - * - * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE - * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun RPC is provided with no support and without any obligation on the - * part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. 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. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - */ - -/* - * pmap_clnt.h - * Supplies C routines to get to portmap services. - * - * Copyright (C) 1984, Sun Microsystems, Inc. - */ - -/* - * Usage: - * success = pmap_set(program, version, protocol, port); - * success = pmap_unset(program, version); - * port = pmap_getport(address, program, version, protocol); - * head = pmap_getmaps(address); - * clnt_stat = pmap_rmtcall(address, program, version, procedure, - * xdrargs, argsp, xdrres, resp, tout, port_ptr) - * (works for udp only.) - * clnt_stat = clnt_broadcast(program, version, procedure, - * xdrargs, argsp, xdrres, resp, eachresult) - * (like pmap_rmtcall, except the call is broadcasted to all - * locally connected nets. For each valid response received, - * the procedure eachresult is called. Its form is: - * done = eachresult(resp, raddr) - * bool_t done; - * caddr_t resp; - * struct sockaddr_in raddr; - * where resp points to the results of the call and raddr is the - * address if the responder to the broadcast. - */ - -#ifndef _rpc_pmap_clnt_h -#define _rpc_pmap_clnt_h - -#include - -EXTERN_FUNCTION(bool_t pmap_set, (u_long prognum, u_long versnum, - int protocol, u_short port)); -EXTERN_FUNCTION(bool_t pmap_unset, (u_long prognum, u_long versnum)); -EXTERN_FUNCTION(struct pmaplist *pmap_getmaps, (struct sockaddr_in *addr)); -EXTERN_FUNCTION(enum clnt_stat pmap_rmtcall, (struct sockaddr_in *addr, - u_long prognum, u_long versnum, - u_long procnum, - char *in, char *out, - xdrproc_t inproc, - xdrproc_t outproc, - struct timeval timeout, - u_long *portp)); -EXTERN_FUNCTION(enum clnt_stat clnt_broadcast, ()); -EXTERN_FUNCTION(u_short pmap_getport, (struct sockaddr_in *addr, - u_long prognum, u_long versnum, - u_long protocol)); - -#endif /*!_rpc_pmap_clnt_h*/ diff --git a/rpc++/StdHdrs/rpc/svc.h b/rpc++/StdHdrs/rpc/svc.h deleted file mode 100644 index 4e551e55fd5..00000000000 --- a/rpc++/StdHdrs/rpc/svc.h +++ /dev/null @@ -1,286 +0,0 @@ -/* @(#)svc.h 2.2 88/07/29 4.0 RPCSRC; from 1.20 88/02/08 SMI */ -/* - * Sun RPC is a product of Sun Microsystems, Inc. and is provided for - * unrestricted use provided that this legend is included on all tape - * media and as a part of the software program in whole or part. Users - * may copy or modify Sun RPC 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. - * - * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE - * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun RPC is provided with no support and without any obligation on the - * part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. 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. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - */ - -/* - * svc.h, Server-side remote procedure call interface. - * - * Copyright (C) 1984, Sun Microsystems, Inc. - */ - -#ifndef _rpc_svc_h -#define _rpc_svc_h - -#include - -/* - * This interface must manage two items concerning remote procedure calling: - * - * 1) An arbitrary number of transport connections upon which rpc requests - * are received. The two most notable transports are TCP and UDP; they are - * created and registered by routines in svc_tcp.c and svc_udp.c, respectively; - * they in turn call xprt_register and xprt_unregister. - * - * 2) An arbitrary number of locally registered services. Services are - * described by the following four data: program number, version number, - * "service dispatch" function, a transport handle, and a boolean that - * indicates whether or not the exported program should be registered with a - * local binder service; if true the program's number and version and the - * port number from the transport handle are registered with the binder. - * These data are registered with the rpc svc system via svc_register. - * - * A service's dispatch function is called whenever an rpc request comes in - * on a transport. The request's program and version numbers must match - * those of the registered service. The dispatch function is passed two - * parameters, struct svc_req * and SVCXPRT *, defined below. - */ - -enum xprt_stat { - XPRT_DIED, - XPRT_MOREREQS, - XPRT_IDLE -}; - -/* - * Server side transport handle - */ -typedef struct { - int xp_sock; - u_short xp_port; /* associated port number */ - struct xp_ops { - bool_t (*xp_recv)(DOTDOTDOT); /* receive incomming requests */ - enum xprt_stat (*xp_stat)(DOTDOTDOT); /* get transport status */ - bool_t (*xp_getargs)(DOTDOTDOT); /* get arguments */ - bool_t (*xp_reply)(DOTDOTDOT); /* send reply */ - bool_t (*xp_freeargs)(DOTDOTDOT);/* free mem allocated for args */ - void (*xp_destroy)(DOTDOTDOT); /* destroy this struct */ - } *xp_ops; - int xp_addrlen; /* length of remote address */ - struct sockaddr_in xp_raddr; /* remote address */ - struct opaque_auth xp_verf; /* raw response verifier */ - caddr_t xp_p1; /* private */ - caddr_t xp_p2; /* private */ -} SVCXPRT; - -/* - * Approved way of getting address of caller - */ -#define svc_getcaller(x) (&(x)->xp_raddr) - -/* - * Operations defined on an SVCXPRT handle - * - * SVCXPRT *xprt; - * struct rpc_msg *msg; - * xdrproc_t xargs; - * caddr_t argsp; - */ -#define SVC_RECV(xprt, msg) \ - (*(xprt)->xp_ops->xp_recv)((xprt), (msg)) -#define svc_recv(xprt, msg) \ - (*(xprt)->xp_ops->xp_recv)((xprt), (msg)) - -#define SVC_STAT(xprt) \ - (*(xprt)->xp_ops->xp_stat)(xprt) -#define svc_stat(xprt) \ - (*(xprt)->xp_ops->xp_stat)(xprt) - -#define SVC_GETARGS(xprt, xargs, argsp) \ - (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) -#define svc_getargs(xprt, xargs, argsp) \ - (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) - -#define SVC_REPLY(xprt, msg) \ - (*(xprt)->xp_ops->xp_reply) ((xprt), (msg)) -#define svc_reply(xprt, msg) \ - (*(xprt)->xp_ops->xp_reply) ((xprt), (msg)) - -#define SVC_FREEARGS(xprt, xargs, argsp) \ - (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp)) -#define svc_freeargs(xprt, xargs, argsp) \ - (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp)) - -#define SVC_DESTROY(xprt) \ - (*(xprt)->xp_ops->xp_destroy)(xprt) -#define svc_destroy(xprt) \ - (*(xprt)->xp_ops->xp_destroy)(xprt) - - -/* - * Service request - */ -struct svc_req { - u_long rq_prog; /* service program number */ - u_long rq_vers; /* service protocol version */ - u_long rq_proc; /* the desired procedure */ - struct opaque_auth rq_cred; /* raw creds from the wire */ - caddr_t rq_clntcred; /* read only cooked cred */ - SVCXPRT *rq_xprt; /* associated transport */ -}; - - -/* - * Service registration - * - * svc_register(xprt, prog, vers, dispatch, protocol) - * SVCXPRT *xprt; - * u_long prog; - * u_long vers; - * void (*dispatch)(); - * int protocol; like TCP or UDP, zero means do not register - */ -EXTERN_FUNCTION(bool_t svc_register, (SVCXPRT *xprt, u_long prog, u_long vers, - void (*dispatch)(struct svc_req *, - SVCXPRT*), - int protocol)); - -/* - * Service un-registration - * - * svc_unregister(prog, vers) - * u_long prog; - * u_long vers; - */ -EXTERN_FUNCTION(void* svc_unregister, (u_long prog, u_long vers)); - -/* - * Transport registration. - * - * xprt_register(xprt) - * SVCXPRT *xprt; - */ -EXTERN_FUNCTION(void xprt_register, (SVCXPRT* xprt)); - -/* - * Transport un-register - * - * xprt_unregister(xprt) - * SVCXPRT *xprt; - */ -EXTERN_FUNCTION(void xprt_unregister, (SVCXPRT* xprt)); - - - - -/* - * When the service routine is called, it must first check to see if it - * knows about the procedure; if not, it should call svcerr_noproc - * and return. If so, it should deserialize its arguments via - * SVC_GETARGS (defined above). If the deserialization does not work, - * svcerr_decode should be called followed by a return. Successful - * decoding of the arguments should be followed the execution of the - * procedure's code and a call to svc_sendreply. - * - * Also, if the service refuses to execute the procedure due to too- - * weak authentication parameters, svcerr_weakauth should be called. - * Note: do not confuse access-control failure with weak authentication! - * - * NB: In pure implementations of rpc, the caller always waits for a reply - * msg. This message is sent when svc_sendreply is called. - * Therefore pure service implementations should always call - * svc_sendreply even if the function logically returns void; use - * xdr.h - xdr_void for the xdr routine. HOWEVER, tcp based rpc allows - * for the abuse of pure rpc via batched calling or pipelining. In the - * case of a batched call, svc_sendreply should NOT be called since - * this would send a return message, which is what batching tries to avoid. - * It is the service/protocol writer's responsibility to know which calls are - * batched and which are not. Warning: responding to batch calls may - * deadlock the caller and server processes! - */ - -EXTERN_FUNCTION(bool_t svc_sendreply, (SVCXPRT *xprt,xdrproc_t outproc, - char *out)); -EXTERN_FUNCTION(void svcerr_decode, (SVCXPRT *xprt)); -EXTERN_FUNCTION(void svcerr_weakauth, (SVCXPRT *xprt)); -EXTERN_FUNCTION(void svcerr_noproc, (SVCXPRT *xprt)); -EXTERN_FUNCTION(void svcerr_progvers, (SVCXPRT *xprt)); -EXTERN_FUNCTION(void svcerr_auth, (SVCXPRT *xprt, enum auth_stat why)); -EXTERN_FUNCTION(void svcerr_noprog, (SVCXPRT *xprt)); -EXTERN_FUNCTION(void svcerr_systemerr, (SVCXPRT *xprt)); - -/* - * Lowest level dispatching -OR- who owns this process anyway. - * Somebody has to wait for incoming requests and then call the correct - * service routine. The routine svc_run does infinite waiting; i.e., - * svc_run never returns. - * Since another (co-existant) package may wish to selectively wait for - * incoming calls or other events outside of the rpc architecture, the - * routine svc_getreq is provided. It must be passed readfds, the - * "in-place" results of a select system call (see select, section 2). - */ - -/* - * Global keeper of rpc service descriptors in use - * dynamic; must be inspected before each call to select - */ -#ifdef FD_SETSIZE -extern fd_set svc_fdset; -#define svc_fds svc_fdset.fds_bits[0] /* compatibility */ -#else -extern int svc_fds; -#endif /* def FD_SETSIZE */ - -/* - * a small program implemented by the svc_rpc implementation itself; - * also see clnt.h for protocol numbers. - */ -EXTERN_FUNCTION(void rpctest_service, ()); -EXTERN_FUNCTION(void svc_getreq, (int rdfds)); -EXTERN_FUNCTION(void svc_getreqset, (fd_set *rdfdsp)); /* takes fdset instead of int */ -EXTERN_FUNCTION(void svc_run, ()); /* never returns */ - -/* - * Socket to use on svcxxx_create call to get default socket - */ -#define RPC_ANYSOCK -1 - -/* - * These are the existing service side transport implementations - */ - -/* - * Memory based rpc for testing and timing. - */ -EXTERN_FUNCTION(SVCXPRT *svcraw_create, ()); - -/* - * Udp based rpc. - */ -EXTERN_FUNCTION(SVCXPRT *svcudp_create, (int sock)); -EXTERN_FUNCTION(SVCXPRT *svcudp_bufcreate, (int sock, u_int sendsz, - u_int recvsz)); - -/* - * Tcp based rpc. - */ -EXTERN_FUNCTION(SVCXPRT *svctcp_create, (int fd, u_int sendsz, u_int recvsz)); - - - -#endif /*!_rpc_svc_h*/ diff --git a/rpc++/StdHdrs/rpc/xdr.h b/rpc++/StdHdrs/rpc/xdr.h deleted file mode 100644 index 25fb07fe68a..00000000000 --- a/rpc++/StdHdrs/rpc/xdr.h +++ /dev/null @@ -1,275 +0,0 @@ -/* @(#)xdr.h 2.2 88/07/29 4.0 RPCSRC */ -/* - * Sun RPC is a product of Sun Microsystems, Inc. and is provided for - * unrestricted use provided that this legend is included on all tape - * media and as a part of the software program in whole or part. Users - * may copy or modify Sun RPC 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. - * - * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE - * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun RPC is provided with no support and without any obligation on the - * part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. - * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC - * OR ANY PART THEREOF. - * - * In no event will Sun Microsystems, Inc. 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. - * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 - */ -/* @(#)xdr.h 1.19 87/04/22 SMI */ - -/* - * xdr.h, External Data Representation Serialization Routines. - * - * Copyright (C) 1984, Sun Microsystems, Inc. - */ - -#ifndef _rpc_xdr_h -#define _rpc_xdr_h - -#include - -#include -/* - * XDR provides a conventional way for converting between C data - * types and an external bit-string representation. Library supplied - * routines provide for the conversion on built-in C data types. These - * routines and utility routines defined here are used to help implement - * a type encode/decode routine for each user-defined type. - * - * Each data type provides a single procedure which takes two arguments: - * - * bool_t - * xdrproc(xdrs, argresp) - * XDR *xdrs; - * *argresp; - * - * xdrs is an instance of a XDR handle, to which or from which the data - * type is to be converted. argresp is a pointer to the structure to be - * converted. The XDR handle contains an operation field which indicates - * which of the operations (ENCODE, DECODE * or FREE) is to be performed. - * - * XDR_DECODE may allocate space if the pointer argresp is null. This - * data can be freed with the XDR_FREE operation. - * - * We write only one procedure per data type to make it easy - * to keep the encode and decode procedures for a data type consistent. - * In many cases the same code performs all operations on a user defined type, - * because all the hard work is done in the component type routines. - * decode as a series of calls on the nested data types. - */ - -/* - * Xdr operations. XDR_ENCODE causes the type to be encoded into the - * stream. XDR_DECODE causes the type to be extracted from the stream. - * XDR_FREE can be used to release the space allocated by an XDR_DECODE - * request. - */ -enum xdr_op { - XDR_ENCODE=0, - XDR_DECODE=1, - XDR_FREE=2 -}; - -/* - * This is the number of bytes per unit of external data. - */ -#define BYTES_PER_XDR_UNIT (4) -#define RNDUP(x) ((((x) + BYTES_PER_XDR_UNIT - 1) / BYTES_PER_XDR_UNIT) \ - * BYTES_PER_XDR_UNIT) - -/* - * The XDR handle. - * Contains operation which is being applied to the stream, - * an operations vector for the paticular implementation (e.g. see xdr_mem.c), - * and two private fields for the use of the particular impelementation. - */ -typedef struct { - enum xdr_op x_op; /* operation; fast additional param */ - struct xdr_ops { - bool_t (*x_getlong)(); /* get a long from underlying stream */ - bool_t (*x_putlong)(); /* put a long to " */ - bool_t (*x_getbytes)();/* get some bytes from " */ - bool_t (*x_putbytes)();/* put some bytes to " */ - u_int (*x_getpostn)();/* returns bytes off from beginning */ - bool_t (*x_setpostn)();/* lets you reposition the stream */ - long * (*x_inline)(); /* buf quick ptr to buffered data */ - void (*x_destroy)(); /* free privates of this xdr_stream */ - } *x_ops; - caddr_t x_public; /* users' data */ - caddr_t x_private; /* pointer to private data */ - caddr_t x_base; /* private used for position info */ - int x_handy; /* extra private word */ -} XDR; - -/* - * A xdrproc_t exists for each data type which is to be encoded or decoded. - * - * The second argument to the xdrproc_t is a pointer to an opaque pointer. - * The opaque pointer generally points to a structure of the data type - * to be decoded. If this pointer is 0, then the type routines should - * allocate dynamic storage of the appropriate size and return it. - * bool_t (*xdrproc_t)(XDR *, caddr_t *); - */ -typedef bool_t (*xdrproc_t) FUN_ARGS((XDR*, void*)); - -/* - * Operations defined on a XDR handle - * - * XDR *xdrs; - * long *longp; - * caddr_t addr; - * u_int len; - * u_int pos; - */ -#define XDR_GETLONG(xdrs, longp) \ - (*(xdrs)->x_ops->x_getlong)(xdrs, longp) -#define xdr_getlong(xdrs, longp) \ - (*(xdrs)->x_ops->x_getlong)(xdrs, longp) - -#define XDR_PUTLONG(xdrs, longp) \ - (*(xdrs)->x_ops->x_putlong)(xdrs, longp) -#define xdr_putlong(xdrs, longp) \ - (*(xdrs)->x_ops->x_putlong)(xdrs, longp) - -#define XDR_GETBYTES(xdrs, addr, len) \ - (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) -#define xdr_getbytes(xdrs, addr, len) \ - (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) - -#define XDR_PUTBYTES(xdrs, addr, len) \ - (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len) -#define xdr_putbytes(xdrs, addr, len) \ - (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len) - -#define XDR_GETPOS(xdrs) \ - (*(xdrs)->x_ops->x_getpostn)(xdrs) -#define xdr_getpos(xdrs) \ - (*(xdrs)->x_ops->x_getpostn)(xdrs) - -#define XDR_SETPOS(xdrs, pos) \ - (*(xdrs)->x_ops->x_setpostn)(xdrs, pos) -#define xdr_setpos(xdrs, pos) \ - (*(xdrs)->x_ops->x_setpostn)(xdrs, pos) - -#define XDR_INLINE(xdrs, len) \ - (*(xdrs)->x_ops->x_inline)(xdrs, len) -#define xdr_inline(xdrs, len) \ - (*(xdrs)->x_ops->x_inline)(xdrs, len) - -#define XDR_DESTROY(xdrs) \ - if ((xdrs)->x_ops->x_destroy) \ - (*(xdrs)->x_ops->x_destroy)(xdrs) -#define xdr_destroy(xdrs) \ - if ((xdrs)->x_ops->x_destroy) \ - (*(xdrs)->x_ops->x_destroy)(xdrs) - -/* - * Support struct for discriminated unions. - * You create an array of xdrdiscrim structures, terminated with - * a entry with a null procedure pointer. The xdr_union routine gets - * the discriminant value and then searches the array of structures - * for a matching value. If a match is found the associated xdr routine - * is called to handle that part of the union. If there is - * no match, then a default routine may be called. - * If there is no match and no default routine it is an error. - */ -#define NULL_xdrproc_t ((xdrproc_t)0) -struct xdr_discrim { - int value; - xdrproc_t proc; -}; - -/* - * In-line routines for fast encode/decode of primitve data types. - * Caveat emptor: these use single memory cycles to get the - * data from the underlying buffer, and will fail to operate - * properly if the data is not aligned. The standard way to use these - * is to say: - * if ((buf = XDR_INLINE(xdrs, count)) == NULL) - * return (FALSE); - * <<< macro calls >>> - * where ``count'' is the number of bytes of data occupied - * by the primitive data types. - * - * N.B. and frozen for all time: each data type here uses 4 bytes - * of external representation. - */ -#define IXDR_GET_LONG(buf) ((long)ntohl((u_long)*(buf)++)) -#define IXDR_PUT_LONG(buf, v) (*(buf)++ = (long)htonl((u_long)v)) - -#define IXDR_GET_BOOL(buf) ((bool_t)IXDR_GET_LONG(buf)) -#define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf)) -#define IXDR_GET_U_LONG(buf) ((u_long)IXDR_GET_LONG(buf)) -#define IXDR_GET_SHORT(buf) ((short)IXDR_GET_LONG(buf)) -#define IXDR_GET_U_SHORT(buf) ((u_short)IXDR_GET_LONG(buf)) - -#define IXDR_PUT_BOOL(buf, v) IXDR_PUT_LONG((buf), ((long)(v))) -#define IXDR_PUT_ENUM(buf, v) IXDR_PUT_LONG((buf), ((long)(v))) -#define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG((buf), ((long)(v))) -#define IXDR_PUT_SHORT(buf, v) IXDR_PUT_LONG((buf), ((long)(v))) -#define IXDR_PUT_U_SHORT(buf, v) IXDR_PUT_LONG((buf), ((long)(v))) - -/* - * These are the "generic" xdr routines. - */ -EXTERN_FUNCTION(bool_t xdr_void, ()); -EXTERN_FUNCTION(bool_t xdr_int, ()); -EXTERN_FUNCTION(bool_t xdr_u_int, ()); -EXTERN_FUNCTION(bool_t xdr_long, ()); -EXTERN_FUNCTION(bool_t xdr_u_long, ()); -EXTERN_FUNCTION(bool_t xdr_short, ()); -EXTERN_FUNCTION(bool_t xdr_u_short, ()); -EXTERN_FUNCTION(bool_t xdr_bool, ()); -EXTERN_FUNCTION(bool_t xdr_enum, ()); -EXTERN_FUNCTION(bool_t xdr_array, ()); -EXTERN_FUNCTION(bool_t xdr_bytes, ()); -EXTERN_FUNCTION(bool_t xdr_opaque, ()); -EXTERN_FUNCTION(bool_t xdr_string, ()); -EXTERN_FUNCTION(bool_t xdr_union, ()); -EXTERN_FUNCTION(void xdr_free, ()); -EXTERN_FUNCTION(bool_t xdr_char, ()); -EXTERN_FUNCTION(bool_t xdr_u_char, ()); -EXTERN_FUNCTION(bool_t xdr_vector, ()); -EXTERN_FUNCTION(bool_t xdr_float, ()); -EXTERN_FUNCTION(bool_t xdr_double, ()); -EXTERN_FUNCTION(bool_t xdr_reference, ()); -EXTERN_FUNCTION(bool_t xdr_pointer, ()); -EXTERN_FUNCTION(bool_t xdr_wrapstring, ()); - -/* - * Common opaque bytes objects used by many rpc protocols; - * declared here due to commonality. - */ -#define MAX_NETOBJ_SZ 1024 -struct netobj { - u_int n_len; - char *n_bytes; -}; -typedef struct netobj netobj; -EXTERN_FUNCTION(bool_t xdr_netobj, ()); - -/* - * These are the public routines for the various implementations of - * xdr streams. - */ -EXTERN_FUNCTION(void xdrmem_create, ()); /* XDR using memory buffers */ -EXTERN_FUNCTION(void xdrstdio_create, ()); /* XDR using stdio library */ -EXTERN_FUNCTION(void xdrrec_create, ()); /* XDR pseudo records for tcp */ -EXTERN_FUNCTION(bool_t xdrrec_endofrecord, ());/* make end of xdr record */ -EXTERN_FUNCTION(int xdrrec_readbytes, ()); /* like a read on a pipe */ -EXTERN_FUNCTION(bool_t xdrrec_skiprecord, ()); /* move to beginning of next record */ -EXTERN_FUNCTION(bool_t xdrrec_eof, ()); /* true if no more input */ - -#endif /*!_rpc_xdr_h*/ diff --git a/rpc++/callback.cc b/rpc++/callback.cc deleted file mode 100644 index 1758e8a0740..00000000000 --- a/rpc++/callback.cc +++ /dev/null @@ -1,38 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -static char _rpcpp_callback_cc_[] -= "callback.cc,v 2.2 1992/06/15 19:12:37 mnl Exp"; - -// callback.cc,v -// Revision 2.2 1992/06/15 19:12:37 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.1.1.1 1992/03/08 13:28:42 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include "rpc++/callback.h" - diff --git a/rpc++/example/Makefile b/rpc++/example/Makefile deleted file mode 100644 index 4abd7b4488f..00000000000 --- a/rpc++/example/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -TOP = .. -SUBDIRS = - -CC = gcc -CPPFLAGS = -I.. -CFLAGS = -ggdb -C++FLAGS = $(CFLAGS) -# for Sun: -#LOADLIBES = -L.. -lrpc++ -lg++ -# for ISC 2.2: -LOADLIBES = -L.. -lrpc++ -lrpclib -lmisc -lg++ -linet -liberty - -HDRS = calcsvc.h -SRCS = server.cc client.cc calcsvc.cc - -all:: server client - -server: server.o calcsvc.o - $(CC) -o $@ server.o calcsvc.o $(LOADLIBES) - -client: client.o calcsvc.o - $(CC) -o $@ client.o calcsvc.o ../request.o $(LOADLIBES) - -DISTLIST = Makefile $(HDRS) $(SRCS) - -clean:: - rm -f $(CLEANWILDCARDS) server client - -include .dependencies - -.dependencies: $(HDRS) $(SRCS) - gcc -M $(CPPFLAGS) $(SRCS) > .dependencies - -distlist:: - @for f in *.[ch] *.cc; do \ - if expr " $(DISTLIST) " : ".* $$f " >/dev/null; then : ; \ - else echo 1>&2 "Warning: c- or h-file \"$$f\" not in DISTLIST"; fi; \ - done - -include $(TOP)/Proj.make diff --git a/rpc++/example/calcsvc.cc b/rpc++/example/calcsvc.cc deleted file mode 100644 index 6ed36594c61..00000000000 --- a/rpc++/example/calcsvc.cc +++ /dev/null @@ -1,30 +0,0 @@ -// -*- c++ -*- -static char _calcsvc_cc_[] -= "calcsvc.cc,v 2.3 1992/06/15 19:13:13 mnl Exp"; - -// calcsvc.cc,v -// Revision 2.3 1992/06/15 19:13:13 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:28 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:45 mnl -// Initial mnl version. -// - -#include -#include "calcsvc.h" - -XdrInfo& Xmyint = Xdr::Xint; - -RpcRequest CalcRequests::Add (1, &Xmyint, &Xdr::Xint, &Xdr::Xint); -RpcRequest CalcRequests::Sub (2, &Xdr::Xint, &Xdr::Xint, &Xdr::Xint); -RpcRequest CalcRequests::Times (3, &Xdr::Xint, &Xdr::Xint, &Xdr::Xint); -RpcRequest CalcRequests::Div (4, &Xdr::Xint, &Xdr::Xint, &Xdr::Xint); -RpcRequest CalcRequests::Inc (5, &Xdr::Xint, &Xdr::Xint); -RpcRequest CalcRequests::IToA (6, &Xdr::Xwrapstring, &Xdr::Xint); -RpcRequest CalcRequests::Reset (7, &Xdr::Xvoid); -RpcRequest CalcRequests::Sleep (8, &Xdr::Xnull, &Xdr::Xint, RpcRequest::async); -RpcRequest CalcRequests::Msg (9, &Xdr::Xvoid, &Xdr::Xwrapstring); -RpcRequest CalcRequests::Invalid (100, &Xdr::Xvoid, &Xdr::Xvoid); diff --git a/rpc++/example/calcsvc.h b/rpc++/example/calcsvc.h deleted file mode 100644 index a70c10fadac..00000000000 --- a/rpc++/example/calcsvc.h +++ /dev/null @@ -1,34 +0,0 @@ -// -*- c++ -*- -#ifndef _CALCSERVICE_H_ -#define _CALCSERVICE_H_ -static char _calcsvc_h_[] -= "calcsvc.h,v 2.3 1992/06/15 19:13:15 mnl Exp"; - -// calcsvc.h,v -// Revision 2.3 1992/06/15 19:13:15 mnl -// Fixed a few bugs, clarified interface. -// - -#ifdef __GNUG__ -#pragma interface -#endif - -#include "rpc++/request.h" - -#define CALCSVC 0x20100001 - -struct CalcRequests -{ - static RpcRequest Add; - static RpcRequest Sub; - static RpcRequest Times; - static RpcRequest Div; - static RpcRequest Inc; - static RpcRequest IToA; - static RpcRequest Reset; // for testing proc without args - static RpcRequest Sleep; // for testing async - static RpcRequest Msg; // for testing string passing - static RpcRequest Invalid; // for testing error handling -}; - -#endif diff --git a/rpc++/example/client.cc b/rpc++/example/client.cc deleted file mode 100644 index f435de61da9..00000000000 --- a/rpc++/example/client.cc +++ /dev/null @@ -1,64 +0,0 @@ -// -*- c++ -*- -static char _client_cc_[] -= "client.cc,v 2.3 1992/06/15 19:13:17 mnl Exp"; - -// client.cc,v -// Revision 2.3 1992/06/15 19:13:17 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:32 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:45 mnl -// Initial mnl version. -// - -#include -#include "rpc++/stub.h" - -#include "calcsvc.h" - -class CalcStub : public RpcStub -{ -public: - inline CalcStub (u_long prognum, u_long versnum, - char* hostname = "localhost", - timeval timeout = defaultTimeout, bool connect = TRUE) - : RpcStub (prognum, versnum, hostname, timeout, connect) {} - - inline void Reset () - { Call (CalcRequests::Reset); } - inline int Inc (int i) - { return *(int*)Call (CalcRequests::Inc, &i); } - inline char* IToA (int i) - { return *(char**)Call (CalcRequests::IToA, &i); } - inline int Add (int s1, int s2) - { return *(int*)Call (CalcRequests::Add, &s1, &s2); } - - inline void Msg (char* msg) - { Call (CalcRequests::Msg, &msg); } - inline void Sleep (int secs) - { Call (CalcRequests::Sleep, &secs); } -}; - -main (int argc, char* argv[]) -{ - char* server = argv[1]; - - CalcStub svc (CALCSVC, 1, server); - svc.Reset (); - svc.Msg ("Hello server.\n"); - int i = 0, o; - while (i < 10) - { - o = svc.Inc (i); - cout << svc.IToA (o) << '\n'; - i = o; - } - i = svc.Add (12, 23); - cout << "add (" << 12 << ", " << 23 << ") = " << i << endl; - cout << "Calling Sleep (5) asynchronously.\n"; - svc.Sleep (5); - cout << "Sleep call completed.\n"; - svc.Call (CalcRequests::Invalid); -} diff --git a/rpc++/example/server.cc b/rpc++/example/server.cc deleted file mode 100644 index f57496c0674..00000000000 --- a/rpc++/example/server.cc +++ /dev/null @@ -1,112 +0,0 @@ -// -*- c++ -*- -static char _server_cc_[] -= "server.cc,v 2.3 1992/06/15 19:13:18 mnl Exp"; - -// server.cc,v -// Revision 2.3 1992/06/15 19:13:18 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:33 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:45 mnl -// Initial mnl version. -// - -#include -#include -#include -#include - -#include "rpc++/service.h" -#include "calcsvc.h" - -class Calc -{ -public: - void* Add (void*, void*); - void* Sub (void*, void*); - void* Times (void*, void*); - void* Div (void*, void*); - void* Inc (void*); - void* IToA (void**); - void Reset (RpcService*); -}; - -void* Calc::Add (void* in1, void* in2) -{ - static int res; - res = *(int*)in1 + *(int*)in2; - return &res; -} - -void* Calc::Sub (void* in1, void* in2) -{ - static int res; - res = *(int*)in1 - *(int*)in2; - return &res; -} - -void* Calc::Times (void* in1, void* in2) -{ - static int res; - res = *(int*)in1 * *(int*)in2; - return &res; -} - -void* Calc::Div (void* in1, void* in2) -{ - static int res; - res = *(int*)in1 / *(int*)in2; - return &res; -} - -void* Calc::Inc (void* in) -{ - static int res; - res = *(int*)in + 1; - return &res; -} - -void* Calc::IToA (void** in) -{ - static char *s = 0; - delete s; - char *t = form ("%d", *(int*)in[0]); - s = new char[strlen (t) + 1]; - strcpy (s, t); - return &s; -} - -void Calc::Reset (RpcService* svc) -{ - cout << "Received reset from " << svc->CallerName () << ".\n"; -} - -void printMessage (void* in) -{ - cout << *(char**)in; -} - -void doSleep (void* in) -{ - cout << form ("Sleeping %d secs.\n", *(int*)in); - sleep (*(int*)in); - cout << "Woke up.\n"; -} - -main () -{ - RpcService svc (CALCSVC, 1); - Calc calc; - svc.Register (CalcRequests::Add, RpcMethodCall (&calc, &calc.Add)); - svc.Register (CalcRequests::Sub, RpcMethodCall (&calc, &calc.Sub)); - svc.Register (CalcRequests::Times, RpcMethodCall (&calc, &calc.Times)); - svc.Register (CalcRequests::Div, RpcMethodCall (&calc, &calc.Div)); - svc.Register (CalcRequests::Inc, RpcMethodCall (&calc, &calc.Inc)); - svc.Register (CalcRequests::IToA,RpcMethodCall(&calc, &calc.IToA)); - svc.Register (CalcRequests::Reset, RpcMethodCall (&calc, &calc.Reset)); - svc.Register (CalcRequests::Msg, RpcCallback (printMessage)); - svc.Register (CalcRequests::Sleep, RpcCallback (doSleep)); - svc.Provide (); -} diff --git a/rpc++/gcc-2.2.fix b/rpc++/gcc-2.2.fix deleted file mode 100644 index f684e5b128b..00000000000 --- a/rpc++/gcc-2.2.fix +++ /dev/null @@ -1,252 +0,0 @@ -To: bug-g++@prep.ai.mit.edu -Subject: gcc-2.2 loops with template-local typedefs (bug&patch) -BCC: mnl,ulf ---text follows this line-- -Hi, - -trying to translate the following fragment on a Sparc running SunOs 4.1.2 -with gcc-2.2 results in gcc infinitly looping. - ---------------------------------------------------------------------------- -// -*- c++ -*- - -class AnyRpcCallback -{ -protected: - -public: - inline virtual ~AnyRpcCallback () {} - inline virtual void Do (void* in, void* out) = 0; -}; - -template class RpcCallback : public AnyRpcCallback -{ - typedef void (T::*Method)(void*, void*); - typedef void (T::*MethodN)(void*, void**); - typedef void (T::*Method1)(void*, void*); - typedef void (T::*Method2)(void*, void*, void*); - -private: - T* object; - void (T::*method)(void*, void*); - -public: - inline RpcCallback (T* o, void* m) - { object = o; method = m; } - inline void Do (void* in, void* out) - { (object->*method)(in, out); } -}; - -class Test -{ -public: - void m (void*, void*); -}; - -main () -{ - Test o; - AnyRpcCallback* cb = new RpcCallback (&o, &Test::m); -} ---------------------------------------------------------------------------- - -PLEASE NOTE that you will get another loop due to a bug that I have -reported together with a patch earlier (it's appended to this mail). -So you won't be able to reproduce the bug reported in this mail unless -you have my previous patch applied. I am, however, definitely sure -(and the explanation below will confirm it) that the bug reported in -this mail is *NOT* caused by my patch! - -The problem is, that the "chain" field of the tree-nodes used by gcc -for its internal representation is used for various purposes, and in -the case of this template-local typedef, someone lost track of its usage. - -After parsing, the TYPE_DECL-node created for the typedef is appended -to the scope via "pushlevel". Types in the current scope are linked -using the "chain" field. At the same time, however, all components of -the template are linked together during parsing using the same "chain" -field. Parsing the second typedef, "pushlevel" makes the first typedef -a successor of the second typedef and the subsequent catenation of -components makes the second typedef a successor of the first typedef -thus creating a loop. - -The resulting list of all components is used in routine -"finish_struct". - -I think the most proper approach would be to use TREE_LIST nodes in -the list of components as indirect references to the typedef-nodes. -This is easy to achieve, it is, however, very hard to modify -finish_struct in a way that it handles these indirection properly. -Actually, I gave up when I tried to understand & modify the routine -that removes the duplicate declarations from the list of components. - -There are two easier approaches: (1) Don't include typedefs in the -list of components, (2) use copies of the typedef-node which have an -unused chain field. The first approach assumes that finish_struct -doesn't do anything with typedefs, so it wouldn't be important if they -are missing from the list of components. If this is the case, however, -it can't hurt to use copies of the typedef-nodes (copies of the -originals that are linked in the scope-list), so the second approach -is safer. It can only fail if finish_struct modifies the typedef-nodes -and this modification is significant for the typedef-nodes in the -scope-list (which are, of course, not modified. Only the copies are). - -So I think the patch is pretty safe. It fixes the problem and doesn't -seem to introduce new ones. I'm aware that typedefs that are local to -templates stretch language features to the limits, but it makes my -C++ interface to RPCs real nice (I'll post it one of these days). - -Michael - -*** .orig/cp-parse.y Mon Jun 15 17:08:58 1992 ---- cp-parse.y Mon Jun 15 19:13:15 1992 -*************** -*** 2211,2217 **** - if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t)) - $$ = grok_enum_decls (t, $2); - else -! $$ = $2; - } - end_exception_decls (); - } ---- 2211,2233 ---- - if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t)) - $$ = grok_enum_decls (t, $2); - else -! { -! /* if a component is a typedef, it is inserted -! in the list of nodes that make up the valid -! types in the scope. Thus its chain field is -! used and can't be used a second time for linking -! the components of the struct. So, we make a copy -! here. This apparently works. The proper thing -! to do, however, would be to use a TREE_LIST -! node to reference the typedef. I tried to rewrite -! finish_struct accordingly (i.e., ``dereference'' -! components TREE_LIST before use, but I gave up. -! mnl@dtro.e-technik.th-darmstadt.de */ -! if (TREE_CODE ($2) == TYPE_DECL) -! $$ = copy_node ($2); -! else -! $$ = $2; -! } - } - end_exception_decls (); - } - -=========================================================================== -The previous bug: ---------------------------------------------------------------------------- -Return-Path: -Date: Wed, 10 Jun 92 19:31:13 +0200 -From: "Michael N. Lipp" -To: bug-g++@prep.ai.mit.edu -Subject: gcc-2.2 bug&patch: typedef in template - -Hi, - -gcc-2.2 on a sparc running SunOS 4.1.2 enters an infinite loop when -compiling this: - ------------------------------------------------------------------------------ -// -*- c++ -*- - -class AnyRpcCallback -{ -protected: - -public: - inline virtual ~AnyRpcCallback () {} - inline virtual void Do (void* in, void* out) = 0; -}; - -template class RpcCallback : public AnyRpcCallback -{ - typedef void (T::*Method)(void*, void*); - -private: - T* object; - void (T::*method)(void*, void*); - -public: - inline RpcCallback (T* o, void* m) - { object = o; method = m; } - inline void Do (void* in, void* out) - { (object->*method)(in, out); } -}; - -class Test -{ -public: - void m (void*, void*); -}; - -main () -{ - Test o; - AnyRpcCallback* cb = new RpcCallback (&o, &Test::m); -} ------------------------------------------------------------------------------ - -This is quite an improvement over gcc-2.1 which dumped core with this -source. - -I tracked the cause down: grokdeclarator does a pushlevel(0), then -calls start_decl, which in turn calls grokdeclarator again which does -a poplevel_class. This poplevel_class pops the level pushed by -pushlevel(0) and so the poplevel performed by grokdeclarator to match -its pushlevel(0) pops quite a different level! This can easily be -observed by compiling cp-decl.c with -DDEBUG_CP_BINDING_LEVELS. - -Here is a patch that fixes the bug. I don't think it hits the real -cause of this problem, but it works. - -*** .orig/cp-decl.c Wed Jun 10 14:06:26 1992 ---- cp-decl.c Wed Jun 10 15:20:38 1992 -*************** -*** 6874,6882 **** ---- 6874,6889 ---- - tree loc_typedecl; - register int i = sizeof (struct lang_decl_flags) / sizeof (int); - register int *pi; -+ struct binding_level *local_binding_level; - - /* keep `grokdeclarator' from thinking we are in PARM context. */ - pushlevel (0); -+ /* poplevel_class may be called by grokdeclarator which is called in -+ start_decl which is called below. In this case, our pushed level -+ may vanish and poplevel mustn't be called. So remember what we -+ have pushed and pop only if that is matched by -+ current_binding_level later. mnl@dtro.e-technik.th-darmstadt.de */ -+ local_binding_level = current_binding_level; - loc_typedecl = start_decl (declarator, declspecs, initialized, NULL_TREE); - - pi = (int *) permalloc (sizeof (struct lang_decl_flags)); -*************** -*** 6883,6889 **** - while (i > 0) - pi[--i] = 0; - DECL_LANG_SPECIFIC (loc_typedecl) = (struct lang_decl *) pi; -! poplevel (0, 0, 0); - - #if 0 - if (TREE_CODE (TREE_TYPE (loc_typedecl)) == ENUMERAL_TYPE) ---- 6890,6897 ---- - while (i > 0) - pi[--i] = 0; - DECL_LANG_SPECIFIC (loc_typedecl) = (struct lang_decl *) pi; -! if (current_binding_level == local_binding_level) -! poplevel (0, 0, 0); - - #if 0 - if (TREE_CODE (TREE_TYPE (loc_typedecl)) == ENUMERAL_TYPE) - -Michael - ------------------,------------------------------,------------------------------ -Michael N. Lipp ! Institut fuer Datentechnik ! Phone: 49-6151-163776 - ! Merckstr. 25 ,----------' Fax: 49-6151-164976 - ! D-6100 Darmstadt ! E-Mail: - ! (Germany) ! mnl@dtro.e-technik.th-darmstadt.de ------------------'-------------------'----------------------------------------- - diff --git a/rpc++/request.cc b/rpc++/request.cc deleted file mode 100644 index c831bb531b0..00000000000 --- a/rpc++/request.cc +++ /dev/null @@ -1,165 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -static char _rpcpp_request_cc_[] -= "request.cc,v 2.3 1992/06/15 19:12:39 mnl Exp"; - -// request.cc,v -// Revision 2.3 1992/06/15 19:12:39 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:01 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:42 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include "rpc++/request.h" - -#include - -void RpcRequest::init (u_long req, int pars, int parsz, - const XdrInfo* out, const XdrInfo** in, int rt) -{ - params = pars; - parmsz = parsz; - reqnum = req; - ininfo = in; - ininfo[params] = (XdrInfo*)0; - outinfo = out; - reqtype = rt; - assert (rt == normal || outinfo->Proc () == 0); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, int t) -{ - init (req, 0, 0, out, new XdrInfo*[1], t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in, - int t) -{ - const XdrInfo** a = new XdrInfo*[2]; - a[0] = in; - init (req, 1, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in0, - const XdrInfo* in1, int t) -{ - const XdrInfo** a = new XdrInfo*[3]; - a[0] = in0; - a[1] = in1; - init (req, 2, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in0, - const XdrInfo* in1, const XdrInfo* in2, int t) -{ - const XdrInfo** a = new XdrInfo*[4]; - a[0] = in0; - a[1] = in1; - a[2] = in2; - init (req, 3, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in0, - const XdrInfo* in1, const XdrInfo* in2, - const XdrInfo* in3, int t) -{ - const XdrInfo** a = new XdrInfo*[5]; - a[0] = in0; - a[1] = in1; - a[2] = in2; - a[3] = in3; - init (req, 4, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in0, - const XdrInfo* in1, const XdrInfo* in2, - const XdrInfo* in3, const XdrInfo* in4, int t) -{ - const XdrInfo** a = new XdrInfo*[6]; - a[0] = in0; - a[1] = in1; - a[2] = in2; - a[3] = in3; - a[4] = in4; - init (req, 5, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in0, - const XdrInfo* in1, const XdrInfo* in2, - const XdrInfo* in3, const XdrInfo* in4, - const XdrInfo* in5, int t) -{ - const XdrInfo** a = new XdrInfo*[7]; - a[0] = in0; - a[1] = in1; - a[2] = in2; - a[3] = in3; - a[4] = in4; - a[5] = in5; - init (req, 6, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo* in0, - const XdrInfo* in1, const XdrInfo* in2, - const XdrInfo* in3, const XdrInfo* in4, - const XdrInfo* in5, const XdrInfo *in6, int t) -{ - const XdrInfo** a = new XdrInfo*[8]; - a[0] = in0; - a[1] = in1; - a[2] = in2; - a[3] = in3; - a[4] = in4; - a[5] = in5; - a[6] = in6; - init (req, 7, -1, out, a, t); -} - -RpcRequest::RpcRequest(u_long req, const XdrInfo* out, const XdrInfo** ins, - int t) -{ - int pars = 0; - for (XdrInfo** p = ins; *p; p++) - pars += 1; - const XdrInfo** a = new XdrInfo* [pars + 1]; - memcpy (a, ins, (pars + 1) * sizeof (XdrInfo*)); - init (req, pars, -1, out, a, t); -} - -int RpcRequest::ParamSize () -{ - if (parmsz < 0) // not yet calculated - { - parmsz = 0; - for (XdrInfo** ip = ininfo; *ip; ip++) - parmsz += (*ip)->Size (); - } - return parmsz; -} diff --git a/rpc++/rpc++.cp b/rpc++/rpc++.cp deleted file mode 100644 index 38f1a39ff2d..00000000000 --- a/rpc++/rpc++.cp +++ /dev/null @@ -1,13 +0,0 @@ -\entry {Overview}{1}{Overview} -\entry {Installation}{2}{Installation} -\entry {XdrInfo}{3}{\code {XdrInfo}} -\entry {RpcRequest}{5}{\code {RpcRequest}} -\entry {Callbacks}{7}{Callbacks} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {calling conventions}{10}{\code {calling conventions}} -\entry {RpcService}{12}{\code {RpcService}} -\entry {RpcStub}{16}{\code {RpcStub}} -\entry {Caveats}{19}{Caveats} -\entry {Global objects}{19}{Global objects} -\entry {Destruction rules}{19}{Destruction rules} diff --git a/rpc++/rpc++.fn b/rpc++/rpc++.fn deleted file mode 100644 index 562055e0c07..00000000000 --- a/rpc++/rpc++.fn +++ /dev/null @@ -1,63 +0,0 @@ -\entry {XdrInfo}{3}{\code {XdrInfo}} -\entry {Proc}{3}{\code {Proc}} -\entry {Size}{3}{\code {Size}} -\entry {RpcRequest}{5}{\code {RpcRequest}} -\entry {RpcRequest}{5}{\code {RpcRequest}} -\entry {RpcRequest}{5}{\code {RpcRequest}} -\entry {RpcRequest}{5}{\code {RpcRequest}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcCallback}{8}{\code {RpcCallback}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{10}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{10}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{10}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{10}{\code {RpcMethodCall}} -\entry {RpcMethodCall}{10}{\code {RpcMethodCall}} -\entry {RpcService}{12}{\code {RpcService}} -\entry {RpcService}{12}{\code {RpcService}} -\entry {OK}{12}{\code {OK}} -\entry {Program}{12}{\code {Program}} -\entry {Register}{12}{\code {Register}} -\entry {Provide}{13}{\code {Provide}} -\entry {HandleError}{13}{\code {HandleError}} -\entry {Caller}{15}{\code {Caller}} -\entry {CallerName}{15}{\code {CallerName}} -\entry {Reply}{15}{\code {Reply}} -\entry {Reply}{15}{\code {Reply}} -\entry {Interrupt}{15}{\code {Interrupt}} -\entry {RpcStub}{16}{\code {RpcStub}} -\entry {RpcStub}{16}{\code {RpcStub}} -\entry {Reconnect}{16}{\code {Reconnect}} -\entry {OK}{16}{\code {OK}} -\entry {Service}{16}{\code {Service}} -\entry {GetTimeout}{16}{\code {GetTimeout}} -\entry {SetTimeout}{17}{\code {SetTimeout}} -\entry {Call}{17}{\code {Call}} -\entry {Call}{17}{\code {Call}} -\entry {Call}{17}{\code {Call}} -\entry {Call}{17}{\code {Call}} -\entry {HandleError}{17}{\code {HandleError}} diff --git a/rpc++/rpc++.ky b/rpc++/rpc++.ky deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/rpc++/rpc++.pg b/rpc++/rpc++.pg deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/rpc++/rpc++.texi b/rpc++/rpc++.texi deleted file mode 100644 index 71ed33017b7..00000000000 --- a/rpc++/rpc++.texi +++ /dev/null @@ -1,1519 +0,0 @@ -\input texinfo @c -*-texinfo-*- -@tex -% They are redefined in texinfo, but I need them -\gdef\`#1{{\accent18 #1}} -\gdef\'#1{{\accent19 #1}} -\gdef\[{{[}} -\gdef\]{{]}} -@end tex -@comment %**start of header (This is for running Texinfo on a region.) -@setfilename rpc++.info -@settitle A C++ Interface to Remote Procedure Calls -@setchapternewpage on -@comment %**end of header (This is for running Texinfo on a region.) - -@c You'll have to define the following additional texinfo-formats to -@c run texinfo on this file. -@c -@c (put '\& 'texinfo-format 'texinfo-format-\&) -@c (defun texinfo-format-\& () -@c (texinfo-discard-command) -@c (insert "&")) -@c -@c (put '\[ 'texinfo-format 'texinfo-format-\[) -@c (defun texinfo-format-\[ () -@c (texinfo-discard-command) -@c (insert "[")) -@c -@c (put '\] 'texinfo-format 'texinfo-format-\]) -@c (defun texinfo-format-\] () -@c (texinfo-discard-command) -@c (insert "]")) - -@ifinfo -This file documents a C++ interface to Sun remote procedure calls. - -Copyright @copyright{} 1992 Michael N. Lipp -Permission is granted to make and distribute verbatim copies of -this manual provided the copyright notice and this permission notice -are preserved on all copies. - -@ignore -Permission is granted to process this file through @TeX{} and print the -results, provided the printed document carries copying permission -notice identical to this one except for the removal of this paragraph -(this paragraph not being relevant to the printed manual). - -@end ignore -Permission is granted to copy and distribute modified versions of this -manual under the conditions for verbatim copying, provided also that the -section entitled ``GNU Library General Public License'' is included exactly as -in the original, and provided that the entire resulting derived work is -distributed under the terms of a permission notice identical to this one. - -Permission is granted to copy and distribute translations of this manual -into another language, under the above conditions for modified versions, -except that the section entitled ``GNU Library General Public License'' and -this permission notice may be included in translations approved by the -Free Software Foundation instead of in the original English. -@end ifinfo - -@titlepage - -@title A C++ Interface -@title to Sun Remote Procedure Calls -@sp 1 -@subtitle @authorfont{by Michael N. Lipp} -@sp 20 -@subtitle{for version 2.2} -@subtitle{Technische Hochschule Darmstadt, Institut f@"ur Datentechnik} - -@comment The following two commands start the copyright page. -@page -@vskip 0pt plus 1filll -Copyright @copyright{} 1992 Michael N. Lipp - -Permission is granted to make and distribute verbatim copies of -this manual provided the copyright notice and this permission notice -are preserved on all copies. - -Permission is granted to copy and distribute modified versions of this -manual under the conditions for verbatim copying, provided also that the -section entitled ``GNU Library General Public License'' is included exactly as -in the original, and provided that the entire resulting derived work is -distributed under the terms of a permission notice identical to this one. - -Permission is granted to copy and distribute translations of this manual -into another language, under the above conditions for modified versions, -except that the section entitled ``GNU Library General Public License'' may be -included in a translation approved by the author instead of in the original -English. -@end titlepage - -@node Top, Overview, (dir), (dir) - -@menu -* Overview:: Overview -* Installation:: Installation -* Classes:: The Classes -* Caveats:: Caveats -* References:: References -* Copying:: GNU LIBRARY GENERAL PUBLIC LICENSE -* Data Type Index:: Data Type Index -* Function Index:: Function and Method Index -* Concept Index:: Concept Index - - --- The Detailed Node Listing --- - -The classes - -* XdrInfo:: @code{XdrInfo} -* RpcRequest:: @code{RpcRequest} -* Callbacks:: @code{Callbacks} -* RpcService:: @code{RpcService} -* RpcStub:: @code{RpcStub} - -Callbacks - -* RpcCallback:: @code{RpcCallback} -* RpcMethodCall:: @code{RpcMethodCall} -* Calling Conventions:: @code{Calling Conventions} - -Caveats - -* Global objects:: Global objects -* Destruction rules:: Destruction rules -* Matching server and clients:: Matching server and clients -@end menu - -@node Overview, Installation, Top, Top -@comment node-name, next, previous, up -@chapter Overview -@cindex Overview - -This document describes my C++ interface to Sun Remote Procedure Calls. -It is based on sources from Peter Bersen that I got from some newsgroup, -though I don't remember which one. I liked the basic idea but disliked -several aspects of the interface details. So I adapted it to my likes. I -intended some minor changes but soon found myself renaming classes, -changing method parameters, introducing new classes, etc. The result is -by no way compatible with the original version. It is, I hope, -nevertheless useful. - -Basically, the interface defines six class: @code{XdrInfo}, -@code{RpcRequest}, @code{RpcCallback}/@code{RpcMethodCall}, -@code{RpcService} and @code{RpcStub}. - -@code{XdrInfo} objects describe the external data representation of a -type. There are predefined @code{XdrInfo}s for the basic types. -@code{RpcRequest} objects describe the available procedure calls. They -are constructed from a unique request number, the @code{XdrInfo}s of the -procedure's arguments and its return type. @code{RpcCallback} is an -object that holds a pointer to a function and information about the -number of its arguments. @code{RpcMethodCall} is a template that in a -similar way holds a pointer to an object and one of its methods and -Information about the number of its arguments. - -An @code{RpcRequest} and its matching @code{RpcCallback} or -@code{RpcMethodCall} may be registered with an @code{RpcService}. -Exactly one object of type @code{RpcService} may be instantiated in a -program that implements an RPC server. Method @code{Provide ()} is a -loop that waits for requests and dispatches them. - -A client program instantiates an object of type @code{RpcStub}. The -constructor establishes a connection to the server specified by its -arguments. Procedures of the server may be invoked using method -@code{Call (@dots{})}. - -@node Installation, Classes, Overview, Top -@comment node-name, next, previous, up -@chapter Installation -@cindex Installation - -The rpc++ library has successfully been tested using a patched gcc-2.2.2 -on a SparcStation running SunOS 4.1.[12] and a 386 system running -Interactive Unix (a SYSV 3.2). Patching gcc-2.2.2 was necessary because -the unpatched version can't handle typedefs that are local to templates. -The bug report with patches can be found in the source directory in file -@code{gcc-2.2.2.fix}. - -As a prerequisite to using RPCs with C++ you need ANSI-C/C++ conformant -header files for RPC. I have provided such files in the directory -@code{StdHdrs/rpc} of the source tree. To avoid any copyright conflicts, -they are derived from the public available RPC source code rather than -from the files that come with SunOS 4.1.X. The differences are minor. -The SunOS 4.1.X files define some additional functions. You have to -either copy the files from @code{StdHdrs/rpc} or patched files from your -@code{/usr/include/rpc} to a directory where gcc can find them. If you -don't want to install them globally in gcc's include directory, you can -include them by using an additional ``@code{-I}'' flag during -compilation. - -In SunOS you can simply type `@code{make install INSTROOT=@dots{}}' -which will make the library and install it in @code{INSTROOT/lib} and -the header files in @code{INSTROOT/include/rpc++}. Other Unices will -probably have problems with the `install' command. Type only `make' and -copy the resulting @code{librpc++.a} to your local library directory and -the files @code{rpc++/*} to an @code{rpc++}-subdirectory of your local -include directory. - -@node Classes, Caveats, Installation, Top -@comment node-name, next, previous, up -@chapter The classes - -@menu -* XdrInfo:: @code{XdrInfo} -* RpcRequest:: @code{RpcRequest} -* Callbacks:: @code{Callbacks} -* RpcService:: @code{RpcService} -* RpcStub:: @code{RpcStub} -@end menu - -@node XdrInfo, RpcRequest, , Classes -@comment node-name, next, previous, up -@section @code{XdrInfo} -@cindex @code{XdrInfo} - -Declared in: @code{"rpc++/xdr++.h"} - -@deftp Class XdrInfo -Class XdrInfo describes serializers. It combines the xdrproc_t with the -size info (the size of the data to be converted) usually needed if you -want to apply a serializer. -@end deftp - -There is only one constructor for @code{XdrInfo}: - -@deftypefn Constructor {} XdrInfo (xdrproc_t @var{t}, size_t @var{s}) -Construct an @code{XdrInfo} for a type. The type can be converted to an -external data representation (serielized) with function @var{t}. Its -size (in bytes, from @code{sizeof (type)}), is @var{s}. -@end deftypefn - -The methods query the information given to the constructor: - -@deftypefn Method xdrproc_t Proc () const -Return the conversion function stored in an @code{XdrInfo}. -@end deftypefn - -@deftypefn Method size_t Size () const -Return the size of the type described by the @code{XdrInfo}. -@end deftypefn - -There are a number of predefined @code{XdrInfo}s. They are defined as -static members of a class @code{Xdr} for scoping reasons. - -@defvr XdrInfo Xdr::Xchar -The conversion and size information for a character. -@end defvr - -@defvr XdrInfo Xdr::Xshort -The conversion and size information for a short integer. -@end defvr - -@defvr XdrInfo Xdr::Xint -The conversion and size information for an integer. -@end defvr - -@defvr XdrInfo Xdr::Xlong -The conversion and size information for a long integer. -@end defvr - -@defvr XdrInfo Xdr::Xuchar -The conversion and size information for an unsigned character. -@end defvr - -@defvr XdrInfo Xdr::Xushort -The conversion and size information for an unsigned short integer. -@end defvr - -@defvr XdrInfo Xdr::Xulong -The conversion and size information for an unsigned long integer. -@end defvr - -@defvr XdrInfo Xdr::Xfloat -The conversion and size information for a float. -@end defvr - -@defvr XdrInfo Xdr::Xdouble -The conversion and size information for a double. -@end defvr - -@defvr XdrInfo Xdr::Xenum_t -The conversion and size information for any enumeration type. -@end defvr - -@defvr XdrInfo Xdr::Xbool_t -The conversion and size information for a bool. -@end defvr - -@defvr XdrInfo Xdr::Xvoid -A special @code{XdrInfo} for the return type of a procedure that returns -nothing. -@end defvr - -@defvr XdrInfo Xdr::Xnull -A special @code{XdrInfo} for the return type of a procedure that is to -be executed batched or asynchronously (@pxref{RpcRequest}). -@end defvr - -@page -@node RpcRequest, Callbacks, XdrInfo, Classes -@comment node-name, next, previous, up -@section @code{RpcRequest} -@cindex @code{RpcRequest} - -Declared in: @code{"rpc++/request.h"} - -@deftp Class RpcRequest -RpcRequest is a class that specifies a request for a procedure that is -part of (registered with) a service. -@end deftp - -There are several constructors for @code{RpcRequest}. They vary in the -number of @code{XdrInfo}s used to describe the input parameters of the -procedure. - -@deftypefn Constructor {} RpcRequest (u_long @var{reqid}, const XdrInfo* @var{out}, ReqType @var{t}=normal) -@end deftypefn -@deftypefn Constructor {} RpcRequest (u_long @var{reqid}, const XdrInfo* @var{out}, const XdrInfo* @var{in1}, ReqType @var{t}=normal) -@end deftypefn -@deftypefn Constructor {} RpcRequest (u_long @var{reqid}, const XdrInfo* @var{out}, const XdrInfo* @var{in1}, const XdrInfo* @var{in2}, ReqType @var{t}=normal) -These constructors construct an @code{RpcRequest} for a procedure with -zero, one or two arguments. Additional similar constructors are defined -for procedures with up to seven arguments. @var{reqid} uniquely -identifies the request (the procedure of the server). @var{reqid} may -not be 0. The @code{XdrInfo*}s following @var{reqid} specify the types of -the input parameters. They are followed by the @code{XdrInfo*} that -describes the type of the value returned by the RPC. If no value is -returned, @code{&Xdr::Xvoid} must be given as argument -(@pxref{XdrInfo}). The final optional argument @var{t} specifies the -call mode: @code{RpcRequest::normal}, @code{RpcRequest::batched} or -@code{RpcRequest::async} (see below). -@end deftypefn - -@deftypefn Constructor {} RpcRequest (u_long @var{reqid}, const XdrInfo* @var{out}, const XdrInfo** @var{intypes}, ReqType @var{t}=normal) -This constructor can be used to construct an @code{RpcRequest} with an -arbitrary number of arguments. The pointers to @code{XdrInfo} are passed -in an array. The number of elements in the array must be one more than -the number of parameters and the last element must be zero. -@end deftypefn - -If the request type @var{t} is @code{RpcRequest::normal}, method -@code{Call} (@pxref{RpcStub}) assembles the message to the server, sends -it, waits for a reply and returns the result. - -If the request type is @code{RpcRequest::batched}, method -@code{RpcStub::Call} assembles the message to the server and puts it in -a buffer. Messages are only flushed if the buffer is full or -@code{RpcStub::Call} is used with a @code{normal} or @code{async} -request. - -If the request type is @code{RpcRequest::async}, method -@code{RpcStub::Call} (@pxref{RpcStub}) assembles the message to the -server and sends it, as with @code{normal}. It does, however, not wait -for a result. Mode @code{async} is implemented by calling the underlying -RPC--function @code{clnt_call} with a timeout of zero. - -As in both non--normal cases (@code{batched} and @code{async}) -@code{RpcStub::Call} does not wait for a return value from the server, -the return type of the @code{RpcRequest} must be specified as -@code{&Xdr::Xnull}. - -Note that requests that are registered for a service are stored in an -array using the request identification as the index, so keep ids small. - -Normally, requests should be specified in a header file included by both -the server and the client program (@pxref{Matching server and clients}). - -@page -@node Callbacks, RpcService, RpcRequest, Classes -@comment node-name, next, previous, up -@section Callbacks -@cindex Callbacks - -If a server receives a request from a client, it needs to know how a -particular procedure is to be invoked. This information is specified -using objects @code{RpcCallback} or @code{RpcMethodCall} when the -procedure resp.@ method is specified. - -The class -@deftp Class AnyRpcCallback -@end deftp -serves as an abstract base class for the two kinds of callbacks. - -The following sections describe the constructors for @code{RpcCallback} -and @code{RpcMethodCall} and the calling conventions for the functions -or methods called back. - -@menu -* RpcCallback:: @code{RpcCallback} -* RpcMethodCall:: @code{RpcMethodCall} -* Calling Conventions:: @code{Calling Conventions} -@end menu - -@node RpcCallback, RpcMethodCall, , Callbacks -@comment node-name, next, previous, up -@subsection @code{RpcCallback} -@cindex @code{RpcCallback} - -Declared in: @code{"rpc++/callback.h"} - -@deftp Class RpcCallback -An @code{RpcCallback} describes a function that is to be called by the -server on request from the client. -@end deftp - -@deftypefn Constructor {} RpcCallback (void* (*)() @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void* (*)(void*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void* (*)(void*, void*) @var{proc}) -Construct an @code{RpcCallback} for a function that takes zero, one or -two arguments and returns a result. Constructors for functions with -up to seven arguments are defined. -@end deftypefn -@deftypefn Constructor {} RpcCallback (void* (*)(void**) @var{proc}) -Construct an @code{RpcCallback} for a function that takes an arbitrary -number of arguments and returns a result. -@end deftypefn - -@deftypefn Constructor {} RpcCallback (void (*)() @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void (*)(void*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void (*)(void*, void*) @var{proc}) -Construct an @code{RpcCallback} for a function that takes zero, one or -two arguments and returns no result. Constructors for functions with -up to seven arguments are defined. -@end deftypefn -@deftypefn Constructor {} RpcCallback (void (*)(void**) @var{proc}) -Construct an @code{RpcCallback} for a function that takes an arbitrary -number of arguments and return no result. -@end deftypefn - -@deftypefn Constructor {} RpcCallback (void* (*)(RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void* (*)(void*, RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void* (*)(void*, void*, RpcService*) @var{proc}) -Construct an @code{RpcCallback} for a function that takes zero, one or -two arguments and returns a result. Constructors for functions with -up to seven arguments are defined. Upon invocation, a pointer to the -object of type @code{RpcService} that received the request and called -the function is passed as an additional argument. -@end deftypefn -@deftypefn Constructor {} RpcCallback (void* (*)(void**) @var{proc}) -Construct an @code{RpcCallback} for a function that takes an arbitrary -number of arguments and returns a result. Upon invocation, a pointer to the -object of type @code{RpcService} that received the request and called -the function is passed as an additional argument. -@end deftypefn - -@deftypefn Constructor {} RpcCallback (void (*)(RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void (*)(void*, RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcCallback (void (*)(void*, void*, RpcService*) @var{proc}) -Construct an @code{RpcCallback} for a function that takes zero, one or -two arguments and returns a result. Constructors for functions with -up to seven arguments are defined. Upon invocation, a pointer to the -object of type @code{RpcService} that received the request and called -the function is passed as an additional argument. -@end deftypefn -@deftypefn Constructor {} RpcCallback (void (*)(void**) @var{proc}) -Construct an @code{RpcCallback} for a function that takes an arbitrary -number of arguments and returns a result. Upon invocation, a pointer to the -object of type @code{RpcService} that received the request and called -the function is passed as an additional argument. -@end deftypefn - -@node RpcMethodCall, Calling Conventions, RpcCallback, Callbacks -@comment node-name, next, previous, up -@subsection @code{RpcMethodCall} -@cindex @code{RpcMethodCall} - -Declared in: @code{"rpc++/callback.h"} - -@deftp Class RpcMethodCall -An @code{RpcMethodCall} describes a method of an object that is to be -called by the server on request from the client. -@end deftp - -@deftypefn Constructor {} RpcMethodCall (void* (T::*)() @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(void*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(void*, void*) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods that -takes zero, one or two arguments and returns a result. Constructors for -methods with up to seven arguments are defined. -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(void**) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes an arbitrary number of arguments and returns a result. -@end deftypefn - -@deftypefn Constructor {} RpcMethodCall (void (T::*)() @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void (T::*)(void*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void (T::*)(void*, void*) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes zero, one or two arguments and returns no result. -Constructors for methods with up to seven arguments are defined. -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void (T::*)(void**) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes an arbitrary number of arguments and return no result. -@end deftypefn - -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(void*, RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(void*, void*, RpcService*) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes zero, one or two arguments and returns a result. Constructors -for methods with up to seven arguments are defined. Upon invocation, a -pointer to the object of type @code{RpcService} that received the -request and called the method is passed as an additional argument. -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void* (T::*)(void**) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes an arbitrary number of arguments and returns a result. Upon -invocation, a pointer to the object of type @code{RpcService} that -received the request and called the method is passed as an additional -argument. -@end deftypefn - -@deftypefn Constructor {} RpcMethodCall (void (T::*)(RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void (T::*)(void*, RpcService*) @var{proc}) -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void (T::*)(void*, void*, RpcService*) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes zero, one or two arguments and returns a result. Constructors -for methods with up to seven arguments are defined. Upon invocation, a -pointer to the object of type @code{RpcService} that received the -request and called the method is passed as an additional argument. -@end deftypefn -@deftypefn Constructor {} RpcMethodCall (void (T::*)(void**) @var{proc}) -Construct an @code{RpcMethodCall} for an object and one of its methods -that takes an arbitrary number of arguments and returns a result. Upon -invocation, a pointer to the object of type @code{RpcService} that -received the request and called the method is passed as an additional -argument. -@end deftypefn - -@node Calling Conventions, , RpcMethodCall, Callbacks -@comment node-name, next, previous, up -@subsection @code{Calling Conventions} -@cindex @code{calling conventions} - -As could be seen from the parameter types in the constructors, functions -and methods that are called in response to a request from a client know -only about pointers to void as arguments and result values because their -real type is coded in the @code{RpcRequest} and not known at compile -time. The only way to avoid this is to implement some kind of rpcgen++. -However, I never liked this kind of tools and I'm willing to risk a bit -of type unsafeness in this case. - -When a procedure (or method) is called, its arguments point to values -(the variants with an arbitrary number of arguments receive an array of -pointers to values) of the types specified in the constructor of the -@code{RpcRequest} that led to the invocation of the procedure. I -recommend to access the values and assign them to local variables of the -procedure in the first statements. E.g.: -@example -void* Add (void* s1p, void* s2p) -@{ - int s1 = *(int*)s1p; - int s2 = *(int*)s2p; - ... -@end example - -The return value of the procedure is a pointer to the result. Therefore, -results may never be put in automatic variables. They must be global or -static. E.g.: -@example - ... - static int sum; - sum = s1 + s2; - return (void*)∑ -@} -@end example - -Note the special case of strings (defined as parameters or return values -using @code{Xdr::Xwrapstring}, @pxref{XdrInfo}). If you think of a -string as being defined as a type ``@code{typedef char* string}'', it is -obvious that a string is passed as argument or returned as result by a -@code{string*}, i.e., a @code{char**}. E.g.: -@example -void* Capitalize (void* strp) -@{ - static char* str; - str = *(char**)strp; - str[0] = toupper (str[0]); - return (void*)&str; -@} -@end example - -@page -@node RpcService, RpcStub, Callbacks, Classes -@comment node-name, next, previous, up -@section @code{RpcService} -@cindex @code{RpcService} - -Declared in: @code{"rpc++/service.h"} - -@deftp Class RpcService -An object of type @code{RpcService} provides the server capabilities -within a program. -@end deftp - -There are two constructors for @code{RpcService}: - -@deftypefn Constructor {} RpcService (u_long @var{prog}, u_long @var{vers}) -Construct an object representing the @var{vers}'th version of program -(service) number @code{prog}. -@end deftypefn -@deftypefn Constructor {} RpcService (u_long @var{vers}) -Construct an object representing the @var{vers}'th version of a transient -program (service). -@end deftypefn - -@deftypefn Method bool OK () -Returns TRUE if the service is ready for operation, i.e., has successfully -been established during construction. -@end deftypefn - -The number of a service, especially a transient service, can be obtained -with method @code{@w{Program ()}}: - -@deftypefn Method u_long Program () -Returns the number of the program (service). This is either the number -passed as an argument to the constructor or a number from the transient -program area. -@end deftypefn - -The next step after the construction of an @code{RpcService} is to -register the requests handled by the service: - -@deftypefn Method {virtual void} Register (const RpcRequest& @var{req}, const AnyRpcCallback& @var{cb}) -Associate request @var{req} with the procedure or object/method pair -specified by @code{cb}. The usual way to call @code{Register} is -@example -@{ - RpcService svc (...); - svc.register (addreq, RpcCallback (Add)); - ... -@} -@end example -@end deftypefn - -After all requests have been registered, the object of type -@code{RpcService} can provide the service: -@deftypefn Method void Provide () -Repeatedly wait for a request and handle it by calling the procedure or -method registered for it. -@end deftypefn - -@deftypefn Method {virtual void*} HandleError () -@code{HandleError} is a protected method that is called when an error -occurs. The cause of the error is stored in a protected member variable -@code{errorState}. If the default error handling (shown below) is not -appropriate for your application, derive your own class from -@code{RpcService} that implements a different error handling policy. If -you consider an error recoverable, reset @code{errorState} to -@code{RpcService::noError} in your error handler. Else, @code{OK ()} -keeps returning FALSE. -@example -void RpcService::HandleError () -@{ - switch (errorState) - @{ - case reconstructionAttempt: - cerr << "rpc++: Attempt to construct another instance of RpcService.\n"; - exit (1); - case cantCreateTCPService: - cerr << "rpc++: can't create tcp service.\n"; - exit(1); - case cantRegisterService: - cerr << form ("rpc++: can't register (%d, %d, tcp).", prog, vers); - exit(1); - case cantSendReply: - cerr << "rpc++: can't reply to RPC call.\n"; - break; - case invalidResult: - cerr << "rpc++: registered routine has return NULL pointer.\n"; - abort (); - case notRegistered: - cerr << "rpc++: requested RPC routine not registered.\n"; - break; - case cantGetArgs: - cerr << "rpc++: can't get procedure arguments.\n"; - break; - case cantFreeArgs: - cerr << "rpc++: can't free XDR arguments.\n"; - break; - @} - errorState = noError; -@} -@end example -@end deftypefn - -If the program that provides the service has other things to do as well, -i.e., does not only handle requests, it usually has its own main loop -that handles events. This loop must be extended to handle RPC events, -i.e., if anything happens on the RPC file descriptors, it must call -@code{svc_getreqset} just as @code{Provide ()} does. -@example -void RpcService::Provide () -@{ - int dtbsz = getdtablesize(); - fd_set readfds; - - for(;;) - @{ - readfds = svc_fdset; - switch(select (dtbsz, &readfds, 0, 0, 0)) - @{ - case -1: - if (errno != EBADF) - continue; - cerr << "PRC++: select: " << sys_errlist[errno] << '\n'; - return; - break; - case 0: - continue; - default: - svc_getreqset (&readfds); - break; - @} - @} -@} -@end example - -The following methods are only available during the execution of a -callback, i.e., they can be applied to @code{RpcService} if a pointer to -the invoking object has been declared as last parameter of a callback -routine. - -@deftypefn Method {struct sockaddr_in*} Caller () -Return the socket address information of the calling host. -@end deftypefn - -@deftypefn Method char* CallerName () -Return the name of the calling host. -@end deftypefn - -@deftypefn Method void Reply () -@end deftypefn -@deftypefn Method void Reply (void* @var{res}) -Normally, a request to the server terminates when the callback completes -(either with or without returning a value, depending on the return -type). In some cases it is desirable to reply to the client before all -the actions related to the request have been completed. This allows the -client to resume execution. The result (if any) must of course not -depend on the functions still to be executed. -@end deftypefn - -@deftypefn Method void Interrupt () -This is the proper way to terminate the loop entered by calling -@code{Provide()}. After return from the callback that invoked -@code{Interrupt()} method @code{Provide()} will return. -@end deftypefn - -@page -@node RpcStub, , RpcService, Classes -@comment node-name, next, previous, up -@section @code{RpcStub} -@cindex @code{RpcStub} - -Declared in: @code{"rpc++/stub.h"} - -@deftp Class RpcStub -An @code{RpcStub} represents the client side of a connection. -@end deftp - -There are two constructors for @code{RpcStub} that vary in the position -of their arguments only: - -@deftypefn Constructor {} RpcStub (u_long @code{prognum}, u_long @code{versnum}, char* @var{hostname}="localhost", timeval @var{timeout}=defaultTimeout, bool @var{connect}=TRUE) -@end deftypefn -@deftypefn Constructor {} RpcStub (u_long @code{prognum}, u_long @code{versnum}, char* @var{hostname}="localhost", bool @var{connect}=TRUE, timeval @var{timeout}=defaultTimeout) -Construct an @code{RpcStub} that connects to the @var{versnum}'th -version of program (service) @var{prognum} on host @var{hostname}. The -timeout for successful completion of communication operations is -@var{timeout} which defaults to 25 seconds. Unless @var{connect} is -false, the constructor makes a connection attempt. -@end deftypefn - -There are various methods: - -@deftypefn Method void Reconnect () -Connect to the server. Usually this method is called if the connection -was not to be established by the constructor or if the connection -attempt failed and is to be repeated. -@end deftypefn - -@deftypefn Method bool OK () -Returns TRUE if the stub is ready for operation, i.e., connected to a -server. -@end deftypefn - -@deftypefn Method CLIENT* Service () -Access to the standard RPC level. Returns the handle that identifies the -server. -@end deftypefn - -@deftypefn Method timeval GetTimeout () const -Returns the default timeout for network operations. -@end deftypefn - -@deftypefn Method void SetTimeout (timeval& @var{timo}) -Sets the default timeout for network operations -@end deftypefn - -@deftypefn Method void* Call (RpcRequest& @var{req}, bool @var{handle_errors}=TRUE) -@end deftypefn -@deftypefn Method void* Call (RpcRequest& @var{req}, void* @var{in1}, bool @var{handle_errors}=TRUE) -@end deftypefn -@deftypefn Method void* Call (RpcRequest& @var{req}, void* @var{in1}, @var{in2} bool @var{handle_errors}=TRUE) -Request the operation specified by @var{req} from the server, passing -zero, one or two arguments. There are declarations of this method for up -two seven arguments. Arguments are passed as pointers to the argument -values. The value returned by @code{Call} is a pointer to the result -returned by the server. The result is valid until @code{Call} is called -again. If @var{handle_errors} is FALSE and an error occurs, @code{Call} -simply returns 0. Else, it calls method @code{HandleError} (see below). -@end deftypefn -@deftypefn Method void* Call (RpcRequest& @var{req}, void** @var{invals}, bool @var{handle_errors}=TRUE) -The variant of @code{Call} that handles an arbitrary number of -arguments. Pointers to the arguments are passed in an array in -parameter @var{invals}. The size of the array must match the number of -arguments given to the constructor of @var{req}. -@end deftypefn - -@deftypefn Method {virtual void*} HandleError () -@code{HandleError} is a protected method that is called when an error -occurs. The cause of the error is stored in a protected member variable -@code{errorState}. If the default error handling policy (shown below) is -not appropriate for your application, derive your own class from -@code{RpcStub} that implements a different one. If you consider an error -recoverable, reset @code{errorState} to @code{RpcStub::noError} in your -error handler. Else, @code{OK ()} keeps returning FALSE. If an error -occurs during a @code{Call} and parameter @var{handle_errors} is TRUE, -@code{Call} invokes @code{HandleError} and returns its result as result -of the call. -@example -void* RpcStub::HandleError () -@{ - switch (errorState) - @{ - case notConnected: - cerr << "rpc++: Stub has not been connected to server.\n"; - case cantCreate: - cerr << clnt_spcreateerror ("rpc++") << '\n'; - break; - case cantCall: - cerr << clnt_sperror (svc, "rpc++") << '\n'; - exit (1); - @} - return 0; -@} -@end example -@end deftypefn - -While no or little improvement of coding quality can be gained from -deriving a service specific class from @code{RpcService}, the opposite -is true for @code{RpcStub}. A service specific derivation may define -methods that have the ``real'' argument lists instead of pointers to -void. These methods are simply implemented by casting the arguments and -(inline) calling one of the @code{Call}--methods. Apart from better -type checking, this has the advantage of keeping details like the -available @code{RpcRequest}s local to the definition of the derived -class (see the example in the @code{example}--directory). - -@node Caveats, References, Classes, Top -@comment node-name, next, previous, up -@chapter Caveats -@cindex Caveats - -@menu -* Global objects:: Global objects -* Destruction rules:: Destruction rules -* Matching server and clients:: Matching server and clients -@end menu - -@node Global objects, Destruction rules, , Caveats -@comment node-name, next, previous, up -@section Global objects -@cindex Global objects - -As a general C++ rule, be careful with global objects. The sequence of -constructor invocations for global objects is not defined. This is the -reason, why @code{RpcRequests} are constructed from pointers to -@code{XdrInfo}s rather than from @code{XdrInfo}s. - -Both @code{XdrInfo}s and @code{RpcRequest}s tend to be instantiated as -global objects or static member variables. If the constructor of -@code{RpcRequest} received @code{XdrInfo}s instead of pointers and -copied the information contained in the @code{XdrInfo} (the solution I -had preferred), it may happen that the @code{XdrInfo} has not been -constructed yet and thus contains invalid data. - -The same problem occurs if you want to define a global -``alias--@code{XdrInfo}'' matching a ``@code{typedef int myint}''. -Don't use @code{XdrInfo Xmyint (Xdr::Xint)} as this may copy the -uninitialized @code{Xdr::Xint}. Use @code{XdrInfo& Xmyint = Xdr::Xint} -instead. - -@node Destruction rules, Matching server and clients, Global objects, Caveats -@comment node-name, next, previous, up -@section Destruction rules -@cindex Destruction rules - -Objects of type @code{XdrInfo} are resources that can be used more than -once, i.e., in different @code{RpcRequest}s. If they were handled -properly, references to @code{XdrInfo} would be counted and the -@code{XdrInfo} destructed automatically if the last reference is -removed (unless it is the @code{XdrInfo} of a predefined type). - -Such a resource management for @code{XdrInfo}s has been considered -unnecessary as @code{XdrInfo}s will rarely be dynamic objects. If the -user allocates an @code{XdrInfo} on the stack or the heap, it is his -responsibility to assure that the object is valid until the last -@code{RpcResource} that uses it has been destructed. - -@node Matching server and clients, , Destruction rules, Caveats -@comment node-name, next, previous, up -@section Matching server and clients - -In order to make sure that the server and the clients agree about the -protocol, all @code{RpcRequest}s for a service should be declared in a -header file and instantiated in a corresponding source file. The header -file and the compiled source file make the ``library'' that provides the -service. Thus a server consists of three files: the server executable, a -header file defining the service that is to be included in client -sources and an object file which must be linked to the client -executable. - -@c ====================================================================== - -@node References, Copying, Caveats, Top -@comment node-name, next, previous, up -@unnumbered References - -Margaret A. Ellis, @cite{The Annotated C++ Reference Manual}, -Addison-Wesley, 1990. - -Stanley B. Lippmann, @cite{A C++ Primer}, Addison-Wesley, 1989. - -Bjarne Stroustrup, @cite{The C++ Programming Language}, Addison-Wesley, -1986. - -Sun Microsystems, @cite{Network Programming}, March 1990. - -@c ====================================================================== - -@node Copying, Data Type Index, References, Top -@appendix GNU LIBRARY GENERAL PUBLIC LICENSE -@center Version 2, June 1991 - -@display -Copyright @copyright{} 1991 Free Software Foundation, Inc. -675 Mass Ave, Cambridge, MA 02139, USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. -@end display - -@unnumberedsec Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software---to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -``work based on the library'' and a ``work that uses the library''. The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - -@iftex -@unnumberedsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -@end iftex -@ifinfo -@center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -@end ifinfo - -@enumerate -@item -This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called ``this License''). Each licensee is -addressed as ``you''. - - A ``library'' means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The ``Library'', below, refers to any such software library or work -which has been distributed under these terms. A ``work based on the -Library'' means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term ``modification''.) - - ``Source code'' for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - -@item -You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - -@item -You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - -@enumerate -@item -The modified work must itself be a software library. - -@item -You must cause the files modified to carry prominent notices -stating that you changed the files and the date of any change. - -@item -You must cause the whole of the work to be licensed at no -charge to all third parties under the terms of this License. - -@item -If a facility in the modified Library refers to a function or a -table of data to be supplied by an application program that uses -the facility, other than as an argument passed when the facility -is invoked, then you must make a good faith effort to ensure that, -in the event an application does not supply such function or -table, the facility still operates, and performs whatever part of -its purpose remains meaningful. - -(For example, a function in a library to compute square roots has -a purpose that is entirely well-defined independent of the -application. Therefore, Subsection 2d requires that any -application-supplied function or table used by this function must -be optional: if the application does not supply it, the square -root function must still compute square roots.) -@end enumerate - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - -@item -You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - -@item -You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - -@item -A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a ``work that uses the Library''. Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a ``work that uses the Library'' with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a ``work that uses the -library''. The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a ``work that uses the Library'' uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - -@item -As an exception to the Sections above, you may also compile or -link a ``work that uses the Library'' with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - -@enumerate -@item -Accompany the work with the complete corresponding -machine-readable source code for the Library including whatever -changes were used in the work (which must be distributed under -Sections 1 and 2 above); and, if the work is an executable linked -with the Library, with the complete machine-readable ``work that -uses the Library'', as object code and/or source code, so that the -user can modify the Library and then relink to produce a modified -executable containing the modified Library. (It is understood -that the user who changes the contents of definitions files in the -Library will not necessarily be able to recompile the application -to use the modified definitions.) - -@item -Accompany the work with a written offer, valid for at -least three years, to give the same user the materials -specified in Subsection 6a, above, for a charge no more -than the cost of performing this distribution. - -@item -If distribution of the work is made by offering access to copy -from a designated place, offer equivalent access to copy the above -specified materials from the same place. - -@item -Verify that the user has already received a copy of these -materials or that you have already sent this user a copy. -@end enumerate - - For an executable, the required form of the ``work that uses the -Library'' must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - -@item -You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - -@enumerate -@item -Accompany the combined library with a copy of the same work -based on the Library, uncombined with any other library -facilities. This must be distributed under the terms of the -Sections above. - -@item -Give prominent notice with the combined library of the fact -that part of it is a work based on the Library, and explaining -where to find the accompanying uncombined form of the same work. -@end enumerate - -@item -You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - -@item -You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - -@item -Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - -@item -If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - -@item -If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - -@item -The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -``any later version'', you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - -@item -If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - -@iftex -@heading NO WARRANTY -@end iftex -@ifinfo -@center NO WARRANTY -@end ifinfo - -@item -BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY ``AS IS'' WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -@item -IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. -@end enumerate - -@iftex -@heading END OF TERMS AND CONDITIONS -@end iftex -@ifinfo -@center END OF TERMS AND CONDITIONS -@end ifinfo - -@page -@unnumberedsec How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -``copyright'' line and a pointer to where the full notice is found. - -@smallexample -@var{one line to give the library's name and a brief idea of what it does.} -Copyright (C) @var{year} @var{name of author} - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free -Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -@end smallexample - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a ``copyright disclaimer'' for the library, if -necessary. Here is a sample; alter the names: - -@example -Yoyodyne, Inc., hereby disclaims all copyright interest in the -library `Frob' (a library for tweaking knobs) written by James Random Hacker. - -@var{signature of Ty Coon}, 1 April 1990 -Ty Coon, President of Vice -@end example - -That's all there is to it! - -@c ======================================================================== - -@page -@node Data Type Index, Function Index, Copying, Top -@comment node-name, next, previous, up -@unnumbered Data Type Index - -@printindex tp - -@node Function Index, Concept Index, Data Type Index, Top -@comment node-name, next, previous, up -@unnumbered Function and Method Index - -@printindex fn - -@node Concept Index, , Function Index, Top -@comment node-name, next, previous, up -@unnumbered Concept Index - -@printindex cp - -@contents -@bye diff --git a/rpc++/rpc++.toc b/rpc++/rpc++.toc deleted file mode 100644 index 95eea1fd88c..00000000000 --- a/rpc++/rpc++.toc +++ /dev/null @@ -1,23 +0,0 @@ -\chapentry {Overview}{1}{1} -\chapentry {Installation}{2}{2} -\chapentry {The classes}{3}{3} -\secentry {\code {XdrInfo}}{3}{1}{3} -\secentry {\code {RpcRequest}}{3}{2}{5} -\secentry {Callbacks}{3}{3}{7} -\subsecentry {\code {RpcCallback}}{3}{3}{1}{7} -\subsecentry {\code {RpcMethodCall}}{3}{3}{2}{9} -\subsecentry {\code {Calling Conventions}}{3}{3}{3}{10} -\secentry {\code {RpcService}}{3}{4}{12} -\secentry {\code {RpcStub}}{3}{5}{16} -\chapentry {Caveats}{4}{19} -\secentry {Global objects}{4}{1}{19} -\secentry {Destruction rules}{4}{2}{19} -\secentry {Matching server and clients}{4}{3}{19} -\unnumbchapentry {References}{21} -\chapentry {GNU LIBRARY GENERAL PUBLIC LICENSE}{Appendix \char65}{22} -\unnumbsecentry{Preamble}{22} -\unnumbsecentry{TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION}{24} -\unnumbsecentry{How to Apply These Terms to Your New Libraries}{30} -\unnumbchapentry {Data Type Index}{31} -\unnumbchapentry {Function and Method Index}{32} -\unnumbchapentry {Concept Index}{33} diff --git a/rpc++/rpc++.tp b/rpc++/rpc++.tp deleted file mode 100644 index 80265f4d91c..00000000000 --- a/rpc++/rpc++.tp +++ /dev/null @@ -1,7 +0,0 @@ -\entry {XdrInfo}{3}{\code {XdrInfo}} -\entry {RpcRequest}{5}{\code {RpcRequest}} -\entry {AnyRpcCallback}{7}{\code {AnyRpcCallback}} -\entry {RpcCallback}{7}{\code {RpcCallback}} -\entry {RpcMethodCall}{9}{\code {RpcMethodCall}} -\entry {RpcService}{12}{\code {RpcService}} -\entry {RpcStub}{16}{\code {RpcStub}} diff --git a/rpc++/rpc++.vr b/rpc++/rpc++.vr deleted file mode 100644 index 2ad8f41a633..00000000000 --- a/rpc++/rpc++.vr +++ /dev/null @@ -1,13 +0,0 @@ -\entry {Xdr::Xchar}{3}{\code {Xdr::Xchar}} -\entry {Xdr::Xshort}{3}{\code {Xdr::Xshort}} -\entry {Xdr::Xint}{4}{\code {Xdr::Xint}} -\entry {Xdr::Xlong}{4}{\code {Xdr::Xlong}} -\entry {Xdr::Xuchar}{4}{\code {Xdr::Xuchar}} -\entry {Xdr::Xushort}{4}{\code {Xdr::Xushort}} -\entry {Xdr::Xulong}{4}{\code {Xdr::Xulong}} -\entry {Xdr::Xfloat}{4}{\code {Xdr::Xfloat}} -\entry {Xdr::Xdouble}{4}{\code {Xdr::Xdouble}} -\entry {Xdr::Xenum{\_}t}{4}{\code {Xdr::Xenum{\_}t}} -\entry {Xdr::Xbool{\_}t}{4}{\code {Xdr::Xbool{\_}t}} -\entry {Xdr::Xvoid}{4}{\code {Xdr::Xvoid}} -\entry {Xdr::Xnull}{4}{\code {Xdr::Xnull}} diff --git a/rpc++/rpc++/callback.h b/rpc++/rpc++/callback.h deleted file mode 100644 index 6200178263f..00000000000 --- a/rpc++/rpc++/callback.h +++ /dev/null @@ -1,533 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -#ifndef _RPCCALLBACK_H_ -#define _RPCCALLBACK_H_ -static char _rpcpp_callback_h_[] -= "callback.h,v 2.3 1992/06/15 19:13:26 mnl Exp"; - -// callback.h,v -// Revision 2.3 1992/06/15 19:13:26 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:37 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:43 mnl -// Initial mnl version. -// - -// -// The user interface to RpcCallback is quiet simple. The only function -// needed is the constructor "RpcCallback (T* o, void* m)". Given a class -// C with a method m and an object o of Type C, a callback to the method -// can be constructed with "RpcCallback (&O, &C::m)". -// As an alternative, an RpcExtCallback may be constructed with -// "RpcExtCallback (T* o, void* m, RpcService*)". In this case, the method -// is called with a pointer to the RpcService object as a third argument. -// -// A pointer to a callback can be casted to AnyRpcCallback by -// whatever routine receives it and the call can be made by applying "Do" -// to the callback. -// - -class RpcService; - -class AnyRpcCallback -{ - friend class RpcService; - -protected: - int params; - RpcService* svc; - virtual void* Do (void** in) = 0; - -public: - inline virtual ~AnyRpcCallback () {} - inline virtual AnyRpcCallback* CopyToHeap () const = 0; - inline int Params () const - { return params; } - inline void SetService (RpcService* s) - { svc = s; } -}; - -class RpcCallback : public AnyRpcCallback -{ -private: - typedef void* (*ProcN)(void**); - typedef void* (*Proc0)(); - typedef void* (*Proc1)(void*); - typedef void* (*Proc2)(void*, void*); - typedef void* (*Proc3)(void*, void*, void*); - typedef void* (*Proc4)(void*, void*, void*, void*); - typedef void* (*Proc5)(void*, void*, void*, void*, void*); - typedef void* (*Proc6)(void*, void*, void*, void*, void*, void*); - typedef void* (*Proc7)(void*, void*, void*, void*, void*, void*, void*); - - typedef void (*ProcNv)(void**); - typedef void (*Proc0v)(); - typedef void (*Proc1v)(void*); - typedef void (*Proc2v)(void*, void*); - typedef void (*Proc3v)(void*, void*, void*); - typedef void (*Proc4v)(void*, void*, void*, void*); - typedef void (*Proc5v)(void*, void*, void*, void*, void*); - typedef void (*Proc6v)(void*, void*, void*, void*, void*, void*); - typedef void (*Proc7v)(void*, void*, void*, void*, void*, void*, void*); - - typedef void* (*ProcNs)(void**, RpcService*); - typedef void* (*Proc0s)(RpcService*); - typedef void* (*Proc1s)(void*, RpcService*); - typedef void* (*Proc2s)(void*, void*, RpcService*); - typedef void* (*Proc3s)(void*, void*, void*, RpcService*); - typedef void* (*Proc4s)(void*, void*, void*, void*, RpcService*); - typedef void* (*Proc5s)(void*, void*, void*, void*, void*, RpcService*); - typedef void* (*Proc6s)(void*, void*, void*, void*, - void*, void*, RpcService*); - typedef void* (*Proc7s)(void*, void*, void*, void*, - void*, void*, void*, RpcService*); - - typedef void (*ProcNvs)(void**, RpcService*); - typedef void (*Proc0vs)(RpcService*); - typedef void (*Proc1vs)(void*, RpcService*); - typedef void (*Proc2vs)(void*, void*, RpcService*); - typedef void (*Proc3vs)(void*, void*, void*, RpcService*); - typedef void (*Proc4vs)(void*, void*, void*, void*, RpcService*); - typedef void (*Proc5vs)(void*, void*, void*, void*, void*, RpcService*); - typedef void (*Proc6vs)(void*, void*, void*, void*, - void*, void*, RpcService*); - typedef void (*Proc7vs)(void*, void*, void*, void*, - void*, void*, void*, RpcService*); - - typedef void* (RpcCallback::*DoPtr)(void**); - DoPtr todo; - union - { - ProcN procN;ProcNv procNv;ProcNs procNs;ProcNvs procNvs; - Proc0 proc0;Proc0v proc0v;Proc0s proc0s;Proc0vs proc0vs; - Proc1 proc1;Proc1v proc1v;Proc1s proc1s;Proc1vs proc1vs; - Proc2 proc2;Proc2v proc2v;Proc2s proc2s;Proc2vs proc2vs; - Proc3 proc3;Proc3v proc3v;Proc3s proc3s;Proc3vs proc3vs; - Proc4 proc4;Proc4v proc4v;Proc4s proc4s;Proc4vs proc4vs; - Proc5 proc5;Proc5v proc5v;Proc5s proc5s;Proc5vs proc5vs; - Proc6 proc6;Proc6v proc6v;Proc6s proc6s;Proc6vs proc6vs; - Proc7 proc7;Proc7v proc7v;Proc7s proc7s;Proc7vs proc7vs; - }; - inline RpcCallback () {} - inline void* Do (void** in) - { return (this->*todo)(in); } - - inline void* DoN (void** in) - { return (*procN)(in); } - inline void* Do0 (void** in) - { return (*proc0)(); } - inline void* Do1 (void** in) - { return (*proc1)(in[0]); } - inline void* Do2 (void** in) - { return (*proc2)(in[0], in[1]); } - inline void* Do3 (void** in) - { return (*proc3)(in[0], in[1], in[2]); } - inline void* Do4 (void** in) - { return (*proc4)(in[0], in[1], in[2], in[3]); } - inline void* Do5 (void** in) - { return (*proc5)(in[0], in[1], in[2], in[3], in[4]); } - inline void* Do6 (void** in) - { return (*proc6)(in[0], in[1], in[2], in[3], in[4], in[5]); } - inline void* Do7 (void** in) - { return (*proc7)(in[0], in[1], in[2], in[3], in[4], in[5], in[6]); } - inline void* DoNv (void** in) - { (*procNv)(in); return (void*)0; } - inline void* Do0v (void** in) - { (*proc0v)(); return (void*)0; } - inline void* Do1v (void** in) - { (*proc1v)(in[0]); return (void*)0; } - inline void* Do2v (void** in) - { (*proc2v)(in[0], in[1]); return (void*)0; } - inline void* Do3v (void** in) - { (*proc3v)(in[0], in[1], in[2]); return (void*)0; } - inline void* Do4v (void** in) - { (*proc4v)(in[0], in[1], in[2], in[3]); return (void*)0; } - inline void* Do5v (void** in) - { (*proc5v)(in[0], in[1], in[2], in[3], in[4]); return (void*)0; } - inline void* Do6v (void** in) - { (*proc6v)(in[0], in[1], in[2], in[3], in[4], in[5]); return (void*)0; } - inline void* Do7v (void** in) - { (*proc7v)(in[0], in[1], in[2], in[3], in[4], in[5], in[6]); - return (void*)0; } - - inline void* DoNs (void** in) - { return (*procNs)(in, svc); } - inline void* Do0s (void** in) - { return (*proc0s)(svc); } - inline void* Do1s (void** in) - { return (*proc1s)(in[0], svc); } - inline void* Do2s (void** in) - { return (*proc2s)(in[0], in[1], svc); } - inline void* Do3s (void** in) - { return (*proc3s)(in[0], in[1], in[2], svc); } - inline void* Do4s (void** in) - { return (*proc4s)(in[0], in[1], in[2], in[3], svc); } - inline void* Do5s (void** in) - { return (*proc5s)(in[0], in[1], in[2], in[3], in[4], svc); } - inline void* Do6s (void** in) - { return (*proc6s)(in[0], in[1], in[2], in[3], in[4], in[5], svc); } - inline void* Do7s (void** in) - { return (*proc7s)(in[0], in[1], in[2], in[3], in[4], in[5], in[6], svc); } - inline void* DoNvs (void** in) - { (*procNvs)(in, svc); return (void*)0; } - inline void* Do0vs (void** in) - { (*proc0vs)(svc); return (void*)0; } - inline void* Do1vs (void** in) - { (*proc1vs)(in[0], svc); return (void*)0; } - inline void* Do2vs (void** in) - { (*proc2vs)(in[0], in[1], svc); return (void*)0; } - inline void* Do3vs (void** in) - { (*proc3vs)(in[0], in[1], in[2], svc); return (void*)0; } - inline void* Do4vs (void** in) - { (*proc4vs)(in[0], in[1], in[2], in[3], svc); return (void*)0; } - inline void* Do5vs (void** in) - { (*proc5vs)(in[0], in[1], in[2], in[3], in[4], svc); return (void*)0; } - inline void* Do6vs (void** in) - { (*proc6vs)(in[0], in[1], in[2], in[3], in[4], in[5], svc); - return (void*)0; } - inline void* Do7vs (void** in) - { (*proc7vs)(in[0], in[1], in[2], in[3], - in[4], in[5], in[6], svc); return (void*)0; } - -public: - inline RpcCallback (ProcN p) - { todo = &this->DoN; procN = p; params = -1; } - inline RpcCallback (Proc0 p) - { todo = &this->Do0; proc0 = p; params = 0; } - inline RpcCallback (Proc1 p) - { todo = &this->Do1; proc1 = p; params = 1; } - inline RpcCallback (Proc2 p) - { todo = &this->Do2; proc2 = p; params = 2; } - inline RpcCallback (Proc3 p) - { todo = &this->Do3; proc3 = p; params = 3; } - inline RpcCallback (Proc4 p) - { todo = &this->Do4; proc4 = p; params = 4; } - inline RpcCallback (Proc5 p) - { todo = &this->Do5; proc5 = p; params = 5; } - inline RpcCallback (Proc6 p) - { todo = &this->Do6; proc6 = p; params = 6; } - inline RpcCallback (Proc7 p) - { todo = &this->Do7; proc7 = p; params = 7; } - - inline RpcCallback (ProcNv p) - { todo = &this->DoNv; procNv = p; params = -1; } - inline RpcCallback (Proc0v p) - { todo = &this->Do0v; proc0v = p; params = 0; } - inline RpcCallback (Proc1v p) - { todo = &this->Do1v; proc1v = p; params = 1; } - inline RpcCallback (Proc2v p) - { todo = &this->Do2v; proc2v = p; params = 2; } - inline RpcCallback (Proc3v p) - { todo = &this->Do3v; proc3v = p; params = 3; } - inline RpcCallback (Proc4v p) - { todo = &this->Do4v; proc4v = p; params = 4; } - inline RpcCallback (Proc5v p) - { todo = &this->Do5v; proc5v = p; params = 5; } - inline RpcCallback (Proc6v p) - { todo = &this->Do6v; proc6v = p; params = 6; } - inline RpcCallback (Proc7v p) - { todo = &this->Do7v; proc7v = p; params = 7; } - - inline RpcCallback (ProcNs p) - { todo = &this->DoNs; procNs = p; params = -1; } - inline RpcCallback (Proc0s p) - { todo = &this->Do0s; proc0s = p; params = 0; } - inline RpcCallback (Proc1s p) - { todo = &this->Do1s; proc1s = p; params = 1; } - inline RpcCallback (Proc2s p) - { todo = &this->Do2s; proc2s = p; params = 2; } - inline RpcCallback (Proc3s p) - { todo = &this->Do3s; proc3s = p; params = 3; } - inline RpcCallback (Proc4s p) - { todo = &this->Do4s; proc4s = p; params = 4; } - inline RpcCallback (Proc5s p) - { todo = &this->Do5s; proc5s = p; params = 5; } - inline RpcCallback (Proc6s p) - { todo = &this->Do6s; proc6s = p; params = 6; } - inline RpcCallback (Proc7s p) - { todo = &this->Do7s; proc7s = p; params = 7; } - - inline RpcCallback (ProcNvs p) - { todo = &this->DoNvs; procNvs = p; params = -1; } - inline RpcCallback (Proc0vs p) - { todo = &this->Do0vs; proc0vs = p; params = 0; } - inline RpcCallback (Proc1vs p) - { todo = &this->Do1vs; proc1vs = p; params = 1; } - inline RpcCallback (Proc2vs p) - { todo = &this->Do2vs; proc2vs = p; params = 2; } - inline RpcCallback (Proc3vs p) - { todo = &this->Do3vs; proc3vs = p; params = 3; } - inline RpcCallback (Proc4vs p) - { todo = &this->Do4vs; proc4vs = p; params = 4; } - inline RpcCallback (Proc5vs p) - { todo = &this->Do5vs; proc5vs = p; params = 5; } - inline RpcCallback (Proc6vs p) - { todo = &this->Do6vs; proc6vs = p; params = 6; } - inline RpcCallback (Proc7vs p) - { todo = &this->Do7vs; proc7vs = p; params = 7; } - - inline virtual AnyRpcCallback* CopyToHeap () const - { - RpcCallback* p = new RpcCallback (); - *p = *this; - return p; - } -}; - -template class RpcMethodCall : public AnyRpcCallback -{ -private: - typedef void* (T::*MethodN)(void**); - typedef void* (T::*Method0)(); - typedef void* (T::*Method1)(void*); - typedef void* (T::*Method2)(void*, void*); - typedef void* (T::*Method3)(void*, void*, void*); - typedef void* (T::*Method4)(void*, void*, void*, void*); - typedef void* (T::*Method5)(void*, void*, void*, void*, void*); - typedef void* (T::*Method6)(void*, void*, void*, void*, void*, void*); - typedef void* (T::*Method7)(void*, void*, void*, void*, void*, void*, void*); - - typedef void (T::*MethodNv)(void**); - typedef void (T::*Method0v)(); - typedef void (T::*Method1v)(void*); - typedef void (T::*Method2v)(void*, void*); - typedef void (T::*Method3v)(void*, void*, void*); - typedef void (T::*Method4v)(void*, void*, void*, void*); - typedef void (T::*Method5v)(void*, void*, void*, void*, void*); - typedef void (T::*Method6v)(void*, void*, void*, void*, void*, void*); - typedef void (T::*Method7v)(void*, void*, void*, void*, void*, void*, void*); - - typedef void* (T::*MethodNs)(void**, RpcService*); - typedef void* (T::*Method0s)(RpcService*); - typedef void* (T::*Method1s)(void*, RpcService*); - typedef void* (T::*Method2s)(void*, void*, RpcService*); - typedef void* (T::*Method3s)(void*, void*, void*, RpcService*); - typedef void* (T::*Method4s)(void*, void*, void*, void*, RpcService*); - typedef void* (T::*Method5s)(void*, void*, void*, void*, void*, RpcService*); - typedef void* (T::*Method6s)(void*, void*, void*, void*, - void*, void*, RpcService*); - typedef void* (T::*Method7s)(void*, void*, void*, void*, - void*, void*, void*, RpcService*); - - typedef void (T::*MethodNvs)(void**, RpcService*); - typedef void (T::*Method0vs)(RpcService*); - typedef void (T::*Method1vs)(void*, RpcService*); - typedef void (T::*Method2vs)(void*, void*, RpcService*); - typedef void (T::*Method3vs)(void*, void*, void*, RpcService*); - typedef void (T::*Method4vs)(void*, void*, void*, void*, RpcService*); - typedef void (T::*Method5vs)(void*, void*, void*, void*, void*, RpcService*); - typedef void (T::*Method6vs)(void*, void*, void*, void*, - void*, void*, RpcService*); - typedef void (T::*Method7vs)(void*, void*, void*, void*, - void*, void*, void*, RpcService*); - - typedef void* (RpcMethodCall::*DoPtr)(void**); - DoPtr todo; - T* object; - union - { - MethodN methodN;MethodNv methodNv;MethodNs methodNs;MethodNvs methodNvs; - Method0 method0;Method0v method0v;Method0s method0s;Method0vs method0vs; - Method1 method1;Method1v method1v;Method1s method1s;Method1vs method1vs; - Method2 method2;Method2v method2v;Method2s method2s;Method2vs method2vs; - Method3 method3;Method3v method3v;Method3s method3s;Method3vs method3vs; - Method4 method4;Method4v method4v;Method4s method4s;Method4vs method4vs; - Method5 method5;Method5v method5v;Method5s method5s;Method5vs method5vs; - Method6 method6;Method6v method6v;Method6s method6s;Method6vs method6vs; - Method7 method7;Method7v method7v;Method7s method7s;Method7vs method7vs; - }; - inline RpcMethodCall () {} - inline void* Do (void** in) - { return (this->*todo)(in); } - - inline void* DoN (void** in) - { return (object->*methodN)(in); } - inline void* Do0 (void** in) - { return (object->*method0)(); } - inline void* Do1 (void** in) - { return (object->*method1)(in[0]); } - inline void* Do2 (void** in) - { return (object->*method2)(in[0], in[1]); } - inline void* Do3 (void** in) - { return (object->*method3)(in[0], in[1], in[2]); } - inline void* Do4 (void** in) - { return (object->*method4)(in[0], in[1], in[2], in[3]); } - inline void* Do5 (void** in) - { return (object->*method5)(in[0], in[1], in[2], in[3], in[4]); } - inline void* Do6 (void** in) - { return (object->*method6)(in[0], in[1], in[2], in[3], in[4], in[5]); } - inline void* Do7 (void** in) - { return (object->*method7)(in[0], in[1], in[2], - in[3], in[4], in[5], in[6]); } - inline void* DoNv (void** in) - { (object->*methodNv)(in); return (void*)0; } - inline void* Do0v (void** in) - { (object->*method0v)(); return (void*)0; } - inline void* Do1v (void** in) - { (object->*method1v)(in[0]); return (void*)0; } - inline void* Do2v (void** in) - { (object->*method2v)(in[0], in[1]); return (void*)0; } - inline void* Do3v (void** in) - { (object->*method3v)(in[0], in[1], in[2]); return (void*)0; } - inline void* Do4v (void** in) - { (object->*method4v)(in[0], in[1], in[2], in[3]); return (void*)0; } - inline void* Do5v (void** in) - { (object->*method5v)(in[0], in[1], in[2], in[3], in[4]); - return (void*)0; } - inline void* Do6v (void** in) - { (object->*method6v)(in[0], in[1], in[2], in[3], in[4], in[5]); - return (void*)0; } - inline void* Do7v (void** in) - { (object->*method7v)(in[0], in[1], in[2], in[3], in[4], in[5], in[6]); - return (void*)0; } - - inline void* DoNs (void** in) - { return (object->*methodNs)(in, svc); } - inline void* Do0s (void** in) - { return (object->*method0s)(svc); } - inline void* Do1s (void** in) - { return (object->*method1s)(in[0], svc); } - inline void* Do2s (void** in) - { return (object->*method2s)(in[0], in[1], svc); } - inline void* Do3s (void** in) - { return (object->*method3s)(in[0], in[1], in[2], svc); } - inline void* Do4s (void** in) - { return (object->*method4s)(in[0], in[1], in[2], in[3], svc); } - inline void* Do5s (void** in) - { return (object->*method5s)(in[0], in[1], in[2], in[3], in[4], svc); } - inline void* Do6s (void** in) - { return (object->*method6s)(in[0], in[1], in[2], - in[3], in[4], in[5], svc); } - inline void* Do7s (void** in) - { return (object->*method7s)(in[0], in[1], in[2], - in[3], in[4], in[5], in[6], svc); } - inline void* DoNvs (void** in) - { (object->*methodNvs)(in, svc); return (void*)0; } - inline void* Do0vs (void** in) - { (object->*method0vs)(svc); return (void*)0; } - inline void* Do1vs (void** in) - { (object->*method1vs)(in[0], svc); return (void*)0; } - inline void* Do2vs (void** in) - { (object->*method2vs)(in[0], in[1], svc); return (void*)0; } - inline void* Do3vs (void** in) - { (object->*method3vs)(in[0], in[1], in[2], svc); return (void*)0; } - inline void* Do4vs (void** in) - { (object->*method4vs)(in[0], in[1], in[2], in[3], svc); return (void*)0; } - inline void* Do5vs (void** in) - { (object->*method5vs)(in[0], in[1], in[2], in[3], in[4], svc); - return (void*)0; } - inline void* Do6vs (void** in) - { (object->*method6vs)(in[0], in[1], in[2], in[3], in[4], in[5], svc); - return (void*)0; } - inline void* Do7vs (void** in) - { (object->*method7vs)(in[0], in[1], in[2], in[3], - in[4], in[5], in[6], svc); return (void*)0; } - -public: - inline RpcMethodCall (T* o, MethodN m) - { todo = &this->DoN; object = o; methodN = m; params = -1; } - inline RpcMethodCall (T* o, Method0 m) - { todo = &this->Do0; object = o; method0 = m; params = 0; } - inline RpcMethodCall (T* o, Method1 m) - { todo = &this->Do1; object = o; method1 = m; params = 1; } - inline RpcMethodCall (T* o, Method2 m) - { todo = &this->Do2; object = o; method2 = m; params = 2; } - inline RpcMethodCall (T* o, Method3 m) - { todo = &this->Do3; object = o; method3 = m; params = 3; } - inline RpcMethodCall (T* o, Method4 m) - { todo = &this->Do4; object = o; method4 = m; params = 4; } - inline RpcMethodCall (T* o, Method5 m) - { todo = &this->Do5; object = o; method5 = m; params = 5; } - inline RpcMethodCall (T* o, Method6 m) - { todo = &this->Do6; object = o; method6 = m; params = 6; } - inline RpcMethodCall (T* o, Method7 m) - { todo = &this->Do7; object = o; method7 = m; params = 7; } - - inline RpcMethodCall (T* o, MethodNv m) - { todo = &this->DoNv; object = o; methodNv = m; params = -1; } - inline RpcMethodCall (T* o, Method0v m) - { todo = &this->Do0v; object = o; method0v = m; params = 0; } - inline RpcMethodCall (T* o, Method1v m) - { todo = &this->Do1v; object = o; method1v = m; params = 1; } - inline RpcMethodCall (T* o, Method2v m) - { todo = &this->Do2v; object = o; method2v = m; params = 2; } - inline RpcMethodCall (T* o, Method3v m) - { todo = &this->Do3v; object = o; method3v = m; params = 3; } - inline RpcMethodCall (T* o, Method4v m) - { todo = &this->Do4v; object = o; method4v = m; params = 4; } - inline RpcMethodCall (T* o, Method5v m) - { todo = &this->Do5v; object = o; method5v = m; params = 5; } - inline RpcMethodCall (T* o, Method6v m) - { todo = &this->Do6v; object = o; method6v = m; params = 6; } - inline RpcMethodCall (T* o, Method7v m) - { todo = &this->Do7v; object = o; method7v = m; params = 7; } - - inline RpcMethodCall (T* o, MethodNs m) - { todo = &this->DoNs; object = o; methodNs = m; params = -1; } - inline RpcMethodCall (T* o, Method0s m) - { todo = &this->Do0s; object = o; method0s = m; params = 0; } - inline RpcMethodCall (T* o, Method1s m) - { todo = &this->Do1s; object = o; method1s = m; params = 1; } - inline RpcMethodCall (T* o, Method2s m) - { todo = &this->Do2s; object = o; method2s = m; params = 2; } - inline RpcMethodCall (T* o, Method3s m) - { todo = &this->Do3s; object = o; method3s = m; params = 3; } - inline RpcMethodCall (T* o, Method4s m) - { todo = &this->Do4s; object = o; method4s = m; params = 4; } - inline RpcMethodCall (T* o, Method5s m) - { todo = &this->Do5s; object = o; method5s = m; params = 5; } - inline RpcMethodCall (T* o, Method6s m) - { todo = &this->Do6s; object = o; method6s = m; params = 6; } - inline RpcMethodCall (T* o, Method7s m) - { todo = &this->Do7s; object = o; method7s = m; params = 7; } - - inline RpcMethodCall (T* o, MethodNvs m) - { todo = &this->DoNvs; object = o; methodNvs = m; params = -1; } - inline RpcMethodCall (T* o, Method0vs m) - { todo = &this->Do0vs; object = o; method0vs = m; params = 0; } - inline RpcMethodCall (T* o, Method1vs m) - { todo = &this->Do1vs; object = o; method1vs = m; params = 1; } - inline RpcMethodCall (T* o, Method2vs m) - { todo = &this->Do2vs; object = o; method2vs = m; params = 2; } - inline RpcMethodCall (T* o, Method3vs m) - { todo = &this->Do3vs; object = o; method3vs = m; params = 3; } - inline RpcMethodCall (T* o, Method4vs m) - { todo = &this->Do4vs; object = o; method4vs = m; params = 4; } - inline RpcMethodCall (T* o, Method5vs m) - { todo = &this->Do5vs; object = o; method5vs = m; params = 5; } - inline RpcMethodCall (T* o, Method6vs m) - { todo = &this->Do6vs; object = o; method6vs = m; params = 6; } - inline RpcMethodCall (T* o, Method7vs m) - { todo = &this->Do7vs; object = o; method7vs = m; params = 7; } - - inline virtual AnyRpcCallback* CopyToHeap () const - { - RpcMethodCall* p = new RpcMethodCall (); - *p = *this; - return p; - } -}; - -#endif diff --git a/rpc++/rpc++/request.h b/rpc++/rpc++/request.h deleted file mode 100644 index 04250bb3105..00000000000 --- a/rpc++/rpc++/request.h +++ /dev/null @@ -1,121 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -#ifndef _RPCREQUEST_H_ -#define _RPCREQUEST_H_ -static char _rpcpp_request_h_[] -= "request.h,v 2.3 1992/06/15 19:13:28 mnl Exp"; - -// request.h,v -// Revision 2.3 1992/06/15 19:13:28 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:39 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:43 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma interface -#endif - -#include "xdr++.h" - -// RpcRequest is a class that specifies an individual request that is -// part of a service. Three parameters are required to specify a request: -// - the request number -// - the serializer (XdrInfo) for the input to the request -// - the serializer (XdrInfo) for the output from the request -class RpcRequest -{ -private: - void init (u_long req, int pars, int parsz, - const XdrInfo* out, const XdrInfo** in, int rt); - -public: - // Construct a new request from a request id, the information about - // the input data and the information about the output data. - // Note that requests that are registered for a service are stored - // in an array using the request id as the index, so keep indices - // small. - typedef enum { normal, batched, async } ReqType; - // No input arg: - RpcRequest (u_long req, const XdrInfo* out, int t = normal); - // One input arg: - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo* in, - int t = normal); - // Two input args: - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo*, const XdrInfo*, - int t = normal); - // ... - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo*, const XdrInfo*, - const XdrInfo*, int t = normal); - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo*, const XdrInfo*, - const XdrInfo*, const XdrInfo*, int t = normal); - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo*, const XdrInfo*, - const XdrInfo*, const XdrInfo*, const XdrInfo*, int t = normal); - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo*, const XdrInfo*, - const XdrInfo*, const XdrInfo*, const XdrInfo*, const XdrInfo*, - int t = normal); - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo*, const XdrInfo*, - const XdrInfo*, const XdrInfo*, const XdrInfo*, const XdrInfo*, - const XdrInfo*, int t = normal); - // N input args, conversion routines given as a NULL terminated array - // of XdrInfo*: - RpcRequest (u_long req, const XdrInfo* out, const XdrInfo**, int t = normal); - ~RpcRequest (); - int RequestNumber () const; - const XdrInfo** InInfo (); - const XdrInfo* OutInfo (); - ReqType Type (); - int Params () const; - int ParamSize (); - -protected: - int params; - int parmsz; - u_long reqnum; - const XdrInfo** ininfo; - const XdrInfo* outinfo; - ReqType reqtype; -}; - -inline RpcRequest::~RpcRequest () -{ delete [] ininfo; } - -inline int RpcRequest::Params () const -{ return params; } - -inline int RpcRequest::RequestNumber () const -{ return reqnum; } - -inline const XdrInfo** RpcRequest::InInfo () -{ return ininfo; } - -inline const XdrInfo* RpcRequest::OutInfo () -{ return outinfo; } - -inline RpcRequest::ReqType RpcRequest::Type () -{ return reqtype; } - -#endif diff --git a/rpc++/rpc++/service.h b/rpc++/rpc++/service.h deleted file mode 100644 index 327c965ced3..00000000000 --- a/rpc++/rpc++/service.h +++ /dev/null @@ -1,132 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -#ifndef _RPCSERVICE_H_ -#define _RPCSERVICE_H_ -static char _rpcpp_service_h_[] -= "service.h,v 2.3 1992/06/15 19:13:30 mnl Exp"; - -// service.h,v -// Revision 2.3 1992/06/15 19:13:30 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:41 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:43 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma interface -#endif - -#undef TRUE -#undef FALSE -#include -#include "request.h" -#include "callback.h" - -class RpcRegistered; - -class RpcService -{ -public: - typedef enum - { noError, reconstructionAttempt, cantCreateTCPService, - cantRegisterService, notRegistered, cantGetArgs, - invalidResult, cantSendReply, cantFreeArgs, selectError, - } errorCode; - - // Get state - inline virtual bool OK () - { return errorState == noError; } - // Construct a service object for service prog, version vers - RpcService (u_long prog, u_long vers); - // Construct a transient service object for version vers - RpcService (u_long vers); - // Destruct the service - virtual ~RpcService (); - - // Get the program number (normally used after construction of transient) - u_long Program (); - - // Register an object and its method to be called on request - virtual void Register (const RpcRequest&, const AnyRpcCallback&); - - // The link to RPC - virtual void Dispatch (svc_req* req, SVCXPRT* transp); - // Provide the service. Never returns. - void Provide (); - - // Get caller. May be called during execution of a service routine. - inline struct sockaddr_in* Caller () - { return svc_getcaller (xprt); } - char* CallerName (); - // Reply before return - void Reply (void* res); - void Reply (); - // Quit provide loop - void Interrupt (); - -private: - // Save the address of the one and only RpcService in the process. - // There may be only one RpcService, because we can register a program - // with svc_register (method RpcServiceCallback) but we can't make - // the svc function give an argument to this function when doing a - // callback, which means that we can't have it distinguish between - // various instances of RpcService. - static RpcService* me; - static inline void RpcServiceCallback (svc_req* req, SVCXPRT* transp) - { RpcService::me->Dispatch (req, transp); } - -protected: - void init (); - void HandleError (errorCode e); - errorCode errorState; - u_long prog; - u_long vers; - RpcRegistered** handlers; - int maxHandlerIndex; - SVCXPRT* xprt; - RpcRequest* rpcreq; - bool quitLoop; - char* inbuf; - int inmax; - bool haveReplied; - - // Default error handling prints a message and exit(2)s. - virtual void HandleError (); -}; - -inline void RpcService::HandleError (errorCode e) -{ errorState = e; HandleError (); } - -inline u_long RpcService::Program () -{ return prog; } - -inline void RpcService::Reply () -{ Reply (0); } - -inline void RpcService::Interrupt () -{ quitLoop = TRUE; } - -#endif diff --git a/rpc++/rpc++/stub.h b/rpc++/rpc++/stub.h deleted file mode 100644 index 22d467f2441..00000000000 --- a/rpc++/rpc++/stub.h +++ /dev/null @@ -1,145 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -#ifndef _RPCSTUB_H_ -#define _RPCSTUB_H_ -static char _rpcpp_stub_h_[] -= "stub.h,v 2.3 1992/06/15 19:13:31 mnl Exp"; - -// stub.h,v -// Revision 2.3 1992/06/15 19:13:31 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:43 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:43 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma interface -#endif - -#undef TRUE -#undef FALSE -#include -#include -#include -#include "request.h" - -class RpcStub -{ -protected: - static timeval defaultTimeout; - static void* res; - static size_t resmax; - static xdrproc_t resproc; - void init (u_long prognum, u_long versnum, - char* hostname, timeval timeout, bool connect); - -public: - typedef enum - { noError, notConnected, cantCreate, cantCall, - } errorCode; - - // Construct a new stub - RpcStub (u_long prognum, u_long versnum, - char* hostname = "localhost", - timeval timeout = defaultTimeout, bool connect = TRUE); - RpcStub (u_long prognum, u_long versnum, - char* hostname = "localhost", - bool connect = TRUE, timeval timeout = defaultTimeout); - virtual ~RpcStub (); - - // Reconnect (in case of failure or delayed connection) - void Reconnect (); - - // Various inquiries - virtual bool OK (); - CLIENT* Service (); - - // Get/set timeout - timeval GetTimeout () const; - void SetTimeout (timeval& timo); - - // Make a call, either with or without an argument. If handle_errors - // is true, "Call" will call the error handler in case of an error. - // Else, it returns 0 as result and it is up to the client to handle - // the error. - // Call with one arg: - void* Call (RpcRequest&, bool handle_errors = TRUE); - // Call with two args: - void* Call (RpcRequest&, void* in, bool handle_errors = TRUE); - // ... - void* Call (RpcRequest& req, void*, void*, bool handle_errors = TRUE); - void* Call (RpcRequest& req, void*, void*, void*, bool handle_errors = TRUE); - void* Call (RpcRequest& req, void*, void*, void*, void*, - bool handle_errors = TRUE); - void* Call (RpcRequest& req, void*, void*, void*, void*, void*, - bool handle_errors = TRUE); - void* Call (RpcRequest& req, void*, void*, void*, void*, void*, void*, - bool handle_errors = TRUE); - void* Call (RpcRequest& req, void*, void*, void*, void*, void*, void*, void*, - bool handle_errors = TRUE); - // Call with N args: - void* Call (RpcRequest& req, void**, bool handle_errors = TRUE); - -protected: - void* HandleError (errorCode e); - errorCode errorState; - u_long program; - u_long version; - String server; - timeval timeout; - CLIENT* svc; - // Default error handling prints a message and exit(2)s. - virtual void* HandleError (); - void* DoCall (RpcRequest& req, void** args, bool handle_errors); -}; - -inline RpcStub::RpcStub (u_long prognum, u_long versnum, - char* hostname, timeval timeout, bool connect) -{ init (prognum, versnum, hostname, timeout, connect); } - -inline RpcStub::RpcStub (u_long prognum, u_long versnum, - char* hostname, bool connect, timeval timeout) -{ init (prognum, versnum, hostname, timeout, connect); } - -inline virtual bool RpcStub::OK () -{ return errorState == noError; } - -inline CLIENT* RpcStub::Service () -{ return svc; } - -inline timeval RpcStub::GetTimeout () const -{ return timeout; } - -inline void RpcStub::SetTimeout (timeval& timo) -{ timeout = timo; } - -inline void* RpcStub::Call (RpcRequest& req, bool handle_errors = TRUE) -{ return Call (req, (void*)0, handle_errors); } - -inline void* RpcStub::HandleError (errorCode e) -{ errorState = e; return HandleError (); } - -#endif diff --git a/rpc++/rpc++/xdr++.h b/rpc++/rpc++/xdr++.h deleted file mode 100644 index 72da1cb1d4c..00000000000 --- a/rpc++/rpc++/xdr++.h +++ /dev/null @@ -1,98 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -#ifndef _XDRPLPL_H_ -#define _XDRPLPL_H_ -static char _rpcpp_xdrpp_h_[] -= "xdr++.h,v 2.3 1992/06/15 19:13:33 mnl Exp"; - -// xdr++.h,v -// Revision 2.3 1992/06/15 19:13:33 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:44 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:43 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma interface -#endif - -/* -** Class XdrInfo describes serializers. It combines the xdrproc_t with the -** size info usually needed if you want to apply a serializer. -*/ - -#include - -class XdrInfo -{ -protected: - xdrproc_t proc; - size_t size; -public: - inline XdrInfo (xdrproc_t p, size_t s) - { proc = p; size = s; } - inline xdrproc_t Proc () const - { return proc; } - inline size_t Size () const - { return size; } -}; - -struct XdrSeqInfo -{ - XdrInfo** infos; - void** data; -}; - -/* -** Class Xdr provides a unique (C++-like) name scope for the predefined -** xdr routines by defining them as static members of type XdrInfo. -*/ - -class Xdr -{ -public: - static XdrInfo Xnull; - static XdrInfo Xchar; - static XdrInfo Xshort; - static XdrInfo Xint; - static XdrInfo Xlong; - static XdrInfo Xuchar; - static XdrInfo Xushort; - static XdrInfo Xuint; - static XdrInfo Xulong; - static XdrInfo Xfloat; - static XdrInfo Xdouble; - - static XdrInfo Xenum_t; - static XdrInfo Xbool_t; - static XdrInfo Xvoid; - - static XdrInfo Xwrapstring; - - static bool_t XdrParams (XDR* xdrs, XdrSeqInfo* xsi); -}; - -#endif diff --git a/rpc++/service.cc b/rpc++/service.cc deleted file mode 100644 index 8d548397a87..00000000000 --- a/rpc++/service.cc +++ /dev/null @@ -1,316 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -static char _rpcpp_service_cc_[] -= "service.cc,v 2.3 1992/06/15 19:12:44 mnl Exp"; - -// service.cc,v -// Revision 2.3 1992/06/15 19:12:44 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:02 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:42 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "rpc++/service.h" -#include "rpc++/request.h" - -extern "C" { - extern int getdtablesize(); -} - -// -// RpcRegistered -// - -class RpcRegistered -{ -public: - RpcRequest request; - AnyRpcCallback* callback; - - inline RpcRegistered (const RpcRequest& req, AnyRpcCallback* cb) - : request (req), callback (cb) { } - inline ~RpcRegistered () - { delete callback; } -}; - -// -// RpcService -// - -RpcService* RpcService::me = 0; - -RpcService::RpcService (u_long pnum, u_long vnum) -{ - init (); - prog = pnum; - vers = vnum; - // find out if we have been started by inetd and set transp accoringly. - sockaddr_in sa; - int sasz = sizeof (sa); - // if started by inetd, stdin is a socket - if (! getsockname (0, (sockaddr*)&sa, &sasz)) - { // yup, inetd is our parent - xprt = svctcp_create(0, 0, 0); - } - else - { // we are standalone - (void) pmap_unset(prog, vers); - xprt = svctcp_create(RPC_ANYSOCK, 0, 0); - } - if (xprt == NULL) - { - HandleError (cantCreateTCPService); - return; - } - if (!svc_register(xprt, prog, vers, RpcServiceCallback, IPPROTO_TCP)) - { - HandleError (cantRegisterService); - return; - } -} - -RpcService::RpcService (u_long vnum) -{ - init (); - vers = vnum; - prog = 0x40000000; - xprt = svctcp_create(RPC_ANYSOCK, 0, 0); - if (xprt == NULL) - { - HandleError (cantCreateTCPService); - return; - } - while (! pmap_set (prog, vers, IPPROTO_TCP, xprt->xp_port)) - prog++; - if (!svc_register(xprt, prog, vers, RpcServiceCallback, IPPROTO_TCP)) - { - HandleError (cantRegisterService); - return; - } -} - -void RpcService::init () -{ - errorState = noError; - if (me) - { - HandleError (reconstructionAttempt); - return; - } - me = this; - handlers = 0; - maxHandlerIndex = -1; - inbuf = 0; - inmax = 0; -} - -RpcService::~RpcService () -{ - svc_unregister (prog, vers); - for (int i = 0; i <= maxHandlerIndex; i++) - delete handlers[i]; - delete [] handlers; - delete [] inbuf; - me = 0; -} - -void RpcService::HandleError () -{ - switch (errorState) - { - case reconstructionAttempt: - cerr << "rpc++: Attempt to construct another instance of RpcService.\n"; - exit (1); - case cantCreateTCPService: - cerr << "rpc++: can't create tcp service.\n"; - exit(1); - case cantRegisterService: - cerr << form ("rpc++: can't register (%d, %d, tcp).", prog, vers); - exit(1); - case cantSendReply: - cerr << "rpc++: can't reply to RPC call.\n"; - break; - case invalidResult: - cerr << "rpc++: registered routine has return NULL pointer.\n"; - abort (); - case notRegistered: - cerr << "rpc++: requested RPC routine not registered.\n"; - break; - case cantGetArgs: - cerr << "rpc++: can't get procedure arguments.\n"; - break; - case cantFreeArgs: - cerr << "rpc++: can't free XDR arguments.\n"; - break; - } - errorState = noError; -} - -void RpcService::Register (const RpcRequest& req, const AnyRpcCallback& cb) -{ - assert (req.Params () == -1 || cb.Params () == -1 - || req.Params () == cb.Params ()); - AnyRpcCallback* cbp = cb.CopyToHeap (); - cbp->SetService (this); - if (req.RequestNumber () > maxHandlerIndex) - { - RpcRegistered** reg = new RpcRegistered*[req.RequestNumber () + 10]; - memcpy (reg, handlers, (maxHandlerIndex + 1) * sizeof (RpcRegistered*)); - memset (®[maxHandlerIndex + 1], 0, - (req.RequestNumber () + 10 - (maxHandlerIndex + 1)) - * sizeof (RpcRegistered*)); - delete handlers; - handlers = reg; - maxHandlerIndex = req.RequestNumber () + 10 - 1; - } - handlers[req.RequestNumber ()] = new RpcRegistered (req, cbp); -} - -void RpcService::Dispatch (svc_req* req, SVCXPRT* transp) -{ - xprt = transp; - if (req->rq_proc == NULLPROC) - { - if (! svc_sendreply (xprt, xdr_void, 0)) - { - svcerr_systemerr (xprt); - HandleError (cantSendReply); - } - return; - } - RpcRegistered* handler = ((req->rq_proc > maxHandlerIndex) - ? 0 - : handlers[req->rq_proc]); - if (! handler) - { - svcerr_noproc (xprt); - HandleError (notRegistered); - return; - } - rpcreq = &handler->request; - - int insz = rpcreq->ParamSize (); - if (insz > inmax) // does in-data fit in available buffer? - { // if not, increase buffer space - delete [] inbuf; - inbuf = new char[inmax = insz]; - } - void* dataps[rpcreq->Params ()]; - void** dp = dataps; - *dp = inbuf; - for (XdrInfo** ip = rpcreq->InInfo(); *ip; ip++, dp++) - dp[1] = (char*)dp[0] + (*ip)->Size (); - - memset (inbuf, 0, insz); - XdrSeqInfo xsi = { rpcreq->InInfo (), dataps }; - if (!svc_getargs (xprt, Xdr::XdrParams, &xsi)) - { - if (rpcreq->Type () == RpcRequest::normal) // errors can be reported - svcerr_decode (xprt); // only if the client waits for a result - HandleError (cantGetArgs); - return; - } - haveReplied = FALSE; - void* res = handler->callback->Do (dataps); - if (! haveReplied) - Reply (res); - if (!svc_freeargs (xprt, Xdr::XdrParams, &xsi)) - HandleError (cantFreeArgs); - xprt = 0; -} - -void RpcService::Reply (void* res) -{ - haveReplied = TRUE; - if (rpcreq->Type () == RpcRequest::normal) // i.e., result expected - { - xdrproc_t outproc = rpcreq->OutInfo()->Proc (); - if (outproc == (xdrproc_t)0) - { - cerr << "rpc++: RpcRequest has invalid xdrproc_t (0) in out-Info"; - abort (); - } - if (res == 0 && outproc != (xdrproc_t)xdr_void) - { - svcerr_systemerr (xprt); - HandleError (); - } - else if (!svc_sendreply - (xprt, rpcreq->OutInfo()->Proc (), res)) - { - svcerr_systemerr (xprt); - HandleError (cantSendReply); - } - } -} - -void RpcService::Provide () -{ - int dtbsz = getdtablesize(); - fd_set readfds; - - quitLoop = FALSE; - while (! quitLoop) - { - readfds = svc_fdset; - switch(select (dtbsz, &readfds, 0, 0, 0)) - { - case -1: - if (errno != EBADF) - continue; - cerr << "PRC++: select: " << sys_errlist[errno] << '\n'; - return; - break; - case 0: - continue; - default: - svc_getreqset (&readfds); - break; - } - } -} - -char* RpcService::CallerName () -{ - struct sockaddr_in *sa = Caller (); - struct hostent* he = gethostbyaddr (&sa->sin_addr, sizeof (sa->sin_addr), - sa->sin_family); - return he->h_name; -} diff --git a/rpc++/stub.cc b/rpc++/stub.cc deleted file mode 100644 index 38320d06a8a..00000000000 --- a/rpc++/stub.cc +++ /dev/null @@ -1,207 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -static char _rpcpp_stub_cc_[] -= "stub.cc,v 2.3 1992/06/15 19:12:46 mnl Exp"; - -// stub.cc,v -// Revision 2.3 1992/06/15 19:12:46 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:04 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:42 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include -#include -#include -#include "rpc++/stub.h" - -timeval RpcStub::defaultTimeout = { 25, 0 }; -void* RpcStub::res = 0; -size_t RpcStub::resmax = 0; -xdrproc_t RpcStub::resproc = 0; - -void RpcStub::init (u_long prog, u_long vers, - char* srv, timeval timo, bool connect) -{ - errorState = noError; - program = prog; - version = vers; - server = srv; - timeout = timo; - svc = 0; - if (connect) - Reconnect (); - else - errorState = notConnected; -} - -RpcStub::~RpcStub () -{ - if (resproc) // "Call" has been called at least once, - clnt_freeres (svc, resproc, res); // free any data allocated by clnt_call - if (svc) - clnt_destroy (svc); -} - -void* RpcStub::HandleError () -{ - switch (errorState) - { - case notConnected: - cerr << "rpc++: Stub has not been connected to server.\n"; - case cantCreate: - cerr << clnt_spcreateerror ("rpc++") << '\n'; - break; - case cantCall: - cerr << clnt_sperror (svc, "rpc++") << '\n'; - exit (1); - } - return 0; // suppress compiler warning -} - -void RpcStub::Reconnect () -{ - if (svc) - clnt_destroy (svc); - svc = clnt_create (server, program, version, "tcp"); // connect to client - if (svc == 0) // failed ? - { - HandleError (cantCreate); - errorState = notConnected; - return; - } - errorState = noError; -} - -void* RpcStub::Call (RpcRequest& req, void* in, bool handle_errors) -{ - void* args[] = { in }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void* in0, void* in1, bool handle_errors) -{ - void* args[] = { in0, in1 }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void* in0, void* in1, void* in2, - bool handle_errors) -{ - void* args[] = { in0, in1, in2 }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void* in0, void* in1, void* in2, - void* in3, bool handle_errors) -{ - void* args[] = { in0, in1, in2, in3 }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void* in0, void* in1, void* in2, - void* in3, void* in4, bool handle_errors) -{ - void* args[] = { in0, in1, in2, in3, in4 }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void* in0, void* in1, void* in2, - void* in3, void* in4, void* in5, bool handle_errors) -{ - void* args[] = { in0, in1, in2, in3, in4, in5 }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void* in0, void* in1, void* in2, - void* in3, void* in4, void* in5, void* in6, - bool handle_errors) -{ - void* args[] = { in0, in1, in2, in3, in4, in5, in6 }; - return DoCall (req, args, handle_errors); -} - -void* RpcStub::Call (RpcRequest& req, void** ins, bool handle_errors) -{ - return DoCall (req, ins, handle_errors); -} - -void* RpcStub::DoCall (RpcRequest& req, void** args, bool handle_errors) -{ - static timeval nullTimeout = { 0, 0 }; - - if (! OK () ) - { - if (! handle_errors) - return 0; - return HandleError (); - } - if (resproc) // "Call" has been called previously, - clnt_freeres (svc, resproc, res); // free any data allocated by clnt_call - resproc = req.OutInfo()->Proc (); // current output deserializer - if (req.OutInfo()->Size () > resmax) // enough space for result? - { - delete res; // delete old result buffer - res = new char[resmax = req.OutInfo()->Size ()]; // get a new one - } - if (req.OutInfo()->Size () > 0 ) // preset result (everyone does it, why?) - memset (res, 0, req.OutInfo()->Size ()); - - XdrSeqInfo xsi = { req.InInfo (), args }; - if (req.Type () == RpcRequest::normal) - { - if (clnt_call (svc, req.RequestNumber (), // do call - Xdr::XdrParams, &xsi, - req.OutInfo()->Proc (), res, - timeout) != RPC_SUCCESS) - { - if (! handle_errors) - return 0; - return HandleError (cantCall); - } - return res; - } - - // req.Type () is batched or async - enum clnt_stat callres; - callres = clnt_call (svc, req.RequestNumber (), // do call - Xdr::XdrParams, &xsi, - (req.Type () == RpcRequest::batched - ? (xdrproc_t)0 : xdr_void), res, - nullTimeout); - if (callres != RPC_SUCCESS && callres != RPC_TIMEDOUT) - { - if (! handle_errors) - return 0; - return HandleError (cantCall); - } - return res; -} - diff --git a/rpc++/version.h b/rpc++/version.h deleted file mode 100644 index 88a78665b13..00000000000 --- a/rpc++/version.h +++ /dev/null @@ -1,4 +0,0 @@ -// version.h,v 2.2 1992/06/15 19:12:47 mnl Exp -#ifndef _RPCPLPL_VERSION_H_ -static char* version = "rpc++-library, version 2.2" -#endif diff --git a/rpc++/xdr++.cc b/rpc++/xdr++.cc deleted file mode 100644 index 25f54d2e990..00000000000 --- a/rpc++/xdr++.cc +++ /dev/null @@ -1,75 +0,0 @@ -// -*- c++ -*- -/* -Copyright (C) 1991 Peter Bersen - -This file is part of the rpc++ Library. This library is free -software; you can redistribute it and/or modify it under the terms of -the GNU Library General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your -option) any later version. This library is distributed in the hope -that it will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -Modified and partially rewritten March 1992 by Michael N. Lipp, -mnl@dtro.e-technik.th-darmstadt.de. The original copyright terms and -conditions apply without change to any modified or new parts. -*/ - -static char _rpcpp_xdrpp_cc_[] -= "xdr++.cc,v 2.3 1992/06/15 19:12:49 mnl Exp"; - -// xdr++.cc,v -// Revision 2.3 1992/06/15 19:12:49 mnl -// Fixed a few bugs, clarified interface. -// -// Revision 2.2 1992/06/13 14:27:06 mnl -// Adapted to (patched) gcc-2.2. Fixed several bugs. -// -// Revision 2.1.1.1 1992/03/08 13:28:42 mnl -// Initial mnl version. -// - -#ifdef __GNUG__ -#pragma implementation -#endif - -/* -** See Xdr.h. -*/ - -#include "rpc++/xdr++.h" - -XdrInfo Xdr::Xnull ((xdrproc_t)0, 0); -XdrInfo Xdr::Xchar ((xdrproc_t)xdr_char, sizeof (char)); -XdrInfo Xdr::Xshort ((xdrproc_t)xdr_short, sizeof (short)); -XdrInfo Xdr::Xint ((xdrproc_t)xdr_int, sizeof (int)); -XdrInfo Xdr::Xlong ((xdrproc_t)xdr_long, sizeof (long)); -XdrInfo Xdr::Xuchar ((xdrproc_t)xdr_u_char, sizeof (u_char)); -XdrInfo Xdr::Xushort ((xdrproc_t)xdr_u_short, sizeof (u_short)); -XdrInfo Xdr::Xuint ((xdrproc_t)xdr_u_int, sizeof (u_int)); -XdrInfo Xdr::Xulong ((xdrproc_t)xdr_u_long, sizeof (u_long)); -XdrInfo Xdr::Xfloat ((xdrproc_t)xdr_float, sizeof (float)); -XdrInfo Xdr::Xdouble ((xdrproc_t)xdr_double, sizeof (double)); - -XdrInfo Xdr::Xenum_t ((xdrproc_t)xdr_enum, sizeof (enum_t)); -XdrInfo Xdr::Xbool_t ((xdrproc_t)xdr_bool, sizeof (bool_t)); -XdrInfo Xdr::Xvoid ((xdrproc_t)xdr_void, 0); -XdrInfo Xdr::Xwrapstring ((xdrproc_t)xdr_wrapstring, sizeof (char*)); - -bool_t Xdr::XdrParams (XDR* xdrs, XdrSeqInfo* xsi) -{ - XdrInfo** infop = xsi->infos; - void** datap = xsi->data; - - while (*infop) - { - if (! (*infop->Proc ()) (xdrs, *datap)) - return FALSE; - infop++, datap++; - } - return TRUE; -} diff --git a/tests/CPP_Test.cpp b/tests/CPP_Test.cpp deleted file mode 100644 index 4c0bd291a50..00000000000 --- a/tests/CPP_Test.cpp +++ /dev/null @@ -1,261 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// tests -// -// = FILENAME -// CPP_Test.cpp -// -// = DESCRIPTION -// This is a simple test of the ACE_SOCK_Acceptor and -// AC_SOCK_Connector classes. The test forks two processes or -// spawns two threads (depending upon the platform) and then executes -// client and server allowing them to connect and exchange -// data. No user input is required as far as command line -// arguments are concerned. -// -// = AUTHOR -// Prashant Jain and Doug Schmidt -// -// ============================================================================ - -#include "ace/OS.h" -#include "ace/Thread.h" -#include "ace/Service_Config.h" -#include "ace/SOCK_Connector.h" -#include "ace/SOCK_Acceptor.h" -#include "ace/SOCK_Stream.h" -#include "ace/INET_Addr.h" -#include "ace/Handle_Set.h" -#include "test_config.h" - -static void * -client (void *arg) -{ -#if (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) - // Insert thread into thr_mgr - ACE_Thread_Control thread_control (ACE_Service_Config::thr_mgr ()); - ACE_NEW_THREAD; -#endif /* (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) */ - - ACE_INET_Addr *remote_addr = (ACE_INET_Addr *) arg; - ACE_INET_Addr server_addr (remote_addr->get_port_number (), "localhost"); - ACE_SOCK_Stream cli_stream; - ACE_SOCK_Connector con; - - ACE_DEBUG ((LM_DEBUG, "(%P|%t) starting non-blocking connect\n")); - // Initiate timed, non-blocking connection with server. - - // Attempt a non-blocking connect to the server, reusing the local - // addr if necessary. - if (con.connect (cli_stream, server_addr, - (ACE_Time_Value *) &ACE_Time_Value::zero) == -1) - { - if (errno != EWOULDBLOCK) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "connection failed")); - - ACE_DEBUG ((LM_DEBUG, "(%P|%t) starting timed connect\n")); - - // Check if non-blocking connection is in progress, - // and wait up to ACE_DEFAULT_TIMEOUT seconds for it to complete. - ACE_Time_Value tv (ACE_DEFAULT_TIMEOUT); - - if (con.complete (cli_stream, &server_addr, &tv) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "connection failed"), 0); - else - ACE_DEBUG ((LM_DEBUG, "(%P|%t) connected to %s\n", - server_addr.get_host_name ())); - } - - if (cli_stream.disable (ACE_NONBLOCK) == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "disable")); - - // Send data to server (correctly handles "incomplete writes"). - - for (char c = 'a'; c <= 'z'; c++) - if (cli_stream.send_n (&c, 1) == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "send_n")); - - // Explicitly close the writer-side of the connection. - if (cli_stream.close_writer () == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "close_writer")); - - char buf[1]; - - // Wait for handshake with server. - if (cli_stream.recv_n (buf, 1) != 1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "recv_n")); - - // Close the connection completely. - if (cli_stream.close () == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "close")); - - return 0; -} - -static void * -server (void *arg) -{ -#if (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) - // Insert thread into thr_mgr - ACE_Thread_Control thread_control (ACE_Service_Config::thr_mgr ()); - ACE_NEW_THREAD; -#endif /* (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) */ - - ACE_SOCK_Acceptor *peer_acceptor = (ACE_SOCK_Acceptor *) arg; - - if (peer_acceptor->enable (ACE_NONBLOCK) == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "enable")); - - // Keep these objects out here to prevent excessive constructor - // calls... - ACE_SOCK_Stream new_stream; - ACE_INET_Addr cli_addr; - ACE_Handle_Set handle_set; - ACE_Time_Value tv (ACE_DEFAULT_TIMEOUT); - // Performs the iterative server activities. - - for (;;) - { - char buf[BUFSIZ]; - char t = 'a'; - - handle_set.reset (); - handle_set.set_bit (peer_acceptor->get_handle ()); - - int result = ACE_OS::select (int (peer_acceptor->get_handle ()) + 1, - handle_set, - 0, 0, &tv); - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "select"), 0); - else if (result == 0) - { - ACE_DEBUG ((LM_DEBUG, "(%P|%t) select timed out, shutting down\n")); - return 0; - } - - // Create a new ACE_SOCK_Stream endpoint (note automatic restart - // if errno == EINTR). - - while ((result = peer_acceptor->accept (new_stream, &cli_addr)) != -1) - { - ACE_DEBUG ((LM_DEBUG, "(%P|%t) client %s connected from %d\n", - cli_addr.get_host_name (), cli_addr.get_port_number ())); - - // Enable non-blocking I/O. - if (new_stream.enable (ACE_NONBLOCK) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "enable"), 0); - - handle_set.reset (); - handle_set.set_bit (new_stream.get_handle ()); - - // Read data from client (terminate on error). - - for (ssize_t r_bytes; ;) - { - if (ACE_OS::select (int (new_stream.get_handle ()) + 1, - handle_set, - 0, 0, 0) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "select"), 0); - - while ((r_bytes = new_stream.recv_n (buf, 1)) > 0) - { - ACE_ASSERT (t == buf[0]); - t++; - } - - if (r_bytes == 0) - { - ACE_DEBUG ((LM_DEBUG, - "(%P|%t) reached end of input, connection closed by client\n")); - - // Handshake back with client. - if (new_stream.send_n ("", 1) != 1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "send_n")); - - // Close endpoint. - if (new_stream.close () == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "close")); - return 0; - } - else if (r_bytes == -1) - { - if (errno == EWOULDBLOCK) - ACE_DEBUG ((LM_DEBUG, "(%P|%t) no input available, going back to reading\n")); - else - ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) %p\n", "recv_n"), 0); - } - } - } - - if (result == -1) - { - if (errno == EWOULDBLOCK) - ACE_DEBUG ((LM_DEBUG, "(%P|%t) no connections available, going back to accepting\n")); - else - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "accept")); - } - } - return 0; -} - -static void -spawn (void) -{ - // Acceptor - ACE_SOCK_Acceptor peer_acceptor; - - // Create a server address. - ACE_INET_Addr server_addr; - - // Bind listener to any port and then find out what the port was. - if (peer_acceptor.open (ACE_Addr::sap_any) == -1 - || peer_acceptor.get_local_addr (server_addr) == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n", "open")); - else - { - ACE_DEBUG ((LM_DEBUG, "(%P|%t) starting server at port %d\n", - server_addr.get_port_number ())); - -#if !defined (ACE_WIN32) && !defined (VXWORKS) - switch (ACE_OS::fork ()) - { - case -1: - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n%a", "fork failed")); - exit (-1); - case 0: - ACE_LOG_MSG->sync ("child"); - client (&server_addr); - default: - server ((void *) &peer_acceptor); - ACE_OS::wait (); - } -#elif defined (ACE_HAS_THREADS) - if (ACE_Service_Config::thr_mgr ()->spawn - (ACE_THR_FUNC (server), (void *) &peer_acceptor, THR_NEW_LWP | THR_DETACHED) == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n%a", "thread create failed")); - - if (ACE_Service_Config::thr_mgr ()->spawn - (ACE_THR_FUNC (client), (void *) &server_addr, THR_NEW_LWP | THR_DETACHED) == -1) - ACE_ERROR ((LM_ERROR, "(%P|%t) %p\n%a", "thread create failed")); - - // Wait for the threads to exit. - ACE_Service_Config::thr_mgr ()->wait (); -#else - ACE_ERROR ((LM_ERROR, "(%P|%t) only one thread may be run in a process on this platform\n%a", 1)); -#endif /* ACE_HAS_THREADS */ - } -} - -int -main (int, char *[]) -{ - ACE_START_TEST ("CPP_Test"); - - spawn (); - - ACE_END_TEST; - return 0; -} diff --git a/tests/Shared_Memory_SV_Test.cpp b/tests/Shared_Memory_SV_Test.cpp deleted file mode 100644 index a3654a7745b..00000000000 --- a/tests/Shared_Memory_SV_Test.cpp +++ /dev/null @@ -1,83 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// tests -// -// = FILENAME -// Shared_Memory_SV_Test.cpp -// -// = DESCRIPTION -// This is a simple test of ACE_Shared_Memory_SV -// -// = AUTHOR -// Prashant Jain and Doug Schmidt -// -// ============================================================================ - - -#include "ace/Shared_Memory_SV.h" -#include "test_config.h" - -const int SHMSZ = 27; -const int SHM_KEY = 5678; - -static void -client (void) -{ - char t = 'a'; - ACE_Shared_Memory_SV shm_client (SHM_KEY, SHMSZ, - ACE_Shared_Memory_SV::ACE_CREATE); - char *shm = (char *) shm_client.malloc (); - - for (char *s = shm; *s != '\0'; s++) - { - ACE_ASSERT (t == s[0]); - t++; - } - *shm = '*'; - ACE_OS::exit (0); -} - -static void -server (void) -{ - ACE_Shared_Memory_SV shm_server (SHM_KEY, SHMSZ, - ACE_Shared_Memory_SV::ACE_CREATE); - char *shm = (char *) shm_server.malloc (); - char *s = shm; - - for (char c = 'a'; c <= 'z'; c++) - *s++ = c; - - *s = '\0'; - - while (*shm != '*') - ACE_OS::sleep (1); - - if (shm_server.remove () < 0) - ACE_ERROR ((LM_ERROR, "%p\n", "remove")); -} - -int -main (int, char *argv []) -{ - ACE_START_TEST ("Shared_Memory_SV_Test.cpp"); - - switch (ACE_OS::fork ()) - { - case -1: - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "fork"), 1); - case 0: - client (); - break; - default: - server (); - break; - } - - ACE_END_TEST; - return 0; -} - diff --git a/tests/run_tests.ksh b/tests/run_tests.ksh deleted file mode 100755 index a4d7f0d8b17..00000000000 --- a/tests/run_tests.ksh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/ksh -f - -. ./run_tests.sh - -# EOF - -- cgit v1.2.1