| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
LibrarySettings.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
19
20#ifndef FASTDDS__LIBRARY_SETTINGS_HPP
21#define FASTDDS__LIBRARY_SETTINGS_HPP
22
23 namespace eprosima {
24 namespace fastdds {
25
26 enum IntraprocessDeliveryType
27{
28 INTRAPROCESS_OFF,
29 INTRAPROCESS_USER_DATA_ONLY,
30 INTRAPROCESS_FULL
31};
32
37 class LibrarySettings
38{
39 public:
40
41 LibrarySettings()
42 {
43 }
44
45 virtual ~LibrarySettings()
46 {
47 }
48
49 bool operator ==(
50 const LibrarySettings& b) const
51 {
52 return (intraprocess_delivery == b.intraprocess_delivery);
53 }
54
55 IntraprocessDeliveryType intraprocess_delivery =
56#if HAVE_STRICT_REALTIME
57 INTRAPROCESS_OFF;
58#else
59 INTRAPROCESS_FULL;
60#endif // if HAVE_STRICT_REALTIME
61};
62
63} // namespace fastdds
64} // namespace eprosima
65
66#endif // FASTDDS__LIBRARY_SETTINGS_HPP
eprosima::fastdds::LibrarySettings::~LibrarySettings
virtual ~LibrarySettings()
Definition LibrarySettings.hpp:45
eprosima::fastdds::LibrarySettings::intraprocess_delivery
IntraprocessDeliveryType intraprocess_delivery
Definition LibrarySettings.hpp:55
eprosima::fastdds::LibrarySettings::LibrarySettings
LibrarySettings()
Definition LibrarySettings.hpp:41
eprosima::fastdds::LibrarySettings::operator==
bool operator==(const LibrarySettings &b) const
Definition LibrarySettings.hpp:49
eprosima::fastdds
eprosima::fastdds::IntraprocessDeliveryType
IntraprocessDeliveryType
Definition LibrarySettings.hpp:27
eprosima::fastdds::INTRAPROCESS_FULL
@ INTRAPROCESS_FULL
Definition LibrarySettings.hpp:30
eprosima::fastdds::INTRAPROCESS_OFF
@ INTRAPROCESS_OFF
Definition LibrarySettings.hpp:28
eprosima::fastdds::INTRAPROCESS_USER_DATA_ONLY
@ INTRAPROCESS_USER_DATA_ONLY
Definition LibrarySettings.hpp:29
eprosima
eProsima namespace.