Filter that allows a DataReader to specify that it is interested only in (potentially) a subset of the values of the data. More...
#include <QosPolicies.hpp>
Public Member Functions | |
FASTDDS_EXPORTED_API | TimeBasedFilterQosPolicy () |
Constructor. | |
virtual FASTDDS_EXPORTED_API | ~TimeBasedFilterQosPolicy ()=default |
Destructor. | |
bool | operator== (const TimeBasedFilterQosPolicy &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 | |
fastdds::dds::Duration_t | minimum_separation |
Minimum interval between samples. By default, dds::c_TimeZero (the DataReader is interested in all values) | |
![]() | |
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. | |
Filter that allows a DataReader to specify that it is interested only in (potentially) a subset of the values of the data.
The filter states that the DataReader does not want to receive more than one value each minimum_separation, regardless of how fast the changes occur. It is inconsistent for a DataReader to have a minimum_separation longer than its Deadline period.
|
inline |
Constructor.
|
virtualdefault |
Destructor.
|
inline |
fastdds::dds::Duration_t minimum_separation |
Minimum interval between samples. By default, dds::c_TimeZero (the DataReader is interested in all values)