15.1.1.3.18. LifespanQosPolicy

class eprosima::fastdds::dds::LifespanQosPolicy : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy

Specifies the maximum duration of validity of the data written by the DataWriter.

Note

Mutable Qos Policy

Public Functions

LifespanQosPolicy()

Constructor.

~LifespanQosPolicy() = default

Destructor.

void clear() override

Clears the QosPolicy object.

Public Members

fastrtps::Duration_t duration

Period of validity.

By default, c_TimeInfinite.