| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
RTPSReliableWriterQos.hpp
1// Copyright 2025 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
18
19#ifndef FASTDDS_DDS_CORE_POLICY__RTPSRELIABLEWRITERQOS_HPP
20#define FASTDDS_DDS_CORE_POLICY__RTPSRELIABLEWRITERQOS_HPP
21
22#include <fastdds/rtps/attributes/WriterAttributes.hpp>
23
24 namespace eprosima {
25 namespace fastdds {
26 namespace dds {
27
29 class RTPSReliableWriterQos
30{
31 public:
32
36 FASTDDS_EXPORTED_API RTPSReliableWriterQos()
37 {
38 }
39
43 virtual FASTDDS_EXPORTED_API ~RTPSReliableWriterQos() = default;
44
45 bool operator ==(
46 const RTPSReliableWriterQos& b) const
47 {
48 return (this->times == b.times) &&
49 (this->disable_positive_acks == b.disable_positive_acks) &&
50 (this->disable_heartbeat_piggyback == b.disable_heartbeat_piggyback);
51 }
52
53 inline void clear()
54 {
55 *this = RTPSReliableWriterQos();
56 }
57
59 fastdds::rtps::WriterTimes times;
60
62 DisablePositiveACKsQosPolicy disable_positive_acks;
63
65 bool disable_heartbeat_piggyback = false;
66};
67
68} //namespace dds
69} //namespace fastdds
70} //namespace eprosima
71
72#endif // FASTDDS_DDS_CORE_POLICY__RTPSRELIABLEWRITERQOS_HPP
eprosima::fastdds::dds::DisablePositiveACKsQosPolicy
Class DisablePositiveACKsQosPolicy to disable sending of positive ACKs.
Definition QosPolicies.hpp:2224
eprosima::fastdds::dds::RTPSReliableWriterQos::times
fastdds::rtps::WriterTimes times
Writer Timing Attributes.
Definition RTPSReliableWriterQos.hpp:59
eprosima::fastdds::dds::RTPSReliableWriterQos::disable_heartbeat_piggyback
bool disable_heartbeat_piggyback
Disable heartbeat piggyback mechanism.
Definition RTPSReliableWriterQos.hpp:65
eprosima::fastdds::dds::RTPSReliableWriterQos::operator==
bool operator==(const RTPSReliableWriterQos &b) const
Definition RTPSReliableWriterQos.hpp:45
eprosima::fastdds::dds::RTPSReliableWriterQos::~RTPSReliableWriterQos
virtual FASTDDS_EXPORTED_API ~RTPSReliableWriterQos()=default
Destructor.
eprosima::fastdds::dds::RTPSReliableWriterQos::disable_positive_acks
DisablePositiveACKsQosPolicy disable_positive_acks
Disable positive acks QoS, implemented in the library.
Definition RTPSReliableWriterQos.hpp:62
eprosima::fastdds::dds::RTPSReliableWriterQos::clear
void clear()
Definition RTPSReliableWriterQos.hpp:53
eprosima::fastdds::dds::RTPSReliableWriterQos::RTPSReliableWriterQos
FASTDDS_EXPORTED_API RTPSReliableWriterQos()
Constructor.
Definition RTPSReliableWriterQos.hpp:36
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::WriterTimes
Struct WriterTimes, defining the times associated with the Reliable Writers events.
Definition WriterAttributes.hpp:47