19.1.1.7.35. ReliabilityQosPolicy

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

Indicates the reliability of the endpoint.

Note

Immutable Qos Policy

Public Functions

inline ReliabilityQosPolicy()

Constructor.

virtual ~ReliabilityQosPolicy() = default

Destructor.

inline virtual void clear() override

Clears the QosPolicy object.

Public Members

ReliabilityQosPolicyKind kind

Defines the reliability kind of the endpoint.

By default, BEST_EFFORT_RELIABILITY_QOS for DataReaders and RELIABLE_RELIABILITY_QOS for DataWriters.

fastdds::dds::Duration_t max_blocking_time

Defines the maximum period of time certain methods will be blocked.

Methods affected by this property are:

  • DataWriter::write

  • DataReader::takeNextData

  • DataReader::readNextData

    By default, 100 ms.