|
| 1 | +<?xml version="1.0"?> |
| 2 | + |
| 3 | +<!-- |
| 4 | + (c) Copyright, Real-Time Innovations, 2020. All rights reserved. |
| 5 | + RTI grants Licensee a license to use, modify, compile, and create derivative |
| 6 | + works of the software solely for use with RTI Connext DDS. Licensee may |
| 7 | + redistribute copies of the software provided that all such copies are |
| 8 | + subject to this license. The software is provided "as is", with no warranty |
| 9 | + of any type, including any warranty for fitness for any purpose. RTI is |
| 10 | + under no obligation to maintain or support the software. RTI shall not be |
| 11 | + liable for any incidental or consequential damages arising out of the use |
| 12 | + or inability to use the software. |
| 13 | +
|
| 14 | + This file is used only when it is in the current working directory or when |
| 15 | + the environment variable NDDS_QOS_PROFILES is defined and points to this |
| 16 | + file. |
| 17 | +
|
| 18 | + The profile in this file inherits from the builtin QoS profile |
| 19 | + BuiltinQosLib::Generic.StrictReliable. That profile, along with all of the |
| 20 | + other built-in QoS profiles can be found in the |
| 21 | + BuiltinProfiles.documentationONLY.xml file located in the |
| 22 | + $NDDSHOME/resource/xml/ directory. |
| 23 | +--> |
| 24 | +<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | + xsi:noNamespaceSchemaLocation="https://community.rti.com/schema/current/rti_dds_qos_profiles.xsd"> |
| 26 | + <!-- |
| 27 | + QoS Library containing the QoS profile used in this example. |
| 28 | + A QoS library is a named set of QoS profiles. |
| 29 | + --> |
| 30 | + <qos_library name="hello_world_Library"> |
| 31 | + |
| 32 | + <!-- |
| 33 | + QoS profile used to configure reliable communication between the |
| 34 | + DataWriter and DataReader created in the example code. |
| 35 | +
|
| 36 | + base_name: |
| 37 | + Communication is reliable because this profile inherits from |
| 38 | + the built-in profile "BuiltinQosLib::Generic.StrictReliable" |
| 39 | +
|
| 40 | + is_default_qos: |
| 41 | + These QoS profiles will be used as the default, as long as this |
| 42 | + file is in the working directory when running the example. |
| 43 | + --> |
| 44 | + <qos_profile name="hello_world_Profile" |
| 45 | + base_name="BuiltinQosLib::Generic.StrictReliable" |
| 46 | + is_default_qos="true"> |
| 47 | + |
| 48 | + <!-- QoS specified to override the QoS in the base profile. |
| 49 | + Configures the DataWriter in the example code. --> |
| 50 | + <datawriter_qos> |
| 51 | + <publication_name> |
| 52 | + <name>HelloWorldDataWriter</name> |
| 53 | + </publication_name> |
| 54 | + </datawriter_qos> |
| 55 | + |
| 56 | + <!-- QoS specified to override the QoS in the base profile. |
| 57 | + Configures the DataReader in the example code. --> |
| 58 | + <datareader_qos> |
| 59 | + <subscription_name> |
| 60 | + <name>HelloWorldDataReader</name> |
| 61 | + </subscription_name> |
| 62 | + </datareader_qos> |
| 63 | + |
| 64 | + <!-- QoS specified to override the QoS in the base profile. |
| 65 | + Configures the DomainParticipant in the example code. --> |
| 66 | + <participant_qos> |
| 67 | + <!-- |
| 68 | + The participant name, if it is set, will be displayed in the |
| 69 | + RTI tools, making it easier for you to tell one |
| 70 | + application from another when you're debugging. |
| 71 | + --> |
| 72 | + <participant_name> |
| 73 | + <name>HelloWorldParticipant</name> |
| 74 | + </participant_name> |
| 75 | + |
| 76 | + </participant_qos> |
| 77 | + </qos_profile> |
| 78 | + |
| 79 | + </qos_library> |
| 80 | +</dds> |
0 commit comments