4.2.9.2. Duration type configurationΒΆ

This section explains how to access the different configurable parameters in a duration type configuration. The scope of this section does not include explaining the usage of these specific parameters. Please, refer to Fast DDS documentation for that information.

The duration type configuration is accessed through the duration element which is a complex parameter according to the Configuration parameter classification. The duration type configurable <subelements> are explained in the table below.

subelement

CLI access

Configuration parameter classification

Valid set values

Seconds

duration.<duration_type>.sec

Simple parameter

int32_t

Nanoseconds

duration.<duration_type>.nanosec

Simple parameter

uint32_t

Duration type can also be set in the following supported usages:

  • Setting an infinite duration: duration.<duration_type> infinite

  • Setting the duration directly: duration.<duration_type> <sec_value> <nanosec_value>

Note

The duration can be directly set also by passing only the <sec_value> argument: duration.<duration_type> <sec_value>

The <duration_type> element is defined for each specific element. The list below includes the currently supported <duration_type> elements:

Warning

Any other <duration_type> is not yet supported.