| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
ReaderQos.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_SUBSCRIBER_QOS__READERQOS_HPP
21#define FASTDDS_DDS_SUBSCRIBER_QOS__READERQOS_HPP
22
23#include <fastdds/dds/core/policy/QosPolicies.hpp>
24
25 namespace eprosima {
26 namespace fastdds {
27 namespace dds {
28
36 FASTDDS_TODO_BEFORE(4, 0, "Remove this class in favor of SubscriptionBuiltinTopicData");
37 class ReaderQos
38{
39 public:
40
41 FASTDDS_EXPORTED_API ReaderQos()
42 {
43 }
44
45 FASTDDS_EXPORTED_API virtual ~ReaderQos()
46 {
47 }
48
49 bool operator ==(
50 const ReaderQos& b) const
51 {
52 return (m_durability == b.m_durability) &&
53 (m_deadline == b.m_deadline) &&
54 (m_latencyBudget == b.m_latencyBudget) &&
55 (m_liveliness == b.m_liveliness) &&
56 (m_reliability == b.m_reliability) &&
57 (m_ownership == b.m_ownership) &&
58 (m_destinationOrder == b.m_destinationOrder) &&
59 (m_userData == b.m_userData) &&
60 (m_timeBasedFilter == b.m_timeBasedFilter) &&
61 (m_presentation == b.m_presentation) &&
62 (m_partition == b.m_partition) &&
63 (m_topicData == b.m_topicData) &&
64 (m_groupData == b.m_groupData) &&
65 (m_durabilityService == b.m_durabilityService) &&
66 (m_lifespan == b.m_lifespan) &&
67 (m_disablePositiveACKs == b.m_disablePositiveACKs) &&
68 (type_consistency == b.type_consistency) &&
69 (representation == b.representation) &&
70 (data_sharing == b.data_sharing);
71 }
72
74 DurabilityQosPolicy m_durability;
75
77 DeadlineQosPolicy m_deadline;
78
80 LatencyBudgetQosPolicy m_latencyBudget;
81
83 LivelinessQosPolicy m_liveliness;
84
86 ReliabilityQosPolicy m_reliability;
87
89 OwnershipQosPolicy m_ownership;
90
92 DestinationOrderQosPolicy m_destinationOrder;
93
95 UserDataQosPolicy m_userData;
96
98 TimeBasedFilterQosPolicy m_timeBasedFilter;
99
101 PresentationQosPolicy m_presentation;
102
104 PartitionQosPolicy m_partition;
105
107 TopicDataQosPolicy m_topicData;
108
110 GroupDataQosPolicy m_groupData;
111
113 DurabilityServiceQosPolicy m_durabilityService;
114
116 LifespanQosPolicy m_lifespan;
117
119 DataRepresentationQosPolicy representation;
120
122 TypeConsistencyEnforcementQosPolicy type_consistency;
123
125 DisablePositiveACKsQosPolicy m_disablePositiveACKs;
126
128 DataSharingQosPolicy data_sharing;
129
137 FASTDDS_EXPORTED_API void setQos(
138 const ReaderQos& readerqos,
139 bool first_time);
140
147 FASTDDS_EXPORTED_API bool checkQos() const;
148
156 FASTDDS_EXPORTED_API bool canQosBeUpdated(
157 const ReaderQos& qos) const;
158
162 void clear();
163};
164
165} //namespace dds
166} //namespace fastdds
167} //namespace eprosima
168
169#endif // FASTDDS_DDS_SUBSCRIBER_QOS__READERQOS_HPP
eprosima::fastdds::dds::DataRepresentationQosPolicy
With multiple standard data Representations available, and vendor-specific extensions possible,...
Definition QosPolicies.hpp:2072
eprosima::fastdds::dds::DataSharingQosPolicy
Qos Policy to configure the data sharing.
Definition QosPolicies.hpp:2952
eprosima::fastdds::dds::DeadlineQosPolicy
DataReader expects a new sample updating the value of each instance at least once every deadline peri...
Definition QosPolicies.hpp:363
eprosima::fastdds::dds::DestinationOrderQosPolicy
Controls the criteria used to determine the logical order among changes made by Publisher entities to...
Definition QosPolicies.hpp:719
eprosima::fastdds::dds::DisablePositiveACKsQosPolicy
Class DisablePositiveACKsQosPolicy to disable sending of positive ACKs.
Definition QosPolicies.hpp:2224
eprosima::fastdds::dds::DurabilityQosPolicy
This policy expresses if the data should ‘outlive’ their writing time.
Definition QosPolicies.hpp:278
eprosima::fastdds::dds::DurabilityServiceQosPolicy
Specifies the configuration of the durability service.
Definition QosPolicies.hpp:1789
eprosima::fastdds::dds::LatencyBudgetQosPolicy
Specifies the maximum acceptable delay from the time the data is written until the data is inserted i...
Definition QosPolicies.hpp:416
eprosima::fastdds::dds::LifespanQosPolicy
Specifies the maximum duration of validity of the data written by the DataWriter.
Definition QosPolicies.hpp:1877
eprosima::fastdds::dds::LivelinessQosPolicy
Determines the mechanism and parameters used by the application to determine whether an Entity is “ac...
Definition QosPolicies.hpp:488
eprosima::fastdds::dds::OwnershipQosPolicy
Specifies whether it is allowed for multiple DataWriters to write the same instance of the data and i...
Definition QosPolicies.hpp:652
eprosima::fastdds::dds::PartitionQosPolicy
Set of strings that introduces a logical partition among the topics visible by the Publisher and Subs...
Definition QosPolicies.hpp:1286
eprosima::fastdds::dds::PresentationQosPolicy
Specifies how the samples representing changes to data instances are presented to the subscribing app...
Definition QosPolicies.hpp:1156
eprosima::fastdds::dds::ReaderQos::m_lifespan
LifespanQosPolicy m_lifespan
Lifespan Qos, NOT implemented in the library.
Definition ReaderQos.hpp:116
eprosima::fastdds::dds::ReaderQos::m_userData
UserDataQosPolicy m_userData
UserData Qos, NOT implemented in the library.
Definition ReaderQos.hpp:95
eprosima::fastdds::dds::ReaderQos::operator==
bool operator==(const ReaderQos &b) const
Definition ReaderQos.hpp:49
eprosima::fastdds::dds::ReaderQos::representation
DataRepresentationQosPolicy representation
Data Representation Qos, implemented in the library.
Definition ReaderQos.hpp:119
eprosima::fastdds::dds::ReaderQos::m_disablePositiveACKs
DisablePositiveACKsQosPolicy m_disablePositiveACKs
Disable positive ACKs QoS.
Definition ReaderQos.hpp:125
eprosima::fastdds::dds::ReaderQos::ReaderQos
FASTDDS_EXPORTED_API ReaderQos()
Definition ReaderQos.hpp:41
eprosima::fastdds::dds::ReaderQos::m_presentation
PresentationQosPolicy m_presentation
Presentation Qos, NOT implemented in the library.
Definition ReaderQos.hpp:101
eprosima::fastdds::dds::ReaderQos::m_destinationOrder
DestinationOrderQosPolicy m_destinationOrder
Destinatio Order Qos, NOT implemented in the library.
Definition ReaderQos.hpp:92
eprosima::fastdds::dds::ReaderQos::~ReaderQos
virtual FASTDDS_EXPORTED_API ~ReaderQos()
Definition ReaderQos.hpp:45
eprosima::fastdds::dds::ReaderQos::m_ownership
OwnershipQosPolicy m_ownership
Ownership Qos, implemented in the library.
Definition ReaderQos.hpp:89
eprosima::fastdds::dds::ReaderQos::setQos
FASTDDS_EXPORTED_API void setQos(const ReaderQos &readerqos, bool first_time)
Set Qos from another class.
eprosima::fastdds::dds::ReaderQos::m_durability
DurabilityQosPolicy m_durability
Durability Qos, implemented in the library.
Definition ReaderQos.hpp:74
eprosima::fastdds::dds::ReaderQos::m_durabilityService
DurabilityServiceQosPolicy m_durabilityService
Durability Service Qos, NOT implemented in the library.
Definition ReaderQos.hpp:113
eprosima::fastdds::dds::ReaderQos::m_partition
PartitionQosPolicy m_partition
Partition Qos, implemented in the library.
Definition ReaderQos.hpp:104
eprosima::fastdds::dds::ReaderQos::type_consistency
TypeConsistencyEnforcementQosPolicy type_consistency
Type consistency enforcement Qos, NOT implemented in the library.
Definition ReaderQos.hpp:122
eprosima::fastdds::dds::ReaderQos::data_sharing
DataSharingQosPolicy data_sharing
Information for data sharing compatibility check.
Definition ReaderQos.hpp:128
eprosima::fastdds::dds::ReaderQos::clear
void clear()
eprosima::fastdds::dds::ReaderQos::checkQos
FASTDDS_EXPORTED_API bool checkQos() const
Check if the Qos values are compatible between each other.
eprosima::fastdds::dds::ReaderQos::m_latencyBudget
LatencyBudgetQosPolicy m_latencyBudget
Latency Budget Qos, NOT implemented in the library.
Definition ReaderQos.hpp:80
eprosima::fastdds::dds::ReaderQos::m_deadline
DeadlineQosPolicy m_deadline
Deadline Qos, implemented in the library.
Definition ReaderQos.hpp:77
eprosima::fastdds::dds::ReaderQos::m_liveliness
LivelinessQosPolicy m_liveliness
Liveliness Qos, implemented in the library.
Definition ReaderQos.hpp:83
eprosima::fastdds::dds::ReaderQos::canQosBeUpdated
FASTDDS_EXPORTED_API bool canQosBeUpdated(const ReaderQos &qos) const
Check if the Qos can be update with the values provided.
eprosima::fastdds::dds::ReaderQos::m_topicData
TopicDataQosPolicy m_topicData
Topic Data Qos, NOT implemented in the library.
Definition ReaderQos.hpp:107
eprosima::fastdds::dds::ReaderQos::m_groupData
GroupDataQosPolicy m_groupData
GroupData Qos, NOT implemented in the library.
Definition ReaderQos.hpp:110
eprosima::fastdds::dds::ReaderQos::m_reliability
ReliabilityQosPolicy m_reliability
ReliabilityQos, implemented in the library.
Definition ReaderQos.hpp:86
eprosima::fastdds::dds::ReaderQos::m_timeBasedFilter
TimeBasedFilterQosPolicy m_timeBasedFilter
Time Based Filter Qos, NOT implemented in the library.
Definition ReaderQos.hpp:98
eprosima::fastdds::dds::ReliabilityQosPolicy
Indicates the reliability of the endpoint.
Definition QosPolicies.hpp:570
eprosima::fastdds::dds::TimeBasedFilterQosPolicy
Filter that allows a DataReader to specify that it is interested only in (potentially) a subset of th...
Definition QosPolicies.hpp:1082
eprosima::fastdds::dds::TypeConsistencyEnforcementQosPolicy
The TypeConsistencyEnforcementQosPolicy defines the rules for determining whether the type used to pu...
Definition QosPolicies.hpp:2134
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::FASTDDS_TODO_BEFORE
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::fastdds
eprosima
eProsima namespace.