diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-03 17:02:18 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-03 17:02:18 +0000 |
commit | 19ee86a79c744d520d09b8ef475813bea2f9a27b (patch) | |
tree | 6221f5f6adcf5e8060ba1165e0ce67594588f0eb | |
parent | e3b85ac0c1228839076eb3df8970e06b0f333ea5 (diff) | |
download | ATCD-19ee86a79c744d520d09b8ef475813bea2f9a27b.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/CIAO/ChangeLog | 147 | ||||
-rw-r--r-- | TAO/CIAO/docs/releasenotes.html | 8 | ||||
-rw-r--r-- | TAO/CIAO/examples/handcrafted/Display/CIAO_Installation_Data.ini | 4 | ||||
-rw-r--r-- | TAO/CIAO/examples/handcrafted/Display/HUDisplay.cad | 7 | ||||
-rw-r--r-- | TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp | 8 |
5 files changed, 111 insertions, 63 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog index a73f7e7ec98..50b8a3380cf 100644 --- a/TAO/CIAO/ChangeLog +++ b/TAO/CIAO/ChangeLog @@ -1,62 +1,95 @@ Wed Apr 02 17:08:00 2003 Nanbor Wang <nanbor@cs.wustl.edu> -M bin/generate_component_mpc.pl -M docs/XML/componentassembly.dtd -M examples/handcrafted/Display/CIAO_Installation_Data.ini -A examples/handcrafted/Display/HUDisplay.cad -M examples/handcrafted/Display/NavDisplay/NavDisplay.mpc -A examples/handcrafted/Display/NavDisplay/client.cpp -A examples/handcrafted/Display/NavDisplay/run_test.pl -A examples/handcrafted/Display/NavDisplayGUI_exec/AddNavUnitCmd.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/AddNavUnitCmd.h -A examples/handcrafted/Display/NavDisplayGUI_exec/Command.h -A examples/handcrafted/Display/NavDisplayGUI_exec/DetailView.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/DetailView.h -A examples/handcrafted/Display/NavDisplayGUI_exec/MapView.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/MapView.h -A examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayEIC.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.csd -A examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.mpc -A examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.ssd -A examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.h -A examples/handcrafted/Display/NavDisplayGUI_exec/NavUnit.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/NavUnit.h -A examples/handcrafted/Display/NavDisplayGUI_exec/NodeItem.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/NodeItem.h -A examples/handcrafted/Display/NavDisplayGUI_exec/QuitCmd.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/QuitCmd.h -A examples/handcrafted/Display/NavDisplayGUI_exec/README -A examples/handcrafted/Display/NavDisplayGUI_exec/RootPanel.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/RootPanel.h -A examples/handcrafted/Display/NavDisplayGUI_exec/UpdatePositionCmd.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/UpdatePositionCmd.h -A examples/handcrafted/Display/NavDisplayGUI_exec/Worker.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/Worker.h -A examples/handcrafted/Display/NavDisplayGUI_exec/moc_DetailView.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/moc_MapView.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/moc_NodeItem.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/moc_RootPanel.cpp -A examples/handcrafted/Display/NavDisplayGUI_exec/run_test.pl -A examples/handcrafted/Display/NavDisplayGUI_exec/trolltech.gif -A examples/handcrafted/Display/NavDisplayGUI_exec/worldmap1.gif -M examples/handcrafted/Hello/client.dsp -M examples/handcrafted/Hello/hello_executors.dsp -M examples/handcrafted/Hello/hello_servants.dsp -M examples/handcrafted/Hello/hello_stub.dsp -A tools/XML_Helpers/Assembly_Handlers.cpp -A tools/XML_Helpers/Assembly_Handlers.h -A tools/XML_Helpers/Assembly_Handlers.inl -A tools/XML_Helpers/Assembly_Spec.cpp -A tools/XML_Helpers/Assembly_Spec.h -A tools/XML_Helpers/Assembly_Spec.inl -M tools/XML_Helpers/Helper_Test.dsp -M tools/XML_Helpers/Softpkg_Handlers.cpp -M tools/XML_Helpers/Softpkg_Handlers.h -M tools/XML_Helpers/Softpkg_Handlers.inl -M tools/XML_Helpers/XML_Utils.cpp -M tools/XML_Helpers/XML_Utils.h -M tools/XML_Helpers/main.cpp + * tools/XML_Helpers/Assembly_Handlers.cpp: + * tools/XML_Helpers/Assembly_Handlers.h: + * tools/XML_Helpers/Assembly_Handlers.inl: + * tools/XML_Helpers/Assembly_Spec.cpp: + * tools/XML_Helpers/Assembly_Spec.h: + * tools/XML_Helpers/Assembly_Spec.inl: + * tools/XML_Helpers/Helper_Test.dsp: Added implementations for + handling componentassembly XML documents and building the + assembly specification information. These handlers currently + process only "crucial" information needed to get a system up and + running, i.e., they do not yet extract all types of information + in a componentassembly document. + + Also important is that all XML handlers in CIAO assume all XML + documents they process are valid and well-formed. ACEXML + currently does not validate XML document yet. Therefore, you + need to validate the XML documents using other XML parser (such + as msxml) shall CIAO's assembly parsing behave strangely as the + handlers assume a validator has already taken up most of the + checking responsibility. + + * tools/XML_Helpers/Softpkg_Handlers.cpp: + * tools/XML_Helpers/Softpkg_Handlers.h: + * tools/XML_Helpers/Softpkg_Handlers.inl: + * tools/XML_Helpers/XML_Utils.cpp: + * tools/XML_Helpers/XML_Utils.h: Added a new + parse_componentassembly utility function and moved some of the + helper functions out of Softpkg_Handlers. + + * tools/XML_Helpers/main.cpp: + + * bin/generate_component_mpc.pl: Added dependent library to the + list of libraries client program links to. + + * docs/XML/componentassembly.dtd: Fixed a typo in DTD definition. + + * examples/handcrafted/Display/HUDisplay.cad: Added a + + * examples/handcrafted/Display/NavDisplay/NavDisplay.mpc: + * examples/handcrafted/Display/NavDisplay/client.cpp: + * examples/handcrafted/Display/NavDisplay/run_test.pl: Added a + client program to test the component. + + * examples/handcrafted/Display/NavDisplayGUI_exec/AddNavUnitCmd.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/AddNavUnitCmd.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/Command.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/DetailView.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/DetailView.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/MapView.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/MapView.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayEIC.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.csd: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.mpc: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI.ssd: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavDisplayGUI_exec.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavUnit.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/NavUnit.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/NodeItem.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/NodeItem.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/QuitCmd.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/QuitCmd.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/README: + * examples/handcrafted/Display/NavDisplayGUI_exec/RootPanel.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/RootPanel.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/UpdatePositionCmd.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/UpdatePositionCmd.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/Worker.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/Worker.h: + * examples/handcrafted/Display/NavDisplayGUI_exec/moc_DetailView.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/moc_MapView.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/moc_NodeItem.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/moc_RootPanel.cpp: + * examples/handcrafted/Display/NavDisplayGUI_exec/run_test.pl: + * examples/handcrafted/Display/NavDisplayGUI_exec/trolltech.gif: + * examples/handcrafted/Display/NavDisplayGUI_exec/worldmap1.gif: + Added a Qt GUI based component to showcase how we can + reconfigure a system using different component easily. Thanks + to Andrey Nechypurenko <andreynech@mchp.siemens.com> for + contributing the implementation. + + * examples/handcrafted/Display/CIAO_Installation_Data.ini: Added + deployment information for the new GUI NavDisplay component + implementation. + + * examples/handcrafted/Hello/client.dsp: + * examples/handcrafted/Hello/hello_executors.dsp: + * examples/handcrafted/Hello/hello_servants.dsp: + * examples/handcrafted/Hello/hello_stub.dsp: Hmm, I probably + checked in the MPC/MWC generated project accidentally. :) Mon Mar 24 16:17:21 2003 Nanbor Wang <nanbor@cs.wustl.edu> diff --git a/TAO/CIAO/docs/releasenotes.html b/TAO/CIAO/docs/releasenotes.html index 8233c68ef73..c0abdc24c47 100644 --- a/TAO/CIAO/docs/releasenotes.html +++ b/TAO/CIAO/docs/releasenotes.html @@ -19,6 +19,14 @@ <ol> <li><h3>Latest News</h3> <ul> + <li>Thu Apr 3 2003 - Added the XML documents handlers for + componentassembly. They build the assembly specification + that the assembly mechanisms use to compose an + application. As with handlers for parsing softpkg + documents, these handlers do not have robust error + handling capability as they assume a validator in ACEXML + parser handles the validity of documents already (which + isn't the case for the time being.) <li>Fri Mar 21 2003 - Finished the component implementations for the multi-component example. Next up, assembling diff --git a/TAO/CIAO/examples/handcrafted/Display/CIAO_Installation_Data.ini b/TAO/CIAO/examples/handcrafted/Display/CIAO_Installation_Data.ini index cc1a16affd5..386a8c633ec 100644 --- a/TAO/CIAO/examples/handcrafted/Display/CIAO_Installation_Data.ini +++ b/TAO/CIAO/examples/handcrafted/Display/CIAO_Installation_Data.ini @@ -2,7 +2,7 @@ DCE:75309233-0E0A-4cfb-B186-3E99F69B1D40=GPS_svnt DCE:82C2B032-37F0-4315-A59F-7020D3264E4D=RateGen_exec DCE:93D254CF-9538-44e8-BB98-AABCD134ADD3=RateGen_svnt -DCE:8E6C468D-A39F-46b4-962B-265F1AA8D538=NavDisplay_exec DCE:CDC06FCA-50FC-43ca-8ECC-BEFBD33FEE78=NavDisplay_svnt -DCE:3148F760-F2ED-4204-A775-6B972C10E8CB=GPS_exec +DCE:8E6C468D-A39F-46b4-962B-265F1AA8D538=NavDisplay_exec DCE:D7984625-8561-431d-9927-4E498B317C02=NavDisplayGUI_exec +DCE:3148F760-F2ED-4204-A775-6B972C10E8CB=GPS_exec diff --git a/TAO/CIAO/examples/handcrafted/Display/HUDisplay.cad b/TAO/CIAO/examples/handcrafted/Display/HUDisplay.cad index d4bb3da1905..20da8103e62 100644 --- a/TAO/CIAO/examples/handcrafted/Display/HUDisplay.cad +++ b/TAO/CIAO/examples/handcrafted/Display/HUDisplay.cad @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!-- -*- SGML -*- --> <!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> -<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/componentassembly.dtd"> +<!DOCTYPE componentassembly SYSTEM "$(CIAO_ROOT)/docs/XML/componentassembly.dtd"> <componentassembly id="Single-process HUDisplay assembly"> <componentfiles> @@ -20,7 +20,6 @@ <!-- A plain vanilla partition. We don't even need the processcollocation tag here. --> <processcollocation> - <homeplacement id="a_RateGenHome"> <componentfileref idref="com-RateGen"/> <componentinstantiation id="a_RateGen"/> @@ -35,8 +34,7 @@ <componentfileref idref="com-NavDisplay"/> <componentinstantiation id="a_NavDisplay"/> </homeplacement> - - </processcollocation> + </processcollocation> </partitioning> <connections> @@ -70,6 +68,7 @@ </usesport> <providesport> <providesidentifier>MyLocation</providesidentifier> + <componentinstantiationref idref="a_GPS"/> </providesport> </connectinterface> diff --git a/TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp b/TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp index 0dadb738533..d68570cf158 100644 --- a/TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp +++ b/TAO/CIAO/examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "CIAO_Common.h" #include "NavDisplay_exec.h" /// Default constructor. @@ -55,6 +56,13 @@ MyImpl::NavDisplay_exec_impl::ccm_activate (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) Components::CCMException)) { ACE_DEBUG ((LM_DEBUG, "MyImpl::NavDisplay_exec_impl::ccm_activate\n")); + char *argv[1] = { "NavDisplay_exec"}; + + int argc = sizeof(argv)/sizeof(argv[0]); + CORBA::ORB_var orb = CORBA::ORB_init(argc, argv ACE_ENV_ARG_PARAMETER); + + CIAO_REGISTER_VALUE_FACTORY (orb.in(), HUDisplay::tick_init, + HUDisplay::tick); } void |