Skip to content

Commit 88458dc

Browse files
authored
Regenerate types with Fast DDS Gen 4.0.3 (#202)
Signed-off-by: Mario Dominguez <[email protected]>
1 parent ecc860d commit 88458dc

11 files changed

+8
-18
lines changed

fastdds_python/test/types/test_completeCdrAux.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ eProsima_user_DllExport void serialize_key(
4949
eprosima::fastcdr::Cdr& scdr,
5050
const StructType& data);
5151

52-
53-
5452
eProsima_user_DllExport void serialize_key(
5553
eprosima::fastcdr::Cdr& scdr,
5654
const CompleteTestType& data);

fastdds_python/test/types/test_completeCdrAux.ipp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ void serialize_key(
257257
}
258258

259259

260-
261-
262260
template<>
263261
eProsima_user_DllExport size_t calculate_serialized_size(
264262
eprosima::fastcdr::CdrSizeCalculator& calculator,

fastdds_python/test/types/test_completePubSubTypes.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ bool StructTypePubSubType::serialize(
7676
ser.serialize_encapsulation();
7777
// Serialize the object.
7878
ser << *p_type;
79+
ser.set_dds_cdr_options({0,0});
7980
}
8081
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
8182
{
@@ -212,8 +213,6 @@ void StructTypePubSubType::register_type_object_representation()
212213
register_StructType_type_identifier(type_identifiers_);
213214
}
214215

215-
216-
217216
CompleteTestTypePubSubType::CompleteTestTypePubSubType()
218217
{
219218
set_name("CompleteTestType");
@@ -259,6 +258,7 @@ bool CompleteTestTypePubSubType::serialize(
259258
ser.serialize_encapsulation();
260259
// Serialize the object.
261260
ser << *p_type;
261+
ser.set_dds_cdr_options({0,0});
262262
}
263263
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
264264
{
@@ -440,6 +440,7 @@ bool KeyedCompleteTestTypePubSubType::serialize(
440440
ser.serialize_encapsulation();
441441
// Serialize the object.
442442
ser << *p_type;
443+
ser.set_dds_cdr_options({0,0});
443444
}
444445
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
445446
{

fastdds_python/test/types/test_completePubSubTypes.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ class StructTypePubSubType : public eprosima::fastdds::dds::TopicDataType
120120

121121
};
122122

123-
124-
125123
/*!
126124
* @brief This class represents the TopicDataType of the type CompleteTestType defined by the user in the IDL file.
127125
* @ingroup test_complete

fastdds_python/test/types/test_included_modulesPubSubTypes.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ namespace eprosima {
7878
ser.serialize_encapsulation();
7979
// Serialize the object.
8080
ser << *p_type;
81+
ser.set_dds_cdr_options({0,0});
8182
}
8283
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
8384
{

fastdds_python/test/types/test_modulesCdrAux.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ eProsima_user_DllExport void serialize_key(
4545
eprosima::fastcdr::Cdr& scdr,
4646
const eprosima::test::StructType& data);
4747

48-
49-
5048
eProsima_user_DllExport void serialize_key(
5149
eprosima::fastcdr::Cdr& scdr,
5250
const eprosima::test::CompleteTestType& data);

fastdds_python/test/types/test_modulesCdrAux.ipp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ void serialize_key(
250250
}
251251

252252

253-
254-
255253
template<>
256254
eProsima_user_DllExport size_t calculate_serialized_size(
257255
eprosima::fastcdr::CdrSizeCalculator& calculator,

fastdds_python/test/types/test_modulesPubSubTypes.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ namespace eprosima {
7878
ser.serialize_encapsulation();
7979
// Serialize the object.
8080
ser << *p_type;
81+
ser.set_dds_cdr_options({0,0});
8182
}
8283
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
8384
{
@@ -214,8 +215,6 @@ namespace eprosima {
214215
register_StructType_type_identifier(type_identifiers_);
215216
}
216217

217-
218-
219218
CompleteTestTypePubSubType::CompleteTestTypePubSubType()
220219
{
221220
set_name("eprosima::test::CompleteTestType");
@@ -261,6 +260,7 @@ namespace eprosima {
261260
ser.serialize_encapsulation();
262261
// Serialize the object.
263262
ser << *p_type;
263+
ser.set_dds_cdr_options({0,0});
264264
}
265265
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
266266
{
@@ -442,6 +442,7 @@ namespace eprosima {
442442
ser.serialize_encapsulation();
443443
// Serialize the object.
444444
ser << *p_type;
445+
ser.set_dds_cdr_options({0,0});
445446
}
446447
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
447448
{

fastdds_python/test/types/test_modulesPubSubTypes.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ namespace eprosima
123123

124124
};
125125

126-
127-
128126
/*!
129127
* @brief This class represents the TopicDataType of the type CompleteTestType defined by the user in the IDL file.
130128
* @ingroup test_modules

fastdds_python/test/types/test_modulesTypeObjectSupport.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ eProsima_user_DllExport void register_Material_type_identifier(
7878
eProsima_user_DllExport void register_StructType_type_identifier(
7979
eprosima::fastdds::dds::xtypes::TypeIdentifierPair& type_ids);
8080

81-
82-
8381
/**
8482
* @brief Register CompleteTestType related TypeIdentifier.
8583
* Fully-descriptive TypeIdentifiers are directly registered.

0 commit comments

Comments
 (0)