RTI Connext Modern C++ API
Version 5.3.1
|
<<value-type>> Container of the QoS policies that a dds::sub::Subscriber supports More...
#include "dds/sub/qos/SubscriberQos.hpp"
Public Member Functions | |
template<typename POLICY > | |
const POLICY & | policy () const |
Gets a QoS policy by const reference. | |
template<typename POLICY > | |
POLICY & | policy () |
Gets a QoS policy by reference. | |
<<value-type>> Container of the QoS policies that a dds::sub::Subscriber supports
You must set certain members in a consistent manner:
length of dds::core::policy::GroupData::value <= rti::core::policy::DomainParticipantResourceLimits::subscriber_group_data_max_length
length of dds::core::policy::Partition::name <= rti::core::policy::DomainParticipantResourceLimits::max_partitions
combined number of characters (including terminating 0) in dds::core::policy::Partition::name <= rti::core::policy::DomainParticipantResourceLimits::max_partition_cumulative_characters
If any of the above are not true, dds::sub::Subscriber::qos(const dds::sub::qos::SubscriberQos&) will fail with dds::core::InconsistentPolicyError
const POLICY& dds::sub::qos::SubscriberQos::policy | ( | ) | const |
Gets a QoS policy by const reference.
POLICY& dds::sub::qos::SubscriberQos::policy | ( | ) |
Gets a QoS policy by reference.
Policy | One of the Subscriber QoS policies: |