Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
ParticipantDiscoveryInfo.hpp
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
19
20
#ifndef FASTDDS_RTPS_PARTICIPANT__PARTICIPANTDISCOVERYINFO_HPP
21
#define FASTDDS_RTPS_PARTICIPANT__PARTICIPANTDISCOVERYINFO_HPP
22
23
#include <fastdds/fastdds_dll.hpp>
24
#include <fastdds/rtps/common/Guid.hpp>
25
namespace
eprosima
{
26
namespace
fastdds
{
27
namespace
rtps
{
28
30
// *INDENT-OFF* eduponz: Does not understand the #if correctly and ends up removing the ;
31
// at the end of the enum, which does not build.
32
#if defined(_WIN32)
33
enum class
FASTDDS_EXPORTED_API
ParticipantDiscoveryStatus
34
#else
35
enum class
ParticipantDiscoveryStatus
36
#endif
// if defined(_WIN32)
37
{
38
DISCOVERED_PARTICIPANT
,
39
CHANGED_QOS_PARTICIPANT
,
40
REMOVED_PARTICIPANT
,
41
DROPPED_PARTICIPANT
,
42
IGNORED_PARTICIPANT
43
};
44
// *INDENT-ON*
45
46
#if HAVE_SECURITY
47
struct
ParticipantAuthenticationInfo
48
{
49
enum
FASTDDS_EXPORTED_API AUTHENTICATION_STATUS
50
{
51
AUTHORIZED_PARTICIPANT,
52
UNAUTHORIZED_PARTICIPANT
53
};
54
55
ParticipantAuthenticationInfo()
56
: status(UNAUTHORIZED_PARTICIPANT)
57
{
58
}
59
60
~ParticipantAuthenticationInfo()
61
{
62
}
63
65
AUTHENTICATION_STATUS status;
66
68
GUID_t guid;
69
};
70
71
inline
bool
operator ==
(
72
const
ParticipantAuthenticationInfo& l,
73
const
ParticipantAuthenticationInfo& r)
74
{
75
return
l.status == r.status &&
76
l.guid == r.guid;
77
}
78
79
#endif
// if HAVE_SECURITY
80
81
}
// namespace rtps
82
}
// namespace fastdds
83
}
// namespace eprosima
84
85
#endif
// FASTDDS_RTPS_PARTICIPANT__PARTICIPANTDISCOVERYINFO_HPP
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::operator==
bool operator==(const BuiltinTransportsOptions &bto1, const BuiltinTransportsOptions &bto2)
Equal to operator.
Definition
BuiltinTransports.hpp:79
eprosima::fastdds::rtps::ParticipantDiscoveryStatus
ParticipantDiscoveryStatus
Enum ParticipantDiscoveryStatus, four different status for discovered participants.
Definition
ParticipantDiscoveryInfo.hpp:37
eprosima::fastdds::rtps::ParticipantDiscoveryStatus::REMOVED_PARTICIPANT
@ REMOVED_PARTICIPANT
Definition
ParticipantDiscoveryInfo.hpp:40
eprosima::fastdds::rtps::ParticipantDiscoveryStatus::DROPPED_PARTICIPANT
@ DROPPED_PARTICIPANT
Definition
ParticipantDiscoveryInfo.hpp:41
eprosima::fastdds::rtps::ParticipantDiscoveryStatus::IGNORED_PARTICIPANT
@ IGNORED_PARTICIPANT
Definition
ParticipantDiscoveryInfo.hpp:42
eprosima::fastdds::rtps::ParticipantDiscoveryStatus::CHANGED_QOS_PARTICIPANT
@ CHANGED_QOS_PARTICIPANT
Definition
ParticipantDiscoveryInfo.hpp:39
eprosima::fastdds::rtps::ParticipantDiscoveryStatus::DISCOVERED_PARTICIPANT
@ DISCOVERED_PARTICIPANT
Definition
ParticipantDiscoveryInfo.hpp:38
eprosima::fastdds
eprosima
eProsima namespace.
include
fastdds
rtps
participant
ParticipantDiscoveryInfo.hpp
Generated on
for