diff options
author | msmit <msmit@remedy.nl> | 2012-05-30 10:48:37 +0000 |
---|---|---|
committer | msmit <msmit@remedy.nl> | 2012-05-30 10:48:37 +0000 |
commit | ce4fa50259913638837ca3142b42aa1fe03f08b2 (patch) | |
tree | a65320b4e6fabb92265df06f3264ba0493ee6e17 | |
parent | 230f4f9c1c9cebaeab347ef56c1a1e684a4d450c (diff) | |
download | ATCD-ce4fa50259913638837ca3142b42aa1fe03f08b2.tar.gz |
Wed May 30 11:28:57 CEST 2012 Johnny Willemsen <jwillemsen@remedy.nl>
Merged git branch DDS4CCM_QOS_Handler which adds support for
configuring DDS4CCM QOS through xml files with OpenDDS
commit 2196ead1f39f5ba8351ead32418d8b5318e4bb55
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 11:08:55 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h:
Corrected file name in file header.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp:
Removed unnecessary comment.
commit 165994f23185cb70e969affe4efcee0f60ab0f14
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 10:44:56 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp:
Added the parsing of user_data as comment
commit 354e196184266f36f8097d848b779654b3417500
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 10:36:44 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added ParticipantQos handler to the QOS XML parsing library.
commit 53c7b49ea5bec0200c55a0f56b85409e26c7dd4f
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 09:40:32 2012 +0200
* CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/Latency_Library.xml:
Added for openDDS support.
* CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/run_test.pl:
* CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/run_test.pl:
Quit script when the plan launcher returns an error. This prevent sleeping
when not necessary.
commit 94d45ee0604090c1ec316f41ff3e7fc707fa8449
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 09:11:21 2012 +0200
* CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_pub.cdp:
* CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_sub.cdp:
* CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/USER_QOS_PROFILES.xml:
Renamed HelloTest_Library to Throughput_Library.
* CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Throughput_Library.xml:
Added for openDDs support.
commit 34b58e3e83bef8e5ee27c4c1370813bce6f4f7ef
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 08:55:13 2012 +0200
* CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/QueryCondition_Library.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/QueryCondition_Library.xml:
* CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/ResetTopic_Library.xml:
Added for openDDS support
commit 41a741b0fc38c82d12a8359023bfde0a97ef24a3
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 30 08:50:49 2012 +0200
* DAnCE/MPC/config/dance_config_handlers.mpb:
* DAnCE/MPC/config/dance_config_handlers_base.mpb:
* DAnCE/tools/Config_Handlers/Config_Handlers.mpc:
Removed visibility override, shouldn't be needed
commit 36a00caafa85939db4b45ef7faf27acfad605acb
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 30 08:44:55 2012 +0200
* CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb:
* CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Removed all visibility overrides
commit 266692b66adf4250928ae04c483250df314988a0
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 08:40:11 2012 +0200
* CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/QosProfile_Library.xml:
Added for openDDS support
commit 4864845d8fdba020df526c24ea15311c433d6317
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 30 08:32:15 2012 +0200
* CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml:
Added correct XML.
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Shared_Library.xml:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Standalone_Library.xml:
Added for openDDS support.
commit 028b7e82e57842a3271ae782342c5e0d711f7637
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Tue May 29 21:14:07 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
Layout change
* DAnCE/tools/Config_Handlers/Utils/Functors.h:
Removed borland workaround
commit a81ea59447d5af5fda614d548d9667b5b9aa68bb
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Tue May 29 19:44:32 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h:
Removed not needed export macros
commit fcf7c65010675d8660cb7a8f610dfe6e8a321fb6
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Tue May 29 16:30:53 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
Added commented out code to enable opendds logging
* CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/HelloTest_Library.xml:
new file
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp:
layout change
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
only use 1 export file
commit 7c2c1b238bfb3115b718c589005986ac28c06e5a
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 16:13:47 2012 +0200
* CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Receiver/Proxy_RW_Test_Receiver_exec.cpp:
* CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Sender/Proxy_RW_Test_Sender_exec.cpp:
Optimized logging.
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Shared_Library.xml:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Standalone_Library.xml:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Shared_Library.xml:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Standalone_Library.xml:
Added for openDDS support.
commit 928aa26205f4df1b5fb77a0e991bfd2fe01e794f
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 14:27:02 2012 +0200
* CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Proxy_RW_Library.xml:
Created for openDDS support.
* CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml:
QOS Profile name shouldn't contain an underscore.
commit bac443928ada09fb26948427d0e69025ad794518
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 14:16:18 2012 +0200
* CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/CoherentWriter_Library.xml:
* CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/LateBinding_Library.xml:
Added QOS xml for openDDS.
commit 3958e589a64b93b701b38b72cb704a4b30a405fa
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 13:37:57 2012 +0200
* CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/QueryCondition_Library.xml:
Added and corrected path to dds_qos.xsd
* CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml:
Added for openDDS support.
commit 41a122c6a3736dfd7c1fe9802e2b34cae884af3f
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 13:13:57 2012 +0200
* CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/ListenManyByMany_Library.xml:
Added for openDDS support.
* CIAO/connectors/dds4ccm/tests/Reader/Sender/Reader_Test_Sender_exec.cpp:
Error message when publication_matched was not received.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Added DDS4CCM_INFO define to log message
commit e25c4785a913b62ffe306178388c2c31b915d62d
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Tue May 29 12:37:51 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml:
Corrected profile name
commit 779f3c5864dc3b9b2a51e6e8e1a52fae14ec3732
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Tue May 29 12:32:32 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp:
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.h:
Only check ndds values when ndds is enabled
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml:
Added new qos file
commit 6fa0ca5280992a9f366a3b4a938a3a7b127c999b
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Tue May 29 11:58:52 2012 +0200
* CIAO/MPC/config/dds4ccm_impl.mpb:
Added gen_ostream as base in order to dump qos
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
Use gen_ostream feature when it is enable to log the
qos as we pass it to dds
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Removed dumping of qos xml, moved to dds4ccm
* TAO/tao/ORB.h:
Typo
commit 6fbccfee00f805f0bd1228e4eea2d3c56fd6adb4
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 11:45:40 2012 +0200
* CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/UnkeyedWriter_Library.xml:
Added QOS XML file openDDS usage.
commit 1bdc20ab30b2be587336f50d0bd2cec5a8f5350f
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 11:44:46 2012 +0200
* CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/KeyedWriter_Library.xml:
Added QOS XML file for openDDS usage.
commit 9278d35882f2c11f235f4c004f58a29c4d523c8a
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 11:43:00 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Added endline characters after QOS dump messages.
commit 4fb8cd683a4b948c4fb71f7d76d0041330033b09
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 11:34:55 2012 +0200
* CIAO/MPC/config/dds4ccm.mpb:
Fixed an after. The QOS-dump test didn't build
due to a non-existing header file.
commit a60950b2e0e8bb7377539a7b7925435e373ba365
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 09:29:54 2012 +0200
* CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/Common/I2C_Shapes_Common.h:
Fixed runtime issues regarding renaming QOS profile
commit e2a5b89d288931ede26f9a1b349a75c1fa0ad95d
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 29 08:45:25 2012 +0200
* CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Receiver/QC_Receiver.cpp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Sender/QC_Sender.cpp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Receiver/ObO_Receiver.cpp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Sender/ObO_Sender.cpp:
Fixed runtime issues regarding renaming QOS profile.
commit 986f98484df29ee36bf032050b094be3d8c2267d
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 21:29:40 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
Disabled shutdown, could resolve crash at shutdown
commit ab374ede0c4fb0b1ef49991ee36ad0ac63e87046
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 21:28:03 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp:
* CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h:
Fixed compile error
commit 49e847d930cf8326d30ed880307a65fad1ca7645
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 15:23:22 2012 +0200
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/HelloTest_Library.xml:
Added QoS XML file for this example
commit 678fe5718d848fdb771cb4bc4ba1e1e4c5746533
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 13:37:00 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_TopicBase_Connector_T.cpp:
Layout change
* CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/HelloTest_Library.xml:
Created qos xml file for this test
commit bac9723c978f3a8b68b3b67d27878ff6164d2108
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 13:26:02 2012 +0200
* CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Deadline_Library.xml:
QoS XML file for this test. The test does run, but crashes at
shutdown in OpenDDS
commit cc24a1ae343ab9e23bd264bab0d8e1bc7274c8c7
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 12:48:13 2012 +0200
* CIAO/connectors/dds4ccm/impl/PublisherListener.cpp:
* CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp:
Improved logging
commit 365df2f1901afa2bf9c56d41e4cd684812a8afb6
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 12:42:42 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Dump QoS when we have detailed logging. Corrected signature
of read_qos, fixed durability conversion
commit 3dee3b2ecf2492da0bbb63f42230d2a721b3959f
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 10:18:41 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Fixed incorrect method name in logging
commit 28f8a8f3edcadb6074238a55d3f3a912098ac2fe
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 09:54:22 2012 +0200
* CIAO/connectors/dds4ccm/impl/PortStatusListener.cpp:
* CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp:
Added error logging to callbacks which we don't expect
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
Logging changes
commit accc5b6398067a04d7134b8ab471443206fe37d8
Author: Marcel Smit <msmit@remedy.nl>
Date: Fri May 25 09:30:05 2012 +0200
* CIAO/connectors/dds4ccm/tests/SLOneByOne/Receiver/SL_OneByOne_Receiver_exec.cpp:
Due to some RTI specific QOS settings, the data of a deleted sample is passed to the
on_deletion handler. Since this is non-standard behaviour, the on_deletion handler has
rewritten. We now just log an message when an on_deletion event comes in.
* CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/SlObO_Library.xml:
Added standard QOS XML
commit c01508954ca3b86fd3f7cd06fb4af466379080a5
Author: Marcel Smit <msmit@remedy.nl>
Date: Fri May 25 09:20:56 2012 +0200
* CIAO/connectors/dds4ccm/tests/SLManyByMany/Receiver/SL_ManyByMany_Receiver_exec.cpp:
Due to some RTI specific QOS settings, the data of a deleted sample is passed to the
on_deletion handler. Since this is non-standard behaviour, the on_deletion handler has
rewritten. We now just log an message when an on_deletion event comes in.
commit 77bc43f4019e99f977df20f292394d336261089d
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 25 09:13:55 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp:
Create topics when we have matched
* CIAO/connectors/dds4ccm/tests/CSLQoS/Sender/CSL_QoSTest_Sender_exec.cpp:
Layout change
* CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/QoSTest_Library.xml:
New qos file for this test, still fails, works with plain OpenDDS,
need to analyze this test further
commit c832d3628a2159e26a8f9b42593e24aabd1d8acd
Author: Marcel Smit <msmit@remedy.nl>
Date: Fri May 25 08:58:39 2012 +0200
* CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/SlMbM_Library.xml:
Added QOS for openDDS.
commit ff8bf9ffdc581dc1e17dce106e403484e2f1b336
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 21:09:20 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
Shutdown OpenDDS at the end, have to check what happens
if we have multiple connectors in the same process
* CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
Fixed memory leaks
commit 838c9b631aba86ae0607a7e6393f09ce6d33edf4
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 16:09:34 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp:
* CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h:
OpenDDS discovery is slower, so don't start the test on ccm_activate but wait
on publication matched status
* CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/HelloTest_Library.xml:
New qos file for this test
* CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml:
Removed empty line
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos.xml:
Added id tag
commit 36d9b2da54171e829e72c8394eff67f37ef16387
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 15:08:07 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc:
Do not build this test when RTI DDS is used.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp:
Optimized logging.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
Fixed loggin issue.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Check for an empty profile string. Optimized logging for that.
commit 4649a89638765c22e2450f23805099b77d9b0b21
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 15:07:34 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/HelloTest_Library.xml:
Added qos xml file for OpenDDS. After rerunning this test it still
doesn't work. Quick code review showed that OpenDDS doesn't support
the on_sample_rejected callback, reported publicly as bugzilla
4028
* CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml:
Removed empty line
commit d997f2f1ab316efa7961d1f89a63f71ffa5e8090
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 14:38:09 2012 +0200
* CIAO/connectors/dds4ccm/tests/Getter/Sender/Getter_Test_Sender_exec.cpp:
Layout changes
* CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml:
Reordered qos so that we more easily can compare it with the rti file
commit 49b5568d98819745a385626ad48498c7cf00b387
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 13:40:07 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp:
Guard zero pointers to strdup
commit 5b6e2a6b8f9e5f4753ae9c6d6d60e6e4da100ac9
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 13:23:51 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp:
Finished the conversion of the Publisher QOS and Subscriber QOS.
commit a2c83c1290de06b049f6aa2fd44ecd0e96812c66
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 12:44:31 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos.xml:
Extended partion tag for Subscribers and Publishers for testing.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp:
Parse partition and entity_factory QOS settings. Presentation still
need to be parsed.
commit 3f84a2cf5c648b6b55fe602d619032c972394162
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 11:57:01 2012 +0200
* CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd:
According to the spec the Publisher QOS, the Subscriber QOS, and
the Participant QOS haven't got the topic_filter attribute.
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added the Publisher and Subscriber QOSs to the parsing framework.
commit 2813ef125b1c8682ef4bcac2030490a3219fb633
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 11:13:27 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp:
Prevent reading the QOS while it's not available.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Removed some unnecessary logging.
commit 557dd624806d1d090b6375e36d31782c89253737
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 11:06:53 2012 +0200
* CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.cpp:
* CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.h:
Fixed coverity error
commit 0567c8a5a006fa037fb8fc7ab664ff4a652e61f2
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 10:51:35 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
Optimized logging. Some method name were not logged correct.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added support for Topic QoSs.
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
Invoking get_topic_qos.
commit 81cb02e3a1c54b25c4c6cf9e86a5d178aae82314
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 10:44:15 2012 +0200
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/1_to_5.cdp:
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Receivers.cdp:
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Senders.cdp:
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_to_1.cdp:
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/DeploymentPlan.cdp:
* CIAO/connectors/dds4ccm/examples/Hello/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/HomeTest/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanNoHash.cdp:
* CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanWrongNames.cdp:
* CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/Reader/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/SetConnectorAttributes/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/DefaultQoS.cdp:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/USER_QOS_PROFILES.xml:
* CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/USER_QOS_PROFILES.xml:
The usage of an underscore is not legal in the DDS profile string, removed it
in all existing deployment plans and QoS XML files
commit 81434c3d2a5c7893d79f179c0d1b1074717198e4
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 10:39:24 2012 +0200
* CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml:
* CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp:
* CIAO/connectors/dds4ccm/tests/Getter/descriptors/USER_QOS_PROFILES.xml:
Make the profile name a legal name, spec doesn't allow _
commit 741410c799ac678353911b632a4aa23411480a7d
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 10:30:16 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl:
Set execute bit
commit 2313138bb1365693ff212810ba8487963d9c9f68
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 10:28:55 2012 +0200
* CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml:
Added new spec compliant QoS XML file for this test
commit b843062b65831336559d6383efee494d386cad7b
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 10:02:17 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/dw_qos.xml:
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos.xml:
* CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl:
Rename action. qos.xml contains all xml code.
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
Added DataReaderQos.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
Check whether init succeeds. If not, return false.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
Added support for DataReaderQos.
commit 95dcc54fe0c1e398e4e74d9484ffae2595efab8a
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 09:22:14 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added support for DataReader QOS.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
Removed unnecessary include.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
Optimized logging.
commit aee7ed1215ee28d13f621c40543843daf450b7f7
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 24 08:47:20 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Fixed install location
commit a94d2e871e0ba73e19e6df32e7b1a22e94f8e553
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 08:32:10 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
Removed comments. Optimized logging
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
Fixed runtime issue regarding logging.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Optimized logging.
commit b3ddbd8634f7894d068fbaa550d1444404cab459
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 08:17:22 2012 +0200
* CIAO/connectors/dds4ccm/tests/MultiTopic/Connector/MultiTopic_Connector_T.cpp:
Fixed compile issues due to interface changes in configuration_complete
commit 013d5054cec9b31eb57289fcf9a4f8cc141c6870
Author: Marcel Smit <msmit@remedy.nl>
Date: Thu May 24 08:04:31 2012 +0200
* CIAO/MPC/config/dds4ccm_dcps.mpb:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Fixed MPC issues regarding RTI DDS
commit 337c946da317ff3ea2c6552db6df23e66cf5c960
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 21:21:17 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
Optimized logging. Logging the real QOS IDL value instead of what the
value should be (the QOS XML value).
commit 356516954b7a253bb52cb3caaa4b0e839d314ce3
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 21:04:19 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
Enabled more QOS setting for DataWriters and Topics.
commit 819277a41a39704e85c8d69ca10abad25710f151
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 20:57:15 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
Rewritten common QOS setting for DataWriter, DataReaders and Topics.
commit 8ad139ff96ba6a80d29a5e8bd08923532a85459c
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 15:26:06 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
Added support for DomainParticipant QOS.
commit f2b91ec491af6e056690134c4020f734e1258ae1
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 15:10:42 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
PublisherQos now is filled by the QOS XML Handler
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
Prepared the PublisherQos and SubscriberQos
commit 58f4edfc05e2ff3209075e92295a187cb4b37d0d
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 14:52:55 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.h:
* CIAO/connectors/dds4ccm/impl/DDS_Get_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Get_T.h:
* CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp:
Passing the QOS XML structure to the reader side in order to
create a DataReaderQos.
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.h:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.h:
Passing QOS XML structure by reference.
commit e2148e64ce9f0b1b49e9c34ed81985c156d3c292
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 14:39:01 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
Passing the topic name to the QOS XML Handler
commit 9c9921f90817ff04bd4a806cf7ca1b9a4c3b1868
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 14:05:39 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
Making difference between RTI DDS and openDDS when passing
arguments.
* CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Update_T.h:
Passing the QOS instance to the updater so that is able to
create a datawriter with the supplied DataWriterQos.
* CIAO/connectors/dds4ccm/tests/Reader/descriptors/Plan.cdp:
Renamed Reader_Profile to ReaderProfile since the DDS XSD doesn't
accept underscores in the name.
commit e832c62456e825cd5aaedb4083b8698463d5b037
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 11:55:44 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h:
Fixed runtime issues regarding determining the file name.
* CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml:
Fixed location of the xsd. Parsing now succeeds.
commit 4514c259e6079ff817bfd76488a07f50f4ec3dbd
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 23 11:37:25 2012 +0200
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
Check OpenDDS config before creating them
commit 7a3fc436330a0c8f7ee9b023a4b59e2c830c5cf1
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 11:20:41 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Using the openDDS IDL QOS structure instead of the DDS4CCM IDL
QOS structure.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Layout changes.
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h:
Made get_xml_file_name and get_profile_name const. Fixed
runtime issues due to used sprintf
commit d2f4a5e59fb5db0f3d5e14b512894d36e630bd0b
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 10:34:21 2012 +0200
* CIAO/MPC/config/dds4ccm.mpb:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h:
Fixed link issues on windows.
commit d5573ac64ef4ddd20e178272f3a31de02be7dbc6
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 09:53:57 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Fixed link issues on windows.
commit e7f3c01a7f82e44080860939751a64214e2eeec7
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 09:45:55 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp:
Fixed compile issues on windows: include correct header.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Fixed compile issues on windows: BUILD_DLL define was not set properly,
therefor the export macros was not correctly defined.
commit 958e79633b5d32dac7332aa4b39df4f796430a44
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 23 09:26:31 2012 +0200
* CIAO/connectors/dds4ccm/tests/CSLQoS/Receiver/CSL_QoSTest_Receiver_exec.cpp:
Fixed casing of the callback method name
commit cc9abbed90097fbf837187edbeb0f4b5742d6921
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 09:20:41 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Fixed compile issues regarding paths.
commit 1e98f6d489dd8b41633931abfb47a0fa8a3de513
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 23 07:25:13 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h:
Added.
commit 3e3ad5e5dc965c3caeb0b1b2b767788d7f7375e8
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 15:52:29 2012 +0200
* CIAO/MPC/config/dds4ccm_impl.mpb:
Added QOS XML handler as base project.
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h:
* CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Write_T.h:
Passing the XML library to the writer in case openDDS.
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
Passing QOS by reference.
* CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml:
Added qos for openDDS for testing purposes.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added support for parsing QOS profile string
commit 5501b03128b7d74a0c29ef055e8e0b30c0760a96
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 14:43:01 2012 +0200
* CIAO/bin/ciao_tests.lst:
Added QoS/dump to the test framework.
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
Pass qos by reference.
commit 990b1ce1c02730adbba92e3ed14452e6d2fbb125
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 14:25:37 2012 +0200
* CIAO/MPC/config/dds4ccm_base.mpb:
In case of openDDS, DDS4CCM needs the QOS XML handler
library.
* CIAO/MPC/config/dds4ccm_config_handlers.mpb:
* CIAO/MPC/config/dds4ccm_config_handlers_base.mpb:
* CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb:
* CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb:
Rename action.
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp:
* CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h:
Work in progress : Initialization of the QOS XML library
* CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc:
Due to rename action.
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
Due to initialization change.
* CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl:
To support test framework.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
Reworked method headers and initialization. One should pass the
qos in the get_xxx_qos methods. The callee is therefor responsible
for clean up.
commit d766c172a83211aa48fc404992b3b55df54d8dd5
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 11:40:59 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/dw_qos.xml:
Changed value for testing purposes.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
Keeping the profiles in memory (instead of one profile).
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp:
Removed tracing
commit fa345aa750c7522ed0ea0a60255fadb8b4062c8b
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 11:03:33 2012 +0200
* CIAO/connectors/dds4ccm/tests/QoS/dump/dw_qos.xml:
Added to test with
commit 5e49df59c2b98963a2a0a6ec874330d29c8cb7ae
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 11:02:22 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h:
Work in progress. Disabled code in order to get it compiled and running.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h:
Added helper methods. Some integer value may contain tekst
(nanosec for instance). This class converts them in the right way.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h:
Hierarchy of Qos's in templated C++ classes.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
Added dds4ccm/docs/schema to the search path.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp:
Added some tracing.
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added QosCommon.
commit 13d2bebd279ece2760081a26130daf326ceb8b1e
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 08:50:22 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h:
Converting the XML DataWriterQos to an IDL DataWriterQos
commit bbf94d9c1018e3abfb67c8eba66fa9d0ca49e0e8
Author: Marcel Smit <msmit@remedy.nl>
Date: Tue May 22 08:48:40 2012 +0200
* CIAO/MPC/config/dds4ccm_config_handlers_base.mpb:
* CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc:
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Work in progress: First steps of the QOS XML handler using XSC.
commit 6dc4be2b0cb7e23aa24a68b65e21ec97bc6532b3
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 18 20:06:46 2012 +0200
* CIAO/MPC/config/dds4ccm_config_handlers.mpb:
* CIAO/MPC/config/dds4ccm_config_handlers_base.mpb:
New base projects for dds4ccm config handlers
* CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc:
* CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp:
Starter for new qos xml tests
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Added more code
* DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc:
Removed not needed base project
* DAnCE/tools/Config_Handlers/DnC_Dump.h:
Layout changes
commit e383bec8fadbf726ac6684779210ee619f376faf
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 18 19:07:33 2012 +0200
* CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc:
* CIAO/CIAO_TAO_OpenDDS.mwc:
Reuse the OpenDDS workspace files instead
of duplicating them here
commit a0971838efcac9b1967cad1612cd055917c1ea5d
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 18 15:43:50 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
Enabled parsing
commit bceaf0f92476bca8163dbba68d7dfcb8893f8bd0
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 18 15:19:32 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Fixed compile errors, just get it to compile
commit b95b7e4318a9125eac10ef87e22c991691d191f2
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 18 15:16:18 2012 +0200
* CIAO/CIAO_TAO_DAnCE.mwc:
* CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc:
Also compile connectors/dds4ccm/tools by
default
commit fb26c7868fc9a515075aa909bea8b2f12f57856b
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Fri May 18 14:58:01 2012 +0200
* CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc:
* CIAO/CIAO_TAO_OpenDDS.mwc:
New workspaces that compile ACE/TAO/CIAO/DAnCE with
OpenDDS
commit d69b8370c30a6a204d7fee98efe5c23852c58aaa
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 17 15:56:27 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Some starting files, need more work
commit f9e6292cbc3b37da214edee3386185c651d17ad8
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Thu May 17 15:43:25 2012 +0200
* CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd:
Simplified xsd, all restrictive qos are not used
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp:
Regenerated and slightly handcrafted
commit c9f9fb8210a8696d4cece32a3e99f40b2bedddaa
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 16 20:34:48 2012 +0200
* CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd:
Updated with modified file by Will Otte that gets better
handled by XSC
commit 4d92a57a9e4e695cf38e4291203dbc44814285c9
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 16 20:32:52 2012 +0200
* CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd:
Some fixes
commit 2b28f0224a2581fc3d176a0d63def384c591d577
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 16 14:14:56 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Generated dds_qos with some manual handcrafting to get it to compile
commit 315a80179069abe422a3aba87b997fe1bf718552
Author: Johnny Willemsen <jwillemsen@remedy.nl>
Date: Wed May 16 13:46:02 2012 +0200
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h:
Renamed to get the correct name
commit 817e02aa595eca4c77f643ab38ec8f6e3c12018d
Author: Marcel Smit <msmit@remedy.nl>
Date: Wed May 16 13:39:58 2012 +0200
* CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd:
* CIAO/connectors/dds4ccm/docs/schema/xsc-banner.cpp:
* CIAO/connectors/dds4ccm/docs/schema/xsc-banner.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h:
* CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc:
Work in progress: starting up a DDS QOS Handler for DDS4CCM
194 files changed, 26902 insertions, 266 deletions
diff --git a/CIAO/CIAO_TAO_DAnCE.mwc b/CIAO/CIAO_TAO_DAnCE.mwc index 496208bf791..12711585c22 100644 --- a/CIAO/CIAO_TAO_DAnCE.mwc +++ b/CIAO/CIAO_TAO_DAnCE.mwc @@ -22,4 +22,5 @@ workspace { connectors/ami4ccm/ami4ccm connectors/dds4ccm/idl connectors/dds4ccm/impl + connectors/dds4ccm/tools } diff --git a/CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc b/CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc new file mode 100644 index 00000000000..9a5784065e5 --- /dev/null +++ b/CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc @@ -0,0 +1,27 @@ +// -*- MPC -*- +// $Id$ + +workspace { + $(ACE_ROOT)/ace + $(ACE_ROOT)/apps/gperf/src + $(ACE_ROOT)/apps/JAWS/server + $(ACE_ROOT)/protocols/ace/INet + $(ACE_ROOT)/contrib + $(TAO_ROOT)/TAO_IDL + $(TAO_ROOT)/tao + $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming.mpc + $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming_Serv.mpc + $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming_Skel.mpc + $(TAO_ROOT)/orbsvcs/Naming_Service + $(TAO_ROOT)/orbsvcs/orbsvcs/Svc_Utils.mpc + ccm + ciao + tools + $(DANCE_ROOT)/dance + $(DANCE_ROOT)/tools + connectors/ami4ccm/ami4ccm + connectors/dds4ccm/idl + connectors/dds4ccm/impl + connectors/dds4ccm/tools + $(DDS_ROOT)/DDS_TAOv2.mwc +} diff --git a/CIAO/CIAO_TAO_OpenDDS.mwc b/CIAO/CIAO_TAO_OpenDDS.mwc new file mode 100644 index 00000000000..9e349e060ac --- /dev/null +++ b/CIAO/CIAO_TAO_OpenDDS.mwc @@ -0,0 +1,28 @@ +// -*- MPC -*- +// $Id$ + +workspace { + $(ACE_ROOT)/ace + $(ACE_ROOT)/apps/gperf/src + $(ACE_ROOT)/apps/JAWS/server + $(ACE_ROOT)/protocols/ace/INet + $(ACE_ROOT)/contrib + $(TAO_ROOT)/tao + $(TAO_ROOT)/TAO_IDL + $(TAO_ROOT)/utils + $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming.mpc + $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming_Serv.mpc + $(TAO_ROOT)/orbsvcs/orbsvcs/CosNaming_Skel.mpc + $(TAO_ROOT)/orbsvcs/Naming_Service + $(TAO_ROOT)/orbsvcs/orbsvcs/Svc_Utils.mpc + ccm + ciao + $(DANCE_ROOT) + tools + connectors + tests + examples + performance-tests + tutorials + $(DDS_ROOT)/DDS_TAOv2.mwc +} diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog index c434f6b4461..f4a52bcf0e5 100644 --- a/CIAO/ChangeLog +++ b/CIAO/ChangeLog @@ -1,3 +1,1213 @@ +Wed May 30 11:28:57 CEST 2012 Johnny Willemsen <jwillemsen@remedy.nl> + + Merged git branch DDS4CCM_QOS_Handler which adds support for + configuring DDS4CCM QOS through xml files with OpenDDS + + commit 2196ead1f39f5ba8351ead32418d8b5318e4bb55 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 11:08:55 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h: + Corrected file name in file header. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp: + Removed unnecessary comment. + + commit 165994f23185cb70e969affe4efcee0f60ab0f14 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 10:44:56 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp: + Added the parsing of user_data as comment + + commit 354e196184266f36f8097d848b779654b3417500 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 10:36:44 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added ParticipantQos handler to the QOS XML parsing library. + + commit 53c7b49ea5bec0200c55a0f56b85409e26c7dd4f + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 09:40:32 2012 +0200 + + * CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/Latency_Library.xml: + Added for openDDS support. + + * CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/run_test.pl: + * CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/run_test.pl: + Quit script when the plan launcher returns an error. This prevent sleeping + when not necessary. + + commit 94d45ee0604090c1ec316f41ff3e7fc707fa8449 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 09:11:21 2012 +0200 + + * CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_pub.cdp: + * CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_sub.cdp: + * CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/USER_QOS_PROFILES.xml: + Renamed HelloTest_Library to Throughput_Library. + + * CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Throughput_Library.xml: + Added for openDDs support. + + commit 34b58e3e83bef8e5ee27c4c1370813bce6f4f7ef + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 08:55:13 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/QueryCondition_Library.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/QueryCondition_Library.xml: + * CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/ResetTopic_Library.xml: + Added for openDDS support + + commit 41a741b0fc38c82d12a8359023bfde0a97ef24a3 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 30 08:50:49 2012 +0200 + + * DAnCE/MPC/config/dance_config_handlers.mpb: + * DAnCE/MPC/config/dance_config_handlers_base.mpb: + * DAnCE/tools/Config_Handlers/Config_Handlers.mpc: + Removed visibility override, shouldn't be needed + + commit 36a00caafa85939db4b45ef7faf27acfad605acb + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 30 08:44:55 2012 +0200 + + * CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb: + * CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Removed all visibility overrides + + commit 266692b66adf4250928ae04c483250df314988a0 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 08:40:11 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/QosProfile_Library.xml: + Added for openDDS support + + commit 4864845d8fdba020df526c24ea15311c433d6317 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 30 08:32:15 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml: + Added correct XML. + + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Shared_Library.xml: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Standalone_Library.xml: + Added for openDDS support. + + commit 028b7e82e57842a3271ae782342c5e0d711f7637 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 21:14:07 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + Layout change + + * DAnCE/tools/Config_Handlers/Utils/Functors.h: + Removed borland workaround + + commit a81ea59447d5af5fda614d548d9667b5b9aa68bb + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 19:44:32 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h: + Removed not needed export macros + + commit fcf7c65010675d8660cb7a8f610dfe6e8a321fb6 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 16:30:53 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + Added commented out code to enable opendds logging + + * CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/HelloTest_Library.xml: + new file + + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp: + layout change + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + only use 1 export file + + commit 7c2c1b238bfb3115b718c589005986ac28c06e5a + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 16:13:47 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Receiver/Proxy_RW_Test_Receiver_exec.cpp: + * CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Sender/Proxy_RW_Test_Sender_exec.cpp: + Optimized logging. + + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Shared_Library.xml: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Standalone_Library.xml: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Shared_Library.xml: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Standalone_Library.xml: + Added for openDDS support. + + commit 928aa26205f4df1b5fb77a0e991bfd2fe01e794f + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 14:27:02 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Proxy_RW_Library.xml: + Created for openDDS support. + + * CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml: + QOS Profile name shouldn't contain an underscore. + + commit bac443928ada09fb26948427d0e69025ad794518 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 14:16:18 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/CoherentWriter_Library.xml: + * CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/LateBinding_Library.xml: + Added QOS xml for openDDS. + + commit 3958e589a64b93b701b38b72cb704a4b30a405fa + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 13:37:57 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/QueryCondition_Library.xml: + Added and corrected path to dds_qos.xsd + + * CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml: + Added for openDDS support. + + commit 41a122c6a3736dfd7c1fe9802e2b34cae884af3f + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 13:13:57 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/ListenManyByMany_Library.xml: + Added for openDDS support. + + * CIAO/connectors/dds4ccm/tests/Reader/Sender/Reader_Test_Sender_exec.cpp: + Error message when publication_matched was not received. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Added DDS4CCM_INFO define to log message + + commit e25c4785a913b62ffe306178388c2c31b915d62d + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 12:37:51 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml: + Corrected profile name + + commit 779f3c5864dc3b9b2a51e6e8e1a52fae14ec3732 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 12:32:32 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp: + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.h: + Only check ndds values when ndds is enabled + + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml: + Added new qos file + + commit 6fa0ca5280992a9f366a3b4a938a3a7b127c999b + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 11:58:52 2012 +0200 + + * CIAO/MPC/config/dds4ccm_impl.mpb: + Added gen_ostream as base in order to dump qos + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + Use gen_ostream feature when it is enable to log the + qos as we pass it to dds + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Removed dumping of qos xml, moved to dds4ccm + + * TAO/tao/ORB.h: + Typo + + commit 6fbccfee00f805f0bd1228e4eea2d3c56fd6adb4 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 11:45:40 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/UnkeyedWriter_Library.xml: + Added QOS XML file openDDS usage. + + commit 1bdc20ab30b2be587336f50d0bd2cec5a8f5350f + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 11:44:46 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/KeyedWriter_Library.xml: + Added QOS XML file for openDDS usage. + + commit 9278d35882f2c11f235f4c004f58a29c4d523c8a + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 11:43:00 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Added endline characters after QOS dump messages. + + commit 4fb8cd683a4b948c4fb71f7d76d0041330033b09 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 11:34:55 2012 +0200 + + * CIAO/MPC/config/dds4ccm.mpb: + Fixed an after. The QOS-dump test didn't build + due to a non-existing header file. + + commit a60950b2e0e8bb7377539a7b7925435e373ba365 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 09:29:54 2012 +0200 + + * CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/Common/I2C_Shapes_Common.h: + Fixed runtime issues regarding renaming QOS profile + + commit e2a5b89d288931ede26f9a1b349a75c1fa0ad95d + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 29 08:45:25 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Receiver/QC_Receiver.cpp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Sender/QC_Sender.cpp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Receiver/ObO_Receiver.cpp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Sender/ObO_Sender.cpp: + Fixed runtime issues regarding renaming QOS profile. + + commit 986f98484df29ee36bf032050b094be3d8c2267d + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 21:29:40 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + Disabled shutdown, could resolve crash at shutdown + + commit ab374ede0c4fb0b1ef49991ee36ad0ac63e87046 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 21:28:03 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp: + * CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h: + Fixed compile error + + commit 49e847d930cf8326d30ed880307a65fad1ca7645 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 15:23:22 2012 +0200 + + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/HelloTest_Library.xml: + Added QoS XML file for this example + + commit 678fe5718d848fdb771cb4bc4ba1e1e4c5746533 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 13:37:00 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_TopicBase_Connector_T.cpp: + Layout change + + * CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/HelloTest_Library.xml: + Created qos xml file for this test + + commit bac9723c978f3a8b68b3b67d27878ff6164d2108 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 13:26:02 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Deadline_Library.xml: + QoS XML file for this test. The test does run, but crashes at + shutdown in OpenDDS + + commit cc24a1ae343ab9e23bd264bab0d8e1bc7274c8c7 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 12:48:13 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/PublisherListener.cpp: + * CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp: + Improved logging + + commit 365df2f1901afa2bf9c56d41e4cd684812a8afb6 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 12:42:42 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Dump QoS when we have detailed logging. Corrected signature + of read_qos, fixed durability conversion + + commit 3dee3b2ecf2492da0bbb63f42230d2a721b3959f + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 10:18:41 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Fixed incorrect method name in logging + + commit 28f8a8f3edcadb6074238a55d3f3a912098ac2fe + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 09:54:22 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/PortStatusListener.cpp: + * CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp: + Added error logging to callbacks which we don't expect + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + Logging changes + + commit accc5b6398067a04d7134b8ab471443206fe37d8 + Author: Marcel Smit <msmit@remedy.nl> + Date: Fri May 25 09:30:05 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/SLOneByOne/Receiver/SL_OneByOne_Receiver_exec.cpp: + Due to some RTI specific QOS settings, the data of a deleted sample is passed to the + on_deletion handler. Since this is non-standard behaviour, the on_deletion handler has + rewritten. We now just log an message when an on_deletion event comes in. + + * CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/SlObO_Library.xml: + Added standard QOS XML + + commit c01508954ca3b86fd3f7cd06fb4af466379080a5 + Author: Marcel Smit <msmit@remedy.nl> + Date: Fri May 25 09:20:56 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/SLManyByMany/Receiver/SL_ManyByMany_Receiver_exec.cpp: + Due to some RTI specific QOS settings, the data of a deleted sample is passed to the + on_deletion handler. Since this is non-standard behaviour, the on_deletion handler has + rewritten. We now just log an message when an on_deletion event comes in. + + commit 77bc43f4019e99f977df20f292394d336261089d + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 25 09:13:55 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp: + Create topics when we have matched + + * CIAO/connectors/dds4ccm/tests/CSLQoS/Sender/CSL_QoSTest_Sender_exec.cpp: + Layout change + + * CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/QoSTest_Library.xml: + New qos file for this test, still fails, works with plain OpenDDS, + need to analyze this test further + + commit c832d3628a2159e26a8f9b42593e24aabd1d8acd + Author: Marcel Smit <msmit@remedy.nl> + Date: Fri May 25 08:58:39 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/SlMbM_Library.xml: + Added QOS for openDDS. + + commit ff8bf9ffdc581dc1e17dce106e403484e2f1b336 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 21:09:20 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + Shutdown OpenDDS at the end, have to check what happens + if we have multiple connectors in the same process + + * CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + Fixed memory leaks + + commit 838c9b631aba86ae0607a7e6393f09ce6d33edf4 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 16:09:34 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp: + * CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h: + OpenDDS discovery is slower, so don't start the test on ccm_activate but wait + on publication matched status + + * CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/HelloTest_Library.xml: + New qos file for this test + + * CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml: + Removed empty line + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos.xml: + Added id tag + + commit 36d9b2da54171e829e72c8394eff67f37ef16387 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 15:08:07 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc: + Do not build this test when RTI DDS is used. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp: + Optimized logging. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + Fixed loggin issue. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Check for an empty profile string. Optimized logging for that. + + commit 4649a89638765c22e2450f23805099b77d9b0b21 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 15:07:34 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/HelloTest_Library.xml: + Added qos xml file for OpenDDS. After rerunning this test it still + doesn't work. Quick code review showed that OpenDDS doesn't support + the on_sample_rejected callback, reported publicly as bugzilla + 4028 + + * CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml: + Removed empty line + + commit d997f2f1ab316efa7961d1f89a63f71ffa5e8090 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 14:38:09 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/Getter/Sender/Getter_Test_Sender_exec.cpp: + Layout changes + + * CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml: + Reordered qos so that we more easily can compare it with the rti file + + commit 49b5568d98819745a385626ad48498c7cf00b387 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 13:40:07 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp: + Guard zero pointers to strdup + + commit 5b6e2a6b8f9e5f4753ae9c6d6d60e6e4da100ac9 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 13:23:51 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp: + Finished the conversion of the Publisher QOS and Subscriber QOS. + + commit a2c83c1290de06b049f6aa2fd44ecd0e96812c66 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 12:44:31 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos.xml: + Extended partion tag for Subscribers and Publishers for testing. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp: + Parse partition and entity_factory QOS settings. Presentation still + need to be parsed. + + commit 3f84a2cf5c648b6b55fe602d619032c972394162 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 11:57:01 2012 +0200 + + * CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd: + According to the spec the Publisher QOS, the Subscriber QOS, and + the Participant QOS haven't got the topic_filter attribute. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added the Publisher and Subscriber QOSs to the parsing framework. + + commit 2813ef125b1c8682ef4bcac2030490a3219fb633 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 11:13:27 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp: + Prevent reading the QOS while it's not available. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Removed some unnecessary logging. + + commit 557dd624806d1d090b6375e36d31782c89253737 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 11:06:53 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.cpp: + * CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.h: + Fixed coverity error + + commit 0567c8a5a006fa037fb8fc7ab664ff4a652e61f2 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 10:51:35 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + Optimized logging. Some method name were not logged correct. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added support for Topic QoSs. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + Invoking get_topic_qos. + + commit 81cb02e3a1c54b25c4c6cf9e86a5d178aae82314 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 10:44:15 2012 +0200 + + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/1_to_5.cdp: + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Receivers.cdp: + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Senders.cdp: + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_to_1.cdp: + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/DeploymentPlan.cdp: + * CIAO/connectors/dds4ccm/examples/Hello/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/HomeTest/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanNoHash.cdp: + * CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanWrongNames.cdp: + * CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/Reader/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/SetConnectorAttributes/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/DefaultQoS.cdp: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/USER_QOS_PROFILES.xml: + * CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/USER_QOS_PROFILES.xml: + The usage of an underscore is not legal in the DDS profile string, removed it + in all existing deployment plans and QoS XML files + + commit 81434c3d2a5c7893d79f179c0d1b1074717198e4 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 10:39:24 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml: + * CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp: + * CIAO/connectors/dds4ccm/tests/Getter/descriptors/USER_QOS_PROFILES.xml: + Make the profile name a legal name, spec doesn't allow _ + + commit 741410c799ac678353911b632a4aa23411480a7d + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 10:30:16 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl: + Set execute bit + + commit 2313138bb1365693ff212810ba8487963d9c9f68 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 10:28:55 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml: + Added new spec compliant QoS XML file for this test + + commit b843062b65831336559d6383efee494d386cad7b + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 10:02:17 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dw_qos.xml: + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos.xml: + * CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl: + Rename action. qos.xml contains all xml code. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + Added DataReaderQos. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + Check whether init succeeds. If not, return false. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + Added support for DataReaderQos. + + commit 95dcc54fe0c1e398e4e74d9484ffae2595efab8a + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 09:22:14 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added support for DataReader QOS. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + Removed unnecessary include. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + Optimized logging. + + commit aee7ed1215ee28d13f621c40543843daf450b7f7 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 24 08:47:20 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Fixed install location + + commit a94d2e871e0ba73e19e6df32e7b1a22e94f8e553 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 08:32:10 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + Removed comments. Optimized logging + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + Fixed runtime issue regarding logging. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Optimized logging. + + commit b3ddbd8634f7894d068fbaa550d1444404cab459 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 08:17:22 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/MultiTopic/Connector/MultiTopic_Connector_T.cpp: + Fixed compile issues due to interface changes in configuration_complete + + commit 013d5054cec9b31eb57289fcf9a4f8cc141c6870 + Author: Marcel Smit <msmit@remedy.nl> + Date: Thu May 24 08:04:31 2012 +0200 + + * CIAO/MPC/config/dds4ccm_dcps.mpb: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Fixed MPC issues regarding RTI DDS + + commit 337c946da317ff3ea2c6552db6df23e66cf5c960 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 21:21:17 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + Optimized logging. Logging the real QOS IDL value instead of what the + value should be (the QOS XML value). + + commit 356516954b7a253bb52cb3caaa4b0e839d314ce3 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 21:04:19 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + Enabled more QOS setting for DataWriters and Topics. + + commit 819277a41a39704e85c8d69ca10abad25710f151 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 20:57:15 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + Rewritten common QOS setting for DataWriter, DataReaders and Topics. + + commit 8ad139ff96ba6a80d29a5e8bd08923532a85459c + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 15:26:06 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + Added support for DomainParticipant QOS. + + commit f2b91ec491af6e056690134c4020f734e1258ae1 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 15:10:42 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + PublisherQos now is filled by the QOS XML Handler + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + Prepared the PublisherQos and SubscriberQos + + commit 58f4edfc05e2ff3209075e92295a187cb4b37d0d + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 14:52:55 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.h: + * CIAO/connectors/dds4ccm/impl/DDS_Get_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Get_T.h: + * CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp: + Passing the QOS XML structure to the reader side in order to + create a DataReaderQos. + + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.h: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.h: + Passing QOS XML structure by reference. + + commit e2148e64ce9f0b1b49e9c34ed81985c156d3c292 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 14:39:01 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + Passing the topic name to the QOS XML Handler + + commit 9c9921f90817ff04bd4a806cf7ca1b9a4c3b1868 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 14:05:39 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + Making difference between RTI DDS and openDDS when passing + arguments. + + * CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Update_T.h: + Passing the QOS instance to the updater so that is able to + create a datawriter with the supplied DataWriterQos. + + * CIAO/connectors/dds4ccm/tests/Reader/descriptors/Plan.cdp: + Renamed Reader_Profile to ReaderProfile since the DDS XSD doesn't + accept underscores in the name. + + commit e832c62456e825cd5aaedb4083b8698463d5b037 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 11:55:44 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h: + Fixed runtime issues regarding determining the file name. + + * CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml: + Fixed location of the xsd. Parsing now succeeds. + + commit 4514c259e6079ff817bfd76488a07f50f4ec3dbd + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 23 11:37:25 2012 +0200 + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + Check OpenDDS config before creating them + + commit 7a3fc436330a0c8f7ee9b023a4b59e2c830c5cf1 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 11:20:41 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Using the openDDS IDL QOS structure instead of the DDS4CCM IDL + QOS structure. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Layout changes. + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h: + Made get_xml_file_name and get_profile_name const. Fixed + runtime issues due to used sprintf + + commit d2f4a5e59fb5db0f3d5e14b512894d36e630bd0b + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 10:34:21 2012 +0200 + + * CIAO/MPC/config/dds4ccm.mpb: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h: + Fixed link issues on windows. + + commit d5573ac64ef4ddd20e178272f3a31de02be7dbc6 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 09:53:57 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Fixed link issues on windows. + + commit e7f3c01a7f82e44080860939751a64214e2eeec7 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 09:45:55 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp: + Fixed compile issues on windows: include correct header. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Fixed compile issues on windows: BUILD_DLL define was not set properly, + therefor the export macros was not correctly defined. + + commit 958e79633b5d32dac7332aa4b39df4f796430a44 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 23 09:26:31 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/CSLQoS/Receiver/CSL_QoSTest_Receiver_exec.cpp: + Fixed casing of the callback method name + + commit cc9abbed90097fbf837187edbeb0f4b5742d6921 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 09:20:41 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Fixed compile issues regarding paths. + + commit 1e98f6d489dd8b41633931abfb47a0fa8a3de513 + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 23 07:25:13 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h: + Added. + + commit 3e3ad5e5dc965c3caeb0b1b2b767788d7f7375e8 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 15:52:29 2012 +0200 + + * CIAO/MPC/config/dds4ccm_impl.mpb: + Added QOS XML handler as base project. + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h: + * CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Write_T.h: + Passing the XML library to the writer in case openDDS. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + Passing QOS by reference. + + * CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml: + Added qos for openDDS for testing purposes. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added support for parsing QOS profile string + + commit 5501b03128b7d74a0c29ef055e8e0b30c0760a96 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 14:43:01 2012 +0200 + + * CIAO/bin/ciao_tests.lst: + Added QoS/dump to the test framework. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + Pass qos by reference. + + commit 990b1ce1c02730adbba92e3ed14452e6d2fbb125 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 14:25:37 2012 +0200 + + * CIAO/MPC/config/dds4ccm_base.mpb: + In case of openDDS, DDS4CCM needs the QOS XML handler + library. + + * CIAO/MPC/config/dds4ccm_config_handlers.mpb: + * CIAO/MPC/config/dds4ccm_config_handlers_base.mpb: + * CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb: + * CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb: + Rename action. + + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp: + * CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h: + Work in progress : Initialization of the QOS XML library + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc: + Due to rename action. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + Due to initialization change. + + * CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl: + To support test framework. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + Reworked method headers and initialization. One should pass the + qos in the get_xxx_qos methods. The callee is therefor responsible + for clean up. + + commit d766c172a83211aa48fc404992b3b55df54d8dd5 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 11:40:59 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dw_qos.xml: + Changed value for testing purposes. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + Keeping the profiles in memory (instead of one profile). + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp: + Removed tracing + + commit fa345aa750c7522ed0ea0a60255fadb8b4062c8b + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 11:03:33 2012 +0200 + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dw_qos.xml: + Added to test with + + commit 5e49df59c2b98963a2a0a6ec874330d29c8cb7ae + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 11:02:22 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h: + Work in progress. Disabled code in order to get it compiled and running. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h: + Added helper methods. Some integer value may contain tekst + (nanosec for instance). This class converts them in the right way. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h: + Hierarchy of Qos's in templated C++ classes. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + Added dds4ccm/docs/schema to the search path. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp: + Added some tracing. + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added QosCommon. + + commit 13d2bebd279ece2760081a26130daf326ceb8b1e + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 08:50:22 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h: + Converting the XML DataWriterQos to an IDL DataWriterQos + + commit bbf94d9c1018e3abfb67c8eba66fa9d0ca49e0e8 + Author: Marcel Smit <msmit@remedy.nl> + Date: Tue May 22 08:48:40 2012 +0200 + + * CIAO/MPC/config/dds4ccm_config_handlers_base.mpb: + * CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc: + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Work in progress: First steps of the QOS XML handler using XSC. + + commit 6dc4be2b0cb7e23aa24a68b65e21ec97bc6532b3 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 20:06:46 2012 +0200 + + * CIAO/MPC/config/dds4ccm_config_handlers.mpb: + * CIAO/MPC/config/dds4ccm_config_handlers_base.mpb: + New base projects for dds4ccm config handlers + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc: + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + Starter for new qos xml tests + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added more code + + * DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc: + Removed not needed base project + + * DAnCE/tools/Config_Handlers/DnC_Dump.h: + Layout changes + + commit e383bec8fadbf726ac6684779210ee619f376faf + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 19:07:33 2012 +0200 + + * CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc: + * CIAO/CIAO_TAO_OpenDDS.mwc: + Reuse the OpenDDS workspace files instead + of duplicating them here + + commit a0971838efcac9b1967cad1612cd055917c1ea5d + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 15:43:50 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + Enabled parsing + + commit bceaf0f92476bca8163dbba68d7dfcb8893f8bd0 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 15:19:32 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Fixed compile errors, just get it to compile + + commit b95b7e4318a9125eac10ef87e22c991691d191f2 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 15:16:18 2012 +0200 + + * CIAO/CIAO_TAO_DAnCE.mwc: + * CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc: + Also compile connectors/dds4ccm/tools by + default + + commit fb26c7868fc9a515075aa909bea8b2f12f57856b + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 14:58:01 2012 +0200 + + * CIAO/CIAO_TAO_DAnCE_OpenDDS.mwc: + * CIAO/CIAO_TAO_OpenDDS.mwc: + New workspaces that compile ACE/TAO/CIAO/DAnCE with + OpenDDS + + commit d69b8370c30a6a204d7fee98efe5c23852c58aaa + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 17 15:56:27 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Some starting files, need more work + + commit f9e6292cbc3b37da214edee3386185c651d17ad8 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Thu May 17 15:43:25 2012 +0200 + + * CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd: + Simplified xsd, all restrictive qos are not used + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp: + Regenerated and slightly handcrafted + + commit c9f9fb8210a8696d4cece32a3e99f40b2bedddaa + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 16 20:34:48 2012 +0200 + + * CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd: + Updated with modified file by Will Otte that gets better + handled by XSC + + commit 4d92a57a9e4e695cf38e4291203dbc44814285c9 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 16 20:32:52 2012 +0200 + + * CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd: + Some fixes + + commit 2b28f0224a2581fc3d176a0d63def384c591d577 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 16 14:14:56 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Generated dds_qos with some manual handcrafting to get it to compile + + commit 315a80179069abe422a3aba87b997fe1bf718552 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 16 13:46:02 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_XSC_Handler_Export.h: + Renamed to get the correct name + + commit 817e02aa595eca4c77f643ab38ec8f6e3c12018d + Author: Marcel Smit <msmit@remedy.nl> + Date: Wed May 16 13:39:58 2012 +0200 + + * CIAO/connectors/dds4ccm/docs/schema/dds_qos.xsd: + * CIAO/connectors/dds4ccm/docs/schema/xsc-banner.cpp: + * CIAO/connectors/dds4ccm/docs/schema/xsc-banner.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Work in progress: starting up a DDS QOS Handler for DDS4CCM + Sat May 19 14:28:57 CEST 2012 Johnny Willemsen <jwillemsen@remedy.nl> * CIAO version 1.1.2 released. diff --git a/CIAO/MPC/config/dds4ccm.mpb b/CIAO/MPC/config/dds4ccm.mpb index 5978961e24b..8dcf9626c84 100644 --- a/CIAO/MPC/config/dds4ccm.mpb +++ b/CIAO/MPC/config/dds4ccm.mpb @@ -1,7 +1,7 @@ // -*- MPC -*- // $Id$ -feature(dds4ccm_opendds) : taoidldefaults, dcps { +feature(dds4ccm_opendds) : taoidldefaults, dcps_rtps, dds4ccm_qos_xml_handler { after += DdsDcps_lem_gen macros += CIAO_DDS4CCM_OPENDDS=1 idlflags += -DCIAO_DDS4CCM_OPENDDS=1 \ diff --git a/CIAO/MPC/config/dds4ccm_base.mpb b/CIAO/MPC/config/dds4ccm_base.mpb index 47fbb383f4c..f955331dbdf 100644 --- a/CIAO/MPC/config/dds4ccm_base.mpb +++ b/CIAO/MPC/config/dds4ccm_base.mpb @@ -1,7 +1,7 @@ // -*- MPC -*- // $Id$ -feature(dds4ccm_opendds) : dds4ccm_stub, ciao_connector_base, dcps_rtps, dcps_lem_stub { +feature(dds4ccm_opendds) : dds4ccm_stub, ciao_connector_base, dds4ccm_qos_xml_handler, dcps_rtps, dcps_lem_stub { after += DDS4CCM_lem_gen } diff --git a/CIAO/MPC/config/dds4ccm_dcps.mpb b/CIAO/MPC/config/dds4ccm_dcps.mpb new file mode 100644 index 00000000000..af33f66cd2d --- /dev/null +++ b/CIAO/MPC/config/dds4ccm_dcps.mpb @@ -0,0 +1,4 @@ +// $Id$ + +feature(dds4ccm_opendds) : dcps { +} diff --git a/CIAO/MPC/config/dds4ccm_impl.mpb b/CIAO/MPC/config/dds4ccm_impl.mpb index 16c0906c0e3..2da4b4a89f3 100644 --- a/CIAO/MPC/config/dds4ccm_impl.mpb +++ b/CIAO/MPC/config/dds4ccm_impl.mpb @@ -1,21 +1,21 @@ // -*- MPC -*- // $Id$ -feature(dds4ccm_opendds) : dds4ccm_skel, dds4ccm_lem_stub, dcps_lem_stub, dcps_rtps, dds4ccm_logger { +feature(dds4ccm_opendds) : gen_ostream, dds4ccm_skel, dds4ccm_lem_stub, dcps_lem_stub, dds4ccm_qos_xml_handler, dcps_rtps, dds4ccm_logger { after += CIAO_DDS4CCM_DDS_Impl libs += CIAO_DDS4CCM_DDS_Impl includes += $(CIAO_ROOT)/connectors \ $(CIAO_ROOT)/connectors/dds4ccm/idl } -feature(dds4ccm_ndds) : dds4ccm_skel, dds4ccm_lem_stub, ndds_idltocpp_impl, ndds_idltocpp_lem_stub { +feature(dds4ccm_ndds) : gen_ostream, dds4ccm_skel, dds4ccm_lem_stub, ndds_idltocpp_impl, ndds_idltocpp_lem_stub { after += CIAO_DDS4CCM_DDS_Impl libs += CIAO_DDS4CCM_DDS_Impl includes += $(CIAO_ROOT)/connectors \ $(CIAO_ROOT)/connectors/dds4ccm/idl } -feature(dds4ccm_coredx) : dds4ccm_skel, dds4ccm_lem_stub { +feature(dds4ccm_coredx) : gen_ostream, dds4ccm_skel, dds4ccm_lem_stub { after += CIAO_DDS4CCM_DDS_Impl libs += CIAO_DDS4CCM_DDS_Impl includes += $(CIAO_ROOT)/connectors \ diff --git a/CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb b/CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb new file mode 100644 index 00000000000..fbe9aa6bab6 --- /dev/null +++ b/CIAO/MPC/config/dds4ccm_qos_xml_handler.mpb @@ -0,0 +1,5 @@ +// -*- MPC -*- +// $Id$ + +project : dds4ccm_qos_xml_handler_base, dynamicany, typecodefactory, xml_utils { +} diff --git a/CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb b/CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb new file mode 100644 index 00000000000..5ae6f91f5e4 --- /dev/null +++ b/CIAO/MPC/config/dds4ccm_qos_xml_handler_base.mpb @@ -0,0 +1,10 @@ +// -*- MPC -*- +// $Id$ + +project : xml_utils, dynamicany, typecodefactory { + after += QOS_XML_XSC_Handler + libs += QOS_XML_XSC_Handler + macros += XML_USE_PTHREADS + includes += $(CIAO_ROOT)/connectors/dds4ccm/tools/QOS_XML_Handler + includes += $(DANCE_ROOT)/tools/Config_Handlers +} diff --git a/CIAO/bin/ciao_tests.lst b/CIAO/bin/ciao_tests.lst index edf0f0ce582..77ea779ef34 100644 --- a/CIAO/bin/ciao_tests.lst +++ b/CIAO/bin/ciao_tests.lst @@ -117,6 +117,7 @@ TAO/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/run_test.pl: !STATI TAO/CIAO/connectors/dds4ccm/tests/QueryCondition/EventListener/descriptors/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS TAO/CIAO/connectors/dds4ccm/tests/QueryCondition/StateListener/descriptors/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS TAO/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS +TAO/CIAO/connectors/dds4ccm/tests/QoS/dump/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS TAO/CIAO/connectors/dds4ccm/tests/PortUsage/descriptors/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS TAO/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/CFTNamesClash/descriptors/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS TAO/CIAO/connectors/dds4ccm/tests/UserdataCopyCount/descriptors/run_test.pl: !STATIC !MINIMUM !CORBA_E_COMPACT !CORBA_E_MICRO !NOXERCES !ACE_FOR_TAO !ST NDDS diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/1_to_5.cdp b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/1_to_5.cdp index 619eeb2c145..b91c46290cf 100644 --- a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/1_to_5.cdp +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/1_to_5.cdp @@ -238,7 +238,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -321,7 +321,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -404,7 +404,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -488,7 +488,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -571,7 +571,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -603,7 +603,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Receivers.cdp b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Receivers.cdp index dcba0a3ea34..e8d9715a088 100644 --- a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Receivers.cdp +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Receivers.cdp @@ -263,7 +263,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -368,7 +368,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -473,7 +473,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -578,7 +578,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -683,7 +683,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Senders.cdp b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Senders.cdp index 6b7ca7f1360..c9159285f8f 100644 --- a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Senders.cdp +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_Senders.cdp @@ -252,7 +252,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -345,7 +345,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -439,7 +439,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -534,7 +534,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -628,7 +628,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_to_1.cdp b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_to_1.cdp index 8fe8acea1e5..bf4b8973983 100644 --- a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_to_1.cdp +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/5_to_1.cdp @@ -260,7 +260,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -365,7 +365,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -470,7 +470,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -575,7 +575,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -680,7 +680,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -712,7 +712,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/DeploymentPlan.cdp b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/DeploymentPlan.cdp index dfaf34df25e..923a2dbc224 100644 --- a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/DeploymentPlan.cdp +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/DeploymentPlan.cdp @@ -214,7 +214,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -243,7 +243,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -254,7 +254,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/HelloTest_Library.xml b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/HelloTest_Library.xml new file mode 100644 index 00000000000..edb47f4ee45 --- /dev/null +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/HelloTest_Library.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="HelloProfile"> + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/USER_QOS_PROFILES.xml index 53e0d484a6c..e770400775f 100644 --- a/CIAO/connectors/dds4ccm/examples/Hello/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/examples/Hello/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Hello_Profile" is_default_qos="true"> + <qos_profile name="HelloProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/Common/I2C_Shapes_Common.h b/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/Common/I2C_Shapes_Common.h index 665e89e6556..2dba4037ea9 100755 --- a/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/Common/I2C_Shapes_Common.h +++ b/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/Common/I2C_Shapes_Common.h @@ -13,7 +13,7 @@ * Pulse generator */ -#define QOS_PROFILE "Shapes_Library#Shapes_Profile" +#define QOS_PROFILE "Shapes_Library#ShapesProfile" class I2C_SHAPES_Export I2C_Shapes_Common { diff --git a/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/descriptors/USER_QOS_PROFILES.xml index 402942fa59b..63b0f5960cf 100644 --- a/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/examples/IDL2CPPWrapper/Shapes/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Shapes_Profile" is_default_qos="true"> + <qos_profile name="ShapesProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp index abc1bf780b2..249c54c3f5d 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.cpp @@ -42,6 +42,7 @@ DDS_Base_Connector_T<CCM_TYPE>::DDS_Base_Connector_T (void) { this->dlf_->init (); } + //OpenDDS::DCPS::DCPS_debug_level = 10; #if (CIAO_DDS4CCM_OPENDDS==1) this->create_opendds_participant_factory (); #endif @@ -56,10 +57,7 @@ DDS_Base_Connector_T<CCM_TYPE>::~DDS_Base_Connector_T (void) "DDS_Base_Connector_T::~DDS_Base_Connector_T - " "Connector has been destructed\n")); #if (CIAO_DDS4CCM_OPENDDS==1) -// this->domain_participant_->delete_contained_entities(); -// this->participant_factory_->delete_participant(this->domain_participant_.in()); -// TheTransportFactory->release(); -// TheServiceParticipant->shutdown (); + //TheServiceParticipant->shutdown (); #endif } @@ -72,26 +70,46 @@ DDS_Base_Connector_T<CCM_TYPE>::create_opendds_participant_factory (void) DDS4CCM_TRACE ("DDS_Base_Connector_T<CCM_TYPE>::create_opendds_participant_factory"); try { - this->participant_factory_ = TheParticipantFactory; - OpenDDS::DCPS::TransportConfig_rch config = - OpenDDS::DCPS::TransportRegistry::instance()->create_config("dds4ccm_rtps"); + if (::CORBA::is_nil (this->participant_factory_.in ())) + { + this->participant_factory_ = TheParticipantFactory; + + OpenDDS::DCPS::TransportConfig_rch config = + OpenDDS::DCPS::TransportRegistry::instance()->get_config("dds4ccm_rtps"); + + if (config.is_nil()) + { + config = + OpenDDS::DCPS::TransportRegistry::instance()->create_config("dds4ccm_rtps"); + } + + OpenDDS::DCPS::TransportInst_rch inst = + OpenDDS::DCPS::TransportRegistry::instance()->get_inst("the_rtps_transport"); - OpenDDS::DCPS::TransportInst_rch inst = - OpenDDS::DCPS::TransportRegistry::instance()->create_inst("the_rtps_transport", - "rtps_udp"); - OpenDDS::DCPS::RtpsUdpInst_rch rui = - OpenDDS::DCPS::static_rchandle_cast<OpenDDS::DCPS::RtpsUdpInst>(inst); - rui->handshake_timeout_ = 1; + if (inst.is_nil()) + { + inst = + OpenDDS::DCPS::TransportRegistry::instance()->create_inst("the_rtps_transport", + "rtps_udp"); + OpenDDS::DCPS::RtpsUdpInst_rch rui = + OpenDDS::DCPS::static_rchandle_cast<OpenDDS::DCPS::RtpsUdpInst>(inst); + + if (!rui.is_nil()) + { + rui->handshake_timeout_ = ACE_Time_Value (1, 0); + } - config->instances_.push_back(inst); + config->instances_.push_back(inst); - OpenDDS::DCPS::TransportRegistry::instance()->global_config(config); + OpenDDS::DCPS::TransportRegistry::instance()->global_config(config); + } - OpenDDS::RTPS::RtpsDiscovery_rch disc = - new OpenDDS::RTPS::RtpsDiscovery(OpenDDS::DCPS::Discovery::DEFAULT_RTPS); + OpenDDS::RTPS::RtpsDiscovery_rch disc = + new OpenDDS::RTPS::RtpsDiscovery(OpenDDS::DCPS::Discovery::DEFAULT_RTPS); - TheServiceParticipant->add_discovery(OpenDDS::DCPS::static_rchandle_cast<OpenDDS::DCPS::Discovery>(disc)); - TheServiceParticipant->set_repo_domain(this->domain_id (), disc->key()); + TheServiceParticipant->add_discovery(OpenDDS::DCPS::static_rchandle_cast<OpenDDS::DCPS::Discovery>(disc)); + TheServiceParticipant->set_repo_domain(this->domain_id (), disc->key()); + } } catch (const CORBA::Exception& e) { @@ -153,6 +171,18 @@ DDS_Base_Connector_T<CCM_TYPE>::qos_profile ( else { this->qos_profile_ = ::CORBA::string_dup (qos_profile); + + +#if (CIAO_DDS4CCM_OPENDDS==1) + ACE_CString file_name (DDS4CCM::get_xml_file_name (qos_profile)); + if (!this->qos_xml_.init (file_name.c_str())) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "DDS_Base_Connector_T::qos_profile - " + "Error while initializing QOS Handler\n")); + throw ::CCM_DDS::InternalError (0, 0); + } +#endif } } @@ -189,6 +219,9 @@ DDS_Base_Connector_T<CCM_TYPE>::init_domain ( this->participant_factory_.get_default_participant_qos (qos); #else this->participant_factory_->get_default_participant_qos (qos); + + this->qos_xml_.get_participant_qos (qos, + DDS4CCM::get_profile_name (this->qos_profile_.in ()).c_str ()); #endif if (retcode != DDS::RETCODE_OK) @@ -200,6 +233,18 @@ DDS_Base_Connector_T<CCM_TYPE>::init_domain ( throw ::CCM_DDS::InternalError (retcode, 0); } +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << qos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Base_Connector_T::init_domain - ") + ACE_TEXT ("Using participant QOS <%C>\n"), message.c_str())); + } +#endif + #if (CIAO_DDS4CCM_NDDS==1) participant = this->participant_factory_.create_participant ( #else @@ -334,7 +379,13 @@ DDS_Base_Connector_T<CCM_TYPE>::init_topic ( DDS::ReturnCode_t const retcode = participant->get_default_topic_qos (tqos); - if (retcode != DDS::RETCODE_OK) +#if (CIAO_DDS4CCM_OPENDDS==1) + this->qos_xml_.get_topic_qos (tqos, + DDS4CCM::get_profile_name (this->qos_profile_.in ()).c_str (), + topic_name); +#endif + + if (retcode != DDS::RETCODE_OK) { DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO "DDS_Base_Connector_T::init_topic - " @@ -343,6 +394,18 @@ DDS_Base_Connector_T<CCM_TYPE>::init_topic ( throw ::CCM_DDS::InternalError (retcode, 0); } +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << tqos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Base_Connector_T::init_topic - ") + ACE_TEXT ("Using topic QOS <%C>\n"), message.c_str())); + } +#endif + tp = participant->create_topic (topic_name, typesupport_name, tqos, @@ -385,6 +448,11 @@ DDS_Base_Connector_T<CCM_TYPE>::init_publisher ( DDS::ReturnCode_t const retcode = participant->get_default_publisher_qos (pqos); +#if (CIAO_DDS4CCM_OPENDDS==1) + this->qos_xml_.get_publisher_qos (pqos, + DDS4CCM::get_profile_name (this->qos_profile_.in ()).c_str ()); +#endif + if (retcode != DDS::RETCODE_OK) { DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO @@ -393,6 +461,19 @@ DDS_Base_Connector_T<CCM_TYPE>::init_publisher ( ::CIAO::DDS4CCM::translate_retcode (retcode))); throw ::CCM_DDS::InternalError (retcode, 0); } + +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << pqos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Base_Connector_T::init_publisher - ") + ACE_TEXT ("Using publisher QOS <%C>\n"), message.c_str())); + } +#endif + publisher = participant->create_publisher (pqos, ::DDS::PublisherListener::_nil (), 0); @@ -432,14 +513,32 @@ DDS_Base_Connector_T<CCM_TYPE>::init_subscriber ( DDS::ReturnCode_t const retcode = participant->get_default_subscriber_qos (sqos); +#if (CIAO_DDS4CCM_OPENDDS==1) + this->qos_xml_.get_subscriber_qos (sqos, + DDS4CCM::get_profile_name (this->qos_profile_.in ()).c_str ()); +#endif + if (retcode != DDS::RETCODE_OK) { DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO - "DDS_Base_Connector_T::init_publisher - " + "DDS_Base_Connector_T::init_subscriber - " "Error: Unable to retrieve get_default_subscriber_qos: <%C>\n", ::CIAO::DDS4CCM::translate_retcode (retcode))); throw ::CCM_DDS::InternalError (retcode, 0); } + +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << sqos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Base_Connector_T::init_subscriber - ") + ACE_TEXT ("Using publisher QOS <%C>\n"), message.c_str())); + } +#endif + subscriber = participant->create_subscriber (sqos, ::DDS::SubscriberListener::_nil (), 0); diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h b/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h index 1926ab599c5..2c33137bb06 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h +++ b/CIAO/connectors/dds4ccm/impl/DDS_Base_Connector_T.h @@ -11,6 +11,8 @@ #include "dds4ccm/impl/ndds/DomainParticipantFactory.h" #elif (CIAO_DDS4CCM_OPENDDS==1) #include "dds/DCPS/Service_Participant.h" +#include "dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h" +#include "dds4ccm/tools/QOS_XML_Handler/Utils.h" #endif #include "dds4ccm/impl/logger/Logger_Service.h" #include "ace/Copy_Disabled.h" @@ -216,6 +218,7 @@ protected: #if (CIAO_DDS4CCM_OPENDDS==1) OpenDDS::DCPS::TransportImpl_rch transport_impl_; + DDS4CCM::QOS_XML_Loader qos_xml_; #endif }; diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp index 1371b7e41c1..311637fada8 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_Event_Connector_T.cpp @@ -281,7 +281,12 @@ DDS_Event_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->push_consumer_.configuration_complete ( this->topic_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } else { @@ -300,7 +305,13 @@ DDS_Event_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->supplier_.configuration_complete( this->topic_.in (), this->publisher_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif + } else { @@ -319,7 +330,12 @@ DDS_Event_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->pull_consumer_.configuration_complete ( this->topic_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } else { diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Get_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_Get_T.cpp index 3837ed218ec..a5fa66e5117 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Get_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_Get_T.cpp @@ -26,12 +26,26 @@ void DDS_Get_T<CCM_TYPE, TYPED_DDS_READER, VALUE_TYPE, SEQ_VALUE_TYPE, FIXED>::configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Subscriber_ptr subscriber, +#if (CIAO_DDS4CCM_NDDS==1) const char * qos_profile) +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml) +#endif { DDS4CCM_TRACE ("DDS_Get_T<CCM_TYPE, TYPED_DDS_READER, VALUE_TYPE, SEQ_VALUE_TYPE, FIXED>::configuration_complete"); + + +#if (CIAO_DDS4CCM_NDDS==1) + SubscriberBase_type::configuration_complete (topic, + subscriber, + qos_profile); +#else SubscriberBase_type::configuration_complete (topic, - subscriber, - qos_profile); + subscriber, + qos_profile, + qos_xml); +#endif ::DDS::DataReader_var dr = this->dds_read_->get_dds_reader (); this->dds_get_->set_dds_reader (dr.in (), diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Get_T.h b/CIAO/connectors/dds4ccm/impl/DDS_Get_T.h index 5ec5598f196..1a8c4867437 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Get_T.h +++ b/CIAO/connectors/dds4ccm/impl/DDS_Get_T.h @@ -33,7 +33,12 @@ public: void configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Subscriber_ptr subscriber, +#if (CIAO_DDS4CCM_NDDS==1) const char * qos_profile); +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml); +#endif void remove (::DDS::Subscriber_ptr subscriber); diff --git a/CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp index ee278dd36fd..6aeafcd6d14 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_State_Connector_T.cpp @@ -406,7 +406,12 @@ DDS_State_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->observable_.configuration_complete ( this->topic_.in (), this->publisher_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } if (this->push_observer_obtained_) @@ -414,7 +419,12 @@ DDS_State_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->push_observer_.configuration_complete ( this->topic_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } if (this->push_state_observer_obtained_) @@ -422,7 +432,12 @@ DDS_State_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->push_state_observer_.configuration_complete ( this->topic_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } if (this->pull_observer_obtained_) @@ -430,7 +445,12 @@ DDS_State_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->pull_observer_.configuration_complete ( this->topic_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } if (this->passive_observer_obtained_) @@ -438,7 +458,12 @@ DDS_State_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::do_configuration_com this->passive_observer_.configuration_complete ( this->topic_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_.in ()); +#else + this->qos_profile_.in (), + this->qos_xml_); +#endif } } diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp index a453cfc0693..89f7531946b 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.cpp @@ -32,7 +32,12 @@ void DDS_Subscriber_Base_T<CCM_TYPE, TYPED_DDS_READER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Subscriber_ptr subscriber, +#if (CIAO_DDS4CCM_NDDS==1) const char * qos_profile) +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml) +#endif { DDS4CCM_TRACE ("DDS_Subscriber_Base_T<CCM_TYPE, TYPED_DDS_READER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_complete"); @@ -71,14 +76,19 @@ DDS_Subscriber_Base_T<CCM_TYPE, TYPED_DDS_READER, VALUE_TYPE, SEQ_VALUE_TYPE>::c 0); } else -#else - ACE_UNUSED_ARG (qos_profile); #endif { ::DDS::DataReaderQos drqos; DDS::ReturnCode_t const retcode = subscriber->get_default_datareader_qos (drqos); +#if (CIAO_DDS4CCM_OPENDDS==1) + CORBA::String_var name = topic->get_name (); + qos_xml.get_datareader_qos (drqos, + DDS4CCM::get_profile_name (qos_profile).c_str (), + name.in ()); +#endif + if (retcode != DDS::RETCODE_OK) { DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO @@ -87,6 +97,19 @@ DDS_Subscriber_Base_T<CCM_TYPE, TYPED_DDS_READER, VALUE_TYPE, SEQ_VALUE_TYPE>::c ::CIAO::DDS4CCM::translate_retcode (retcode))); throw ::CCM_DDS::InternalError (retcode, 0); } + +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << drqos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Subscriber_Base_T::configuration_complete - ") + ACE_TEXT ("Using datareader QOS <%C>\n"), message.c_str())); + } +#endif + dr = subscriber->create_datareader ( td.in (), drqos, diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.h b/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.h index 9fb256516e5..76024e28928 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.h +++ b/CIAO/connectors/dds4ccm/impl/DDS_Subscriber_Base_T.h @@ -45,7 +45,12 @@ public: void configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Subscriber_ptr subscriber, - const char* qos_profile); +#if (CIAO_DDS4CCM_NDDS==1) + const char * qos_profile); +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml); +#endif void activate ( ::CCM_DDS::PortStatusListener_ptr listener, diff --git a/CIAO/connectors/dds4ccm/impl/DDS_TopicBase_Connector_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_TopicBase_Connector_T.cpp index 27f575acf07..bdaaa9b908b 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_TopicBase_Connector_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_TopicBase_Connector_T.cpp @@ -34,7 +34,6 @@ DDS_TopicBase_Connector_T<CCM_TYPE, DDS_TYPE, SEQ_TYPE>::late_binding (bool late this->late_binding_ |= late_binding; } - template <typename CCM_TYPE, typename DDS_TYPE, typename SEQ_TYPE> bool DDS_TopicBase_Connector_T<CCM_TYPE, DDS_TYPE, SEQ_TYPE>::stop_dds ( diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp index 6cae9cfe58f..58620c4f2d6 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_Update_T.cpp @@ -32,7 +32,12 @@ void DDS_Update_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Publisher_ptr publisher, +#if (CIAO_DDS4CCM_NDDS==1) const char * qos_profile) +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml) +#endif { DDS4CCM_TRACE ("DDS_Update_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_complete"); ::DDS::DataWriter_var dw = this->dds_update_->get_dds_writer (); @@ -49,14 +54,19 @@ DDS_Update_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_ 0); } else -#else - ACE_UNUSED_ARG (qos_profile); #endif { ::DDS::DataWriterQos dwqos; DDS::ReturnCode_t const retcode = publisher->get_default_datawriter_qos (dwqos); +#if (CIAO_DDS4CCM_OPENDDS==1) + CORBA::String_var name = topic->get_name (); + qos_xml.get_datawriter_qos (dwqos, + DDS4CCM::get_profile_name (qos_profile).c_str (), + name.in ()); +#endif + if (retcode != DDS::RETCODE_OK) { DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO @@ -65,6 +75,19 @@ DDS_Update_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_ ::CIAO::DDS4CCM::translate_retcode (retcode))); throw ::CCM_DDS::InternalError (retcode, 0); } + +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << dwqos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Update_T::configuration_complete - ") + ACE_TEXT ("Using datawriter QOS <%C>\n"), message.c_str())); + } +#endif + dwv_tmp = publisher->create_datawriter ( topic, dwqos, diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Update_T.h b/CIAO/connectors/dds4ccm/impl/DDS_Update_T.h index 88d1372249b..a057c98dd4a 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Update_T.h +++ b/CIAO/connectors/dds4ccm/impl/DDS_Update_T.h @@ -27,7 +27,12 @@ public: void configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Publisher_ptr publisher, +#if (CIAO_DDS4CCM_NDDS==1) const char * qos_profile); +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml); +#endif void activate (void); diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp b/CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp index cc56127e41b..31c4915e4e4 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp +++ b/CIAO/connectors/dds4ccm/impl/DDS_Write_T.cpp @@ -30,7 +30,12 @@ void DDS_Write_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Publisher_ptr publisher, +#if (CIAO_DDS4CCM_NDDS==1) const char * qos_profile) +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml) +#endif { DDS4CCM_TRACE ("DDS_Write_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_complete"); ::DDS::DataWriter_var dw = this->dds_write_->get_dds_writer (); @@ -47,14 +52,19 @@ DDS_Write_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_c 0); } else -#else - ACE_UNUSED_ARG (qos_profile); #endif { ::DDS::DataWriterQos dwqos; DDS::ReturnCode_t const retcode = publisher->get_default_datawriter_qos (dwqos); +#if (CIAO_DDS4CCM_OPENDDS==1) + CORBA::String_var name = topic->get_name (); + qos_xml.get_datawriter_qos (dwqos, + DDS4CCM::get_profile_name (qos_profile).c_str (), + name.in ()); +#endif + if (retcode != DDS::RETCODE_OK) { DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO @@ -63,6 +73,18 @@ DDS_Write_T<CCM_TYPE, TYPED_WRITER, VALUE_TYPE, SEQ_VALUE_TYPE>::configuration_c ::CIAO::DDS4CCM::translate_retcode (retcode))); throw ::CCM_DDS::InternalError (retcode, 0); } + +#if defined GEN_OSTREAM_OPS + if (DDS4CCM_debug_level >= DDS4CCM_LOG_LEVEL_DDS_STATUS) + { + std::stringstream output; + output << dwqos; + std::string message = output.str(); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_INFO, DDS4CCM_INFO + ACE_TEXT ("DDS_Update_T::configuration_complete - ") + ACE_TEXT ("Using datawriter QOS <%C>\n"), message.c_str())); + } +#endif dwv_tmp = publisher->create_datawriter ( topic, dwqos, diff --git a/CIAO/connectors/dds4ccm/impl/DDS_Write_T.h b/CIAO/connectors/dds4ccm/impl/DDS_Write_T.h index a71dbe0b029..889bc364f1d 100644 --- a/CIAO/connectors/dds4ccm/impl/DDS_Write_T.h +++ b/CIAO/connectors/dds4ccm/impl/DDS_Write_T.h @@ -12,6 +12,10 @@ #include "dds4ccm/impl/Writer_T.h" #include "dds4ccm/impl/CCM_DataWriter.h" +#if (CIAO_DDS4CCM_OPENDDS==1) +# include "dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h" +#endif + template <typename CCM_TYPE, typename TYPED_WRITER, typename VALUE_TYPE, typename SEQ_VALUE_TYPE> class DDS_Write_T { @@ -34,7 +38,12 @@ public: void configuration_complete ( ::DDS::Topic_ptr topic, ::DDS::Publisher_ptr publisher, - const char* qos_profile); +#if (CIAO_DDS4CCM_NDDS==1) + const char * qos_profile); +#else + const char * qos_profile, + DDS4CCM::QOS_XML_Loader& qos_xml); +#endif void activate (void); diff --git a/CIAO/connectors/dds4ccm/impl/PortStatusListener.cpp b/CIAO/connectors/dds4ccm/impl/PortStatusListener.cpp index 472adbc0e18..d8134b41122 100644 --- a/CIAO/connectors/dds4ccm/impl/PortStatusListener.cpp +++ b/CIAO/connectors/dds4ccm/impl/PortStatusListener.cpp @@ -149,6 +149,9 @@ namespace CIAO ::DDS::DataReader_ptr , const ::DDS::RequestedIncompatibleQosStatus & ) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "PortStatusListener::on_requested_incompatible_qos - " + "Unexpected callback occurred\n")); } void @@ -156,6 +159,9 @@ namespace CIAO ::DDS::DataReader_ptr , const ::DDS::SampleRejectedStatus & ) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "PortStatusListener::on_sample_rejected - " + "Unexpected callback occurred\n")); } void @@ -163,12 +169,17 @@ namespace CIAO ::DDS::DataReader_ptr , const ::DDS::LivelinessChangedStatus & ) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "PortStatusListener::on_liveliness_changed - " + "Unexpected callback occurred\n")); } void - PortStatusListener::on_data_available ( - ::DDS::DataReader_ptr ) + PortStatusListener::on_data_available (::DDS::DataReader_ptr ) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "PortStatusListener::on_data_available - " + "Unexpected callback occurred\n")); } void @@ -176,6 +187,9 @@ namespace CIAO ::DDS::DataReader_ptr , const ::DDS::SubscriptionMatchedStatus & ) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "PortStatusListener::on_subscription_matched - " + "Unexpected callback occurred\n")); } ::DDS::StatusMask diff --git a/CIAO/connectors/dds4ccm/impl/PublisherListener.cpp b/CIAO/connectors/dds4ccm/impl/PublisherListener.cpp index 695b97b7b5d..14636a917a1 100644 --- a/CIAO/connectors/dds4ccm/impl/PublisherListener.cpp +++ b/CIAO/connectors/dds4ccm/impl/PublisherListener.cpp @@ -156,7 +156,7 @@ namespace CIAO translate_qospolicyid_t (status.last_policy_id))); for (CORBA::ULong i = 0; i < status.policies.length (); ++i) { - DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_DEBUG, + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_DEBUG, DDS4CCM_INFO ACE_TEXT ("\t\tid <%C> - count <%d>\n"), translate_qospolicyid_t (status.policies[i].policy_id), status.policies[i].count)); diff --git a/CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp b/CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp index 3a9bc9e9554..4929a8f8d79 100644 --- a/CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp +++ b/CIAO/connectors/dds4ccm/impl/SubscriberListener.cpp @@ -40,7 +40,7 @@ namespace CIAO translate_qospolicyid_t (status.last_policy_id))); for (CORBA::ULong i = 0; i < status.policies.length (); ++i) { - DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_DEBUG, + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_DEBUG, DDS4CCM_INFO ACE_TEXT ("\t\tid <%C> - count <%d>\n"), translate_qospolicyid_t (status.policies[i].policy_id), status.policies[i].count)); @@ -260,12 +260,18 @@ namespace CIAO ::DDS::DataReader_ptr, const ::DDS::RequestedDeadlineMissedStatus &) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "SubscriberListener::on_requested_deadline_missed - " + "Unexpected callback occurred\n")); } void SubscriberListener::on_data_available ( ::DDS::DataReader_ptr) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "SubscriberListener::on_data_available - " + "Unexpected callback occurred\n")); } void @@ -273,6 +279,9 @@ namespace CIAO ::DDS::DataReader_ptr, const ::DDS::SampleLostStatus &) { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "SubscriberListener::on_sample_lost - " + "Unexpected callback occurred\n")); } ::DDS::StatusMask diff --git a/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/Latency_Library.xml b/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/Latency_Library.xml new file mode 100644 index 00000000000..735d2fa82f8 --- /dev/null +++ b/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/Latency_Library.xml @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + + <qos_profile name="UDPv4QoS"> + + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>1</depth> + </history> + <durability> + <kind>VOLATILE_DURABILITY_QOS</kind> + </durability> + <resource_limits> + <max_instances>1</max_instances> + <initial_instances>1</initial_instances> + <max_samples>3</max_samples> + <initial_samples>3</initial_samples> + <max_samples_per_instance>3</max_samples_per_instance> + </resource_limits> + </datawriter_qos> + + <datareader_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>1</depth> + </history> + <resource_limits> + <initial_samples>100</initial_samples> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <max_instances>1</max_instances> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + <durability> + <kind>VOLATILE_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> + + <qos_profile name="SharedMemQos"> + + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <durability> + <kind>VOLATILE_DURABILITY_QOS</kind> + </durability> + <resource_limits> + <max_instances>1</max_instances> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <initial_samples>100</initial_samples> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + </datawriter_qos> + + <datareader_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <resource_limits> + <initial_samples>100</initial_samples> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <max_instances>1</max_instances> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + <durability> + <kind>VOLATILE_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> + +</dds> diff --git a/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/run_test.pl b/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/run_test.pl index fc12f4135b4..5d3a1a50703 100755 --- a/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/run_test.pl +++ b/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/run_test.pl @@ -196,7 +196,14 @@ foreach $file (@files) { print "Invoking executor - launch the application -\n"; $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher", "-x $file -k file://$ior_emfile"); - $E->SpawnWaitKill (5 * $tg_executor->ProcessStartWaitInterval ()); + $pl_status = $E->SpawnWaitKill (5 * $tg_executor->ProcessStartWaitInterval ()); + + if ($pl_status != 0) { + print STDERR "ERROR: dance_plan_launcher returned $pl_status\n"; + kill_open_processes (); + exit 1; + } + print "Sleeping 300 seconds to allow task to complete\n"; sleep (300); diff --git a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_pub.cdp b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_pub.cdp index d8fcd6d800d..a3cf2616ecc 100644 --- a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_pub.cdp +++ b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_pub.cdp @@ -204,7 +204,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#ThroughputQoS</string> + <string>Throughput_Library#ThroughputQoS</string> </value> </value> </configProperty> @@ -234,7 +234,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#ThroughputCmdQoS</string> + <string>Throughput_Library#ThroughputCmdQoS</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_sub.cdp b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_sub.cdp index 977d06406f0..b06e18a5dd6 100644 --- a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_sub.cdp +++ b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Plan_sub.cdp @@ -195,7 +195,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#ThroughputQoS</string> + <string>Throughput_Library#ThroughputQoS</string> </value> </value> </configProperty> @@ -225,7 +225,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#ThroughputCmdQoS</string> + <string>Throughput_Library#ThroughputCmdQoS</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Throughput_Library.xml b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Throughput_Library.xml new file mode 100644 index 00000000000..1d9386656a0 --- /dev/null +++ b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/Throughput_Library.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="ThroughputQoS"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <resource_limits> + <max_instances>1</max_instances> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <initial_samples>100</initial_samples> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <resource_limits> + <initial_samples>100</initial_samples> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <max_instances>1</max_instances> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> + + <qos_profile name="ThroughputCmdQoS"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <resource_limits> + <max_instances>1</max_instances> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <initial_samples>100</initial_samples> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <resource_limits> + <initial_samples>100</initial_samples> + <initial_instances>1</initial_instances> + <max_samples>LENGTH_UNLIMITED</max_samples> + <max_instances>1</max_instances> + <max_samples_per_instance>LENGTH_UNLIMITED</max_samples_per_instance> + </resource_limits> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/USER_QOS_PROFILES.xml index 0a66efb0cdf..60ee167fac9 100644 --- a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/USER_QOS_PROFILES.xml @@ -22,7 +22,7 @@ RTI Data Distribution Service user manual. A QoS library is a named set of QoS profiles. --> - <qos_library name="HelloTest_Library"> + <qos_library name="Throughput_Library"> <!-- QoS profile used to configure reliable communication between the DataWriter and DataReader created in the example code. @@ -31,23 +31,23 @@ RTI Data Distribution Service user manual. <qos_profile name="ThroughputQoS" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <participant_qos> - <receiver_pool> - <buffer_size>92160</buffer_size> + <receiver_pool> + <buffer_size>92160</buffer_size> </receiver_pool> - <property> - <value> - <element> - <name>dds.transport.builtin.mask</name> - <value>DDS_TRANSPORTBUILTIN_UDPv4</value> - <name>dds.transport.UDPv4.builtin.parent.message_size_max</name> - <value>UDP_SIZE_MAX</value> - <name>dds.transport.UDPv4.builtin.recv_socket_buffer_size</name> - <value>UDP_SOCKET_RECV_BUFFER_SIZE</value> - <name>dds.transport.UDPv4.builtin.send_socket_buffer_size</name> - <value>UDP_SOCKET_SEND_BUFFER_SIZE</value> - </element> - </value> - </property> + <property> + <value> + <element> + <name>dds.transport.builtin.mask</name> + <value>DDS_TRANSPORTBUILTIN_UDPv4</value> + <name>dds.transport.UDPv4.builtin.parent.message_size_max</name> + <value>UDP_SIZE_MAX</value> + <name>dds.transport.UDPv4.builtin.recv_socket_buffer_size</name> + <value>UDP_SOCKET_RECV_BUFFER_SIZE</value> + <name>dds.transport.UDPv4.builtin.send_socket_buffer_size</name> + <value>UDP_SOCKET_SEND_BUFFER_SIZE</value> + </element> + </value> + </property> </participant_qos> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/run_test.pl b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/run_test.pl index 992237d36ba..822c7ab463c 100755 --- a/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/run_test.pl +++ b/CIAO/connectors/dds4ccm/performance-tests/Throughput/descriptors/run_test.pl @@ -214,7 +214,13 @@ if ($pl_status != 0) { print "Start dance_plan_launcher.exe with -x $cdp_file_two -k file://$ior_emfile\n"; $E2 = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher", "-x $cdp_file_two -k file://$ior_emfile"); -$E2->SpawnWaitKill (5 * $tg_executor->ProcessStartWaitInterval ()); +$pl_status = $E->SpawnWaitKill (5 * $tg_executor->ProcessStartWaitInterval ()); + +if ($pl_status != 0) { + print STDERR "ERROR: dance_plan_launcher returned $pl_status\n"; + kill_open_processes (); + exit 1; +} for ($i = 0; $i < $nr_daemon; ++$i) { if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i], diff --git a/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp b/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp index 2206daed02b..2502ca1d623 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.cpp @@ -1,7 +1,8 @@ // -*- C++ -*- // $Id$ -// Test for OFFERED_DEADLINE_MISSED status : Writer failed to write data within the deadline time period set in the profile. +// Test for OFFERED_DEADLINE_MISSED status : Writer failed to write data within +// the deadline time period set in the profile. #include "CSL_DeadlineTest_Sender_exec.h" #include "ace/Guard_T.h" @@ -21,9 +22,11 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl //============================================================ ConnectorStatusListener_exec_i::ConnectorStatusListener_exec_i ( Atomic_Boolean &deadline_missed, - ACE_Thread_ID &thread_id) + ACE_Thread_ID &thread_id, + Sender_exec_i &callback) : deadline_missed_ (deadline_missed), - thread_id_ (thread_id) + thread_id_ (thread_id), + callback_ (callback) { } @@ -71,8 +74,17 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl void ConnectorStatusListener_exec_i::on_unexpected_status( ::DDS::Entity_ptr /*the_entity*/, - ::DDS::StatusKind /*status_kind*/) + ::DDS::StatusKind status_kind) { + if (status_kind == ::DDS::PUBLICATION_MATCHED_STATUS) + { + // Add 2 different instances of topic + this->callback_.add_instance_of_topic ("ONE",1); + this->callback_.add_instance_of_topic ("TWO",2); + + // When we have a publication matched start write the data once + this->callback_.write (); + } } //============================================================ @@ -92,7 +104,8 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl Sender_exec_i::get_test_topic_connector_status (void) { return new ConnectorStatusListener_exec_i (this->deadline_missed_, - this->thread_id_listener_); + this->thread_id_listener_, + *this); } // Supported operations and attributes. @@ -120,8 +133,8 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl if (! ::CORBA::is_nil (writer.in ()) ) { - //to force an 'offered_deadline_missed' write the topics with a pause of 2 sec in between and - //in the profile the deadline is set to 1 sec. + // to force an 'offered_deadline_missed' write the topics with a pause + // of 2 sec in between and in the profile the deadline is set to 1 sec. for (CSL_QoSTest_Table::iterator i = this->_ktests_.begin (); i != this->_ktests_.end (); ++i) @@ -155,12 +168,6 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl void Sender_exec_i::ccm_activate (void) { - //add 2 different instances of topic - this->add_instance_of_topic ("ONE",1); - this->add_instance_of_topic ("TWO",2); - - //write the instances once for the test - this->write(); } void diff --git a/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h b/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h index 499a90c27c9..33ea11ad617 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h +++ b/CIAO/connectors/dds4ccm/tests/CSLDeadline/Sender/CSL_DeadlineTest_Sender_exec.h @@ -31,8 +31,9 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl public virtual ::CORBA::LocalObject { public: - ConnectorStatusListener_exec_i (Atomic_Boolean &, - ACE_Thread_ID &); + ConnectorStatusListener_exec_i (Atomic_Boolean &deadline_missed, + ACE_Thread_ID &thread_id, + Sender_exec_i &callback); virtual ~ConnectorStatusListener_exec_i (void); virtual @@ -56,6 +57,7 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl private: Atomic_Boolean &deadline_missed_; ACE_Thread_ID &thread_id_; + Sender_exec_i &callback_; }; //============================================================ @@ -77,6 +79,8 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl // Port operations. virtual ::CCM_DDS::CCM_ConnectorStatusListener_ptr get_test_topic_connector_status(void); + void write (void); + void add_instance_of_topic (const char *, int x ); private: ::CSL_DeadlineTest::CCM_Sender_Context_var context_; @@ -87,9 +91,6 @@ namespace CIAO_CSL_DeadlineTest_Sender_Impl TAO_SYNCH_MUTEX mutex_; typedef std::map<ACE_CString, TestTopic_var> CSL_QoSTest_Table; CSL_QoSTest_Table _ktests_; - - void add_instance_of_topic (const char *, int x ); - void write (void); }; extern "C" SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr diff --git a/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/HelloTest_Library.xml b/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/HelloTest_Library.xml new file mode 100644 index 00000000000..c452c475b49 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/HelloTest_Library.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="HelloProfile"> + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>2</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <deadline> + <period> + <sec>1</sec> + <nanosec>0</nanosec> + </period> + </deadline> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + <deadline> + <period> + <sec>1</sec> + <nanosec>0</nanosec> + </period> + </deadline> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/Plan.cdp index 9a7df64deea..50b8c7bc850 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/Plan.cdp @@ -195,7 +195,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -224,7 +224,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml index 1ddebcc169b..235aed033c1 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/CSLDeadline/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Hello_Profile" is_default_qos="true"> + <qos_profile name="HelloProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> @@ -76,7 +76,6 @@ RTI Data Distribution Service user manual. </period> </deadline> </datareader_qos> - </qos_profile> </qos_library> </dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/CSLQoS/Receiver/CSL_QoSTest_Receiver_exec.cpp b/CIAO/connectors/dds4ccm/tests/CSLQoS/Receiver/CSL_QoSTest_Receiver_exec.cpp index c3f2b1ca488..f03a2181f64 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLQoS/Receiver/CSL_QoSTest_Receiver_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/CSLQoS/Receiver/CSL_QoSTest_Receiver_exec.cpp @@ -139,13 +139,13 @@ namespace CIAO_CSL_QoSTest_Receiver_Impl if (!this->incompatible_.value ()) { ACE_ERROR ((LM_ERROR, ACE_TEXT ("RECEIVER ERROR: did not receive the expected ") - ACE_TEXT ("error 'on_requested_incompatible_Qos' in Receiver\n") + ACE_TEXT ("error 'on_requested_incompatible_qos' in Receiver\n") )); } else { ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("RECEIVER OK: Received the expected ") - ACE_TEXT ("'on_requested_incompatible_Qos' in Receiver\n") + ACE_TEXT ("'on_requested_incompatible_qos' in Receiver\n") )); } //get current thread diff --git a/CIAO/connectors/dds4ccm/tests/CSLQoS/Sender/CSL_QoSTest_Sender_exec.cpp b/CIAO/connectors/dds4ccm/tests/CSLQoS/Sender/CSL_QoSTest_Sender_exec.cpp index f8669ed98a6..ea1afba478c 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLQoS/Sender/CSL_QoSTest_Sender_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/CSLQoS/Sender/CSL_QoSTest_Sender_exec.cpp @@ -1,7 +1,7 @@ // -*- C++ -*- // $Id$ -//Test for ConnectorStatusListener: on_offered_incompatible_qos +// Test for ConnectorStatusListener: on_offered_incompatible_qos #include "CSL_QoSTest_Sender_exec.h" #include "ace/Log_Msg.h" @@ -13,10 +13,11 @@ namespace CIAO_CSL_QoSTest_Sender_Impl //============================================================ // ConnectorStatusListener_exec_i //============================================================ - ConnectorStatusListener_exec_i::ConnectorStatusListener_exec_i (Atomic_Boolean &incompatible, - ACE_Thread_ID &thread_id) - : incompatible_ (incompatible), - thread_id_ (thread_id) + ConnectorStatusListener_exec_i::ConnectorStatusListener_exec_i ( + Atomic_Boolean &incompatible, + ACE_Thread_ID &thread_id) + : incompatible_ (incompatible), + thread_id_ (thread_id) { } diff --git a/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/Plan.cdp index 386ccfd4d32..6078949a094 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/Plan.cdp @@ -195,7 +195,7 @@ <kind>tk_string</kind> </type> <value> - <string>QoSTest_Library#Sender_Profile</string> + <string>QoSTest_Library#SenderProfile</string> </value> </value> </configProperty> @@ -224,7 +224,7 @@ <kind>tk_string</kind> </type> <value> - <string>QoSTest_Library#Receiver_Profile</string> + <string>QoSTest_Library#ReceiverProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/QoSTest_Library.xml b/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/QoSTest_Library.xml new file mode 100644 index 00000000000..68d1c07a139 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/QoSTest_Library.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="ReceiverProfile"> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <liveliness> + <kind>MANUAL_BY_TOPIC_LIVELINESS_QOS</kind> + </liveliness> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> + <qos_profile name="SenderProfile"> + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>2</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <liveliness> + <kind>MANUAL_BY_TOPIC_LIVELINESS_QOS</kind> + </liveliness> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/USER_QOS_PROFILES.xml index b54b9f9401a..327212edd0e 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/CSLQoS/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Sender_Profile" is_default_qos="true"> + <qos_profile name="SenderProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> @@ -56,7 +56,7 @@ RTI Data Distribution Service user manual. </datawriter_qos> </qos_profile> - <qos_profile name="Receiver_Profile" is_default_qos="true"> + <qos_profile name="ReceiverProfile" is_default_qos="true"> <datareader_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/HelloTest_Library.xml b/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/HelloTest_Library.xml new file mode 100644 index 00000000000..eb219c22011 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/HelloTest_Library.xml @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="HelloProfile"> + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>0</sec> + <nanosec>100000000</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <durability_service> + <history_kind>KEEP_LAST_HISTORY_QOS</history_kind> + <history_depth>10</history_depth> + <max_samples>10</max_samples> + <max_instances>2</max_instances> + <max_samples_per_instance>5</max_samples_per_instance> + </durability_service> + </datawriter_qos> + <datareader_qos> + <durability> + <kind>VOLATILE_DURABILITY_QOS</kind> + </durability> + <deadline> + <period> + <sec>DURATION_INFINITE_SEC</sec> + <nanosec>DURATION_INFINITE_NSEC</nanosec> + </period> + </deadline> + <latency_budget> + <duration> + <sec>0</sec> + <nanosec>0</nanosec> + </duration> + </latency_budget> + <liveliness> + <kind>AUTOMATIC_LIVELINESS_QOS</kind> + <lease_duration> + <sec>DURATION_INFINITE_SEC</sec> + <nanosec>DURATION_INFINITE_NSEC</nanosec> + </lease_duration> + </liveliness> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>0</sec> + <nanosec>100000000</nanosec> + </max_blocking_time> + </reliability> + <destination_order> + <kind>BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS</kind> + </destination_order> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>10</depth> + </history> + <resource_limits> + <initial_samples>1</initial_samples> + <initial_instances>1</initial_instances> + <max_samples>10</max_samples> + <max_instances>1</max_instances> + <max_samples_per_instance>10</max_samples_per_instance> + </resource_limits> + <ownership> + <kind>SHARED_OWNERSHIP_QOS</kind> + </ownership> + <time_based_filter> + <minimum_separation> + <sec>0</sec> + <nanosec>0</nanosec> + </minimum_separation> + </time_based_filter> + <reader_data_lifecycle> + <autopurge_nowriter_samples_delay> + <sec>DURATION_INFINITE_SEC</sec> + <nanosec>DURATION_INFINITE_NSEC</nanosec> + </autopurge_nowriter_samples_delay> + <autopurge_disposed_samples_delay> + <sec>DURATION_INFINITE_SEC</sec> + <nanosec>DURATION_INFINITE_NSEC</nanosec> + </autopurge_disposed_samples_delay> + </reader_data_lifecycle> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/Plan.cdp index 7951d4029c3..3bffb696303 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/Plan.cdp @@ -261,7 +261,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -290,7 +290,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml index 4b477f09725..d0bfca1ab71 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/descriptors/USER_QOS_PROFILES.xml @@ -30,7 +30,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Hello_Profile" is_default_qos="true"> + <qos_profile name="HelloProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> @@ -124,7 +124,6 @@ RTI Data Distribution Service user manual. </autopurge_disposed_samples_delay> </reader_data_lifecycle> </datareader_qos> - </qos_profile> </qos_library> </dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp index 8ecd1de91f4..d0c7d3d639f 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.cpp @@ -294,7 +294,7 @@ namespace CIAO_CSL_USTest_Sender_Impl void Sender_exec_i::ccm_activate (void) { - //add 2 different instances of topic + // Add 2 different instances of topic this->add_instance_of_topic ("ONE", 1); this->add_instance_of_topic ("TWO", 2); // calculate the interval time @@ -343,6 +343,7 @@ namespace CIAO_CSL_USTest_Sender_Impl ACE_TEXT ("'LIVELINESS_LOST_STATUS'\n") )); } +#if (CIAO_DDS4CCM_NDDS==1) if (!this->reliable_dr_activity_changed_received_.value ()) { ACE_ERROR ((LM_ERROR, ACE_TEXT ("SENDER ERROR: Didn't receive the expected ") @@ -367,6 +368,8 @@ namespace CIAO_CSL_USTest_Sender_Impl ACE_TEXT ("'RELIABLE_WRITER_CACHE_CHANGED_STATUS'\n") )); } +#endif + //get current thread char ccm_buf [65]; ACE_Thread_ID ccm_thread_id; @@ -419,8 +422,8 @@ namespace CIAO_CSL_USTest_Sender_Impl } #endif - //test thread switch for LIVELINESS_LOST_STATUS - char list_buf_ll [65]; + // Test thread switch for LIVELINESS_LOST_STATUS + char list_buf_ll [65]; this->thread_id_listener_liveliness_lost_.to_string(list_buf_ll); if (this->thread_id_listener_liveliness_lost_.id () == 0) { @@ -465,6 +468,7 @@ namespace CIAO_CSL_USTest_Sender_Impl } #endif +#if (CIAO_DDS4CCM_NDDS==1) //test thread switch for RELIABLE_READER_ACTIVITY_CHANGED_STATUS char list_buf_ra [65]; this->thread_id_reliable_dr_activity_changed_.to_string(list_buf_ra); @@ -511,9 +515,11 @@ namespace CIAO_CSL_USTest_Sender_Impl ccm_buf)); } #endif +#endif +#if (CIAO_DDS4CCM_NDDS==1) //test thread switch for RELIABLE_WRITER_CACHE_CHANGED_STATUS - char list_buf_rw [65]; + char list_buf_rw [65]; this->thread_id_reliable_writer_cache_changed_.to_string (list_buf_rw); if (this->thread_id_reliable_writer_cache_changed_.id () == 0) @@ -558,6 +564,7 @@ namespace CIAO_CSL_USTest_Sender_Impl ccm_buf)); } #endif +#endif } extern "C" SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr diff --git a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.h b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.h index a6c73ce7ad7..fe85ff95976 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.h +++ b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/Sender/CSL_USTest_Sender_exec.h @@ -180,7 +180,6 @@ namespace CIAO_CSL_USTest_Sender_Impl ACE_Thread_ID thread_id_listener_liveliness_lost_; ACE_Thread_ID thread_id_reliable_dr_activity_changed_; ACE_Thread_ID thread_id_reliable_writer_cache_changed_; - pulse_Generator * ticker_; TAO_SYNCH_MUTEX mutex_; diff --git a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml new file mode 100644 index 00000000000..fcae8b4819d --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/CSL_Library.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="CSLProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>200</depth> + </history> + <liveliness> + <kind>MANUAL_BY_TOPIC_LIVELINESS_QOS</kind> + <lease_duration> + <sec>1</sec> + <nanosec>0</nanosec> + </lease_duration> + </liveliness> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/Plan.cdp index 6585ad04926..5b27a9352e5 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/Plan.cdp @@ -184,7 +184,7 @@ <kind>tk_string</kind> </type> <value> - <string>CSL_Library#CSL_Profile</string> + <string>CSL_Library#CSLProfile</string> </value> </value> </configProperty> @@ -213,7 +213,7 @@ <kind>tk_string</kind> </type> <value> - <string>CSL_Library#CSL_Profile</string> + <string>CSL_Library#CSLProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/USER_QOS_PROFILES.xml index 5109152a096..10f7dc102d4 100644 --- a/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/CSLUnexpStat/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="CSL_Profile" is_default_qos="true"> + <qos_profile name="CSLProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/Plan.cdp index a03893d2c02..a1987c31a6c 100644 --- a/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/Plan.cdp @@ -192,7 +192,7 @@ <kind>tk_string</kind> </type> <value> - <string>CoherentUpdater_Library#CoherentUpdater_Profile</string> + <string>CoherentUpdater_Library#CoherentUpdaterProfile</string> </value> </value> </configProperty> @@ -221,7 +221,7 @@ <kind>tk_string</kind> </type> <value> - <string>CoherentUpdater_Library#CoherentUpdater_Profile</string> + <string>CoherentUpdater_Library#CoherentUpdaterProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/USER_QOS_PROFILES.xml index 46917838b42..e962a53bd6d 100644 --- a/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/CoherentUpdater/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="CoherentUpdater_Profile" is_default_qos="true"> + <qos_profile name="CoherentUpdaterProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/CoherentWriter_Library.xml b/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/CoherentWriter_Library.xml new file mode 100644 index 00000000000..db0355acda8 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/CoherentWriter_Library.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="CoherentWriterProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + <publisher_qos> + <presentation> + <access_scope>INSTANCE_PRESENTATION_QOS</access_scope> + <coherent_access>true</coherent_access> + <ordered_access>false</ordered_access> + </presentation> + </publisher_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/Plan.cdp index bd78b9fb47f..b12a09a5248 100644 --- a/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/Plan.cdp @@ -247,7 +247,7 @@ <kind>tk_string</kind> </type> <value> - <string>CoherentWriter_Library#CoherentWriter_Profile</string> + <string>CoherentWriter_Library#CoherentWriterProfile</string> </value> </value> </configProperty> @@ -277,7 +277,7 @@ <kind>tk_string</kind> </type> <value> - <string>CoherentWriter_Library#CoherentWriter_Profile</string> + <string>CoherentWriter_Library#CoherentWriterProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/USER_QOS_PROFILES.xml index b14bb4f48db..167d7034b9b 100644 --- a/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/CoherentWriter/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="CoherentWriter_Profile" is_default_qos="true"> + <qos_profile name="CoherentWriterProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/Plan.cdp index d73d01e69da..15e3998f405 100644 --- a/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/Plan.cdp @@ -233,7 +233,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -262,7 +262,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/QueryCondition_Library.xml b/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/QueryCondition_Library.xml new file mode 100644 index 00000000000..41025e9fc32 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/QueryCondition_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="QueryConditionProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml index eb473a154e0..a99ab665b35 100644 --- a/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/ContentFilteredTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.cpp b/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.cpp index a1429c1abb6..ba0d97500c7 100644 --- a/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.cpp @@ -325,7 +325,7 @@ namespace CIAO_Getter_Test_Receiver_Impl void Receiver_exec_i::read_many (CORBA::Short keys , CORBA::Long iterations, - GetterTestSeq gettertest_seq) + const GetterTestSeq& gettertest_seq) { diff --git a/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.h b/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.h index 25155869295..ff57b41b1c6 100644 --- a/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.h +++ b/CIAO/connectors/dds4ccm/tests/Getter/Receiver/Getter_Test_Receiver_exec.h @@ -261,7 +261,7 @@ namespace CIAO_Getter_Test_Receiver_Impl void read_many (CORBA::Short keys , CORBA::Long iterations, - GetterTestSeq gettertest_seq); + const GetterTestSeq& gettertest_seq); //@} /// Get the ACE_Reactor diff --git a/CIAO/connectors/dds4ccm/tests/Getter/Sender/Getter_Test_Sender_exec.cpp b/CIAO/connectors/dds4ccm/tests/Getter/Sender/Getter_Test_Sender_exec.cpp index 3b31f58551d..d0576a5303d 100644 --- a/CIAO/connectors/dds4ccm/tests/Getter/Sender/Getter_Test_Sender_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/Getter/Sender/Getter_Test_Sender_exec.cpp @@ -172,10 +172,10 @@ namespace CIAO_Getter_Test_Sender_Impl GetInvoker_var invoker = this->ciao_context_->get_connection_invoke_getter (); - - //Prepare the samples. + // Prepare the samples. GetterTestSeq write_many (this->keys_ * this->iterations_); write_many.length (this->keys_ * this->iterations_); + // since the test for get_one already writes samples to DDS with // key=KEY_1 we start with key = 2 when writing many samples. for (CORBA::UShort key = 2; key < this->keys_ + 2; ++key) diff --git a/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml b/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml new file mode 100644 index 00000000000..bdb20bd5b6f --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Getter_Library.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="GetterProfile"> + <datawriter_qos> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + <depth>1</depth> + </history> + </datawriter_qos> + <datareader_qos> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp index d3a2a6c2a0a..61e2c6421b8 100644 --- a/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/Getter/descriptors/Plan.cdp @@ -235,7 +235,7 @@ <kind>tk_string</kind> </type> <value> - <string>Getter_Library#Getter_Profile</string> + <string>Getter_Library#GetterProfile</string> </value> </value> </configProperty> @@ -264,7 +264,7 @@ <kind>tk_string</kind> </type> <value> - <string>Getter_Library#Getter_Profile</string> + <string>Getter_Library#GetterProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/Getter/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/Getter/descriptors/USER_QOS_PROFILES.xml index 12c9fc26031..62bbf33b4d9 100644 --- a/CIAO/connectors/dds4ccm/tests/Getter/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/Getter/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Getter_Profile" is_default_qos="true"> + <qos_profile name="GetterProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/HomeTest/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/HomeTest/descriptors/USER_QOS_PROFILES.xml index 53e0d484a6c..e770400775f 100644 --- a/CIAO/connectors/dds4ccm/tests/HomeTest/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/HomeTest/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Hello_Profile" is_default_qos="true"> + <qos_profile name="HelloProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/KeyedWriter_Library.xml b/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/KeyedWriter_Library.xml new file mode 100644 index 00000000000..d44fabf5d4d --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/KeyedWriter_Library.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> + +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="KeyedWriterProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <resource_limits> + <max_instances>1</max_instances> + <initial_instances>1</initial_instances> + </resource_limits> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/Plan.cdp index da6019d7d89..2ada765b748 100644 --- a/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/Plan.cdp @@ -214,7 +214,7 @@ <kind>tk_string</kind> </type> <value> - <string>KeyedWriter_Library#KeyedWriter_Profile</string> + <string>KeyedWriter_Library#KeyedWriterProfile</string> </value> </value> </configProperty> @@ -243,7 +243,7 @@ <kind>tk_string</kind> </type> <value> - <string>KeyedWriter_Library#KeyedWriter_Profile</string> + <string>KeyedWriter_Library#KeyedWriterProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/USER_QOS_PROFILES.xml index 45161fabe8c..af775a58187 100644 --- a/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/KeyedWriter/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="KeyedWriter_Profile" is_default_qos="true"> + <qos_profile name="KeyedWriterProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/LateBinding_Library.xml b/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/LateBinding_Library.xml new file mode 100644 index 00000000000..42192885a1a --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/LateBinding_Library.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="LateBindingProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/Plan.cdp index fdb2be3ef1b..8bc890e2b6d 100644 --- a/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/Plan.cdp @@ -241,7 +241,7 @@ <kind>tk_string</kind> </type> <value> - <string>LateBinding_Library#LateBinding_Profile</string> + <string>LateBinding_Library#LateBindingProfile</string> </value> </value> </configProperty> @@ -270,7 +270,7 @@ <kind>tk_string</kind> </type> <value> - <string>LateBinding_Library#LateBinding_Profile</string> + <string>LateBinding_Library#LateBindingProfile</string> </value> </value> </configProperty> @@ -299,7 +299,7 @@ <kind>tk_string</kind> </type> <value> - <string>LateBinding_Library#LateBinding_Profile</string> + <string>LateBinding_Library#LateBindingProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/USER_QOS_PROFILES.xml index 582cd50e9da..f02bed95e3e 100644 --- a/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/LateBinding/ReadGet/descriptors/USER_QOS_PROFILES.xml @@ -4,7 +4,7 @@ <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.5d/scripts/../resource/rtiddsgen/../qos_profiles_4.5d/schema/rti_dds_qos_profiles.xsd" version="4.5d"> <qos_library name="LateBinding_Library"> - <qos_profile name="LateBinding_Profile" is_default_qos="true"> + <qos_profile name="LateBindingProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/ListenManyByMany_Library.xml b/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/ListenManyByMany_Library.xml new file mode 100644 index 00000000000..3674c57f811 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/ListenManyByMany_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="ListenManyByManyProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/Plan.cdp index f86de7effbc..6901c937d33 100644 --- a/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/Plan.cdp @@ -203,7 +203,7 @@ <kind>tk_string</kind> </type> <value> - <string>ListenManyByMany_Library#ListenManyByMany_Profile</string> + <string>ListenManyByMany_Library#ListenManyByManyProfile</string> </value> </value> </configProperty> @@ -232,7 +232,7 @@ <kind>tk_string</kind> </type> <value> - <string>ListenManyByMany_Library#ListenManyByMany_Profile</string> + <string>ListenManyByMany_Library#ListenManyByManyProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/USER_QOS_PROFILES.xml index 6250c0e2440..f2f81ee402e 100644 --- a/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/ListenManyByMany/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="ListenManyByMany_Profile" is_default_qos="true"> + <qos_profile name="ListenManyByManyProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/MultiTopic/Connector/MultiTopic_Connector_T.cpp b/CIAO/connectors/dds4ccm/tests/MultiTopic/Connector/MultiTopic_Connector_T.cpp index 026002ea758..07d982f6800 100644 --- a/CIAO/connectors/dds4ccm/tests/MultiTopic/Connector/MultiTopic_Connector_T.cpp +++ b/CIAO/connectors/dds4ccm/tests/MultiTopic/Connector/MultiTopic_Connector_T.cpp @@ -462,27 +462,57 @@ DDS_MT_Event_Connector_T<CCM_TYPE, DDS_TYPE, FIXED, SEQ_TYPE>::configuration_com this->sq_supplier_.configuration_complete ( this->topic_sq_.in (), this->publisher_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_); +#elif (CIAO_DDS4CCM_OPENDDS==1) + this->qos_profile_, + this->qos_xml_); +#endif this->tr_supplier_.configuration_complete ( this->topic_tr_.in (), this->publisher_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_); +#elif (CIAO_DDS4CCM_OPENDDS==1) + this->qos_profile_, + this->qos_xml_); +#endif this->cl_supplier_.configuration_complete ( this->topic_cl_.in (), this->publisher_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_); +#elif (CIAO_DDS4CCM_OPENDDS==1) + this->qos_profile_, + this->qos_xml_); +#endif this->pull_consumer_sq_.configuration_complete ( this->topic_sq_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_); +#elif (CIAO_DDS4CCM_OPENDDS==1) + this->qos_profile_, + this->qos_xml_); +#endif this->pull_consumer_tr_.configuration_complete ( this->topic_tr_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_); +#elif (CIAO_DDS4CCM_OPENDDS==1) + this->qos_profile_, + this->qos_xml_); +#endif this->push_consumer_cl_.configuration_complete ( this->topic_cl_.in (), this->subscriber_.in (), +#if (CIAO_DDS4CCM_NDDS==1) this->qos_profile_); +#elif (CIAO_DDS4CCM_OPENDDS==1) + this->qos_profile_, + this->qos_xml_); +#endif } template <typename CCM_TYPE, typename DDS_TYPE, bool FIXED, typename SEQ_TYPE> diff --git a/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Deadline_Library.xml b/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Deadline_Library.xml new file mode 100644 index 00000000000..89ccafec72d --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Deadline_Library.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="DeadlineProfile"> + <datawriter_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>1</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + <depth>2</depth> + </history> + <deadline> + <period> + <sec>2</sec> + <nanosec>0</nanosec> + </period> + </deadline> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>BEST_EFFORT_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + <depth>1</depth> + </history> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <time_based_filter> + <minimum_separation> + <sec>1</sec> + <nanosec>50000000</nanosec> + </minimum_separation> + </time_based_filter> + <deadline> + <period> + <sec>2</sec> + <nanosec>0</nanosec> + </period> + </deadline> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Plan.cdp index 3ad45f38a92..70266f258c6 100644 --- a/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/Plan.cdp @@ -195,7 +195,7 @@ <kind>tk_string</kind> </type> <value> - <string>Deadline_Library#Deadline_Profile</string> + <string>Deadline_Library#DeadlineProfile</string> </value> </value> </configProperty> @@ -224,7 +224,7 @@ <kind>tk_string</kind> </type> <value> - <string>Deadline_Library#Deadline_Profile</string> + <string>Deadline_Library#DeadlineProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/USER_QOS_PROFILES.xml index cca46104a20..f21b2a0aa60 100644 --- a/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/PSLDeadline/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Deadline_Profile" is_default_qos="true"> + <qos_profile name="DeadlineProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/HelloTest_Library.xml b/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/HelloTest_Library.xml new file mode 100644 index 00000000000..2ea09d1e512 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/HelloTest_Library.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + <qos_profile name="DeadlineProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>2</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <durability_service> + <history_kind>KEEP_LAST_HISTORY_QOS</history_kind> + <history_depth>10</history_depth> + <max_samples>10</max_samples> + <max_instances>2</max_instances> + <max_samples_per_instance>5</max_samples_per_instance> + </durability_service> + <deadline> + <period> + <sec>3</sec> + <nanosec>0</nanosec> + </period> + </deadline> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>10</depth> + </history> + <resource_limits> + <initial_samples>1</initial_samples> + <initial_instances>1</initial_instances> + <max_samples>10</max_samples> + <max_instances>1</max_instances> + <max_samples_per_instance>10</max_samples_per_instance> + </resource_limits> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <deadline> + <period> + <sec>3</sec> + <nanosec>0</nanosec> + </period> + </deadline> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/Plan.cdp index f55966be5f9..88f2673aea1 100644 --- a/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/Plan.cdp @@ -195,7 +195,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> @@ -224,7 +224,7 @@ <kind>tk_string</kind> </type> <value> - <string>HelloTest_Library#Hello_Profile</string> + <string>HelloTest_Library#HelloProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/USER_QOS_PROFILES.xml index b3bc627ee36..3fc8be38e3e 100644 --- a/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/PSLSampleLost/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Hello_Profile" is_default_qos="true"> + <qos_profile name="HelloProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Receiver/Proxy_RW_Test_Receiver_exec.cpp b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Receiver/Proxy_RW_Test_Receiver_exec.cpp index d265ce3e83d..12ead28c828 100644 --- a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Receiver/Proxy_RW_Test_Receiver_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Receiver/Proxy_RW_Test_Receiver_exec.cpp @@ -287,7 +287,11 @@ namespace CIAO_Proxy_RW_Test_Receiver_Impl if (!::CORBA::is_nil (restarter.in ())) { if (task == ::ReaderStarter::READ_USING_IDL_PROXY) - restarter->restart_write (::ReaderStarter::TAKE_USING_IDL_PROXY); + { + ACE_DEBUG ((LM_DEBUG, "Receiver_exec_i::check_samples - " + "Inform the Sender that is should write the next bunch.\n")); + restarter->restart_write (::ReaderStarter::TAKE_USING_IDL_PROXY); + } } else { @@ -396,6 +400,9 @@ namespace CIAO_Proxy_RW_Test_Receiver_Impl if (!::CORBA::is_nil (idl_reader.in ())) { + + ACE_DEBUG ((LM_DEBUG, "Receiver_exec_i::start_read_using_idl_proxy - " + "Start reading.")); // Start to read ProxyReadWriteTestSeq data; ::DDS::SampleInfoSeq info; diff --git a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Sender/Proxy_RW_Test_Sender_exec.cpp b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Sender/Proxy_RW_Test_Sender_exec.cpp index ddefa91d4d8..1eef068b606 100644 --- a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Sender/Proxy_RW_Test_Sender_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/Sender/Proxy_RW_Test_Sender_exec.cpp @@ -114,7 +114,7 @@ namespace CIAO_Proxy_RW_Test_Sender_Impl ::DDS::StatusKind status_kind) { if (status_kind == ::DDS::PUBLICATION_MATCHED_STATUS) - this->callback_.start (); + this->callback_.start (); } /** @@ -223,6 +223,8 @@ namespace CIAO_Proxy_RW_Test_Sender_Impl ACE_ERROR ((LM_ERROR, "Sender_exec_i::write_using_idl_proxy_for_read - " "ERROR: Error retrieving IDL DataWriter\n")); } + ACE_DEBUG ((LM_DEBUG, "Sender_exec_i::write_using_idl_proxy_for_read - " + "Finished writing sample for read.\n")); } void @@ -287,6 +289,8 @@ namespace CIAO_Proxy_RW_Test_Sender_Impl void Sender_exec_i::restart_write (::ReaderStarter::assignment task) { + ACE_DEBUG ((LM_DEBUG, "Sender_exec_i::restart_write - " + "New assignment received <%d>", task)); if (task == ::ReaderStarter::TAKE_USING_IDL_PROXY) { this->write_using_idl_proxy_for_take (); diff --git a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Plan.cdp index 3deb5957261..c619a73fc10 100644 --- a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Plan.cdp @@ -181,7 +181,7 @@ <kind>tk_string</kind> </type> <value> - <string>Proxy_RW_Library#Proxy_RW_Profile</string> + <string>Proxy_RW_Library#Proxy_RWProfile</string> </value> </value> </configProperty> @@ -210,7 +210,7 @@ <kind>tk_string</kind> </type> <value> - <string>Proxy_RW_Library#Proxy_RW_Profile</string> + <string>Proxy_RW_Library#Proxy_RWProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Proxy_RW_Library.xml b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Proxy_RW_Library.xml new file mode 100644 index 00000000000..a4400b11dda --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/Proxy_RW_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="ProxyRWProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml index 2805d431fd2..4f151aaf2fb 100644 --- a/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/Proxies/ReadWrite/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Proxy_RW_Profile" is_default_qos="true"> + <qos_profile name="ProxyRWProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanNoHash.cdp b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanNoHash.cdp index 9a65db49669..4ebf293d404 100644 --- a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanNoHash.cdp +++ b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanNoHash.cdp @@ -130,7 +130,7 @@ <kind>tk_string</kind> </type> <value> - <string>QosProfile_Library::QosProfile_Profile</string> + <string>QosProfile_Library::QosProfileProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanWrongNames.cdp b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanWrongNames.cdp index 485bb4425ed..2e5c719b22a 100644 --- a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanWrongNames.cdp +++ b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/PlanWrongNames.cdp @@ -130,7 +130,7 @@ <kind>tk_string</kind> </type> <value> - <string>Wrong_Library#Wrong_Profile</string> + <string>Wrong_Library#WrongProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/QosProfile_Library.xml b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/QosProfile_Library.xml new file mode 100644 index 00000000000..fb581d00420 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/QosProfile_Library.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="QosProfileProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/USER_QOS_PROFILES.xml index 42401144e55..0c14bdcc459 100644 --- a/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QosProfile/descriptors/USER_QOS_PROFILES.xml @@ -4,7 +4,7 @@ <dds xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.5d/scripts/../resource/rtiddsgen/../qos_profiles_4.5d/schema/rti_dds_qos_profiles.xsd" version="4.5d"> <qos_library name="QosProfile_Library"> - <qos_profile name="QosProfile_Profile" is_default_qos="true"> + <qos_profile name="QosProfileProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Receiver/QC_Receiver.cpp b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Receiver/QC_Receiver.cpp index bcc93894719..ff238f96cf7 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Receiver/QC_Receiver.cpp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Receiver/QC_Receiver.cpp @@ -12,7 +12,7 @@ using namespace std; #include "ace/OS_NS_stdlib.h" #define LIBRARY_NAME "QueryCondition_Library" -#define PROFILE_NAME "QueryCondition_Profile" +#define PROFILE_NAME "QueryConditionProfile" bool shutdown_flag = false; long num_samples = 0; diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Sender/QC_Sender.cpp b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Sender/QC_Sender.cpp index 7b392da9354..11a59e6c09f 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Sender/QC_Sender.cpp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/DDS_Sender/QC_Sender.cpp @@ -12,7 +12,7 @@ using namespace std; #include "ace/OS_NS_stdlib.h" #define LIBRARY_NAME "QueryCondition_Library" -#define PROFILE_NAME "QueryCondition_Profile" +#define PROFILE_NAME "QueryConditionProfile" const int number_of_iterations_ = 3; diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/descriptors/USER_QOS_PROFILES.xml index b815d8bef5d..f618cf4b21c 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS/descriptors/USER_QOS_PROFILES.xml @@ -30,7 +30,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Receiver/ObO_Receiver.cpp b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Receiver/ObO_Receiver.cpp index dd5cc5024ba..894bdddd657 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Receiver/ObO_Receiver.cpp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Receiver/ObO_Receiver.cpp @@ -12,7 +12,7 @@ using namespace std; #include "Base_ObOSupport.h" #define LIBRARY_NAME "QueryCondition_Library" -#define PROFILE_NAME "QueryCondition_Profile" +#define PROFILE_NAME "QueryConditionProfile" bool shutdown_flag = false; long num_samples = 0; diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Sender/ObO_Sender.cpp b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Sender/ObO_Sender.cpp index 8e69e463ce3..2a34e08326e 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Sender/ObO_Sender.cpp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/DDS_Sender/ObO_Sender.cpp @@ -12,7 +12,7 @@ using namespace std; #include "Base_ObOSupport.h" #define LIBRARY_NAME "QueryCondition_Library" -#define PROFILE_NAME "QueryCondition_Profile" +#define PROFILE_NAME "QueryConditionProfile" const int number_of_iterations_ = 3; diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/descriptors/USER_QOS_PROFILES.xml index b815d8bef5d..f618cf4b21c 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/DDS_OneByOne/descriptors/USER_QOS_PROFILES.xml @@ -30,7 +30,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/Plan.cdp index deed874a4e9..b3934d6050a 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/Plan.cdp @@ -236,7 +236,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -266,7 +266,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/QueryCondition_Library.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/QueryCondition_Library.xml new file mode 100644 index 00000000000..41025e9fc32 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/QueryCondition_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="QueryConditionProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/USER_QOS_PROFILES.xml index eb473a154e0..a99ab665b35 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/Different/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/Plan.cdp index 5f982271723..e00be85ad85 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/Plan.cdp @@ -233,7 +233,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -263,7 +263,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -292,7 +292,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml new file mode 100644 index 00000000000..41025e9fc32 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/QueryCondition_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="QueryConditionProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/USER_QOS_PROFILES.xml index eb473a154e0..a99ab665b35 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/ReadGet/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/Plan.cdp index 69de7d38f76..31649eb5c3e 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/Plan.cdp @@ -235,7 +235,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -265,7 +265,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -295,7 +295,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/QueryCondition_Library.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/QueryCondition_Library.xml new file mode 100644 index 00000000000..41025e9fc32 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/QueryCondition_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="QueryConditionProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/USER_QOS_PROFILES.xml index eb473a154e0..a99ab665b35 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueries/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/Plan.cdp index 156877d05c9..1151874f64c 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/Plan.cdp @@ -235,7 +235,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -265,7 +265,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> @@ -295,7 +295,7 @@ <kind>tk_string</kind> </type> <value> - <string>QueryCondition_Library#QueryCondition_Profile</string> + <string>QueryCondition_Library#QueryConditionProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/USER_QOS_PROFILES.xml index a901e4745ca..bb54120a03d 100644 --- a/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/QueryCondition/TwoQueriesMany/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="QueryCondition_Profile" is_default_qos="true"> + <qos_profile name="QueryConditionProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/Reader/Sender/Reader_Test_Sender_exec.cpp b/CIAO/connectors/dds4ccm/tests/Reader/Sender/Reader_Test_Sender_exec.cpp index 7661369b98a..19ec2f24aa4 100644 --- a/CIAO/connectors/dds4ccm/tests/Reader/Sender/Reader_Test_Sender_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/Reader/Sender/Reader_Test_Sender_exec.cpp @@ -89,7 +89,7 @@ namespace CIAO_Reader_Test_Sender_Impl ::DDS::StatusKind status_kind) { if (status_kind == ::DDS::PUBLICATION_MATCHED_STATUS) - this->callback_.start (); + this->callback_.start (); } /** @@ -229,7 +229,11 @@ namespace CIAO_Reader_Test_Sender_Impl void Sender_exec_i::ccm_passivate (void) { - /* Your code here. */ + if (!this->done_) + { + ACE_ERROR ((LM_ERROR, ACE_TEXT ("ERROR: Sender didn't receive a " + "DDS::PUBLICATION_MATCHED_STATUS event!\n"))); + } } void diff --git a/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Plan.cdp index 618ccff9f3b..084ff6a2478 100644 --- a/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Plan.cdp @@ -181,7 +181,7 @@ <kind>tk_string</kind> </type> <value> - <string>Reader_Library#Reader_Profile</string> + <string>Reader_Library#ReaderProfile</string> </value> </value> </configProperty> @@ -210,7 +210,7 @@ <kind>tk_string</kind> </type> <value> - <string>Reader_Library#Reader_Profile</string> + <string>Reader_Library#ReaderProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml b/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml new file mode 100644 index 00000000000..6dcda528579 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/Reader/descriptors/Reader_Library.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="ReaderProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/Reader/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/Reader/descriptors/USER_QOS_PROFILES.xml index 024f845ab43..f03e4d56d68 100644 --- a/CIAO/connectors/dds4ccm/tests/Reader/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/Reader/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="Reader_Profile" is_default_qos="true"> + <qos_profile name="ReaderProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/Plan.cdp index b47fe050e3c..bae8af37181 100644 --- a/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/Plan.cdp @@ -241,7 +241,7 @@ <kind>tk_string</kind> </type> <value> - <string>ResetTopic_Library#ResetTopic_Profile</string> + <string>ResetTopic_Library#ResetTopicProfile</string> </value> </value> </configProperty> @@ -270,7 +270,7 @@ <kind>tk_string</kind> </type> <value> - <string>ResetTopic_Library#ResetTopic_Profile</string> + <string>ResetTopic_Library#ResetTopicProfile</string> </value> </value> </configProperty> @@ -299,7 +299,7 @@ <kind>tk_string</kind> </type> <value> - <string>ResetTopic_Library#ResetTopic_Profile</string> + <string>ResetTopic_Library#ResetTopicProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/ResetTopic_Library.xml b/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/ResetTopic_Library.xml new file mode 100644 index 00000000000..47f6d74b638 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/ResetTopic_Library.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="ResetTopicProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml index 16feefbe312..d0e02ae7285 100644 --- a/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/ResetTopic/ReadGet/descriptors/USER_QOS_PROFILES.xml @@ -2,7 +2,7 @@ <!-- $Id$ --> <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.5d/scripts/../resource/rtiddsgen/../qos_profiles_4.5d/schema/rti_dds_qos_profiles.xsd" version="4.5d"> <qos_library name="ResetTopic_Library"> - <qos_profile name="ResetTopic_Profile" is_default_qos="true"> + <qos_profile name="ResetTopicProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/SLManyByMany/Receiver/SL_ManyByMany_Receiver_exec.cpp b/CIAO/connectors/dds4ccm/tests/SLManyByMany/Receiver/SL_ManyByMany_Receiver_exec.cpp index f748a6ced92..3afd88b6a67 100644 --- a/CIAO/connectors/dds4ccm/tests/SLManyByMany/Receiver/SL_ManyByMany_Receiver_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/SLManyByMany/Receiver/SL_ManyByMany_Receiver_exec.cpp @@ -186,6 +186,9 @@ namespace CIAO_SL_ManyByMany_Receiver_Impl // Because of the settings <serialize_key_with_dispose> and // <propagate_dispose_of_unregistered_instances> in the QoS , we expect // an existing datum.key + // Since these are RTI DDS specific QOS settings, we only need to test + // this in case RTI DDS +#if (CIAO_DDS4CCM_NDDS==1) if ((ACE_OS::strncmp (datum.key.in(), "KEY", 3) == 0 ) || (ACE_OS::strncmp (datum.key.in(), "many", 4) == 0 )) { @@ -202,6 +205,12 @@ namespace CIAO_SL_ManyByMany_Receiver_Impl ACE_TEXT (", expected <KEY_.> or <many_.>\n"), datum.key.in ())); } +#else + ACE_UNUSED_ARG (datum); + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Statelistener:on_deletion : ") + ACE_TEXT ("Received on_deletion event\n"))); + +#endif } } diff --git a/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/Plan.cdp index 0238211ad98..ea531f8f23b 100644 --- a/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/Plan.cdp @@ -193,7 +193,7 @@ <kind>tk_string</kind> </type> <value> - <string>SlMbM_Library#SlMbM_Profile</string> + <string>SlMbM_Library#SlMbMProfile</string> </value> </value> </configProperty> @@ -222,7 +222,7 @@ <kind>tk_string</kind> </type> <value> - <string>SlMbM_Library#SlMbM_Profile</string> + <string>SlMbM_Library#SlMbMProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/SlMbM_Library.xml b/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/SlMbM_Library.xml new file mode 100644 index 00000000000..2107cdf74f4 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/SlMbM_Library.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> + +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="SlMbMProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <resource_limits> + <max_instances>4</max_instances> + <initial_instances>4</initial_instances> + <max_samples>25</max_samples> + <initial_samples>10</initial_samples> + <max_samples_per_instance>5</max_samples_per_instance> + </resource_limits> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <resource_limits> + <max_instances>4</max_instances> + <initial_instances>4</initial_instances> + <max_samples>25</max_samples> + <initial_samples>10</initial_samples> + <max_samples_per_instance>5</max_samples_per_instance> + </resource_limits> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/USER_QOS_PROFILES.xml index 0198cd24e8c..e39b363b89b 100644 --- a/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/SLManyByMany/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="SlMbM_Profile" is_default_qos="true"> + <qos_profile name="SlMbMProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/SLOneByOne/Receiver/SL_OneByOne_Receiver_exec.cpp b/CIAO/connectors/dds4ccm/tests/SLOneByOne/Receiver/SL_OneByOne_Receiver_exec.cpp index 0daa3a26fef..decadafdbfa 100644 --- a/CIAO/connectors/dds4ccm/tests/SLOneByOne/Receiver/SL_OneByOne_Receiver_exec.cpp +++ b/CIAO/connectors/dds4ccm/tests/SLOneByOne/Receiver/SL_OneByOne_Receiver_exec.cpp @@ -131,6 +131,9 @@ namespace CIAO_SL_OneByOne_Receiver_Impl // Because of the settings <serialize_key_with_dispose> and // <propagate_dispose_of_unregistered_instances> in the QoS , we expect // an existing datum.key + // Since these are RTI DDS specific QOS settings, we only need to test + // this in case RTI DDS +#if (CIAO_DDS4CCM_NDDS==1) if ((ACE_OS::strncmp (datum.key.in(), "KEY", 3) == 0 ) || (ACE_OS::strncmp (datum.key.in(), "many", 4) == 0 )) { @@ -147,6 +150,12 @@ namespace CIAO_SL_OneByOne_Receiver_Impl ACE_TEXT (", expected <KEY_.> or <many_.>\n"), datum.key.in ())); } +#else + ACE_UNUSED_ARG (datum); + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Statelistener:on_deletion : ") + ACE_TEXT ("Received on_deletion event\n"))); + +#endif } } diff --git a/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/Plan.cdp index fda7618e870..87e3b60455a 100644 --- a/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/Plan.cdp @@ -193,7 +193,7 @@ <kind>tk_string</kind> </type> <value> - <string>SlObO_Library#SlObO_Profile</string> + <string>SlObO_Library#SlObOProfile</string> </value> </value> </configProperty> @@ -222,7 +222,7 @@ <kind>tk_string</kind> </type> <value> - <string>SlObO_Library#SlObO_Profile</string> + <string>SlObO_Library#SlObOProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/SlObO_Library.xml b/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/SlObO_Library.xml new file mode 100644 index 00000000000..fd55ac56e5e --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/SlObO_Library.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> + +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="SlObOProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <resource_limits> + <max_instances>4</max_instances> + <initial_instances>4</initial_instances> + <max_samples>25</max_samples> + <initial_samples>10</initial_samples> + <max_samples_per_instance>5</max_samples_per_instance> + </resource_limits> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <resource_limits> + <max_instances>4</max_instances> + <initial_instances>4</initial_instances> + <max_samples>25</max_samples> + <initial_samples>10</initial_samples> + <max_samples_per_instance>5</max_samples_per_instance> + </resource_limits> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/USER_QOS_PROFILES.xml index 8dc0abcbf5b..87d4c5229f5 100644 --- a/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/SLOneByOne/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="SlObO_Profile" is_default_qos="true"> + <qos_profile name="SlObOProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/SetConnectorAttributes/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/SetConnectorAttributes/descriptors/Plan.cdp index ed9dc2b3064..5d01c3c6143 100644 --- a/CIAO/connectors/dds4ccm/tests/SetConnectorAttributes/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/SetConnectorAttributes/descriptors/Plan.cdp @@ -154,7 +154,7 @@ <kind>tk_string</kind> </type> <value> - <string>SetConnectorAttribute_Library#SetConnectorAttribute_Profile</string> + <string>SetConnectorAttribute_Library#SetConnectorAttributeProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Plan.cdp index a9b57a5584c..83dc4a2e478 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Plan.cdp @@ -235,7 +235,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -264,7 +264,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -293,7 +293,7 @@ <kind>tk_string</kind> </type> <value> - <string>Standalone_Library#Standalone_Profile</string> + <string>Standalone_Library#StandaloneProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Shared_Library.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Shared_Library.xml new file mode 100644 index 00000000000..33a5d272f7a --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Shared_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="SharedProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Standalone_Library.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Standalone_Library.xml new file mode 100644 index 00000000000..9bf9c03c57c --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/Standalone_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="StandaloneProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/USER_QOS_PROFILES.xml index 90aaf3e5ce4..208857abbba 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDatatype/descriptors/USER_QOS_PROFILES.xml @@ -4,7 +4,7 @@ <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.5d/scripts/../resource/rtiddsgen/../qos_profiles_4.5d/schema/rti_dds_qos_profiles.xsd" version="4.5d"> <qos_library name="Shared_Library"> - <qos_profile name="Shared_Profile" is_default_qos="true"> + <qos_profile name="SharedProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> @@ -41,7 +41,7 @@ </qos_profile> </qos_library> <qos_library name="Standalone_Library"> - <qos_profile name="Standalone_Profile" is_default_qos="true"> + <qos_profile name="StandaloneProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Plan.cdp index 2e1309494a2..62cfeff1b0d 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Plan.cdp @@ -246,7 +246,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -286,7 +286,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -326,7 +326,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Shared_Library.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Shared_Library.xml new file mode 100644 index 00000000000..33a5d272f7a --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Shared_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="SharedProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Standalone_Library.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Standalone_Library.xml new file mode 100644 index 00000000000..9bf9c03c57c --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/Standalone_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="StandaloneProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/USER_QOS_PROFILES.xml index 90aaf3e5ce4..208857abbba 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/DifferentDomainID/descriptors/USER_QOS_PROFILES.xml @@ -4,7 +4,7 @@ <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.5d/scripts/../resource/rtiddsgen/../qos_profiles_4.5d/schema/rti_dds_qos_profiles.xsd" version="4.5d"> <qos_library name="Shared_Library"> - <qos_profile name="Shared_Profile" is_default_qos="true"> + <qos_profile name="SharedProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> @@ -41,7 +41,7 @@ </qos_profile> </qos_library> <qos_library name="Standalone_Library"> - <qos_profile name="Standalone_Profile" is_default_qos="true"> + <qos_profile name="StandaloneProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/DefaultQoS.cdp b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/DefaultQoS.cdp index 7bfb1cec773..aeb7064536c 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/DefaultQoS.cdp +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/DefaultQoS.cdp @@ -187,7 +187,7 @@ <kind>tk_string</kind> </type> <value> - <string>Standalone_Library#Standalone_Profile</string> + <string>Standalone_Library#StandaloneProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Plan.cdp index a1fd041365b..ba2ac139776 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Plan.cdp @@ -135,7 +135,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -164,7 +164,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -193,7 +193,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -222,7 +222,7 @@ <kind>tk_string</kind> </type> <value> - <string>Shared_Library#Shared_Profile</string> + <string>Shared_Library#SharedProfile</string> </value> </value> </configProperty> @@ -251,7 +251,7 @@ <kind>tk_string</kind> </type> <value> - <string>Standalone_Library#Standalone_Profile</string> + <string>Standalone_Library#StandaloneProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Shared_Library.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Shared_Library.xml new file mode 100644 index 00000000000..33a5d272f7a --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Shared_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="SharedProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Standalone_Library.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Standalone_Library.xml new file mode 100644 index 00000000000..9bf9c03c57c --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/Standalone_Library.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- $Id$ --> +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="StandaloneProfile"> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + </datawriter_qos> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_LAST_HISTORY_QOS</kind> + <depth>20</depth> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds>
\ No newline at end of file diff --git a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/USER_QOS_PROFILES.xml index 90aaf3e5ce4..208857abbba 100644 --- a/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/SharedDomainParticipant/SameDatatype/descriptors/USER_QOS_PROFILES.xml @@ -4,7 +4,7 @@ <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.5d/scripts/../resource/rtiddsgen/../qos_profiles_4.5d/schema/rti_dds_qos_profiles.xsd" version="4.5d"> <qos_library name="Shared_Library"> - <qos_profile name="Shared_Profile" is_default_qos="true"> + <qos_profile name="SharedProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> @@ -41,7 +41,7 @@ </qos_profile> </qos_library> <qos_library name="Standalone_Library"> - <qos_profile name="Standalone_Profile" is_default_qos="true"> + <qos_profile name="StandaloneProfile" is_default_qos="true"> <datawriter_qos> <reliability> <kind>RELIABLE_RELIABILITY_QOS</kind> diff --git a/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/Plan.cdp b/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/Plan.cdp index 59282012a30..b78c6f93e09 100644 --- a/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/Plan.cdp +++ b/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/Plan.cdp @@ -218,7 +218,7 @@ <kind>tk_string</kind> </type> <value> - <string>UnkeyedWriter_Library#UnkeyedWriter_Profile</string> + <string>UnkeyedWriter_Library#UnkeyedWriterProfile</string> </value> </value> </configProperty> @@ -247,7 +247,7 @@ <kind>tk_string</kind> </type> <value> - <string>UnkeyedWriter_Library#UnkeyedWriter_Profile</string> + <string>UnkeyedWriter_Library#UnkeyedWriterProfile</string> </value> </value> </configProperty> diff --git a/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/USER_QOS_PROFILES.xml b/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/USER_QOS_PROFILES.xml index aa0c9673d4d..52ac661f359 100644 --- a/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/USER_QOS_PROFILES.xml +++ b/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/USER_QOS_PROFILES.xml @@ -28,7 +28,7 @@ RTI Data Distribution Service user manual. A QoS profile groups a set of related QoS. --> - <qos_profile name="UnkeyedWriter_Profile" is_default_qos="true"> + <qos_profile name="UnkeyedWriterProfile" is_default_qos="true"> <!-- QoS used to configure the data writer created in the example code --> <datawriter_qos> <reliability> diff --git a/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/UnkeyedWriter_Library.xml b/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/UnkeyedWriter_Library.xml new file mode 100644 index 00000000000..c9ee9e47fd3 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tests/UnkeyedWriter/descriptors/UnkeyedWriter_Library.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> + +<dds xmlns="http://www.omg.org/dds" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/dds ../../../docs/schema/dds_qos.xsd"> + + <qos_profile name="UnkeyedWriterProfile"> + <!-- QoS used to configure the data writer created in the example code --> + <datawriter_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + <max_blocking_time> + <sec>10</sec> + <nanosec>0</nanosec> + </max_blocking_time> + </reliability> + <durability> + <kind>TRANSIENT_DURABILITY_QOS</kind> + </durability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + </datawriter_qos> + <!-- QoS used to configure the data reader created in the example code --> + <datareader_qos> + <reliability> + <kind>RELIABLE_RELIABILITY_QOS</kind> + </reliability> + <history> + <kind>KEEP_ALL_HISTORY_QOS</kind> + </history> + <durability> + <kind>TRANSIENT_LOCAL_DURABILITY_QOS</kind> + </durability> + </datareader_qos> + </qos_profile> +</dds> diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp new file mode 100644 index 00000000000..18d97bf7676 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.cpp @@ -0,0 +1,61 @@ +// $Id$ +#include "DataReaderQos_Handler.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" + +#include "QOS_DataReader_T.h" + +bool +DataReaderQos_Handler::get_datareader_qos (DDS::DataReaderQos& dr_qos, + dds::qosProfile * profile, + const ACE_TCHAR * name) +{ + DDS4CCM_TRACE ("DataReaderQos_Handler::get_datareader_qos"); + + if (name) + { +// // find the correct DataReader_qos +// for (dds::qosProfile::DataReader_qos_iterator dw_it = profile->begin_DataReader_qos (); +// dw_it != profile->end_DataReader_qos(); +// ++dw_it) +// { +// if (ACE_OS::strcmp (dw_name.c_str (), name) == 0) +// { +// return get_DataReader_qos (dw_qos, *dw_it->get()); +// } +// } + } + else + { + if (profile->count_datareader_qos () == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("DataReaderQos_Handler::get_datareader_qos - ") + ACE_TEXT ("No DataReader QOS available in profile <%C>\n"), + profile->name ().c_str ())); + return true; + } + // get the first DataReader in the XML + dds::qosProfile::datareader_qos_iterator dr_it = profile->begin_datareader_qos (); + return DataReaderQos_Handler::get_datareader_qos (dr_qos, dr_it->get ()); + } + + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("DataReaderQos_Handler::get_datareader_qos - ") + ACE_TEXT ("Unable to find DataReaderQos <%C>\n"), + name)); + return false; +} + +bool +DataReaderQos_Handler::get_datareader_qos (DDS::DataReaderQos& dr_qos, + dds::datareaderQos * dr) +{ + DDS4CCM_TRACE ("DataReaderQos_Handler::get_datareader_qos"); + + typedef QOS_DataReader_T<dds::datareaderQos*, DDS::DataReaderQos> dr_type; + dr_type datareader_qos_handler; + datareader_qos_handler.read_qos (dr_qos, dr); + + return true; +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.h new file mode 100644 index 00000000000..f7e45589727 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataReaderQos_Handler.h @@ -0,0 +1,41 @@ +//============================================================== +/** + * @file DataReaderQos_Handler.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef DATAREADER_QOS_HANDLER_H +#define DATAREADER_QOS_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds_qos.hpp" + +namespace DDS +{ + struct DataReaderQos; +} + +class XML_QOS_Handler_Export DataReaderQos_Handler +{ +public: + static bool get_datareader_qos (::DDS::DataReaderQos& dr_qos, + ::dds::qosProfile * profile, + const ACE_TCHAR * name = 0); +private: + static bool get_datareader_qos (DDS::DataReaderQos& dr_qos, + dds::datareaderQos * dr); +}; + +#include /**/ "ace/post.h" +#endif /* DATAREADER_QOS_HANDLER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp new file mode 100644 index 00000000000..23023ab87e9 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.cpp @@ -0,0 +1,61 @@ +// $Id$ +#include "DataWriterQos_Handler.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" + +#include "QOS_DataWriter_T.h" + +bool +DataWriterQos_Handler::get_datawriter_qos (DDS::DataWriterQos& dw_qos, + dds::qosProfile * profile, + const ACE_TCHAR * name) +{ + DDS4CCM_TRACE ("DataWriterQos_Handler::get_datawriter_qos"); + + if (name) + { +// // find the correct datawriter_qos +// for (dds::qosProfile::datawriter_qos_iterator dw_it = profile->begin_datawriter_qos (); +// dw_it != profile->end_datawriter_qos(); +// ++dw_it) +// { +// if (ACE_OS::strcmp (dw_name.c_str (), name) == 0) +// { +// return get_datawriter_qos (dw_qos, *dw_it->get()); +// } +// } + } + else + { + if (profile->count_datawriter_qos () == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("DataWriterQos_Handler::get_datawriter_qos - ") + ACE_TEXT ("No DataWriter QOS available in profile <%C>\n"), + profile->name ().c_str ())); + return true; + } + // get the first datawriter in the XML + dds::qosProfile::datawriter_qos_iterator dw_it = profile->begin_datawriter_qos (); + return DataWriterQos_Handler::get_datawriter_qos (dw_qos, dw_it->get ()); + } + + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("DataWriterQos_Handler::get_datawriter_qos - ") + ACE_TEXT ("Unable to find DataWriterQos <%C>\n"), + name)); + return false; +} + +bool +DataWriterQos_Handler::get_datawriter_qos (DDS::DataWriterQos& dw_qos, + dds::datawriterQos * dw) +{ + DDS4CCM_TRACE ("DataWriterQos_Handler::get_datawriter_qos"); + + typedef QOS_DataWriter_T<dds::datawriterQos*, DDS::DataWriterQos> dw_type; + dw_type datawriter_qos_handler; + datawriter_qos_handler.read_qos (dw_qos, dw); + + return true; +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h new file mode 100644 index 00000000000..fb947252764 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/DataWriterQos_Handler.h @@ -0,0 +1,41 @@ +//============================================================== +/** + * @file DataWriterQos_Handler.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef DATAWRITER_QOS_HANDLER_H +#define DATAWRITER_QOS_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds_qos.hpp" + +namespace DDS +{ + struct DataWriterQos; +} + +class XML_QOS_Handler_Export DataWriterQos_Handler +{ +public: + static bool get_datawriter_qos (::DDS::DataWriterQos& dw_qos, + ::dds::qosProfile * profile, + const ACE_TCHAR * name = 0); +private: + static bool get_datawriter_qos (DDS::DataWriterQos& dw_qos, + dds::datawriterQos * dw); +}; + +#include /**/ "ace/post.h" +#endif /* DATAWRITER_QOS_HANDLER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp new file mode 100644 index 00000000000..6132f73107a --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.cpp @@ -0,0 +1,93 @@ +// $Id$ +#include "ParticipantQos_Handler.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include <dds/DdsDcpsInfrastructureC.h> + +bool +ParticipantQos_Handler::get_participant_qos (DDS::DomainParticipantQos& dp_qos, + dds::qosProfile * profile, + const ACE_TCHAR * name) +{ + DDS4CCM_TRACE ("ParticipantQos_Handler::get_participant_qos"); + + if (name) + { +// // find the correct Participant_qos +// for (dds::qosProfile::Participant_qos_iterator dw_it = profile->begin_Participant_qos (); +// dw_it != profile->end_Participant_qos(); +// ++dw_it) +// { +// if (ACE_OS::strcmp (dw_name.c_str (), name) == 0) +// { +// return get_Participant_qos (dw_qos, *dw_it->get()); +// } +// } + } + else + { + if (profile->count_domainparticipant_qos () == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("ParticipantQos_Handler::get_participant_qos - ") + ACE_TEXT ("No Participant QOS available in profile <%C>\n"), + profile->name ().c_str ())); + return true; + } + // get the first Participant in the XML + dds::qosProfile::domainparticipant_qos_iterator dr_it = profile->begin_domainparticipant_qos (); + return ParticipantQos_Handler::get_participant_qos (dp_qos, dr_it->get ()); + } + + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("ParticipantQos_Handler::get_participant_qos - ") + ACE_TEXT ("Unable to find ParticipantQos <%C>\n"), + name)); + return false; +} + +bool +ParticipantQos_Handler::get_participant_qos (DDS::DomainParticipantQos& dp_qos, + dds::domainparticipantQos * dp) +{ + DDS4CCM_TRACE ("ParticipantQos_Handler::get_participant_qos"); + +// if (xml_qos->user_data ()) +// { + // TODO: Have a good look at this. + +// const std::string value = *xml_qos->user_data ()->value (); +// +// DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO +// ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") +// ACE_TEXT ("Set user_data to <%C>\n"), +// value.c_str ())); +// +// dds_qos.user_data.value = +// *xml_qos->user_data ()->value (); +// } + + + if (dp->entity_factory_p ()) + { + if (dp->entity_factory ().autoenable_created_entities_p ()) + { + dp_qos.entity_factory.autoenable_created_entities = + dp->entity_factory ().autoenable_created_entities (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("ParticipantQos_Handler::get_participant_qos - ") + ACE_TEXT ("Set entity_factory autoenable_created_entities to <%d>\n"), + dp_qos.entity_factory.autoenable_created_entities)); + } + } + + + + +// typedef QOS_Participant_T<dds::domainparticipantQos*, DDS::DomainParticipantQos> dr_type; +// dr_type participant_qos_handler; +// participant_qos_handler.read_qos (dr_qos, dr); + + return true; +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.h new file mode 100644 index 00000000000..4a1db343a99 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/ParticipantQos_Handler.h @@ -0,0 +1,41 @@ +//============================================================== +/** + * @file ParticipantQos_Handler.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef PARTICIPANT_QOS_HANDLER_H +#define PARTICIPANT_QOS_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds_qos.hpp" + +namespace DDS +{ + class DomainParticipantQos; +} + +class XML_QOS_Handler_Export ParticipantQos_Handler +{ +public: + static bool get_participant_qos (::DDS::DomainParticipantQos& dp_qos, + ::dds::qosProfile * profile, + const ACE_TCHAR * name = 0); +private: + static bool get_participant_qos (DDS::DomainParticipantQos& dp_qos, + dds::domainparticipantQos * dp); +}; + +#include /**/ "ace/post.h" +#endif /* PARTICIPANT_QOS_HANDLER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.cpp new file mode 100644 index 00000000000..8537582383f --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.cpp @@ -0,0 +1,60 @@ +// $Id$ +#include "PublisherQos_Handler.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" + +#include "QOS_PubSub_T.h" + +bool +PublisherQos_Handler::get_publisher_qos (DDS::PublisherQos& pub_qos, + dds::qosProfile * profile, + const ACE_TCHAR * name) +{ + DDS4CCM_TRACE ("PublisherQos_Handler::get_publisher_qos"); + if (name) + { +// // find the correct DataReader_qos +// for (dds::qosProfile::DataReader_qos_iterator dw_it = profile->begin_DataReader_qos (); +// dw_it != profile->end_DataReader_qos(); +// ++dw_it) +// { +// if (ACE_OS::strcmp (dw_name.c_str (), name) == 0) +// { +// return get_DataReader_qos (dw_qos, *dw_it->get()); +// } +// } + } + else + { + if (profile->count_publisher_qos () == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("PublisherQos_Handler::get_publisher_qos - ") + ACE_TEXT ("No Publisher QOS available in profile <%C>\n"), + profile->name ().c_str ())); + return true; + } + // get the first DataReader in the XML + dds::qosProfile::publisher_qos_iterator pub_it = profile->begin_publisher_qos (); + return PublisherQos_Handler::get_publisher_qos (pub_qos, pub_it->get ()); + } + + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("PublisherQos_Handler::get_publisher_qos - ") + ACE_TEXT ("Unable to find PublisherQos <%C>\n"), + name)); + return false; +} + +bool +PublisherQos_Handler::get_publisher_qos (DDS::PublisherQos& pub_qos, + dds::publisherQos * pub) +{ + DDS4CCM_TRACE ("PublisherQos_Handler::get_publisher_qos"); + + typedef QOS_PubSub_T<dds::publisherQos*, DDS::PublisherQos> pub_type; + pub_type publisher_qos_handler; + publisher_qos_handler.read_qos (pub_qos, pub); + + return true; +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.h new file mode 100644 index 00000000000..ba01d2a9865 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/PublisherQos_Handler.h @@ -0,0 +1,41 @@ +//============================================================== +/** + * @file PublisherQos_Handler.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef PUBLISHER_QOS_HANDLER_H +#define PUBLISHER_QOS_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds_qos.hpp" + +namespace DDS +{ + struct PublisherQos; +} + +class XML_QOS_Handler_Export PublisherQos_Handler +{ +public: + static bool get_publisher_qos (::DDS::PublisherQos& pub_qos, + ::dds::qosProfile * profile, + const ACE_TCHAR * name = 0); +private: + static bool get_publisher_qos (DDS::PublisherQos& pub_qos, + dds::publisherQos * pub); +}; + +#include /**/ "ace/post.h" +#endif /* PUBLISHER_QOS_HANDLER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp new file mode 100644 index 00000000000..a86c651e9a7 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.cpp @@ -0,0 +1,184 @@ +// $Id$ + +#include "QOS_Common.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" + + +void +QosCommon::get_durability_kind (const ::dds::durabilityKind kind, + ::DDS::DurabilityQosPolicyKind& dds_kind) +{ + switch (kind.integral ()) + { + case ::dds::durabilityKind::VOLATILE_DURABILITY_QOS_l: + dds_kind = ::DDS::VOLATILE_DURABILITY_QOS; + break; + case ::dds::durabilityKind::TRANSIENT_LOCAL_DURABILITY_QOS_l: + dds_kind = ::DDS::TRANSIENT_LOCAL_DURABILITY_QOS; + break; + case ::dds::durabilityKind::TRANSIENT_DURABILITY_QOS_l: + dds_kind = ::DDS::TRANSIENT_DURABILITY_QOS; + break; + case ::dds::durabilityKind::PERSISTENT_DURABILITY_QOS_l: + dds_kind = ::DDS::PERSISTENT_DURABILITY_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QosCommon::get_durability_kind - ") + ACE_TEXT ("Unknown durability kind found <%d>; returning VOLATILE_DURABILITY_QOS\n"), + kind.integral ())); + dds_kind = ::DDS::VOLATILE_DURABILITY_QOS; + break; + } +} + +void +QosCommon::get_history_kind (const ::dds::historyKind kind, + ::DDS::HistoryQosPolicyKind& dds_kind) +{ + switch (kind.integral ()) + { + case ::dds::historyKind::KEEP_ALL_HISTORY_QOS_l: + dds_kind = ::DDS::KEEP_ALL_HISTORY_QOS; + break; + case ::dds::historyKind::KEEP_LAST_HISTORY_QOS_l: + dds_kind = ::DDS::KEEP_LAST_HISTORY_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QosCommon::get_history_kind - ") + ACE_TEXT ("Unknown history kind found <%d>; returning KEEP_ALL_HISTORY_QOS\n"), + kind.integral ())); + dds_kind = ::DDS::KEEP_ALL_HISTORY_QOS; + break; + } +} + +void +QosCommon::get_duration (::DDS::Duration_t& duration, const ACE_TCHAR * sec, const ACE_TCHAR * nsec) +{ + if (ACE_OS::strcmp (sec, "DURATION_INFINITY") == 0 || + ACE_OS::strcmp (sec, "DURATION_INFINITE_SEC") == 0) + { + duration.sec = 0x7fffffff; + } + else + { + duration.sec = ACE_OS::atoi (sec); + } + + if (ACE_OS::strcmp (nsec, "DURATION_INFINITY") == 0 || + ACE_OS::strcmp (nsec, "DURATION_INFINITE_NSEC") == 0) + { + duration.nanosec = 0x7fffffff; + } + else + { + duration.nanosec = ACE_OS::atoi (nsec); + } +} + +::CORBA::Long +QosCommon::get_qos_long(const ACE_TCHAR* value) +{ + if (ACE_OS::strcmp (value, "LENGTH_UNLIMITED") == 0) + { + return -1; + } + else + { + return atoi (value); + } +} + +void +QosCommon::get_liveliness_kind (const ::dds::livelinessKind kind, + ::DDS::LivelinessQosPolicyKind& dds_kind) +{ + switch (kind.integral ()) + { + case ::dds::livelinessKind::AUTOMATIC_LIVELINESS_QOS_l: + dds_kind = ::DDS::AUTOMATIC_LIVELINESS_QOS; + break; + case ::dds::livelinessKind::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l: + dds_kind = ::DDS::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS; + break; + case ::dds::livelinessKind::MANUAL_BY_TOPIC_LIVELINESS_QOS_l: + dds_kind = ::DDS::MANUAL_BY_TOPIC_LIVELINESS_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QosCommon::get_liveliness_kind - ") + ACE_TEXT ("Unknown liveliness kind found <%d>; returning AUTOMATIC_LIVELINESS_QOS\n"), + kind.integral ())); + dds_kind = ::DDS::AUTOMATIC_LIVELINESS_QOS; + break; + } +} + +void +QosCommon::get_realiability_kind (const ::dds::reliabilityKind kind, + ::DDS::ReliabilityQosPolicyKind& dds_kind) +{ + switch (kind.integral ()) + { + case ::dds::reliabilityKind::BEST_EFFORT_RELIABILITY_QOS_l: + dds_kind = ::DDS::BEST_EFFORT_RELIABILITY_QOS; + break; + case ::dds::reliabilityKind::RELIABLE_RELIABILITY_QOS_l: + dds_kind = ::DDS::RELIABLE_RELIABILITY_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QosCommon::get_liveliness_kind - ") + ACE_TEXT ("Unknown reliability kind found <%d>; returning BEST_EFFORT_RELIABILITY_QOS\n"), + kind.integral ())); + dds_kind = ::DDS::BEST_EFFORT_RELIABILITY_QOS; + break; + } +} + +void +QosCommon::get_destination_order_kind (const ::dds::destinationOrderKind kind, + ::DDS::DestinationOrderQosPolicyKind& dds_kind) +{ + switch (kind.integral ()) + { + case ::dds::destinationOrderKind::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l: + dds_kind = ::DDS::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS; + break; + case ::dds::destinationOrderKind::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l: + dds_kind = ::DDS::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QosCommon::get_destination_order_kind - ") + ACE_TEXT ("Unknown destination order kind found <%d>; returning BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS\n"), + kind.integral ())); + dds_kind = ::DDS::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS; + break; + } +} + +void +QosCommon::get_ownership_kind (const ::dds::ownershipKind kind, + ::DDS::OwnershipQosPolicyKind& dds_kind) +{ + switch (kind.integral ()) + { + case ::dds::ownershipKind::SHARED_OWNERSHIP_QOS_l: + dds_kind = ::DDS::SHARED_OWNERSHIP_QOS; + break; + case ::dds::ownershipKind::EXCLUSIVE_OWNERSHIP_QOS_l: + dds_kind = ::DDS::EXCLUSIVE_OWNERSHIP_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QosCommon::get_ownership_kind - ") + ACE_TEXT ("Unknown ownership kind found <%d>; returning SHARED_OWNERSHIP_QOS\n"), + kind.integral ())); + dds_kind = ::DDS::SHARED_OWNERSHIP_QOS; + break; + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h new file mode 100644 index 00000000000..15481b69fdc --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Common.h @@ -0,0 +1,46 @@ +//============================================================== +/** + * @file QOS_Common.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef QOS_COMMON_H +#define QOS_COMMON_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds/DdsDcpsInfrastructureC.h" +#include "dds_qos.hpp" + +class XML_QOS_Handler_Export QosCommon +{ +public: + static void get_durability_kind (const ::dds::durabilityKind kind, + ::DDS::DurabilityQosPolicyKind& dds_kind); + static void get_history_kind (const ::dds::historyKind kind, + ::DDS::HistoryQosPolicyKind& dds_kind); + static void get_duration (::DDS::Duration_t& duration, const ACE_TCHAR * sec, const ACE_TCHAR * nsec); + static ::CORBA::Long get_qos_long (const ACE_TCHAR * value); + static void get_liveliness_kind (const ::dds::livelinessKind kind, + ::DDS::LivelinessQosPolicyKind& dds_kind); + static void get_realiability_kind (const dds::reliabilityKind kind, + ::DDS::ReliabilityQosPolicyKind& dds_kind); + static void get_destination_order_kind (const ::dds::destinationOrderKind kind, + ::DDS::DestinationOrderQosPolicyKind& dds_kind); + + static void get_ownership_kind (::dds::ownershipKind kind, + ::DDS::OwnershipQosPolicyKind& dds_kind); +}; + +#include /**/ "ace/post.h" +#endif /* QOS_COMMON_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp new file mode 100644 index 00000000000..a351f3a5ce2 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp @@ -0,0 +1,88 @@ +// $Id$ + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "dds/DdsDcpsInfrastructureC.h" +#include "QOS_Common.h" + + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::QOS_DataReader_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::~QOS_DataReader_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +void +QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos (DDS_QOS_TYPE& dds_qos, const XML_QOS_TYPE xml_qos) +{ + DwDrTpBase::read_qos (dds_qos, xml_qos); +// if (xml_qos->user_data ()) +// { + // TODO: Have a good look at this. + +// const std::string value = *xml_qos->user_data ()->value (); +// +// DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO +// ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") +// ACE_TEXT ("Set user_data to <%C>\n"), +// value.c_str ())); +// +// dds_qos.user_data.value = +// *xml_qos->user_data ()->value (); +// } + if (xml_qos->time_based_filter_p ()) + { + if (xml_qos->time_based_filter ().minimum_separation_p ()) + { + const std::string nsec = xml_qos->time_based_filter ().minimum_separation ().nanosec (); + const std::string sec = xml_qos->time_based_filter ().minimum_separation ().sec (); + + QosCommon::get_duration (dds_qos.time_based_filter.minimum_separation, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set time_based_filter minimum_separation to <%d:%u>\n"), + dds_qos.time_based_filter.minimum_separation.sec, + dds_qos.time_based_filter.minimum_separation.nanosec)); + } + } + if (xml_qos->reader_data_lifecycle_p ()) + { + if (xml_qos->reader_data_lifecycle ().autopurge_nowriter_samples_delay_p ()) + { + const std::string nsec = xml_qos->reader_data_lifecycle ().autopurge_nowriter_samples_delay ().nanosec (); + const std::string sec = xml_qos->reader_data_lifecycle ().autopurge_nowriter_samples_delay ().sec (); + + QosCommon::get_duration (dds_qos.reader_data_lifecycle.autopurge_nowriter_samples_delay, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set reader_data_lifecycle autopurge_nowriter_samples_delay to <%d:%u>\n"), + dds_qos.reader_data_lifecycle.autopurge_nowriter_samples_delay.sec, + dds_qos.reader_data_lifecycle.autopurge_nowriter_samples_delay.nanosec)); + } + if (xml_qos->reader_data_lifecycle ().autopurge_disposed_samples_delay_p ()) + { + const std::string nsec = xml_qos->reader_data_lifecycle ().autopurge_disposed_samples_delay ().nanosec (); + const std::string sec = xml_qos->reader_data_lifecycle ().autopurge_disposed_samples_delay ().sec (); + + QosCommon::get_duration (dds_qos.reader_data_lifecycle.autopurge_disposed_samples_delay, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set reader_data_lifecycle autopurge_disposed_samples_delay to <%d:%u>\n"), + dds_qos.reader_data_lifecycle.autopurge_disposed_samples_delay.sec, + dds_qos.reader_data_lifecycle.autopurge_disposed_samples_delay.nanosec)); + } + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h new file mode 100644 index 00000000000..5c293063604 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.h @@ -0,0 +1,28 @@ +/** + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ +#ifndef QOS_DATAREADER_T_H_ +#define QOS_DATAREADER_T_H_ + +#include "QOS_DwDrTp_Base_T.h" + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +class QOS_DataReader_T + : public QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> +{ +public: + QOS_DataReader_T (void); + ~QOS_DataReader_T (void); + + void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); + +private: + typedef QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> DwDrTpBase; +}; + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_DataReader_T.cpp" + +#endif /* QOS_DATAREADER_T_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp new file mode 100644 index 00000000000..f5f7984f103 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp @@ -0,0 +1,57 @@ +// $Id$ + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "dds/DdsDcpsInfrastructureC.h" +#include "QOS_Common.h" + + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::QOS_DataWriter_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::~QOS_DataWriter_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +void +QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos (DDS_QOS_TYPE& dds_qos, const XML_QOS_TYPE xml_qos) +{ + DwTpBase::read_qos (dds_qos, xml_qos); +// if (xml_qos->user_data ()) +// { + // TODO: Have a good look at this. + +// const std::string value = *xml_qos->user_data ()->value (); +// +// DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO +// ACE_TEXT ("QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") +// ACE_TEXT ("Set user_data to <%C>\n"), +// value.c_str ())); +// +// dds_qos.user_data.value = +// *xml_qos->user_data ()->value (); +// } + if (xml_qos->ownership_strength_p ()) + { + dds_qos.ownership_strength.value = xml_qos->ownership_strength ().value (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set ownership_strength to <%u>\n"), + dds_qos.ownership_strength.value)); + } + if (xml_qos->writer_data_lifecycle_p () && + xml_qos->writer_data_lifecycle ().autodispose_unregistered_instances_p ()) + { + dds_qos.writer_data_lifecycle.autodispose_unregistered_instances = + xml_qos->writer_data_lifecycle ().autodispose_unregistered_instances (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set autodispose_unregistered_instances to <%d>\n"), + dds_qos.writer_data_lifecycle.autodispose_unregistered_instances)); + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h new file mode 100644 index 00000000000..63f75a7ed37 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.h @@ -0,0 +1,28 @@ +/** + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ +#ifndef QOS_DATAWRITER_T_H_ +#define QOS_DATAWRITER_T_H_ + +#include "QOS_DwTp_Base_T.h" + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +class QOS_DataWriter_T + : public QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> +{ +public: + QOS_DataWriter_T (void); + ~QOS_DataWriter_T (void); + + void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); + +private: + typedef QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> DwTpBase; +}; + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_DataWriter_T.cpp" + +#endif /* QOS_DATAWRITER_T_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp new file mode 100644 index 00000000000..82ed9fef241 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp @@ -0,0 +1,205 @@ +// $Id$ + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "dds/DdsDcpsInfrastructureC.h" +#include "QOS_Common.h" + + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::QOS_DwDrTp_Base_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::~QOS_DwDrTp_Base_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +void +QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos (DDS_QOS_TYPE& dds_qos, const XML_QOS_TYPE xml_qos) +{ + if (xml_qos->durability_p ()) + { + if (xml_qos->durability().kind_p ()) + { + QosCommon::get_durability_kind (xml_qos->durability().kind (), + dds_qos.durability.kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("set durability to <%d>\n"), + dds_qos.durability.kind)); + + } + } + if (xml_qos->deadline_p ()) + { + const std::string nsec = xml_qos->deadline().period ().nanosec (); + const std::string sec = xml_qos->deadline().period ().sec (); + + QosCommon::get_duration (dds_qos.deadline.period, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set deadline to <%d:%u>\n"), + dds_qos.deadline.period.sec, + dds_qos.deadline.period.nanosec)); + } + if (xml_qos->latency_budget_p ()) + { + const std::string nsec = xml_qos->latency_budget().duration ().nanosec (); + const std::string sec = xml_qos->latency_budget().duration ().sec (); + + QosCommon::get_duration (dds_qos.latency_budget.duration, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set latency_budget to <%d:%u>\n"), + dds_qos.latency_budget.duration.sec, \ + dds_qos.latency_budget.duration.nanosec)); + } + if (xml_qos->liveliness_p ()) + { + if (xml_qos->liveliness ().kind_p ()) + { + QosCommon::get_liveliness_kind (xml_qos->liveliness ().kind (), + dds_qos.liveliness.kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set liveliness_kind to <%d>\n"), + dds_qos.liveliness.kind)); + } + if (xml_qos->liveliness ().lease_duration_p ()) + { + const std::string nsec = xml_qos->liveliness ().lease_duration ().nanosec (); + const std::string sec = xml_qos->liveliness ().lease_duration ().sec (); + + QosCommon::get_duration (dds_qos.liveliness.lease_duration, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set liveliness lease_duration to <%d:%u>\n"), + dds_qos.liveliness.lease_duration.sec, + dds_qos.liveliness.lease_duration.nanosec)); + } + } + if (xml_qos->reliability_p ()) + { + if (xml_qos->reliability ().kind_p ()) + { + QosCommon::get_realiability_kind (xml_qos->reliability ().kind (), + dds_qos.reliability.kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set reliability_kind to <%d>\n"), + dds_qos.reliability.kind)); + } + if (xml_qos->reliability ().max_blocking_time_p ()) + { + const std::string nsec = xml_qos->reliability().max_blocking_time ().nanosec (); + const std::string sec = xml_qos->reliability().max_blocking_time ().sec (); + + QosCommon::get_duration (dds_qos.reliability.max_blocking_time, + sec.c_str (), + nsec.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set reliability max_blocking_time to <%d:%u>\n"), + dds_qos.reliability.max_blocking_time.sec, + dds_qos.reliability.max_blocking_time.nanosec)); + } + } + if (xml_qos->destination_order_p ()) + { + QosCommon::get_destination_order_kind (xml_qos->destination_order ().kind (), + dds_qos.destination_order.kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set destination_order to <%d>\n"), + dds_qos.destination_order.kind)); + } + if (xml_qos->history_p ()) + { + if (xml_qos->history ().kind_p ()) + { + QosCommon::get_history_kind (xml_qos->history ().kind (), + dds_qos.history.kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set history to <%d>\n"), + dds_qos.history.kind)); + } + if (xml_qos->history ().depth_p ()) + { + dds_qos.history.depth = xml_qos->history ().depth (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set history depth to <%u>\n"), + dds_qos.history.depth)); + } + } + if (xml_qos->resource_limits_p ()) + { + if (xml_qos->resource_limits ().max_samples_p ()) + { + const std::string max_samples = xml_qos->resource_limits ().max_samples (); + + dds_qos.resource_limits.max_samples = + QosCommon::get_qos_long (max_samples.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set Resource Limits max_samples to <%d>\n"), + dds_qos.resource_limits.max_samples)); + } + if (xml_qos->resource_limits ().max_instances_p ()) + { + const std::string max_instances = xml_qos->resource_limits ().max_instances (); + + dds_qos.resource_limits.max_instances = + QosCommon::get_qos_long (max_instances.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set Resource Limits max_instances to <%d>\n"), + dds_qos.resource_limits.max_instances)); + } + if (xml_qos->resource_limits ().max_samples_per_instance_p ()) + { + const std::string max_samples_per_instance = + xml_qos->resource_limits ().max_samples_per_instance (); + + dds_qos.resource_limits.max_samples_per_instance = + QosCommon::get_qos_long (max_samples_per_instance.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set Resource Limits max_samples_per_instance to <%d>\n"), + dds_qos.resource_limits.max_samples_per_instance)); + } + } + if (xml_qos->ownership_p ()) + { + QosCommon::get_ownership_kind (xml_qos->ownership ().kind (), + dds_qos.ownership.kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set ownership to <%d>\n"), + dds_qos.ownership.kind)); + + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h new file mode 100644 index 00000000000..2da59cde963 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.h @@ -0,0 +1,22 @@ +/** + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ +#ifndef QOS_DWDRTP_BASE_T_H_ +#define QOS_DWDRTP_BASE_T_H_ + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +class QOS_DwDrTp_Base_T +{ +public: + QOS_DwDrTp_Base_T (void); + ~QOS_DwDrTp_Base_T (void); + + void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); +}; + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_DwDrTp_Base_T.cpp" + +#endif /* QOS_DWDRTP_BASE_T_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp new file mode 100644 index 00000000000..e2491c28898 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp @@ -0,0 +1,124 @@ +// $Id$ + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "dds/DdsDcpsInfrastructureC.h" +#include "QOS_Common.h" + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::QOS_DwTp_Base_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::~QOS_DwTp_Base_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +void +QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos (DDS_QOS_TYPE& dds_qos, const XML_QOS_TYPE xml_qos) +{ + DwDrTpBase::read_qos (dds_qos, xml_qos); + + if (xml_qos->durability_service_p ()) + { + if (xml_qos->durability_service ().service_cleanup_delay_p ()) + { + const std::string nsec = xml_qos->durability_service ().service_cleanup_delay ().nanosec (); + const std::string sec = xml_qos->durability_service ().service_cleanup_delay ().sec (); + + QosCommon::get_duration (dds_qos.durability_service.service_cleanup_delay, + sec.c_str (), + nsec.c_str ()); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set durability Service service_cleanup_delay to <%d:%u>\n"), + dds_qos.durability_service.service_cleanup_delay.sec, + dds_qos.durability_service.service_cleanup_delay.nanosec)); + } + if (xml_qos->durability_service ().history_kind_p ()) + { + QosCommon::get_history_kind (xml_qos->durability_service ().history_kind (), + dds_qos.durability_service.history_kind); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set durability Service history_kind to <%d>\n"), + dds_qos.durability_service.history_kind)); + + } + if (xml_qos->durability_service ().history_depth_p ()) + { + dds_qos.durability_service.history_depth = + xml_qos->durability_service ().history_depth (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set durability Service history_depth to <%u>\n"), + dds_qos.durability_service.history_depth)); + } + if (xml_qos->durability_service ().max_samples_p ()) + { + const std::string max_samples = xml_qos->durability_service ().max_samples (); + + dds_qos.durability_service.max_samples = + QosCommon::get_qos_long (max_samples.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set durability service max_samples to <%d>\n"), + dds_qos.durability_service.max_samples)); + } + if (xml_qos->durability_service ().max_instances_p ()) + { + const std::string max_instances = xml_qos->durability_service ().max_instances (); + + dds_qos.durability_service.max_instances = + QosCommon::get_qos_long (max_instances.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set durability service max_instances to <%d>\n"), + dds_qos.durability_service.max_instances)); + } + if (xml_qos->durability_service ().max_samples_per_instance_p ()) + { + const std::string max_samples_per_instance = + xml_qos->durability_service ().max_samples_per_instance (); + + dds_qos.durability_service.max_samples_per_instance = + QosCommon::get_qos_long (max_samples_per_instance.c_str ()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set durability service max_samples_per_instance to <%u>\n"), + dds_qos.durability_service.max_samples_per_instance)); + } + } + if (xml_qos->transport_priority_p ()) + { + dds_qos.transport_priority.value = + xml_qos->transport_priority ().value (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set transport_priority to <%u>\n"), + dds_qos.transport_priority.value)); + } + if (xml_qos->lifespan_p ()) + { + if (xml_qos->lifespan ().duration_p ()) + { + const std::string nsec = xml_qos->lifespan ().duration ().nanosec (); + const std::string sec = xml_qos->lifespan ().duration ().sec (); + + QosCommon::get_duration (dds_qos.lifespan.duration, + sec.c_str (), + nsec.c_str ()); + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set Lifespan duration to <%d:%u>\n"), + dds_qos.lifespan.duration.sec, dds_qos.lifespan.duration.nanosec)); + } + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h new file mode 100644 index 00000000000..f91061a1e9f --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.h @@ -0,0 +1,28 @@ +/** + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ +#ifndef QOS_DWTP_BASE_T_H_ +#define QOS_DWTP_BASE_T_H_ + +#include "QOS_DwDrTp_Base_T.h" + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +class QOS_DwTp_Base_T + : public QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> +{ +public: + QOS_DwTp_Base_T (void); + ~QOS_DwTp_Base_T (void); + + void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); + +private: + typedef QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> DwDrTpBase; +}; + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_DwTp_Base_T.cpp" + +#endif /* QOS_DWTP_BASE_T_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp new file mode 100644 index 00000000000..59210ad7858 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp @@ -0,0 +1,120 @@ +// $Id$ + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "dds/DdsDcpsInfrastructureC.h" +#include "QOS_Common.h" + + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::QOS_PubSub_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::~QOS_PubSub_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +void +QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos (DDS_QOS_TYPE& dds_qos, const XML_QOS_TYPE xml_qos) +{ +// if (xml_qos->group_data ()) +// { + // TODO: Have a good look at this. + +// const std::string value = *xml_qos->group_data ()->value (); +// +// DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO +// ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") +// ACE_TEXT ("Set group_data to <%C>\n"), +// value.c_str ())); +// +// dds_qos.group_data.value = +// *xml_qos->group_data ()->value (); +// } + + if (xml_qos->presentation_p ()) + { + if (xml_qos->presentation ().access_scope_p ()) + { + switch (xml_qos->presentation ().access_scope ().integral ()) + { + case ::dds::presentationAccessScopeKind::INSTANCE_PRESENTATION_QOS_l: + dds_qos.presentation.access_scope = ::DDS::INSTANCE_PRESENTATION_QOS; + break; + case ::dds::presentationAccessScopeKind::TOPIC_PRESENTATION_QOS_l: + dds_qos.presentation.access_scope = ::DDS::TOPIC_PRESENTATION_QOS; + break; + case ::dds::presentationAccessScopeKind::GROUP_PRESENTATION_QOS_l: + dds_qos.presentation.access_scope = ::DDS::GROUP_PRESENTATION_QOS; + break; + default: + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("QOS_PubSub_T::read_qos - ") + ACE_TEXT ("Unknown presentation access scope found <%d>; setting it to INSTANCE_PRESENTATION_QOS\n"), + xml_qos->presentation ().access_scope ().integral ())); + dds_qos.presentation.access_scope = ::DDS::INSTANCE_PRESENTATION_QOS; + break; + } + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set presentation access scope to <%d>\n"), + dds_qos.presentation.access_scope)); + } + if (xml_qos->presentation ().coherent_access_p ()) + { + dds_qos.presentation.coherent_access = + xml_qos->presentation ().coherent_access (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set presentation coherent_access to <%d>\n"), + dds_qos.presentation.coherent_access)); + } + if (xml_qos->presentation ().ordered_access_p ()) + { + dds_qos.presentation.ordered_access = + xml_qos->presentation ().ordered_access (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set presentation ordered_access to <%d>\n"), + dds_qos.presentation.ordered_access)); + } + } + + if (xml_qos->partition_p ()) + { + if (xml_qos->partition ().name_p ()) + { + dds_qos.partition.name.length (xml_qos->partition ().name ().count_element ()); + CORBA::ULong pos = 0; + for (::dds::stringSeq::element_const_iterator it = xml_qos->partition ().name ().begin_element (); + it != xml_qos->partition ().name ().end_element (); + ++it, ++pos) + { + dds_qos.partition.name[pos] = ::CORBA::string_dup (it->get()->c_str()); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("New name <%C> inserted in partition at position <%u>\n"), + dds_qos.partition.name[pos].in (), pos)); + } + } + } + + if (xml_qos->entity_factory_p ()) + { + if (xml_qos->entity_factory ().autoenable_created_entities_p ()) + { + dds_qos.entity_factory.autoenable_created_entities = + xml_qos->entity_factory ().autoenable_created_entities (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_PubSub_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") + ACE_TEXT ("Set entity_factory autoenable_created_entities to <%d>\n"), + dds_qos.entity_factory.autoenable_created_entities)); + } + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h new file mode 100644 index 00000000000..38895d52411 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.h @@ -0,0 +1,23 @@ +/** + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ +#ifndef QOS_PUBSUB_T_H_ +#define QOS_PUBSUB_T_H_ + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +class QOS_PubSub_T +{ +public: + QOS_PubSub_T (void); + ~QOS_PubSub_T (void); + + void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); + +}; + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_PubSub_T.cpp" + +#endif /* QOS_PUBSUB_T_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp new file mode 100644 index 00000000000..c28f4e51205 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp @@ -0,0 +1,37 @@ +// $Id$ + +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "dds/DdsDcpsInfrastructureC.h" +#include "QOS_Common.h" + + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_Topic_T<XML_QOS_TYPE, DDS_QOS_TYPE>::QOS_Topic_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +QOS_Topic_T<XML_QOS_TYPE, DDS_QOS_TYPE>::~QOS_Topic_T (void) +{ +} + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +void +QOS_Topic_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos (DDS_QOS_TYPE& dds_qos, const XML_QOS_TYPE xml_qos) +{ + DwDrTpBase::read_qos (dds_qos, xml_qos); +// if (xml_qos->topic_data ()) +// { + // TODO: Have a good look at this. + +// const std::string value = *xml_qos->topic_data ()->value (); +// +// DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_DDS_STATUS, (LM_TRACE, DDS4CCM_INFO +// ACE_TEXT ("QOS_Topic_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") +// ACE_TEXT ("Set topic_data to <%C>\n"), +// value.c_str ())); +// +// dds_qos.topic_data.value = +// *xml_qos->topic_data ()->value (); +// } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h new file mode 100644 index 00000000000..2323e696868 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.h @@ -0,0 +1,28 @@ +/** + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ +#ifndef QOS_TOPIC_T_H_ +#define QOS_TOPIC_T_H_ + +#include "QOS_DwDrTp_Base_T.h" + +template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> +class QOS_Topic_T + : public QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> +{ +public: + QOS_Topic_T (void); + ~QOS_Topic_T (void); + + void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); + +private: + typedef QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> DwDrTpBase; +}; + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_Topic_T.cpp" + +#endif /* QOS_TOPIC_T_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp new file mode 100644 index 00000000000..29ab8af44d0 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp @@ -0,0 +1,227 @@ +// $Id$ + +#include "dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h" +#include "dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h" +#include "dds4ccm/impl/logger/Log_Macros.h" + +namespace DDS4CCM +{ + QOS_XML_Loader::QOS_XML_Loader (void) + { + } + + QOS_XML_Loader::~QOS_XML_Loader (void) + { + } + + bool + QOS_XML_Loader::init (const ACE_TCHAR *filename) + { + DDS4CCM_TRACE ("QOS_XML_Loader::init"); + + if (!filename) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::init - ") + ACE_TEXT ("Passed an empty file name, returning.\n"))); + return false; + } + + if (!this->xml_file_.init (filename)) + return false; + + this->xml_file_.add_search_path ( + ACE_TEXT("ACE_ROOT"), ACE_TEXT("/docs/schema/")); + this->xml_file_.add_search_path ( + ACE_TEXT("TAO_ROOT"), ACE_TEXT("/docs/schema/")); + this->xml_file_.add_search_path ( + ACE_TEXT("CIAO_ROOT"), ACE_TEXT("/docs/schema/")); + this->xml_file_.add_search_path ( + ACE_TEXT("DANCE_ROOT"), ACE_TEXT("/docs/schema/")); + this->xml_file_.add_search_path ( + ACE_TEXT("CIAO_ROOT"), ACE_TEXT("connectors/dds4ccm/docs/schema/")); + return true; + } + + bool + QOS_XML_Loader::get_datawriter_qos ( + ::DDS::DataWriterQos& dw_qos, + const ACE_TCHAR * profile_name, + const char * topic_name) + { + DDS4CCM_TRACE ("QOS_XML_Loader::get_datawriter_qos"); + + if (!profile_name) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_datawriter_qos - ") + ACE_TEXT ("Passed an empty profile name, returning.\n"))); + return false; + } + + try + { + return this->xml_file_.get_datawriter_qos (dw_qos, + profile_name, + topic_name); + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_datawriter_qos - ") + ACE_TEXT ("Caught unexpected exception.\n"))); + return false; + } + } + + bool + QOS_XML_Loader::get_datareader_qos ( + DDS::DataReaderQos& dr_qos, + const ACE_TCHAR *profile_name, + const char* topic_name) + { + DDS4CCM_TRACE ("QOS_XML_Loader::get_datareader_qos"); + + if (!profile_name) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_datareader_qos - ") + ACE_TEXT ("Passed an empty profile name, returning.\n"))); + return false; + } + + try + { + return this->xml_file_.get_datareader_qos (dr_qos, + profile_name, + topic_name); + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_datareader_qos - ") + ACE_TEXT ("Caught unexpected exception.\n"))); + return false; + } + } + + bool + QOS_XML_Loader::get_publisher_qos ( + DDS::PublisherQos& pub_qos, + const ACE_TCHAR *profile_name) + { + DDS4CCM_TRACE ("QOS_XML_Loader::get_publisher_qos"); + + if (!profile_name) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_publisher_qos - ") + ACE_TEXT ("Passed an empty profile name, returning.\n"))); + return false; + } + + try + { + return this->xml_file_.get_publisher_qos (pub_qos, + profile_name); + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_publisher_qos - ") + ACE_TEXT ("Caught unexpected exception.\n"))); + return false; + } + } + + bool + QOS_XML_Loader::get_subscriber_qos ( + DDS::SubscriberQos& sub_qos, + const ACE_TCHAR *profile_name) + { + DDS4CCM_TRACE ("QOS_XML_Loader::get_subscriber_qos"); + + if (!profile_name) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_subscriber_qos - ") + ACE_TEXT ("Passed an empty profile name, returning.\n"))); + return false; + } + + try + { + return this->xml_file_.get_subscriber_qos (sub_qos, + profile_name); + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_subscriber_qos - ") + ACE_TEXT ("Caught unexpected exception.\n"))); + return false; + } + } + + bool + QOS_XML_Loader::get_topic_qos ( + DDS::TopicQos& topic_qos, + const ACE_TCHAR *profile_name, + const char * topic_name) + { + DDS4CCM_TRACE ("QOS_XML_Loader::get_topic_qos"); + + if (!profile_name) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_topic_qos - ") + ACE_TEXT ("Passed an empty profile name, returning.\n"))); + return false; + } + + try + { + return this->xml_file_.get_topic_qos (topic_qos, + profile_name, + topic_name); + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_topic_qos - ") + ACE_TEXT ("Caught unexpected exception.\n"))); + return false; + } + } + + bool + QOS_XML_Loader::get_participant_qos ( + DDS::DomainParticipantQos& part_qos, + const ACE_TCHAR *profile_name) + { + DDS4CCM_TRACE ("QOS_XML_Loader::get_participant_qos"); + + if (!profile_name) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_participant_qos - ") + ACE_TEXT ("Passed an empty profile name, returning.\n"))); + return false; + } + + try + { + return this->xml_file_.get_participant_qos (part_qos, + profile_name); + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_Loader::get_participant_qos - ") + ACE_TEXT ("Caught unexpected exception.\n"))); + return false; + } + return true; + } + +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h new file mode 100644 index 00000000000..0facf9e28cb --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h @@ -0,0 +1,57 @@ +// $Id$ + +/** + * @file QOS_XML_Loader.h + * + * @author Marcel Smit <msmit@remedy.nl> + */ + +#ifndef QOS_XML_LOADER_H +#define QOS_XML_LOADER_H + +#include "dds/DdsDcpsInfrastructureC.h" +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" +#include "dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h" + +namespace DDS4CCM +{ + class XML_QOS_Handler_Export QOS_XML_Loader + { + public: + QOS_XML_Loader (void); + ~QOS_XML_Loader (void); + + bool init (const ACE_TCHAR * filename); + + bool + get_datawriter_qos (DDS::DataWriterQos& dw_qos, + const ACE_TCHAR *profile_name, + const char* topic_name); + + bool + get_datareader_qos (DDS::DataReaderQos& dr_qos, + const ACE_TCHAR *profile_name, + const char* topic_name); + + bool + get_publisher_qos (DDS::PublisherQos& pub_qos, + const ACE_TCHAR *profile_name); + + bool + get_subscriber_qos (DDS::SubscriberQos& sub_qos, + const ACE_TCHAR *profile_name); + + bool + get_topic_qos (DDS::TopicQos& topic_qos, + const ACE_TCHAR *profile_name, + const ACE_TCHAR *topic_name); + + bool + get_participant_qos (DDS::DomainParticipantQos& part_qos, + const ACE_TCHAR *profile_name); + private: + QOS_XML_Handler::QOS_XML_File_Handler xml_file_; + }; +} + +#endif /* QOS_XML_LOADER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.cpp new file mode 100644 index 00000000000..a3250cdd9c0 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.cpp @@ -0,0 +1,60 @@ +// $Id$ +#include "SubscriberQos_Handler.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" + +#include "QOS_PubSub_T.h" + +bool +SubscriberQos_Handler::get_subscriber_qos (DDS::SubscriberQos& sub_qos, + dds::qosProfile * profile, + const ACE_TCHAR * name) +{ + DDS4CCM_TRACE ("SubscriberQos_Handler::get_subscriber_qos"); + if (name) + { +// // find the correct DataReader_qos +// for (dds::qosProfile::DataReader_qos_iterator dw_it = profile->begin_DataReader_qos (); +// dw_it != profile->end_DataReader_qos(); +// ++dw_it) +// { +// if (ACE_OS::strcmp (dw_name.c_str (), name) == 0) +// { +// return get_DataReader_qos (dw_qos, *dw_it->get()); +// } +// } + } + else + { + if (profile->count_subscriber_qos () == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("SubscriberQos_Handler::get_subscriber_qos - ") + ACE_TEXT ("No Subscriber QOS available in profile <%C>\n"), + profile->name ().c_str ())); + return true; + } + // get the first DataReader in the XML + dds::qosProfile::subscriber_qos_iterator sub_it = profile->begin_subscriber_qos (); + return SubscriberQos_Handler::get_subscriber_qos (sub_qos, sub_it->get ()); + } + + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("SubscriberQos_Handler::get_subscriber_qos - ") + ACE_TEXT ("Unable to find SubscriberQos <%C>\n"), + name)); + return false; +} + +bool +SubscriberQos_Handler::get_subscriber_qos (DDS::SubscriberQos& sub_qos, + dds::subscriberQos * sub) +{ + DDS4CCM_TRACE ("SubscriberQos_Handler::get_subscriber_qos"); + + typedef QOS_PubSub_T<dds::subscriberQos*, DDS::SubscriberQos> sub_type; + sub_type subscriber_qos_handler; + subscriber_qos_handler.read_qos (sub_qos, sub); + + return true; +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.h new file mode 100644 index 00000000000..e3b6319e374 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.h @@ -0,0 +1,41 @@ +//============================================================== +/** + * @file SubscriberQos_Handler.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef SUBSCRIBER_QOS_HANDLER_H +#define SUBSCRIBER_QOS_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds_qos.hpp" + +namespace DDS +{ + struct SubscriberQos; +} + +class XML_QOS_Handler_Export SubscriberQos_Handler +{ +public: + static bool get_subscriber_qos (::DDS::SubscriberQos& sub_qos, + ::dds::qosProfile * profile, + const ACE_TCHAR * name = 0); +private: + static bool get_subscriber_qos (DDS::SubscriberQos& sub_qos, + dds::subscriberQos * sub); +}; + +#include /**/ "ace/post.h" +#endif /* SUBSCRIBER_QOS_HANDLER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp new file mode 100644 index 00000000000..673b046dfa2 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.cpp @@ -0,0 +1,60 @@ +// $Id$ +#include "TopicQos_Handler.h" + +#include "dds4ccm/impl/logger/Log_Macros.h" + +#include "QOS_Topic_T.h" + +bool +TopicQos_Handler::get_topic_qos (DDS::TopicQos& tp_qos, + dds::qosProfile * profile, + const ACE_TCHAR * name) +{ + DDS4CCM_TRACE ("TopicQos_Handler::get_topic_qos"); + if (name) + { +// // find the correct DataReader_qos +// for (dds::qosProfile::DataReader_qos_iterator dw_it = profile->begin_DataReader_qos (); +// dw_it != profile->end_DataReader_qos(); +// ++dw_it) +// { +// if (ACE_OS::strcmp (dw_name.c_str (), name) == 0) +// { +// return get_DataReader_qos (dw_qos, *dw_it->get()); +// } +// } + } + else + { + if (profile->count_topic_qos () == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("TopicQos_Handler::get_topic_qos - ") + ACE_TEXT ("No Topic QOS available in profile <%C>\n"), + profile->name ().c_str ())); + return true; + } + // get the first DataReader in the XML + dds::qosProfile::topic_qos_iterator tp_it = profile->begin_topic_qos (); + return TopicQos_Handler::get_topic_qos (tp_qos, tp_it->get ()); + } + + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_DEBUG, DDS4CCM_INFO + ACE_TEXT ("TopicQos_Handler::get_topic_qos - ") + ACE_TEXT ("Unable to find TopicQos <%C>\n"), + name)); + return false; +} + +bool +TopicQos_Handler::get_topic_qos (DDS::TopicQos& tp_qos, + dds::topicQos * tp) +{ + DDS4CCM_TRACE ("TopicQos_Handler::get_topic_qos"); + + typedef QOS_Topic_T<dds::topicQos*, DDS::TopicQos> tp_type; + tp_type topic_qos_handler; + topic_qos_handler.read_qos (tp_qos, tp); + + return true; +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h new file mode 100644 index 00000000000..1379b680fee --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/TopicQos_Handler.h @@ -0,0 +1,41 @@ +//============================================================== +/** + * @file TopicQos_Handler.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef TOPIC_QOS_HANDLER_H +#define TOPIC_QOS_HANDLER_H + +#include /**/ "ace/pre.h" + +#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "dds_qos.hpp" + +namespace DDS +{ + struct TopicQos; +} + +class XML_QOS_Handler_Export TopicQos_Handler +{ +public: + static bool get_topic_qos (::DDS::TopicQos& tp_qos, + ::dds::qosProfile * profile, + const ACE_TCHAR * name = 0); +private: + static bool get_topic_qos (DDS::TopicQos& tp_qos, + dds::topicQos * tp); +}; + +#include /**/ "ace/post.h" +#endif /* TOPIC_QOS_HANDLER_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp new file mode 100644 index 00000000000..2cd62e84c76 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.cpp @@ -0,0 +1,73 @@ +// $Id$ + +#include "dds4ccm/tools/QOS_XML_Handler/Utils.h" +#include "dds4ccm/impl/logger/Log_Macros.h" +#include "ace/Tokenizer_T.h" +#include "ace/SString.h" + +namespace DDS4CCM +{ + ACE_CString get_xml_file_name (const char * qos_profile) + { + ACE_CString name; + + if (qos_profile) + { + char* buf = ACE_OS::strdup (qos_profile); + ACE_Tokenizer_T<char> tok (buf); + tok.delimiter_replace ('#', 0); + const char * file_name = tok.next (); + + if (file_name == 0) + { + ACE_OS::free (buf); + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "get_xml_file_name <%C> - " + "Error: malformed qos_profile. Expected format: " + "<xml_file_base_name>#<profile_name>\n", + qos_profile)); + return ""; + } + + char * ret = ACE_OS::strdup (file_name); + ACE_OS::free (buf); + + ACE_CString xml(".xml"); + name = ret; + name = name + xml; + } + + return name; + } + + ACE_CString get_profile_name (const char * qos_profile) + { + ACE_CString profile_string; + + if (qos_profile) + { + char* buf = ACE_OS::strdup (qos_profile); + ACE_Tokenizer_T<char> tok (buf); + tok.delimiter_replace ('#', 0); + const char * lib_name = tok.next (); + const char * prof_name = tok.next (); + + if (lib_name == 0 || prof_name == 0 || tok.next () != 0) + { + ACE_OS::free (buf); + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + "get_profile_name <%C> - " + "Error: malformed qos_profile. Expected format: " + "<xml_file_base_name>#<profile_name>\n", + qos_profile)); + return ""; + } + + char * ret = ACE_OS::strdup (prof_name); + ACE_OS::free (buf); + profile_string = ret; + } + + return profile_string; + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h new file mode 100644 index 00000000000..44a8800bcda --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/Utils.h @@ -0,0 +1,22 @@ +/** + * @file Utils.h + * @author Marcel Smit <msmit@remedy.nl> + * + * $Id$ + * + */ + +#ifndef QOS_XML_UTILS_H_ +#define QOS_XML_UTILS_H_ + +#include "ace/SString.h" + +#include "XML_QOS_Handler_Export.h" + +namespace DDS4CCM +{ + XML_QOS_Handler_Export ACE_CString get_xml_file_name (const char * qos_profile); + XML_QOS_Handler_Export ACE_CString get_profile_name (const char * qos_profile); +} + +#endif /* QOS_XML_UTILS_H_ */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp new file mode 100644 index 00000000000..24e76992a16 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp @@ -0,0 +1,359 @@ +// $Id$ + +#include "XML_File_Intf.h" +#include "XML/XML_Typedefs.h" +#include "XMLSchema/id_map.hpp" + +#include "dds/DdsDcpsInfrastructureC.h" +#include "dds4ccm/impl/logger/Log_Macros.h" + +#include "DataReaderQos_Handler.h" +#include "DataWriterQos_Handler.h" +#include "TopicQos_Handler.h" +#include "PublisherQos_Handler.h" +#include "SubscriberQos_Handler.h" +#include "ParticipantQos_Handler.h" + +namespace DDS4CCM +{ + namespace QOS_XML_Handler + { + QOS_XML_File_Handler::QOS_XML_File_Handler (void) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::constructor"); + } + + QOS_XML_File_Handler::~QOS_XML_File_Handler (void) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::destructor"); + + // XML_Helper::XML_HELPER.terminate_parser (); + } + + bool + QOS_XML_File_Handler::init (const ACE_TCHAR * file) + { + try + { + if (!XML_Helper_type::XML_HELPER.is_initialized ()) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::init - ") + ACE_TEXT ("Unable to initialize XML_Helper.\n"))); + return false; + } + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::init - ") + ACE_TEXT ("Constructing DOM\n"))); + + XERCES_CPP_NAMESPACE::DOMDocument *dom = + XML_Helper_type::XML_HELPER.create_dom (file); + + if (dom == 0) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::init - ") + ACE_TEXT ("Failed to open file %s\n"), + file)); + return false; + } + + XERCES_CPP_NAMESPACE::DOMElement *profile_dom = dom->getDocumentElement (); + + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::init - ") + ACE_TEXT ("DOMElement pointer: %u\n"), profile_dom)); + + ID_Map::TSS_ID_Map* TSS_ID_Map (ACE_Singleton<ID_Map::TSS_ID_Map, ACE_Null_Mutex>::instance()); + (*TSS_ID_Map)->reset (); + + this->profiles_ = dds::reader::dds (dom); + } + catch (CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::init - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML <%C> into IDL: %C\n"), + file, + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::init - ") + ACE_TEXT ("Unexpected exception whilst parsing XML <%C> into IDL.\n"), + file)); + return false; + } + return true; + } + + ::dds::qosProfile * + QOS_XML_File_Handler::get_profile (const ACE_TCHAR * profile_name) + { + for (::dds::qosProfile_seq::qos_profile_const_iterator it = this->profiles_.begin_qos_profile (); + it != this->profiles_.end_qos_profile (); + ++it) + { + if (ACE_OS::strcmp ((*it)->name ().c_str (), profile_name) == 0) + { + DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_TRACE, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_profile - ") + ACE_TEXT ("Found profile <%C>\n"), + (*it)->name ().c_str ())); + return it->get(); + } + } + if (ACE_OS::strlen (profile_name) == 0) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_TRACE, + ACE_TEXT ("QOS_XML_File_Handler::get_profile - ") + ACE_TEXT ("No profile specified\n"))); + } + else + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_TRACE, + ACE_TEXT ("QOS_XML_File_Handler::get_profile - ") + ACE_TEXT ("Did not find profile <%C>\n"), + profile_name)); + } + return 0; + } + + bool + QOS_XML_File_Handler::get_datawriter_qos (::DDS::DataWriterQos& dw_qos, + const ACE_TCHAR * profile_name, + const char * topic_name) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::get_datawriter_qos"); + + ACE_UNUSED_ARG (topic_name); + + try + { + ::dds::qosProfile * profile = this->get_profile (profile_name); + if (profile != 0) + { + DataWriterQos_Handler::get_datawriter_qos (dw_qos, profile); + return true; + } + else + return false; + } + catch (CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_datawriter_qos - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML into IDL: %C\n"), + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_datawriter_qos - ") + ACE_TEXT ("Unexpected exception whilst parsing XML into IDL.\n"))); + return false; + } + + return false; + } + + bool + QOS_XML_File_Handler::get_datareader_qos (::DDS::DataReaderQos& dr_qos, + const ACE_TCHAR * profile_name, + const char * topic_name) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::get_datareader_qos"); + + ACE_UNUSED_ARG (topic_name); + + try + { + ::dds::qosProfile * profile = this->get_profile (profile_name); + if (profile != 0) + { + DataReaderQos_Handler::get_datareader_qos (dr_qos, profile); + return true; + } + else + return false; + } + catch (CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_datareader_qos - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML into IDL: %C\n"), + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_datareader_qos - ") + ACE_TEXT ("Unexpected exception whilst parsing XML into IDL.\n"))); + return false; + } + + return false; + } + + bool + QOS_XML_File_Handler::get_topic_qos (::DDS::TopicQos& tp_qos, + const ACE_TCHAR * profile_name, + const char * topic_name) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::get_topic_qos"); + + ACE_UNUSED_ARG (topic_name); + + try + { + ::dds::qosProfile * profile = this->get_profile (profile_name); + if (profile != 0) + { + TopicQos_Handler::get_topic_qos (tp_qos, profile); + return true; + } + else + return false; + } + catch (CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_topic_qos - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML into IDL: %C\n"), + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_topic_qos - ") + ACE_TEXT ("Unexpected exception whilst parsing XML into IDL.\n"))); + return false; + } + + return false; + } + + bool + QOS_XML_File_Handler::get_publisher_qos (::DDS::PublisherQos& pub_qos, + const ACE_TCHAR * profile_name) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::get_publisher_qos"); + + try + { + ::dds::qosProfile * profile = this->get_profile (profile_name); + if (profile != 0) + { + PublisherQos_Handler::get_publisher_qos (pub_qos, profile); + return true; + } + else + return false; + } + catch (CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_publisher_qos - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML into IDL: %C\n"), + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_publisher_qos - ") + ACE_TEXT ("Unexpected exception whilst parsing XML into IDL.\n"))); + return false; + } + + return false; + } + + bool + QOS_XML_File_Handler::get_subscriber_qos (::DDS::SubscriberQos& sub_qos, + const ACE_TCHAR * profile_name) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::get_subscriber_qos"); + + try + { + ::dds::qosProfile * profile = this->get_profile (profile_name); + if (profile != 0) + { + SubscriberQos_Handler::get_subscriber_qos (sub_qos, profile); + return true; + } + else + return false; + } + catch (const CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_subscriber_qos - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML into IDL: %C\n"), + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_subscriber_qos - ") + ACE_TEXT ("Unexpected exception whilst parsing XML into IDL.\n"))); + return false; + } + + return false; + } + + bool + QOS_XML_File_Handler::get_participant_qos (::DDS::DomainParticipantQos& sub_qos, + const ACE_TCHAR * profile_name) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::get_participant_qos"); + + try + { + ::dds::qosProfile * profile = this->get_profile (profile_name); + if (profile != 0) + { + ParticipantQos_Handler::get_participant_qos (sub_qos, profile); + return true; + } + else + return false; + } + catch (const CORBA::Exception &ex) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_participant_qos - ") + ACE_TEXT ("Caught CORBA exception whilst parsing XML into IDL: %C\n"), + ex._info ().c_str ())); + return false; + } + catch (...) + { + DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO + ACE_TEXT ("QOS_XML_File_Handler::get_participant_qos - ") + ACE_TEXT ("Unexpected exception whilst parsing XML into IDL.\n"))); + return false; + } + + return false; + } + + void + QOS_XML_File_Handler::add_search_path (const ACE_TCHAR *environment, + const ACE_TCHAR *relpath) + { + DDS4CCM_TRACE ("QOS_XML_File_Handler::add_search_path"); + XML_Helper_type::XML_HELPER.get_resolver ().get_resolver ().add_path (environment, relpath); + } + + } +} diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h new file mode 100644 index 00000000000..82aa80187df --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h @@ -0,0 +1,98 @@ +//============================================================== +/** + * @file XML_File_Intf.h + * + * $Id$ + * + * @author Marcel Smit <msmit@remedy.nl> + */ +//================================================================ + +#ifndef DDS4CCM_CONFIG_XML_FILE_INTF_H +#define DDS4CCM_CONFIG_XML_FILE_INTF_H +#include /**/ "ace/pre.h" + +#include "XML_QOS_Handler_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/Auto_Ptr.h" + +#include "dds_qos.hpp" + +#include <string> + +namespace DDS +{ + struct DataWriterQos; + struct DataReaderQos; + struct TopicQos; + struct PublisherQos; + struct SubscriberQos; + struct DomainParticipantQos; +} + +namespace XML +{ + class XML_Typedef; +} + +namespace DDS4CCM +{ + namespace QOS_XML_Handler + { + class XML_QOS_Handler_Export QOS_XML_File_Handler + { + public: + QOS_XML_File_Handler (void); + + ~QOS_XML_File_Handler (void); + + bool + get_datawriter_qos (::DDS::DataWriterQos& dw_qos, + const ACE_TCHAR * profile_name, + const char * topic_name); + + bool + get_datareader_qos (::DDS::DataReaderQos& dr_qos, + const ACE_TCHAR * profile_name, + const char * topic_name); + + bool + get_topic_qos (::DDS::TopicQos& tp_qos, + const ACE_TCHAR * profile_name, + const char * topic_name); + + bool + get_publisher_qos (::DDS::PublisherQos& pub_qos, + const ACE_TCHAR * profile_name); + + bool + get_subscriber_qos (::DDS::SubscriberQos& sub_qos, + const ACE_TCHAR * profile_name); + + bool + get_participant_qos (::DDS::DomainParticipantQos& sub_qos, + const ACE_TCHAR * profile_name); + + void + add_search_path (const ACE_TCHAR *environment, + const ACE_TCHAR *relpath); + + bool + init (const ACE_TCHAR * file); + + private: + ::dds::qosProfile_seq profiles_; + typedef XML::XML_Typedef XML_Helper_type; + + ::dds::qosProfile * get_profile (const ACE_TCHAR * profile_name); + }; + } +} + +#include /**/ "ace/post.h" + +#endif /* DDS4CCM_CONFIG_XML_FILE_INTF_H */ diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h new file mode 100644 index 00000000000..1c689a42763 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h @@ -0,0 +1,58 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl XML_QOS_Handler +// ------------------------------ +#ifndef XML_QOS_HANDLER_EXPORT_H +#define XML_QOS_HANDLER_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (XML_QOS_HANDLER_HAS_DLL) +# define XML_QOS_HANDLER_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && XML_QOS_HANDLER_HAS_DLL */ + +#if !defined (XML_QOS_HANDLER_HAS_DLL) +# define XML_QOS_HANDLER_HAS_DLL 1 +#endif /* ! XML_QOS_HANDLER_HAS_DLL */ + +#if defined (XML_QOS_HANDLER_HAS_DLL) && (XML_QOS_HANDLER_HAS_DLL == 1) +# if defined (XML_QOS_HANDLER_BUILD_DLL) +# define XML_QOS_Handler_Export ACE_Proper_Export_Flag +# define XML_QOS_HANDLER_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define XML_QOS_HANDLER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* XML_QOS_HANDLER_BUILD_DLL */ +# define XML_QOS_Handler_Export ACE_Proper_Import_Flag +# define XML_QOS_HANDLER_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define XML_QOS_HANDLER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* XML_QOS_HANDLER_BUILD_DLL */ +#else /* XML_QOS_HANDLER_HAS_DLL == 1 */ +# define XML_QOS_Handler_Export +# define XML_QOS_HANDLER_SINGLETON_DECLARATION(T) +# define XML_QOS_HANDLER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* XML_QOS_HANDLER_HAS_DLL == 1 */ + +// Set XML_QOS_HANDLER_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (XML_QOS_HANDLER_NTRACE) +# if (ACE_NTRACE == 1) +# define XML_QOS_HANDLER_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define XML_QOS_HANDLER_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !XML_QOS_HANDLER_NTRACE */ + +#if (XML_QOS_HANDLER_NTRACE == 1) +# define XML_QOS_HANDLER_TRACE(X) +#else /* (XML_QOS_HANDLER_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define XML_QOS_HANDLER_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (XML_QOS_HANDLER_NTRACE == 1) */ + +#endif /* XML_QOS_HANDLER_EXPORT_H */ + +// End of auto generated file. diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp new file mode 100644 index 00000000000..04636f52dea --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.cpp @@ -0,0 +1,14506 @@ +/* $Id$ + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte <wotte@dre.vanderbilt.edu> + */ +#include "dds_qos.hpp" + +namespace dds +{ + // destinationOrderKind + // + + destinationOrderKind::Value destinationOrderKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::destinationOrderKind const& a, ::dds::destinationOrderKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::destinationOrderKind const& a, ::dds::destinationOrderKind const& b) + { + return a.v_ != b.v_; + } + + destinationOrderKind:: + destinationOrderKind (destinationOrderKind::Value v) + : v_ (v) + { + } + + // durabilityKind + // + + durabilityKind::Value durabilityKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::durabilityKind const& a, ::dds::durabilityKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::durabilityKind const& a, ::dds::durabilityKind const& b) + { + return a.v_ != b.v_; + } + + durabilityKind:: + durabilityKind (durabilityKind::Value v) + : v_ (v) + { + } + + // historyKind + // + + historyKind::Value historyKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::historyKind const& a, ::dds::historyKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::historyKind const& a, ::dds::historyKind const& b) + { + return a.v_ != b.v_; + } + + historyKind:: + historyKind (historyKind::Value v) + : v_ (v) + { + } + + // livelinessKind + // + + livelinessKind::Value livelinessKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::livelinessKind const& a, ::dds::livelinessKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::livelinessKind const& a, ::dds::livelinessKind const& b) + { + return a.v_ != b.v_; + } + + livelinessKind:: + livelinessKind (livelinessKind::Value v) + : v_ (v) + { + } + + // presentationAccessScopeKind + // + + presentationAccessScopeKind::Value presentationAccessScopeKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::presentationAccessScopeKind const& a, ::dds::presentationAccessScopeKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::presentationAccessScopeKind const& a, ::dds::presentationAccessScopeKind const& b) + { + return a.v_ != b.v_; + } + + presentationAccessScopeKind:: + presentationAccessScopeKind (presentationAccessScopeKind::Value v) + : v_ (v) + { + } + + // reliabilityKind + // + + reliabilityKind::Value reliabilityKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::reliabilityKind const& a, ::dds::reliabilityKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::reliabilityKind const& a, ::dds::reliabilityKind const& b) + { + return a.v_ != b.v_; + } + + reliabilityKind:: + reliabilityKind (reliabilityKind::Value v) + : v_ (v) + { + } + + // ownershipKind + // + + ownershipKind::Value ownershipKind:: + integral () const + { + return v_; + } + + bool + operator== (::dds::ownershipKind const& a, ::dds::ownershipKind const& b) + { + return a.v_ == b.v_; + } + + bool + operator!= (::dds::ownershipKind const& a, ::dds::ownershipKind const& b) + { + return a.v_ != b.v_; + } + + ownershipKind:: + ownershipKind (ownershipKind::Value v) + : v_ (v) + { + } + + // duration + // + + duration:: + duration () + : + ::XSCRT::Type (), + regulator__ () + { + } + + duration:: + duration (duration const& s) + : + ::XSCRT::Type (), + sec_ (s.sec_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.sec_) : 0), + nanosec_ (s.nanosec_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.nanosec_) : 0), + regulator__ () + { + if (sec_.get ()) sec_->container (this); + if (nanosec_.get ()) nanosec_->container (this); + } + + duration& duration:: + operator= (duration const& s) + { + if (&s != this) + { + if (s.sec_.get ()) + sec (*(s.sec_)); + else + sec_.reset (0); + + if (s.nanosec_.get ()) + nanosec (*(s.nanosec_)); + else + nanosec_.reset (0); + } + + return *this; + } + + + // duration + // + bool duration:: + sec_p () const + { + return sec_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& duration:: + sec () const + { + return *sec_; + } + + void duration:: + sec (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (sec_.get ()) + { + *sec_ = e; + } + + else + { + sec_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + sec_->container (this); + } + } + + // duration + // + bool duration:: + nanosec_p () const + { + return nanosec_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& duration:: + nanosec () const + { + return *nanosec_; + } + + void duration:: + nanosec (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (nanosec_.get ()) + { + *nanosec_ = e; + } + + else + { + nanosec_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + nanosec_->container (this); + } + } + + + // stringSeq + // + + stringSeq:: + stringSeq () + : + regulator__ () + { + } + + stringSeq:: + stringSeq (stringSeq const& s) + : + ::XSCRT::Type (), + element_ (s.element_), + regulator__ () + { + } + + stringSeq& stringSeq:: + operator= (stringSeq const& s) + { + if (&s != this) + { + element_ = s.element_; + } + + return *this; + } + + + // stringSeq + // + stringSeq::element_iterator stringSeq:: + begin_element () + { + return element_.begin (); + } + + stringSeq::element_iterator stringSeq:: + end_element () + { + return element_.end (); + } + + stringSeq::element_const_iterator stringSeq:: + begin_element () const + { + return element_.begin (); + } + + stringSeq::element_const_iterator stringSeq:: + end_element () const + { + return element_.end (); + } + + void stringSeq:: + add_element (ACE_Refcounted_Auto_Ptr < ::XMLSchema::string< ACE_TCHAR >, ACE_Null_Mutex > const& e) + { + element_.push_back (e); + } + + size_t stringSeq:: + count_element(void) const + { + return element_.size (); + } + + + // deadlineQosPolicy + // + + deadlineQosPolicy:: + deadlineQosPolicy () + : + regulator__ () + { + } + + deadlineQosPolicy:: + deadlineQosPolicy (deadlineQosPolicy const& s) + : + ::XSCRT::Type (), + period_ (s.period_.get () ? new ::dds::duration (*s.period_) : 0), + regulator__ () + { + if (period_.get ()) period_->container (this); + } + + deadlineQosPolicy& deadlineQosPolicy:: + operator= (deadlineQosPolicy const& s) + { + if (&s != this) + { + if (s.period_.get ()) + period (*(s.period_)); + else + period_.reset (0); + } + + return *this; + } + + + // deadlineQosPolicy + // + bool deadlineQosPolicy:: + period_p () const + { + return period_.get () != 0; + } + + ::dds::duration const& deadlineQosPolicy:: + period () const + { + return *period_; + } + + void deadlineQosPolicy:: + period (::dds::duration const& e) + { + if (period_.get ()) + { + *period_ = e; + } + + else + { + period_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + period_->container (this); + } + } + + + // destinationOrderQosPolicy + // + + destinationOrderQosPolicy:: + destinationOrderQosPolicy () + : + regulator__ () + { + } + + destinationOrderQosPolicy:: + destinationOrderQosPolicy (destinationOrderQosPolicy const& s) + : + ::XSCRT::Type (), + kind_ (s.kind_.get () ? new ::dds::destinationOrderKind (*s.kind_) : 0), + regulator__ () + { + if (kind_.get ()) kind_->container (this); + } + + destinationOrderQosPolicy& destinationOrderQosPolicy:: + operator= (destinationOrderQosPolicy const& s) + { + if (&s != this) + { + if (s.kind_.get ()) + kind (*(s.kind_)); + else + kind_.reset (0); + } + + return *this; + } + + + // destinationOrderQosPolicy + // + bool destinationOrderQosPolicy:: + kind_p () const + { + return kind_.get () != 0; + } + + ::dds::destinationOrderKind const& destinationOrderQosPolicy:: + kind () const + { + return *kind_; + } + + void destinationOrderQosPolicy:: + kind (::dds::destinationOrderKind const& e) + { + if (kind_.get ()) + { + *kind_ = e; + } + + else + { + kind_ = ::std::auto_ptr< ::dds::destinationOrderKind > (new ::dds::destinationOrderKind (e)); + kind_->container (this); + } + } + + + // durabilityQosPolicy + // + + durabilityQosPolicy:: + durabilityQosPolicy () + : + regulator__ () + { + } + + durabilityQosPolicy:: + durabilityQosPolicy (durabilityQosPolicy const& s) + : + ::XSCRT::Type (), + kind_ (s.kind_.get () ? new ::dds::durabilityKind (*s.kind_) : 0), + regulator__ () + { + if (kind_.get ()) kind_->container (this); + } + + durabilityQosPolicy& durabilityQosPolicy:: + operator= (durabilityQosPolicy const& s) + { + if (&s != this) + { + if (s.kind_.get ()) + kind (*(s.kind_)); + else + kind_.reset (0); + } + + return *this; + } + + + // durabilityQosPolicy + // + bool durabilityQosPolicy:: + kind_p () const + { + return kind_.get () != 0; + } + + ::dds::durabilityKind const& durabilityQosPolicy:: + kind () const + { + return *kind_; + } + + void durabilityQosPolicy:: + kind (::dds::durabilityKind const& e) + { + if (kind_.get ()) + { + *kind_ = e; + } + + else + { + kind_ = ::std::auto_ptr< ::dds::durabilityKind > (new ::dds::durabilityKind (e)); + kind_->container (this); + } + } + + + // durabilityServiceQosPolicy + // + + durabilityServiceQosPolicy:: + durabilityServiceQosPolicy () + : + regulator__ () + { + } + + durabilityServiceQosPolicy:: + durabilityServiceQosPolicy (durabilityServiceQosPolicy const& s) + : + ::XSCRT::Type (), + service_cleanup_delay_ (s.service_cleanup_delay_.get () ? new ::dds::duration (*s.service_cleanup_delay_) : 0), + history_kind_ (s.history_kind_.get () ? new ::dds::historyKind (*s.history_kind_) : 0), + history_depth_ (s.history_depth_.get () ? new ::XMLSchema::positiveInteger (*s.history_depth_) : 0), + max_samples_ (s.max_samples_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.max_samples_) : 0), + max_instances_ (s.max_instances_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.max_instances_) : 0), + max_samples_per_instance_ (s.max_samples_per_instance_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.max_samples_per_instance_) : 0), + regulator__ () + { + if (service_cleanup_delay_.get ()) service_cleanup_delay_->container (this); + if (history_kind_.get ()) history_kind_->container (this); + if (history_depth_.get ()) history_depth_->container (this); + if (max_samples_.get ()) max_samples_->container (this); + if (max_instances_.get ()) max_instances_->container (this); + if (max_samples_per_instance_.get ()) max_samples_per_instance_->container (this); + } + + durabilityServiceQosPolicy& durabilityServiceQosPolicy:: + operator= (durabilityServiceQosPolicy const& s) + { + if (&s != this) + { + if (s.service_cleanup_delay_.get ()) + service_cleanup_delay (*(s.service_cleanup_delay_)); + else + service_cleanup_delay_.reset (0); + + if (s.history_kind_.get ()) + history_kind (*(s.history_kind_)); + else + history_kind_.reset (0); + + if (s.history_depth_.get ()) + history_depth (*(s.history_depth_)); + else + history_depth_.reset (0); + + if (s.max_samples_.get ()) + max_samples (*(s.max_samples_)); + else + max_samples_.reset (0); + + if (s.max_instances_.get ()) + max_instances (*(s.max_instances_)); + else + max_instances_.reset (0); + + if (s.max_samples_per_instance_.get ()) + max_samples_per_instance (*(s.max_samples_per_instance_)); + else + max_samples_per_instance_.reset (0); + } + + return *this; + } + + + // durabilityServiceQosPolicy + // + bool durabilityServiceQosPolicy:: + service_cleanup_delay_p () const + { + return service_cleanup_delay_.get () != 0; + } + + ::dds::duration const& durabilityServiceQosPolicy:: + service_cleanup_delay () const + { + return *service_cleanup_delay_; + } + + void durabilityServiceQosPolicy:: + service_cleanup_delay (::dds::duration const& e) + { + if (service_cleanup_delay_.get ()) + { + *service_cleanup_delay_ = e; + } + + else + { + service_cleanup_delay_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + service_cleanup_delay_->container (this); + } + } + + // durabilityServiceQosPolicy + // + bool durabilityServiceQosPolicy:: + history_kind_p () const + { + return history_kind_.get () != 0; + } + + ::dds::historyKind const& durabilityServiceQosPolicy:: + history_kind () const + { + return *history_kind_; + } + + void durabilityServiceQosPolicy:: + history_kind (::dds::historyKind const& e) + { + if (history_kind_.get ()) + { + *history_kind_ = e; + } + + else + { + history_kind_ = ::std::auto_ptr< ::dds::historyKind > (new ::dds::historyKind (e)); + history_kind_->container (this); + } + } + + // durabilityServiceQosPolicy + // + bool durabilityServiceQosPolicy:: + history_depth_p () const + { + return history_depth_.get () != 0; + } + + ::XMLSchema::positiveInteger const& durabilityServiceQosPolicy:: + history_depth () const + { + return *history_depth_; + } + + void durabilityServiceQosPolicy:: + history_depth (::XMLSchema::positiveInteger const& e) + { + if (history_depth_.get ()) + { + *history_depth_ = e; + } + + else + { + history_depth_ = ::std::auto_ptr< ::XMLSchema::positiveInteger > (new ::XMLSchema::positiveInteger (e)); + history_depth_->container (this); + } + } + + // durabilityServiceQosPolicy + // + bool durabilityServiceQosPolicy:: + max_samples_p () const + { + return max_samples_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& durabilityServiceQosPolicy:: + max_samples () const + { + return *max_samples_; + } + + void durabilityServiceQosPolicy:: + max_samples (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (max_samples_.get ()) + { + *max_samples_ = e; + } + + else + { + max_samples_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + max_samples_->container (this); + } + } + + // durabilityServiceQosPolicy + // + bool durabilityServiceQosPolicy:: + max_instances_p () const + { + return max_instances_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& durabilityServiceQosPolicy:: + max_instances () const + { + return *max_instances_; + } + + void durabilityServiceQosPolicy:: + max_instances (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (max_instances_.get ()) + { + *max_instances_ = e; + } + + else + { + max_instances_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + max_instances_->container (this); + } + } + + // durabilityServiceQosPolicy + // + bool durabilityServiceQosPolicy:: + max_samples_per_instance_p () const + { + return max_samples_per_instance_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& durabilityServiceQosPolicy:: + max_samples_per_instance () const + { + return *max_samples_per_instance_; + } + + void durabilityServiceQosPolicy:: + max_samples_per_instance (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (max_samples_per_instance_.get ()) + { + *max_samples_per_instance_ = e; + } + + else + { + max_samples_per_instance_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + max_samples_per_instance_->container (this); + } + } + + + // entityFactoryQosPolicy + // + + entityFactoryQosPolicy:: + entityFactoryQosPolicy () + : + regulator__ () + { + } + + entityFactoryQosPolicy:: + entityFactoryQosPolicy (entityFactoryQosPolicy const& s) + : + ::XSCRT::Type (), + autoenable_created_entities_ (s.autoenable_created_entities_.get () ? new ::XMLSchema::boolean (*s.autoenable_created_entities_) : 0), + regulator__ () + { + if (autoenable_created_entities_.get ()) autoenable_created_entities_->container (this); + } + + entityFactoryQosPolicy& entityFactoryQosPolicy:: + operator= (entityFactoryQosPolicy const& s) + { + if (&s != this) + { + if (s.autoenable_created_entities_.get ()) + autoenable_created_entities (*(s.autoenable_created_entities_)); + else + autoenable_created_entities_.reset (0); + } + + return *this; + } + + + // entityFactoryQosPolicy + // + bool entityFactoryQosPolicy:: + autoenable_created_entities_p () const + { + return autoenable_created_entities_.get () != 0; + } + + ::XMLSchema::boolean const& entityFactoryQosPolicy:: + autoenable_created_entities () const + { + return *autoenable_created_entities_; + } + + void entityFactoryQosPolicy:: + autoenable_created_entities (::XMLSchema::boolean const& e) + { + if (autoenable_created_entities_.get ()) + { + *autoenable_created_entities_ = e; + } + + else + { + autoenable_created_entities_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + autoenable_created_entities_->container (this); + } + } + + + // groupDataQosPolicy + // + + groupDataQosPolicy:: + groupDataQosPolicy () + : + regulator__ () + { + } + + groupDataQosPolicy:: + groupDataQosPolicy (groupDataQosPolicy const& s) + : + ::XSCRT::Type (), + value_ (s.value_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.value_) : 0), + regulator__ () + { + if (value_.get ()) value_->container (this); + } + + groupDataQosPolicy& groupDataQosPolicy:: + operator= (groupDataQosPolicy const& s) + { + if (&s != this) + { + if (s.value_.get ()) + value (*(s.value_)); + else + value_.reset (0); + } + + return *this; + } + + + // groupDataQosPolicy + // + bool groupDataQosPolicy:: + value_p () const + { + return value_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& groupDataQosPolicy:: + value () const + { + return *value_; + } + + void groupDataQosPolicy:: + value (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (value_.get ()) + { + *value_ = e; + } + + else + { + value_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + value_->container (this); + } + } + + + // historyQosPolicy + // + + historyQosPolicy:: + historyQosPolicy () + : + regulator__ () + { + } + + historyQosPolicy:: + historyQosPolicy (historyQosPolicy const& s) + : + ::XSCRT::Type (), + kind_ (s.kind_.get () ? new ::dds::historyKind (*s.kind_) : 0), + depth_ (s.depth_.get () ? new ::XMLSchema::positiveInteger (*s.depth_) : 0), + regulator__ () + { + if (kind_.get ()) kind_->container (this); + if (depth_.get ()) depth_->container (this); + } + + historyQosPolicy& historyQosPolicy:: + operator= (historyQosPolicy const& s) + { + if (&s != this) + { + if (s.kind_.get ()) + kind (*(s.kind_)); + else + kind_.reset (0); + + if (s.depth_.get ()) + depth (*(s.depth_)); + else + depth_.reset (0); + } + + return *this; + } + + + // historyQosPolicy + // + bool historyQosPolicy:: + kind_p () const + { + return kind_.get () != 0; + } + + ::dds::historyKind const& historyQosPolicy:: + kind () const + { + return *kind_; + } + + void historyQosPolicy:: + kind (::dds::historyKind const& e) + { + if (kind_.get ()) + { + *kind_ = e; + } + + else + { + kind_ = ::std::auto_ptr< ::dds::historyKind > (new ::dds::historyKind (e)); + kind_->container (this); + } + } + + // historyQosPolicy + // + bool historyQosPolicy:: + depth_p () const + { + return depth_.get () != 0; + } + + ::XMLSchema::positiveInteger const& historyQosPolicy:: + depth () const + { + return *depth_; + } + + void historyQosPolicy:: + depth (::XMLSchema::positiveInteger const& e) + { + if (depth_.get ()) + { + *depth_ = e; + } + + else + { + depth_ = ::std::auto_ptr< ::XMLSchema::positiveInteger > (new ::XMLSchema::positiveInteger (e)); + depth_->container (this); + } + } + + + // latencyBudgetQosPolicy + // + + latencyBudgetQosPolicy:: + latencyBudgetQosPolicy () + : + regulator__ () + { + } + + latencyBudgetQosPolicy:: + latencyBudgetQosPolicy (latencyBudgetQosPolicy const& s) + : + ::XSCRT::Type (), + duration_ (s.duration_.get () ? new ::dds::duration (*s.duration_) : 0), + regulator__ () + { + if (duration_.get ()) duration_->container (this); + } + + latencyBudgetQosPolicy& latencyBudgetQosPolicy:: + operator= (latencyBudgetQosPolicy const& s) + { + if (&s != this) + { + if (s.duration_.get ()) + duration (*(s.duration_)); + else + duration_.reset (0); + } + + return *this; + } + + + // latencyBudgetQosPolicy + // + bool latencyBudgetQosPolicy:: + duration_p () const + { + return duration_.get () != 0; + } + + ::dds::duration const& latencyBudgetQosPolicy:: + duration () const + { + return *duration_; + } + + void latencyBudgetQosPolicy:: + duration (::dds::duration const& e) + { + if (duration_.get ()) + { + *duration_ = e; + } + + else + { + duration_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + duration_->container (this); + } + } + + + // lifespanQosPolicy + // + + lifespanQosPolicy:: + lifespanQosPolicy () + : + regulator__ () + { + } + + lifespanQosPolicy:: + lifespanQosPolicy (lifespanQosPolicy const& s) + : + ::XSCRT::Type (), + duration_ (s.duration_.get () ? new ::dds::duration (*s.duration_) : 0), + regulator__ () + { + if (duration_.get ()) duration_->container (this); + } + + lifespanQosPolicy& lifespanQosPolicy:: + operator= (lifespanQosPolicy const& s) + { + if (&s != this) + { + if (s.duration_.get ()) + duration (*(s.duration_)); + else + duration_.reset (0); + } + + return *this; + } + + + // lifespanQosPolicy + // + bool lifespanQosPolicy:: + duration_p () const + { + return duration_.get () != 0; + } + + ::dds::duration const& lifespanQosPolicy:: + duration () const + { + return *duration_; + } + + void lifespanQosPolicy:: + duration (::dds::duration const& e) + { + if (duration_.get ()) + { + *duration_ = e; + } + + else + { + duration_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + duration_->container (this); + } + } + + + // livelinessQosPolicy + // + + livelinessQosPolicy:: + livelinessQosPolicy () + : + regulator__ () + { + } + + livelinessQosPolicy:: + livelinessQosPolicy (livelinessQosPolicy const& s) + : + ::XSCRT::Type (), + kind_ (s.kind_.get () ? new ::dds::livelinessKind (*s.kind_) : 0), + lease_duration_ (s.lease_duration_.get () ? new ::dds::duration (*s.lease_duration_) : 0), + regulator__ () + { + if (kind_.get ()) kind_->container (this); + if (lease_duration_.get ()) lease_duration_->container (this); + } + + livelinessQosPolicy& livelinessQosPolicy:: + operator= (livelinessQosPolicy const& s) + { + if (&s != this) + { + if (s.kind_.get ()) + kind (*(s.kind_)); + else + kind_.reset (0); + + if (s.lease_duration_.get ()) + lease_duration (*(s.lease_duration_)); + else + lease_duration_.reset (0); + } + + return *this; + } + + + // livelinessQosPolicy + // + bool livelinessQosPolicy:: + kind_p () const + { + return kind_.get () != 0; + } + + ::dds::livelinessKind const& livelinessQosPolicy:: + kind () const + { + return *kind_; + } + + void livelinessQosPolicy:: + kind (::dds::livelinessKind const& e) + { + if (kind_.get ()) + { + *kind_ = e; + } + + else + { + kind_ = ::std::auto_ptr< ::dds::livelinessKind > (new ::dds::livelinessKind (e)); + kind_->container (this); + } + } + + // livelinessQosPolicy + // + bool livelinessQosPolicy:: + lease_duration_p () const + { + return lease_duration_.get () != 0; + } + + ::dds::duration const& livelinessQosPolicy:: + lease_duration () const + { + return *lease_duration_; + } + + void livelinessQosPolicy:: + lease_duration (::dds::duration const& e) + { + if (lease_duration_.get ()) + { + *lease_duration_ = e; + } + + else + { + lease_duration_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + lease_duration_->container (this); + } + } + + + // ownershipQosPolicy + // + + ownershipQosPolicy:: + ownershipQosPolicy () + : + regulator__ () + { + } + + ownershipQosPolicy:: + ownershipQosPolicy (ownershipQosPolicy const& s) + : + ::XSCRT::Type (), + kind_ (s.kind_.get () ? new ::dds::ownershipKind (*s.kind_) : 0), + regulator__ () + { + if (kind_.get ()) kind_->container (this); + } + + ownershipQosPolicy& ownershipQosPolicy:: + operator= (ownershipQosPolicy const& s) + { + if (&s != this) + { + if (s.kind_.get ()) + kind (*(s.kind_)); + else + kind_.reset (0); + } + + return *this; + } + + + // ownershipQosPolicy + // + bool ownershipQosPolicy:: + kind_p () const + { + return kind_.get () != 0; + } + + ::dds::ownershipKind const& ownershipQosPolicy:: + kind () const + { + return *kind_; + } + + void ownershipQosPolicy:: + kind (::dds::ownershipKind const& e) + { + if (kind_.get ()) + { + *kind_ = e; + } + + else + { + kind_ = ::std::auto_ptr< ::dds::ownershipKind > (new ::dds::ownershipKind (e)); + kind_->container (this); + } + } + + + // ownershipStrengthQosPolicy + // + + ownershipStrengthQosPolicy:: + ownershipStrengthQosPolicy () + : + regulator__ () + { + } + + ownershipStrengthQosPolicy:: + ownershipStrengthQosPolicy (ownershipStrengthQosPolicy const& s) + : + ::XSCRT::Type (), + value_ (s.value_.get () ? new ::XMLSchema::nonNegativeInteger (*s.value_) : 0), + regulator__ () + { + if (value_.get ()) value_->container (this); + } + + ownershipStrengthQosPolicy& ownershipStrengthQosPolicy:: + operator= (ownershipStrengthQosPolicy const& s) + { + if (&s != this) + { + if (s.value_.get ()) + value (*(s.value_)); + else + value_.reset (0); + } + + return *this; + } + + + // ownershipStrengthQosPolicy + // + bool ownershipStrengthQosPolicy:: + value_p () const + { + return value_.get () != 0; + } + + ::XMLSchema::nonNegativeInteger const& ownershipStrengthQosPolicy:: + value () const + { + return *value_; + } + + void ownershipStrengthQosPolicy:: + value (::XMLSchema::nonNegativeInteger const& e) + { + if (value_.get ()) + { + *value_ = e; + } + + else + { + value_ = ::std::auto_ptr< ::XMLSchema::nonNegativeInteger > (new ::XMLSchema::nonNegativeInteger (e)); + value_->container (this); + } + } + + + // partitionQosPolicy + // + + partitionQosPolicy:: + partitionQosPolicy () + : + regulator__ () + { + } + + partitionQosPolicy:: + partitionQosPolicy (partitionQosPolicy const& s) + : + ::XSCRT::Type (), + name_ (s.name_.get () ? new ::dds::stringSeq (*s.name_) : 0), + regulator__ () + { + if (name_.get ()) name_->container (this); + } + + partitionQosPolicy& partitionQosPolicy:: + operator= (partitionQosPolicy const& s) + { + if (&s != this) + { + if (s.name_.get ()) + name (*(s.name_)); + else + name_.reset (0); + } + + return *this; + } + + + // partitionQosPolicy + // + bool partitionQosPolicy:: + name_p () const + { + return name_.get () != 0; + } + + ::dds::stringSeq const& partitionQosPolicy:: + name () const + { + return *name_; + } + + void partitionQosPolicy:: + name (::dds::stringSeq const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::dds::stringSeq > (new ::dds::stringSeq (e)); + name_->container (this); + } + } + + + // presentationQosPolicy + // + + presentationQosPolicy:: + presentationQosPolicy () + : + regulator__ () + { + } + + presentationQosPolicy:: + presentationQosPolicy (presentationQosPolicy const& s) + : + ::XSCRT::Type (), + access_scope_ (s.access_scope_.get () ? new ::dds::presentationAccessScopeKind (*s.access_scope_) : 0), + coherent_access_ (s.coherent_access_.get () ? new ::XMLSchema::boolean (*s.coherent_access_) : 0), + ordered_access_ (s.ordered_access_.get () ? new ::XMLSchema::boolean (*s.ordered_access_) : 0), + regulator__ () + { + if (access_scope_.get ()) access_scope_->container (this); + if (coherent_access_.get ()) coherent_access_->container (this); + if (ordered_access_.get ()) ordered_access_->container (this); + } + + presentationQosPolicy& presentationQosPolicy:: + operator= (presentationQosPolicy const& s) + { + if (&s != this) + { + if (s.access_scope_.get ()) + access_scope (*(s.access_scope_)); + else + access_scope_.reset (0); + + if (s.coherent_access_.get ()) + coherent_access (*(s.coherent_access_)); + else + coherent_access_.reset (0); + + if (s.ordered_access_.get ()) + ordered_access (*(s.ordered_access_)); + else + ordered_access_.reset (0); + } + + return *this; + } + + + // presentationQosPolicy + // + bool presentationQosPolicy:: + access_scope_p () const + { + return access_scope_.get () != 0; + } + + ::dds::presentationAccessScopeKind const& presentationQosPolicy:: + access_scope () const + { + return *access_scope_; + } + + void presentationQosPolicy:: + access_scope (::dds::presentationAccessScopeKind const& e) + { + if (access_scope_.get ()) + { + *access_scope_ = e; + } + + else + { + access_scope_ = ::std::auto_ptr< ::dds::presentationAccessScopeKind > (new ::dds::presentationAccessScopeKind (e)); + access_scope_->container (this); + } + } + + // presentationQosPolicy + // + bool presentationQosPolicy:: + coherent_access_p () const + { + return coherent_access_.get () != 0; + } + + ::XMLSchema::boolean const& presentationQosPolicy:: + coherent_access () const + { + return *coherent_access_; + } + + void presentationQosPolicy:: + coherent_access (::XMLSchema::boolean const& e) + { + if (coherent_access_.get ()) + { + *coherent_access_ = e; + } + + else + { + coherent_access_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + coherent_access_->container (this); + } + } + + // presentationQosPolicy + // + bool presentationQosPolicy:: + ordered_access_p () const + { + return ordered_access_.get () != 0; + } + + ::XMLSchema::boolean const& presentationQosPolicy:: + ordered_access () const + { + return *ordered_access_; + } + + void presentationQosPolicy:: + ordered_access (::XMLSchema::boolean const& e) + { + if (ordered_access_.get ()) + { + *ordered_access_ = e; + } + + else + { + ordered_access_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + ordered_access_->container (this); + } + } + + + // readerDataLifecycleQosPolicy + // + + readerDataLifecycleQosPolicy:: + readerDataLifecycleQosPolicy () + : + regulator__ () + { + } + + readerDataLifecycleQosPolicy:: + readerDataLifecycleQosPolicy (readerDataLifecycleQosPolicy const& s) + : + ::XSCRT::Type (), + autopurge_nowriter_samples_delay_ (s.autopurge_nowriter_samples_delay_.get () ? new ::dds::duration (*s.autopurge_nowriter_samples_delay_) : 0), + autopurge_disposed_samples_delay_ (s.autopurge_disposed_samples_delay_.get () ? new ::dds::duration (*s.autopurge_disposed_samples_delay_) : 0), + regulator__ () + { + if (autopurge_nowriter_samples_delay_.get ()) autopurge_nowriter_samples_delay_->container (this); + if (autopurge_disposed_samples_delay_.get ()) autopurge_disposed_samples_delay_->container (this); + } + + readerDataLifecycleQosPolicy& readerDataLifecycleQosPolicy:: + operator= (readerDataLifecycleQosPolicy const& s) + { + if (&s != this) + { + if (s.autopurge_nowriter_samples_delay_.get ()) + autopurge_nowriter_samples_delay (*(s.autopurge_nowriter_samples_delay_)); + else + autopurge_nowriter_samples_delay_.reset (0); + + if (s.autopurge_disposed_samples_delay_.get ()) + autopurge_disposed_samples_delay (*(s.autopurge_disposed_samples_delay_)); + else + autopurge_disposed_samples_delay_.reset (0); + } + + return *this; + } + + + // readerDataLifecycleQosPolicy + // + bool readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay_p () const + { + return autopurge_nowriter_samples_delay_.get () != 0; + } + + ::dds::duration const& readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay () const + { + return *autopurge_nowriter_samples_delay_; + } + + void readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay (::dds::duration const& e) + { + if (autopurge_nowriter_samples_delay_.get ()) + { + *autopurge_nowriter_samples_delay_ = e; + } + + else + { + autopurge_nowriter_samples_delay_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + autopurge_nowriter_samples_delay_->container (this); + } + } + + // readerDataLifecycleQosPolicy + // + bool readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay_p () const + { + return autopurge_disposed_samples_delay_.get () != 0; + } + + ::dds::duration const& readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay () const + { + return *autopurge_disposed_samples_delay_; + } + + void readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay (::dds::duration const& e) + { + if (autopurge_disposed_samples_delay_.get ()) + { + *autopurge_disposed_samples_delay_ = e; + } + + else + { + autopurge_disposed_samples_delay_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + autopurge_disposed_samples_delay_->container (this); + } + } + + + // reliabilityQosPolicy + // + + reliabilityQosPolicy:: + reliabilityQosPolicy () + : + regulator__ () + { + } + + reliabilityQosPolicy:: + reliabilityQosPolicy (reliabilityQosPolicy const& s) + : + ::XSCRT::Type (), + kind_ (s.kind_.get () ? new ::dds::reliabilityKind (*s.kind_) : 0), + max_blocking_time_ (s.max_blocking_time_.get () ? new ::dds::duration (*s.max_blocking_time_) : 0), + regulator__ () + { + if (kind_.get ()) kind_->container (this); + if (max_blocking_time_.get ()) max_blocking_time_->container (this); + } + + reliabilityQosPolicy& reliabilityQosPolicy:: + operator= (reliabilityQosPolicy const& s) + { + if (&s != this) + { + if (s.kind_.get ()) + kind (*(s.kind_)); + else + kind_.reset (0); + + if (s.max_blocking_time_.get ()) + max_blocking_time (*(s.max_blocking_time_)); + else + max_blocking_time_.reset (0); + } + + return *this; + } + + + // reliabilityQosPolicy + // + bool reliabilityQosPolicy:: + kind_p () const + { + return kind_.get () != 0; + } + + ::dds::reliabilityKind const& reliabilityQosPolicy:: + kind () const + { + return *kind_; + } + + void reliabilityQosPolicy:: + kind (::dds::reliabilityKind const& e) + { + if (kind_.get ()) + { + *kind_ = e; + } + + else + { + kind_ = ::std::auto_ptr< ::dds::reliabilityKind > (new ::dds::reliabilityKind (e)); + kind_->container (this); + } + } + + // reliabilityQosPolicy + // + bool reliabilityQosPolicy:: + max_blocking_time_p () const + { + return max_blocking_time_.get () != 0; + } + + ::dds::duration const& reliabilityQosPolicy:: + max_blocking_time () const + { + return *max_blocking_time_; + } + + void reliabilityQosPolicy:: + max_blocking_time (::dds::duration const& e) + { + if (max_blocking_time_.get ()) + { + *max_blocking_time_ = e; + } + + else + { + max_blocking_time_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + max_blocking_time_->container (this); + } + } + + + // resourceLimitsQosPolicy + // + + resourceLimitsQosPolicy:: + resourceLimitsQosPolicy () + : + regulator__ () + { + } + + resourceLimitsQosPolicy:: + resourceLimitsQosPolicy (resourceLimitsQosPolicy const& s) + : + ::XSCRT::Type (), + max_samples_ (s.max_samples_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.max_samples_) : 0), + max_instances_ (s.max_instances_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.max_instances_) : 0), + max_samples_per_instance_ (s.max_samples_per_instance_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.max_samples_per_instance_) : 0), + initial_samples_ (s.initial_samples_.get () ? new ::XMLSchema::positiveInteger (*s.initial_samples_) : 0), + initial_instances_ (s.initial_instances_.get () ? new ::XMLSchema::positiveInteger (*s.initial_instances_) : 0), + regulator__ () + { + if (max_samples_.get ()) max_samples_->container (this); + if (max_instances_.get ()) max_instances_->container (this); + if (max_samples_per_instance_.get ()) max_samples_per_instance_->container (this); + if (initial_samples_.get ()) initial_samples_->container (this); + if (initial_instances_.get ()) initial_instances_->container (this); + } + + resourceLimitsQosPolicy& resourceLimitsQosPolicy:: + operator= (resourceLimitsQosPolicy const& s) + { + if (&s != this) + { + if (s.max_samples_.get ()) + max_samples (*(s.max_samples_)); + else + max_samples_.reset (0); + + if (s.max_instances_.get ()) + max_instances (*(s.max_instances_)); + else + max_instances_.reset (0); + + if (s.max_samples_per_instance_.get ()) + max_samples_per_instance (*(s.max_samples_per_instance_)); + else + max_samples_per_instance_.reset (0); + + if (s.initial_samples_.get ()) + initial_samples (*(s.initial_samples_)); + else + initial_samples_.reset (0); + + if (s.initial_instances_.get ()) + initial_instances (*(s.initial_instances_)); + else + initial_instances_.reset (0); + } + + return *this; + } + + + // resourceLimitsQosPolicy + // + bool resourceLimitsQosPolicy:: + max_samples_p () const + { + return max_samples_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& resourceLimitsQosPolicy:: + max_samples () const + { + return *max_samples_; + } + + void resourceLimitsQosPolicy:: + max_samples (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (max_samples_.get ()) + { + *max_samples_ = e; + } + + else + { + max_samples_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + max_samples_->container (this); + } + } + + // resourceLimitsQosPolicy + // + bool resourceLimitsQosPolicy:: + max_instances_p () const + { + return max_instances_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& resourceLimitsQosPolicy:: + max_instances () const + { + return *max_instances_; + } + + void resourceLimitsQosPolicy:: + max_instances (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (max_instances_.get ()) + { + *max_instances_ = e; + } + + else + { + max_instances_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + max_instances_->container (this); + } + } + + // resourceLimitsQosPolicy + // + bool resourceLimitsQosPolicy:: + max_samples_per_instance_p () const + { + return max_samples_per_instance_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& resourceLimitsQosPolicy:: + max_samples_per_instance () const + { + return *max_samples_per_instance_; + } + + void resourceLimitsQosPolicy:: + max_samples_per_instance (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (max_samples_per_instance_.get ()) + { + *max_samples_per_instance_ = e; + } + + else + { + max_samples_per_instance_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + max_samples_per_instance_->container (this); + } + } + + // resourceLimitsQosPolicy + // + bool resourceLimitsQosPolicy:: + initial_samples_p () const + { + return initial_samples_.get () != 0; + } + + ::XMLSchema::positiveInteger const& resourceLimitsQosPolicy:: + initial_samples () const + { + return *initial_samples_; + } + + void resourceLimitsQosPolicy:: + initial_samples (::XMLSchema::positiveInteger const& e) + { + if (initial_samples_.get ()) + { + *initial_samples_ = e; + } + + else + { + initial_samples_ = ::std::auto_ptr< ::XMLSchema::positiveInteger > (new ::XMLSchema::positiveInteger (e)); + initial_samples_->container (this); + } + } + + // resourceLimitsQosPolicy + // + bool resourceLimitsQosPolicy:: + initial_instances_p () const + { + return initial_instances_.get () != 0; + } + + ::XMLSchema::positiveInteger const& resourceLimitsQosPolicy:: + initial_instances () const + { + return *initial_instances_; + } + + void resourceLimitsQosPolicy:: + initial_instances (::XMLSchema::positiveInteger const& e) + { + if (initial_instances_.get ()) + { + *initial_instances_ = e; + } + + else + { + initial_instances_ = ::std::auto_ptr< ::XMLSchema::positiveInteger > (new ::XMLSchema::positiveInteger (e)); + initial_instances_->container (this); + } + } + + + // timeBasedFilterQosPolicy + // + + timeBasedFilterQosPolicy:: + timeBasedFilterQosPolicy () + : + regulator__ () + { + } + + timeBasedFilterQosPolicy:: + timeBasedFilterQosPolicy (timeBasedFilterQosPolicy const& s) + : + ::XSCRT::Type (), + minimum_separation_ (s.minimum_separation_.get () ? new ::dds::duration (*s.minimum_separation_) : 0), + regulator__ () + { + if (minimum_separation_.get ()) minimum_separation_->container (this); + } + + timeBasedFilterQosPolicy& timeBasedFilterQosPolicy:: + operator= (timeBasedFilterQosPolicy const& s) + { + if (&s != this) + { + if (s.minimum_separation_.get ()) + minimum_separation (*(s.minimum_separation_)); + else + minimum_separation_.reset (0); + } + + return *this; + } + + + // timeBasedFilterQosPolicy + // + bool timeBasedFilterQosPolicy:: + minimum_separation_p () const + { + return minimum_separation_.get () != 0; + } + + ::dds::duration const& timeBasedFilterQosPolicy:: + minimum_separation () const + { + return *minimum_separation_; + } + + void timeBasedFilterQosPolicy:: + minimum_separation (::dds::duration const& e) + { + if (minimum_separation_.get ()) + { + *minimum_separation_ = e; + } + + else + { + minimum_separation_ = ::std::auto_ptr< ::dds::duration > (new ::dds::duration (e)); + minimum_separation_->container (this); + } + } + + + // topicDataQosPolicy + // + + topicDataQosPolicy:: + topicDataQosPolicy () + : + regulator__ () + { + } + + topicDataQosPolicy:: + topicDataQosPolicy (topicDataQosPolicy const& s) + : + ::XSCRT::Type (), + value_ (s.value_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.value_) : 0), + regulator__ () + { + if (value_.get ()) value_->container (this); + } + + topicDataQosPolicy& topicDataQosPolicy:: + operator= (topicDataQosPolicy const& s) + { + if (&s != this) + { + if (s.value_.get ()) + value (*(s.value_)); + else + value_.reset (0); + } + + return *this; + } + + + // topicDataQosPolicy + // + bool topicDataQosPolicy:: + value_p () const + { + return value_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& topicDataQosPolicy:: + value () const + { + return *value_; + } + + void topicDataQosPolicy:: + value (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (value_.get ()) + { + *value_ = e; + } + + else + { + value_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + value_->container (this); + } + } + + + // transportPriorityQosPolicy + // + + transportPriorityQosPolicy:: + transportPriorityQosPolicy () + : + regulator__ () + { + } + + transportPriorityQosPolicy:: + transportPriorityQosPolicy (transportPriorityQosPolicy const& s) + : + ::XSCRT::Type (), + value_ (s.value_.get () ? new ::XMLSchema::nonNegativeInteger (*s.value_) : 0), + regulator__ () + { + if (value_.get ()) value_->container (this); + } + + transportPriorityQosPolicy& transportPriorityQosPolicy:: + operator= (transportPriorityQosPolicy const& s) + { + if (&s != this) + { + if (s.value_.get ()) + value (*(s.value_)); + else + value_.reset (0); + } + + return *this; + } + + + // transportPriorityQosPolicy + // + bool transportPriorityQosPolicy:: + value_p () const + { + return value_.get () != 0; + } + + ::XMLSchema::nonNegativeInteger const& transportPriorityQosPolicy:: + value () const + { + return *value_; + } + + void transportPriorityQosPolicy:: + value (::XMLSchema::nonNegativeInteger const& e) + { + if (value_.get ()) + { + *value_ = e; + } + + else + { + value_ = ::std::auto_ptr< ::XMLSchema::nonNegativeInteger > (new ::XMLSchema::nonNegativeInteger (e)); + value_->container (this); + } + } + + + // userDataQosPolicy + // + + userDataQosPolicy:: + userDataQosPolicy () + : + regulator__ () + { + } + + userDataQosPolicy:: + userDataQosPolicy (userDataQosPolicy const& s) + : + ::XSCRT::Type (), + value_ (s.value_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.value_) : 0), + regulator__ () + { + if (value_.get ()) value_->container (this); + } + + userDataQosPolicy& userDataQosPolicy:: + operator= (userDataQosPolicy const& s) + { + if (&s != this) + { + if (s.value_.get ()) + value (*(s.value_)); + else + value_.reset (0); + } + + return *this; + } + + + // userDataQosPolicy + // + bool userDataQosPolicy:: + value_p () const + { + return value_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& userDataQosPolicy:: + value () const + { + return *value_; + } + + void userDataQosPolicy:: + value (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (value_.get ()) + { + *value_ = e; + } + + else + { + value_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + value_->container (this); + } + } + + + // writerDataLifecycleQosPolicy + // + + writerDataLifecycleQosPolicy:: + writerDataLifecycleQosPolicy () + : + regulator__ () + { + } + + writerDataLifecycleQosPolicy:: + writerDataLifecycleQosPolicy (writerDataLifecycleQosPolicy const& s) + : + ::XSCRT::Type (), + autodispose_unregistered_instances_ (s.autodispose_unregistered_instances_.get () ? new ::XMLSchema::boolean (*s.autodispose_unregistered_instances_) : 0), + regulator__ () + { + if (autodispose_unregistered_instances_.get ()) autodispose_unregistered_instances_->container (this); + } + + writerDataLifecycleQosPolicy& writerDataLifecycleQosPolicy:: + operator= (writerDataLifecycleQosPolicy const& s) + { + if (&s != this) + { + if (s.autodispose_unregistered_instances_.get ()) + autodispose_unregistered_instances (*(s.autodispose_unregistered_instances_)); + else + autodispose_unregistered_instances_.reset (0); + } + + return *this; + } + + + // writerDataLifecycleQosPolicy + // + bool writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances_p () const + { + return autodispose_unregistered_instances_.get () != 0; + } + + ::XMLSchema::boolean const& writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances () const + { + return *autodispose_unregistered_instances_; + } + + void writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances (::XMLSchema::boolean const& e) + { + if (autodispose_unregistered_instances_.get ()) + { + *autodispose_unregistered_instances_ = e; + } + + else + { + autodispose_unregistered_instances_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + autodispose_unregistered_instances_->container (this); + } + } + + + // domainparticipantQos + // + + domainparticipantQos:: + domainparticipantQos () + : + regulator__ () + { + } + + domainparticipantQos:: + domainparticipantQos (domainparticipantQos const& s) + : + ::XSCRT::Type (), + user_data_ (s.user_data_.get () ? new ::dds::userDataQosPolicy (*s.user_data_) : 0), + entity_factory_ (s.entity_factory_.get () ? new ::dds::entityFactoryQosPolicy (*s.entity_factory_) : 0), + name_ (s.name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.name_) : 0), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.topic_filter_) : 0), + regulator__ () + { + if (user_data_.get ()) user_data_->container (this); + if (entity_factory_.get ()) entity_factory_->container (this); + if (name_.get ()) name_->container (this); + if (base_name_.get ()) base_name_->container (this); + if (topic_filter_.get ()) topic_filter_->container (this); + } + + domainparticipantQos& domainparticipantQos:: + operator= (domainparticipantQos const& s) + { + if (&s != this) + { + if (s.user_data_.get ()) + user_data (*(s.user_data_)); + else + user_data_.reset (0); + + if (s.entity_factory_.get ()) + entity_factory (*(s.entity_factory_)); + else + entity_factory_.reset (0); + + if (s.name_.get ()) name (*(s.name_)); + else name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_)); + else topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // domainparticipantQos + // + bool domainparticipantQos:: + user_data_p () const + { + return user_data_.get () != 0; + } + + ::dds::userDataQosPolicy const& domainparticipantQos:: + user_data () const + { + return *user_data_; + } + + void domainparticipantQos:: + user_data (::dds::userDataQosPolicy const& e) + { + if (user_data_.get ()) + { + *user_data_ = e; + } + + else + { + user_data_ = ::std::auto_ptr< ::dds::userDataQosPolicy > (new ::dds::userDataQosPolicy (e)); + user_data_->container (this); + } + } + + // domainparticipantQos + // + bool domainparticipantQos:: + entity_factory_p () const + { + return entity_factory_.get () != 0; + } + + ::dds::entityFactoryQosPolicy const& domainparticipantQos:: + entity_factory () const + { + return *entity_factory_; + } + + void domainparticipantQos:: + entity_factory (::dds::entityFactoryQosPolicy const& e) + { + if (entity_factory_.get ()) + { + *entity_factory_ = e; + } + + else + { + entity_factory_ = ::std::auto_ptr< ::dds::entityFactoryQosPolicy > (new ::dds::entityFactoryQosPolicy (e)); + entity_factory_->container (this); + } + } + + // domainparticipantQos + // + bool domainparticipantQos:: + name_p () const + { + return name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& domainparticipantQos:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& domainparticipantQos:: + name () + { + return *name_; + } + + void domainparticipantQos:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + } + + // domainparticipantQos + // + bool domainparticipantQos:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& domainparticipantQos:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& domainparticipantQos:: + base_name () + { + return *base_name_; + } + + void domainparticipantQos:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + // domainparticipantQos + // + bool domainparticipantQos:: + topic_filter_p () const + { + return topic_filter_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& domainparticipantQos:: + topic_filter () const + { + return *topic_filter_; + } + + ::XMLSchema::string< ACE_TCHAR >& domainparticipantQos:: + topic_filter () + { + return *topic_filter_; + } + + void domainparticipantQos:: + topic_filter (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (topic_filter_.get ()) + { + *topic_filter_ = e; + } + + else + { + topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + topic_filter_->container (this); + } + } + + + // publisherQos + // + + publisherQos:: + publisherQos () + : + regulator__ () + { + } + + publisherQos:: + publisherQos (publisherQos const& s) + : + ::XSCRT::Type (), + presentation_ (s.presentation_.get () ? new ::dds::presentationQosPolicy (*s.presentation_) : 0), + partition_ (s.partition_.get () ? new ::dds::partitionQosPolicy (*s.partition_) : 0), + group_data_ (s.group_data_.get () ? new ::dds::groupDataQosPolicy (*s.group_data_) : 0), + entity_factory_ (s.entity_factory_.get () ? new ::dds::entityFactoryQosPolicy (*s.entity_factory_) : 0), + name_ (s.name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.name_) : 0), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.topic_filter_) : 0), + regulator__ () + { + if (presentation_.get ()) presentation_->container (this); + if (partition_.get ()) partition_->container (this); + if (group_data_.get ()) group_data_->container (this); + if (entity_factory_.get ()) entity_factory_->container (this); + if (name_.get ()) name_->container (this); + if (base_name_.get ()) base_name_->container (this); + if (topic_filter_.get ()) topic_filter_->container (this); + } + + publisherQos& publisherQos:: + operator= (publisherQos const& s) + { + if (&s != this) + { + if (s.presentation_.get ()) + presentation (*(s.presentation_)); + else + presentation_.reset (0); + + if (s.partition_.get ()) + partition (*(s.partition_)); + else + partition_.reset (0); + + if (s.group_data_.get ()) + group_data (*(s.group_data_)); + else + group_data_.reset (0); + + if (s.entity_factory_.get ()) + entity_factory (*(s.entity_factory_)); + else + entity_factory_.reset (0); + + if (s.name_.get ()) name (*(s.name_)); + else name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_)); + else topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // publisherQos + // + bool publisherQos:: + presentation_p () const + { + return presentation_.get () != 0; + } + + ::dds::presentationQosPolicy const& publisherQos:: + presentation () const + { + return *presentation_; + } + + void publisherQos:: + presentation (::dds::presentationQosPolicy const& e) + { + if (presentation_.get ()) + { + *presentation_ = e; + } + + else + { + presentation_ = ::std::auto_ptr< ::dds::presentationQosPolicy > (new ::dds::presentationQosPolicy (e)); + presentation_->container (this); + } + } + + // publisherQos + // + bool publisherQos:: + partition_p () const + { + return partition_.get () != 0; + } + + ::dds::partitionQosPolicy const& publisherQos:: + partition () const + { + return *partition_; + } + + void publisherQos:: + partition (::dds::partitionQosPolicy const& e) + { + if (partition_.get ()) + { + *partition_ = e; + } + + else + { + partition_ = ::std::auto_ptr< ::dds::partitionQosPolicy > (new ::dds::partitionQosPolicy (e)); + partition_->container (this); + } + } + + // publisherQos + // + bool publisherQos:: + group_data_p () const + { + return group_data_.get () != 0; + } + + ::dds::groupDataQosPolicy const& publisherQos:: + group_data () const + { + return *group_data_; + } + + void publisherQos:: + group_data (::dds::groupDataQosPolicy const& e) + { + if (group_data_.get ()) + { + *group_data_ = e; + } + + else + { + group_data_ = ::std::auto_ptr< ::dds::groupDataQosPolicy > (new ::dds::groupDataQosPolicy (e)); + group_data_->container (this); + } + } + + // publisherQos + // + bool publisherQos:: + entity_factory_p () const + { + return entity_factory_.get () != 0; + } + + ::dds::entityFactoryQosPolicy const& publisherQos:: + entity_factory () const + { + return *entity_factory_; + } + + void publisherQos:: + entity_factory (::dds::entityFactoryQosPolicy const& e) + { + if (entity_factory_.get ()) + { + *entity_factory_ = e; + } + + else + { + entity_factory_ = ::std::auto_ptr< ::dds::entityFactoryQosPolicy > (new ::dds::entityFactoryQosPolicy (e)); + entity_factory_->container (this); + } + } + + // publisherQos + // + bool publisherQos:: + name_p () const + { + return name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& publisherQos:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& publisherQos:: + name () + { + return *name_; + } + + void publisherQos:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + } + + // publisherQos + // + bool publisherQos:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& publisherQos:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& publisherQos:: + base_name () + { + return *base_name_; + } + + void publisherQos:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + // publisherQos + // + bool publisherQos:: + topic_filter_p () const + { + return topic_filter_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& publisherQos:: + topic_filter () const + { + return *topic_filter_; + } + + ::XMLSchema::string< ACE_TCHAR >& publisherQos:: + topic_filter () + { + return *topic_filter_; + } + + void publisherQos:: + topic_filter (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (topic_filter_.get ()) + { + *topic_filter_ = e; + } + + else + { + topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + topic_filter_->container (this); + } + } + + + // subscriberQos + // + + subscriberQos:: + subscriberQos () + : + regulator__ () + { + } + + subscriberQos:: + subscriberQos (subscriberQos const& s) + : + ::XSCRT::Type (), + presentation_ (s.presentation_.get () ? new ::dds::presentationQosPolicy (*s.presentation_) : 0), + partition_ (s.partition_.get () ? new ::dds::partitionQosPolicy (*s.partition_) : 0), + group_data_ (s.group_data_.get () ? new ::dds::groupDataQosPolicy (*s.group_data_) : 0), + entity_factory_ (s.entity_factory_.get () ? new ::dds::entityFactoryQosPolicy (*s.entity_factory_) : 0), + name_ (s.name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.name_) : 0), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.topic_filter_) : 0), + regulator__ () + { + if (presentation_.get ()) presentation_->container (this); + if (partition_.get ()) partition_->container (this); + if (group_data_.get ()) group_data_->container (this); + if (entity_factory_.get ()) entity_factory_->container (this); + if (name_.get ()) name_->container (this); + if (base_name_.get ()) base_name_->container (this); + if (topic_filter_.get ()) topic_filter_->container (this); + } + + subscriberQos& subscriberQos:: + operator= (subscriberQos const& s) + { + if (&s != this) + { + if (s.presentation_.get ()) + presentation (*(s.presentation_)); + else + presentation_.reset (0); + + if (s.partition_.get ()) + partition (*(s.partition_)); + else + partition_.reset (0); + + if (s.group_data_.get ()) + group_data (*(s.group_data_)); + else + group_data_.reset (0); + + if (s.entity_factory_.get ()) + entity_factory (*(s.entity_factory_)); + else + entity_factory_.reset (0); + + if (s.name_.get ()) name (*(s.name_)); + else name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_)); + else topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // subscriberQos + // + bool subscriberQos:: + presentation_p () const + { + return presentation_.get () != 0; + } + + ::dds::presentationQosPolicy const& subscriberQos:: + presentation () const + { + return *presentation_; + } + + void subscriberQos:: + presentation (::dds::presentationQosPolicy const& e) + { + if (presentation_.get ()) + { + *presentation_ = e; + } + + else + { + presentation_ = ::std::auto_ptr< ::dds::presentationQosPolicy > (new ::dds::presentationQosPolicy (e)); + presentation_->container (this); + } + } + + // subscriberQos + // + bool subscriberQos:: + partition_p () const + { + return partition_.get () != 0; + } + + ::dds::partitionQosPolicy const& subscriberQos:: + partition () const + { + return *partition_; + } + + void subscriberQos:: + partition (::dds::partitionQosPolicy const& e) + { + if (partition_.get ()) + { + *partition_ = e; + } + + else + { + partition_ = ::std::auto_ptr< ::dds::partitionQosPolicy > (new ::dds::partitionQosPolicy (e)); + partition_->container (this); + } + } + + // subscriberQos + // + bool subscriberQos:: + group_data_p () const + { + return group_data_.get () != 0; + } + + ::dds::groupDataQosPolicy const& subscriberQos:: + group_data () const + { + return *group_data_; + } + + void subscriberQos:: + group_data (::dds::groupDataQosPolicy const& e) + { + if (group_data_.get ()) + { + *group_data_ = e; + } + + else + { + group_data_ = ::std::auto_ptr< ::dds::groupDataQosPolicy > (new ::dds::groupDataQosPolicy (e)); + group_data_->container (this); + } + } + + // subscriberQos + // + bool subscriberQos:: + entity_factory_p () const + { + return entity_factory_.get () != 0; + } + + ::dds::entityFactoryQosPolicy const& subscriberQos:: + entity_factory () const + { + return *entity_factory_; + } + + void subscriberQos:: + entity_factory (::dds::entityFactoryQosPolicy const& e) + { + if (entity_factory_.get ()) + { + *entity_factory_ = e; + } + + else + { + entity_factory_ = ::std::auto_ptr< ::dds::entityFactoryQosPolicy > (new ::dds::entityFactoryQosPolicy (e)); + entity_factory_->container (this); + } + } + + // subscriberQos + // + bool subscriberQos:: + name_p () const + { + return name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& subscriberQos:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& subscriberQos:: + name () + { + return *name_; + } + + void subscriberQos:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + } + + // subscriberQos + // + bool subscriberQos:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& subscriberQos:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& subscriberQos:: + base_name () + { + return *base_name_; + } + + void subscriberQos:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + // subscriberQos + // + bool subscriberQos:: + topic_filter_p () const + { + return topic_filter_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& subscriberQos:: + topic_filter () const + { + return *topic_filter_; + } + + ::XMLSchema::string< ACE_TCHAR >& subscriberQos:: + topic_filter () + { + return *topic_filter_; + } + + void subscriberQos:: + topic_filter (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (topic_filter_.get ()) + { + *topic_filter_ = e; + } + + else + { + topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + topic_filter_->container (this); + } + } + + + // topicQos + // + + topicQos:: + topicQos () + : + regulator__ () + { + } + + topicQos:: + topicQos (topicQos const& s) + : + ::XSCRT::Type (), + topic_data_ (s.topic_data_.get () ? new ::dds::topicDataQosPolicy (*s.topic_data_) : 0), + durability_ (s.durability_.get () ? new ::dds::durabilityQosPolicy (*s.durability_) : 0), + durability_service_ (s.durability_service_.get () ? new ::dds::durabilityServiceQosPolicy (*s.durability_service_) : 0), + deadline_ (s.deadline_.get () ? new ::dds::deadlineQosPolicy (*s.deadline_) : 0), + latency_budget_ (s.latency_budget_.get () ? new ::dds::latencyBudgetQosPolicy (*s.latency_budget_) : 0), + liveliness_ (s.liveliness_.get () ? new ::dds::livelinessQosPolicy (*s.liveliness_) : 0), + reliability_ (s.reliability_.get () ? new ::dds::reliabilityQosPolicy (*s.reliability_) : 0), + destination_order_ (s.destination_order_.get () ? new ::dds::destinationOrderQosPolicy (*s.destination_order_) : 0), + history_ (s.history_.get () ? new ::dds::historyQosPolicy (*s.history_) : 0), + resource_limits_ (s.resource_limits_.get () ? new ::dds::resourceLimitsQosPolicy (*s.resource_limits_) : 0), + transport_priority_ (s.transport_priority_.get () ? new ::dds::transportPriorityQosPolicy (*s.transport_priority_) : 0), + lifespan_ (s.lifespan_.get () ? new ::dds::lifespanQosPolicy (*s.lifespan_) : 0), + ownership_ (s.ownership_.get () ? new ::dds::ownershipQosPolicy (*s.ownership_) : 0), + name_ (s.name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.name_) : 0), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.topic_filter_) : 0), + regulator__ () + { + if (topic_data_.get ()) topic_data_->container (this); + if (durability_.get ()) durability_->container (this); + if (durability_service_.get ()) durability_service_->container (this); + if (deadline_.get ()) deadline_->container (this); + if (latency_budget_.get ()) latency_budget_->container (this); + if (liveliness_.get ()) liveliness_->container (this); + if (reliability_.get ()) reliability_->container (this); + if (destination_order_.get ()) destination_order_->container (this); + if (history_.get ()) history_->container (this); + if (resource_limits_.get ()) resource_limits_->container (this); + if (transport_priority_.get ()) transport_priority_->container (this); + if (lifespan_.get ()) lifespan_->container (this); + if (ownership_.get ()) ownership_->container (this); + if (name_.get ()) name_->container (this); + if (base_name_.get ()) base_name_->container (this); + if (topic_filter_.get ()) topic_filter_->container (this); + } + + topicQos& topicQos:: + operator= (topicQos const& s) + { + if (&s != this) + { + if (s.topic_data_.get ()) + topic_data (*(s.topic_data_)); + else + topic_data_.reset (0); + + if (s.durability_.get ()) + durability (*(s.durability_)); + else + durability_.reset (0); + + if (s.durability_service_.get ()) + durability_service (*(s.durability_service_)); + else + durability_service_.reset (0); + + if (s.deadline_.get ()) + deadline (*(s.deadline_)); + else + deadline_.reset (0); + + if (s.latency_budget_.get ()) + latency_budget (*(s.latency_budget_)); + else + latency_budget_.reset (0); + + if (s.liveliness_.get ()) + liveliness (*(s.liveliness_)); + else + liveliness_.reset (0); + + if (s.reliability_.get ()) + reliability (*(s.reliability_)); + else + reliability_.reset (0); + + if (s.destination_order_.get ()) + destination_order (*(s.destination_order_)); + else + destination_order_.reset (0); + + if (s.history_.get ()) + history (*(s.history_)); + else + history_.reset (0); + + if (s.resource_limits_.get ()) + resource_limits (*(s.resource_limits_)); + else + resource_limits_.reset (0); + + if (s.transport_priority_.get ()) + transport_priority (*(s.transport_priority_)); + else + transport_priority_.reset (0); + + if (s.lifespan_.get ()) + lifespan (*(s.lifespan_)); + else + lifespan_.reset (0); + + if (s.ownership_.get ()) + ownership (*(s.ownership_)); + else + ownership_.reset (0); + + if (s.name_.get ()) name (*(s.name_)); + else name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_)); + else topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // topicQos + // + bool topicQos:: + topic_data_p () const + { + return topic_data_.get () != 0; + } + + ::dds::topicDataQosPolicy const& topicQos:: + topic_data () const + { + return *topic_data_; + } + + void topicQos:: + topic_data (::dds::topicDataQosPolicy const& e) + { + if (topic_data_.get ()) + { + *topic_data_ = e; + } + + else + { + topic_data_ = ::std::auto_ptr< ::dds::topicDataQosPolicy > (new ::dds::topicDataQosPolicy (e)); + topic_data_->container (this); + } + } + + // topicQos + // + bool topicQos:: + durability_p () const + { + return durability_.get () != 0; + } + + ::dds::durabilityQosPolicy const& topicQos:: + durability () const + { + return *durability_; + } + + void topicQos:: + durability (::dds::durabilityQosPolicy const& e) + { + if (durability_.get ()) + { + *durability_ = e; + } + + else + { + durability_ = ::std::auto_ptr< ::dds::durabilityQosPolicy > (new ::dds::durabilityQosPolicy (e)); + durability_->container (this); + } + } + + // topicQos + // + bool topicQos:: + durability_service_p () const + { + return durability_service_.get () != 0; + } + + ::dds::durabilityServiceQosPolicy const& topicQos:: + durability_service () const + { + return *durability_service_; + } + + void topicQos:: + durability_service (::dds::durabilityServiceQosPolicy const& e) + { + if (durability_service_.get ()) + { + *durability_service_ = e; + } + + else + { + durability_service_ = ::std::auto_ptr< ::dds::durabilityServiceQosPolicy > (new ::dds::durabilityServiceQosPolicy (e)); + durability_service_->container (this); + } + } + + // topicQos + // + bool topicQos:: + deadline_p () const + { + return deadline_.get () != 0; + } + + ::dds::deadlineQosPolicy const& topicQos:: + deadline () const + { + return *deadline_; + } + + void topicQos:: + deadline (::dds::deadlineQosPolicy const& e) + { + if (deadline_.get ()) + { + *deadline_ = e; + } + + else + { + deadline_ = ::std::auto_ptr< ::dds::deadlineQosPolicy > (new ::dds::deadlineQosPolicy (e)); + deadline_->container (this); + } + } + + // topicQos + // + bool topicQos:: + latency_budget_p () const + { + return latency_budget_.get () != 0; + } + + ::dds::latencyBudgetQosPolicy const& topicQos:: + latency_budget () const + { + return *latency_budget_; + } + + void topicQos:: + latency_budget (::dds::latencyBudgetQosPolicy const& e) + { + if (latency_budget_.get ()) + { + *latency_budget_ = e; + } + + else + { + latency_budget_ = ::std::auto_ptr< ::dds::latencyBudgetQosPolicy > (new ::dds::latencyBudgetQosPolicy (e)); + latency_budget_->container (this); + } + } + + // topicQos + // + bool topicQos:: + liveliness_p () const + { + return liveliness_.get () != 0; + } + + ::dds::livelinessQosPolicy const& topicQos:: + liveliness () const + { + return *liveliness_; + } + + void topicQos:: + liveliness (::dds::livelinessQosPolicy const& e) + { + if (liveliness_.get ()) + { + *liveliness_ = e; + } + + else + { + liveliness_ = ::std::auto_ptr< ::dds::livelinessQosPolicy > (new ::dds::livelinessQosPolicy (e)); + liveliness_->container (this); + } + } + + // topicQos + // + bool topicQos:: + reliability_p () const + { + return reliability_.get () != 0; + } + + ::dds::reliabilityQosPolicy const& topicQos:: + reliability () const + { + return *reliability_; + } + + void topicQos:: + reliability (::dds::reliabilityQosPolicy const& e) + { + if (reliability_.get ()) + { + *reliability_ = e; + } + + else + { + reliability_ = ::std::auto_ptr< ::dds::reliabilityQosPolicy > (new ::dds::reliabilityQosPolicy (e)); + reliability_->container (this); + } + } + + // topicQos + // + bool topicQos:: + destination_order_p () const + { + return destination_order_.get () != 0; + } + + ::dds::destinationOrderQosPolicy const& topicQos:: + destination_order () const + { + return *destination_order_; + } + + void topicQos:: + destination_order (::dds::destinationOrderQosPolicy const& e) + { + if (destination_order_.get ()) + { + *destination_order_ = e; + } + + else + { + destination_order_ = ::std::auto_ptr< ::dds::destinationOrderQosPolicy > (new ::dds::destinationOrderQosPolicy (e)); + destination_order_->container (this); + } + } + + // topicQos + // + bool topicQos:: + history_p () const + { + return history_.get () != 0; + } + + ::dds::historyQosPolicy const& topicQos:: + history () const + { + return *history_; + } + + void topicQos:: + history (::dds::historyQosPolicy const& e) + { + if (history_.get ()) + { + *history_ = e; + } + + else + { + history_ = ::std::auto_ptr< ::dds::historyQosPolicy > (new ::dds::historyQosPolicy (e)); + history_->container (this); + } + } + + // topicQos + // + bool topicQos:: + resource_limits_p () const + { + return resource_limits_.get () != 0; + } + + ::dds::resourceLimitsQosPolicy const& topicQos:: + resource_limits () const + { + return *resource_limits_; + } + + void topicQos:: + resource_limits (::dds::resourceLimitsQosPolicy const& e) + { + if (resource_limits_.get ()) + { + *resource_limits_ = e; + } + + else + { + resource_limits_ = ::std::auto_ptr< ::dds::resourceLimitsQosPolicy > (new ::dds::resourceLimitsQosPolicy (e)); + resource_limits_->container (this); + } + } + + // topicQos + // + bool topicQos:: + transport_priority_p () const + { + return transport_priority_.get () != 0; + } + + ::dds::transportPriorityQosPolicy const& topicQos:: + transport_priority () const + { + return *transport_priority_; + } + + void topicQos:: + transport_priority (::dds::transportPriorityQosPolicy const& e) + { + if (transport_priority_.get ()) + { + *transport_priority_ = e; + } + + else + { + transport_priority_ = ::std::auto_ptr< ::dds::transportPriorityQosPolicy > (new ::dds::transportPriorityQosPolicy (e)); + transport_priority_->container (this); + } + } + + // topicQos + // + bool topicQos:: + lifespan_p () const + { + return lifespan_.get () != 0; + } + + ::dds::lifespanQosPolicy const& topicQos:: + lifespan () const + { + return *lifespan_; + } + + void topicQos:: + lifespan (::dds::lifespanQosPolicy const& e) + { + if (lifespan_.get ()) + { + *lifespan_ = e; + } + + else + { + lifespan_ = ::std::auto_ptr< ::dds::lifespanQosPolicy > (new ::dds::lifespanQosPolicy (e)); + lifespan_->container (this); + } + } + + // topicQos + // + bool topicQos:: + ownership_p () const + { + return ownership_.get () != 0; + } + + ::dds::ownershipQosPolicy const& topicQos:: + ownership () const + { + return *ownership_; + } + + void topicQos:: + ownership (::dds::ownershipQosPolicy const& e) + { + if (ownership_.get ()) + { + *ownership_ = e; + } + + else + { + ownership_ = ::std::auto_ptr< ::dds::ownershipQosPolicy > (new ::dds::ownershipQosPolicy (e)); + ownership_->container (this); + } + } + + // topicQos + // + bool topicQos:: + name_p () const + { + return name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& topicQos:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& topicQos:: + name () + { + return *name_; + } + + void topicQos:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + } + + // topicQos + // + bool topicQos:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& topicQos:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& topicQos:: + base_name () + { + return *base_name_; + } + + void topicQos:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + // topicQos + // + bool topicQos:: + topic_filter_p () const + { + return topic_filter_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& topicQos:: + topic_filter () const + { + return *topic_filter_; + } + + ::XMLSchema::string< ACE_TCHAR >& topicQos:: + topic_filter () + { + return *topic_filter_; + } + + void topicQos:: + topic_filter (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (topic_filter_.get ()) + { + *topic_filter_ = e; + } + + else + { + topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + topic_filter_->container (this); + } + } + + + // datareaderQos + // + + datareaderQos:: + datareaderQos () + : + regulator__ () + { + } + + datareaderQos:: + datareaderQos (datareaderQos const& s) + : + ::XSCRT::Type (), + durability_ (s.durability_.get () ? new ::dds::durabilityQosPolicy (*s.durability_) : 0), + deadline_ (s.deadline_.get () ? new ::dds::deadlineQosPolicy (*s.deadline_) : 0), + latency_budget_ (s.latency_budget_.get () ? new ::dds::latencyBudgetQosPolicy (*s.latency_budget_) : 0), + liveliness_ (s.liveliness_.get () ? new ::dds::livelinessQosPolicy (*s.liveliness_) : 0), + reliability_ (s.reliability_.get () ? new ::dds::reliabilityQosPolicy (*s.reliability_) : 0), + destination_order_ (s.destination_order_.get () ? new ::dds::destinationOrderQosPolicy (*s.destination_order_) : 0), + history_ (s.history_.get () ? new ::dds::historyQosPolicy (*s.history_) : 0), + resource_limits_ (s.resource_limits_.get () ? new ::dds::resourceLimitsQosPolicy (*s.resource_limits_) : 0), + user_data_ (s.user_data_.get () ? new ::dds::userDataQosPolicy (*s.user_data_) : 0), + ownership_ (s.ownership_.get () ? new ::dds::ownershipQosPolicy (*s.ownership_) : 0), + time_based_filter_ (s.time_based_filter_.get () ? new ::dds::timeBasedFilterQosPolicy (*s.time_based_filter_) : 0), + reader_data_lifecycle_ (s.reader_data_lifecycle_.get () ? new ::dds::readerDataLifecycleQosPolicy (*s.reader_data_lifecycle_) : 0), + name_ (s.name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.name_) : 0), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.topic_filter_) : 0), + regulator__ () + { + if (durability_.get ()) durability_->container (this); + if (deadline_.get ()) deadline_->container (this); + if (latency_budget_.get ()) latency_budget_->container (this); + if (liveliness_.get ()) liveliness_->container (this); + if (reliability_.get ()) reliability_->container (this); + if (destination_order_.get ()) destination_order_->container (this); + if (history_.get ()) history_->container (this); + if (resource_limits_.get ()) resource_limits_->container (this); + if (user_data_.get ()) user_data_->container (this); + if (ownership_.get ()) ownership_->container (this); + if (time_based_filter_.get ()) time_based_filter_->container (this); + if (reader_data_lifecycle_.get ()) reader_data_lifecycle_->container (this); + if (name_.get ()) name_->container (this); + if (base_name_.get ()) base_name_->container (this); + if (topic_filter_.get ()) topic_filter_->container (this); + } + + datareaderQos& datareaderQos:: + operator= (datareaderQos const& s) + { + if (&s != this) + { + if (s.durability_.get ()) + durability (*(s.durability_)); + else + durability_.reset (0); + + if (s.deadline_.get ()) + deadline (*(s.deadline_)); + else + deadline_.reset (0); + + if (s.latency_budget_.get ()) + latency_budget (*(s.latency_budget_)); + else + latency_budget_.reset (0); + + if (s.liveliness_.get ()) + liveliness (*(s.liveliness_)); + else + liveliness_.reset (0); + + if (s.reliability_.get ()) + reliability (*(s.reliability_)); + else + reliability_.reset (0); + + if (s.destination_order_.get ()) + destination_order (*(s.destination_order_)); + else + destination_order_.reset (0); + + if (s.history_.get ()) + history (*(s.history_)); + else + history_.reset (0); + + if (s.resource_limits_.get ()) + resource_limits (*(s.resource_limits_)); + else + resource_limits_.reset (0); + + if (s.user_data_.get ()) + user_data (*(s.user_data_)); + else + user_data_.reset (0); + + if (s.ownership_.get ()) + ownership (*(s.ownership_)); + else + ownership_.reset (0); + + if (s.time_based_filter_.get ()) + time_based_filter (*(s.time_based_filter_)); + else + time_based_filter_.reset (0); + + if (s.reader_data_lifecycle_.get ()) + reader_data_lifecycle (*(s.reader_data_lifecycle_)); + else + reader_data_lifecycle_.reset (0); + + if (s.name_.get ()) name (*(s.name_)); + else name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_)); + else topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // datareaderQos + // + bool datareaderQos:: + durability_p () const + { + return durability_.get () != 0; + } + + ::dds::durabilityQosPolicy const& datareaderQos:: + durability () const + { + return *durability_; + } + + void datareaderQos:: + durability (::dds::durabilityQosPolicy const& e) + { + if (durability_.get ()) + { + *durability_ = e; + } + + else + { + durability_ = ::std::auto_ptr< ::dds::durabilityQosPolicy > (new ::dds::durabilityQosPolicy (e)); + durability_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + deadline_p () const + { + return deadline_.get () != 0; + } + + ::dds::deadlineQosPolicy const& datareaderQos:: + deadline () const + { + return *deadline_; + } + + void datareaderQos:: + deadline (::dds::deadlineQosPolicy const& e) + { + if (deadline_.get ()) + { + *deadline_ = e; + } + + else + { + deadline_ = ::std::auto_ptr< ::dds::deadlineQosPolicy > (new ::dds::deadlineQosPolicy (e)); + deadline_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + latency_budget_p () const + { + return latency_budget_.get () != 0; + } + + ::dds::latencyBudgetQosPolicy const& datareaderQos:: + latency_budget () const + { + return *latency_budget_; + } + + void datareaderQos:: + latency_budget (::dds::latencyBudgetQosPolicy const& e) + { + if (latency_budget_.get ()) + { + *latency_budget_ = e; + } + + else + { + latency_budget_ = ::std::auto_ptr< ::dds::latencyBudgetQosPolicy > (new ::dds::latencyBudgetQosPolicy (e)); + latency_budget_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + liveliness_p () const + { + return liveliness_.get () != 0; + } + + ::dds::livelinessQosPolicy const& datareaderQos:: + liveliness () const + { + return *liveliness_; + } + + void datareaderQos:: + liveliness (::dds::livelinessQosPolicy const& e) + { + if (liveliness_.get ()) + { + *liveliness_ = e; + } + + else + { + liveliness_ = ::std::auto_ptr< ::dds::livelinessQosPolicy > (new ::dds::livelinessQosPolicy (e)); + liveliness_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + reliability_p () const + { + return reliability_.get () != 0; + } + + ::dds::reliabilityQosPolicy const& datareaderQos:: + reliability () const + { + return *reliability_; + } + + void datareaderQos:: + reliability (::dds::reliabilityQosPolicy const& e) + { + if (reliability_.get ()) + { + *reliability_ = e; + } + + else + { + reliability_ = ::std::auto_ptr< ::dds::reliabilityQosPolicy > (new ::dds::reliabilityQosPolicy (e)); + reliability_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + destination_order_p () const + { + return destination_order_.get () != 0; + } + + ::dds::destinationOrderQosPolicy const& datareaderQos:: + destination_order () const + { + return *destination_order_; + } + + void datareaderQos:: + destination_order (::dds::destinationOrderQosPolicy const& e) + { + if (destination_order_.get ()) + { + *destination_order_ = e; + } + + else + { + destination_order_ = ::std::auto_ptr< ::dds::destinationOrderQosPolicy > (new ::dds::destinationOrderQosPolicy (e)); + destination_order_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + history_p () const + { + return history_.get () != 0; + } + + ::dds::historyQosPolicy const& datareaderQos:: + history () const + { + return *history_; + } + + void datareaderQos:: + history (::dds::historyQosPolicy const& e) + { + if (history_.get ()) + { + *history_ = e; + } + + else + { + history_ = ::std::auto_ptr< ::dds::historyQosPolicy > (new ::dds::historyQosPolicy (e)); + history_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + resource_limits_p () const + { + return resource_limits_.get () != 0; + } + + ::dds::resourceLimitsQosPolicy const& datareaderQos:: + resource_limits () const + { + return *resource_limits_; + } + + void datareaderQos:: + resource_limits (::dds::resourceLimitsQosPolicy const& e) + { + if (resource_limits_.get ()) + { + *resource_limits_ = e; + } + + else + { + resource_limits_ = ::std::auto_ptr< ::dds::resourceLimitsQosPolicy > (new ::dds::resourceLimitsQosPolicy (e)); + resource_limits_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + user_data_p () const + { + return user_data_.get () != 0; + } + + ::dds::userDataQosPolicy const& datareaderQos:: + user_data () const + { + return *user_data_; + } + + void datareaderQos:: + user_data (::dds::userDataQosPolicy const& e) + { + if (user_data_.get ()) + { + *user_data_ = e; + } + + else + { + user_data_ = ::std::auto_ptr< ::dds::userDataQosPolicy > (new ::dds::userDataQosPolicy (e)); + user_data_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + ownership_p () const + { + return ownership_.get () != 0; + } + + ::dds::ownershipQosPolicy const& datareaderQos:: + ownership () const + { + return *ownership_; + } + + void datareaderQos:: + ownership (::dds::ownershipQosPolicy const& e) + { + if (ownership_.get ()) + { + *ownership_ = e; + } + + else + { + ownership_ = ::std::auto_ptr< ::dds::ownershipQosPolicy > (new ::dds::ownershipQosPolicy (e)); + ownership_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + time_based_filter_p () const + { + return time_based_filter_.get () != 0; + } + + ::dds::timeBasedFilterQosPolicy const& datareaderQos:: + time_based_filter () const + { + return *time_based_filter_; + } + + void datareaderQos:: + time_based_filter (::dds::timeBasedFilterQosPolicy const& e) + { + if (time_based_filter_.get ()) + { + *time_based_filter_ = e; + } + + else + { + time_based_filter_ = ::std::auto_ptr< ::dds::timeBasedFilterQosPolicy > (new ::dds::timeBasedFilterQosPolicy (e)); + time_based_filter_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + reader_data_lifecycle_p () const + { + return reader_data_lifecycle_.get () != 0; + } + + ::dds::readerDataLifecycleQosPolicy const& datareaderQos:: + reader_data_lifecycle () const + { + return *reader_data_lifecycle_; + } + + void datareaderQos:: + reader_data_lifecycle (::dds::readerDataLifecycleQosPolicy const& e) + { + if (reader_data_lifecycle_.get ()) + { + *reader_data_lifecycle_ = e; + } + + else + { + reader_data_lifecycle_ = ::std::auto_ptr< ::dds::readerDataLifecycleQosPolicy > (new ::dds::readerDataLifecycleQosPolicy (e)); + reader_data_lifecycle_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + name_p () const + { + return name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& datareaderQos:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& datareaderQos:: + name () + { + return *name_; + } + + void datareaderQos:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& datareaderQos:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& datareaderQos:: + base_name () + { + return *base_name_; + } + + void datareaderQos:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + // datareaderQos + // + bool datareaderQos:: + topic_filter_p () const + { + return topic_filter_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& datareaderQos:: + topic_filter () const + { + return *topic_filter_; + } + + ::XMLSchema::string< ACE_TCHAR >& datareaderQos:: + topic_filter () + { + return *topic_filter_; + } + + void datareaderQos:: + topic_filter (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (topic_filter_.get ()) + { + *topic_filter_ = e; + } + + else + { + topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + topic_filter_->container (this); + } + } + + + // datawriterQos + // + + datawriterQos:: + datawriterQos () + : + regulator__ () + { + } + + datawriterQos:: + datawriterQos (datawriterQos const& s) + : + ::XSCRT::Type (), + durability_ (s.durability_.get () ? new ::dds::durabilityQosPolicy (*s.durability_) : 0), + durability_service_ (s.durability_service_.get () ? new ::dds::durabilityServiceQosPolicy (*s.durability_service_) : 0), + deadline_ (s.deadline_.get () ? new ::dds::deadlineQosPolicy (*s.deadline_) : 0), + latency_budget_ (s.latency_budget_.get () ? new ::dds::latencyBudgetQosPolicy (*s.latency_budget_) : 0), + liveliness_ (s.liveliness_.get () ? new ::dds::livelinessQosPolicy (*s.liveliness_) : 0), + reliability_ (s.reliability_.get () ? new ::dds::reliabilityQosPolicy (*s.reliability_) : 0), + destination_order_ (s.destination_order_.get () ? new ::dds::destinationOrderQosPolicy (*s.destination_order_) : 0), + history_ (s.history_.get () ? new ::dds::historyQosPolicy (*s.history_) : 0), + resource_limits_ (s.resource_limits_.get () ? new ::dds::resourceLimitsQosPolicy (*s.resource_limits_) : 0), + transport_priority_ (s.transport_priority_.get () ? new ::dds::transportPriorityQosPolicy (*s.transport_priority_) : 0), + lifespan_ (s.lifespan_.get () ? new ::dds::lifespanQosPolicy (*s.lifespan_) : 0), + user_data_ (s.user_data_.get () ? new ::dds::userDataQosPolicy (*s.user_data_) : 0), + ownership_ (s.ownership_.get () ? new ::dds::ownershipQosPolicy (*s.ownership_) : 0), + ownership_strength_ (s.ownership_strength_.get () ? new ::dds::ownershipStrengthQosPolicy (*s.ownership_strength_) : 0), + writer_data_lifecycle_ (s.writer_data_lifecycle_.get () ? new ::dds::writerDataLifecycleQosPolicy (*s.writer_data_lifecycle_) : 0), + name_ (s.name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.name_) : 0), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.topic_filter_) : 0), + regulator__ () + { + if (durability_.get ()) durability_->container (this); + if (durability_service_.get ()) durability_service_->container (this); + if (deadline_.get ()) deadline_->container (this); + if (latency_budget_.get ()) latency_budget_->container (this); + if (liveliness_.get ()) liveliness_->container (this); + if (reliability_.get ()) reliability_->container (this); + if (destination_order_.get ()) destination_order_->container (this); + if (history_.get ()) history_->container (this); + if (resource_limits_.get ()) resource_limits_->container (this); + if (transport_priority_.get ()) transport_priority_->container (this); + if (lifespan_.get ()) lifespan_->container (this); + if (user_data_.get ()) user_data_->container (this); + if (ownership_.get ()) ownership_->container (this); + if (ownership_strength_.get ()) ownership_strength_->container (this); + if (writer_data_lifecycle_.get ()) writer_data_lifecycle_->container (this); + if (name_.get ()) name_->container (this); + if (base_name_.get ()) base_name_->container (this); + if (topic_filter_.get ()) topic_filter_->container (this); + } + + datawriterQos& datawriterQos:: + operator= (datawriterQos const& s) + { + if (&s != this) + { + if (s.durability_.get ()) + durability (*(s.durability_)); + else + durability_.reset (0); + + if (s.durability_service_.get ()) + durability_service (*(s.durability_service_)); + else + durability_service_.reset (0); + + if (s.deadline_.get ()) + deadline (*(s.deadline_)); + else + deadline_.reset (0); + + if (s.latency_budget_.get ()) + latency_budget (*(s.latency_budget_)); + else + latency_budget_.reset (0); + + if (s.liveliness_.get ()) + liveliness (*(s.liveliness_)); + else + liveliness_.reset (0); + + if (s.reliability_.get ()) + reliability (*(s.reliability_)); + else + reliability_.reset (0); + + if (s.destination_order_.get ()) + destination_order (*(s.destination_order_)); + else + destination_order_.reset (0); + + if (s.history_.get ()) + history (*(s.history_)); + else + history_.reset (0); + + if (s.resource_limits_.get ()) + resource_limits (*(s.resource_limits_)); + else + resource_limits_.reset (0); + + if (s.transport_priority_.get ()) + transport_priority (*(s.transport_priority_)); + else + transport_priority_.reset (0); + + if (s.lifespan_.get ()) + lifespan (*(s.lifespan_)); + else + lifespan_.reset (0); + + if (s.user_data_.get ()) + user_data (*(s.user_data_)); + else + user_data_.reset (0); + + if (s.ownership_.get ()) + ownership (*(s.ownership_)); + else + ownership_.reset (0); + + if (s.ownership_strength_.get ()) + ownership_strength (*(s.ownership_strength_)); + else + ownership_strength_.reset (0); + + if (s.writer_data_lifecycle_.get ()) + writer_data_lifecycle (*(s.writer_data_lifecycle_)); + else + writer_data_lifecycle_.reset (0); + + if (s.name_.get ()) name (*(s.name_)); + else name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + + if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_)); + else topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // datawriterQos + // + bool datawriterQos:: + durability_p () const + { + return durability_.get () != 0; + } + + ::dds::durabilityQosPolicy const& datawriterQos:: + durability () const + { + return *durability_; + } + + void datawriterQos:: + durability (::dds::durabilityQosPolicy const& e) + { + if (durability_.get ()) + { + *durability_ = e; + } + + else + { + durability_ = ::std::auto_ptr< ::dds::durabilityQosPolicy > (new ::dds::durabilityQosPolicy (e)); + durability_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + durability_service_p () const + { + return durability_service_.get () != 0; + } + + ::dds::durabilityServiceQosPolicy const& datawriterQos:: + durability_service () const + { + return *durability_service_; + } + + void datawriterQos:: + durability_service (::dds::durabilityServiceQosPolicy const& e) + { + if (durability_service_.get ()) + { + *durability_service_ = e; + } + + else + { + durability_service_ = ::std::auto_ptr< ::dds::durabilityServiceQosPolicy > (new ::dds::durabilityServiceQosPolicy (e)); + durability_service_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + deadline_p () const + { + return deadline_.get () != 0; + } + + ::dds::deadlineQosPolicy const& datawriterQos:: + deadline () const + { + return *deadline_; + } + + void datawriterQos:: + deadline (::dds::deadlineQosPolicy const& e) + { + if (deadline_.get ()) + { + *deadline_ = e; + } + + else + { + deadline_ = ::std::auto_ptr< ::dds::deadlineQosPolicy > (new ::dds::deadlineQosPolicy (e)); + deadline_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + latency_budget_p () const + { + return latency_budget_.get () != 0; + } + + ::dds::latencyBudgetQosPolicy const& datawriterQos:: + latency_budget () const + { + return *latency_budget_; + } + + void datawriterQos:: + latency_budget (::dds::latencyBudgetQosPolicy const& e) + { + if (latency_budget_.get ()) + { + *latency_budget_ = e; + } + + else + { + latency_budget_ = ::std::auto_ptr< ::dds::latencyBudgetQosPolicy > (new ::dds::latencyBudgetQosPolicy (e)); + latency_budget_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + liveliness_p () const + { + return liveliness_.get () != 0; + } + + ::dds::livelinessQosPolicy const& datawriterQos:: + liveliness () const + { + return *liveliness_; + } + + void datawriterQos:: + liveliness (::dds::livelinessQosPolicy const& e) + { + if (liveliness_.get ()) + { + *liveliness_ = e; + } + + else + { + liveliness_ = ::std::auto_ptr< ::dds::livelinessQosPolicy > (new ::dds::livelinessQosPolicy (e)); + liveliness_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + reliability_p () const + { + return reliability_.get () != 0; + } + + ::dds::reliabilityQosPolicy const& datawriterQos:: + reliability () const + { + return *reliability_; + } + + void datawriterQos:: + reliability (::dds::reliabilityQosPolicy const& e) + { + if (reliability_.get ()) + { + *reliability_ = e; + } + + else + { + reliability_ = ::std::auto_ptr< ::dds::reliabilityQosPolicy > (new ::dds::reliabilityQosPolicy (e)); + reliability_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + destination_order_p () const + { + return destination_order_.get () != 0; + } + + ::dds::destinationOrderQosPolicy const& datawriterQos:: + destination_order () const + { + return *destination_order_; + } + + void datawriterQos:: + destination_order (::dds::destinationOrderQosPolicy const& e) + { + if (destination_order_.get ()) + { + *destination_order_ = e; + } + + else + { + destination_order_ = ::std::auto_ptr< ::dds::destinationOrderQosPolicy > (new ::dds::destinationOrderQosPolicy (e)); + destination_order_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + history_p () const + { + return history_.get () != 0; + } + + ::dds::historyQosPolicy const& datawriterQos:: + history () const + { + return *history_; + } + + void datawriterQos:: + history (::dds::historyQosPolicy const& e) + { + if (history_.get ()) + { + *history_ = e; + } + + else + { + history_ = ::std::auto_ptr< ::dds::historyQosPolicy > (new ::dds::historyQosPolicy (e)); + history_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + resource_limits_p () const + { + return resource_limits_.get () != 0; + } + + ::dds::resourceLimitsQosPolicy const& datawriterQos:: + resource_limits () const + { + return *resource_limits_; + } + + void datawriterQos:: + resource_limits (::dds::resourceLimitsQosPolicy const& e) + { + if (resource_limits_.get ()) + { + *resource_limits_ = e; + } + + else + { + resource_limits_ = ::std::auto_ptr< ::dds::resourceLimitsQosPolicy > (new ::dds::resourceLimitsQosPolicy (e)); + resource_limits_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + transport_priority_p () const + { + return transport_priority_.get () != 0; + } + + ::dds::transportPriorityQosPolicy const& datawriterQos:: + transport_priority () const + { + return *transport_priority_; + } + + void datawriterQos:: + transport_priority (::dds::transportPriorityQosPolicy const& e) + { + if (transport_priority_.get ()) + { + *transport_priority_ = e; + } + + else + { + transport_priority_ = ::std::auto_ptr< ::dds::transportPriorityQosPolicy > (new ::dds::transportPriorityQosPolicy (e)); + transport_priority_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + lifespan_p () const + { + return lifespan_.get () != 0; + } + + ::dds::lifespanQosPolicy const& datawriterQos:: + lifespan () const + { + return *lifespan_; + } + + void datawriterQos:: + lifespan (::dds::lifespanQosPolicy const& e) + { + if (lifespan_.get ()) + { + *lifespan_ = e; + } + + else + { + lifespan_ = ::std::auto_ptr< ::dds::lifespanQosPolicy > (new ::dds::lifespanQosPolicy (e)); + lifespan_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + user_data_p () const + { + return user_data_.get () != 0; + } + + ::dds::userDataQosPolicy const& datawriterQos:: + user_data () const + { + return *user_data_; + } + + void datawriterQos:: + user_data (::dds::userDataQosPolicy const& e) + { + if (user_data_.get ()) + { + *user_data_ = e; + } + + else + { + user_data_ = ::std::auto_ptr< ::dds::userDataQosPolicy > (new ::dds::userDataQosPolicy (e)); + user_data_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + ownership_p () const + { + return ownership_.get () != 0; + } + + ::dds::ownershipQosPolicy const& datawriterQos:: + ownership () const + { + return *ownership_; + } + + void datawriterQos:: + ownership (::dds::ownershipQosPolicy const& e) + { + if (ownership_.get ()) + { + *ownership_ = e; + } + + else + { + ownership_ = ::std::auto_ptr< ::dds::ownershipQosPolicy > (new ::dds::ownershipQosPolicy (e)); + ownership_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + ownership_strength_p () const + { + return ownership_strength_.get () != 0; + } + + ::dds::ownershipStrengthQosPolicy const& datawriterQos:: + ownership_strength () const + { + return *ownership_strength_; + } + + void datawriterQos:: + ownership_strength (::dds::ownershipStrengthQosPolicy const& e) + { + if (ownership_strength_.get ()) + { + *ownership_strength_ = e; + } + + else + { + ownership_strength_ = ::std::auto_ptr< ::dds::ownershipStrengthQosPolicy > (new ::dds::ownershipStrengthQosPolicy (e)); + ownership_strength_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + writer_data_lifecycle_p () const + { + return writer_data_lifecycle_.get () != 0; + } + + ::dds::writerDataLifecycleQosPolicy const& datawriterQos:: + writer_data_lifecycle () const + { + return *writer_data_lifecycle_; + } + + void datawriterQos:: + writer_data_lifecycle (::dds::writerDataLifecycleQosPolicy const& e) + { + if (writer_data_lifecycle_.get ()) + { + *writer_data_lifecycle_ = e; + } + + else + { + writer_data_lifecycle_ = ::std::auto_ptr< ::dds::writerDataLifecycleQosPolicy > (new ::dds::writerDataLifecycleQosPolicy (e)); + writer_data_lifecycle_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + name_p () const + { + return name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& datawriterQos:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& datawriterQos:: + name () + { + return *name_; + } + + void datawriterQos:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (name_.get ()) + { + *name_ = e; + } + + else + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& datawriterQos:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& datawriterQos:: + base_name () + { + return *base_name_; + } + + void datawriterQos:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + // datawriterQos + // + bool datawriterQos:: + topic_filter_p () const + { + return topic_filter_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& datawriterQos:: + topic_filter () const + { + return *topic_filter_; + } + + ::XMLSchema::string< ACE_TCHAR >& datawriterQos:: + topic_filter () + { + return *topic_filter_; + } + + void datawriterQos:: + topic_filter (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (topic_filter_.get ()) + { + *topic_filter_ = e; + } + + else + { + topic_filter_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + topic_filter_->container (this); + } + } + + + // qosProfile + // + + qosProfile:: + qosProfile (::XMLSchema::string< ACE_TCHAR > const& name__) + : + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } + + qosProfile:: + qosProfile (qosProfile const& s) + : + ::XSCRT::Type (), + datareader_qos_ (s.datareader_qos_), + datawriter_qos_ (s.datawriter_qos_), + topic_qos_ (s.topic_qos_), + domainparticipant_qos_ (s.domainparticipant_qos_), + publisher_qos_ (s.publisher_qos_), + subscriber_qos_ (s.subscriber_qos_), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + base_name_ (s.base_name_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.base_name_) : 0), + regulator__ () + { + name_->container (this); + if (base_name_.get ()) base_name_->container (this); + } + + qosProfile& qosProfile:: + operator= (qosProfile const& s) + { + if (&s != this) + { + datareader_qos_ = s.datareader_qos_; + + datawriter_qos_ = s.datawriter_qos_; + + topic_qos_ = s.topic_qos_; + + domainparticipant_qos_ = s.domainparticipant_qos_; + + publisher_qos_ = s.publisher_qos_; + + subscriber_qos_ = s.subscriber_qos_; + + name (s.name ()); + + if (s.base_name_.get ()) base_name (*(s.base_name_)); + else base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + } + + return *this; + } + + + // qosProfile + // + qosProfile::datareader_qos_iterator qosProfile:: + begin_datareader_qos () + { + return datareader_qos_.begin (); + } + + qosProfile::datareader_qos_iterator qosProfile:: + end_datareader_qos () + { + return datareader_qos_.end (); + } + + qosProfile::datareader_qos_const_iterator qosProfile:: + begin_datareader_qos () const + { + return datareader_qos_.begin (); + } + + qosProfile::datareader_qos_const_iterator qosProfile:: + end_datareader_qos () const + { + return datareader_qos_.end (); + } + + void qosProfile:: + add_datareader_qos (ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > const& e) + { + datareader_qos_.push_back (e); + } + + size_t qosProfile:: + count_datareader_qos(void) const + { + return datareader_qos_.size (); + } + + // qosProfile + // + qosProfile::datawriter_qos_iterator qosProfile:: + begin_datawriter_qos () + { + return datawriter_qos_.begin (); + } + + qosProfile::datawriter_qos_iterator qosProfile:: + end_datawriter_qos () + { + return datawriter_qos_.end (); + } + + qosProfile::datawriter_qos_const_iterator qosProfile:: + begin_datawriter_qos () const + { + return datawriter_qos_.begin (); + } + + qosProfile::datawriter_qos_const_iterator qosProfile:: + end_datawriter_qos () const + { + return datawriter_qos_.end (); + } + + void qosProfile:: + add_datawriter_qos (ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > const& e) + { + datawriter_qos_.push_back (e); + } + + size_t qosProfile:: + count_datawriter_qos(void) const + { + return datawriter_qos_.size (); + } + + // qosProfile + // + qosProfile::topic_qos_iterator qosProfile:: + begin_topic_qos () + { + return topic_qos_.begin (); + } + + qosProfile::topic_qos_iterator qosProfile:: + end_topic_qos () + { + return topic_qos_.end (); + } + + qosProfile::topic_qos_const_iterator qosProfile:: + begin_topic_qos () const + { + return topic_qos_.begin (); + } + + qosProfile::topic_qos_const_iterator qosProfile:: + end_topic_qos () const + { + return topic_qos_.end (); + } + + void qosProfile:: + add_topic_qos (ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > const& e) + { + topic_qos_.push_back (e); + } + + size_t qosProfile:: + count_topic_qos(void) const + { + return topic_qos_.size (); + } + + // qosProfile + // + qosProfile::domainparticipant_qos_iterator qosProfile:: + begin_domainparticipant_qos () + { + return domainparticipant_qos_.begin (); + } + + qosProfile::domainparticipant_qos_iterator qosProfile:: + end_domainparticipant_qos () + { + return domainparticipant_qos_.end (); + } + + qosProfile::domainparticipant_qos_const_iterator qosProfile:: + begin_domainparticipant_qos () const + { + return domainparticipant_qos_.begin (); + } + + qosProfile::domainparticipant_qos_const_iterator qosProfile:: + end_domainparticipant_qos () const + { + return domainparticipant_qos_.end (); + } + + void qosProfile:: + add_domainparticipant_qos (ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > const& e) + { + domainparticipant_qos_.push_back (e); + } + + size_t qosProfile:: + count_domainparticipant_qos(void) const + { + return domainparticipant_qos_.size (); + } + + // qosProfile + // + qosProfile::publisher_qos_iterator qosProfile:: + begin_publisher_qos () + { + return publisher_qos_.begin (); + } + + qosProfile::publisher_qos_iterator qosProfile:: + end_publisher_qos () + { + return publisher_qos_.end (); + } + + qosProfile::publisher_qos_const_iterator qosProfile:: + begin_publisher_qos () const + { + return publisher_qos_.begin (); + } + + qosProfile::publisher_qos_const_iterator qosProfile:: + end_publisher_qos () const + { + return publisher_qos_.end (); + } + + void qosProfile:: + add_publisher_qos (ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > const& e) + { + publisher_qos_.push_back (e); + } + + size_t qosProfile:: + count_publisher_qos(void) const + { + return publisher_qos_.size (); + } + + // qosProfile + // + qosProfile::subscriber_qos_iterator qosProfile:: + begin_subscriber_qos () + { + return subscriber_qos_.begin (); + } + + qosProfile::subscriber_qos_iterator qosProfile:: + end_subscriber_qos () + { + return subscriber_qos_.end (); + } + + qosProfile::subscriber_qos_const_iterator qosProfile:: + begin_subscriber_qos () const + { + return subscriber_qos_.begin (); + } + + qosProfile::subscriber_qos_const_iterator qosProfile:: + end_subscriber_qos () const + { + return subscriber_qos_.end (); + } + + void qosProfile:: + add_subscriber_qos (ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > const& e) + { + subscriber_qos_.push_back (e); + } + + size_t qosProfile:: + count_subscriber_qos(void) const + { + return subscriber_qos_.size (); + } + + // qosProfile + // + ::XMLSchema::string< ACE_TCHAR > const& qosProfile:: + name () const + { + return *name_; + } + + ::XMLSchema::string< ACE_TCHAR >& qosProfile:: + name () + { + return *name_; + } + + void qosProfile:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } + + // qosProfile + // + bool qosProfile:: + base_name_p () const + { + return base_name_.get () != 0; + } + + ::XMLSchema::string< ACE_TCHAR > const& qosProfile:: + base_name () const + { + return *base_name_; + } + + ::XMLSchema::string< ACE_TCHAR >& qosProfile:: + base_name () + { + return *base_name_; + } + + void qosProfile:: + base_name (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (base_name_.get ()) + { + *base_name_ = e; + } + + else + { + base_name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + base_name_->container (this); + } + } + + + // qosProfile_seq + // + + qosProfile_seq:: + qosProfile_seq () + : + regulator__ () + { + } + + qosProfile_seq:: + qosProfile_seq (qosProfile_seq const& s) + : + ::XSCRT::Type (), + qos_profile_ (s.qos_profile_), + regulator__ () + { + } + + qosProfile_seq& qosProfile_seq:: + operator= (qosProfile_seq const& s) + { + if (&s != this) + { + qos_profile_ = s.qos_profile_; + } + + return *this; + } + + + // qosProfile_seq + // + qosProfile_seq::qos_profile_iterator qosProfile_seq:: + begin_qos_profile () + { + return qos_profile_.begin (); + } + + qosProfile_seq::qos_profile_iterator qosProfile_seq:: + end_qos_profile () + { + return qos_profile_.end (); + } + + qosProfile_seq::qos_profile_const_iterator qosProfile_seq:: + begin_qos_profile () const + { + return qos_profile_.begin (); + } + + qosProfile_seq::qos_profile_const_iterator qosProfile_seq:: + end_qos_profile () const + { + return qos_profile_.end (); + } + + void qosProfile_seq:: + add_qos_profile (ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > const& e) + { + qos_profile_.push_back (e); + } + + size_t qosProfile_seq:: + count_qos_profile(void) const + { + return qos_profile_.size (); + } +} + +namespace dds +{ + // destinationOrderKind + // + + destinationOrderKind:: + destinationOrderKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l; + else if (v == ACE_TEXT ("BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l; + else + { + } + } + + destinationOrderKind:: + destinationOrderKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l; + else if (v == ACE_TEXT ("BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l; + else + { + } + } + + destinationOrderKind const destinationOrderKind::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS (destinationOrderKind::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l); + destinationOrderKind const destinationOrderKind::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS (destinationOrderKind::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l); + + // durabilityKind + // + + durabilityKind:: + durabilityKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("VOLATILE_DURABILITY_QOS")) v_ = VOLATILE_DURABILITY_QOS_l; + else if (v == ACE_TEXT ("TRANSIENT_LOCAL_DURABILITY_QOS")) v_ = TRANSIENT_LOCAL_DURABILITY_QOS_l; + else if (v == ACE_TEXT ("TRANSIENT_DURABILITY_QOS")) v_ = TRANSIENT_DURABILITY_QOS_l; + else if (v == ACE_TEXT ("PERSISTENT_DURABILITY_QOS")) v_ = PERSISTENT_DURABILITY_QOS_l; + else + { + } + } + + durabilityKind:: + durabilityKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("VOLATILE_DURABILITY_QOS")) v_ = VOLATILE_DURABILITY_QOS_l; + else if (v == ACE_TEXT ("TRANSIENT_LOCAL_DURABILITY_QOS")) v_ = TRANSIENT_LOCAL_DURABILITY_QOS_l; + else if (v == ACE_TEXT ("TRANSIENT_DURABILITY_QOS")) v_ = TRANSIENT_DURABILITY_QOS_l; + else if (v == ACE_TEXT ("PERSISTENT_DURABILITY_QOS")) v_ = PERSISTENT_DURABILITY_QOS_l; + else + { + } + } + + durabilityKind const durabilityKind::VOLATILE_DURABILITY_QOS (durabilityKind::VOLATILE_DURABILITY_QOS_l); + durabilityKind const durabilityKind::TRANSIENT_LOCAL_DURABILITY_QOS (durabilityKind::TRANSIENT_LOCAL_DURABILITY_QOS_l); + durabilityKind const durabilityKind::TRANSIENT_DURABILITY_QOS (durabilityKind::TRANSIENT_DURABILITY_QOS_l); + durabilityKind const durabilityKind::PERSISTENT_DURABILITY_QOS (durabilityKind::PERSISTENT_DURABILITY_QOS_l); + + // historyKind + // + + historyKind:: + historyKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("KEEP_LAST_HISTORY_QOS")) v_ = KEEP_LAST_HISTORY_QOS_l; + else if (v == ACE_TEXT ("KEEP_ALL_HISTORY_QOS")) v_ = KEEP_ALL_HISTORY_QOS_l; + else + { + } + } + + historyKind:: + historyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("KEEP_LAST_HISTORY_QOS")) v_ = KEEP_LAST_HISTORY_QOS_l; + else if (v == ACE_TEXT ("KEEP_ALL_HISTORY_QOS")) v_ = KEEP_ALL_HISTORY_QOS_l; + else + { + } + } + + historyKind const historyKind::KEEP_LAST_HISTORY_QOS (historyKind::KEEP_LAST_HISTORY_QOS_l); + historyKind const historyKind::KEEP_ALL_HISTORY_QOS (historyKind::KEEP_ALL_HISTORY_QOS_l); + + // livelinessKind + // + + livelinessKind:: + livelinessKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("AUTOMATIC_LIVELINESS_QOS")) v_ = AUTOMATIC_LIVELINESS_QOS_l; + else if (v == ACE_TEXT ("MANUAL_BY_PARTICIPANT_LIVELINESS_QOS")) v_ = MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l; + else if (v == ACE_TEXT ("MANUAL_BY_TOPIC_LIVELINESS_QOS")) v_ = MANUAL_BY_TOPIC_LIVELINESS_QOS_l; + else + { + } + } + + livelinessKind:: + livelinessKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("AUTOMATIC_LIVELINESS_QOS")) v_ = AUTOMATIC_LIVELINESS_QOS_l; + else if (v == ACE_TEXT ("MANUAL_BY_PARTICIPANT_LIVELINESS_QOS")) v_ = MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l; + else if (v == ACE_TEXT ("MANUAL_BY_TOPIC_LIVELINESS_QOS")) v_ = MANUAL_BY_TOPIC_LIVELINESS_QOS_l; + else + { + } + } + + livelinessKind const livelinessKind::AUTOMATIC_LIVELINESS_QOS (livelinessKind::AUTOMATIC_LIVELINESS_QOS_l); + livelinessKind const livelinessKind::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS (livelinessKind::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l); + livelinessKind const livelinessKind::MANUAL_BY_TOPIC_LIVELINESS_QOS (livelinessKind::MANUAL_BY_TOPIC_LIVELINESS_QOS_l); + + // presentationAccessScopeKind + // + + presentationAccessScopeKind:: + presentationAccessScopeKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("INSTANCE_PRESENTATION_QOS")) v_ = INSTANCE_PRESENTATION_QOS_l; + else if (v == ACE_TEXT ("TOPIC_PRESENTATION_QOS")) v_ = TOPIC_PRESENTATION_QOS_l; + else if (v == ACE_TEXT ("GROUP_PRESENTATION_QOS")) v_ = GROUP_PRESENTATION_QOS_l; + else + { + } + } + + presentationAccessScopeKind:: + presentationAccessScopeKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("INSTANCE_PRESENTATION_QOS")) v_ = INSTANCE_PRESENTATION_QOS_l; + else if (v == ACE_TEXT ("TOPIC_PRESENTATION_QOS")) v_ = TOPIC_PRESENTATION_QOS_l; + else if (v == ACE_TEXT ("GROUP_PRESENTATION_QOS")) v_ = GROUP_PRESENTATION_QOS_l; + else + { + } + } + + presentationAccessScopeKind const presentationAccessScopeKind::INSTANCE_PRESENTATION_QOS (presentationAccessScopeKind::INSTANCE_PRESENTATION_QOS_l); + presentationAccessScopeKind const presentationAccessScopeKind::TOPIC_PRESENTATION_QOS (presentationAccessScopeKind::TOPIC_PRESENTATION_QOS_l); + presentationAccessScopeKind const presentationAccessScopeKind::GROUP_PRESENTATION_QOS (presentationAccessScopeKind::GROUP_PRESENTATION_QOS_l); + + // reliabilityKind + // + + reliabilityKind:: + reliabilityKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("BEST_EFFORT_RELIABILITY_QOS")) v_ = BEST_EFFORT_RELIABILITY_QOS_l; + else if (v == ACE_TEXT ("RELIABLE_RELIABILITY_QOS")) v_ = RELIABLE_RELIABILITY_QOS_l; + else + { + } + } + + reliabilityKind:: + reliabilityKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("BEST_EFFORT_RELIABILITY_QOS")) v_ = BEST_EFFORT_RELIABILITY_QOS_l; + else if (v == ACE_TEXT ("RELIABLE_RELIABILITY_QOS")) v_ = RELIABLE_RELIABILITY_QOS_l; + else + { + } + } + + reliabilityKind const reliabilityKind::BEST_EFFORT_RELIABILITY_QOS (reliabilityKind::BEST_EFFORT_RELIABILITY_QOS_l); + reliabilityKind const reliabilityKind::RELIABLE_RELIABILITY_QOS (reliabilityKind::RELIABLE_RELIABILITY_QOS_l); + + // ownershipKind + // + + ownershipKind:: + ownershipKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == ACE_TEXT ("SHARED_OWNERSHIP_QOS")) v_ = SHARED_OWNERSHIP_QOS_l; + else if (v == ACE_TEXT ("EXCLUSIVE_OWNERSHIP_QOS")) v_ = EXCLUSIVE_OWNERSHIP_QOS_l; + else + { + } + } + + ownershipKind:: + ownershipKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == ACE_TEXT ("SHARED_OWNERSHIP_QOS")) v_ = SHARED_OWNERSHIP_QOS_l; + else if (v == ACE_TEXT ("EXCLUSIVE_OWNERSHIP_QOS")) v_ = EXCLUSIVE_OWNERSHIP_QOS_l; + else + { + } + } + + ownershipKind const ownershipKind::SHARED_OWNERSHIP_QOS (ownershipKind::SHARED_OWNERSHIP_QOS_l); + ownershipKind const ownershipKind::EXCLUSIVE_OWNERSHIP_QOS (ownershipKind::EXCLUSIVE_OWNERSHIP_QOS_l); + + // duration + // + + duration:: + duration (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "sec") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + sec (t); + } + + else if (n == "nanosec") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + nanosec (t); + } + + else + { + } + } + } + + // stringSeq + // + + stringSeq:: + stringSeq (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "element") + { + ACE_Refcounted_Auto_Ptr < ::XMLSchema::string< ACE_TCHAR >, ACE_Null_Mutex > t (new ::XMLSchema::string< ACE_TCHAR > (e)); + add_element (t); + } + + else + { + } + } + } + + // deadlineQosPolicy + // + + deadlineQosPolicy:: + deadlineQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "period") + { + ::dds::duration t (e); + period (t); + } + + else + { + } + } + } + + // destinationOrderQosPolicy + // + + destinationOrderQosPolicy:: + destinationOrderQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "kind") + { + ::dds::destinationOrderKind t (e); + kind (t); + } + + else + { + } + } + } + + // durabilityQosPolicy + // + + durabilityQosPolicy:: + durabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "kind") + { + ::dds::durabilityKind t (e); + kind (t); + } + + else + { + } + } + } + + // durabilityServiceQosPolicy + // + + durabilityServiceQosPolicy:: + durabilityServiceQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "service_cleanup_delay") + { + ::dds::duration t (e); + service_cleanup_delay (t); + } + + else if (n == "history_kind") + { + ::dds::historyKind t (e); + history_kind (t); + } + + else if (n == "history_depth") + { + ::XMLSchema::positiveInteger t (e); + history_depth (t); + } + + else if (n == "max_samples") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + max_samples (t); + } + + else if (n == "max_instances") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + max_instances (t); + } + + else if (n == "max_samples_per_instance") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + max_samples_per_instance (t); + } + + else + { + } + } + } + + // entityFactoryQosPolicy + // + + entityFactoryQosPolicy:: + entityFactoryQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "autoenable_created_entities") + { + ::XMLSchema::boolean t (e); + autoenable_created_entities (t); + } + + else + { + } + } + } + + // groupDataQosPolicy + // + + groupDataQosPolicy:: + groupDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "value") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + value (t); + } + + else + { + } + } + } + + // historyQosPolicy + // + + historyQosPolicy:: + historyQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "kind") + { + ::dds::historyKind t (e); + kind (t); + } + + else if (n == "depth") + { + ::XMLSchema::positiveInteger t (e); + depth (t); + } + + else + { + } + } + } + + // latencyBudgetQosPolicy + // + + latencyBudgetQosPolicy:: + latencyBudgetQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "duration") + { + ::dds::duration t (e); + duration (t); + } + + else + { + } + } + } + + // lifespanQosPolicy + // + + lifespanQosPolicy:: + lifespanQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "duration") + { + ::dds::duration t (e); + duration (t); + } + + else + { + } + } + } + + // livelinessQosPolicy + // + + livelinessQosPolicy:: + livelinessQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "kind") + { + ::dds::livelinessKind t (e); + kind (t); + } + + else if (n == "lease_duration") + { + ::dds::duration t (e); + lease_duration (t); + } + + else + { + } + } + } + + // ownershipQosPolicy + // + + ownershipQosPolicy:: + ownershipQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "kind") + { + ::dds::ownershipKind t (e); + kind (t); + } + + else + { + } + } + } + + // ownershipStrengthQosPolicy + // + + ownershipStrengthQosPolicy:: + ownershipStrengthQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "value") + { + ::XMLSchema::nonNegativeInteger t (e); + value (t); + } + + else + { + } + } + } + + // partitionQosPolicy + // + + partitionQosPolicy:: + partitionQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "name") + { + ::dds::stringSeq t (e); + name (t); + } + + else + { + } + } + } + + // presentationQosPolicy + // + + presentationQosPolicy:: + presentationQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "access_scope") + { + ::dds::presentationAccessScopeKind t (e); + access_scope (t); + } + + else if (n == "coherent_access") + { + ::XMLSchema::boolean t (e); + coherent_access (t); + } + + else if (n == "ordered_access") + { + ::XMLSchema::boolean t (e); + ordered_access (t); + } + + else + { + } + } + } + + // readerDataLifecycleQosPolicy + // + + readerDataLifecycleQosPolicy:: + readerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "autopurge_nowriter_samples_delay") + { + ::dds::duration t (e); + autopurge_nowriter_samples_delay (t); + } + + else if (n == "autopurge_disposed_samples_delay") + { + ::dds::duration t (e); + autopurge_disposed_samples_delay (t); + } + + else + { + } + } + } + + // reliabilityQosPolicy + // + + reliabilityQosPolicy:: + reliabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "kind") + { + ::dds::reliabilityKind t (e); + kind (t); + } + + else if (n == "max_blocking_time") + { + ::dds::duration t (e); + max_blocking_time (t); + } + + else + { + } + } + } + + // resourceLimitsQosPolicy + // + + resourceLimitsQosPolicy:: + resourceLimitsQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "max_samples") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + max_samples (t); + } + + else if (n == "max_instances") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + max_instances (t); + } + + else if (n == "max_samples_per_instance") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + max_samples_per_instance (t); + } + + else if (n == "initial_samples") + { + ::XMLSchema::positiveInteger t (e); + initial_samples (t); + } + + else if (n == "initial_instances") + { + ::XMLSchema::positiveInteger t (e); + initial_instances (t); + } + + else + { + } + } + } + + // timeBasedFilterQosPolicy + // + + timeBasedFilterQosPolicy:: + timeBasedFilterQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "minimum_separation") + { + ::dds::duration t (e); + minimum_separation (t); + } + + else + { + } + } + } + + // topicDataQosPolicy + // + + topicDataQosPolicy:: + topicDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "value") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + value (t); + } + + else + { + } + } + } + + // transportPriorityQosPolicy + // + + transportPriorityQosPolicy:: + transportPriorityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "value") + { + ::XMLSchema::nonNegativeInteger t (e); + value (t); + } + + else + { + } + } + } + + // userDataQosPolicy + // + + userDataQosPolicy:: + userDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "value") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + value (t); + } + + else + { + } + } + } + + // writerDataLifecycleQosPolicy + // + + writerDataLifecycleQosPolicy:: + writerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "autodispose_unregistered_instances") + { + ::XMLSchema::boolean t (e); + autodispose_unregistered_instances (t); + } + + else + { + } + } + } + + // domainparticipantQos + // + + domainparticipantQos:: + domainparticipantQos (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "user_data") + { + ::dds::userDataQosPolicy t (e); + user_data (t); + } + + else if (n == "entity_factory") + { + ::dds::entityFactoryQosPolicy t (e); + entity_factory (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + name (t); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else if (n == ACE_TEXT ("topic_filter")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + topic_filter (t); + } + + else + { + } + } + } + + // publisherQos + // + + publisherQos:: + publisherQos (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "presentation") + { + ::dds::presentationQosPolicy t (e); + presentation (t); + } + + else if (n == "partition") + { + ::dds::partitionQosPolicy t (e); + partition (t); + } + + else if (n == "group_data") + { + ::dds::groupDataQosPolicy t (e); + group_data (t); + } + + else if (n == "entity_factory") + { + ::dds::entityFactoryQosPolicy t (e); + entity_factory (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + name (t); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else if (n == ACE_TEXT ("topic_filter")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + topic_filter (t); + } + + else + { + } + } + } + + // subscriberQos + // + + subscriberQos:: + subscriberQos (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "presentation") + { + ::dds::presentationQosPolicy t (e); + presentation (t); + } + + else if (n == "partition") + { + ::dds::partitionQosPolicy t (e); + partition (t); + } + + else if (n == "group_data") + { + ::dds::groupDataQosPolicy t (e); + group_data (t); + } + + else if (n == "entity_factory") + { + ::dds::entityFactoryQosPolicy t (e); + entity_factory (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + name (t); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else if (n == ACE_TEXT ("topic_filter")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + topic_filter (t); + } + + else + { + } + } + } + + // topicQos + // + + topicQos:: + topicQos (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "topic_data") + { + ::dds::topicDataQosPolicy t (e); + topic_data (t); + } + + else if (n == "durability") + { + ::dds::durabilityQosPolicy t (e); + durability (t); + } + + else if (n == "durability_service") + { + ::dds::durabilityServiceQosPolicy t (e); + durability_service (t); + } + + else if (n == "deadline") + { + ::dds::deadlineQosPolicy t (e); + deadline (t); + } + + else if (n == "latency_budget") + { + ::dds::latencyBudgetQosPolicy t (e); + latency_budget (t); + } + + else if (n == "liveliness") + { + ::dds::livelinessQosPolicy t (e); + liveliness (t); + } + + else if (n == "reliability") + { + ::dds::reliabilityQosPolicy t (e); + reliability (t); + } + + else if (n == "destination_order") + { + ::dds::destinationOrderQosPolicy t (e); + destination_order (t); + } + + else if (n == "history") + { + ::dds::historyQosPolicy t (e); + history (t); + } + + else if (n == "resource_limits") + { + ::dds::resourceLimitsQosPolicy t (e); + resource_limits (t); + } + + else if (n == "transport_priority") + { + ::dds::transportPriorityQosPolicy t (e); + transport_priority (t); + } + + else if (n == "lifespan") + { + ::dds::lifespanQosPolicy t (e); + lifespan (t); + } + + else if (n == "ownership") + { + ::dds::ownershipQosPolicy t (e); + ownership (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + name (t); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else if (n == ACE_TEXT ("topic_filter")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + topic_filter (t); + } + + else + { + } + } + } + + // datareaderQos + // + + datareaderQos:: + datareaderQos (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "durability") + { + ::dds::durabilityQosPolicy t (e); + durability (t); + } + + else if (n == "deadline") + { + ::dds::deadlineQosPolicy t (e); + deadline (t); + } + + else if (n == "latency_budget") + { + ::dds::latencyBudgetQosPolicy t (e); + latency_budget (t); + } + + else if (n == "liveliness") + { + ::dds::livelinessQosPolicy t (e); + liveliness (t); + } + + else if (n == "reliability") + { + ::dds::reliabilityQosPolicy t (e); + reliability (t); + } + + else if (n == "destination_order") + { + ::dds::destinationOrderQosPolicy t (e); + destination_order (t); + } + + else if (n == "history") + { + ::dds::historyQosPolicy t (e); + history (t); + } + + else if (n == "resource_limits") + { + ::dds::resourceLimitsQosPolicy t (e); + resource_limits (t); + } + + else if (n == "user_data") + { + ::dds::userDataQosPolicy t (e); + user_data (t); + } + + else if (n == "ownership") + { + ::dds::ownershipQosPolicy t (e); + ownership (t); + } + + else if (n == "time_based_filter") + { + ::dds::timeBasedFilterQosPolicy t (e); + time_based_filter (t); + } + + else if (n == "reader_data_lifecycle") + { + ::dds::readerDataLifecycleQosPolicy t (e); + reader_data_lifecycle (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + name (t); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else if (n == ACE_TEXT ("topic_filter")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + topic_filter (t); + } + + else + { + } + } + } + + // datawriterQos + // + + datawriterQos:: + datawriterQos (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "durability") + { + ::dds::durabilityQosPolicy t (e); + durability (t); + } + + else if (n == "durability_service") + { + ::dds::durabilityServiceQosPolicy t (e); + durability_service (t); + } + + else if (n == "deadline") + { + ::dds::deadlineQosPolicy t (e); + deadline (t); + } + + else if (n == "latency_budget") + { + ::dds::latencyBudgetQosPolicy t (e); + latency_budget (t); + } + + else if (n == "liveliness") + { + ::dds::livelinessQosPolicy t (e); + liveliness (t); + } + + else if (n == "reliability") + { + ::dds::reliabilityQosPolicy t (e); + reliability (t); + } + + else if (n == "destination_order") + { + ::dds::destinationOrderQosPolicy t (e); + destination_order (t); + } + + else if (n == "history") + { + ::dds::historyQosPolicy t (e); + history (t); + } + + else if (n == "resource_limits") + { + ::dds::resourceLimitsQosPolicy t (e); + resource_limits (t); + } + + else if (n == "transport_priority") + { + ::dds::transportPriorityQosPolicy t (e); + transport_priority (t); + } + + else if (n == "lifespan") + { + ::dds::lifespanQosPolicy t (e); + lifespan (t); + } + + else if (n == "user_data") + { + ::dds::userDataQosPolicy t (e); + user_data (t); + } + + else if (n == "ownership") + { + ::dds::ownershipQosPolicy t (e); + ownership (t); + } + + else if (n == "ownership_strength") + { + ::dds::ownershipStrengthQosPolicy t (e); + ownership_strength (t); + } + + else if (n == "writer_data_lifecycle") + { + ::dds::writerDataLifecycleQosPolicy t (e); + writer_data_lifecycle (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + name (t); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else if (n == ACE_TEXT ("topic_filter")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + topic_filter (t); + } + + else + { + } + } + } + + // qosProfile + // + + qosProfile:: + qosProfile (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "datareader_qos") + { + ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > t (new ::dds::datareaderQos (e)); + add_datareader_qos (t); + } + + else if (n == "datawriter_qos") + { + ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > t (new ::dds::datawriterQos (e)); + add_datawriter_qos (t); + } + + else if (n == "topic_qos") + { + ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > t (new ::dds::topicQos (e)); + add_topic_qos (t); + } + + else if (n == "domainparticipant_qos") + { + ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > t (new ::dds::domainparticipantQos (e)); + add_domainparticipant_qos (t); + } + + else if (n == "publisher_qos") + { + ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > t (new ::dds::publisherQos (e)); + add_publisher_qos (t); + } + + else if (n == "subscriber_qos") + { + ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > t (new ::dds::subscriberQos (e)); + add_subscriber_qos (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == ACE_TEXT ("name")) + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (a)); + name_->container (this); + } + + else if (n == ACE_TEXT ("base_name")) + { + ::XMLSchema::string< ACE_TCHAR > t (a); + base_name (t); + } + + else + { + } + } + } + + // qosProfile_seq + // + + qosProfile_seq:: + qosProfile_seq (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base (e), regulator__ () + { + + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "qos_profile") + { + ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > t (new ::dds::qosProfile (e)); + add_qos_profile (t); + } + + else + { + } + } + } +} + +namespace dds +{ + namespace reader + { + ::dds::qosProfile_seq + dds (xercesc::DOMDocument const* d) + { + //Initiate our Singleton as an ACE_TSS object (ensures thread + //specific storage + ID_Map::TSS_ID_Map* TSS_ID_Map (ACE_Singleton<ID_Map::TSS_ID_Map, ACE_Null_Mutex>::instance()); + + + ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); + if (e.name () == ACE_TEXT("dds")) + { + ::dds::qosProfile_seq r (e); + + (*TSS_ID_Map)->resolve_idref(); + + return r; + } + + else + { + throw 1; + } + } + } +} + +#include "XMLSchema/TypeInfo.hpp" + +namespace dds +{ + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct destinationOrderKindTypeInfoInitializer + { + destinationOrderKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (destinationOrderKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + destinationOrderKindTypeInfoInitializer destinationOrderKindTypeInfoInitializer_; + + struct durabilityKindTypeInfoInitializer + { + durabilityKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (durabilityKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + durabilityKindTypeInfoInitializer durabilityKindTypeInfoInitializer_; + + struct historyKindTypeInfoInitializer + { + historyKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (historyKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + historyKindTypeInfoInitializer historyKindTypeInfoInitializer_; + + struct livelinessKindTypeInfoInitializer + { + livelinessKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (livelinessKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + livelinessKindTypeInfoInitializer livelinessKindTypeInfoInitializer_; + + struct presentationAccessScopeKindTypeInfoInitializer + { + presentationAccessScopeKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (presentationAccessScopeKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + presentationAccessScopeKindTypeInfoInitializer presentationAccessScopeKindTypeInfoInitializer_; + + struct reliabilityKindTypeInfoInitializer + { + reliabilityKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (reliabilityKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + reliabilityKindTypeInfoInitializer reliabilityKindTypeInfoInitializer_; + + struct ownershipKindTypeInfoInitializer + { + ownershipKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ownershipKind)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + ownershipKindTypeInfoInitializer ownershipKindTypeInfoInitializer_; + + struct durationTypeInfoInitializer + { + durationTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::duration)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + durationTypeInfoInitializer durationTypeInfoInitializer_; + + struct stringSeqTypeInfoInitializer + { + stringSeqTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::stringSeq)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + stringSeqTypeInfoInitializer stringSeqTypeInfoInitializer_; + + struct deadlineQosPolicyTypeInfoInitializer + { + deadlineQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::deadlineQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + deadlineQosPolicyTypeInfoInitializer deadlineQosPolicyTypeInfoInitializer_; + + struct destinationOrderQosPolicyTypeInfoInitializer + { + destinationOrderQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::destinationOrderQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + destinationOrderQosPolicyTypeInfoInitializer destinationOrderQosPolicyTypeInfoInitializer_; + + struct durabilityQosPolicyTypeInfoInitializer + { + durabilityQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::durabilityQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + durabilityQosPolicyTypeInfoInitializer durabilityQosPolicyTypeInfoInitializer_; + + struct durabilityServiceQosPolicyTypeInfoInitializer + { + durabilityServiceQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::durabilityServiceQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + durabilityServiceQosPolicyTypeInfoInitializer durabilityServiceQosPolicyTypeInfoInitializer_; + + struct entityFactoryQosPolicyTypeInfoInitializer + { + entityFactoryQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::entityFactoryQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + entityFactoryQosPolicyTypeInfoInitializer entityFactoryQosPolicyTypeInfoInitializer_; + + struct groupDataQosPolicyTypeInfoInitializer + { + groupDataQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::groupDataQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + groupDataQosPolicyTypeInfoInitializer groupDataQosPolicyTypeInfoInitializer_; + + struct historyQosPolicyTypeInfoInitializer + { + historyQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::historyQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + historyQosPolicyTypeInfoInitializer historyQosPolicyTypeInfoInitializer_; + + struct latencyBudgetQosPolicyTypeInfoInitializer + { + latencyBudgetQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::latencyBudgetQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + latencyBudgetQosPolicyTypeInfoInitializer latencyBudgetQosPolicyTypeInfoInitializer_; + + struct lifespanQosPolicyTypeInfoInitializer + { + lifespanQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::lifespanQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + lifespanQosPolicyTypeInfoInitializer lifespanQosPolicyTypeInfoInitializer_; + + struct livelinessQosPolicyTypeInfoInitializer + { + livelinessQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::livelinessQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + livelinessQosPolicyTypeInfoInitializer livelinessQosPolicyTypeInfoInitializer_; + + struct ownershipQosPolicyTypeInfoInitializer + { + ownershipQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::ownershipQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + ownershipQosPolicyTypeInfoInitializer ownershipQosPolicyTypeInfoInitializer_; + + struct ownershipStrengthQosPolicyTypeInfoInitializer + { + ownershipStrengthQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::ownershipStrengthQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + ownershipStrengthQosPolicyTypeInfoInitializer ownershipStrengthQosPolicyTypeInfoInitializer_; + + struct partitionQosPolicyTypeInfoInitializer + { + partitionQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::partitionQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + partitionQosPolicyTypeInfoInitializer partitionQosPolicyTypeInfoInitializer_; + + struct presentationQosPolicyTypeInfoInitializer + { + presentationQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::presentationQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + presentationQosPolicyTypeInfoInitializer presentationQosPolicyTypeInfoInitializer_; + + struct readerDataLifecycleQosPolicyTypeInfoInitializer + { + readerDataLifecycleQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::readerDataLifecycleQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + readerDataLifecycleQosPolicyTypeInfoInitializer readerDataLifecycleQosPolicyTypeInfoInitializer_; + + struct reliabilityQosPolicyTypeInfoInitializer + { + reliabilityQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::reliabilityQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + reliabilityQosPolicyTypeInfoInitializer reliabilityQosPolicyTypeInfoInitializer_; + + struct resourceLimitsQosPolicyTypeInfoInitializer + { + resourceLimitsQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::resourceLimitsQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + resourceLimitsQosPolicyTypeInfoInitializer resourceLimitsQosPolicyTypeInfoInitializer_; + + struct timeBasedFilterQosPolicyTypeInfoInitializer + { + timeBasedFilterQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::timeBasedFilterQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + timeBasedFilterQosPolicyTypeInfoInitializer timeBasedFilterQosPolicyTypeInfoInitializer_; + + struct topicDataQosPolicyTypeInfoInitializer + { + topicDataQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::topicDataQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + topicDataQosPolicyTypeInfoInitializer topicDataQosPolicyTypeInfoInitializer_; + + struct transportPriorityQosPolicyTypeInfoInitializer + { + transportPriorityQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::transportPriorityQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + transportPriorityQosPolicyTypeInfoInitializer transportPriorityQosPolicyTypeInfoInitializer_; + + struct userDataQosPolicyTypeInfoInitializer + { + userDataQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::userDataQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + userDataQosPolicyTypeInfoInitializer userDataQosPolicyTypeInfoInitializer_; + + struct writerDataLifecycleQosPolicyTypeInfoInitializer + { + writerDataLifecycleQosPolicyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::writerDataLifecycleQosPolicy)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + writerDataLifecycleQosPolicyTypeInfoInitializer writerDataLifecycleQosPolicyTypeInfoInitializer_; + + struct domainparticipantQosTypeInfoInitializer + { + domainparticipantQosTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::domainparticipantQos)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + domainparticipantQosTypeInfoInitializer domainparticipantQosTypeInfoInitializer_; + + struct publisherQosTypeInfoInitializer + { + publisherQosTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::publisherQos)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + publisherQosTypeInfoInitializer publisherQosTypeInfoInitializer_; + + struct subscriberQosTypeInfoInitializer + { + subscriberQosTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::subscriberQos)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + subscriberQosTypeInfoInitializer subscriberQosTypeInfoInitializer_; + + struct topicQosTypeInfoInitializer + { + topicQosTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::topicQos)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + topicQosTypeInfoInitializer topicQosTypeInfoInitializer_; + + struct datareaderQosTypeInfoInitializer + { + datareaderQosTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::datareaderQos)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + datareaderQosTypeInfoInitializer datareaderQosTypeInfoInitializer_; + + struct datawriterQosTypeInfoInitializer + { + datawriterQosTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::datawriterQos)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + datawriterQosTypeInfoInitializer datawriterQosTypeInfoInitializer_; + + struct qosProfileTypeInfoInitializer + { + qosProfileTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::qosProfile)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + qosProfileTypeInfoInitializer qosProfileTypeInfoInitializer_; + + struct qosProfile_seqTypeInfoInitializer + { + qosProfile_seqTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (::dds::qosProfile_seq)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + qosProfile_seqTypeInfoInitializer qosProfile_seqTypeInfoInitializer_; + } +} + +namespace dds +{ + namespace Traversal + { + // duration + // + // + + void duration:: + traverse (Type& o) + { + pre (o); + if (o.sec_p ()) sec (o); + else sec_none (o); + if (o.nanosec_p ()) nanosec (o); + else nanosec_none (o); + post (o); + } + + void duration:: + traverse (Type const& o) + { + pre (o); + if (o.sec_p ()) sec (o); + else sec_none (o); + if (o.nanosec_p ()) nanosec (o); + else nanosec_none (o); + post (o); + } + + void duration:: + pre (Type&) + { + } + + void duration:: + pre (Type const&) + { + } + + void duration:: + sec (Type& o) + { + dispatch (o.sec ()); + } + + void duration:: + sec (Type const& o) + { + dispatch (o.sec ()); + } + + void duration:: + sec_none (Type&) + { + } + + void duration:: + sec_none (Type const&) + { + } + + void duration:: + nanosec (Type& o) + { + dispatch (o.nanosec ()); + } + + void duration:: + nanosec (Type const& o) + { + dispatch (o.nanosec ()); + } + + void duration:: + nanosec_none (Type&) + { + } + + void duration:: + nanosec_none (Type const&) + { + } + + void duration:: + post (Type&) + { + } + + void duration:: + post (Type const&) + { + } + + // stringSeq + // + // + + void stringSeq:: + traverse (Type& o) + { + pre (o); + element (o); + post (o); + } + + void stringSeq:: + traverse (Type const& o) + { + pre (o); + element (o); + post (o); + } + + void stringSeq:: + pre (Type&) + { + } + + void stringSeq:: + pre (Type const&) + { + } + + void stringSeq:: + element (Type& o) + { + // VC6 anathema strikes again + // + ::dds::stringSeq::element_iterator b (o.begin_element()), e (o.end_element()); + + if (b != e) + { + element_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) element_next (o); + } + + element_post (o); + } + + else element_none (o); + } + + void stringSeq:: + element (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::stringSeq::element_const_iterator b (o.begin_element()), e (o.end_element()); + + if (b != e) + { + element_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) element_next (o); + } + + element_post (o); + } + + else element_none (o); + } + + void stringSeq:: + element_pre (Type&) + { + } + + void stringSeq:: + element_pre (Type const&) + { + } + + void stringSeq:: + element_next (Type&) + { + } + + void stringSeq:: + element_next (Type const&) + { + } + + void stringSeq:: + element_post (Type&) + { + } + + void stringSeq:: + element_post (Type const&) + { + } + + void stringSeq:: + element_none (Type&) + { + } + + void stringSeq:: + element_none (Type const&) + { + } + + void stringSeq:: + post (Type&) + { + } + + void stringSeq:: + post (Type const&) + { + } + + // deadlineQosPolicy + // + // + + void deadlineQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.period_p ()) period (o); + else period_none (o); + post (o); + } + + void deadlineQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.period_p ()) period (o); + else period_none (o); + post (o); + } + + void deadlineQosPolicy:: + pre (Type&) + { + } + + void deadlineQosPolicy:: + pre (Type const&) + { + } + + void deadlineQosPolicy:: + period (Type& o) + { + dispatch (o.period ()); + } + + void deadlineQosPolicy:: + period (Type const& o) + { + dispatch (o.period ()); + } + + void deadlineQosPolicy:: + period_none (Type&) + { + } + + void deadlineQosPolicy:: + period_none (Type const&) + { + } + + void deadlineQosPolicy:: + post (Type&) + { + } + + void deadlineQosPolicy:: + post (Type const&) + { + } + + // destinationOrderQosPolicy + // + // + + void destinationOrderQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void destinationOrderQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void destinationOrderQosPolicy:: + pre (Type&) + { + } + + void destinationOrderQosPolicy:: + pre (Type const&) + { + } + + void destinationOrderQosPolicy:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void destinationOrderQosPolicy:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void destinationOrderQosPolicy:: + kind_none (Type&) + { + } + + void destinationOrderQosPolicy:: + kind_none (Type const&) + { + } + + void destinationOrderQosPolicy:: + post (Type&) + { + } + + void destinationOrderQosPolicy:: + post (Type const&) + { + } + + // durabilityQosPolicy + // + // + + void durabilityQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void durabilityQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void durabilityQosPolicy:: + pre (Type&) + { + } + + void durabilityQosPolicy:: + pre (Type const&) + { + } + + void durabilityQosPolicy:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void durabilityQosPolicy:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void durabilityQosPolicy:: + kind_none (Type&) + { + } + + void durabilityQosPolicy:: + kind_none (Type const&) + { + } + + void durabilityQosPolicy:: + post (Type&) + { + } + + void durabilityQosPolicy:: + post (Type const&) + { + } + + // durabilityServiceQosPolicy + // + // + + void durabilityServiceQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.service_cleanup_delay_p ()) service_cleanup_delay (o); + else service_cleanup_delay_none (o); + if (o.history_kind_p ()) history_kind (o); + else history_kind_none (o); + if (o.history_depth_p ()) history_depth (o); + else history_depth_none (o); + if (o.max_samples_p ()) max_samples (o); + else max_samples_none (o); + if (o.max_instances_p ()) max_instances (o); + else max_instances_none (o); + if (o.max_samples_per_instance_p ()) max_samples_per_instance (o); + else max_samples_per_instance_none (o); + post (o); + } + + void durabilityServiceQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.service_cleanup_delay_p ()) service_cleanup_delay (o); + else service_cleanup_delay_none (o); + if (o.history_kind_p ()) history_kind (o); + else history_kind_none (o); + if (o.history_depth_p ()) history_depth (o); + else history_depth_none (o); + if (o.max_samples_p ()) max_samples (o); + else max_samples_none (o); + if (o.max_instances_p ()) max_instances (o); + else max_instances_none (o); + if (o.max_samples_per_instance_p ()) max_samples_per_instance (o); + else max_samples_per_instance_none (o); + post (o); + } + + void durabilityServiceQosPolicy:: + pre (Type&) + { + } + + void durabilityServiceQosPolicy:: + pre (Type const&) + { + } + + void durabilityServiceQosPolicy:: + service_cleanup_delay (Type& o) + { + dispatch (o.service_cleanup_delay ()); + } + + void durabilityServiceQosPolicy:: + service_cleanup_delay (Type const& o) + { + dispatch (o.service_cleanup_delay ()); + } + + void durabilityServiceQosPolicy:: + service_cleanup_delay_none (Type&) + { + } + + void durabilityServiceQosPolicy:: + service_cleanup_delay_none (Type const&) + { + } + + void durabilityServiceQosPolicy:: + history_kind (Type& o) + { + dispatch (o.history_kind ()); + } + + void durabilityServiceQosPolicy:: + history_kind (Type const& o) + { + dispatch (o.history_kind ()); + } + + void durabilityServiceQosPolicy:: + history_kind_none (Type&) + { + } + + void durabilityServiceQosPolicy:: + history_kind_none (Type const&) + { + } + + void durabilityServiceQosPolicy:: + history_depth (Type& o) + { + dispatch (o.history_depth ()); + } + + void durabilityServiceQosPolicy:: + history_depth (Type const& o) + { + dispatch (o.history_depth ()); + } + + void durabilityServiceQosPolicy:: + history_depth_none (Type&) + { + } + + void durabilityServiceQosPolicy:: + history_depth_none (Type const&) + { + } + + void durabilityServiceQosPolicy:: + max_samples (Type& o) + { + dispatch (o.max_samples ()); + } + + void durabilityServiceQosPolicy:: + max_samples (Type const& o) + { + dispatch (o.max_samples ()); + } + + void durabilityServiceQosPolicy:: + max_samples_none (Type&) + { + } + + void durabilityServiceQosPolicy:: + max_samples_none (Type const&) + { + } + + void durabilityServiceQosPolicy:: + max_instances (Type& o) + { + dispatch (o.max_instances ()); + } + + void durabilityServiceQosPolicy:: + max_instances (Type const& o) + { + dispatch (o.max_instances ()); + } + + void durabilityServiceQosPolicy:: + max_instances_none (Type&) + { + } + + void durabilityServiceQosPolicy:: + max_instances_none (Type const&) + { + } + + void durabilityServiceQosPolicy:: + max_samples_per_instance (Type& o) + { + dispatch (o.max_samples_per_instance ()); + } + + void durabilityServiceQosPolicy:: + max_samples_per_instance (Type const& o) + { + dispatch (o.max_samples_per_instance ()); + } + + void durabilityServiceQosPolicy:: + max_samples_per_instance_none (Type&) + { + } + + void durabilityServiceQosPolicy:: + max_samples_per_instance_none (Type const&) + { + } + + void durabilityServiceQosPolicy:: + post (Type&) + { + } + + void durabilityServiceQosPolicy:: + post (Type const&) + { + } + + // entityFactoryQosPolicy + // + // + + void entityFactoryQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.autoenable_created_entities_p ()) autoenable_created_entities (o); + else autoenable_created_entities_none (o); + post (o); + } + + void entityFactoryQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.autoenable_created_entities_p ()) autoenable_created_entities (o); + else autoenable_created_entities_none (o); + post (o); + } + + void entityFactoryQosPolicy:: + pre (Type&) + { + } + + void entityFactoryQosPolicy:: + pre (Type const&) + { + } + + void entityFactoryQosPolicy:: + autoenable_created_entities (Type& o) + { + dispatch (o.autoenable_created_entities ()); + } + + void entityFactoryQosPolicy:: + autoenable_created_entities (Type const& o) + { + dispatch (o.autoenable_created_entities ()); + } + + void entityFactoryQosPolicy:: + autoenable_created_entities_none (Type&) + { + } + + void entityFactoryQosPolicy:: + autoenable_created_entities_none (Type const&) + { + } + + void entityFactoryQosPolicy:: + post (Type&) + { + } + + void entityFactoryQosPolicy:: + post (Type const&) + { + } + + // groupDataQosPolicy + // + // + + void groupDataQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void groupDataQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void groupDataQosPolicy:: + pre (Type&) + { + } + + void groupDataQosPolicy:: + pre (Type const&) + { + } + + void groupDataQosPolicy:: + value (Type& o) + { + dispatch (o.value ()); + } + + void groupDataQosPolicy:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void groupDataQosPolicy:: + value_none (Type&) + { + } + + void groupDataQosPolicy:: + value_none (Type const&) + { + } + + void groupDataQosPolicy:: + post (Type&) + { + } + + void groupDataQosPolicy:: + post (Type const&) + { + } + + // historyQosPolicy + // + // + + void historyQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + if (o.depth_p ()) depth (o); + else depth_none (o); + post (o); + } + + void historyQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + if (o.depth_p ()) depth (o); + else depth_none (o); + post (o); + } + + void historyQosPolicy:: + pre (Type&) + { + } + + void historyQosPolicy:: + pre (Type const&) + { + } + + void historyQosPolicy:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void historyQosPolicy:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void historyQosPolicy:: + kind_none (Type&) + { + } + + void historyQosPolicy:: + kind_none (Type const&) + { + } + + void historyQosPolicy:: + depth (Type& o) + { + dispatch (o.depth ()); + } + + void historyQosPolicy:: + depth (Type const& o) + { + dispatch (o.depth ()); + } + + void historyQosPolicy:: + depth_none (Type&) + { + } + + void historyQosPolicy:: + depth_none (Type const&) + { + } + + void historyQosPolicy:: + post (Type&) + { + } + + void historyQosPolicy:: + post (Type const&) + { + } + + // latencyBudgetQosPolicy + // + // + + void latencyBudgetQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.duration_p ()) duration (o); + else duration_none (o); + post (o); + } + + void latencyBudgetQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.duration_p ()) duration (o); + else duration_none (o); + post (o); + } + + void latencyBudgetQosPolicy:: + pre (Type&) + { + } + + void latencyBudgetQosPolicy:: + pre (Type const&) + { + } + + void latencyBudgetQosPolicy:: + duration (Type& o) + { + dispatch (o.duration ()); + } + + void latencyBudgetQosPolicy:: + duration (Type const& o) + { + dispatch (o.duration ()); + } + + void latencyBudgetQosPolicy:: + duration_none (Type&) + { + } + + void latencyBudgetQosPolicy:: + duration_none (Type const&) + { + } + + void latencyBudgetQosPolicy:: + post (Type&) + { + } + + void latencyBudgetQosPolicy:: + post (Type const&) + { + } + + // lifespanQosPolicy + // + // + + void lifespanQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.duration_p ()) duration (o); + else duration_none (o); + post (o); + } + + void lifespanQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.duration_p ()) duration (o); + else duration_none (o); + post (o); + } + + void lifespanQosPolicy:: + pre (Type&) + { + } + + void lifespanQosPolicy:: + pre (Type const&) + { + } + + void lifespanQosPolicy:: + duration (Type& o) + { + dispatch (o.duration ()); + } + + void lifespanQosPolicy:: + duration (Type const& o) + { + dispatch (o.duration ()); + } + + void lifespanQosPolicy:: + duration_none (Type&) + { + } + + void lifespanQosPolicy:: + duration_none (Type const&) + { + } + + void lifespanQosPolicy:: + post (Type&) + { + } + + void lifespanQosPolicy:: + post (Type const&) + { + } + + // livelinessQosPolicy + // + // + + void livelinessQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + if (o.lease_duration_p ()) lease_duration (o); + else lease_duration_none (o); + post (o); + } + + void livelinessQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + if (o.lease_duration_p ()) lease_duration (o); + else lease_duration_none (o); + post (o); + } + + void livelinessQosPolicy:: + pre (Type&) + { + } + + void livelinessQosPolicy:: + pre (Type const&) + { + } + + void livelinessQosPolicy:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void livelinessQosPolicy:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void livelinessQosPolicy:: + kind_none (Type&) + { + } + + void livelinessQosPolicy:: + kind_none (Type const&) + { + } + + void livelinessQosPolicy:: + lease_duration (Type& o) + { + dispatch (o.lease_duration ()); + } + + void livelinessQosPolicy:: + lease_duration (Type const& o) + { + dispatch (o.lease_duration ()); + } + + void livelinessQosPolicy:: + lease_duration_none (Type&) + { + } + + void livelinessQosPolicy:: + lease_duration_none (Type const&) + { + } + + void livelinessQosPolicy:: + post (Type&) + { + } + + void livelinessQosPolicy:: + post (Type const&) + { + } + + // ownershipQosPolicy + // + // + + void ownershipQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void ownershipQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void ownershipQosPolicy:: + pre (Type&) + { + } + + void ownershipQosPolicy:: + pre (Type const&) + { + } + + void ownershipQosPolicy:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void ownershipQosPolicy:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void ownershipQosPolicy:: + kind_none (Type&) + { + } + + void ownershipQosPolicy:: + kind_none (Type const&) + { + } + + void ownershipQosPolicy:: + post (Type&) + { + } + + void ownershipQosPolicy:: + post (Type const&) + { + } + + // ownershipStrengthQosPolicy + // + // + + void ownershipStrengthQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void ownershipStrengthQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void ownershipStrengthQosPolicy:: + pre (Type&) + { + } + + void ownershipStrengthQosPolicy:: + pre (Type const&) + { + } + + void ownershipStrengthQosPolicy:: + value (Type& o) + { + dispatch (o.value ()); + } + + void ownershipStrengthQosPolicy:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void ownershipStrengthQosPolicy:: + value_none (Type&) + { + } + + void ownershipStrengthQosPolicy:: + value_none (Type const&) + { + } + + void ownershipStrengthQosPolicy:: + post (Type&) + { + } + + void ownershipStrengthQosPolicy:: + post (Type const&) + { + } + + // partitionQosPolicy + // + // + + void partitionQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.name_p ()) name (o); + else name_none (o); + post (o); + } + + void partitionQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.name_p ()) name (o); + else name_none (o); + post (o); + } + + void partitionQosPolicy:: + pre (Type&) + { + } + + void partitionQosPolicy:: + pre (Type const&) + { + } + + void partitionQosPolicy:: + name (Type& o) + { + dispatch (o.name ()); + } + + void partitionQosPolicy:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void partitionQosPolicy:: + name_none (Type&) + { + } + + void partitionQosPolicy:: + name_none (Type const&) + { + } + + void partitionQosPolicy:: + post (Type&) + { + } + + void partitionQosPolicy:: + post (Type const&) + { + } + + // presentationQosPolicy + // + // + + void presentationQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.access_scope_p ()) access_scope (o); + else access_scope_none (o); + if (o.coherent_access_p ()) coherent_access (o); + else coherent_access_none (o); + if (o.ordered_access_p ()) ordered_access (o); + else ordered_access_none (o); + post (o); + } + + void presentationQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.access_scope_p ()) access_scope (o); + else access_scope_none (o); + if (o.coherent_access_p ()) coherent_access (o); + else coherent_access_none (o); + if (o.ordered_access_p ()) ordered_access (o); + else ordered_access_none (o); + post (o); + } + + void presentationQosPolicy:: + pre (Type&) + { + } + + void presentationQosPolicy:: + pre (Type const&) + { + } + + void presentationQosPolicy:: + access_scope (Type& o) + { + dispatch (o.access_scope ()); + } + + void presentationQosPolicy:: + access_scope (Type const& o) + { + dispatch (o.access_scope ()); + } + + void presentationQosPolicy:: + access_scope_none (Type&) + { + } + + void presentationQosPolicy:: + access_scope_none (Type const&) + { + } + + void presentationQosPolicy:: + coherent_access (Type& o) + { + dispatch (o.coherent_access ()); + } + + void presentationQosPolicy:: + coherent_access (Type const& o) + { + dispatch (o.coherent_access ()); + } + + void presentationQosPolicy:: + coherent_access_none (Type&) + { + } + + void presentationQosPolicy:: + coherent_access_none (Type const&) + { + } + + void presentationQosPolicy:: + ordered_access (Type& o) + { + dispatch (o.ordered_access ()); + } + + void presentationQosPolicy:: + ordered_access (Type const& o) + { + dispatch (o.ordered_access ()); + } + + void presentationQosPolicy:: + ordered_access_none (Type&) + { + } + + void presentationQosPolicy:: + ordered_access_none (Type const&) + { + } + + void presentationQosPolicy:: + post (Type&) + { + } + + void presentationQosPolicy:: + post (Type const&) + { + } + + // readerDataLifecycleQosPolicy + // + // + + void readerDataLifecycleQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.autopurge_nowriter_samples_delay_p ()) autopurge_nowriter_samples_delay (o); + else autopurge_nowriter_samples_delay_none (o); + if (o.autopurge_disposed_samples_delay_p ()) autopurge_disposed_samples_delay (o); + else autopurge_disposed_samples_delay_none (o); + post (o); + } + + void readerDataLifecycleQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.autopurge_nowriter_samples_delay_p ()) autopurge_nowriter_samples_delay (o); + else autopurge_nowriter_samples_delay_none (o); + if (o.autopurge_disposed_samples_delay_p ()) autopurge_disposed_samples_delay (o); + else autopurge_disposed_samples_delay_none (o); + post (o); + } + + void readerDataLifecycleQosPolicy:: + pre (Type&) + { + } + + void readerDataLifecycleQosPolicy:: + pre (Type const&) + { + } + + void readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay (Type& o) + { + dispatch (o.autopurge_nowriter_samples_delay ()); + } + + void readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay (Type const& o) + { + dispatch (o.autopurge_nowriter_samples_delay ()); + } + + void readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay_none (Type&) + { + } + + void readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay_none (Type const&) + { + } + + void readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay (Type& o) + { + dispatch (o.autopurge_disposed_samples_delay ()); + } + + void readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay (Type const& o) + { + dispatch (o.autopurge_disposed_samples_delay ()); + } + + void readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay_none (Type&) + { + } + + void readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay_none (Type const&) + { + } + + void readerDataLifecycleQosPolicy:: + post (Type&) + { + } + + void readerDataLifecycleQosPolicy:: + post (Type const&) + { + } + + // reliabilityQosPolicy + // + // + + void reliabilityQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + if (o.max_blocking_time_p ()) max_blocking_time (o); + else max_blocking_time_none (o); + post (o); + } + + void reliabilityQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + if (o.max_blocking_time_p ()) max_blocking_time (o); + else max_blocking_time_none (o); + post (o); + } + + void reliabilityQosPolicy:: + pre (Type&) + { + } + + void reliabilityQosPolicy:: + pre (Type const&) + { + } + + void reliabilityQosPolicy:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void reliabilityQosPolicy:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void reliabilityQosPolicy:: + kind_none (Type&) + { + } + + void reliabilityQosPolicy:: + kind_none (Type const&) + { + } + + void reliabilityQosPolicy:: + max_blocking_time (Type& o) + { + dispatch (o.max_blocking_time ()); + } + + void reliabilityQosPolicy:: + max_blocking_time (Type const& o) + { + dispatch (o.max_blocking_time ()); + } + + void reliabilityQosPolicy:: + max_blocking_time_none (Type&) + { + } + + void reliabilityQosPolicy:: + max_blocking_time_none (Type const&) + { + } + + void reliabilityQosPolicy:: + post (Type&) + { + } + + void reliabilityQosPolicy:: + post (Type const&) + { + } + + // resourceLimitsQosPolicy + // + // + + void resourceLimitsQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.max_samples_p ()) max_samples (o); + else max_samples_none (o); + if (o.max_instances_p ()) max_instances (o); + else max_instances_none (o); + if (o.max_samples_per_instance_p ()) max_samples_per_instance (o); + else max_samples_per_instance_none (o); + if (o.initial_samples_p ()) initial_samples (o); + else initial_samples_none (o); + if (o.initial_instances_p ()) initial_instances (o); + else initial_instances_none (o); + post (o); + } + + void resourceLimitsQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.max_samples_p ()) max_samples (o); + else max_samples_none (o); + if (o.max_instances_p ()) max_instances (o); + else max_instances_none (o); + if (o.max_samples_per_instance_p ()) max_samples_per_instance (o); + else max_samples_per_instance_none (o); + if (o.initial_samples_p ()) initial_samples (o); + else initial_samples_none (o); + if (o.initial_instances_p ()) initial_instances (o); + else initial_instances_none (o); + post (o); + } + + void resourceLimitsQosPolicy:: + pre (Type&) + { + } + + void resourceLimitsQosPolicy:: + pre (Type const&) + { + } + + void resourceLimitsQosPolicy:: + max_samples (Type& o) + { + dispatch (o.max_samples ()); + } + + void resourceLimitsQosPolicy:: + max_samples (Type const& o) + { + dispatch (o.max_samples ()); + } + + void resourceLimitsQosPolicy:: + max_samples_none (Type&) + { + } + + void resourceLimitsQosPolicy:: + max_samples_none (Type const&) + { + } + + void resourceLimitsQosPolicy:: + max_instances (Type& o) + { + dispatch (o.max_instances ()); + } + + void resourceLimitsQosPolicy:: + max_instances (Type const& o) + { + dispatch (o.max_instances ()); + } + + void resourceLimitsQosPolicy:: + max_instances_none (Type&) + { + } + + void resourceLimitsQosPolicy:: + max_instances_none (Type const&) + { + } + + void resourceLimitsQosPolicy:: + max_samples_per_instance (Type& o) + { + dispatch (o.max_samples_per_instance ()); + } + + void resourceLimitsQosPolicy:: + max_samples_per_instance (Type const& o) + { + dispatch (o.max_samples_per_instance ()); + } + + void resourceLimitsQosPolicy:: + max_samples_per_instance_none (Type&) + { + } + + void resourceLimitsQosPolicy:: + max_samples_per_instance_none (Type const&) + { + } + + void resourceLimitsQosPolicy:: + initial_samples (Type& o) + { + dispatch (o.initial_samples ()); + } + + void resourceLimitsQosPolicy:: + initial_samples (Type const& o) + { + dispatch (o.initial_samples ()); + } + + void resourceLimitsQosPolicy:: + initial_samples_none (Type&) + { + } + + void resourceLimitsQosPolicy:: + initial_samples_none (Type const&) + { + } + + void resourceLimitsQosPolicy:: + initial_instances (Type& o) + { + dispatch (o.initial_instances ()); + } + + void resourceLimitsQosPolicy:: + initial_instances (Type const& o) + { + dispatch (o.initial_instances ()); + } + + void resourceLimitsQosPolicy:: + initial_instances_none (Type&) + { + } + + void resourceLimitsQosPolicy:: + initial_instances_none (Type const&) + { + } + + void resourceLimitsQosPolicy:: + post (Type&) + { + } + + void resourceLimitsQosPolicy:: + post (Type const&) + { + } + + // timeBasedFilterQosPolicy + // + // + + void timeBasedFilterQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.minimum_separation_p ()) minimum_separation (o); + else minimum_separation_none (o); + post (o); + } + + void timeBasedFilterQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.minimum_separation_p ()) minimum_separation (o); + else minimum_separation_none (o); + post (o); + } + + void timeBasedFilterQosPolicy:: + pre (Type&) + { + } + + void timeBasedFilterQosPolicy:: + pre (Type const&) + { + } + + void timeBasedFilterQosPolicy:: + minimum_separation (Type& o) + { + dispatch (o.minimum_separation ()); + } + + void timeBasedFilterQosPolicy:: + minimum_separation (Type const& o) + { + dispatch (o.minimum_separation ()); + } + + void timeBasedFilterQosPolicy:: + minimum_separation_none (Type&) + { + } + + void timeBasedFilterQosPolicy:: + minimum_separation_none (Type const&) + { + } + + void timeBasedFilterQosPolicy:: + post (Type&) + { + } + + void timeBasedFilterQosPolicy:: + post (Type const&) + { + } + + // topicDataQosPolicy + // + // + + void topicDataQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void topicDataQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void topicDataQosPolicy:: + pre (Type&) + { + } + + void topicDataQosPolicy:: + pre (Type const&) + { + } + + void topicDataQosPolicy:: + value (Type& o) + { + dispatch (o.value ()); + } + + void topicDataQosPolicy:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void topicDataQosPolicy:: + value_none (Type&) + { + } + + void topicDataQosPolicy:: + value_none (Type const&) + { + } + + void topicDataQosPolicy:: + post (Type&) + { + } + + void topicDataQosPolicy:: + post (Type const&) + { + } + + // transportPriorityQosPolicy + // + // + + void transportPriorityQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void transportPriorityQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void transportPriorityQosPolicy:: + pre (Type&) + { + } + + void transportPriorityQosPolicy:: + pre (Type const&) + { + } + + void transportPriorityQosPolicy:: + value (Type& o) + { + dispatch (o.value ()); + } + + void transportPriorityQosPolicy:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void transportPriorityQosPolicy:: + value_none (Type&) + { + } + + void transportPriorityQosPolicy:: + value_none (Type const&) + { + } + + void transportPriorityQosPolicy:: + post (Type&) + { + } + + void transportPriorityQosPolicy:: + post (Type const&) + { + } + + // userDataQosPolicy + // + // + + void userDataQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void userDataQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.value_p ()) value (o); + else value_none (o); + post (o); + } + + void userDataQosPolicy:: + pre (Type&) + { + } + + void userDataQosPolicy:: + pre (Type const&) + { + } + + void userDataQosPolicy:: + value (Type& o) + { + dispatch (o.value ()); + } + + void userDataQosPolicy:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void userDataQosPolicy:: + value_none (Type&) + { + } + + void userDataQosPolicy:: + value_none (Type const&) + { + } + + void userDataQosPolicy:: + post (Type&) + { + } + + void userDataQosPolicy:: + post (Type const&) + { + } + + // writerDataLifecycleQosPolicy + // + // + + void writerDataLifecycleQosPolicy:: + traverse (Type& o) + { + pre (o); + if (o.autodispose_unregistered_instances_p ()) autodispose_unregistered_instances (o); + else autodispose_unregistered_instances_none (o); + post (o); + } + + void writerDataLifecycleQosPolicy:: + traverse (Type const& o) + { + pre (o); + if (o.autodispose_unregistered_instances_p ()) autodispose_unregistered_instances (o); + else autodispose_unregistered_instances_none (o); + post (o); + } + + void writerDataLifecycleQosPolicy:: + pre (Type&) + { + } + + void writerDataLifecycleQosPolicy:: + pre (Type const&) + { + } + + void writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances (Type& o) + { + dispatch (o.autodispose_unregistered_instances ()); + } + + void writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances (Type const& o) + { + dispatch (o.autodispose_unregistered_instances ()); + } + + void writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances_none (Type&) + { + } + + void writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances_none (Type const&) + { + } + + void writerDataLifecycleQosPolicy:: + post (Type&) + { + } + + void writerDataLifecycleQosPolicy:: + post (Type const&) + { + } + + // domainparticipantQos + // + // + + void domainparticipantQos:: + traverse (Type& o) + { + pre (o); + if (o.user_data_p ()) user_data (o); + else user_data_none (o); + if (o.entity_factory_p ()) entity_factory (o); + else entity_factory_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void domainparticipantQos:: + traverse (Type const& o) + { + pre (o); + if (o.user_data_p ()) user_data (o); + else user_data_none (o); + if (o.entity_factory_p ()) entity_factory (o); + else entity_factory_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void domainparticipantQos:: + pre (Type&) + { + } + + void domainparticipantQos:: + pre (Type const&) + { + } + + void domainparticipantQos:: + user_data (Type& o) + { + dispatch (o.user_data ()); + } + + void domainparticipantQos:: + user_data (Type const& o) + { + dispatch (o.user_data ()); + } + + void domainparticipantQos:: + user_data_none (Type&) + { + } + + void domainparticipantQos:: + user_data_none (Type const&) + { + } + + void domainparticipantQos:: + entity_factory (Type& o) + { + dispatch (o.entity_factory ()); + } + + void domainparticipantQos:: + entity_factory (Type const& o) + { + dispatch (o.entity_factory ()); + } + + void domainparticipantQos:: + entity_factory_none (Type&) + { + } + + void domainparticipantQos:: + entity_factory_none (Type const&) + { + } + + void domainparticipantQos:: + name (Type& o) + { + dispatch (o.name ()); + } + + void domainparticipantQos:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void domainparticipantQos:: + name_none (Type&) + { + } + + void domainparticipantQos:: + name_none (Type const&) + { + } + + void domainparticipantQos:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void domainparticipantQos:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void domainparticipantQos:: + base_name_none (Type&) + { + } + + void domainparticipantQos:: + base_name_none (Type const&) + { + } + + void domainparticipantQos:: + topic_filter (Type& o) + { + dispatch (o.topic_filter ()); + } + + void domainparticipantQos:: + topic_filter (Type const& o) + { + dispatch (o.topic_filter ()); + } + + void domainparticipantQos:: + topic_filter_none (Type&) + { + } + + void domainparticipantQos:: + topic_filter_none (Type const&) + { + } + + void domainparticipantQos:: + post (Type&) + { + } + + void domainparticipantQos:: + post (Type const&) + { + } + + // publisherQos + // + // + + void publisherQos:: + traverse (Type& o) + { + pre (o); + if (o.presentation_p ()) presentation (o); + else presentation_none (o); + if (o.partition_p ()) partition (o); + else partition_none (o); + if (o.group_data_p ()) group_data (o); + else group_data_none (o); + if (o.entity_factory_p ()) entity_factory (o); + else entity_factory_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void publisherQos:: + traverse (Type const& o) + { + pre (o); + if (o.presentation_p ()) presentation (o); + else presentation_none (o); + if (o.partition_p ()) partition (o); + else partition_none (o); + if (o.group_data_p ()) group_data (o); + else group_data_none (o); + if (o.entity_factory_p ()) entity_factory (o); + else entity_factory_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void publisherQos:: + pre (Type&) + { + } + + void publisherQos:: + pre (Type const&) + { + } + + void publisherQos:: + presentation (Type& o) + { + dispatch (o.presentation ()); + } + + void publisherQos:: + presentation (Type const& o) + { + dispatch (o.presentation ()); + } + + void publisherQos:: + presentation_none (Type&) + { + } + + void publisherQos:: + presentation_none (Type const&) + { + } + + void publisherQos:: + partition (Type& o) + { + dispatch (o.partition ()); + } + + void publisherQos:: + partition (Type const& o) + { + dispatch (o.partition ()); + } + + void publisherQos:: + partition_none (Type&) + { + } + + void publisherQos:: + partition_none (Type const&) + { + } + + void publisherQos:: + group_data (Type& o) + { + dispatch (o.group_data ()); + } + + void publisherQos:: + group_data (Type const& o) + { + dispatch (o.group_data ()); + } + + void publisherQos:: + group_data_none (Type&) + { + } + + void publisherQos:: + group_data_none (Type const&) + { + } + + void publisherQos:: + entity_factory (Type& o) + { + dispatch (o.entity_factory ()); + } + + void publisherQos:: + entity_factory (Type const& o) + { + dispatch (o.entity_factory ()); + } + + void publisherQos:: + entity_factory_none (Type&) + { + } + + void publisherQos:: + entity_factory_none (Type const&) + { + } + + void publisherQos:: + name (Type& o) + { + dispatch (o.name ()); + } + + void publisherQos:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void publisherQos:: + name_none (Type&) + { + } + + void publisherQos:: + name_none (Type const&) + { + } + + void publisherQos:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void publisherQos:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void publisherQos:: + base_name_none (Type&) + { + } + + void publisherQos:: + base_name_none (Type const&) + { + } + + void publisherQos:: + topic_filter (Type& o) + { + dispatch (o.topic_filter ()); + } + + void publisherQos:: + topic_filter (Type const& o) + { + dispatch (o.topic_filter ()); + } + + void publisherQos:: + topic_filter_none (Type&) + { + } + + void publisherQos:: + topic_filter_none (Type const&) + { + } + + void publisherQos:: + post (Type&) + { + } + + void publisherQos:: + post (Type const&) + { + } + + // subscriberQos + // + // + + void subscriberQos:: + traverse (Type& o) + { + pre (o); + if (o.presentation_p ()) presentation (o); + else presentation_none (o); + if (o.partition_p ()) partition (o); + else partition_none (o); + if (o.group_data_p ()) group_data (o); + else group_data_none (o); + if (o.entity_factory_p ()) entity_factory (o); + else entity_factory_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void subscriberQos:: + traverse (Type const& o) + { + pre (o); + if (o.presentation_p ()) presentation (o); + else presentation_none (o); + if (o.partition_p ()) partition (o); + else partition_none (o); + if (o.group_data_p ()) group_data (o); + else group_data_none (o); + if (o.entity_factory_p ()) entity_factory (o); + else entity_factory_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void subscriberQos:: + pre (Type&) + { + } + + void subscriberQos:: + pre (Type const&) + { + } + + void subscriberQos:: + presentation (Type& o) + { + dispatch (o.presentation ()); + } + + void subscriberQos:: + presentation (Type const& o) + { + dispatch (o.presentation ()); + } + + void subscriberQos:: + presentation_none (Type&) + { + } + + void subscriberQos:: + presentation_none (Type const&) + { + } + + void subscriberQos:: + partition (Type& o) + { + dispatch (o.partition ()); + } + + void subscriberQos:: + partition (Type const& o) + { + dispatch (o.partition ()); + } + + void subscriberQos:: + partition_none (Type&) + { + } + + void subscriberQos:: + partition_none (Type const&) + { + } + + void subscriberQos:: + group_data (Type& o) + { + dispatch (o.group_data ()); + } + + void subscriberQos:: + group_data (Type const& o) + { + dispatch (o.group_data ()); + } + + void subscriberQos:: + group_data_none (Type&) + { + } + + void subscriberQos:: + group_data_none (Type const&) + { + } + + void subscriberQos:: + entity_factory (Type& o) + { + dispatch (o.entity_factory ()); + } + + void subscriberQos:: + entity_factory (Type const& o) + { + dispatch (o.entity_factory ()); + } + + void subscriberQos:: + entity_factory_none (Type&) + { + } + + void subscriberQos:: + entity_factory_none (Type const&) + { + } + + void subscriberQos:: + name (Type& o) + { + dispatch (o.name ()); + } + + void subscriberQos:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void subscriberQos:: + name_none (Type&) + { + } + + void subscriberQos:: + name_none (Type const&) + { + } + + void subscriberQos:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void subscriberQos:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void subscriberQos:: + base_name_none (Type&) + { + } + + void subscriberQos:: + base_name_none (Type const&) + { + } + + void subscriberQos:: + topic_filter (Type& o) + { + dispatch (o.topic_filter ()); + } + + void subscriberQos:: + topic_filter (Type const& o) + { + dispatch (o.topic_filter ()); + } + + void subscriberQos:: + topic_filter_none (Type&) + { + } + + void subscriberQos:: + topic_filter_none (Type const&) + { + } + + void subscriberQos:: + post (Type&) + { + } + + void subscriberQos:: + post (Type const&) + { + } + + // topicQos + // + // + + void topicQos:: + traverse (Type& o) + { + pre (o); + if (o.topic_data_p ()) topic_data (o); + else topic_data_none (o); + if (o.durability_p ()) durability (o); + else durability_none (o); + if (o.durability_service_p ()) durability_service (o); + else durability_service_none (o); + if (o.deadline_p ()) deadline (o); + else deadline_none (o); + if (o.latency_budget_p ()) latency_budget (o); + else latency_budget_none (o); + if (o.liveliness_p ()) liveliness (o); + else liveliness_none (o); + if (o.reliability_p ()) reliability (o); + else reliability_none (o); + if (o.destination_order_p ()) destination_order (o); + else destination_order_none (o); + if (o.history_p ()) history (o); + else history_none (o); + if (o.resource_limits_p ()) resource_limits (o); + else resource_limits_none (o); + if (o.transport_priority_p ()) transport_priority (o); + else transport_priority_none (o); + if (o.lifespan_p ()) lifespan (o); + else lifespan_none (o); + if (o.ownership_p ()) ownership (o); + else ownership_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void topicQos:: + traverse (Type const& o) + { + pre (o); + if (o.topic_data_p ()) topic_data (o); + else topic_data_none (o); + if (o.durability_p ()) durability (o); + else durability_none (o); + if (o.durability_service_p ()) durability_service (o); + else durability_service_none (o); + if (o.deadline_p ()) deadline (o); + else deadline_none (o); + if (o.latency_budget_p ()) latency_budget (o); + else latency_budget_none (o); + if (o.liveliness_p ()) liveliness (o); + else liveliness_none (o); + if (o.reliability_p ()) reliability (o); + else reliability_none (o); + if (o.destination_order_p ()) destination_order (o); + else destination_order_none (o); + if (o.history_p ()) history (o); + else history_none (o); + if (o.resource_limits_p ()) resource_limits (o); + else resource_limits_none (o); + if (o.transport_priority_p ()) transport_priority (o); + else transport_priority_none (o); + if (o.lifespan_p ()) lifespan (o); + else lifespan_none (o); + if (o.ownership_p ()) ownership (o); + else ownership_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void topicQos:: + pre (Type&) + { + } + + void topicQos:: + pre (Type const&) + { + } + + void topicQos:: + topic_data (Type& o) + { + dispatch (o.topic_data ()); + } + + void topicQos:: + topic_data (Type const& o) + { + dispatch (o.topic_data ()); + } + + void topicQos:: + topic_data_none (Type&) + { + } + + void topicQos:: + topic_data_none (Type const&) + { + } + + void topicQos:: + durability (Type& o) + { + dispatch (o.durability ()); + } + + void topicQos:: + durability (Type const& o) + { + dispatch (o.durability ()); + } + + void topicQos:: + durability_none (Type&) + { + } + + void topicQos:: + durability_none (Type const&) + { + } + + void topicQos:: + durability_service (Type& o) + { + dispatch (o.durability_service ()); + } + + void topicQos:: + durability_service (Type const& o) + { + dispatch (o.durability_service ()); + } + + void topicQos:: + durability_service_none (Type&) + { + } + + void topicQos:: + durability_service_none (Type const&) + { + } + + void topicQos:: + deadline (Type& o) + { + dispatch (o.deadline ()); + } + + void topicQos:: + deadline (Type const& o) + { + dispatch (o.deadline ()); + } + + void topicQos:: + deadline_none (Type&) + { + } + + void topicQos:: + deadline_none (Type const&) + { + } + + void topicQos:: + latency_budget (Type& o) + { + dispatch (o.latency_budget ()); + } + + void topicQos:: + latency_budget (Type const& o) + { + dispatch (o.latency_budget ()); + } + + void topicQos:: + latency_budget_none (Type&) + { + } + + void topicQos:: + latency_budget_none (Type const&) + { + } + + void topicQos:: + liveliness (Type& o) + { + dispatch (o.liveliness ()); + } + + void topicQos:: + liveliness (Type const& o) + { + dispatch (o.liveliness ()); + } + + void topicQos:: + liveliness_none (Type&) + { + } + + void topicQos:: + liveliness_none (Type const&) + { + } + + void topicQos:: + reliability (Type& o) + { + dispatch (o.reliability ()); + } + + void topicQos:: + reliability (Type const& o) + { + dispatch (o.reliability ()); + } + + void topicQos:: + reliability_none (Type&) + { + } + + void topicQos:: + reliability_none (Type const&) + { + } + + void topicQos:: + destination_order (Type& o) + { + dispatch (o.destination_order ()); + } + + void topicQos:: + destination_order (Type const& o) + { + dispatch (o.destination_order ()); + } + + void topicQos:: + destination_order_none (Type&) + { + } + + void topicQos:: + destination_order_none (Type const&) + { + } + + void topicQos:: + history (Type& o) + { + dispatch (o.history ()); + } + + void topicQos:: + history (Type const& o) + { + dispatch (o.history ()); + } + + void topicQos:: + history_none (Type&) + { + } + + void topicQos:: + history_none (Type const&) + { + } + + void topicQos:: + resource_limits (Type& o) + { + dispatch (o.resource_limits ()); + } + + void topicQos:: + resource_limits (Type const& o) + { + dispatch (o.resource_limits ()); + } + + void topicQos:: + resource_limits_none (Type&) + { + } + + void topicQos:: + resource_limits_none (Type const&) + { + } + + void topicQos:: + transport_priority (Type& o) + { + dispatch (o.transport_priority ()); + } + + void topicQos:: + transport_priority (Type const& o) + { + dispatch (o.transport_priority ()); + } + + void topicQos:: + transport_priority_none (Type&) + { + } + + void topicQos:: + transport_priority_none (Type const&) + { + } + + void topicQos:: + lifespan (Type& o) + { + dispatch (o.lifespan ()); + } + + void topicQos:: + lifespan (Type const& o) + { + dispatch (o.lifespan ()); + } + + void topicQos:: + lifespan_none (Type&) + { + } + + void topicQos:: + lifespan_none (Type const&) + { + } + + void topicQos:: + ownership (Type& o) + { + dispatch (o.ownership ()); + } + + void topicQos:: + ownership (Type const& o) + { + dispatch (o.ownership ()); + } + + void topicQos:: + ownership_none (Type&) + { + } + + void topicQos:: + ownership_none (Type const&) + { + } + + void topicQos:: + name (Type& o) + { + dispatch (o.name ()); + } + + void topicQos:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void topicQos:: + name_none (Type&) + { + } + + void topicQos:: + name_none (Type const&) + { + } + + void topicQos:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void topicQos:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void topicQos:: + base_name_none (Type&) + { + } + + void topicQos:: + base_name_none (Type const&) + { + } + + void topicQos:: + topic_filter (Type& o) + { + dispatch (o.topic_filter ()); + } + + void topicQos:: + topic_filter (Type const& o) + { + dispatch (o.topic_filter ()); + } + + void topicQos:: + topic_filter_none (Type&) + { + } + + void topicQos:: + topic_filter_none (Type const&) + { + } + + void topicQos:: + post (Type&) + { + } + + void topicQos:: + post (Type const&) + { + } + + // datareaderQos + // + // + + void datareaderQos:: + traverse (Type& o) + { + pre (o); + if (o.durability_p ()) durability (o); + else durability_none (o); + if (o.deadline_p ()) deadline (o); + else deadline_none (o); + if (o.latency_budget_p ()) latency_budget (o); + else latency_budget_none (o); + if (o.liveliness_p ()) liveliness (o); + else liveliness_none (o); + if (o.reliability_p ()) reliability (o); + else reliability_none (o); + if (o.destination_order_p ()) destination_order (o); + else destination_order_none (o); + if (o.history_p ()) history (o); + else history_none (o); + if (o.resource_limits_p ()) resource_limits (o); + else resource_limits_none (o); + if (o.user_data_p ()) user_data (o); + else user_data_none (o); + if (o.ownership_p ()) ownership (o); + else ownership_none (o); + if (o.time_based_filter_p ()) time_based_filter (o); + else time_based_filter_none (o); + if (o.reader_data_lifecycle_p ()) reader_data_lifecycle (o); + else reader_data_lifecycle_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void datareaderQos:: + traverse (Type const& o) + { + pre (o); + if (o.durability_p ()) durability (o); + else durability_none (o); + if (o.deadline_p ()) deadline (o); + else deadline_none (o); + if (o.latency_budget_p ()) latency_budget (o); + else latency_budget_none (o); + if (o.liveliness_p ()) liveliness (o); + else liveliness_none (o); + if (o.reliability_p ()) reliability (o); + else reliability_none (o); + if (o.destination_order_p ()) destination_order (o); + else destination_order_none (o); + if (o.history_p ()) history (o); + else history_none (o); + if (o.resource_limits_p ()) resource_limits (o); + else resource_limits_none (o); + if (o.user_data_p ()) user_data (o); + else user_data_none (o); + if (o.ownership_p ()) ownership (o); + else ownership_none (o); + if (o.time_based_filter_p ()) time_based_filter (o); + else time_based_filter_none (o); + if (o.reader_data_lifecycle_p ()) reader_data_lifecycle (o); + else reader_data_lifecycle_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void datareaderQos:: + pre (Type&) + { + } + + void datareaderQos:: + pre (Type const&) + { + } + + void datareaderQos:: + durability (Type& o) + { + dispatch (o.durability ()); + } + + void datareaderQos:: + durability (Type const& o) + { + dispatch (o.durability ()); + } + + void datareaderQos:: + durability_none (Type&) + { + } + + void datareaderQos:: + durability_none (Type const&) + { + } + + void datareaderQos:: + deadline (Type& o) + { + dispatch (o.deadline ()); + } + + void datareaderQos:: + deadline (Type const& o) + { + dispatch (o.deadline ()); + } + + void datareaderQos:: + deadline_none (Type&) + { + } + + void datareaderQos:: + deadline_none (Type const&) + { + } + + void datareaderQos:: + latency_budget (Type& o) + { + dispatch (o.latency_budget ()); + } + + void datareaderQos:: + latency_budget (Type const& o) + { + dispatch (o.latency_budget ()); + } + + void datareaderQos:: + latency_budget_none (Type&) + { + } + + void datareaderQos:: + latency_budget_none (Type const&) + { + } + + void datareaderQos:: + liveliness (Type& o) + { + dispatch (o.liveliness ()); + } + + void datareaderQos:: + liveliness (Type const& o) + { + dispatch (o.liveliness ()); + } + + void datareaderQos:: + liveliness_none (Type&) + { + } + + void datareaderQos:: + liveliness_none (Type const&) + { + } + + void datareaderQos:: + reliability (Type& o) + { + dispatch (o.reliability ()); + } + + void datareaderQos:: + reliability (Type const& o) + { + dispatch (o.reliability ()); + } + + void datareaderQos:: + reliability_none (Type&) + { + } + + void datareaderQos:: + reliability_none (Type const&) + { + } + + void datareaderQos:: + destination_order (Type& o) + { + dispatch (o.destination_order ()); + } + + void datareaderQos:: + destination_order (Type const& o) + { + dispatch (o.destination_order ()); + } + + void datareaderQos:: + destination_order_none (Type&) + { + } + + void datareaderQos:: + destination_order_none (Type const&) + { + } + + void datareaderQos:: + history (Type& o) + { + dispatch (o.history ()); + } + + void datareaderQos:: + history (Type const& o) + { + dispatch (o.history ()); + } + + void datareaderQos:: + history_none (Type&) + { + } + + void datareaderQos:: + history_none (Type const&) + { + } + + void datareaderQos:: + resource_limits (Type& o) + { + dispatch (o.resource_limits ()); + } + + void datareaderQos:: + resource_limits (Type const& o) + { + dispatch (o.resource_limits ()); + } + + void datareaderQos:: + resource_limits_none (Type&) + { + } + + void datareaderQos:: + resource_limits_none (Type const&) + { + } + + void datareaderQos:: + user_data (Type& o) + { + dispatch (o.user_data ()); + } + + void datareaderQos:: + user_data (Type const& o) + { + dispatch (o.user_data ()); + } + + void datareaderQos:: + user_data_none (Type&) + { + } + + void datareaderQos:: + user_data_none (Type const&) + { + } + + void datareaderQos:: + ownership (Type& o) + { + dispatch (o.ownership ()); + } + + void datareaderQos:: + ownership (Type const& o) + { + dispatch (o.ownership ()); + } + + void datareaderQos:: + ownership_none (Type&) + { + } + + void datareaderQos:: + ownership_none (Type const&) + { + } + + void datareaderQos:: + time_based_filter (Type& o) + { + dispatch (o.time_based_filter ()); + } + + void datareaderQos:: + time_based_filter (Type const& o) + { + dispatch (o.time_based_filter ()); + } + + void datareaderQos:: + time_based_filter_none (Type&) + { + } + + void datareaderQos:: + time_based_filter_none (Type const&) + { + } + + void datareaderQos:: + reader_data_lifecycle (Type& o) + { + dispatch (o.reader_data_lifecycle ()); + } + + void datareaderQos:: + reader_data_lifecycle (Type const& o) + { + dispatch (o.reader_data_lifecycle ()); + } + + void datareaderQos:: + reader_data_lifecycle_none (Type&) + { + } + + void datareaderQos:: + reader_data_lifecycle_none (Type const&) + { + } + + void datareaderQos:: + name (Type& o) + { + dispatch (o.name ()); + } + + void datareaderQos:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void datareaderQos:: + name_none (Type&) + { + } + + void datareaderQos:: + name_none (Type const&) + { + } + + void datareaderQos:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void datareaderQos:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void datareaderQos:: + base_name_none (Type&) + { + } + + void datareaderQos:: + base_name_none (Type const&) + { + } + + void datareaderQos:: + topic_filter (Type& o) + { + dispatch (o.topic_filter ()); + } + + void datareaderQos:: + topic_filter (Type const& o) + { + dispatch (o.topic_filter ()); + } + + void datareaderQos:: + topic_filter_none (Type&) + { + } + + void datareaderQos:: + topic_filter_none (Type const&) + { + } + + void datareaderQos:: + post (Type&) + { + } + + void datareaderQos:: + post (Type const&) + { + } + + // datawriterQos + // + // + + void datawriterQos:: + traverse (Type& o) + { + pre (o); + if (o.durability_p ()) durability (o); + else durability_none (o); + if (o.durability_service_p ()) durability_service (o); + else durability_service_none (o); + if (o.deadline_p ()) deadline (o); + else deadline_none (o); + if (o.latency_budget_p ()) latency_budget (o); + else latency_budget_none (o); + if (o.liveliness_p ()) liveliness (o); + else liveliness_none (o); + if (o.reliability_p ()) reliability (o); + else reliability_none (o); + if (o.destination_order_p ()) destination_order (o); + else destination_order_none (o); + if (o.history_p ()) history (o); + else history_none (o); + if (o.resource_limits_p ()) resource_limits (o); + else resource_limits_none (o); + if (o.transport_priority_p ()) transport_priority (o); + else transport_priority_none (o); + if (o.lifespan_p ()) lifespan (o); + else lifespan_none (o); + if (o.user_data_p ()) user_data (o); + else user_data_none (o); + if (o.ownership_p ()) ownership (o); + else ownership_none (o); + if (o.ownership_strength_p ()) ownership_strength (o); + else ownership_strength_none (o); + if (o.writer_data_lifecycle_p ()) writer_data_lifecycle (o); + else writer_data_lifecycle_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void datawriterQos:: + traverse (Type const& o) + { + pre (o); + if (o.durability_p ()) durability (o); + else durability_none (o); + if (o.durability_service_p ()) durability_service (o); + else durability_service_none (o); + if (o.deadline_p ()) deadline (o); + else deadline_none (o); + if (o.latency_budget_p ()) latency_budget (o); + else latency_budget_none (o); + if (o.liveliness_p ()) liveliness (o); + else liveliness_none (o); + if (o.reliability_p ()) reliability (o); + else reliability_none (o); + if (o.destination_order_p ()) destination_order (o); + else destination_order_none (o); + if (o.history_p ()) history (o); + else history_none (o); + if (o.resource_limits_p ()) resource_limits (o); + else resource_limits_none (o); + if (o.transport_priority_p ()) transport_priority (o); + else transport_priority_none (o); + if (o.lifespan_p ()) lifespan (o); + else lifespan_none (o); + if (o.user_data_p ()) user_data (o); + else user_data_none (o); + if (o.ownership_p ()) ownership (o); + else ownership_none (o); + if (o.ownership_strength_p ()) ownership_strength (o); + else ownership_strength_none (o); + if (o.writer_data_lifecycle_p ()) writer_data_lifecycle (o); + else writer_data_lifecycle_none (o); + if (o.name_p ()) name (o); + else name_none (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + if (o.topic_filter_p ()) topic_filter (o); + else topic_filter_none (o); + post (o); + } + + void datawriterQos:: + pre (Type&) + { + } + + void datawriterQos:: + pre (Type const&) + { + } + + void datawriterQos:: + durability (Type& o) + { + dispatch (o.durability ()); + } + + void datawriterQos:: + durability (Type const& o) + { + dispatch (o.durability ()); + } + + void datawriterQos:: + durability_none (Type&) + { + } + + void datawriterQos:: + durability_none (Type const&) + { + } + + void datawriterQos:: + durability_service (Type& o) + { + dispatch (o.durability_service ()); + } + + void datawriterQos:: + durability_service (Type const& o) + { + dispatch (o.durability_service ()); + } + + void datawriterQos:: + durability_service_none (Type&) + { + } + + void datawriterQos:: + durability_service_none (Type const&) + { + } + + void datawriterQos:: + deadline (Type& o) + { + dispatch (o.deadline ()); + } + + void datawriterQos:: + deadline (Type const& o) + { + dispatch (o.deadline ()); + } + + void datawriterQos:: + deadline_none (Type&) + { + } + + void datawriterQos:: + deadline_none (Type const&) + { + } + + void datawriterQos:: + latency_budget (Type& o) + { + dispatch (o.latency_budget ()); + } + + void datawriterQos:: + latency_budget (Type const& o) + { + dispatch (o.latency_budget ()); + } + + void datawriterQos:: + latency_budget_none (Type&) + { + } + + void datawriterQos:: + latency_budget_none (Type const&) + { + } + + void datawriterQos:: + liveliness (Type& o) + { + dispatch (o.liveliness ()); + } + + void datawriterQos:: + liveliness (Type const& o) + { + dispatch (o.liveliness ()); + } + + void datawriterQos:: + liveliness_none (Type&) + { + } + + void datawriterQos:: + liveliness_none (Type const&) + { + } + + void datawriterQos:: + reliability (Type& o) + { + dispatch (o.reliability ()); + } + + void datawriterQos:: + reliability (Type const& o) + { + dispatch (o.reliability ()); + } + + void datawriterQos:: + reliability_none (Type&) + { + } + + void datawriterQos:: + reliability_none (Type const&) + { + } + + void datawriterQos:: + destination_order (Type& o) + { + dispatch (o.destination_order ()); + } + + void datawriterQos:: + destination_order (Type const& o) + { + dispatch (o.destination_order ()); + } + + void datawriterQos:: + destination_order_none (Type&) + { + } + + void datawriterQos:: + destination_order_none (Type const&) + { + } + + void datawriterQos:: + history (Type& o) + { + dispatch (o.history ()); + } + + void datawriterQos:: + history (Type const& o) + { + dispatch (o.history ()); + } + + void datawriterQos:: + history_none (Type&) + { + } + + void datawriterQos:: + history_none (Type const&) + { + } + + void datawriterQos:: + resource_limits (Type& o) + { + dispatch (o.resource_limits ()); + } + + void datawriterQos:: + resource_limits (Type const& o) + { + dispatch (o.resource_limits ()); + } + + void datawriterQos:: + resource_limits_none (Type&) + { + } + + void datawriterQos:: + resource_limits_none (Type const&) + { + } + + void datawriterQos:: + transport_priority (Type& o) + { + dispatch (o.transport_priority ()); + } + + void datawriterQos:: + transport_priority (Type const& o) + { + dispatch (o.transport_priority ()); + } + + void datawriterQos:: + transport_priority_none (Type&) + { + } + + void datawriterQos:: + transport_priority_none (Type const&) + { + } + + void datawriterQos:: + lifespan (Type& o) + { + dispatch (o.lifespan ()); + } + + void datawriterQos:: + lifespan (Type const& o) + { + dispatch (o.lifespan ()); + } + + void datawriterQos:: + lifespan_none (Type&) + { + } + + void datawriterQos:: + lifespan_none (Type const&) + { + } + + void datawriterQos:: + user_data (Type& o) + { + dispatch (o.user_data ()); + } + + void datawriterQos:: + user_data (Type const& o) + { + dispatch (o.user_data ()); + } + + void datawriterQos:: + user_data_none (Type&) + { + } + + void datawriterQos:: + user_data_none (Type const&) + { + } + + void datawriterQos:: + ownership (Type& o) + { + dispatch (o.ownership ()); + } + + void datawriterQos:: + ownership (Type const& o) + { + dispatch (o.ownership ()); + } + + void datawriterQos:: + ownership_none (Type&) + { + } + + void datawriterQos:: + ownership_none (Type const&) + { + } + + void datawriterQos:: + ownership_strength (Type& o) + { + dispatch (o.ownership_strength ()); + } + + void datawriterQos:: + ownership_strength (Type const& o) + { + dispatch (o.ownership_strength ()); + } + + void datawriterQos:: + ownership_strength_none (Type&) + { + } + + void datawriterQos:: + ownership_strength_none (Type const&) + { + } + + void datawriterQos:: + writer_data_lifecycle (Type& o) + { + dispatch (o.writer_data_lifecycle ()); + } + + void datawriterQos:: + writer_data_lifecycle (Type const& o) + { + dispatch (o.writer_data_lifecycle ()); + } + + void datawriterQos:: + writer_data_lifecycle_none (Type&) + { + } + + void datawriterQos:: + writer_data_lifecycle_none (Type const&) + { + } + + void datawriterQos:: + name (Type& o) + { + dispatch (o.name ()); + } + + void datawriterQos:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void datawriterQos:: + name_none (Type&) + { + } + + void datawriterQos:: + name_none (Type const&) + { + } + + void datawriterQos:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void datawriterQos:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void datawriterQos:: + base_name_none (Type&) + { + } + + void datawriterQos:: + base_name_none (Type const&) + { + } + + void datawriterQos:: + topic_filter (Type& o) + { + dispatch (o.topic_filter ()); + } + + void datawriterQos:: + topic_filter (Type const& o) + { + dispatch (o.topic_filter ()); + } + + void datawriterQos:: + topic_filter_none (Type&) + { + } + + void datawriterQos:: + topic_filter_none (Type const&) + { + } + + void datawriterQos:: + post (Type&) + { + } + + void datawriterQos:: + post (Type const&) + { + } + + // qosProfile + // + // + + void qosProfile:: + traverse (Type& o) + { + pre (o); + datareader_qos (o); + datawriter_qos (o); + topic_qos (o); + domainparticipant_qos (o); + publisher_qos (o); + subscriber_qos (o); + name (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + post (o); + } + + void qosProfile:: + traverse (Type const& o) + { + pre (o); + datareader_qos (o); + datawriter_qos (o); + topic_qos (o); + domainparticipant_qos (o); + publisher_qos (o); + subscriber_qos (o); + name (o); + if (o.base_name_p ()) base_name (o); + else base_name_none (o); + post (o); + } + + void qosProfile:: + pre (Type&) + { + } + + void qosProfile:: + pre (Type const&) + { + } + + void qosProfile:: + datareader_qos (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::datareader_qos_iterator b (o.begin_datareader_qos()), e (o.end_datareader_qos()); + + if (b != e) + { + datareader_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) datareader_qos_next (o); + } + + datareader_qos_post (o); + } + + else datareader_qos_none (o); + } + + void qosProfile:: + datareader_qos (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::datareader_qos_const_iterator b (o.begin_datareader_qos()), e (o.end_datareader_qos()); + + if (b != e) + { + datareader_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) datareader_qos_next (o); + } + + datareader_qos_post (o); + } + + else datareader_qos_none (o); + } + + void qosProfile:: + datareader_qos_pre (Type&) + { + } + + void qosProfile:: + datareader_qos_pre (Type const&) + { + } + + void qosProfile:: + datareader_qos_next (Type&) + { + } + + void qosProfile:: + datareader_qos_next (Type const&) + { + } + + void qosProfile:: + datareader_qos_post (Type&) + { + } + + void qosProfile:: + datareader_qos_post (Type const&) + { + } + + void qosProfile:: + datareader_qos_none (Type&) + { + } + + void qosProfile:: + datareader_qos_none (Type const&) + { + } + + void qosProfile:: + datawriter_qos (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::datawriter_qos_iterator b (o.begin_datawriter_qos()), e (o.end_datawriter_qos()); + + if (b != e) + { + datawriter_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) datawriter_qos_next (o); + } + + datawriter_qos_post (o); + } + + else datawriter_qos_none (o); + } + + void qosProfile:: + datawriter_qos (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::datawriter_qos_const_iterator b (o.begin_datawriter_qos()), e (o.end_datawriter_qos()); + + if (b != e) + { + datawriter_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) datawriter_qos_next (o); + } + + datawriter_qos_post (o); + } + + else datawriter_qos_none (o); + } + + void qosProfile:: + datawriter_qos_pre (Type&) + { + } + + void qosProfile:: + datawriter_qos_pre (Type const&) + { + } + + void qosProfile:: + datawriter_qos_next (Type&) + { + } + + void qosProfile:: + datawriter_qos_next (Type const&) + { + } + + void qosProfile:: + datawriter_qos_post (Type&) + { + } + + void qosProfile:: + datawriter_qos_post (Type const&) + { + } + + void qosProfile:: + datawriter_qos_none (Type&) + { + } + + void qosProfile:: + datawriter_qos_none (Type const&) + { + } + + void qosProfile:: + topic_qos (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::topic_qos_iterator b (o.begin_topic_qos()), e (o.end_topic_qos()); + + if (b != e) + { + topic_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) topic_qos_next (o); + } + + topic_qos_post (o); + } + + else topic_qos_none (o); + } + + void qosProfile:: + topic_qos (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::topic_qos_const_iterator b (o.begin_topic_qos()), e (o.end_topic_qos()); + + if (b != e) + { + topic_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) topic_qos_next (o); + } + + topic_qos_post (o); + } + + else topic_qos_none (o); + } + + void qosProfile:: + topic_qos_pre (Type&) + { + } + + void qosProfile:: + topic_qos_pre (Type const&) + { + } + + void qosProfile:: + topic_qos_next (Type&) + { + } + + void qosProfile:: + topic_qos_next (Type const&) + { + } + + void qosProfile:: + topic_qos_post (Type&) + { + } + + void qosProfile:: + topic_qos_post (Type const&) + { + } + + void qosProfile:: + topic_qos_none (Type&) + { + } + + void qosProfile:: + topic_qos_none (Type const&) + { + } + + void qosProfile:: + domainparticipant_qos (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::domainparticipant_qos_iterator b (o.begin_domainparticipant_qos()), e (o.end_domainparticipant_qos()); + + if (b != e) + { + domainparticipant_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) domainparticipant_qos_next (o); + } + + domainparticipant_qos_post (o); + } + + else domainparticipant_qos_none (o); + } + + void qosProfile:: + domainparticipant_qos (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::domainparticipant_qos_const_iterator b (o.begin_domainparticipant_qos()), e (o.end_domainparticipant_qos()); + + if (b != e) + { + domainparticipant_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) domainparticipant_qos_next (o); + } + + domainparticipant_qos_post (o); + } + + else domainparticipant_qos_none (o); + } + + void qosProfile:: + domainparticipant_qos_pre (Type&) + { + } + + void qosProfile:: + domainparticipant_qos_pre (Type const&) + { + } + + void qosProfile:: + domainparticipant_qos_next (Type&) + { + } + + void qosProfile:: + domainparticipant_qos_next (Type const&) + { + } + + void qosProfile:: + domainparticipant_qos_post (Type&) + { + } + + void qosProfile:: + domainparticipant_qos_post (Type const&) + { + } + + void qosProfile:: + domainparticipant_qos_none (Type&) + { + } + + void qosProfile:: + domainparticipant_qos_none (Type const&) + { + } + + void qosProfile:: + publisher_qos (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::publisher_qos_iterator b (o.begin_publisher_qos()), e (o.end_publisher_qos()); + + if (b != e) + { + publisher_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) publisher_qos_next (o); + } + + publisher_qos_post (o); + } + + else publisher_qos_none (o); + } + + void qosProfile:: + publisher_qos (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::publisher_qos_const_iterator b (o.begin_publisher_qos()), e (o.end_publisher_qos()); + + if (b != e) + { + publisher_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) publisher_qos_next (o); + } + + publisher_qos_post (o); + } + + else publisher_qos_none (o); + } + + void qosProfile:: + publisher_qos_pre (Type&) + { + } + + void qosProfile:: + publisher_qos_pre (Type const&) + { + } + + void qosProfile:: + publisher_qos_next (Type&) + { + } + + void qosProfile:: + publisher_qos_next (Type const&) + { + } + + void qosProfile:: + publisher_qos_post (Type&) + { + } + + void qosProfile:: + publisher_qos_post (Type const&) + { + } + + void qosProfile:: + publisher_qos_none (Type&) + { + } + + void qosProfile:: + publisher_qos_none (Type const&) + { + } + + void qosProfile:: + subscriber_qos (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::subscriber_qos_iterator b (o.begin_subscriber_qos()), e (o.end_subscriber_qos()); + + if (b != e) + { + subscriber_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) subscriber_qos_next (o); + } + + subscriber_qos_post (o); + } + + else subscriber_qos_none (o); + } + + void qosProfile:: + subscriber_qos (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile::subscriber_qos_const_iterator b (o.begin_subscriber_qos()), e (o.end_subscriber_qos()); + + if (b != e) + { + subscriber_qos_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) subscriber_qos_next (o); + } + + subscriber_qos_post (o); + } + + else subscriber_qos_none (o); + } + + void qosProfile:: + subscriber_qos_pre (Type&) + { + } + + void qosProfile:: + subscriber_qos_pre (Type const&) + { + } + + void qosProfile:: + subscriber_qos_next (Type&) + { + } + + void qosProfile:: + subscriber_qos_next (Type const&) + { + } + + void qosProfile:: + subscriber_qos_post (Type&) + { + } + + void qosProfile:: + subscriber_qos_post (Type const&) + { + } + + void qosProfile:: + subscriber_qos_none (Type&) + { + } + + void qosProfile:: + subscriber_qos_none (Type const&) + { + } + + void qosProfile:: + name (Type& o) + { + dispatch (o.name ()); + } + + void qosProfile:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void qosProfile:: + base_name (Type& o) + { + dispatch (o.base_name ()); + } + + void qosProfile:: + base_name (Type const& o) + { + dispatch (o.base_name ()); + } + + void qosProfile:: + base_name_none (Type&) + { + } + + void qosProfile:: + base_name_none (Type const&) + { + } + + void qosProfile:: + post (Type&) + { + } + + void qosProfile:: + post (Type const&) + { + } + + // qosProfile_seq + // + // + + void qosProfile_seq:: + traverse (Type& o) + { + pre (o); + qos_profile (o); + post (o); + } + + void qosProfile_seq:: + traverse (Type const& o) + { + pre (o); + qos_profile (o); + post (o); + } + + void qosProfile_seq:: + pre (Type&) + { + } + + void qosProfile_seq:: + pre (Type const&) + { + } + + void qosProfile_seq:: + qos_profile (Type& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile_seq::qos_profile_iterator b (o.begin_qos_profile()), e (o.end_qos_profile()); + + if (b != e) + { + qos_profile_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) qos_profile_next (o); + } + + qos_profile_post (o); + } + + else qos_profile_none (o); + } + + void qosProfile_seq:: + qos_profile (Type const& o) + { + // VC6 anathema strikes again + // + ::dds::qosProfile_seq::qos_profile_const_iterator b (o.begin_qos_profile()), e (o.end_qos_profile()); + + if (b != e) + { + qos_profile_pre (o); + for (; b != e;) + { + dispatch (*(*b)); + if (++b != e) qos_profile_next (o); + } + + qos_profile_post (o); + } + + else qos_profile_none (o); + } + + void qosProfile_seq:: + qos_profile_pre (Type&) + { + } + + void qosProfile_seq:: + qos_profile_pre (Type const&) + { + } + + void qosProfile_seq:: + qos_profile_next (Type&) + { + } + + void qosProfile_seq:: + qos_profile_next (Type const&) + { + } + + void qosProfile_seq:: + qos_profile_post (Type&) + { + } + + void qosProfile_seq:: + qos_profile_post (Type const&) + { + } + + void qosProfile_seq:: + qos_profile_none (Type&) + { + } + + void qosProfile_seq:: + qos_profile_none (Type const&) + { + } + + void qosProfile_seq:: + post (Type&) + { + } + + void qosProfile_seq:: + post (Type const&) + { + } + } +} + +namespace dds +{ + namespace Writer + { + // destinationOrderKind + // + // + + destinationOrderKind:: + destinationOrderKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + destinationOrderKind:: + destinationOrderKind () + { + } + + void destinationOrderKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::destinationOrderKind::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS) s = ACE_TEXT ("BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS"); + else if (o == ::dds::destinationOrderKind::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS) s = ACE_TEXT ("BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // durabilityKind + // + // + + durabilityKind:: + durabilityKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + durabilityKind:: + durabilityKind () + { + } + + void durabilityKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::durabilityKind::VOLATILE_DURABILITY_QOS) s = ACE_TEXT ("VOLATILE_DURABILITY_QOS"); + else if (o == ::dds::durabilityKind::TRANSIENT_LOCAL_DURABILITY_QOS) s = ACE_TEXT ("TRANSIENT_LOCAL_DURABILITY_QOS"); + else if (o == ::dds::durabilityKind::TRANSIENT_DURABILITY_QOS) s = ACE_TEXT ("TRANSIENT_DURABILITY_QOS"); + else if (o == ::dds::durabilityKind::PERSISTENT_DURABILITY_QOS) s = ACE_TEXT ("PERSISTENT_DURABILITY_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // historyKind + // + // + + historyKind:: + historyKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + historyKind:: + historyKind () + { + } + + void historyKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::historyKind::KEEP_LAST_HISTORY_QOS) s = ACE_TEXT ("KEEP_LAST_HISTORY_QOS"); + else if (o == ::dds::historyKind::KEEP_ALL_HISTORY_QOS) s = ACE_TEXT ("KEEP_ALL_HISTORY_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // livelinessKind + // + // + + livelinessKind:: + livelinessKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + livelinessKind:: + livelinessKind () + { + } + + void livelinessKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::livelinessKind::AUTOMATIC_LIVELINESS_QOS) s = ACE_TEXT ("AUTOMATIC_LIVELINESS_QOS"); + else if (o == ::dds::livelinessKind::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS) s = ACE_TEXT ("MANUAL_BY_PARTICIPANT_LIVELINESS_QOS"); + else if (o == ::dds::livelinessKind::MANUAL_BY_TOPIC_LIVELINESS_QOS) s = ACE_TEXT ("MANUAL_BY_TOPIC_LIVELINESS_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // presentationAccessScopeKind + // + // + + presentationAccessScopeKind:: + presentationAccessScopeKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + presentationAccessScopeKind:: + presentationAccessScopeKind () + { + } + + void presentationAccessScopeKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::presentationAccessScopeKind::INSTANCE_PRESENTATION_QOS) s = ACE_TEXT ("INSTANCE_PRESENTATION_QOS"); + else if (o == ::dds::presentationAccessScopeKind::TOPIC_PRESENTATION_QOS) s = ACE_TEXT ("TOPIC_PRESENTATION_QOS"); + else if (o == ::dds::presentationAccessScopeKind::GROUP_PRESENTATION_QOS) s = ACE_TEXT ("GROUP_PRESENTATION_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // reliabilityKind + // + // + + reliabilityKind:: + reliabilityKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + reliabilityKind:: + reliabilityKind () + { + } + + void reliabilityKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::reliabilityKind::BEST_EFFORT_RELIABILITY_QOS) s = ACE_TEXT ("BEST_EFFORT_RELIABILITY_QOS"); + else if (o == ::dds::reliabilityKind::RELIABLE_RELIABILITY_QOS) s = ACE_TEXT ("RELIABLE_RELIABILITY_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // ownershipKind + // + // + + ownershipKind:: + ownershipKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ownershipKind:: + ownershipKind () + { + } + + void ownershipKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::dds::ownershipKind::SHARED_OWNERSHIP_QOS) s = ACE_TEXT ("SHARED_OWNERSHIP_QOS"); + else if (o == ::dds::ownershipKind::EXCLUSIVE_OWNERSHIP_QOS) s = ACE_TEXT ("EXCLUSIVE_OWNERSHIP_QOS"); + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // duration + // + // + + duration:: + duration (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + duration:: + duration () + { + } + + void duration:: + traverse (Type const& o) + { + Traversal::duration::traverse (o); + } + + void duration:: + sec (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("sec"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::duration::sec (o); + pop_ (); + } + + void duration:: + nanosec (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("nanosec"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::duration::nanosec (o); + pop_ (); + } + + // stringSeq + // + // + + stringSeq:: + stringSeq (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + stringSeq:: + stringSeq () + { + } + + void stringSeq:: + traverse (Type const& o) + { + Traversal::stringSeq::traverse (o); + } + + void stringSeq:: + element_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("element"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void stringSeq:: + element_next (Type const& o) + { + element_post (o); + element_pre (o); + } + + void stringSeq:: + element_post (Type const&) + { + pop_ (); + } + + // deadlineQosPolicy + // + // + + deadlineQosPolicy:: + deadlineQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + deadlineQosPolicy:: + deadlineQosPolicy () + { + } + + void deadlineQosPolicy:: + traverse (Type const& o) + { + Traversal::deadlineQosPolicy::traverse (o); + } + + void deadlineQosPolicy:: + period (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("period"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::deadlineQosPolicy::period (o); + pop_ (); + } + + // destinationOrderQosPolicy + // + // + + destinationOrderQosPolicy:: + destinationOrderQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + destinationOrderQosPolicy:: + destinationOrderQosPolicy () + { + } + + void destinationOrderQosPolicy:: + traverse (Type const& o) + { + Traversal::destinationOrderQosPolicy::traverse (o); + } + + void destinationOrderQosPolicy:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::destinationOrderQosPolicy::kind (o); + pop_ (); + } + + // durabilityQosPolicy + // + // + + durabilityQosPolicy:: + durabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + durabilityQosPolicy:: + durabilityQosPolicy () + { + } + + void durabilityQosPolicy:: + traverse (Type const& o) + { + Traversal::durabilityQosPolicy::traverse (o); + } + + void durabilityQosPolicy:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityQosPolicy::kind (o); + pop_ (); + } + + // durabilityServiceQosPolicy + // + // + + durabilityServiceQosPolicy:: + durabilityServiceQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + durabilityServiceQosPolicy:: + durabilityServiceQosPolicy () + { + } + + void durabilityServiceQosPolicy:: + traverse (Type const& o) + { + Traversal::durabilityServiceQosPolicy::traverse (o); + } + + void durabilityServiceQosPolicy:: + service_cleanup_delay (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("service_cleanup_delay"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityServiceQosPolicy::service_cleanup_delay (o); + pop_ (); + } + + void durabilityServiceQosPolicy:: + history_kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("history_kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityServiceQosPolicy::history_kind (o); + pop_ (); + } + + void durabilityServiceQosPolicy:: + history_depth (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("history_depth"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityServiceQosPolicy::history_depth (o); + pop_ (); + } + + void durabilityServiceQosPolicy:: + max_samples (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_samples"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityServiceQosPolicy::max_samples (o); + pop_ (); + } + + void durabilityServiceQosPolicy:: + max_instances (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_instances"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityServiceQosPolicy::max_instances (o); + pop_ (); + } + + void durabilityServiceQosPolicy:: + max_samples_per_instance (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_samples_per_instance"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::durabilityServiceQosPolicy::max_samples_per_instance (o); + pop_ (); + } + + // entityFactoryQosPolicy + // + // + + entityFactoryQosPolicy:: + entityFactoryQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + entityFactoryQosPolicy:: + entityFactoryQosPolicy () + { + } + + void entityFactoryQosPolicy:: + traverse (Type const& o) + { + Traversal::entityFactoryQosPolicy::traverse (o); + } + + void entityFactoryQosPolicy:: + autoenable_created_entities (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("autoenable_created_entities"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::entityFactoryQosPolicy::autoenable_created_entities (o); + pop_ (); + } + + // groupDataQosPolicy + // + // + + groupDataQosPolicy:: + groupDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + groupDataQosPolicy:: + groupDataQosPolicy () + { + } + + void groupDataQosPolicy:: + traverse (Type const& o) + { + Traversal::groupDataQosPolicy::traverse (o); + } + + void groupDataQosPolicy:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("value"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::groupDataQosPolicy::value (o); + pop_ (); + } + + // historyQosPolicy + // + // + + historyQosPolicy:: + historyQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + historyQosPolicy:: + historyQosPolicy () + { + } + + void historyQosPolicy:: + traverse (Type const& o) + { + Traversal::historyQosPolicy::traverse (o); + } + + void historyQosPolicy:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::historyQosPolicy::kind (o); + pop_ (); + } + + void historyQosPolicy:: + depth (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("depth"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::historyQosPolicy::depth (o); + pop_ (); + } + + // latencyBudgetQosPolicy + // + // + + latencyBudgetQosPolicy:: + latencyBudgetQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + latencyBudgetQosPolicy:: + latencyBudgetQosPolicy () + { + } + + void latencyBudgetQosPolicy:: + traverse (Type const& o) + { + Traversal::latencyBudgetQosPolicy::traverse (o); + } + + void latencyBudgetQosPolicy:: + duration (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("duration"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::latencyBudgetQosPolicy::duration (o); + pop_ (); + } + + // lifespanQosPolicy + // + // + + lifespanQosPolicy:: + lifespanQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + lifespanQosPolicy:: + lifespanQosPolicy () + { + } + + void lifespanQosPolicy:: + traverse (Type const& o) + { + Traversal::lifespanQosPolicy::traverse (o); + } + + void lifespanQosPolicy:: + duration (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("duration"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::lifespanQosPolicy::duration (o); + pop_ (); + } + + // livelinessQosPolicy + // + // + + livelinessQosPolicy:: + livelinessQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + livelinessQosPolicy:: + livelinessQosPolicy () + { + } + + void livelinessQosPolicy:: + traverse (Type const& o) + { + Traversal::livelinessQosPolicy::traverse (o); + } + + void livelinessQosPolicy:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::livelinessQosPolicy::kind (o); + pop_ (); + } + + void livelinessQosPolicy:: + lease_duration (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("lease_duration"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::livelinessQosPolicy::lease_duration (o); + pop_ (); + } + + // ownershipQosPolicy + // + // + + ownershipQosPolicy:: + ownershipQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ownershipQosPolicy:: + ownershipQosPolicy () + { + } + + void ownershipQosPolicy:: + traverse (Type const& o) + { + Traversal::ownershipQosPolicy::traverse (o); + } + + void ownershipQosPolicy:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::ownershipQosPolicy::kind (o); + pop_ (); + } + + // ownershipStrengthQosPolicy + // + // + + ownershipStrengthQosPolicy:: + ownershipStrengthQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ownershipStrengthQosPolicy:: + ownershipStrengthQosPolicy () + { + } + + void ownershipStrengthQosPolicy:: + traverse (Type const& o) + { + Traversal::ownershipStrengthQosPolicy::traverse (o); + } + + void ownershipStrengthQosPolicy:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("value"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::ownershipStrengthQosPolicy::value (o); + pop_ (); + } + + // partitionQosPolicy + // + // + + partitionQosPolicy:: + partitionQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + partitionQosPolicy:: + partitionQosPolicy () + { + } + + void partitionQosPolicy:: + traverse (Type const& o) + { + Traversal::partitionQosPolicy::traverse (o); + } + + void partitionQosPolicy:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("name"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::partitionQosPolicy::name (o); + pop_ (); + } + + // presentationQosPolicy + // + // + + presentationQosPolicy:: + presentationQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + presentationQosPolicy:: + presentationQosPolicy () + { + } + + void presentationQosPolicy:: + traverse (Type const& o) + { + Traversal::presentationQosPolicy::traverse (o); + } + + void presentationQosPolicy:: + access_scope (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("access_scope"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::presentationQosPolicy::access_scope (o); + pop_ (); + } + + void presentationQosPolicy:: + coherent_access (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("coherent_access"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::presentationQosPolicy::coherent_access (o); + pop_ (); + } + + void presentationQosPolicy:: + ordered_access (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("ordered_access"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::presentationQosPolicy::ordered_access (o); + pop_ (); + } + + // readerDataLifecycleQosPolicy + // + // + + readerDataLifecycleQosPolicy:: + readerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + readerDataLifecycleQosPolicy:: + readerDataLifecycleQosPolicy () + { + } + + void readerDataLifecycleQosPolicy:: + traverse (Type const& o) + { + Traversal::readerDataLifecycleQosPolicy::traverse (o); + } + + void readerDataLifecycleQosPolicy:: + autopurge_nowriter_samples_delay (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("autopurge_nowriter_samples_delay"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::readerDataLifecycleQosPolicy::autopurge_nowriter_samples_delay (o); + pop_ (); + } + + void readerDataLifecycleQosPolicy:: + autopurge_disposed_samples_delay (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("autopurge_disposed_samples_delay"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::readerDataLifecycleQosPolicy::autopurge_disposed_samples_delay (o); + pop_ (); + } + + // reliabilityQosPolicy + // + // + + reliabilityQosPolicy:: + reliabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + reliabilityQosPolicy:: + reliabilityQosPolicy () + { + } + + void reliabilityQosPolicy:: + traverse (Type const& o) + { + Traversal::reliabilityQosPolicy::traverse (o); + } + + void reliabilityQosPolicy:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("kind"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::reliabilityQosPolicy::kind (o); + pop_ (); + } + + void reliabilityQosPolicy:: + max_blocking_time (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_blocking_time"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::reliabilityQosPolicy::max_blocking_time (o); + pop_ (); + } + + // resourceLimitsQosPolicy + // + // + + resourceLimitsQosPolicy:: + resourceLimitsQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + resourceLimitsQosPolicy:: + resourceLimitsQosPolicy () + { + } + + void resourceLimitsQosPolicy:: + traverse (Type const& o) + { + Traversal::resourceLimitsQosPolicy::traverse (o); + } + + void resourceLimitsQosPolicy:: + max_samples (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_samples"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::resourceLimitsQosPolicy::max_samples (o); + pop_ (); + } + + void resourceLimitsQosPolicy:: + max_instances (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_instances"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::resourceLimitsQosPolicy::max_instances (o); + pop_ (); + } + + void resourceLimitsQosPolicy:: + max_samples_per_instance (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("max_samples_per_instance"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::resourceLimitsQosPolicy::max_samples_per_instance (o); + pop_ (); + } + + void resourceLimitsQosPolicy:: + initial_samples (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("initial_samples"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::resourceLimitsQosPolicy::initial_samples (o); + pop_ (); + } + + void resourceLimitsQosPolicy:: + initial_instances (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("initial_instances"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::resourceLimitsQosPolicy::initial_instances (o); + pop_ (); + } + + // timeBasedFilterQosPolicy + // + // + + timeBasedFilterQosPolicy:: + timeBasedFilterQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + timeBasedFilterQosPolicy:: + timeBasedFilterQosPolicy () + { + } + + void timeBasedFilterQosPolicy:: + traverse (Type const& o) + { + Traversal::timeBasedFilterQosPolicy::traverse (o); + } + + void timeBasedFilterQosPolicy:: + minimum_separation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("minimum_separation"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::timeBasedFilterQosPolicy::minimum_separation (o); + pop_ (); + } + + // topicDataQosPolicy + // + // + + topicDataQosPolicy:: + topicDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + topicDataQosPolicy:: + topicDataQosPolicy () + { + } + + void topicDataQosPolicy:: + traverse (Type const& o) + { + Traversal::topicDataQosPolicy::traverse (o); + } + + void topicDataQosPolicy:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("value"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicDataQosPolicy::value (o); + pop_ (); + } + + // transportPriorityQosPolicy + // + // + + transportPriorityQosPolicy:: + transportPriorityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + transportPriorityQosPolicy:: + transportPriorityQosPolicy () + { + } + + void transportPriorityQosPolicy:: + traverse (Type const& o) + { + Traversal::transportPriorityQosPolicy::traverse (o); + } + + void transportPriorityQosPolicy:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("value"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::transportPriorityQosPolicy::value (o); + pop_ (); + } + + // userDataQosPolicy + // + // + + userDataQosPolicy:: + userDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + userDataQosPolicy:: + userDataQosPolicy () + { + } + + void userDataQosPolicy:: + traverse (Type const& o) + { + Traversal::userDataQosPolicy::traverse (o); + } + + void userDataQosPolicy:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("value"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::userDataQosPolicy::value (o); + pop_ (); + } + + // writerDataLifecycleQosPolicy + // + // + + writerDataLifecycleQosPolicy:: + writerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + writerDataLifecycleQosPolicy:: + writerDataLifecycleQosPolicy () + { + } + + void writerDataLifecycleQosPolicy:: + traverse (Type const& o) + { + Traversal::writerDataLifecycleQosPolicy::traverse (o); + } + + void writerDataLifecycleQosPolicy:: + autodispose_unregistered_instances (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("autodispose_unregistered_instances"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::writerDataLifecycleQosPolicy::autodispose_unregistered_instances (o); + pop_ (); + } + + // domainparticipantQos + // + // + + domainparticipantQos:: + domainparticipantQos (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + domainparticipantQos:: + domainparticipantQos () + { + } + + void domainparticipantQos:: + traverse (Type const& o) + { + Traversal::domainparticipantQos::traverse (o); + } + + void domainparticipantQos:: + user_data (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("user_data"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::domainparticipantQos::user_data (o); + pop_ (); + } + + void domainparticipantQos:: + entity_factory (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("entity_factory"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::domainparticipantQos::entity_factory (o); + pop_ (); + } + + void domainparticipantQos:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::domainparticipantQos::name (o); + attr_ (0); + } + + void domainparticipantQos:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::domainparticipantQos::base_name (o); + attr_ (0); + } + + void domainparticipantQos:: + topic_filter (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("topic_filter"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::domainparticipantQos::topic_filter (o); + attr_ (0); + } + + // publisherQos + // + // + + publisherQos:: + publisherQos (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + publisherQos:: + publisherQos () + { + } + + void publisherQos:: + traverse (Type const& o) + { + Traversal::publisherQos::traverse (o); + } + + void publisherQos:: + presentation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("presentation"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::publisherQos::presentation (o); + pop_ (); + } + + void publisherQos:: + partition (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("partition"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::publisherQos::partition (o); + pop_ (); + } + + void publisherQos:: + group_data (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("group_data"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::publisherQos::group_data (o); + pop_ (); + } + + void publisherQos:: + entity_factory (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("entity_factory"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::publisherQos::entity_factory (o); + pop_ (); + } + + void publisherQos:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::publisherQos::name (o); + attr_ (0); + } + + void publisherQos:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::publisherQos::base_name (o); + attr_ (0); + } + + void publisherQos:: + topic_filter (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("topic_filter"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::publisherQos::topic_filter (o); + attr_ (0); + } + + // subscriberQos + // + // + + subscriberQos:: + subscriberQos (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + subscriberQos:: + subscriberQos () + { + } + + void subscriberQos:: + traverse (Type const& o) + { + Traversal::subscriberQos::traverse (o); + } + + void subscriberQos:: + presentation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("presentation"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::subscriberQos::presentation (o); + pop_ (); + } + + void subscriberQos:: + partition (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("partition"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::subscriberQos::partition (o); + pop_ (); + } + + void subscriberQos:: + group_data (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("group_data"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::subscriberQos::group_data (o); + pop_ (); + } + + void subscriberQos:: + entity_factory (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("entity_factory"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::subscriberQos::entity_factory (o); + pop_ (); + } + + void subscriberQos:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::subscriberQos::name (o); + attr_ (0); + } + + void subscriberQos:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::subscriberQos::base_name (o); + attr_ (0); + } + + void subscriberQos:: + topic_filter (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("topic_filter"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::subscriberQos::topic_filter (o); + attr_ (0); + } + + // topicQos + // + // + + topicQos:: + topicQos (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + topicQos:: + topicQos () + { + } + + void topicQos:: + traverse (Type const& o) + { + Traversal::topicQos::traverse (o); + } + + void topicQos:: + topic_data (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("topic_data"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::topic_data (o); + pop_ (); + } + + void topicQos:: + durability (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("durability"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::durability (o); + pop_ (); + } + + void topicQos:: + durability_service (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("durability_service"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::durability_service (o); + pop_ (); + } + + void topicQos:: + deadline (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("deadline"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::deadline (o); + pop_ (); + } + + void topicQos:: + latency_budget (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("latency_budget"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::latency_budget (o); + pop_ (); + } + + void topicQos:: + liveliness (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("liveliness"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::liveliness (o); + pop_ (); + } + + void topicQos:: + reliability (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("reliability"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::reliability (o); + pop_ (); + } + + void topicQos:: + destination_order (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("destination_order"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::destination_order (o); + pop_ (); + } + + void topicQos:: + history (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("history"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::history (o); + pop_ (); + } + + void topicQos:: + resource_limits (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("resource_limits"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::resource_limits (o); + pop_ (); + } + + void topicQos:: + transport_priority (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("transport_priority"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::transport_priority (o); + pop_ (); + } + + void topicQos:: + lifespan (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("lifespan"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::lifespan (o); + pop_ (); + } + + void topicQos:: + ownership (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("ownership"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::topicQos::ownership (o); + pop_ (); + } + + void topicQos:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::topicQos::name (o); + attr_ (0); + } + + void topicQos:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::topicQos::base_name (o); + attr_ (0); + } + + void topicQos:: + topic_filter (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("topic_filter"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::topicQos::topic_filter (o); + attr_ (0); + } + + // datareaderQos + // + // + + datareaderQos:: + datareaderQos (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + datareaderQos:: + datareaderQos () + { + } + + void datareaderQos:: + traverse (Type const& o) + { + Traversal::datareaderQos::traverse (o); + } + + void datareaderQos:: + durability (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("durability"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::durability (o); + pop_ (); + } + + void datareaderQos:: + deadline (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("deadline"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::deadline (o); + pop_ (); + } + + void datareaderQos:: + latency_budget (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("latency_budget"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::latency_budget (o); + pop_ (); + } + + void datareaderQos:: + liveliness (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("liveliness"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::liveliness (o); + pop_ (); + } + + void datareaderQos:: + reliability (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("reliability"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::reliability (o); + pop_ (); + } + + void datareaderQos:: + destination_order (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("destination_order"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::destination_order (o); + pop_ (); + } + + void datareaderQos:: + history (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("history"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::history (o); + pop_ (); + } + + void datareaderQos:: + resource_limits (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("resource_limits"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::resource_limits (o); + pop_ (); + } + + void datareaderQos:: + user_data (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("user_data"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::user_data (o); + pop_ (); + } + + void datareaderQos:: + ownership (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("ownership"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::ownership (o); + pop_ (); + } + + void datareaderQos:: + time_based_filter (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("time_based_filter"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::time_based_filter (o); + pop_ (); + } + + void datareaderQos:: + reader_data_lifecycle (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("reader_data_lifecycle"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datareaderQos::reader_data_lifecycle (o); + pop_ (); + } + + void datareaderQos:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::datareaderQos::name (o); + attr_ (0); + } + + void datareaderQos:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::datareaderQos::base_name (o); + attr_ (0); + } + + void datareaderQos:: + topic_filter (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("topic_filter"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::datareaderQos::topic_filter (o); + attr_ (0); + } + + // datawriterQos + // + // + + datawriterQos:: + datawriterQos (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + datawriterQos:: + datawriterQos () + { + } + + void datawriterQos:: + traverse (Type const& o) + { + Traversal::datawriterQos::traverse (o); + } + + void datawriterQos:: + durability (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("durability"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::durability (o); + pop_ (); + } + + void datawriterQos:: + durability_service (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("durability_service"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::durability_service (o); + pop_ (); + } + + void datawriterQos:: + deadline (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("deadline"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::deadline (o); + pop_ (); + } + + void datawriterQos:: + latency_budget (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("latency_budget"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::latency_budget (o); + pop_ (); + } + + void datawriterQos:: + liveliness (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("liveliness"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::liveliness (o); + pop_ (); + } + + void datawriterQos:: + reliability (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("reliability"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::reliability (o); + pop_ (); + } + + void datawriterQos:: + destination_order (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("destination_order"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::destination_order (o); + pop_ (); + } + + void datawriterQos:: + history (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("history"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::history (o); + pop_ (); + } + + void datawriterQos:: + resource_limits (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("resource_limits"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::resource_limits (o); + pop_ (); + } + + void datawriterQos:: + transport_priority (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("transport_priority"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::transport_priority (o); + pop_ (); + } + + void datawriterQos:: + lifespan (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("lifespan"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::lifespan (o); + pop_ (); + } + + void datawriterQos:: + user_data (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("user_data"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::user_data (o); + pop_ (); + } + + void datawriterQos:: + ownership (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("ownership"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::ownership (o); + pop_ (); + } + + void datawriterQos:: + ownership_strength (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("ownership_strength"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::ownership_strength (o); + pop_ (); + } + + void datawriterQos:: + writer_data_lifecycle (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("writer_data_lifecycle"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + Traversal::datawriterQos::writer_data_lifecycle (o); + pop_ (); + } + + void datawriterQos:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::datawriterQos::name (o); + attr_ (0); + } + + void datawriterQos:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::datawriterQos::base_name (o); + attr_ (0); + } + + void datawriterQos:: + topic_filter (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("topic_filter"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::datawriterQos::topic_filter (o); + attr_ (0); + } + + // qosProfile + // + // + + qosProfile:: + qosProfile (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + qosProfile:: + qosProfile () + { + } + + void qosProfile:: + traverse (Type const& o) + { + Traversal::qosProfile::traverse (o); + } + + void qosProfile:: + datareader_qos_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("datareader_qos"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile:: + datareader_qos_next (Type const& o) + { + datareader_qos_post (o); + datareader_qos_pre (o); + } + + void qosProfile:: + datareader_qos_post (Type const&) + { + pop_ (); + } + + void qosProfile:: + datawriter_qos_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("datawriter_qos"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile:: + datawriter_qos_next (Type const& o) + { + datawriter_qos_post (o); + datawriter_qos_pre (o); + } + + void qosProfile:: + datawriter_qos_post (Type const&) + { + pop_ (); + } + + void qosProfile:: + topic_qos_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("topic_qos"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile:: + topic_qos_next (Type const& o) + { + topic_qos_post (o); + topic_qos_pre (o); + } + + void qosProfile:: + topic_qos_post (Type const&) + { + pop_ (); + } + + void qosProfile:: + domainparticipant_qos_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("domainparticipant_qos"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile:: + domainparticipant_qos_next (Type const& o) + { + domainparticipant_qos_post (o); + domainparticipant_qos_pre (o); + } + + void qosProfile:: + domainparticipant_qos_post (Type const&) + { + pop_ (); + } + + void qosProfile:: + publisher_qos_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("publisher_qos"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile:: + publisher_qos_next (Type const& o) + { + publisher_qos_post (o); + publisher_qos_pre (o); + } + + void qosProfile:: + publisher_qos_post (Type const&) + { + pop_ (); + } + + void qosProfile:: + subscriber_qos_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("subscriber_qos"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile:: + subscriber_qos_next (Type const& o) + { + subscriber_qos_post (o); + subscriber_qos_pre (o); + } + + void qosProfile:: + subscriber_qos_post (Type const&) + { + pop_ (); + } + + void qosProfile:: + name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::qosProfile::name (o); + attr_ (0); + } + + void qosProfile:: + base_name (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (ACE_TEXT ("base_name"), ACE_TEXT (""), top_ ()); + attr_ (&a); + Traversal::qosProfile::base_name (o); + attr_ (0); + } + + // qosProfile_seq + // + // + + qosProfile_seq:: + qosProfile_seq (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + qosProfile_seq:: + qosProfile_seq () + { + } + + void qosProfile_seq:: + traverse (Type const& o) + { + Traversal::qosProfile_seq::traverse (o); + } + + void qosProfile_seq:: + qos_profile_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > (ACE_TEXT("qos_profile"), ACE_TEXT("http://www.omg.org/dds"), top_ ())); + } + + void qosProfile_seq:: + qos_profile_next (Type const& o) + { + qos_profile_post (o); + qos_profile_pre (o); + } + + void qosProfile_seq:: + qos_profile_post (Type const&) + { + pop_ (); + } + } +} + +namespace dds +{ + namespace writer + { + void + dds (::dds::qosProfile_seq const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); + if (e.name () != ACE_TEXT ("dds")) + { + throw 1; + } + + struct W : virtual ::dds::Writer::qosProfile_seq, + virtual ::dds::Writer::qosProfile, + virtual ::dds::Writer::datareaderQos, + virtual ::dds::Writer::durabilityQosPolicy, + virtual ::dds::Writer::durabilityKind, + virtual ::dds::Writer::deadlineQosPolicy, + virtual ::dds::Writer::duration, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::dds::Writer::latencyBudgetQosPolicy, + virtual ::dds::Writer::livelinessQosPolicy, + virtual ::dds::Writer::livelinessKind, + virtual ::dds::Writer::reliabilityQosPolicy, + virtual ::dds::Writer::reliabilityKind, + virtual ::dds::Writer::destinationOrderQosPolicy, + virtual ::dds::Writer::destinationOrderKind, + virtual ::dds::Writer::historyQosPolicy, + virtual ::dds::Writer::historyKind, + //virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::positiveInteger, ACE_TCHAR >, + virtual ::dds::Writer::resourceLimitsQosPolicy, + virtual ::dds::Writer::userDataQosPolicy, + virtual ::dds::Writer::ownershipQosPolicy, + virtual ::dds::Writer::ownershipKind, + virtual ::dds::Writer::timeBasedFilterQosPolicy, + virtual ::dds::Writer::readerDataLifecycleQosPolicy, + virtual ::dds::Writer::datawriterQos, + virtual ::dds::Writer::durabilityServiceQosPolicy, + virtual ::dds::Writer::transportPriorityQosPolicy, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::nonNegativeInteger, ACE_TCHAR >, + virtual ::dds::Writer::lifespanQosPolicy, + virtual ::dds::Writer::ownershipStrengthQosPolicy, + virtual ::dds::Writer::writerDataLifecycleQosPolicy, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::dds::Writer::topicQos, + virtual ::dds::Writer::topicDataQosPolicy, + virtual ::dds::Writer::domainparticipantQos, + virtual ::dds::Writer::entityFactoryQosPolicy, + virtual ::dds::Writer::publisherQos, + virtual ::dds::Writer::presentationQosPolicy, + virtual ::dds::Writer::presentationAccessScopeKind, + virtual ::dds::Writer::partitionQosPolicy, + virtual ::dds::Writer::stringSeq, + virtual ::dds::Writer::groupDataQosPolicy, + virtual ::dds::Writer::subscriberQos + //virtual ::XSCRT::Writer< ACE_TCHAR > + { + W (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + } +} + diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp new file mode 100644 index 00000000000..ec83a9739f4 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/dds_qos.hpp @@ -0,0 +1,6448 @@ +/* $Id$ + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte <wotte@dre.vanderbilt.edu> + */ +#ifndef DDS_QOS_HPP +#define DDS_QOS_HPP + +#include "XML_QOS_Handler_Export.h" +// Forward declarations. +// +namespace dds +{ + class destinationOrderKind; + class durabilityKind; + class historyKind; + class livelinessKind; + class presentationAccessScopeKind; + class reliabilityKind; + class ownershipKind; + class duration; + class stringSeq; + class deadlineQosPolicy; + class destinationOrderQosPolicy; + class durabilityQosPolicy; + class durabilityServiceQosPolicy; + class entityFactoryQosPolicy; + class groupDataQosPolicy; + class historyQosPolicy; + class latencyBudgetQosPolicy; + class lifespanQosPolicy; + class livelinessQosPolicy; + class ownershipQosPolicy; + class ownershipStrengthQosPolicy; + class partitionQosPolicy; + class presentationQosPolicy; + class readerDataLifecycleQosPolicy; + class reliabilityQosPolicy; + class resourceLimitsQosPolicy; + class timeBasedFilterQosPolicy; + class topicDataQosPolicy; + class transportPriorityQosPolicy; + class userDataQosPolicy; + class writerDataLifecycleQosPolicy; + class domainparticipantQos; + class publisherQos; + class subscriberQos; + class topicQos; + class datareaderQos; + class datawriterQos; + class qosProfile; + class qosProfile_seq; +} + +#include <memory> +#include <string> +#include <list> +#include "XMLSchema/Types.hpp" +#include "XMLSchema/id_map.hpp" +#include "ace/Refcounted_Auto_Ptr.h" +#include "ace/Null_Mutex.h" +#include "ace/TSS_T.h" +#include "ace/ace_wchar.h" +#include "ace/Singleton.h" + +namespace dds +{ + class XML_QOS_Handler_Export destinationOrderKind : public ::XSCRT::Type + { + public: + destinationOrderKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + destinationOrderKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static destinationOrderKind const BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS; + static destinationOrderKind const BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS; + + enum Value + { + BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l, BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (destinationOrderKind const& a, destinationOrderKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (destinationOrderKind const& a, destinationOrderKind const& b); + + private: + destinationOrderKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (destinationOrderKind const &a, destinationOrderKind const &b); + + bool XML_QOS_Handler_Export operator!= (destinationOrderKind const &a, destinationOrderKind const &b); + + + class XML_QOS_Handler_Export durabilityKind : public ::XSCRT::Type + { + public: + durabilityKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + durabilityKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static durabilityKind const VOLATILE_DURABILITY_QOS; + static durabilityKind const TRANSIENT_LOCAL_DURABILITY_QOS; + static durabilityKind const TRANSIENT_DURABILITY_QOS; + static durabilityKind const PERSISTENT_DURABILITY_QOS; + + enum Value + { + VOLATILE_DURABILITY_QOS_l, TRANSIENT_LOCAL_DURABILITY_QOS_l, TRANSIENT_DURABILITY_QOS_l, PERSISTENT_DURABILITY_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (durabilityKind const& a, durabilityKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (durabilityKind const& a, durabilityKind const& b); + + private: + durabilityKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (durabilityKind const &a, durabilityKind const &b); + + bool XML_QOS_Handler_Export operator!= (durabilityKind const &a, durabilityKind const &b); + + + class XML_QOS_Handler_Export historyKind : public ::XSCRT::Type + { + public: + historyKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + historyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static historyKind const KEEP_LAST_HISTORY_QOS; + static historyKind const KEEP_ALL_HISTORY_QOS; + + enum Value + { + KEEP_LAST_HISTORY_QOS_l, KEEP_ALL_HISTORY_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (historyKind const& a, historyKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (historyKind const& a, historyKind const& b); + + private: + historyKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (historyKind const &a, historyKind const &b); + + bool XML_QOS_Handler_Export operator!= (historyKind const &a, historyKind const &b); + + + class XML_QOS_Handler_Export livelinessKind : public ::XSCRT::Type + { + public: + livelinessKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + livelinessKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static livelinessKind const AUTOMATIC_LIVELINESS_QOS; + static livelinessKind const MANUAL_BY_PARTICIPANT_LIVELINESS_QOS; + static livelinessKind const MANUAL_BY_TOPIC_LIVELINESS_QOS; + + enum Value + { + AUTOMATIC_LIVELINESS_QOS_l, MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l, MANUAL_BY_TOPIC_LIVELINESS_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (livelinessKind const& a, livelinessKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (livelinessKind const& a, livelinessKind const& b); + + private: + livelinessKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (livelinessKind const &a, livelinessKind const &b); + + bool XML_QOS_Handler_Export operator!= (livelinessKind const &a, livelinessKind const &b); + + + class XML_QOS_Handler_Export presentationAccessScopeKind : public ::XSCRT::Type + { + public: + presentationAccessScopeKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + presentationAccessScopeKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static presentationAccessScopeKind const INSTANCE_PRESENTATION_QOS; + static presentationAccessScopeKind const TOPIC_PRESENTATION_QOS; + static presentationAccessScopeKind const GROUP_PRESENTATION_QOS; + + enum Value + { + INSTANCE_PRESENTATION_QOS_l, TOPIC_PRESENTATION_QOS_l, GROUP_PRESENTATION_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (presentationAccessScopeKind const& a, presentationAccessScopeKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (presentationAccessScopeKind const& a, presentationAccessScopeKind const& b); + + private: + presentationAccessScopeKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (presentationAccessScopeKind const &a, presentationAccessScopeKind const &b); + + bool XML_QOS_Handler_Export operator!= (presentationAccessScopeKind const &a, presentationAccessScopeKind const &b); + + + class XML_QOS_Handler_Export reliabilityKind : public ::XSCRT::Type + { + public: + reliabilityKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + reliabilityKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static reliabilityKind const BEST_EFFORT_RELIABILITY_QOS; + static reliabilityKind const RELIABLE_RELIABILITY_QOS; + + enum Value + { + BEST_EFFORT_RELIABILITY_QOS_l, RELIABLE_RELIABILITY_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (reliabilityKind const& a, reliabilityKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (reliabilityKind const& a, reliabilityKind const& b); + + private: + reliabilityKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (reliabilityKind const &a, reliabilityKind const &b); + + bool XML_QOS_Handler_Export operator!= (reliabilityKind const &a, reliabilityKind const &b); + + + class XML_QOS_Handler_Export ownershipKind : public ::XSCRT::Type + { + public: + ownershipKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + ownershipKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static ownershipKind const SHARED_OWNERSHIP_QOS; + static ownershipKind const EXCLUSIVE_OWNERSHIP_QOS; + + enum Value + { + SHARED_OWNERSHIP_QOS_l, EXCLUSIVE_OWNERSHIP_QOS_l + }; + + + Value + integral () const; + + friend bool XML_QOS_Handler_Export + operator== (ownershipKind const& a, ownershipKind const& b); + + friend bool XML_QOS_Handler_Export + operator!= (ownershipKind const& a, ownershipKind const& b); + + private: + ownershipKind (Value v); + + Value v_; + }; + + bool XML_QOS_Handler_Export operator== (ownershipKind const &a, ownershipKind const &b); + + bool XML_QOS_Handler_Export operator!= (ownershipKind const &a, ownershipKind const &b); + + + class XML_QOS_Handler_Export duration : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::duration, ACE_Null_Mutex > _ptr; + + // sec + // + public: + bool sec_p () const; + ::XMLSchema::string< ACE_TCHAR > const& sec () const; + void sec (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > sec_; + + // nanosec + // + public: + bool nanosec_p () const; + ::XMLSchema::string< ACE_TCHAR > const& nanosec () const; + void nanosec (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > nanosec_; + + public: + duration (); + + duration (::XSCRT::XML::Element< ACE_TCHAR > const&); + duration (duration const& s); + + duration& + operator= (duration const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export stringSeq : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::stringSeq, ACE_Null_Mutex > _ptr; + + // element + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::XMLSchema::string< ACE_TCHAR >, ACE_Null_Mutex > >::iterator element_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::XMLSchema::string< ACE_TCHAR >, ACE_Null_Mutex > >::const_iterator element_const_iterator; + element_iterator begin_element (); + element_iterator end_element (); + element_const_iterator begin_element () const; + element_const_iterator end_element () const; + void add_element ( ACE_Refcounted_Auto_Ptr < ::XMLSchema::string< ACE_TCHAR >, ACE_Null_Mutex > const& ); + XSCRT::Type* get_element_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_element_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_element (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::XMLSchema::string< ACE_TCHAR >, ACE_Null_Mutex > > element_; + + public: + stringSeq (); + + stringSeq (::XSCRT::XML::Element< ACE_TCHAR > const&); + stringSeq (stringSeq const& s); + + stringSeq& + operator= (stringSeq const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export deadlineQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::deadlineQosPolicy, ACE_Null_Mutex > _ptr; + + // period + // + public: + bool period_p () const; + ::dds::duration const& period () const; + void period (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > period_; + + public: + deadlineQosPolicy (); + + deadlineQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + deadlineQosPolicy (deadlineQosPolicy const& s); + + deadlineQosPolicy& + operator= (deadlineQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export destinationOrderQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::destinationOrderQosPolicy, ACE_Null_Mutex > _ptr; + + // kind + // + public: + bool kind_p () const; + ::dds::destinationOrderKind const& kind () const; + void kind (::dds::destinationOrderKind const& ); + + protected: + ::std::auto_ptr< ::dds::destinationOrderKind > kind_; + + public: + destinationOrderQosPolicy (); + + destinationOrderQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + destinationOrderQosPolicy (destinationOrderQosPolicy const& s); + + destinationOrderQosPolicy& + operator= (destinationOrderQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export durabilityQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::durabilityQosPolicy, ACE_Null_Mutex > _ptr; + + // kind + // + public: + bool kind_p () const; + ::dds::durabilityKind const& kind () const; + void kind (::dds::durabilityKind const& ); + + protected: + ::std::auto_ptr< ::dds::durabilityKind > kind_; + + public: + durabilityQosPolicy (); + + durabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + durabilityQosPolicy (durabilityQosPolicy const& s); + + durabilityQosPolicy& + operator= (durabilityQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export durabilityServiceQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::durabilityServiceQosPolicy, ACE_Null_Mutex > _ptr; + + // service_cleanup_delay + // + public: + bool service_cleanup_delay_p () const; + ::dds::duration const& service_cleanup_delay () const; + void service_cleanup_delay (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > service_cleanup_delay_; + + // history_kind + // + public: + bool history_kind_p () const; + ::dds::historyKind const& history_kind () const; + void history_kind (::dds::historyKind const& ); + + protected: + ::std::auto_ptr< ::dds::historyKind > history_kind_; + + // history_depth + // + public: + bool history_depth_p () const; + ::XMLSchema::positiveInteger const& history_depth () const; + void history_depth (::XMLSchema::positiveInteger const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::positiveInteger > history_depth_; + + // max_samples + // + public: + bool max_samples_p () const; + ::XMLSchema::string< ACE_TCHAR > const& max_samples () const; + void max_samples (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > max_samples_; + + // max_instances + // + public: + bool max_instances_p () const; + ::XMLSchema::string< ACE_TCHAR > const& max_instances () const; + void max_instances (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > max_instances_; + + // max_samples_per_instance + // + public: + bool max_samples_per_instance_p () const; + ::XMLSchema::string< ACE_TCHAR > const& max_samples_per_instance () const; + void max_samples_per_instance (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > max_samples_per_instance_; + + public: + durabilityServiceQosPolicy (); + + durabilityServiceQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + durabilityServiceQosPolicy (durabilityServiceQosPolicy const& s); + + durabilityServiceQosPolicy& + operator= (durabilityServiceQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export entityFactoryQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::entityFactoryQosPolicy, ACE_Null_Mutex > _ptr; + + // autoenable_created_entities + // + public: + bool autoenable_created_entities_p () const; + ::XMLSchema::boolean const& autoenable_created_entities () const; + void autoenable_created_entities (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > autoenable_created_entities_; + + public: + entityFactoryQosPolicy (); + + entityFactoryQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + entityFactoryQosPolicy (entityFactoryQosPolicy const& s); + + entityFactoryQosPolicy& + operator= (entityFactoryQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export groupDataQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::groupDataQosPolicy, ACE_Null_Mutex > _ptr; + + // value + // + public: + bool value_p () const; + ::XMLSchema::string< ACE_TCHAR > const& value () const; + void value (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > value_; + + public: + groupDataQosPolicy (); + + groupDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + groupDataQosPolicy (groupDataQosPolicy const& s); + + groupDataQosPolicy& + operator= (groupDataQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export historyQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::historyQosPolicy, ACE_Null_Mutex > _ptr; + + // kind + // + public: + bool kind_p () const; + ::dds::historyKind const& kind () const; + void kind (::dds::historyKind const& ); + + protected: + ::std::auto_ptr< ::dds::historyKind > kind_; + + // depth + // + public: + bool depth_p () const; + ::XMLSchema::positiveInteger const& depth () const; + void depth (::XMLSchema::positiveInteger const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::positiveInteger > depth_; + + public: + historyQosPolicy (); + + historyQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + historyQosPolicy (historyQosPolicy const& s); + + historyQosPolicy& + operator= (historyQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export latencyBudgetQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::latencyBudgetQosPolicy, ACE_Null_Mutex > _ptr; + + // duration + // + public: + bool duration_p () const; + ::dds::duration const& duration () const; + void duration (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > duration_; + + public: + latencyBudgetQosPolicy (); + + latencyBudgetQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + latencyBudgetQosPolicy (latencyBudgetQosPolicy const& s); + + latencyBudgetQosPolicy& + operator= (latencyBudgetQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export lifespanQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::lifespanQosPolicy, ACE_Null_Mutex > _ptr; + + // duration + // + public: + bool duration_p () const; + ::dds::duration const& duration () const; + void duration (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > duration_; + + public: + lifespanQosPolicy (); + + lifespanQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + lifespanQosPolicy (lifespanQosPolicy const& s); + + lifespanQosPolicy& + operator= (lifespanQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export livelinessQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::livelinessQosPolicy, ACE_Null_Mutex > _ptr; + + // kind + // + public: + bool kind_p () const; + ::dds::livelinessKind const& kind () const; + void kind (::dds::livelinessKind const& ); + + protected: + ::std::auto_ptr< ::dds::livelinessKind > kind_; + + // lease_duration + // + public: + bool lease_duration_p () const; + ::dds::duration const& lease_duration () const; + void lease_duration (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > lease_duration_; + + public: + livelinessQosPolicy (); + + livelinessQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + livelinessQosPolicy (livelinessQosPolicy const& s); + + livelinessQosPolicy& + operator= (livelinessQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export ownershipQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::ownershipQosPolicy, ACE_Null_Mutex > _ptr; + + // kind + // + public: + bool kind_p () const; + ::dds::ownershipKind const& kind () const; + void kind (::dds::ownershipKind const& ); + + protected: + ::std::auto_ptr< ::dds::ownershipKind > kind_; + + public: + ownershipQosPolicy (); + + ownershipQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + ownershipQosPolicy (ownershipQosPolicy const& s); + + ownershipQosPolicy& + operator= (ownershipQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export ownershipStrengthQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::ownershipStrengthQosPolicy, ACE_Null_Mutex > _ptr; + + // value + // + public: + bool value_p () const; + ::XMLSchema::nonNegativeInteger const& value () const; + void value (::XMLSchema::nonNegativeInteger const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::nonNegativeInteger > value_; + + public: + ownershipStrengthQosPolicy (); + + ownershipStrengthQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + ownershipStrengthQosPolicy (ownershipStrengthQosPolicy const& s); + + ownershipStrengthQosPolicy& + operator= (ownershipStrengthQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export partitionQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::partitionQosPolicy, ACE_Null_Mutex > _ptr; + + // name + // + public: + bool name_p () const; + ::dds::stringSeq const& name () const; + void name (::dds::stringSeq const& ); + + protected: + ::std::auto_ptr< ::dds::stringSeq > name_; + + public: + partitionQosPolicy (); + + partitionQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + partitionQosPolicy (partitionQosPolicy const& s); + + partitionQosPolicy& + operator= (partitionQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export presentationQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::presentationQosPolicy, ACE_Null_Mutex > _ptr; + + // access_scope + // + public: + bool access_scope_p () const; + ::dds::presentationAccessScopeKind const& access_scope () const; + void access_scope (::dds::presentationAccessScopeKind const& ); + + protected: + ::std::auto_ptr< ::dds::presentationAccessScopeKind > access_scope_; + + // coherent_access + // + public: + bool coherent_access_p () const; + ::XMLSchema::boolean const& coherent_access () const; + void coherent_access (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > coherent_access_; + + // ordered_access + // + public: + bool ordered_access_p () const; + ::XMLSchema::boolean const& ordered_access () const; + void ordered_access (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > ordered_access_; + + public: + presentationQosPolicy (); + + presentationQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + presentationQosPolicy (presentationQosPolicy const& s); + + presentationQosPolicy& + operator= (presentationQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export readerDataLifecycleQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::readerDataLifecycleQosPolicy, ACE_Null_Mutex > _ptr; + + // autopurge_nowriter_samples_delay + // + public: + bool autopurge_nowriter_samples_delay_p () const; + ::dds::duration const& autopurge_nowriter_samples_delay () const; + void autopurge_nowriter_samples_delay (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > autopurge_nowriter_samples_delay_; + + // autopurge_disposed_samples_delay + // + public: + bool autopurge_disposed_samples_delay_p () const; + ::dds::duration const& autopurge_disposed_samples_delay () const; + void autopurge_disposed_samples_delay (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > autopurge_disposed_samples_delay_; + + public: + readerDataLifecycleQosPolicy (); + + readerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + readerDataLifecycleQosPolicy (readerDataLifecycleQosPolicy const& s); + + readerDataLifecycleQosPolicy& + operator= (readerDataLifecycleQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export reliabilityQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::reliabilityQosPolicy, ACE_Null_Mutex > _ptr; + + // kind + // + public: + bool kind_p () const; + ::dds::reliabilityKind const& kind () const; + void kind (::dds::reliabilityKind const& ); + + protected: + ::std::auto_ptr< ::dds::reliabilityKind > kind_; + + // max_blocking_time + // + public: + bool max_blocking_time_p () const; + ::dds::duration const& max_blocking_time () const; + void max_blocking_time (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > max_blocking_time_; + + public: + reliabilityQosPolicy (); + + reliabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + reliabilityQosPolicy (reliabilityQosPolicy const& s); + + reliabilityQosPolicy& + operator= (reliabilityQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export resourceLimitsQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::resourceLimitsQosPolicy, ACE_Null_Mutex > _ptr; + + // max_samples + // + public: + bool max_samples_p () const; + ::XMLSchema::string< ACE_TCHAR > const& max_samples () const; + void max_samples (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > max_samples_; + + // max_instances + // + public: + bool max_instances_p () const; + ::XMLSchema::string< ACE_TCHAR > const& max_instances () const; + void max_instances (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > max_instances_; + + // max_samples_per_instance + // + public: + bool max_samples_per_instance_p () const; + ::XMLSchema::string< ACE_TCHAR > const& max_samples_per_instance () const; + void max_samples_per_instance (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > max_samples_per_instance_; + + // initial_samples + // + public: + bool initial_samples_p () const; + ::XMLSchema::positiveInteger const& initial_samples () const; + void initial_samples (::XMLSchema::positiveInteger const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::positiveInteger > initial_samples_; + + // initial_instances + // + public: + bool initial_instances_p () const; + ::XMLSchema::positiveInteger const& initial_instances () const; + void initial_instances (::XMLSchema::positiveInteger const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::positiveInteger > initial_instances_; + + public: + resourceLimitsQosPolicy (); + + resourceLimitsQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + resourceLimitsQosPolicy (resourceLimitsQosPolicy const& s); + + resourceLimitsQosPolicy& + operator= (resourceLimitsQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export timeBasedFilterQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::timeBasedFilterQosPolicy, ACE_Null_Mutex > _ptr; + + // minimum_separation + // + public: + bool minimum_separation_p () const; + ::dds::duration const& minimum_separation () const; + void minimum_separation (::dds::duration const& ); + + protected: + ::std::auto_ptr< ::dds::duration > minimum_separation_; + + public: + timeBasedFilterQosPolicy (); + + timeBasedFilterQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + timeBasedFilterQosPolicy (timeBasedFilterQosPolicy const& s); + + timeBasedFilterQosPolicy& + operator= (timeBasedFilterQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export topicDataQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::topicDataQosPolicy, ACE_Null_Mutex > _ptr; + + // value + // + public: + bool value_p () const; + ::XMLSchema::string< ACE_TCHAR > const& value () const; + void value (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > value_; + + public: + topicDataQosPolicy (); + + topicDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + topicDataQosPolicy (topicDataQosPolicy const& s); + + topicDataQosPolicy& + operator= (topicDataQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export transportPriorityQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::transportPriorityQosPolicy, ACE_Null_Mutex > _ptr; + + // value + // + public: + bool value_p () const; + ::XMLSchema::nonNegativeInteger const& value () const; + void value (::XMLSchema::nonNegativeInteger const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::nonNegativeInteger > value_; + + public: + transportPriorityQosPolicy (); + + transportPriorityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + transportPriorityQosPolicy (transportPriorityQosPolicy const& s); + + transportPriorityQosPolicy& + operator= (transportPriorityQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export userDataQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::userDataQosPolicy, ACE_Null_Mutex > _ptr; + + // value + // + public: + bool value_p () const; + ::XMLSchema::string< ACE_TCHAR > const& value () const; + void value (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > value_; + + public: + userDataQosPolicy (); + + userDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + userDataQosPolicy (userDataQosPolicy const& s); + + userDataQosPolicy& + operator= (userDataQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export writerDataLifecycleQosPolicy : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::writerDataLifecycleQosPolicy, ACE_Null_Mutex > _ptr; + + // autodispose_unregistered_instances + // + public: + bool autodispose_unregistered_instances_p () const; + ::XMLSchema::boolean const& autodispose_unregistered_instances () const; + void autodispose_unregistered_instances (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > autodispose_unregistered_instances_; + + public: + writerDataLifecycleQosPolicy (); + + writerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR > const&); + writerDataLifecycleQosPolicy (writerDataLifecycleQosPolicy const& s); + + writerDataLifecycleQosPolicy& + operator= (writerDataLifecycleQosPolicy const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export domainparticipantQos : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > _ptr; + + // user_data + // + public: + bool user_data_p () const; + ::dds::userDataQosPolicy const& user_data () const; + void user_data (::dds::userDataQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::userDataQosPolicy > user_data_; + + // entity_factory + // + public: + bool entity_factory_p () const; + ::dds::entityFactoryQosPolicy const& entity_factory () const; + void entity_factory (::dds::entityFactoryQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::entityFactoryQosPolicy > entity_factory_; + + // name + // + public: + bool name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + // topic_filter + // + public: + bool topic_filter_p () const; + ::XMLSchema::string< ACE_TCHAR > const& topic_filter () const; + ::XMLSchema::string< ACE_TCHAR >& topic_filter (); + void topic_filter (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > topic_filter_; + + public: + domainparticipantQos (); + + domainparticipantQos (::XSCRT::XML::Element< ACE_TCHAR > const&); + domainparticipantQos (domainparticipantQos const& s); + + domainparticipantQos& + operator= (domainparticipantQos const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export publisherQos : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > _ptr; + + // presentation + // + public: + bool presentation_p () const; + ::dds::presentationQosPolicy const& presentation () const; + void presentation (::dds::presentationQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::presentationQosPolicy > presentation_; + + // partition + // + public: + bool partition_p () const; + ::dds::partitionQosPolicy const& partition () const; + void partition (::dds::partitionQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::partitionQosPolicy > partition_; + + // group_data + // + public: + bool group_data_p () const; + ::dds::groupDataQosPolicy const& group_data () const; + void group_data (::dds::groupDataQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::groupDataQosPolicy > group_data_; + + // entity_factory + // + public: + bool entity_factory_p () const; + ::dds::entityFactoryQosPolicy const& entity_factory () const; + void entity_factory (::dds::entityFactoryQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::entityFactoryQosPolicy > entity_factory_; + + // name + // + public: + bool name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + // topic_filter + // + public: + bool topic_filter_p () const; + ::XMLSchema::string< ACE_TCHAR > const& topic_filter () const; + ::XMLSchema::string< ACE_TCHAR >& topic_filter (); + void topic_filter (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > topic_filter_; + + public: + publisherQos (); + + publisherQos (::XSCRT::XML::Element< ACE_TCHAR > const&); + publisherQos (publisherQos const& s); + + publisherQos& + operator= (publisherQos const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export subscriberQos : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > _ptr; + + // presentation + // + public: + bool presentation_p () const; + ::dds::presentationQosPolicy const& presentation () const; + void presentation (::dds::presentationQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::presentationQosPolicy > presentation_; + + // partition + // + public: + bool partition_p () const; + ::dds::partitionQosPolicy const& partition () const; + void partition (::dds::partitionQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::partitionQosPolicy > partition_; + + // group_data + // + public: + bool group_data_p () const; + ::dds::groupDataQosPolicy const& group_data () const; + void group_data (::dds::groupDataQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::groupDataQosPolicy > group_data_; + + // entity_factory + // + public: + bool entity_factory_p () const; + ::dds::entityFactoryQosPolicy const& entity_factory () const; + void entity_factory (::dds::entityFactoryQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::entityFactoryQosPolicy > entity_factory_; + + // name + // + public: + bool name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + // topic_filter + // + public: + bool topic_filter_p () const; + ::XMLSchema::string< ACE_TCHAR > const& topic_filter () const; + ::XMLSchema::string< ACE_TCHAR >& topic_filter (); + void topic_filter (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > topic_filter_; + + public: + subscriberQos (); + + subscriberQos (::XSCRT::XML::Element< ACE_TCHAR > const&); + subscriberQos (subscriberQos const& s); + + subscriberQos& + operator= (subscriberQos const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export topicQos : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > _ptr; + + // topic_data + // + public: + bool topic_data_p () const; + ::dds::topicDataQosPolicy const& topic_data () const; + void topic_data (::dds::topicDataQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::topicDataQosPolicy > topic_data_; + + // durability + // + public: + bool durability_p () const; + ::dds::durabilityQosPolicy const& durability () const; + void durability (::dds::durabilityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::durabilityQosPolicy > durability_; + + // durability_service + // + public: + bool durability_service_p () const; + ::dds::durabilityServiceQosPolicy const& durability_service () const; + void durability_service (::dds::durabilityServiceQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::durabilityServiceQosPolicy > durability_service_; + + // deadline + // + public: + bool deadline_p () const; + ::dds::deadlineQosPolicy const& deadline () const; + void deadline (::dds::deadlineQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::deadlineQosPolicy > deadline_; + + // latency_budget + // + public: + bool latency_budget_p () const; + ::dds::latencyBudgetQosPolicy const& latency_budget () const; + void latency_budget (::dds::latencyBudgetQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::latencyBudgetQosPolicy > latency_budget_; + + // liveliness + // + public: + bool liveliness_p () const; + ::dds::livelinessQosPolicy const& liveliness () const; + void liveliness (::dds::livelinessQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::livelinessQosPolicy > liveliness_; + + // reliability + // + public: + bool reliability_p () const; + ::dds::reliabilityQosPolicy const& reliability () const; + void reliability (::dds::reliabilityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::reliabilityQosPolicy > reliability_; + + // destination_order + // + public: + bool destination_order_p () const; + ::dds::destinationOrderQosPolicy const& destination_order () const; + void destination_order (::dds::destinationOrderQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::destinationOrderQosPolicy > destination_order_; + + // history + // + public: + bool history_p () const; + ::dds::historyQosPolicy const& history () const; + void history (::dds::historyQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::historyQosPolicy > history_; + + // resource_limits + // + public: + bool resource_limits_p () const; + ::dds::resourceLimitsQosPolicy const& resource_limits () const; + void resource_limits (::dds::resourceLimitsQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::resourceLimitsQosPolicy > resource_limits_; + + // transport_priority + // + public: + bool transport_priority_p () const; + ::dds::transportPriorityQosPolicy const& transport_priority () const; + void transport_priority (::dds::transportPriorityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::transportPriorityQosPolicy > transport_priority_; + + // lifespan + // + public: + bool lifespan_p () const; + ::dds::lifespanQosPolicy const& lifespan () const; + void lifespan (::dds::lifespanQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::lifespanQosPolicy > lifespan_; + + // ownership + // + public: + bool ownership_p () const; + ::dds::ownershipQosPolicy const& ownership () const; + void ownership (::dds::ownershipQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::ownershipQosPolicy > ownership_; + + // name + // + public: + bool name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + // topic_filter + // + public: + bool topic_filter_p () const; + ::XMLSchema::string< ACE_TCHAR > const& topic_filter () const; + ::XMLSchema::string< ACE_TCHAR >& topic_filter (); + void topic_filter (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > topic_filter_; + + public: + topicQos (); + + topicQos (::XSCRT::XML::Element< ACE_TCHAR > const&); + topicQos (topicQos const& s); + + topicQos& + operator= (topicQos const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export datareaderQos : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > _ptr; + + // durability + // + public: + bool durability_p () const; + ::dds::durabilityQosPolicy const& durability () const; + void durability (::dds::durabilityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::durabilityQosPolicy > durability_; + + // deadline + // + public: + bool deadline_p () const; + ::dds::deadlineQosPolicy const& deadline () const; + void deadline (::dds::deadlineQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::deadlineQosPolicy > deadline_; + + // latency_budget + // + public: + bool latency_budget_p () const; + ::dds::latencyBudgetQosPolicy const& latency_budget () const; + void latency_budget (::dds::latencyBudgetQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::latencyBudgetQosPolicy > latency_budget_; + + // liveliness + // + public: + bool liveliness_p () const; + ::dds::livelinessQosPolicy const& liveliness () const; + void liveliness (::dds::livelinessQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::livelinessQosPolicy > liveliness_; + + // reliability + // + public: + bool reliability_p () const; + ::dds::reliabilityQosPolicy const& reliability () const; + void reliability (::dds::reliabilityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::reliabilityQosPolicy > reliability_; + + // destination_order + // + public: + bool destination_order_p () const; + ::dds::destinationOrderQosPolicy const& destination_order () const; + void destination_order (::dds::destinationOrderQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::destinationOrderQosPolicy > destination_order_; + + // history + // + public: + bool history_p () const; + ::dds::historyQosPolicy const& history () const; + void history (::dds::historyQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::historyQosPolicy > history_; + + // resource_limits + // + public: + bool resource_limits_p () const; + ::dds::resourceLimitsQosPolicy const& resource_limits () const; + void resource_limits (::dds::resourceLimitsQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::resourceLimitsQosPolicy > resource_limits_; + + // user_data + // + public: + bool user_data_p () const; + ::dds::userDataQosPolicy const& user_data () const; + void user_data (::dds::userDataQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::userDataQosPolicy > user_data_; + + // ownership + // + public: + bool ownership_p () const; + ::dds::ownershipQosPolicy const& ownership () const; + void ownership (::dds::ownershipQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::ownershipQosPolicy > ownership_; + + // time_based_filter + // + public: + bool time_based_filter_p () const; + ::dds::timeBasedFilterQosPolicy const& time_based_filter () const; + void time_based_filter (::dds::timeBasedFilterQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::timeBasedFilterQosPolicy > time_based_filter_; + + // reader_data_lifecycle + // + public: + bool reader_data_lifecycle_p () const; + ::dds::readerDataLifecycleQosPolicy const& reader_data_lifecycle () const; + void reader_data_lifecycle (::dds::readerDataLifecycleQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::readerDataLifecycleQosPolicy > reader_data_lifecycle_; + + // name + // + public: + bool name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + // topic_filter + // + public: + bool topic_filter_p () const; + ::XMLSchema::string< ACE_TCHAR > const& topic_filter () const; + ::XMLSchema::string< ACE_TCHAR >& topic_filter (); + void topic_filter (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > topic_filter_; + + public: + datareaderQos (); + + datareaderQos (::XSCRT::XML::Element< ACE_TCHAR > const&); + datareaderQos (datareaderQos const& s); + + datareaderQos& + operator= (datareaderQos const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export datawriterQos : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > _ptr; + + // durability + // + public: + bool durability_p () const; + ::dds::durabilityQosPolicy const& durability () const; + void durability (::dds::durabilityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::durabilityQosPolicy > durability_; + + // durability_service + // + public: + bool durability_service_p () const; + ::dds::durabilityServiceQosPolicy const& durability_service () const; + void durability_service (::dds::durabilityServiceQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::durabilityServiceQosPolicy > durability_service_; + + // deadline + // + public: + bool deadline_p () const; + ::dds::deadlineQosPolicy const& deadline () const; + void deadline (::dds::deadlineQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::deadlineQosPolicy > deadline_; + + // latency_budget + // + public: + bool latency_budget_p () const; + ::dds::latencyBudgetQosPolicy const& latency_budget () const; + void latency_budget (::dds::latencyBudgetQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::latencyBudgetQosPolicy > latency_budget_; + + // liveliness + // + public: + bool liveliness_p () const; + ::dds::livelinessQosPolicy const& liveliness () const; + void liveliness (::dds::livelinessQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::livelinessQosPolicy > liveliness_; + + // reliability + // + public: + bool reliability_p () const; + ::dds::reliabilityQosPolicy const& reliability () const; + void reliability (::dds::reliabilityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::reliabilityQosPolicy > reliability_; + + // destination_order + // + public: + bool destination_order_p () const; + ::dds::destinationOrderQosPolicy const& destination_order () const; + void destination_order (::dds::destinationOrderQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::destinationOrderQosPolicy > destination_order_; + + // history + // + public: + bool history_p () const; + ::dds::historyQosPolicy const& history () const; + void history (::dds::historyQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::historyQosPolicy > history_; + + // resource_limits + // + public: + bool resource_limits_p () const; + ::dds::resourceLimitsQosPolicy const& resource_limits () const; + void resource_limits (::dds::resourceLimitsQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::resourceLimitsQosPolicy > resource_limits_; + + // transport_priority + // + public: + bool transport_priority_p () const; + ::dds::transportPriorityQosPolicy const& transport_priority () const; + void transport_priority (::dds::transportPriorityQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::transportPriorityQosPolicy > transport_priority_; + + // lifespan + // + public: + bool lifespan_p () const; + ::dds::lifespanQosPolicy const& lifespan () const; + void lifespan (::dds::lifespanQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::lifespanQosPolicy > lifespan_; + + // user_data + // + public: + bool user_data_p () const; + ::dds::userDataQosPolicy const& user_data () const; + void user_data (::dds::userDataQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::userDataQosPolicy > user_data_; + + // ownership + // + public: + bool ownership_p () const; + ::dds::ownershipQosPolicy const& ownership () const; + void ownership (::dds::ownershipQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::ownershipQosPolicy > ownership_; + + // ownership_strength + // + public: + bool ownership_strength_p () const; + ::dds::ownershipStrengthQosPolicy const& ownership_strength () const; + void ownership_strength (::dds::ownershipStrengthQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::ownershipStrengthQosPolicy > ownership_strength_; + + // writer_data_lifecycle + // + public: + bool writer_data_lifecycle_p () const; + ::dds::writerDataLifecycleQosPolicy const& writer_data_lifecycle () const; + void writer_data_lifecycle (::dds::writerDataLifecycleQosPolicy const& ); + + protected: + ::std::auto_ptr< ::dds::writerDataLifecycleQosPolicy > writer_data_lifecycle_; + + // name + // + public: + bool name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + // topic_filter + // + public: + bool topic_filter_p () const; + ::XMLSchema::string< ACE_TCHAR > const& topic_filter () const; + ::XMLSchema::string< ACE_TCHAR >& topic_filter (); + void topic_filter (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > topic_filter_; + + public: + datawriterQos (); + + datawriterQos (::XSCRT::XML::Element< ACE_TCHAR > const&); + datawriterQos (datawriterQos const& s); + + datawriterQos& + operator= (datawriterQos const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export qosProfile : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > _ptr; + + // datareader_qos + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > >::iterator datareader_qos_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > >::const_iterator datareader_qos_const_iterator; + datareader_qos_iterator begin_datareader_qos (); + datareader_qos_iterator end_datareader_qos (); + datareader_qos_const_iterator begin_datareader_qos () const; + datareader_qos_const_iterator end_datareader_qos () const; + void add_datareader_qos ( ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > const& ); + XSCRT::Type* get_datareader_qos_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_datareader_qos_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_datareader_qos (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::datareaderQos, ACE_Null_Mutex > > datareader_qos_; + + // datawriter_qos + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > >::iterator datawriter_qos_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > >::const_iterator datawriter_qos_const_iterator; + datawriter_qos_iterator begin_datawriter_qos (); + datawriter_qos_iterator end_datawriter_qos (); + datawriter_qos_const_iterator begin_datawriter_qos () const; + datawriter_qos_const_iterator end_datawriter_qos () const; + void add_datawriter_qos ( ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > const& ); + XSCRT::Type* get_datawriter_qos_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_datawriter_qos_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_datawriter_qos (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::datawriterQos, ACE_Null_Mutex > > datawriter_qos_; + + // topic_qos + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > >::iterator topic_qos_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > >::const_iterator topic_qos_const_iterator; + topic_qos_iterator begin_topic_qos (); + topic_qos_iterator end_topic_qos (); + topic_qos_const_iterator begin_topic_qos () const; + topic_qos_const_iterator end_topic_qos () const; + void add_topic_qos ( ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > const& ); + XSCRT::Type* get_topic_qos_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_topic_qos_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_topic_qos (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::topicQos, ACE_Null_Mutex > > topic_qos_; + + // domainparticipant_qos + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > >::iterator domainparticipant_qos_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > >::const_iterator domainparticipant_qos_const_iterator; + domainparticipant_qos_iterator begin_domainparticipant_qos (); + domainparticipant_qos_iterator end_domainparticipant_qos (); + domainparticipant_qos_const_iterator begin_domainparticipant_qos () const; + domainparticipant_qos_const_iterator end_domainparticipant_qos () const; + void add_domainparticipant_qos ( ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > const& ); + XSCRT::Type* get_domainparticipant_qos_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_domainparticipant_qos_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_domainparticipant_qos (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::domainparticipantQos, ACE_Null_Mutex > > domainparticipant_qos_; + + // publisher_qos + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > >::iterator publisher_qos_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > >::const_iterator publisher_qos_const_iterator; + publisher_qos_iterator begin_publisher_qos (); + publisher_qos_iterator end_publisher_qos (); + publisher_qos_const_iterator begin_publisher_qos () const; + publisher_qos_const_iterator end_publisher_qos () const; + void add_publisher_qos ( ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > const& ); + XSCRT::Type* get_publisher_qos_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_publisher_qos_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_publisher_qos (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::publisherQos, ACE_Null_Mutex > > publisher_qos_; + + // subscriber_qos + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > >::iterator subscriber_qos_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > >::const_iterator subscriber_qos_const_iterator; + subscriber_qos_iterator begin_subscriber_qos (); + subscriber_qos_iterator end_subscriber_qos (); + subscriber_qos_const_iterator begin_subscriber_qos () const; + subscriber_qos_const_iterator end_subscriber_qos () const; + void add_subscriber_qos ( ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > const& ); + XSCRT::Type* get_subscriber_qos_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_subscriber_qos_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_subscriber_qos (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::subscriberQos, ACE_Null_Mutex > > subscriber_qos_; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + ::XMLSchema::string< ACE_TCHAR >& name (); + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // base_name + // + public: + bool base_name_p () const; + ::XMLSchema::string< ACE_TCHAR > const& base_name () const; + ::XMLSchema::string< ACE_TCHAR >& base_name (); + void base_name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > base_name_; + + public: + qosProfile (::XMLSchema::string< ACE_TCHAR > const& name__); + + qosProfile (::XSCRT::XML::Element< ACE_TCHAR > const&); + qosProfile (qosProfile const& s); + + qosProfile& + operator= (qosProfile const& s); + + private: + char regulator__; + }; + + + class XML_QOS_Handler_Export qosProfile_seq : public ::XSCRT::Type + { + typedef ::XSCRT::Type Base; + + public: + typedef ACE_Refcounted_Auto_Ptr < ::dds::qosProfile_seq, ACE_Null_Mutex > _ptr; + + // qos_profile + // + public: + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > >::iterator qos_profile_iterator; + typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > >::const_iterator qos_profile_const_iterator; + qos_profile_iterator begin_qos_profile (); + qos_profile_iterator end_qos_profile (); + qos_profile_const_iterator begin_qos_profile () const; + qos_profile_const_iterator end_qos_profile () const; + void add_qos_profile ( ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > const& ); + XSCRT::Type* get_qos_profile_ptr ( std::basic_string<ACE_TCHAR> idref ); + void set_qos_profile_ptr (std::basic_string<ACE_TCHAR> idref ); + size_t count_qos_profile (void) const; + + protected: + ::std::list< ACE_Refcounted_Auto_Ptr < ::dds::qosProfile, ACE_Null_Mutex > > qos_profile_; + + public: + qosProfile_seq (); + + qosProfile_seq (::XSCRT::XML::Element< ACE_TCHAR > const&); + qosProfile_seq (qosProfile_seq const& s); + + qosProfile_seq& + operator= (qosProfile_seq const& s); + + private: + char regulator__; + }; +} + +namespace dds +{ + namespace reader + { + XML_QOS_Handler_Export + ::dds::qosProfile_seq + dds (xercesc::DOMDocument const*); + } +} + +#include "XMLSchema/Traversal.hpp" + +namespace dds +{ + namespace Traversal + { + typedef + ::XMLSchema::Traversal::Traverser< ::dds::destinationOrderKind > + destinationOrderKind; + + typedef + ::XMLSchema::Traversal::Traverser< ::dds::durabilityKind > + durabilityKind; + + typedef + ::XMLSchema::Traversal::Traverser< ::dds::historyKind > + historyKind; + + typedef + ::XMLSchema::Traversal::Traverser< ::dds::livelinessKind > + livelinessKind; + + typedef + ::XMLSchema::Traversal::Traverser< ::dds::presentationAccessScopeKind > + presentationAccessScopeKind; + + typedef + ::XMLSchema::Traversal::Traverser< ::dds::reliabilityKind > + reliabilityKind; + + typedef + ::XMLSchema::Traversal::Traverser< ::dds::ownershipKind > + ownershipKind; + + struct XML_QOS_Handler_Export duration : ::XMLSchema::Traversal::Traverser< ::dds::duration > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + sec (Type&); + + virtual void + sec (Type const&); + + virtual void + sec_none (Type&); + + virtual void + sec_none (Type const&); + + virtual void + nanosec (Type&); + + virtual void + nanosec (Type const&); + + virtual void + nanosec_none (Type&); + + virtual void + nanosec_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export stringSeq : ::XMLSchema::Traversal::Traverser< ::dds::stringSeq > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + element (Type&); + + virtual void + element (Type const&); + + virtual void + element_pre (Type&); + + virtual void + element_pre (Type const&); + + virtual void + element_next (Type&); + + virtual void + element_next (Type const&); + + virtual void + element_post (Type&); + + virtual void + element_post (Type const&); + + virtual void + element_none (Type&); + + virtual void + element_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export deadlineQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::deadlineQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + period (Type&); + + virtual void + period (Type const&); + + virtual void + period_none (Type&); + + virtual void + period_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export destinationOrderQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::destinationOrderQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export durabilityQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::durabilityQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export durabilityServiceQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::durabilityServiceQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + service_cleanup_delay (Type&); + + virtual void + service_cleanup_delay (Type const&); + + virtual void + service_cleanup_delay_none (Type&); + + virtual void + service_cleanup_delay_none (Type const&); + + virtual void + history_kind (Type&); + + virtual void + history_kind (Type const&); + + virtual void + history_kind_none (Type&); + + virtual void + history_kind_none (Type const&); + + virtual void + history_depth (Type&); + + virtual void + history_depth (Type const&); + + virtual void + history_depth_none (Type&); + + virtual void + history_depth_none (Type const&); + + virtual void + max_samples (Type&); + + virtual void + max_samples (Type const&); + + virtual void + max_samples_none (Type&); + + virtual void + max_samples_none (Type const&); + + virtual void + max_instances (Type&); + + virtual void + max_instances (Type const&); + + virtual void + max_instances_none (Type&); + + virtual void + max_instances_none (Type const&); + + virtual void + max_samples_per_instance (Type&); + + virtual void + max_samples_per_instance (Type const&); + + virtual void + max_samples_per_instance_none (Type&); + + virtual void + max_samples_per_instance_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export entityFactoryQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::entityFactoryQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + autoenable_created_entities (Type&); + + virtual void + autoenable_created_entities (Type const&); + + virtual void + autoenable_created_entities_none (Type&); + + virtual void + autoenable_created_entities_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export groupDataQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::groupDataQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + value_none (Type&); + + virtual void + value_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export historyQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::historyQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + depth (Type&); + + virtual void + depth (Type const&); + + virtual void + depth_none (Type&); + + virtual void + depth_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export latencyBudgetQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::latencyBudgetQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + duration (Type&); + + virtual void + duration (Type const&); + + virtual void + duration_none (Type&); + + virtual void + duration_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export lifespanQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::lifespanQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + duration (Type&); + + virtual void + duration (Type const&); + + virtual void + duration_none (Type&); + + virtual void + duration_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export livelinessQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::livelinessQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + lease_duration (Type&); + + virtual void + lease_duration (Type const&); + + virtual void + lease_duration_none (Type&); + + virtual void + lease_duration_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export ownershipQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::ownershipQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export ownershipStrengthQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::ownershipStrengthQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + value_none (Type&); + + virtual void + value_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export partitionQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::partitionQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export presentationQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::presentationQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + access_scope (Type&); + + virtual void + access_scope (Type const&); + + virtual void + access_scope_none (Type&); + + virtual void + access_scope_none (Type const&); + + virtual void + coherent_access (Type&); + + virtual void + coherent_access (Type const&); + + virtual void + coherent_access_none (Type&); + + virtual void + coherent_access_none (Type const&); + + virtual void + ordered_access (Type&); + + virtual void + ordered_access (Type const&); + + virtual void + ordered_access_none (Type&); + + virtual void + ordered_access_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export readerDataLifecycleQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::readerDataLifecycleQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + autopurge_nowriter_samples_delay (Type&); + + virtual void + autopurge_nowriter_samples_delay (Type const&); + + virtual void + autopurge_nowriter_samples_delay_none (Type&); + + virtual void + autopurge_nowriter_samples_delay_none (Type const&); + + virtual void + autopurge_disposed_samples_delay (Type&); + + virtual void + autopurge_disposed_samples_delay (Type const&); + + virtual void + autopurge_disposed_samples_delay_none (Type&); + + virtual void + autopurge_disposed_samples_delay_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export reliabilityQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::reliabilityQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + max_blocking_time (Type&); + + virtual void + max_blocking_time (Type const&); + + virtual void + max_blocking_time_none (Type&); + + virtual void + max_blocking_time_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export resourceLimitsQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::resourceLimitsQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + max_samples (Type&); + + virtual void + max_samples (Type const&); + + virtual void + max_samples_none (Type&); + + virtual void + max_samples_none (Type const&); + + virtual void + max_instances (Type&); + + virtual void + max_instances (Type const&); + + virtual void + max_instances_none (Type&); + + virtual void + max_instances_none (Type const&); + + virtual void + max_samples_per_instance (Type&); + + virtual void + max_samples_per_instance (Type const&); + + virtual void + max_samples_per_instance_none (Type&); + + virtual void + max_samples_per_instance_none (Type const&); + + virtual void + initial_samples (Type&); + + virtual void + initial_samples (Type const&); + + virtual void + initial_samples_none (Type&); + + virtual void + initial_samples_none (Type const&); + + virtual void + initial_instances (Type&); + + virtual void + initial_instances (Type const&); + + virtual void + initial_instances_none (Type&); + + virtual void + initial_instances_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export timeBasedFilterQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::timeBasedFilterQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + minimum_separation (Type&); + + virtual void + minimum_separation (Type const&); + + virtual void + minimum_separation_none (Type&); + + virtual void + minimum_separation_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export topicDataQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::topicDataQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + value_none (Type&); + + virtual void + value_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export transportPriorityQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::transportPriorityQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + value_none (Type&); + + virtual void + value_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export userDataQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::userDataQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + value_none (Type&); + + virtual void + value_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export writerDataLifecycleQosPolicy : ::XMLSchema::Traversal::Traverser< ::dds::writerDataLifecycleQosPolicy > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + autodispose_unregistered_instances (Type&); + + virtual void + autodispose_unregistered_instances (Type const&); + + virtual void + autodispose_unregistered_instances_none (Type&); + + virtual void + autodispose_unregistered_instances_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export domainparticipantQos : ::XMLSchema::Traversal::Traverser< ::dds::domainparticipantQos > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + user_data (Type&); + + virtual void + user_data (Type const&); + + virtual void + user_data_none (Type&); + + virtual void + user_data_none (Type const&); + + virtual void + entity_factory (Type&); + + virtual void + entity_factory (Type const&); + + virtual void + entity_factory_none (Type&); + + virtual void + entity_factory_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + topic_filter (Type&); + + virtual void + topic_filter (Type const&); + + virtual void + topic_filter_none (Type&); + + virtual void + topic_filter_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export publisherQos : ::XMLSchema::Traversal::Traverser< ::dds::publisherQos > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + presentation (Type&); + + virtual void + presentation (Type const&); + + virtual void + presentation_none (Type&); + + virtual void + presentation_none (Type const&); + + virtual void + partition (Type&); + + virtual void + partition (Type const&); + + virtual void + partition_none (Type&); + + virtual void + partition_none (Type const&); + + virtual void + group_data (Type&); + + virtual void + group_data (Type const&); + + virtual void + group_data_none (Type&); + + virtual void + group_data_none (Type const&); + + virtual void + entity_factory (Type&); + + virtual void + entity_factory (Type const&); + + virtual void + entity_factory_none (Type&); + + virtual void + entity_factory_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + topic_filter (Type&); + + virtual void + topic_filter (Type const&); + + virtual void + topic_filter_none (Type&); + + virtual void + topic_filter_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export subscriberQos : ::XMLSchema::Traversal::Traverser< ::dds::subscriberQos > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + presentation (Type&); + + virtual void + presentation (Type const&); + + virtual void + presentation_none (Type&); + + virtual void + presentation_none (Type const&); + + virtual void + partition (Type&); + + virtual void + partition (Type const&); + + virtual void + partition_none (Type&); + + virtual void + partition_none (Type const&); + + virtual void + group_data (Type&); + + virtual void + group_data (Type const&); + + virtual void + group_data_none (Type&); + + virtual void + group_data_none (Type const&); + + virtual void + entity_factory (Type&); + + virtual void + entity_factory (Type const&); + + virtual void + entity_factory_none (Type&); + + virtual void + entity_factory_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + topic_filter (Type&); + + virtual void + topic_filter (Type const&); + + virtual void + topic_filter_none (Type&); + + virtual void + topic_filter_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export topicQos : ::XMLSchema::Traversal::Traverser< ::dds::topicQos > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + topic_data (Type&); + + virtual void + topic_data (Type const&); + + virtual void + topic_data_none (Type&); + + virtual void + topic_data_none (Type const&); + + virtual void + durability (Type&); + + virtual void + durability (Type const&); + + virtual void + durability_none (Type&); + + virtual void + durability_none (Type const&); + + virtual void + durability_service (Type&); + + virtual void + durability_service (Type const&); + + virtual void + durability_service_none (Type&); + + virtual void + durability_service_none (Type const&); + + virtual void + deadline (Type&); + + virtual void + deadline (Type const&); + + virtual void + deadline_none (Type&); + + virtual void + deadline_none (Type const&); + + virtual void + latency_budget (Type&); + + virtual void + latency_budget (Type const&); + + virtual void + latency_budget_none (Type&); + + virtual void + latency_budget_none (Type const&); + + virtual void + liveliness (Type&); + + virtual void + liveliness (Type const&); + + virtual void + liveliness_none (Type&); + + virtual void + liveliness_none (Type const&); + + virtual void + reliability (Type&); + + virtual void + reliability (Type const&); + + virtual void + reliability_none (Type&); + + virtual void + reliability_none (Type const&); + + virtual void + destination_order (Type&); + + virtual void + destination_order (Type const&); + + virtual void + destination_order_none (Type&); + + virtual void + destination_order_none (Type const&); + + virtual void + history (Type&); + + virtual void + history (Type const&); + + virtual void + history_none (Type&); + + virtual void + history_none (Type const&); + + virtual void + resource_limits (Type&); + + virtual void + resource_limits (Type const&); + + virtual void + resource_limits_none (Type&); + + virtual void + resource_limits_none (Type const&); + + virtual void + transport_priority (Type&); + + virtual void + transport_priority (Type const&); + + virtual void + transport_priority_none (Type&); + + virtual void + transport_priority_none (Type const&); + + virtual void + lifespan (Type&); + + virtual void + lifespan (Type const&); + + virtual void + lifespan_none (Type&); + + virtual void + lifespan_none (Type const&); + + virtual void + ownership (Type&); + + virtual void + ownership (Type const&); + + virtual void + ownership_none (Type&); + + virtual void + ownership_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + topic_filter (Type&); + + virtual void + topic_filter (Type const&); + + virtual void + topic_filter_none (Type&); + + virtual void + topic_filter_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export datareaderQos : ::XMLSchema::Traversal::Traverser< ::dds::datareaderQos > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + durability (Type&); + + virtual void + durability (Type const&); + + virtual void + durability_none (Type&); + + virtual void + durability_none (Type const&); + + virtual void + deadline (Type&); + + virtual void + deadline (Type const&); + + virtual void + deadline_none (Type&); + + virtual void + deadline_none (Type const&); + + virtual void + latency_budget (Type&); + + virtual void + latency_budget (Type const&); + + virtual void + latency_budget_none (Type&); + + virtual void + latency_budget_none (Type const&); + + virtual void + liveliness (Type&); + + virtual void + liveliness (Type const&); + + virtual void + liveliness_none (Type&); + + virtual void + liveliness_none (Type const&); + + virtual void + reliability (Type&); + + virtual void + reliability (Type const&); + + virtual void + reliability_none (Type&); + + virtual void + reliability_none (Type const&); + + virtual void + destination_order (Type&); + + virtual void + destination_order (Type const&); + + virtual void + destination_order_none (Type&); + + virtual void + destination_order_none (Type const&); + + virtual void + history (Type&); + + virtual void + history (Type const&); + + virtual void + history_none (Type&); + + virtual void + history_none (Type const&); + + virtual void + resource_limits (Type&); + + virtual void + resource_limits (Type const&); + + virtual void + resource_limits_none (Type&); + + virtual void + resource_limits_none (Type const&); + + virtual void + user_data (Type&); + + virtual void + user_data (Type const&); + + virtual void + user_data_none (Type&); + + virtual void + user_data_none (Type const&); + + virtual void + ownership (Type&); + + virtual void + ownership (Type const&); + + virtual void + ownership_none (Type&); + + virtual void + ownership_none (Type const&); + + virtual void + time_based_filter (Type&); + + virtual void + time_based_filter (Type const&); + + virtual void + time_based_filter_none (Type&); + + virtual void + time_based_filter_none (Type const&); + + virtual void + reader_data_lifecycle (Type&); + + virtual void + reader_data_lifecycle (Type const&); + + virtual void + reader_data_lifecycle_none (Type&); + + virtual void + reader_data_lifecycle_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + topic_filter (Type&); + + virtual void + topic_filter (Type const&); + + virtual void + topic_filter_none (Type&); + + virtual void + topic_filter_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export datawriterQos : ::XMLSchema::Traversal::Traverser< ::dds::datawriterQos > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + durability (Type&); + + virtual void + durability (Type const&); + + virtual void + durability_none (Type&); + + virtual void + durability_none (Type const&); + + virtual void + durability_service (Type&); + + virtual void + durability_service (Type const&); + + virtual void + durability_service_none (Type&); + + virtual void + durability_service_none (Type const&); + + virtual void + deadline (Type&); + + virtual void + deadline (Type const&); + + virtual void + deadline_none (Type&); + + virtual void + deadline_none (Type const&); + + virtual void + latency_budget (Type&); + + virtual void + latency_budget (Type const&); + + virtual void + latency_budget_none (Type&); + + virtual void + latency_budget_none (Type const&); + + virtual void + liveliness (Type&); + + virtual void + liveliness (Type const&); + + virtual void + liveliness_none (Type&); + + virtual void + liveliness_none (Type const&); + + virtual void + reliability (Type&); + + virtual void + reliability (Type const&); + + virtual void + reliability_none (Type&); + + virtual void + reliability_none (Type const&); + + virtual void + destination_order (Type&); + + virtual void + destination_order (Type const&); + + virtual void + destination_order_none (Type&); + + virtual void + destination_order_none (Type const&); + + virtual void + history (Type&); + + virtual void + history (Type const&); + + virtual void + history_none (Type&); + + virtual void + history_none (Type const&); + + virtual void + resource_limits (Type&); + + virtual void + resource_limits (Type const&); + + virtual void + resource_limits_none (Type&); + + virtual void + resource_limits_none (Type const&); + + virtual void + transport_priority (Type&); + + virtual void + transport_priority (Type const&); + + virtual void + transport_priority_none (Type&); + + virtual void + transport_priority_none (Type const&); + + virtual void + lifespan (Type&); + + virtual void + lifespan (Type const&); + + virtual void + lifespan_none (Type&); + + virtual void + lifespan_none (Type const&); + + virtual void + user_data (Type&); + + virtual void + user_data (Type const&); + + virtual void + user_data_none (Type&); + + virtual void + user_data_none (Type const&); + + virtual void + ownership (Type&); + + virtual void + ownership (Type const&); + + virtual void + ownership_none (Type&); + + virtual void + ownership_none (Type const&); + + virtual void + ownership_strength (Type&); + + virtual void + ownership_strength (Type const&); + + virtual void + ownership_strength_none (Type&); + + virtual void + ownership_strength_none (Type const&); + + virtual void + writer_data_lifecycle (Type&); + + virtual void + writer_data_lifecycle (Type const&); + + virtual void + writer_data_lifecycle_none (Type&); + + virtual void + writer_data_lifecycle_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + name_none (Type&); + + virtual void + name_none (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + topic_filter (Type&); + + virtual void + topic_filter (Type const&); + + virtual void + topic_filter_none (Type&); + + virtual void + topic_filter_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export qosProfile : ::XMLSchema::Traversal::Traverser< ::dds::qosProfile > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + datareader_qos (Type&); + + virtual void + datareader_qos (Type const&); + + virtual void + datareader_qos_pre (Type&); + + virtual void + datareader_qos_pre (Type const&); + + virtual void + datareader_qos_next (Type&); + + virtual void + datareader_qos_next (Type const&); + + virtual void + datareader_qos_post (Type&); + + virtual void + datareader_qos_post (Type const&); + + virtual void + datareader_qos_none (Type&); + + virtual void + datareader_qos_none (Type const&); + + virtual void + datawriter_qos (Type&); + + virtual void + datawriter_qos (Type const&); + + virtual void + datawriter_qos_pre (Type&); + + virtual void + datawriter_qos_pre (Type const&); + + virtual void + datawriter_qos_next (Type&); + + virtual void + datawriter_qos_next (Type const&); + + virtual void + datawriter_qos_post (Type&); + + virtual void + datawriter_qos_post (Type const&); + + virtual void + datawriter_qos_none (Type&); + + virtual void + datawriter_qos_none (Type const&); + + virtual void + topic_qos (Type&); + + virtual void + topic_qos (Type const&); + + virtual void + topic_qos_pre (Type&); + + virtual void + topic_qos_pre (Type const&); + + virtual void + topic_qos_next (Type&); + + virtual void + topic_qos_next (Type const&); + + virtual void + topic_qos_post (Type&); + + virtual void + topic_qos_post (Type const&); + + virtual void + topic_qos_none (Type&); + + virtual void + topic_qos_none (Type const&); + + virtual void + domainparticipant_qos (Type&); + + virtual void + domainparticipant_qos (Type const&); + + virtual void + domainparticipant_qos_pre (Type&); + + virtual void + domainparticipant_qos_pre (Type const&); + + virtual void + domainparticipant_qos_next (Type&); + + virtual void + domainparticipant_qos_next (Type const&); + + virtual void + domainparticipant_qos_post (Type&); + + virtual void + domainparticipant_qos_post (Type const&); + + virtual void + domainparticipant_qos_none (Type&); + + virtual void + domainparticipant_qos_none (Type const&); + + virtual void + publisher_qos (Type&); + + virtual void + publisher_qos (Type const&); + + virtual void + publisher_qos_pre (Type&); + + virtual void + publisher_qos_pre (Type const&); + + virtual void + publisher_qos_next (Type&); + + virtual void + publisher_qos_next (Type const&); + + virtual void + publisher_qos_post (Type&); + + virtual void + publisher_qos_post (Type const&); + + virtual void + publisher_qos_none (Type&); + + virtual void + publisher_qos_none (Type const&); + + virtual void + subscriber_qos (Type&); + + virtual void + subscriber_qos (Type const&); + + virtual void + subscriber_qos_pre (Type&); + + virtual void + subscriber_qos_pre (Type const&); + + virtual void + subscriber_qos_next (Type&); + + virtual void + subscriber_qos_next (Type const&); + + virtual void + subscriber_qos_post (Type&); + + virtual void + subscriber_qos_post (Type const&); + + virtual void + subscriber_qos_none (Type&); + + virtual void + subscriber_qos_none (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + base_name (Type&); + + virtual void + base_name (Type const&); + + virtual void + base_name_none (Type&); + + virtual void + base_name_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct XML_QOS_Handler_Export qosProfile_seq : ::XMLSchema::Traversal::Traverser< ::dds::qosProfile_seq > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + qos_profile (Type&); + + virtual void + qos_profile (Type const&); + + virtual void + qos_profile_pre (Type&); + + virtual void + qos_profile_pre (Type const&); + + virtual void + qos_profile_next (Type&); + + virtual void + qos_profile_next (Type const&); + + virtual void + qos_profile_post (Type&); + + virtual void + qos_profile_post (Type const&); + + virtual void + qos_profile_none (Type&); + + virtual void + qos_profile_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } +} + +#include "XMLSchema/Writer.hpp" + +namespace dds +{ + namespace Writer + { + struct destinationOrderKind : Traversal::destinationOrderKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + destinationOrderKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + destinationOrderKind (); + }; + + struct durabilityKind : Traversal::durabilityKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + durabilityKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + durabilityKind (); + }; + + struct historyKind : Traversal::historyKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + historyKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + historyKind (); + }; + + struct livelinessKind : Traversal::livelinessKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + livelinessKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + livelinessKind (); + }; + + struct presentationAccessScopeKind : Traversal::presentationAccessScopeKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + presentationAccessScopeKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + presentationAccessScopeKind (); + }; + + struct reliabilityKind : Traversal::reliabilityKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + reliabilityKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + reliabilityKind (); + }; + + struct ownershipKind : Traversal::ownershipKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + ownershipKind (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + protected: + ownershipKind (); + }; + + struct duration : Traversal::duration, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::duration Type; + duration (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + sec (Type &o) + { + this->sec (const_cast <Type const &> (o)); + } + + virtual void + sec (Type const&); + + virtual void + nanosec (Type &o) + { + this->nanosec (const_cast <Type const &> (o)); + } + + virtual void + nanosec (Type const&); + + protected: + duration (); + }; + + struct stringSeq : Traversal::stringSeq, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::stringSeq Type; + stringSeq (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + element_pre (Type &o) + { + this->element_pre (const_cast <Type const &> (o)); + } + + virtual void + element_pre (Type const&); + + virtual void + element_next (Type &o) + { + this->element_next (const_cast <Type const &> (o)); + } + + virtual void + element_next (Type const&); + + virtual void + element_post (Type &o) + { + this->element_post (const_cast <Type const &> (o)); + } + + virtual void + element_post (Type const&); + + protected: + stringSeq (); + }; + + struct deadlineQosPolicy : Traversal::deadlineQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::deadlineQosPolicy Type; + deadlineQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + period (Type &o) + { + this->period (const_cast <Type const &> (o)); + } + + virtual void + period (Type const&); + + protected: + deadlineQosPolicy (); + }; + + struct destinationOrderQosPolicy : Traversal::destinationOrderQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::destinationOrderQosPolicy Type; + destinationOrderQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + kind (Type &o) + { + this->kind (const_cast <Type const &> (o)); + } + + virtual void + kind (Type const&); + + protected: + destinationOrderQosPolicy (); + }; + + struct durabilityQosPolicy : Traversal::durabilityQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::durabilityQosPolicy Type; + durabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + kind (Type &o) + { + this->kind (const_cast <Type const &> (o)); + } + + virtual void + kind (Type const&); + + protected: + durabilityQosPolicy (); + }; + + struct durabilityServiceQosPolicy : Traversal::durabilityServiceQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::durabilityServiceQosPolicy Type; + durabilityServiceQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + service_cleanup_delay (Type &o) + { + this->service_cleanup_delay (const_cast <Type const &> (o)); + } + + virtual void + service_cleanup_delay (Type const&); + + virtual void + history_kind (Type &o) + { + this->history_kind (const_cast <Type const &> (o)); + } + + virtual void + history_kind (Type const&); + + virtual void + history_depth (Type &o) + { + this->history_depth (const_cast <Type const &> (o)); + } + + virtual void + history_depth (Type const&); + + virtual void + max_samples (Type &o) + { + this->max_samples (const_cast <Type const &> (o)); + } + + virtual void + max_samples (Type const&); + + virtual void + max_instances (Type &o) + { + this->max_instances (const_cast <Type const &> (o)); + } + + virtual void + max_instances (Type const&); + + virtual void + max_samples_per_instance (Type &o) + { + this->max_samples_per_instance (const_cast <Type const &> (o)); + } + + virtual void + max_samples_per_instance (Type const&); + + protected: + durabilityServiceQosPolicy (); + }; + + struct entityFactoryQosPolicy : Traversal::entityFactoryQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::entityFactoryQosPolicy Type; + entityFactoryQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + autoenable_created_entities (Type &o) + { + this->autoenable_created_entities (const_cast <Type const &> (o)); + } + + virtual void + autoenable_created_entities (Type const&); + + protected: + entityFactoryQosPolicy (); + }; + + struct groupDataQosPolicy : Traversal::groupDataQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::groupDataQosPolicy Type; + groupDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + value (Type &o) + { + this->value (const_cast <Type const &> (o)); + } + + virtual void + value (Type const&); + + protected: + groupDataQosPolicy (); + }; + + struct historyQosPolicy : Traversal::historyQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::historyQosPolicy Type; + historyQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + kind (Type &o) + { + this->kind (const_cast <Type const &> (o)); + } + + virtual void + kind (Type const&); + + virtual void + depth (Type &o) + { + this->depth (const_cast <Type const &> (o)); + } + + virtual void + depth (Type const&); + + protected: + historyQosPolicy (); + }; + + struct latencyBudgetQosPolicy : Traversal::latencyBudgetQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::latencyBudgetQosPolicy Type; + latencyBudgetQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + duration (Type &o) + { + this->duration (const_cast <Type const &> (o)); + } + + virtual void + duration (Type const&); + + protected: + latencyBudgetQosPolicy (); + }; + + struct lifespanQosPolicy : Traversal::lifespanQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::lifespanQosPolicy Type; + lifespanQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + duration (Type &o) + { + this->duration (const_cast <Type const &> (o)); + } + + virtual void + duration (Type const&); + + protected: + lifespanQosPolicy (); + }; + + struct livelinessQosPolicy : Traversal::livelinessQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::livelinessQosPolicy Type; + livelinessQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + kind (Type &o) + { + this->kind (const_cast <Type const &> (o)); + } + + virtual void + kind (Type const&); + + virtual void + lease_duration (Type &o) + { + this->lease_duration (const_cast <Type const &> (o)); + } + + virtual void + lease_duration (Type const&); + + protected: + livelinessQosPolicy (); + }; + + struct ownershipQosPolicy : Traversal::ownershipQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::ownershipQosPolicy Type; + ownershipQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + kind (Type &o) + { + this->kind (const_cast <Type const &> (o)); + } + + virtual void + kind (Type const&); + + protected: + ownershipQosPolicy (); + }; + + struct ownershipStrengthQosPolicy : Traversal::ownershipStrengthQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::ownershipStrengthQosPolicy Type; + ownershipStrengthQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + value (Type &o) + { + this->value (const_cast <Type const &> (o)); + } + + virtual void + value (Type const&); + + protected: + ownershipStrengthQosPolicy (); + }; + + struct partitionQosPolicy : Traversal::partitionQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::partitionQosPolicy Type; + partitionQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + protected: + partitionQosPolicy (); + }; + + struct presentationQosPolicy : Traversal::presentationQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::presentationQosPolicy Type; + presentationQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + access_scope (Type &o) + { + this->access_scope (const_cast <Type const &> (o)); + } + + virtual void + access_scope (Type const&); + + virtual void + coherent_access (Type &o) + { + this->coherent_access (const_cast <Type const &> (o)); + } + + virtual void + coherent_access (Type const&); + + virtual void + ordered_access (Type &o) + { + this->ordered_access (const_cast <Type const &> (o)); + } + + virtual void + ordered_access (Type const&); + + protected: + presentationQosPolicy (); + }; + + struct readerDataLifecycleQosPolicy : Traversal::readerDataLifecycleQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::readerDataLifecycleQosPolicy Type; + readerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + autopurge_nowriter_samples_delay (Type &o) + { + this->autopurge_nowriter_samples_delay (const_cast <Type const &> (o)); + } + + virtual void + autopurge_nowriter_samples_delay (Type const&); + + virtual void + autopurge_disposed_samples_delay (Type &o) + { + this->autopurge_disposed_samples_delay (const_cast <Type const &> (o)); + } + + virtual void + autopurge_disposed_samples_delay (Type const&); + + protected: + readerDataLifecycleQosPolicy (); + }; + + struct reliabilityQosPolicy : Traversal::reliabilityQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::reliabilityQosPolicy Type; + reliabilityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + kind (Type &o) + { + this->kind (const_cast <Type const &> (o)); + } + + virtual void + kind (Type const&); + + virtual void + max_blocking_time (Type &o) + { + this->max_blocking_time (const_cast <Type const &> (o)); + } + + virtual void + max_blocking_time (Type const&); + + protected: + reliabilityQosPolicy (); + }; + + struct resourceLimitsQosPolicy : Traversal::resourceLimitsQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::resourceLimitsQosPolicy Type; + resourceLimitsQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + max_samples (Type &o) + { + this->max_samples (const_cast <Type const &> (o)); + } + + virtual void + max_samples (Type const&); + + virtual void + max_instances (Type &o) + { + this->max_instances (const_cast <Type const &> (o)); + } + + virtual void + max_instances (Type const&); + + virtual void + max_samples_per_instance (Type &o) + { + this->max_samples_per_instance (const_cast <Type const &> (o)); + } + + virtual void + max_samples_per_instance (Type const&); + + virtual void + initial_samples (Type &o) + { + this->initial_samples (const_cast <Type const &> (o)); + } + + virtual void + initial_samples (Type const&); + + virtual void + initial_instances (Type &o) + { + this->initial_instances (const_cast <Type const &> (o)); + } + + virtual void + initial_instances (Type const&); + + protected: + resourceLimitsQosPolicy (); + }; + + struct timeBasedFilterQosPolicy : Traversal::timeBasedFilterQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::timeBasedFilterQosPolicy Type; + timeBasedFilterQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + minimum_separation (Type &o) + { + this->minimum_separation (const_cast <Type const &> (o)); + } + + virtual void + minimum_separation (Type const&); + + protected: + timeBasedFilterQosPolicy (); + }; + + struct topicDataQosPolicy : Traversal::topicDataQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::topicDataQosPolicy Type; + topicDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + value (Type &o) + { + this->value (const_cast <Type const &> (o)); + } + + virtual void + value (Type const&); + + protected: + topicDataQosPolicy (); + }; + + struct transportPriorityQosPolicy : Traversal::transportPriorityQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::transportPriorityQosPolicy Type; + transportPriorityQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + value (Type &o) + { + this->value (const_cast <Type const &> (o)); + } + + virtual void + value (Type const&); + + protected: + transportPriorityQosPolicy (); + }; + + struct userDataQosPolicy : Traversal::userDataQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::userDataQosPolicy Type; + userDataQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + value (Type &o) + { + this->value (const_cast <Type const &> (o)); + } + + virtual void + value (Type const&); + + protected: + userDataQosPolicy (); + }; + + struct writerDataLifecycleQosPolicy : Traversal::writerDataLifecycleQosPolicy, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::writerDataLifecycleQosPolicy Type; + writerDataLifecycleQosPolicy (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + autodispose_unregistered_instances (Type &o) + { + this->autodispose_unregistered_instances (const_cast <Type const &> (o)); + } + + virtual void + autodispose_unregistered_instances (Type const&); + + protected: + writerDataLifecycleQosPolicy (); + }; + + struct domainparticipantQos : Traversal::domainparticipantQos, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::domainparticipantQos Type; + domainparticipantQos (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + user_data (Type &o) + { + this->user_data (const_cast <Type const &> (o)); + } + + virtual void + user_data (Type const&); + + virtual void + entity_factory (Type &o) + { + this->entity_factory (const_cast <Type const &> (o)); + } + + virtual void + entity_factory (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + virtual void + topic_filter (Type &o) + { + this->topic_filter (const_cast <Type const &> (o)); + } + + virtual void + topic_filter (Type const&); + + protected: + domainparticipantQos (); + }; + + struct publisherQos : Traversal::publisherQos, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::publisherQos Type; + publisherQos (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + presentation (Type &o) + { + this->presentation (const_cast <Type const &> (o)); + } + + virtual void + presentation (Type const&); + + virtual void + partition (Type &o) + { + this->partition (const_cast <Type const &> (o)); + } + + virtual void + partition (Type const&); + + virtual void + group_data (Type &o) + { + this->group_data (const_cast <Type const &> (o)); + } + + virtual void + group_data (Type const&); + + virtual void + entity_factory (Type &o) + { + this->entity_factory (const_cast <Type const &> (o)); + } + + virtual void + entity_factory (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + virtual void + topic_filter (Type &o) + { + this->topic_filter (const_cast <Type const &> (o)); + } + + virtual void + topic_filter (Type const&); + + protected: + publisherQos (); + }; + + struct subscriberQos : Traversal::subscriberQos, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::subscriberQos Type; + subscriberQos (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + presentation (Type &o) + { + this->presentation (const_cast <Type const &> (o)); + } + + virtual void + presentation (Type const&); + + virtual void + partition (Type &o) + { + this->partition (const_cast <Type const &> (o)); + } + + virtual void + partition (Type const&); + + virtual void + group_data (Type &o) + { + this->group_data (const_cast <Type const &> (o)); + } + + virtual void + group_data (Type const&); + + virtual void + entity_factory (Type &o) + { + this->entity_factory (const_cast <Type const &> (o)); + } + + virtual void + entity_factory (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + virtual void + topic_filter (Type &o) + { + this->topic_filter (const_cast <Type const &> (o)); + } + + virtual void + topic_filter (Type const&); + + protected: + subscriberQos (); + }; + + struct topicQos : Traversal::topicQos, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::topicQos Type; + topicQos (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + topic_data (Type &o) + { + this->topic_data (const_cast <Type const &> (o)); + } + + virtual void + topic_data (Type const&); + + virtual void + durability (Type &o) + { + this->durability (const_cast <Type const &> (o)); + } + + virtual void + durability (Type const&); + + virtual void + durability_service (Type &o) + { + this->durability_service (const_cast <Type const &> (o)); + } + + virtual void + durability_service (Type const&); + + virtual void + deadline (Type &o) + { + this->deadline (const_cast <Type const &> (o)); + } + + virtual void + deadline (Type const&); + + virtual void + latency_budget (Type &o) + { + this->latency_budget (const_cast <Type const &> (o)); + } + + virtual void + latency_budget (Type const&); + + virtual void + liveliness (Type &o) + { + this->liveliness (const_cast <Type const &> (o)); + } + + virtual void + liveliness (Type const&); + + virtual void + reliability (Type &o) + { + this->reliability (const_cast <Type const &> (o)); + } + + virtual void + reliability (Type const&); + + virtual void + destination_order (Type &o) + { + this->destination_order (const_cast <Type const &> (o)); + } + + virtual void + destination_order (Type const&); + + virtual void + history (Type &o) + { + this->history (const_cast <Type const &> (o)); + } + + virtual void + history (Type const&); + + virtual void + resource_limits (Type &o) + { + this->resource_limits (const_cast <Type const &> (o)); + } + + virtual void + resource_limits (Type const&); + + virtual void + transport_priority (Type &o) + { + this->transport_priority (const_cast <Type const &> (o)); + } + + virtual void + transport_priority (Type const&); + + virtual void + lifespan (Type &o) + { + this->lifespan (const_cast <Type const &> (o)); + } + + virtual void + lifespan (Type const&); + + virtual void + ownership (Type &o) + { + this->ownership (const_cast <Type const &> (o)); + } + + virtual void + ownership (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + virtual void + topic_filter (Type &o) + { + this->topic_filter (const_cast <Type const &> (o)); + } + + virtual void + topic_filter (Type const&); + + protected: + topicQos (); + }; + + struct datareaderQos : Traversal::datareaderQos, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::datareaderQos Type; + datareaderQos (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + durability (Type &o) + { + this->durability (const_cast <Type const &> (o)); + } + + virtual void + durability (Type const&); + + virtual void + deadline (Type &o) + { + this->deadline (const_cast <Type const &> (o)); + } + + virtual void + deadline (Type const&); + + virtual void + latency_budget (Type &o) + { + this->latency_budget (const_cast <Type const &> (o)); + } + + virtual void + latency_budget (Type const&); + + virtual void + liveliness (Type &o) + { + this->liveliness (const_cast <Type const &> (o)); + } + + virtual void + liveliness (Type const&); + + virtual void + reliability (Type &o) + { + this->reliability (const_cast <Type const &> (o)); + } + + virtual void + reliability (Type const&); + + virtual void + destination_order (Type &o) + { + this->destination_order (const_cast <Type const &> (o)); + } + + virtual void + destination_order (Type const&); + + virtual void + history (Type &o) + { + this->history (const_cast <Type const &> (o)); + } + + virtual void + history (Type const&); + + virtual void + resource_limits (Type &o) + { + this->resource_limits (const_cast <Type const &> (o)); + } + + virtual void + resource_limits (Type const&); + + virtual void + user_data (Type &o) + { + this->user_data (const_cast <Type const &> (o)); + } + + virtual void + user_data (Type const&); + + virtual void + ownership (Type &o) + { + this->ownership (const_cast <Type const &> (o)); + } + + virtual void + ownership (Type const&); + + virtual void + time_based_filter (Type &o) + { + this->time_based_filter (const_cast <Type const &> (o)); + } + + virtual void + time_based_filter (Type const&); + + virtual void + reader_data_lifecycle (Type &o) + { + this->reader_data_lifecycle (const_cast <Type const &> (o)); + } + + virtual void + reader_data_lifecycle (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + virtual void + topic_filter (Type &o) + { + this->topic_filter (const_cast <Type const &> (o)); + } + + virtual void + topic_filter (Type const&); + + protected: + datareaderQos (); + }; + + struct datawriterQos : Traversal::datawriterQos, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::datawriterQos Type; + datawriterQos (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + durability (Type &o) + { + this->durability (const_cast <Type const &> (o)); + } + + virtual void + durability (Type const&); + + virtual void + durability_service (Type &o) + { + this->durability_service (const_cast <Type const &> (o)); + } + + virtual void + durability_service (Type const&); + + virtual void + deadline (Type &o) + { + this->deadline (const_cast <Type const &> (o)); + } + + virtual void + deadline (Type const&); + + virtual void + latency_budget (Type &o) + { + this->latency_budget (const_cast <Type const &> (o)); + } + + virtual void + latency_budget (Type const&); + + virtual void + liveliness (Type &o) + { + this->liveliness (const_cast <Type const &> (o)); + } + + virtual void + liveliness (Type const&); + + virtual void + reliability (Type &o) + { + this->reliability (const_cast <Type const &> (o)); + } + + virtual void + reliability (Type const&); + + virtual void + destination_order (Type &o) + { + this->destination_order (const_cast <Type const &> (o)); + } + + virtual void + destination_order (Type const&); + + virtual void + history (Type &o) + { + this->history (const_cast <Type const &> (o)); + } + + virtual void + history (Type const&); + + virtual void + resource_limits (Type &o) + { + this->resource_limits (const_cast <Type const &> (o)); + } + + virtual void + resource_limits (Type const&); + + virtual void + transport_priority (Type &o) + { + this->transport_priority (const_cast <Type const &> (o)); + } + + virtual void + transport_priority (Type const&); + + virtual void + lifespan (Type &o) + { + this->lifespan (const_cast <Type const &> (o)); + } + + virtual void + lifespan (Type const&); + + virtual void + user_data (Type &o) + { + this->user_data (const_cast <Type const &> (o)); + } + + virtual void + user_data (Type const&); + + virtual void + ownership (Type &o) + { + this->ownership (const_cast <Type const &> (o)); + } + + virtual void + ownership (Type const&); + + virtual void + ownership_strength (Type &o) + { + this->ownership_strength (const_cast <Type const &> (o)); + } + + virtual void + ownership_strength (Type const&); + + virtual void + writer_data_lifecycle (Type &o) + { + this->writer_data_lifecycle (const_cast <Type const &> (o)); + } + + virtual void + writer_data_lifecycle (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + virtual void + topic_filter (Type &o) + { + this->topic_filter (const_cast <Type const &> (o)); + } + + virtual void + topic_filter (Type const&); + + protected: + datawriterQos (); + }; + + struct qosProfile : Traversal::qosProfile, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::qosProfile Type; + qosProfile (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + datareader_qos_pre (Type &o) + { + this->datareader_qos_pre (const_cast <Type const &> (o)); + } + + virtual void + datareader_qos_pre (Type const&); + + virtual void + datareader_qos_next (Type &o) + { + this->datareader_qos_next (const_cast <Type const &> (o)); + } + + virtual void + datareader_qos_next (Type const&); + + virtual void + datareader_qos_post (Type &o) + { + this->datareader_qos_post (const_cast <Type const &> (o)); + } + + virtual void + datareader_qos_post (Type const&); + + virtual void + datawriter_qos_pre (Type &o) + { + this->datawriter_qos_pre (const_cast <Type const &> (o)); + } + + virtual void + datawriter_qos_pre (Type const&); + + virtual void + datawriter_qos_next (Type &o) + { + this->datawriter_qos_next (const_cast <Type const &> (o)); + } + + virtual void + datawriter_qos_next (Type const&); + + virtual void + datawriter_qos_post (Type &o) + { + this->datawriter_qos_post (const_cast <Type const &> (o)); + } + + virtual void + datawriter_qos_post (Type const&); + + virtual void + topic_qos_pre (Type &o) + { + this->topic_qos_pre (const_cast <Type const &> (o)); + } + + virtual void + topic_qos_pre (Type const&); + + virtual void + topic_qos_next (Type &o) + { + this->topic_qos_next (const_cast <Type const &> (o)); + } + + virtual void + topic_qos_next (Type const&); + + virtual void + topic_qos_post (Type &o) + { + this->topic_qos_post (const_cast <Type const &> (o)); + } + + virtual void + topic_qos_post (Type const&); + + virtual void + domainparticipant_qos_pre (Type &o) + { + this->domainparticipant_qos_pre (const_cast <Type const &> (o)); + } + + virtual void + domainparticipant_qos_pre (Type const&); + + virtual void + domainparticipant_qos_next (Type &o) + { + this->domainparticipant_qos_next (const_cast <Type const &> (o)); + } + + virtual void + domainparticipant_qos_next (Type const&); + + virtual void + domainparticipant_qos_post (Type &o) + { + this->domainparticipant_qos_post (const_cast <Type const &> (o)); + } + + virtual void + domainparticipant_qos_post (Type const&); + + virtual void + publisher_qos_pre (Type &o) + { + this->publisher_qos_pre (const_cast <Type const &> (o)); + } + + virtual void + publisher_qos_pre (Type const&); + + virtual void + publisher_qos_next (Type &o) + { + this->publisher_qos_next (const_cast <Type const &> (o)); + } + + virtual void + publisher_qos_next (Type const&); + + virtual void + publisher_qos_post (Type &o) + { + this->publisher_qos_post (const_cast <Type const &> (o)); + } + + virtual void + publisher_qos_post (Type const&); + + virtual void + subscriber_qos_pre (Type &o) + { + this->subscriber_qos_pre (const_cast <Type const &> (o)); + } + + virtual void + subscriber_qos_pre (Type const&); + + virtual void + subscriber_qos_next (Type &o) + { + this->subscriber_qos_next (const_cast <Type const &> (o)); + } + + virtual void + subscriber_qos_next (Type const&); + + virtual void + subscriber_qos_post (Type &o) + { + this->subscriber_qos_post (const_cast <Type const &> (o)); + } + + virtual void + subscriber_qos_post (Type const&); + + virtual void + name (Type &o) + { + this->name (const_cast <Type const &> (o)); + } + + virtual void + name (Type const&); + + virtual void + base_name (Type &o) + { + this->base_name (const_cast <Type const &> (o)); + } + + virtual void + base_name (Type const&); + + protected: + qosProfile (); + }; + + struct qosProfile_seq : Traversal::qosProfile_seq, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::dds::qosProfile_seq Type; + qosProfile_seq (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast <Type const &> (o)); + } + + virtual void + traverse (Type const&); + + virtual void + qos_profile_pre (Type &o) + { + this->qos_profile_pre (const_cast <Type const &> (o)); + } + + virtual void + qos_profile_pre (Type const&); + + virtual void + qos_profile_next (Type &o) + { + this->qos_profile_next (const_cast <Type const &> (o)); + } + + virtual void + qos_profile_next (Type const&); + + virtual void + qos_profile_post (Type &o) + { + this->qos_profile_post (const_cast <Type const &> (o)); + } + + virtual void + qos_profile_post (Type const&); + + protected: + qosProfile_seq (); + }; + } +} + +namespace dds +{ + namespace writer + { + XML_QOS_Handler_Export + void + dds (::dds::qosProfile_seq const&, xercesc::DOMDocument*); + } +} + +#endif // DDS_QOS_HPP diff --git a/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc new file mode 100644 index 00000000000..c53736f1d02 --- /dev/null +++ b/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc @@ -0,0 +1,77 @@ +//$Id$ + +project (XML_QOS_XSC_Generation) : install, xscdefaults { + requires += xsc dds4ccm_opendds + + xscflags += --cxx-banner-file $(CIAO_ROOT)/connectors/dds4ccm/docs/schema/xsc-banner.cpp + xscflags += --cxx-header-banner-file $(CIAO_ROOT)/connectors/dds4ccm/docs/schema/xsc-banner.h + xscflags += --cxx-export-symbol XML_QOS_Handler_Export + xscflags += --cxx-namespace-regex "%.*dds.*DDS4CCM/QOS_XML_Handler%" //<%quote%> + xscflags += --cxx-export-header XML_QOS_Handler_Export.h + xscflags += --search-path "$(CIAO_ROOT)/connectors/dds4ccm/docs/schema" + + custom_only = 1 + + XSC_Files { + gendir = . + $(CIAO_ROOT)/connectors/dds4ccm/docs/schema/dds_qos.xsd + } + + Source_Files { + } + + specific { + install_dir = connectors/dds4ccm/tools/QOS_XML_Handler + } +} + + +project (QOS_XML_XSC_Handler) : install, acelib, xerces, anytypecode, \ + dds4ccm_dcps, dds4ccm_logger, xml_utils, gen_ostream { + sharedname = QOS_XML_XSC_Handler + after += XML_QOS_XSC_Generation + dynamicflags += XML_QOS_HANDLER_BUILD_DLL + macros += XML_USE_PTHREADS + includes += $(CIAO_ROOT)/connectors/dds4ccm/tools/QOS_XML_Handler $(CIAO_ROOT)/connectors $(DDS_ROOT) + includes += $(DANCE_ROOT)/tools/Config_Handlers $(DANCE_ROOT)/tools + + libout = $(ACE_ROOT)/lib + + requires += dds4ccm_opendds + + Source_Files { + dds_qos.cpp + XML_File_Intf.cpp + QOS_XML_Loader.cpp + DataWriterQos_Handler.cpp + DataReaderQos_Handler.cpp + TopicQos_Handler.cpp + PublisherQos_Handler.cpp + SubscriberQos_Handler.cpp + ParticipantQos_Handler.cpp + QOS_Common.cpp + Utils.cpp + } + + Header_Files { + XML_QOS_XSC_Handler_Export.h + dds_qos.hpp + QOS_Common.h + DataWriterQos_Handler.h + DataReaderQos_Handler.h + TopicQos_Handler.cpp + PublisherQos_Handler.h + SubscriberQos_Handler.h + ParticipantQos_Handler.h + Utils.h + } + + Template_Files { + *_T.cpp + } + + specific { + install_dir = tools/QOS_XML_Handler + } +} + diff --git a/DAnCE/ChangeLog b/DAnCE/ChangeLog index f48f7b35a17..282ee062e64 100644 --- a/DAnCE/ChangeLog +++ b/DAnCE/ChangeLog @@ -1,3 +1,53 @@ +Wed May 30 11:28:57 CEST 2012 Johnny Willemsen <jwillemsen@remedy.nl> + + Merged git branch DDS4CCM_QOS_Handler which adds support for + configuring DDS4CCM QOS through xml files with OpenDDS + + commit 41a741b0fc38c82d12a8359023bfde0a97ef24a3 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Wed May 30 08:50:49 2012 +0200 + + * DAnCE/MPC/config/dance_config_handlers.mpb: + * DAnCE/MPC/config/dance_config_handlers_base.mpb: + * DAnCE/tools/Config_Handlers/Config_Handlers.mpc: + Removed visibility override, shouldn't be needed + + commit 028b7e82e57842a3271ae782342c5e0d711f7637 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Tue May 29 21:14:07 2012 +0200 + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + Layout change + + * DAnCE/tools/Config_Handlers/Utils/Functors.h: + Removed borland workaround + + commit 6dc4be2b0cb7e23aa24a68b65e21ec97bc6532b3 + Author: Johnny Willemsen <jwillemsen@remedy.nl> + Date: Fri May 18 20:06:46 2012 +0200 + + * CIAO/MPC/config/dds4ccm_config_handlers.mpb: + * CIAO/MPC/config/dds4ccm_config_handlers_base.mpb: + New base projects for dds4ccm config handlers + + * CIAO/connectors/dds4ccm/tests/QoS/dump/dds4ccm_qos_dump.mpc: + * CIAO/connectors/dds4ccm/tests/QoS/dump/qos_dump.cpp: + Starter for new qos xml tests + + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/QOS_XML_Loader.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.cpp: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/XML_File_Intf.h: + * CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/qos_xml_handler.mpc: + Added more code + + * DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc: + Removed not needed base project + + * DAnCE/tools/Config_Handlers/DnC_Dump.h: + Layout changes + + Sat May 19 14:28:57 CEST 2012 Johnny Willemsen <jwillemsen@remedy.nl> * DAnCE version 1.1.2 released. diff --git a/DAnCE/MPC/config/dance_config_handlers.mpb b/DAnCE/MPC/config/dance_config_handlers.mpb index d15498350e1..e65efdd2ded 100644 --- a/DAnCE/MPC/config/dance_config_handlers.mpb +++ b/DAnCE/MPC/config/dance_config_handlers.mpb @@ -2,9 +2,6 @@ // $Id$ project : dance_config_handlers_base, dynamicany, typecodefactory, dance_deployment_stub, dance_logger, xml_utils { - verbatim(gnuace, macros) { - override no_hidden_visibility = 1 - } after += XSC_DynAny_Handler \ XSC_Config_Handlers \ XSC_XML_Handlers \ diff --git a/DAnCE/MPC/config/dance_config_handlers_base.mpb b/DAnCE/MPC/config/dance_config_handlers_base.mpb index 81d27a7b277..9da75ac8c66 100644 --- a/DAnCE/MPC/config/dance_config_handlers_base.mpb +++ b/DAnCE/MPC/config/dance_config_handlers_base.mpb @@ -6,9 +6,4 @@ project : xml_utils, dynamicany, typecodefactory, dance_logger { libs += XSC_XML_Handlers macros += XML_USE_PTHREADS includes += $(DANCE_ROOT)/tools/Config_Handlers - - verbatim(gnuace, macros) { - override no_hidden_visibility = 1 - } - } diff --git a/DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc b/DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc index 8b65250d8bd..95cdde56b96 100644 --- a/DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc +++ b/DAnCE/tests/DeploymentPlanDump/DeploymentPlanDump.mpc @@ -1,5 +1,5 @@ // $Id$ -project : dance, taoexe, xerces, aceexe, dance_config_handlers, dance_logger { +project : dance, taoexe, xerces, dance_config_handlers, dance_logger { exename = DeploymentPlanDump Source_Files { diff --git a/DAnCE/tools/Config_Handlers/Config_Handlers.mpc b/DAnCE/tools/Config_Handlers/Config_Handlers.mpc index 23b5858db4d..7e16f877a09 100644 --- a/DAnCE/tools/Config_Handlers/Config_Handlers.mpc +++ b/DAnCE/tools/Config_Handlers/Config_Handlers.mpc @@ -60,10 +60,6 @@ project (XSC_XML_Handlers) : install, acelib, xerces, dance_lib { XSC_XML_Handlers_Export.h } - verbatim(gnuace, macros) { - override no_hidden_visibility = 1 - } - specific { install_dir = tools/Config_Handlers } diff --git a/DAnCE/tools/Config_Handlers/DnC_Dump.h b/DAnCE/tools/Config_Handlers/DnC_Dump.h index 8a534d7f647..e732a395775 100644 --- a/DAnCE/tools/Config_Handlers/DnC_Dump.h +++ b/DAnCE/tools/Config_Handlers/DnC_Dump.h @@ -71,25 +71,21 @@ static void dump (const ::Deployment::ComponentPortDescription static void dump (const ::Deployment::ComponentPropertyDescription &comppropdesc); -static void dump (const ::Deployment::MonolithicImplementationDescription -&mid); +static void dump (const ::Deployment::MonolithicImplementationDescription &mid); static void dump (const ::Deployment::PackageConfiguration &pc); -static void dump (const ::Deployment::PackagedComponentImplementation -&pci); +static void dump (const ::Deployment::PackagedComponentImplementation &pci); static void dump (const ::Deployment::SubcomponentPortEndpoint &spe); static void dump (const ::Deployment::Requirement &requirement); -static void dump (const ::Deployment::ComponentExternalPortEndpoint -&cepe); +static void dump (const ::Deployment::ComponentExternalPortEndpoint &cepe); static void dump (const ::Deployment::ComponentPackageReference &cpr); -static void dump (const ::Deployment::ComponentImplementationDescription -&cid); +static void dump (const ::Deployment::ComponentImplementationDescription &cid); static void dump (const ::Deployment::SubcomponentInstantiationDescription &sid); @@ -99,8 +95,7 @@ static void dump (const ::Deployment::NamedImplementationArtifact static void dump (const ::Deployment::ComponentInterfaceDescription &cid); -static void dump (const ::Deployment::SubcomponentPropertyReference -&scpr); +static void dump (const ::Deployment::SubcomponentPropertyReference &scpr); static void dump (const ::Deployment::ExternalReferenceEndpoint &ere); @@ -108,8 +103,7 @@ static void dump (const ::Deployment::Domain &domain); static void dump (const ::Deployment::Capability &capability); -static void dump (const ::Deployment::ImplementationArtifactDescription -&iad); +static void dump (const ::Deployment::ImplementationArtifactDescription &iad); static void dump (const ::Deployment::ImplementationRequirement &ir); diff --git a/DAnCE/tools/Config_Handlers/Utils/Functors.h b/DAnCE/tools/Config_Handlers/Utils/Functors.h index c2a26422994..edfa7e24789 100644 --- a/DAnCE/tools/Config_Handlers/Utils/Functors.h +++ b/DAnCE/tools/Config_Handlers/Utils/Functors.h @@ -20,11 +20,7 @@ namespace DAnCE template <typename Source, typename Dest, typename Dest_Type, -#if defined (__BORLANDC__) && (__BORLANDC__ < 0x630) - void (Func)(const Source &, Dest_Type &)> -#else void (&Func)(const Source &, Dest_Type &)> -#endif struct Sequence_Handler { Sequence_Handler (Dest &dest, CORBA::ULong pos = 0) diff --git a/TAO/tao/ORB.h b/TAO/tao/ORB.h index e561e9a8f19..5b76fdf659f 100644 --- a/TAO/tao/ORB.h +++ b/TAO/tao/ORB.h @@ -393,7 +393,7 @@ namespace CORBA * * If this function is called with a @ tv value, client threads * making invocations will continue their operations. When the - * operation timesout and returns, any invocations showing up on + * operation times out and returns, any invocations showing up on * the server will be buffered by TCP. **/ void run (ACE_Time_Value &tv); |