Skip to content

Commit

Permalink
Refs #21120. Snake case for ReaderTimes.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany committed Jun 10, 2024
1 parent 1d62ac5 commit f36b454
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
12 changes: 6 additions & 6 deletions code/DDSCodeTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4312,12 +4312,12 @@ void dds_qos_examples()
{
//DDS_CHANGE_RTPS_RELIABLE_READER_QOS
RTPSReliableReaderQos reliable_reader_qos;
//The RTPSReliableReaderQos is default constructed with initialAcknackDelay = 70 ms
//Change the initialAcknackDelay to 70 nanoseconds
reliable_reader_qos.times.initialAcknackDelay = {0, 70};
//The RTPSReliableWriterQos is default constructed with heartbeatResponseDelay = 5 ms
//Change the heartbeatResponseDelay to 5 nanoseconds
reliable_reader_qos.times.heartbeatResponseDelay = {0, 5};
//The RTPSReliableReaderQos is default constructed with initial_acknack_delay = 70 ms
//Change the initial_acknack_delay to 70 nanoseconds
reliable_reader_qos.times.initial_acknack_delay = {0, 70};
//The RTPSReliableWriterQos is default constructed with heartbeat_response_delay = 5 ms
//Change the heartbeat_response_delay to 5 nanoseconds
reliable_reader_qos.times.heartbeat_response_delay = {0, 5};
//You can also change the DisablePositiveACKsQosPolicy. For further details see DisablePositiveACKsQosPolicy section.
reliable_reader_qos.disable_positive_ACKs.enabled = true;
//!--
Expand Down
16 changes: 8 additions & 8 deletions code/XMLTester.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1791,13 +1791,13 @@
</qos>

<times> <!-- readerTimesType -->
<initialAcknackDelay>
<initial_acknack_delay>
<nanosec>70</nanosec>
</initialAcknackDelay>
</initial_acknack_delay>

<heartbeatResponseDelay>
<heartbeat_response_delay>
<nanosec>5</nanosec>
</heartbeatResponseDelay>
</heartbeat_response_delay>
</times>

<unicastLocatorList>
Expand Down Expand Up @@ -3799,12 +3799,12 @@
<!-->XML_RTPS_RELIABLE_READER_QOS<-->
<data_reader profile_name="sub_profile_name">
<times> <!-- readerTimesType -->
<initialAcknackDelay> <!-- DURATION -->
<initial_acknack_delay> <!-- DURATION -->
<nanosec>70</nanosec>
</initialAcknackDelay>
<heartbeatResponseDelay> <!-- DURATION -->
</initial_acknack_delay>
<heartbeat_response_delay> <!-- DURATION -->
<nanosec>5</nanosec>
</heartbeatResponseDelay>
</heartbeat_response_delay>
</times>
<!--You can also change the values of DisablePositiveACKsQosPolicy.-->
<!--See DisablePositiveACKsQosPolicy section for further details-->
Expand Down
8 changes: 4 additions & 4 deletions code/XMLTesterExample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -772,14 +772,14 @@
</qos>

<times>
<initialAcknackDelay>
<initial_acknack_delay>
<sec>1</sec>
<nanosec>856000</nanosec>
</initialAcknackDelay>
<heartbeatResponseDelay>
</initial_acknack_delay>
<heartbeat_response_delay>
<sec>1</sec>
<nanosec>856000</nanosec>
</heartbeatResponseDelay>
</heartbeat_response_delay>
</times>

<unicastLocatorList>
Expand Down
4 changes: 2 additions & 2 deletions docs/03-exports/aliases-api.include
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@
.. |SendBuffersAllocationAttributes::dynamic-api| replace:: :cpp:member:`dynamic<eprosima::fastrtps::rtps::SendBuffersAllocationAttributes::dynamic>`

.. |ReaderTimes-api| replace:: :cpp:class:`ReaderTimes<eprosima::fastrtps::rtps::ReaderTimes>`
.. |ReaderTimes::initialAcknackDelay-api| replace:: :cpp:member:`initialAcknackDelay<eprosima::fastrtps::rtps::ReaderTimes::initialAcknackDelay>`
.. |ReaderTimes::heartbeatResponseDelay-api| replace:: :cpp:member:`heartbeatResponseDelay<eprosima::fastrtps::rtps::ReaderTimes::heartbeatResponseDelay>`
.. |ReaderTimes::initial_acknack_delay-api| replace:: :cpp:member:`initial_acknack_delay<eprosima::fastrtps::rtps::ReaderTimes::initial_acknack_delay>`
.. |ReaderTimes::heartbeat_response_delay-api| replace:: :cpp:member:`heartbeat_response_delay<eprosima::fastrtps::rtps::ReaderTimes::heartbeat_response_delay>`

.. |RTPSReliableWriterQos-api| replace:: :cpp:class:`RTPSReliableWriterQos<eprosima::fastdds::dds::RTPSReliableWriterQos>`
.. |RTPSReliableWriterQos::times-api| replace:: :cpp:member:`times<eprosima::fastdds::dds::RTPSReliableWriterQos::times>`
Expand Down
4 changes: 2 additions & 2 deletions docs/fastdds/api_reference/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ GuidPrefix
hashid
Hashid
heartbeatPeriod
heartbeatResponseDelay
heartbeat_response_delay
HistoryQosPolicy
InconsistentTopicStatus
Implementers
infos
initialAcknackDelay
initial_acknack_delay
initialHeartbeatDelay
inlined
instanceHandle
Expand Down
8 changes: 4 additions & 4 deletions docs/fastdds/dds_layer/core/policy/eprosimaExtensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -760,14 +760,14 @@ List of structure members:
+-----------------------------------------------------------------------------------+------------------+---------------+
| Member Name | Type | Default Value |
+===================================================================================+==================+===============+
| |ReaderTimes::initialAcknackDelay-api| | |Duration_t-api| | 70 ms |
| |ReaderTimes::initial_acknack_delay-api| | |Duration_t-api| | 70 ms |
+-----------------------------------------------------------------------------------+------------------+---------------+
| |ReaderTimes::heartbeatResponseDelay-api| | |Duration_t-api| | 5 ms |
| |ReaderTimes::heartbeat_response_delay-api| | |Duration_t-api| | 5 ms |
+-----------------------------------------------------------------------------------+------------------+---------------+

* |ReaderTimes::initialAcknackDelay-api|:
* |ReaderTimes::initial_acknack_delay-api|:
Defines the duration of the initial acknack delay.
* |ReaderTimes::heartbeatResponseDelay-api|:
* |ReaderTimes::heartbeat_response_delay-api|:
Establishes the duration of the delay applied when a heartbeat message is received.

Example
Expand Down
14 changes: 7 additions & 7 deletions docs/fastdds/xml_configuration/datareader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ ReaderTimes

These parameters are included within :ref:`rtpsreliablereaderqos` in the :ref:`readertimes` structure.

+------------------------------+-------------------------------------------------------+---------------------+---------+
| Name | Description | Values | Default |
+==============================+=======================================================+=====================+=========+
| ``<initialAcknackDelay>`` | Initial ACKNACK delay. | :ref:`DurationType` | 70 ms |
+------------------------------+-------------------------------------------------------+---------------------+---------+
| ``<heartbeatResponseDelay>`` | Response time delay when receiving a Heartbeat. | :ref:`DurationType` | 5 ms |
+------------------------------+-------------------------------------------------------+---------------------+---------+
+--------------------------------+-----------------------------------------------------+---------------------+---------+
| Name | Description | Values | Default |
+================================+=====================================================+=====================+=========+
| ``<initial_acknack_delay>`` | Initial ACKNACK delay. | :ref:`DurationType` | 70 ms |
+--------------------------------+-----------------------------------------------------+---------------------+---------+
| ``<heartbeat_response_delay>`` | Response time delay when receiving a Heartbeat. | :ref:`DurationType` | 5 ms |
+--------------------------------+-----------------------------------------------------+---------------------+---------+

0 comments on commit f36b454

Please sign in to comment.