-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
- Loading branch information
1 parent
c87c374
commit 19cffc9
Showing
96 changed files
with
1,227 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
include/fastdds/rtps/transport/network/AllowedNetworkInterface.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
/** | ||
* @file AllowedNetworkInterface.hpp | ||
*/ | ||
|
||
#ifndef _FASTDDS_RTPS_TRANSPORT_NETWORK_ALLOWEDNETWORKINTERFACE_HPP_ | ||
#define _FASTDDS_RTPS_TRANSPORT_NETWORK_ALLOWEDNETWORKINTERFACE_HPP_ | ||
|
||
#include <fastdds/rtps/transport/network/NetworkInterfaceWithFilter.hpp> | ||
#include <fastrtps/fastrtps_dll.h> | ||
|
||
namespace eprosima { | ||
namespace fastdds { | ||
namespace rtps { | ||
|
||
/** | ||
* Structure extending \c NetworkInterfaceWithFilter with information specific to allowed interfaces. | ||
* | ||
* @note When using this structure to interact with Fast-DDS, \c name is the only attribute the user needs to provide. | ||
* The rest of the attributes are internally filled, and are in fact ignored even if already provided by the user. | ||
*/ | ||
struct RTPS_DllAPI AllowedNetworkInterface : public NetworkInterfaceWithFilter | ||
{ | ||
using NetworkInterfaceWithFilter::NetworkInterfaceWithFilter; | ||
|
||
//! Destructor | ||
virtual ~AllowedNetworkInterface() = default; | ||
|
||
//! Copy constructor | ||
AllowedNetworkInterface( | ||
const AllowedNetworkInterface& iface) = default; | ||
|
||
//! Copy assignment | ||
AllowedNetworkInterface& operator =( | ||
const AllowedNetworkInterface& iface) = default; | ||
|
||
//! Move constructor | ||
AllowedNetworkInterface( | ||
AllowedNetworkInterface&& iface) = default; | ||
|
||
//! Move assignment | ||
AllowedNetworkInterface& operator =( | ||
AllowedNetworkInterface&& iface) = default; | ||
}; | ||
|
||
} // namespace rtps | ||
} // namespace fastdds | ||
} // namespace eprosima | ||
|
||
#endif // _FASTDDS_RTPS_TRANSPORT_NETWORK_ALLOWEDNETWORKINTERFACE_HPP_ |
63 changes: 63 additions & 0 deletions
63
include/fastdds/rtps/transport/network/BlockedNetworkInterface.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
/** | ||
* @file BlockedNetworkInterface.hpp | ||
*/ | ||
|
||
#ifndef _FASTDDS_RTPS_TRANSPORT_NETWORK_BLOCKEDNETWORKINTERFACE_HPP_ | ||
#define _FASTDDS_RTPS_TRANSPORT_NETWORK_BLOCKEDNETWORKINTERFACE_HPP_ | ||
|
||
#include <fastdds/rtps/transport/network/NetworkInterface.hpp> | ||
#include <fastrtps/fastrtps_dll.h> | ||
|
||
namespace eprosima { | ||
namespace fastdds { | ||
namespace rtps { | ||
|
||
/** | ||
* Structure extending \c NetworkInterface with information specific to blocked interfaces. | ||
* | ||
* @note When using this structure to interact with Fast-DDS, \c name is the only attribute the user needs to provide. | ||
* The rest of the attributes are internally filled, and are in fact ignored even if already provided by the user. | ||
*/ | ||
struct RTPS_DllAPI BlockedNetworkInterface : public NetworkInterface | ||
{ | ||
using NetworkInterface::NetworkInterface; | ||
|
||
//! Destructor | ||
virtual ~BlockedNetworkInterface() = default; | ||
|
||
//! Copy constructor | ||
BlockedNetworkInterface( | ||
const BlockedNetworkInterface& iface) = default; | ||
|
||
//! Copy assignment | ||
BlockedNetworkInterface& operator =( | ||
const BlockedNetworkInterface& iface) = default; | ||
|
||
//! Move constructor | ||
BlockedNetworkInterface( | ||
BlockedNetworkInterface&& iface) = default; | ||
|
||
//! Move assignment | ||
BlockedNetworkInterface& operator =( | ||
BlockedNetworkInterface&& iface) = default; | ||
}; | ||
|
||
} // namespace rtps | ||
} // namespace fastdds | ||
} // namespace eprosima | ||
|
||
#endif // _FASTDDS_RTPS_TRANSPORT_NETWORK_BLOCKEDNETWORKINTERFACE_HPP_ |
Oops, something went wrong.