Class QosPolicyCount

Inheritance Relationships

Base Type

Class Documentation

class QosPolicyCount : public dds::core::Value<detail::QosPolicyCount>

The QosPolicyCount object shows, for a QosPolicy, the total number of times that the concerned DataWriter discovered a DataReader for the same Topic and a requested DataReaderQos that is incompatible with the one offered by the DataWriter.

Public Functions

inline QosPolicyCount(QosPolicyId policy_id, int32_t count)

Creates a QosPolicyCount instance

Parameters:
  • policy_id – the policy_id

  • count – the count

inline QosPolicyCount(const QosPolicyCount &other)

Copies a QosPolicyCount instance

Parameters:

other – the QosPolicyCount instance to copy

inline QosPolicyId policy_id() const

Gets the policy_id

Returns:

the policy_id

inline int32_t count() const

Gets the count

Returns:

the count