Fast DDS  Version 3.6.1.0
Fast DDS
BlockedNetworkInterface.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__BLOCKEDNETWORKINTERFACE_HPP
20 #define FASTDDS_RTPS_TRANSPORT_NETWORK__BLOCKEDNETWORKINTERFACE_HPP
21 
22 #include <fastdds/rtps/transport/network/NetworkInterface.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 ~BlockedNetworkInterface() = default;
41 
43  FASTDDS_EXPORTED_API BlockedNetworkInterface(
44  const BlockedNetworkInterface& iface) = default;
45 
47  FASTDDS_EXPORTED_API BlockedNetworkInterface& operator =(
48  const BlockedNetworkInterface& iface) = default;
49 
51  FASTDDS_EXPORTED_API BlockedNetworkInterface(
52  BlockedNetworkInterface&& iface) = default;
53 
55  FASTDDS_EXPORTED_API BlockedNetworkInterface& operator =(
56  BlockedNetworkInterface&& iface) = default;
57 };
58 
59 } // namespace rtps
60 } // namespace fastdds
61 } // namespace eprosima
62 
63 #endif // FASTDDS_RTPS_TRANSPORT_NETWORK__BLOCKEDNETWORKINTERFACE_HPP
Structure extending NetworkInterface with information specific to blocked interfaces.
Definition: BlockedNetworkInterface.hpp:36
virtual FASTDDS_EXPORTED_API ~BlockedNetworkInterface()=default
Destructor.
FASTDDS_EXPORTED_API BlockedNetworkInterface & operator=(const BlockedNetworkInterface &iface)=default
Copy assignment.
FASTDDS_EXPORTED_API BlockedNetworkInterface(BlockedNetworkInterface &&iface)=default
Move constructor.
FASTDDS_EXPORTED_API BlockedNetworkInterface(const BlockedNetworkInterface &iface)=default
Copy constructor.
Structure encapsulating relevant network interface information.
Definition: NetworkInterface.hpp:38
FASTDDS_EXPORTED_API NetworkInterface(const std::string &name)
Constructor by name.