Program Listing for File ReplierQos.hpp

Return to documentation for file (include/fastdds/dds/domain/qos/ReplierQos.hpp)

// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef FASTDDS_DDS_DOMAIN_QOS__REPLIERQOS_HPP
#define FASTDDS_DDS_DOMAIN_QOS__REPLIERQOS_HPP

#include <string>

#include <fastdds/dds/publisher/qos/DataWriterQos.hpp>
#include <fastdds/dds/subscriber/qos/DataReaderQos.hpp>
#include <fastdds/fastdds_dll.hpp>

namespace eprosima {
namespace fastdds {
namespace dds {

class ReplierQos
{
public:

    FASTDDS_EXPORTED_API ReplierQos() = default;

    FASTDDS_EXPORTED_API bool operator ==(
            const ReplierQos& b) const
    {
        return (this->service_name == b.service_name) &&
               (this->request_topic_name == b.request_topic_name) &&
               (this->reply_topic_name == b.reply_topic_name) &&
               (this->writer_qos == b.writer_qos) &&
               (this->reader_qos == b.reader_qos);
    }

    std::string service_name;

    std::string request_type;

    std::string reply_type;

    std::string request_topic_name;

    std::string reply_topic_name;

    DataWriterQos writer_qos;

    DataReaderQos reader_qos;
};

} // namespace dds
} // namespace fastdds
} // namespace eprosima

#endif // FASTDDS_DDS_DOMAIN_QOS__REPLIERQOS_HPP