| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
WriterDiscoveryStatus.hpp
1// Copyright 2018 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#ifndef FASTDDS_RTPS_WRITER__WRITERDISCOVERYSTATUS_HPP
19#define FASTDDS_RTPS_WRITER__WRITERDISCOVERYSTATUS_HPP
20
21#include <fastdds/fastdds_dll.hpp>
22
23 namespace eprosima {
24 namespace fastdds {
25 namespace rtps {
26
28// *INDENT-OFF* : Does not understand the #if correctly and ends up removing the ;
29// at the end of the enum, which does not build.
30#if defined(_WIN32)
31 enum class FASTDDS_EXPORTED_API WriterDiscoveryStatus
32#else
33 enum class WriterDiscoveryStatus
34#endif // if defined(_WIN32)
35{
36 DISCOVERED_WRITER,
37 CHANGED_QOS_WRITER,
38 REMOVED_WRITER,
39 IGNORED_WRITER
40};
41// *INDENT-ON*
42
43} // namespace rtps
44} // namespace fastdds
45} // namespace eprosima
46
47#endif // FASTDDS_RTPS_WRITER__WRITERDISCOVERYSTATUS_HPP
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::WriterDiscoveryStatus
WriterDiscoveryStatus
Enum WriterDiscoveryStatus, four different status for discovered writers.
Definition WriterDiscoveryStatus.hpp:35
eprosima::fastdds::rtps::WriterDiscoveryStatus::IGNORED_WRITER
@ IGNORED_WRITER
Definition WriterDiscoveryStatus.hpp:39
eprosima::fastdds::rtps::WriterDiscoveryStatus::REMOVED_WRITER
@ REMOVED_WRITER
Definition WriterDiscoveryStatus.hpp:38
eprosima::fastdds::rtps::WriterDiscoveryStatus::CHANGED_QOS_WRITER
@ CHANGED_QOS_WRITER
Definition WriterDiscoveryStatus.hpp:37
eprosima::fastdds::rtps::WriterDiscoveryStatus::DISCOVERED_WRITER
@ DISCOVERED_WRITER
Definition WriterDiscoveryStatus.hpp:36
eprosima::fastdds
eprosima
eProsima namespace.