Specifies the resources that the Service can consume in order to meet the requested QoS. More...
#include <QosPolicies.hpp>
Public Member Functions | |
FASTDDS_EXPORTED_API | ResourceLimitsQosPolicy () |
Constructor. | |
virtual FASTDDS_EXPORTED_API | ~ResourceLimitsQosPolicy ()=default |
Destructor. | |
bool | operator== (const ResourceLimitsQosPolicy &b) const |
void | clear () override |
Clears the QosPolicy object. | |
![]() | |
FASTDDS_EXPORTED_API | Parameter_t () |
Constructor without parameters. | |
FASTDDS_EXPORTED_API | Parameter_t (ParameterId_t pid, uint16_t length) |
Constructor using a parameter PID and the parameter length. | |
virtual FASTDDS_EXPORTED_API | ~Parameter_t () |
Destructor. | |
bool | operator== (const Parameter_t &b) const |
![]() | |
QosPolicy () | |
Constructor without parameters. | |
QosPolicy (bool send_always) | |
Constructor. | |
QosPolicy (const QosPolicy &b)=default | |
Copy Constructor. | |
virtual | ~QosPolicy ()=default |
Destructor. | |
bool | operator== (const QosPolicy &b) const |
QosPolicy & | operator= (const QosPolicy &b)=default |
virtual bool | send_always () const |
Whether it should always be sent. | |
Public Attributes | |
int32_t | max_samples |
Specifies the maximum number of data-samples the DataWriter (or DataReader) can manage across all the instances associated with it. | |
int32_t | max_instances |
Represents the maximum number of instances DataWriter (or DataReader) can manage. | |
int32_t | max_samples_per_instance |
Represents the maximum number of samples of any one instance a DataWriter(or DataReader) can manage. | |
int32_t | allocated_samples |
Number of samples currently allocated. | |
int32_t | extra_samples |
Represents the extra number of samples available once the max_samples have been reached in the history. | |
![]() | |
ParameterId_t | Pid |
Parameter ID. By default, PID_PAD. | |
uint16_t | length |
Parameter length. By default, 0. | |
![]() | |
bool | hasChanged |
Boolean that indicates if the Qos has been changed with respect to the default Qos. | |
Additional Inherited Members | |
![]() | |
bool | send_always_ |
Boolean that indicates if the Qos has to be sent even if it is not changed. | |
Specifies the resources that the Service can consume in order to meet the requested QoS.
|
inline |
Constructor.
|
virtualdefault |
Destructor.
|
inline |
int32_t allocated_samples |
Number of samples currently allocated.
By default, 100.
int32_t extra_samples |
Represents the extra number of samples available once the max_samples have been reached in the history.
This makes it possible, for example, to loan samples even with a full history. By default, 1.
int32_t max_instances |
Represents the maximum number of instances DataWriter (or DataReader) can manage.
Value less or equal to 0 means infinite resources. By default, 10.
(max_instances * max_samples_per_instance) > max_samples
. 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).
Value less or equal to 0 means infinite resources. By default, 5000.
max_samples < (max_instances * max_samples_per_instance)
. int32_t max_samples_per_instance |
Represents the maximum number of samples of any one instance a DataWriter(or DataReader) can manage.
Value less or equal to 0 means infinite resources. By default, 400.
(max_instances * max_samples_per_instance) > max_samples
.