| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
DomainParticipantExtendedQos.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
20#ifndef FASTDDS_DDS_DOMAIN_QOS__PARTICIPANTEXTENDEDQOS_HPP
21#define FASTDDS_DDS_DOMAIN_QOS__PARTICIPANTEXTENDEDQOS_HPP
22
23#include <fastdds/fastdds_dll.hpp>
24
25#include "DomainParticipantQos.hpp"
26
27 namespace eprosima {
28 namespace fastdds {
29 namespace dds {
30
31 class DomainParticipantExtendedQos : public DomainParticipantQos
32{
33 public:
34
38 FASTDDS_EXPORTED_API DomainParticipantExtendedQos()
39 {
40 }
41
45 FASTDDS_EXPORTED_API virtual ~DomainParticipantExtendedQos()
46 {
47 }
48
49 DomainParticipantExtendedQos& operator =(
50 const DomainParticipantQos& qos)
51 {
52 static_cast<DomainParticipantQos&>(*this) = qos;
53
54 return *this;
55 }
56
57 bool operator ==(
58 const DomainParticipantExtendedQos& b) const
59 {
60 return (this->domainId_ == b.domainId()) &&
61 (DomainParticipantQos::operator ==(b));
62 }
63
64 bool operator ==(
65 const DomainParticipantQos& b) const override
66 {
67 return (DomainParticipantQos::operator ==(b));
68 }
69
75 const uint32_t& domainId() const
76 {
77 return domainId_;
78 }
79
85 uint32_t& domainId()
86 {
87 return domainId_;
88 }
89
90 private:
91
93 uint32_t domainId_ = 0;
94
95};
96
97
98} // namespace dds
99} // namespace fastdds
100} // namespace eprosima
101
102#endif // FASTDDS_DDS_DOMAIN_QOS__PARTICIPANTEXTENDEDQOS_HPP
eprosima::fastdds::dds::DomainParticipantExtendedQos::~DomainParticipantExtendedQos
virtual FASTDDS_EXPORTED_API ~DomainParticipantExtendedQos()
Destructor.
Definition DomainParticipantExtendedQos.hpp:45
eprosima::fastdds::dds::DomainParticipantExtendedQos::domainId
const uint32_t & domainId() const
Getter for domainId.
Definition DomainParticipantExtendedQos.hpp:75
eprosima::fastdds::dds::DomainParticipantExtendedQos::DomainParticipantExtendedQos
FASTDDS_EXPORTED_API DomainParticipantExtendedQos()
Constructor.
Definition DomainParticipantExtendedQos.hpp:38
eprosima::fastdds::dds::DomainParticipantExtendedQos::operator==
bool operator==(const DomainParticipantExtendedQos &b) const
Definition DomainParticipantExtendedQos.hpp:57
eprosima::fastdds::dds::DomainParticipantExtendedQos::operator=
DomainParticipantExtendedQos & operator=(const DomainParticipantQos &qos)
Definition DomainParticipantExtendedQos.hpp:49
eprosima::fastdds::dds::DomainParticipantExtendedQos::domainId
uint32_t & domainId()
Getter for domainId.
Definition DomainParticipantExtendedQos.hpp:85
eprosima::fastdds::dds::DomainParticipantQos::operator==
virtual bool operator==(const DomainParticipantQos &b) const
Definition DomainParticipantQos.hpp:78
eprosima::fastdds::dds::DomainParticipantQos::DomainParticipantQos
FASTDDS_EXPORTED_API DomainParticipantQos()
Constructor.
Definition DomainParticipantQos.hpp:57
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds
eprosima
eProsima namespace.