Class DurabilityQosPolicy
Defined in File QosPolicies.hpp
Inheritance Relationships
Base Types
public eprosima::fastdds::dds::Parameter_t
(Class Parameter_t)public eprosima::fastdds::dds::QosPolicy
(Class QosPolicy)
Class Documentation
-
class DurabilityQosPolicy : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy
This policy expresses if the data should ‘outlive’ their writing time.
Note
Immutable Qos Policy
Public Functions
-
inline RTPS_DllAPI DurabilityQosPolicy()
Constructor.
-
virtual RTPS_DllAPI ~DurabilityQosPolicy() = default
Destructor.
-
inline fastrtps::rtps::DurabilityKind_t durabilityKind() const
Translates kind to rtps layer equivalent
- Returns
-
inline bool operator==(const DurabilityQosPolicy &b) const
-
inline void durabilityKind(const fastrtps::rtps::DurabilityKind_t new_kind)
Set kind passing the rtps layer equivalent kind
- Parameters
new_kind – fastrtps::rtps::DurabilityKind_t
Public Members
-
DurabilityQosPolicyKind_t kind
DurabilityQosPolicyKind.
By default the value for DataReaders: VOLATILE_DURABILITY_QOS, for DataWriters TRANSIENT_LOCAL_DURABILITY_QOS.
-
inline RTPS_DllAPI DurabilityQosPolicy()