Specifies how the samples representing changes to data instances are presented to the subscribing application. More...
#include <QosPolicies.hpp>
Public Member Functions | |
FASTDDS_EXPORTED_API | PresentationQosPolicy () |
Constructor without parameters. | |
virtual FASTDDS_EXPORTED_API | ~PresentationQosPolicy ()=default |
Destructor. | |
bool | operator== (const PresentationQosPolicy &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 | |
PresentationQosPolicyAccessScopeKind | access_scope |
Access Scope Kind By default, INSTANCE_PRESENTATION_QOS. | |
bool | coherent_access |
Specifies support coherent access. | |
bool | ordered_access |
Specifies support for ordered access to the samples received at the subscription end. | |
![]() | |
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 how the samples representing changes to data instances are presented to the subscribing application.
This policy affects the application’s ability to specify and receive coherent changes and to see the relative order of changes.access_scope determines the largest scope spanning the entities for which the order and coherency of changes can be preserved. The two booleans control whether coherent access and ordered access are supported within the scope access_scope.
|
inline |
Constructor without parameters.
|
virtualdefault |
Destructor.
|
inline |
PresentationQosPolicyAccessScopeKind access_scope |
Access Scope Kind
By default, INSTANCE_PRESENTATION_QOS.
bool coherent_access |
Specifies support coherent access.
That is, the ability to group a set of changes as a unit on the publishing end such that they are received as a unit at the subscribing end. by default, false.
bool ordered_access |
Specifies support for ordered access to the samples received at the subscription end.
That is, the ability of the subscriber to see changes in the same order as they occurred on the publishing end. By default, false.