Skip to content

Commit

Permalink
Regenerate types with Fast DDS Gen 4.0.3 (#202)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL authored Dec 18, 2024
1 parent ecc860d commit 88458dc
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 18 deletions.
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_completeCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ eProsima_user_DllExport void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const StructType& data);



eProsima_user_DllExport void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const CompleteTestType& data);
Expand Down
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_completeCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ void serialize_key(
}




template<>
eProsima_user_DllExport size_t calculate_serialized_size(
eprosima::fastcdr::CdrSizeCalculator& calculator,
Expand Down
5 changes: 3 additions & 2 deletions fastdds_python/test/types/test_completePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ bool StructTypePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down Expand Up @@ -212,8 +213,6 @@ void StructTypePubSubType::register_type_object_representation()
register_StructType_type_identifier(type_identifiers_);
}



CompleteTestTypePubSubType::CompleteTestTypePubSubType()
{
set_name("CompleteTestType");
Expand Down Expand Up @@ -259,6 +258,7 @@ bool CompleteTestTypePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down Expand Up @@ -440,6 +440,7 @@ bool KeyedCompleteTestTypePubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_completePubSubTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ class StructTypePubSubType : public eprosima::fastdds::dds::TopicDataType

};



/*!
* @brief This class represents the TopicDataType of the type CompleteTestType defined by the user in the IDL file.
* @ingroup test_complete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ namespace eprosima {
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_modulesCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ eProsima_user_DllExport void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const eprosima::test::StructType& data);



eProsima_user_DllExport void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const eprosima::test::CompleteTestType& data);
Expand Down
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_modulesCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ void serialize_key(
}




template<>
eProsima_user_DllExport size_t calculate_serialized_size(
eprosima::fastcdr::CdrSizeCalculator& calculator,
Expand Down
5 changes: 3 additions & 2 deletions fastdds_python/test/types/test_modulesPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ namespace eprosima {
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down Expand Up @@ -214,8 +215,6 @@ namespace eprosima {
register_StructType_type_identifier(type_identifiers_);
}



CompleteTestTypePubSubType::CompleteTestTypePubSubType()
{
set_name("eprosima::test::CompleteTestType");
Expand Down Expand Up @@ -261,6 +260,7 @@ namespace eprosima {
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down Expand Up @@ -442,6 +442,7 @@ namespace eprosima {
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_modulesPubSubTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ namespace eprosima

};



/*!
* @brief This class represents the TopicDataType of the type CompleteTestType defined by the user in the IDL file.
* @ingroup test_modules
Expand Down
2 changes: 0 additions & 2 deletions fastdds_python/test/types/test_modulesTypeObjectSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ eProsima_user_DllExport void register_Material_type_identifier(
eProsima_user_DllExport void register_StructType_type_identifier(
eprosima::fastdds::dds::xtypes::TypeIdentifierPair& type_ids);



/**
* @brief Register CompleteTestType related TypeIdentifier.
* Fully-descriptive TypeIdentifiers are directly registered.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down

0 comments on commit 88458dc

Please sign in to comment.