-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add customizable transport: ignore participant flags, non-builtin des…
…criptors and interface whitelist (#42) * Add whitelist interfaces to DDS Pipe Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Add transport and ignore participant flags configuration Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Disable builtin transport with UDP-only configuration Signed-off-by: Juan López Fernández <[email protected]> * Apply whitelist configuration to WAN participants Signed-off-by: Juan López Fernández <[email protected]> * Uncrustify Signed-off-by: Juan López Fernández <[email protected]> * Fix typo Signed-off-by: Juan López Fernández <[email protected]> * Remove repeated push_back Signed-off-by: Juan López Fernández <[email protected]> * Make create_descriptor method public Signed-off-by: Juan López Fernández <[email protected]> * Apply suggestions Signed-off-by: Juan López Fernández <[email protected]> --------- Signed-off-by: Raul Sanchez-Mateos <[email protected]> Signed-off-by: Juan López Fernández <[email protected]> Co-authored-by: Raul Sanchez-Mateos <[email protected]>
- Loading branch information
1 parent
1113dee
commit 56367b8
Showing
13 changed files
with
451 additions
and
21 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
ddspipe_core/include/ddspipe_core/types/dds/CustomTransport.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,43 @@ | ||
// Copyright 2023 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, | ||
// See the License for the specific language governing permissions and | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// limitations under the License. | ||
|
||
#pragma once | ||
|
||
namespace eprosima { | ||
namespace ddspipe { | ||
namespace core { | ||
namespace types { | ||
|
||
//! Different options for transport configuration | ||
enum class TransportDescriptors | ||
{ | ||
builtin, | ||
udp_only, | ||
shm_only | ||
}; | ||
|
||
//! Possible values for Ignore Participant Flags | ||
enum class IgnoreParticipantFlags | ||
{ | ||
no_filter, | ||
filter_different_host, | ||
filter_different_process, | ||
filter_same_process, | ||
filter_different_and_same_process | ||
}; | ||
|
||
} /* namespace types */ | ||
} /* namespace core */ | ||
} /* namespace ddspipe */ | ||
} /* namespace eprosima */ |
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
Oops, something went wrong.