Fast DDS  Version 3.6.1.0
Fast DDS
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 
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 
32 {
33 public:
34 
38  FASTDDS_EXPORTED_API DomainParticipantExtendedQos()
39  {
40  }
41 
45  FASTDDS_EXPORTED_API virtual ~DomainParticipantExtendedQos()
46  {
47  }
48 
50  const DomainParticipantQos& qos)
51  {
52  static_cast<DomainParticipantQos&>(*this) = qos;
53 
54  return *this;
55  }
56 
58  const DomainParticipantExtendedQos& b) const
59  {
60  return (this->domainId_ == b.domainId()) &&
62  }
63 
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
Definition: DomainParticipantExtendedQos.hpp:32
virtual FASTDDS_EXPORTED_API ~DomainParticipantExtendedQos()
Destructor.
Definition: DomainParticipantExtendedQos.hpp:45
FASTDDS_EXPORTED_API DomainParticipantExtendedQos()
Constructor.
Definition: DomainParticipantExtendedQos.hpp:38
uint32_t & domainId()
Getter for domainId.
Definition: DomainParticipantExtendedQos.hpp:85
bool operator==(const DomainParticipantExtendedQos &b) const
Definition: DomainParticipantExtendedQos.hpp:57
DomainParticipantExtendedQos & operator=(const DomainParticipantQos &qos)
Definition: DomainParticipantExtendedQos.hpp:49
const uint32_t & domainId() const
Getter for domainId.
Definition: DomainParticipantExtendedQos.hpp:75
Class DomainParticipantQos, contains all the possible Qos that can be set for a determined participan...
Definition: DomainParticipantQos.hpp:42
virtual bool operator==(const DomainParticipantQos &b) const
Definition: DomainParticipantQos.hpp:78
Definition: DomainParticipant.hpp:46