Class ResourceLimitsQosPolicy
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 ResourceLimitsQosPolicy : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy
Specifies the resources that the Service can consume in order to meet the requested QoS
Note
Immutable Qos Policy
Public Functions
-
inline RTPS_DllAPI ResourceLimitsQosPolicy()
Constructor.
-
virtual RTPS_DllAPI ~ResourceLimitsQosPolicy() = default
Destructor.
-
inline bool operator==(const ResourceLimitsQosPolicy &b) const
Public Members
-
int32_t max_samples
Specifies the maximum number of data-samples the DataWriter (or DataReader) can manage across all the instances associated with it. Represents the maximum samples the middleware can store for any one DataWriter (or DataReader
).
By default, 5000.
Warning
It is inconsistent if
max_samples < (max_instances * max_samples_per_instance)
.
-
int32_t max_instances
Represents the maximum number of instances DataWriter (or DataReader
) can manage.
By default, 10.
Warning
It is inconsistent if
(max_instances * max_samples_per_instance) > max_samples
.
-
int32_t max_samples_per_instance
Represents the maximum number of samples of any one instance a DataWriter(or DataReader)
can manage.
By default, 400.
Warning
It is inconsistent if
(max_instances * max_samples_per_instance) > max_samples
.
-
inline RTPS_DllAPI ResourceLimitsQosPolicy()