Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
MatchingInfo.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
18
19
#ifndef FASTDDS_RTPS_COMMON__MATCHINGINFO_HPP
20
#define FASTDDS_RTPS_COMMON__MATCHINGINFO_HPP
21
22
#include <fastdds/rtps/common/Guid.hpp>
23
24
namespace
eprosima
{
25
namespace
fastdds
{
26
namespace
rtps
{
27
32
#if defined(_WIN32)
33
enum
FASTDDS_EXPORTED_API
MatchingStatus
34
{
35
#else
36
enum
MatchingStatus
37
{
38
#endif
// if defined(_WIN32)
39
MATCHED_MATCHING
,
40
REMOVED_MATCHING
41
};
42
47
class
FASTDDS_EXPORTED_API
MatchingInfo
48
{
49
public
:
50
52
MatchingInfo
()
53
:
status
(
MATCHED_MATCHING
)
54
{
55
}
56
61
MatchingInfo
(
62
MatchingStatus
stat,
63
const
GUID_t
& guid)
64
:
status
(stat)
65
,
remoteEndpointGuid
(guid)
66
{
67
}
68
69
~MatchingInfo
()
70
{
71
}
72
74
MatchingStatus
status
;
76
GUID_t
remoteEndpointGuid
;
77
};
78
}
// namespace rtps
79
}
// namespace fastdds
80
}
// namespace eprosima
81
82
#endif
// FASTDDS_RTPS_COMMON__MATCHINGINFO_HPP
eprosima::fastdds::rtps::MatchingInfo::remoteEndpointGuid
GUID_t remoteEndpointGuid
Remote endpoint GUID.
Definition
MatchingInfo.hpp:76
eprosima::fastdds::rtps::MatchingInfo::status
MatchingStatus status
Status.
Definition
MatchingInfo.hpp:74
eprosima::fastdds::rtps::MatchingInfo::~MatchingInfo
~MatchingInfo()
Definition
MatchingInfo.hpp:69
eprosima::fastdds::rtps::MatchingInfo::MatchingInfo
MatchingInfo()
Default constructor.
Definition
MatchingInfo.hpp:52
eprosima::fastdds::rtps::MatchingInfo::MatchingInfo
MatchingInfo(MatchingStatus stat, const GUID_t &guid)
Definition
MatchingInfo.hpp:61
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::MatchingStatus
MatchingStatus
Indicates whether the matched publication/subscription method of the PublisherListener or SubscriberL...
Definition
MatchingInfo.hpp:37
eprosima::fastdds::rtps::MATCHED_MATCHING
@ MATCHED_MATCHING
MATCHED_MATCHING, new publisher/subscriber found.
Definition
MatchingInfo.hpp:39
eprosima::fastdds::rtps::REMOVED_MATCHING
@ REMOVED_MATCHING
REMOVED_MATCHING, publisher/subscriber removed.
Definition
MatchingInfo.hpp:40
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::GUID_t
Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
Definition
Guid.hpp:40
include
fastdds
rtps
common
MatchingInfo.hpp
Generated on
for