Fast DDS  Version 3.3.0
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
19
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
36FASTDDS_TODO_BEFORE(4, 0, "Remove this class in favor of PublicationBuiltinTopicData");
38{
39public:
40
41 FASTDDS_EXPORTED_API WriterQos();
42 FASTDDS_EXPORTED_API virtual ~WriterQos();
43
45 const WriterQos& b) const
46 {
47 return (this->m_durability == b.m_durability) &&
49 (this->m_deadline == b.m_deadline) &&
50 (this->m_latencyBudget == b.m_latencyBudget) &&
51 (this->m_liveliness == b.m_liveliness) &&
52 (this->m_reliability == b.m_reliability) &&
53 (this->m_lifespan == b.m_lifespan) &&
54 (this->m_userData == b.m_userData) &&
56 (this->m_ownership == b.m_ownership) &&
59 (this->m_presentation == b.m_presentation) &&
60 (this->m_partition == b.m_partition) &&
61 (this->m_topicData == b.m_topicData) &&
62 (this->m_groupData == b.m_groupData) &&
63 (this->m_publishMode == b.m_publishMode) &&
65 (this->representation == b.representation) &&
66 (this->data_sharing == b.data_sharing);
67 }
68
71
74
77
80
83
86
89
91 UserDataQosPolicy m_userData;
92
95
98
101
104
107
110
112 TopicDataQosPolicy m_topicData;
113
115 GroupDataQosPolicy m_groupData;
116
119
122
125
128
131
139 FASTDDS_EXPORTED_API void setQos(
140 const WriterQos& qos,
141 bool first_time);
142
149 FASTDDS_EXPORTED_API bool checkQos() const;
150
154 FASTDDS_EXPORTED_API bool canQosBeUpdated(
155 const WriterQos& qos) const;
156
160 void clear();
161};
162
163//FASTDDS_EXPORTED_API extern const WriterQos DATAWRITER_QOS_DEFAULT;
164
165} //namespace dds
166} //namespace fastdds
167} //namespace eprosima
168
169#endif // FASTDDS_DDS_PUBLISHER_QOS__WRITERQOS_HPP
With multiple standard data Representations available, and vendor-specific extensions possible,...
Definition QosPolicies.hpp:2072
Qos Policy to configure the data sharing.
Definition QosPolicies.hpp:2952
DataReader expects a new sample updating the value of each instance at least once every deadline peri...
Definition QosPolicies.hpp:363
Controls the criteria used to determine the logical order among changes made by Publisher entities to...
Definition QosPolicies.hpp:719
Class DisablePositiveACKsQosPolicy to disable sending of positive ACKs.
Definition QosPolicies.hpp:2224
This policy expresses if the data should ‘outlive’ their writing time.
Definition QosPolicies.hpp:278
Specifies the configuration of the durability service.
Definition QosPolicies.hpp:1789
Specifies the maximum acceptable delay from the time the data is written until the data is inserted i...
Definition QosPolicies.hpp:416
Specifies the maximum duration of validity of the data written by the DataWriter.
Definition QosPolicies.hpp:1877
Determines the mechanism and parameters used by the application to determine whether an Entity is “ac...
Definition QosPolicies.hpp:488
Specifies whether it is allowed for multiple DataWriters to write the same instance of the data and i...
Definition QosPolicies.hpp:652
Specifies the value of the “strength” used to arbitrate among multiple DataWriter objects that attemp...
Definition QosPolicies.hpp:1923
Set of strings that introduces a logical partition among the topics visible by the Publisher and Subs...
Definition QosPolicies.hpp:1286
Specifies how the samples representing changes to data instances are presented to the subscribing app...
Definition QosPolicies.hpp:1156
Class PublishModeQosPolicy, defines the publication mode for a specific writer.
Definition QosPolicies.hpp:2020
Indicates the reliability of the endpoint.
Definition QosPolicies.hpp:570
Filter that allows a DataReader to specify that it is interested only in (potentially) a subset of th...
Definition QosPolicies.hpp:1082
LifespanQosPolicy m_lifespan
Lifespan Qos, NOT implemented in the library.
Definition WriterQos.hpp:88
virtual FASTDDS_EXPORTED_API ~WriterQos()
UserDataQosPolicy m_userData
UserData Qos, NOT implemented in the library.
Definition WriterQos.hpp:91
DataRepresentationQosPolicy representation
Data Representation Qos, implemented in the library.
Definition WriterQos.hpp:121
DisablePositiveACKsQosPolicy m_disablePositiveACKs
Disable positive acks QoS, implemented in the library.
Definition WriterQos.hpp:124
FASTDDS_EXPORTED_API WriterQos()
PresentationQosPolicy m_presentation
Presentation Qos, NOT implemented in the library.
Definition WriterQos.hpp:106
PublishModeQosPolicy m_publishMode
Publication Mode Qos, implemented in the library.
Definition WriterQos.hpp:118
DestinationOrderQosPolicy m_destinationOrder
Destination Order Qos, NOT implemented in the library.
Definition WriterQos.hpp:103
OwnershipQosPolicy m_ownership
Ownership Qos, implemented in the library.
Definition WriterQos.hpp:97
DurabilityQosPolicy m_durability
Durability Qos, implemented in the library.
Definition WriterQos.hpp:70
DurabilityServiceQosPolicy m_durabilityService
Durability Service Qos, NOT implemented in the library.
Definition WriterQos.hpp:73
bool disable_heartbeat_piggyback
Disable heartbeat piggyback mechanism.
Definition WriterQos.hpp:130
bool operator==(const WriterQos &b) const
Definition WriterQos.hpp:44
OwnershipStrengthQosPolicy m_ownershipStrength
Owenership Strength Qos, implemented in the library.
Definition WriterQos.hpp:100
FASTDDS_EXPORTED_API bool canQosBeUpdated(const WriterQos &qos) const
PartitionQosPolicy m_partition
Partition Qos, implemented in the library.
Definition WriterQos.hpp:109
DataSharingQosPolicy data_sharing
Information for data sharing compatibility check.
Definition WriterQos.hpp:127
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:79
DeadlineQosPolicy m_deadline
Deadline Qos, implemented in the library.
Definition WriterQos.hpp:76
LivelinessQosPolicy m_liveliness
Liveliness Qos, implemented in the library.
Definition WriterQos.hpp:82
TopicDataQosPolicy m_topicData
Topic Data Qos, NOT implemented in the library.
Definition WriterQos.hpp:112
GroupDataQosPolicy m_groupData
Group Data Qos, NOT implemented in the library.
Definition WriterQos.hpp:115
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:85
TimeBasedFilterQosPolicy m_timeBasedFilter
Time Based Filter Qos, NOT implemented in the library.
Definition WriterQos.hpp:94
Definition BuiltinTopicKey.hpp:26
FASTDDS_TODO_BEFORE(4, 0, "Remove 'hasChanged' and 'send_always_' as they were replaced by 'should_be_sent'.")
Class QosPolicy, base for all QoS policies defined for Writers and Readers.
eProsima namespace.