Skip to content

Commit 9fba68d

Browse files
Regenerate types Fast-DDS-Gen v3.3.1 (#198)
Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
1 parent b9fad45 commit 9fba68d

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

fastdds_python/test/types/test_completePubSubTypes.cxx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ bool StructTypePubSubType::serialize(
8383
ser.serialize_encapsulation();
8484
// Serialize the object.
8585
ser << *p_type;
86+
#if FASTCDR_VERSION_MAJOR > 1
87+
ser.set_dds_cdr_options({0,0});
88+
#else
89+
ser.setDDSCdrOptions(0);
90+
#endif // FASTCDR_VERSION_MAJOR > 1
8691
}
8792
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
8893
{
@@ -279,6 +284,11 @@ bool CompleteTestTypePubSubType::serialize(
279284
ser.serialize_encapsulation();
280285
// Serialize the object.
281286
ser << *p_type;
287+
#if FASTCDR_VERSION_MAJOR > 1
288+
ser.set_dds_cdr_options({0,0});
289+
#else
290+
ser.setDDSCdrOptions(0);
291+
#endif // FASTCDR_VERSION_MAJOR > 1
282292
}
283293
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
284294
{
@@ -471,6 +481,11 @@ bool KeyedCompleteTestTypePubSubType::serialize(
471481
ser.serialize_encapsulation();
472482
// Serialize the object.
473483
ser << *p_type;
484+
#if FASTCDR_VERSION_MAJOR > 1
485+
ser.set_dds_cdr_options({0,0});
486+
#else
487+
ser.setDDSCdrOptions(0);
488+
#endif // FASTCDR_VERSION_MAJOR > 1
474489
}
475490
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
476491
{

fastdds_python/test/types/test_included_modulesPubSubTypes.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ namespace eprosima {
8585
ser.serialize_encapsulation();
8686
// Serialize the object.
8787
ser << *p_type;
88+
#if FASTCDR_VERSION_MAJOR > 1
89+
ser.set_dds_cdr_options({0,0});
90+
#else
91+
ser.setDDSCdrOptions(0);
92+
#endif // FASTCDR_VERSION_MAJOR > 1
8893
}
8994
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
9095
{

fastdds_python/test/types/test_modulesPubSubTypes.cxx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ namespace eprosima {
8585
ser.serialize_encapsulation();
8686
// Serialize the object.
8787
ser << *p_type;
88+
#if FASTCDR_VERSION_MAJOR > 1
89+
ser.set_dds_cdr_options({0,0});
90+
#else
91+
ser.setDDSCdrOptions(0);
92+
#endif // FASTCDR_VERSION_MAJOR > 1
8893
}
8994
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
9095
{
@@ -281,6 +286,11 @@ namespace eprosima {
281286
ser.serialize_encapsulation();
282287
// Serialize the object.
283288
ser << *p_type;
289+
#if FASTCDR_VERSION_MAJOR > 1
290+
ser.set_dds_cdr_options({0,0});
291+
#else
292+
ser.setDDSCdrOptions(0);
293+
#endif // FASTCDR_VERSION_MAJOR > 1
284294
}
285295
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
286296
{
@@ -473,6 +483,11 @@ namespace eprosima {
473483
ser.serialize_encapsulation();
474484
// Serialize the object.
475485
ser << *p_type;
486+
#if FASTCDR_VERSION_MAJOR > 1
487+
ser.set_dds_cdr_options({0,0});
488+
#else
489+
ser.setDDSCdrOptions(0);
490+
#endif // FASTCDR_VERSION_MAJOR > 1
476491
}
477492
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
478493
{

0 commit comments

Comments
 (0)