Skip to content

Commit 12fb247

Browse files
committed
Refs #20129: update TypeInformationParameter constructor. Define xtypes namespace and DomainId_t
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
1 parent ceaa67b commit 12fb247

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

fastdds_python/src/swig/fastdds.i

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ namespace builtin {
108108
// Just declaring the namespace
109109

110110
} // namespace builtin
111+
112+
namespace xtypes {
113+
114+
// Just declaring the namespace
115+
116+
} // namespace xtypes
111117
} // namespace dds
112118
} // namespace fastdds
113119
} // namespace eprosima
@@ -450,6 +456,7 @@ namespace builtin {
450456
%include "fastdds/dds/core/UserAllocatedSequence.i"
451457
%include "fastdds/dds/core/LoanableSequence.i"
452458
%include "fastdds/dds/core/LoanableArray.i"
459+
%include "fastdds/dds/core/Types.i"
453460
%include "fastdds/dds/core/policy/ReaderDataLifecycleQosPolicy.i"
454461
%include "fastdds/dds/core/policy/WriterDataLifecycleQosPolicy.i"
455462
%include "fastdds/dds/core/status/LivelinessChangedStatus.i"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
15+
%{
16+
#include "fastdds/dds/core/Types.hpp"
17+
%}
18+
19+
%include "fastdds/dds/core/Types.hpp"

fastdds_python/src/swig/fastdds/dds/core/policy/QosPolicies.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
// Ignore overloaded constructor that have no effect on target language
4848
%ignore eprosima::fastdds::dds::TypeIdV1::TypeIdV1(TypeIdV1 &&);
4949
%ignore eprosima::fastdds::dds::TypeObjectV1::TypeObjectV1(TypeObjectV1 &&);
50-
%ignore eprosima::fastdds::dds::xtypes::TypeInformation::TypeInformation(TypeInformation &&);
50+
%ignore eprosima::fastdds::dds::xtypes::TypeInformationParameter::TypeInformationParameter(TypeInformationParameter &&);
5151

5252
namespace eprosima {
5353
namespace fastdds {

0 commit comments

Comments
 (0)