summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/performance-tests/Latency/descriptors/USER_QOS_PROFILES.xml
blob: 9b472b3f879a9a25b34396d300a2d9e35c0baa44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="utf-8"?>
<!-- 

Description
XML QoS Profile 

The QoS configuration of the DDS entities in the generated example is 
loaded from this file.

This file is used only when it is in the current working directory
or when the enviroment variable
NDDS_QOS_PROFILES is defined and points to this file.

For more information about XML QoS Profiles see Chapter 15 in the 
RTI Data Distribution Service user manual.
-->
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="c:/ndds/ndds.4.4d/scripts/../resource/rtiddsgen/../qos_profiles_4.4d/schema/rti_dds_qos_profiles.xsd" version="4.4d">
  <!-- QoS Library containing the QoS profile used in the generated example.

        A QoS library is a named set of QoS profiles.
    -->
  <qos_library name="HelloTest_Library">
    <!-- QoS profile used to configure reliable communication between the DataWriter 
             and DataReader created in the example code.

             A QoS profile groups a set of related QoS.
        -->
    <qos_profile name="LatencyQoS" is_default_qos="true">
      <!-- QoS used to configure the data writer created in the example code -->
      <datawriter_qos>
        <reliability>
          <kind>RELIABLE_RELIABILITY_QOS</kind>
          <max_blocking_time>
            <sec>DURATION_INFINITE_SEC</sec>
            <nanosec>DURATION_INFINITE_NSEC</nanosec>
          </max_blocking_time>
        </reliability>
        <history>
          <kind>KEEP_ALL_HISTORY_QOS</kind>
        </history>
        <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>
        <protocol>
          <rtps_reliable_writer>
            <max_heartbeat_retries>10</max_heartbeat_retries>
          </rtps_reliable_writer>
        </protocol>
      </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>
          <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="BestEffortQoS" is_default_qos="false">
      <!-- QoS used to configure the data writer created in the example code -->
      <datawriter_qos>
        <reliability>
          <kind>BEST_EFFORT_RELIABILITY_QOS</kind>
         </reliability>
        <history>
          <kind>KEEP_ALL_HISTORY_QOS</kind>
        </history>
        <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>
        <protocol>
          <rtps_reliable_writer>
            <max_heartbeat_retries>10</max_heartbeat_retries>
          </rtps_reliable_writer>
        </protocol>
      </datawriter_qos>
      <!-- QoS used to configure the data reader created in the example code -->
      <datareader_qos>
        <reliability>
          <kind>BEST_EFFORT_RELIABILITY_QOS</kind>
        </reliability>
        <history>
          <kind>KEEP_ALL_HISTORY_QOS</kind>
        </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>TRANSIENT_DURABILITY_QOS</kind>
        </durability>
      </datareader_qos>
    </qos_profile>
  </qos_library>

</dds>