Fast DDS  Version 3.0.1
Fast DDS
Loading...
Searching...
No Matches
WriterQos.hpp
1// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
20#ifndef FASTDDS_DDS_PUBLISHER_QOS__WRITERQOS_HPP
21#define FASTDDS_DDS_PUBLISHER_QOS__WRITERQOS_HPP
22
23#include <fastdds/dds/core/policy/QosPolicies.hpp>
24
25namespace eprosima {
26namespace fastdds {
27namespace dds {
28
37{
38public:
39
40 FASTDDS_EXPORTED_API WriterQos();
41 FASTDDS_EXPORTED_API virtual ~WriterQos();
42
44 const WriterQos& b) const
45 {
46 return (this->m_durability == b.m_durability) &&
48 (this->m_deadline == b.m_deadline) &&
49 (this->m_latencyBudget == b.m_latencyBudget) &&
50 (this->m_liveliness == b.m_liveliness) &&
51 (this->m_reliability == b.m_reliability) &&
52 (this->m_lifespan == b.m_lifespan) &&
53 (this->m_userData == b.m_userData) &&
55 (this->m_ownership == b.m_ownership) &&
58 (this->m_presentation == b.m_presentation) &&
59 (this->m_partition == b.m_partition) &&
60 (this->m_topicData == b.m_topicData) &&
61 (this->m_groupData == b.m_groupData) &&
62 (this->m_publishMode == b.m_publishMode) &&
64 (this->representation == b.representation) &&
65 (this->data_sharing == b.data_sharing);
66 }
67
70
73
76
79
82
85
88
90 UserDataQosPolicy m_userData;
91
94
97
100
103
106
109
111 TopicDataQosPolicy m_topicData;
112
114 GroupDataQosPolicy m_groupData;
115
118
121
124
127
130
136 FASTDDS_EXPORTED_API void setQos(
137 const WriterQos& qos,
138 bool first_time);
139
144 FASTDDS_EXPORTED_API bool checkQos() const;
145
146 FASTDDS_EXPORTED_API bool canQosBeUpdated(
147 const WriterQos& qos) const;
148
149 void clear();
150};
151
152//FASTDDS_EXPORTED_API extern const WriterQos DATAWRITER_QOS_DEFAULT;
153
154} //namespace dds
155} //namespace fastdds
156} //namespace eprosima
157
158#endif // FASTDDS_DDS_PUBLISHER_QOS__WRITERQOS_HPP
With multiple standard data Representations available, and vendor-specific extensions possible,...
Definition QosPolicies.hpp:2070
Qos Policy to configure the data sharing.
Definition QosPolicies.hpp:2890
DataReader expects a new sample updating the value of each instance at least once every deadline peri...
Definition QosPolicies.hpp:361
Controls the criteria used to determine the logical order among changes made by Publisher entities to...
Definition QosPolicies.hpp:717
Class DisablePositiveACKsQosPolicy to disable sending of positive ACKs.
Definition QosPolicies.hpp:2222
This policy expresses if the data should ‘outlive’ their writing time.
Definition QosPolicies.hpp:276
Specifies the configuration of the durability service.
Definition QosPolicies.hpp:1787
Specifies the maximum acceptable delay from the time the data is written until the data is inserted i...
Definition QosPolicies.hpp:414
Specifies the maximum duration of validity of the data written by the DataWriter.
Definition QosPolicies.hpp:1875
Determines the mechanism and parameters used by the application to determine whether an Entity is “ac...
Definition QosPolicies.hpp:486
Specifies whether it is allowed for multiple DataWriters to write the same instance of the data and i...
Definition QosPolicies.hpp:650
Specifies the value of the “strength” used to arbitrate among multiple DataWriter objects that attemp...
Definition QosPolicies.hpp:1921
Set of strings that introduces a logical partition among the topics visible by the Publisher and Subs...
Definition QosPolicies.hpp:1284
Specifies how the samples representing changes to data instances are presented to the subscribing app...
Definition QosPolicies.hpp:1154
Class PublishModeQosPolicy, defines the publication mode for a specific writer.
Definition QosPolicies.hpp:2018
Indicates the reliability of the endpoint.
Definition QosPolicies.hpp:568
Filter that allows a DataReader to specify that it is interested only in (potentially) a subset of th...
Definition QosPolicies.hpp:1080
Class WriterQos, containing all the possible Qos that can be set for a determined Publisher.
Definition WriterQos.hpp:37
LifespanQosPolicy m_lifespan
Lifespan Qos, NOT implemented in the library.
Definition WriterQos.hpp:87
virtual FASTDDS_EXPORTED_API ~WriterQos()
UserDataQosPolicy m_userData
UserData Qos, NOT implemented in the library.
Definition WriterQos.hpp:90
DataRepresentationQosPolicy representation
Data Representation Qos, implemented in the library.
Definition WriterQos.hpp:120
DisablePositiveACKsQosPolicy m_disablePositiveACKs
Disable positive acks QoS, implemented in the library.
Definition WriterQos.hpp:123
FASTDDS_EXPORTED_API WriterQos()
PresentationQosPolicy m_presentation
Presentation Qos, NOT implemented in the library.
Definition WriterQos.hpp:105
PublishModeQosPolicy m_publishMode
Publication Mode Qos, implemented in the library.
Definition WriterQos.hpp:117
DestinationOrderQosPolicy m_destinationOrder
Destination Order Qos, NOT implemented in the library.
Definition WriterQos.hpp:102
OwnershipQosPolicy m_ownership
Ownership Qos, implemented in the library.
Definition WriterQos.hpp:96
DurabilityQosPolicy m_durability
Durability Qos, implemented in the library.
Definition WriterQos.hpp:69
DurabilityServiceQosPolicy m_durabilityService
Durability Service Qos, NOT implemented in the library.
Definition WriterQos.hpp:72
bool disable_heartbeat_piggyback
Disable heartbeat piggyback mechanism.
Definition WriterQos.hpp:129
bool operator==(const WriterQos &b) const
Definition WriterQos.hpp:43
OwnershipStrengthQosPolicy m_ownershipStrength
Owenership Strength Qos, implemented in the library.
Definition WriterQos.hpp:99
FASTDDS_EXPORTED_API bool canQosBeUpdated(const WriterQos &qos) const
PartitionQosPolicy m_partition
Partition Qos, implemented in the library.
Definition WriterQos.hpp:108
DataSharingQosPolicy data_sharing
Information for data sharing compatibility check.
Definition WriterQos.hpp:126
FASTDDS_EXPORTED_API bool checkQos() const
Check if the Qos values are compatible between each other.
LatencyBudgetQosPolicy m_latencyBudget
Latency Budget Qos, NOT implemented in the library.
Definition WriterQos.hpp:78
DeadlineQosPolicy m_deadline
Deadline Qos, implemented in the library.
Definition WriterQos.hpp:75
LivelinessQosPolicy m_liveliness
Liveliness Qos, implemented in the library.
Definition WriterQos.hpp:81
TopicDataQosPolicy m_topicData
Topic Data Qos, NOT implemented in the library.
Definition WriterQos.hpp:111
GroupDataQosPolicy m_groupData
Group Data Qos, NOT implemented in the library.
Definition WriterQos.hpp:114
FASTDDS_EXPORTED_API void setQos(const WriterQos &qos, bool first_time)
Set Qos from another class.
ReliabilityQosPolicy m_reliability
Reliability Qos, implemented in the library.
Definition WriterQos.hpp:84
TimeBasedFilterQosPolicy m_timeBasedFilter
Time Based Filter Qos, NOT implemented in the library.
Definition WriterQos.hpp:93
Definition DomainParticipant.hpp:45
eProsima namespace.