Fast DDS  Version 3.0.0
Fast DDS
Loading...
Searching...
No Matches
ReplierQos.hpp
1// Copyright 2024 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#ifndef FASTDDS_DDS_DOMAIN_QOS__REPLIERQOS_HPP
20#define FASTDDS_DDS_DOMAIN_QOS__REPLIERQOS_HPP
21
22#include <string>
23
24#include <fastdds/dds/publisher/qos/DataWriterQos.hpp>
25#include <fastdds/dds/subscriber/qos/DataReaderQos.hpp>
26#include <fastdds/fastdds_dll.hpp>
27
28namespace eprosima {
29namespace fastdds {
30namespace dds {
31
33{
34public:
35
39 FASTDDS_EXPORTED_API ReplierQos() = default;
40
44 FASTDDS_EXPORTED_API bool operator ==(
45 const ReplierQos& b) const
46 {
47 return (this->service_name == b.service_name) &&
50 (this->writer_qos == b.writer_qos) &&
51 (this->reader_qos == b.reader_qos);
52 }
53
55 std::string service_name;
56
58 std::string request_type;
59
61 std::string reply_type;
62
64 std::string request_topic_name;
65
67 std::string reply_topic_name;
68
71
74};
75
76} // namespace dds
77} // namespace fastdds
78} // namespace eprosima
79
80#endif // FASTDDS_DDS_DOMAIN_QOS__REPLIERQOS_HPP
Class DataReaderQos, containing all the possible Qos that can be set for a determined DataReader.
Definition DataReaderQos.hpp:133
Class DataWriterQos, containing all the possible Qos that can be set for a determined DataWriter.
Definition DataWriterQos.hpp:85
Definition ReplierQos.hpp:33
std::string request_type
Request type.
Definition ReplierQos.hpp:58
std::string service_name
Service name.
Definition ReplierQos.hpp:55
std::string reply_topic_name
Reply topic name.
Definition ReplierQos.hpp:67
FASTDDS_EXPORTED_API bool operator==(const ReplierQos &b) const
Equal comparison operator.
Definition ReplierQos.hpp:44
FASTDDS_EXPORTED_API ReplierQos()=default
Constructor.
DataReaderQos reader_qos
DataReader QoS for the reply reader.
Definition ReplierQos.hpp:73
std::string request_topic_name
Request topic name.
Definition ReplierQos.hpp:64
DataWriterQos writer_qos
DataWriter QoS for the reply writer.
Definition ReplierQos.hpp:70
std::string reply_type
Reply type.
Definition ReplierQos.hpp:61
Definition DomainParticipant.hpp:45
eProsima namespace.