Fast DDS  Version 3.6.1.0
Fast DDS
AllowedNetworkInterface.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 #ifndef FASTDDS_RTPS_TRANSPORT_NETWORK__ALLOWEDNETWORKINTERFACE_HPP
20 #define FASTDDS_RTPS_TRANSPORT_NETWORK__ALLOWEDNETWORKINTERFACE_HPP
21 
22 #include <fastdds/rtps/transport/network/NetworkInterfaceWithFilter.hpp>
23 #include <fastdds/fastdds_dll.hpp>
24 
25 namespace eprosima {
26 namespace fastdds {
27 namespace rtps {
28 
36 {
38 
40  virtual FASTDDS_EXPORTED_API ~AllowedNetworkInterface() = default;
41 
43  FASTDDS_EXPORTED_API AllowedNetworkInterface(
44  const AllowedNetworkInterface& iface) = default;
45 
47  FASTDDS_EXPORTED_API AllowedNetworkInterface& operator =(
48  const AllowedNetworkInterface& iface) = default;
49 
51  FASTDDS_EXPORTED_API AllowedNetworkInterface(
52  AllowedNetworkInterface&& iface) = default;
53 
55  FASTDDS_EXPORTED_API AllowedNetworkInterface& operator =(
56  AllowedNetworkInterface&& iface) = default;
57 };
58 
59 } // namespace rtps
60 } // namespace fastdds
61 } // namespace eprosima
62 
63 #endif // FASTDDS_RTPS_TRANSPORT_NETWORK__ALLOWEDNETWORKINTERFACE_HPP
Structure extending NetworkInterfaceWithFilter with information specific to allowed interfaces.
Definition: AllowedNetworkInterface.hpp:36
FASTDDS_EXPORTED_API AllowedNetworkInterface & operator=(const AllowedNetworkInterface &iface)=default
Copy assignment.
virtual FASTDDS_EXPORTED_API ~AllowedNetworkInterface()=default
Destructor.
FASTDDS_EXPORTED_API AllowedNetworkInterface(const AllowedNetworkInterface &iface)=default
Copy constructor.
FASTDDS_EXPORTED_API AllowedNetworkInterface(AllowedNetworkInterface &&iface)=default
Move constructor.
Structure extending NetworkInterface with netmask filter information.
Definition: NetworkInterfaceWithFilter.hpp:39
FASTDDS_EXPORTED_API NetworkInterfaceWithFilter(const std::string &name, NetmaskFilterKind netmask_filter)
Constructor by name and netmask filter.