Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
ParticipantAttributes.h
1// Copyright 2016 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 PARTICIPANTATTRIBUTES_H_
21#define PARTICIPANTATTRIBUTES_H_
22
23#include <fastdds/rtps/attributes/RTPSParticipantAttributes.h>
24
25namespace eprosima {
26namespace fastrtps {
27
35{
36public:
37
39 uint32_t domainId = 0;
40
42 rtps::RTPSParticipantAttributes rtps;
43
47
49 {
50 }
51
53 const ParticipantAttributes& b) const
54 {
55 return (this->domainId == b.domainId && this->rtps == b.rtps);
56 }
57
58};
59
60} // namespace fastrtps
61} // namespace eprosima
62
63#endif /* PARTICIPANTATTRIBUTES_H_ */
Class ParticipantAttributes, used by the user to define the attributes of a Participant.
Definition ParticipantAttributes.h:35
uint32_t domainId
DomainId to be used by the associated RTPSParticipant (default: 0)
Definition ParticipantAttributes.h:39
bool operator==(const ParticipantAttributes &b) const
Definition ParticipantAttributes.h:52
rtps::RTPSParticipantAttributes rtps
Attributes of the associated RTPSParticipant.
Definition ParticipantAttributes.h:42
ParticipantAttributes()
Definition ParticipantAttributes.h:44
virtual ~ParticipantAttributes()
Definition ParticipantAttributes.h:48
eProsima namespace.
Definition LibrarySettingsAttributes.h:23