| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
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
18
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
35 struct AllowedNetworkInterface : public NetworkInterfaceWithFilter
36{
37 using NetworkInterfaceWithFilter::NetworkInterfaceWithFilter;
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
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::AllowedNetworkInterface::~AllowedNetworkInterface
virtual FASTDDS_EXPORTED_API ~AllowedNetworkInterface()=default
Destructor.
eprosima::fastdds::rtps::AllowedNetworkInterface::AllowedNetworkInterface
FASTDDS_EXPORTED_API AllowedNetworkInterface(const AllowedNetworkInterface &iface)=default
Copy constructor.
eprosima::fastdds::rtps::AllowedNetworkInterface::NetworkInterfaceWithFilter
FASTDDS_EXPORTED_API NetworkInterfaceWithFilter(const std::string &name, NetmaskFilterKind netmask_filter)
Constructor by name and netmask filter.
eprosima::fastdds::rtps::AllowedNetworkInterface::AllowedNetworkInterface
FASTDDS_EXPORTED_API AllowedNetworkInterface(AllowedNetworkInterface &&iface)=default
Move constructor.
eprosima::fastdds::rtps::AllowedNetworkInterface::operator=
FASTDDS_EXPORTED_API AllowedNetworkInterface & operator=(const AllowedNetworkInterface &iface)=default
Copy assignment.
eprosima::fastdds::rtps::NetworkInterfaceWithFilter::NetworkInterfaceWithFilter
FASTDDS_EXPORTED_API NetworkInterfaceWithFilter(const std::string &name, NetmaskFilterKind netmask_filter)
Constructor by name and netmask filter.