From af0df0169b5369981abc8132f0b4f8b7d2f9d3a6 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Tue, 31 Oct 2023 16:15:41 +0100 Subject: [PATCH] Refs #19645: Support ThreadSettings Signed-off-by: EduPonz --- fastdds_python/src/swig/fastdds.i | 1 + .../fastdds/rtps/attributes/ThreadSettings.i | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 fastdds_python/src/swig/fastdds/rtps/attributes/ThreadSettings.i diff --git a/fastdds_python/src/swig/fastdds.i b/fastdds_python/src/swig/fastdds.i index 4cfccbe6..9e5275f2 100644 --- a/fastdds_python/src/swig/fastdds.i +++ b/fastdds_python/src/swig/fastdds.i @@ -141,6 +141,7 @@ namespace builtin { %include "fastrtps/utils/collections/ResourceLimitedContainerConfig.i" %include "fastrtps/utils/collections/ResourceLimitedVector.i" %include "fastdds/rtps/attributes/RTPSParticipantAllocationAttributes.i" +%include "fastdds/rtps/attributes/ThreadSettings.i" %include "fastdds/rtps/flowcontrol/FlowControllerSchedulerPolicy.i" %include "fastdds/rtps/flowcontrol/FlowControllerDescriptor.i" %include "fastdds/rtps/attributes/PropertyPolicy.i" diff --git a/fastdds_python/src/swig/fastdds/rtps/attributes/ThreadSettings.i b/fastdds_python/src/swig/fastdds/rtps/attributes/ThreadSettings.i new file mode 100644 index 00000000..1a86e3a2 --- /dev/null +++ b/fastdds_python/src/swig/fastdds/rtps/attributes/ThreadSettings.i @@ -0,0 +1,19 @@ +// 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, +// 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. + +%{ +#include "fastdds/rtps/attributes/ThreadSettings.hpp" +%} + +%include "fastdds/rtps/attributes/ThreadSettings.hpp"