diff --git a/fastdds_python/test/types/test_completeCdrAux.hpp b/fastdds_python/test/types/test_completeCdrAux.hpp index 170e7671..78b6d2a0 100644 --- a/fastdds_python/test/types/test_completeCdrAux.hpp +++ b/fastdds_python/test/types/test_completeCdrAux.hpp @@ -26,17 +26,15 @@ constexpr uint32_t CompleteTestType_max_cdr_typesize {41752UL}; constexpr uint32_t CompleteTestType_max_key_cdr_typesize {0UL}; - constexpr uint32_t StructType_max_cdr_typesize {328UL}; constexpr uint32_t StructType_max_key_cdr_typesize {0UL}; - - - + + constexpr uint32_t KeyedCompleteTestType_max_cdr_typesize {41752UL}; constexpr uint32_t KeyedCompleteTestType_max_key_cdr_typesize {4UL}; - + namespace eprosima { namespace fastcdr { diff --git a/fastdds_python/test/types/test_completePubSubTypes.h b/fastdds_python/test/types/test_completePubSubTypes.h index affb9ea0..9a9b2b92 100644 --- a/fastdds_python/test/types/test_completePubSubTypes.h +++ b/fastdds_python/test/types/test_completePubSubTypes.h @@ -102,6 +102,13 @@ class StructTypePubSubType : public eprosima::fastdds::dds::TopicDataType return false; } + eProsima_user_DllExport inline bool is_plain( + eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override + { + static_cast(data_representation); + return false; + } + #endif // TOPIC_DATA_TYPE_API_HAS_IS_PLAIN #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE @@ -185,6 +192,13 @@ class CompleteTestTypePubSubType : public eprosima::fastdds::dds::TopicDataType return false; } + eProsima_user_DllExport inline bool is_plain( + eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override + { + static_cast(data_representation); + return false; + } + #endif // TOPIC_DATA_TYPE_API_HAS_IS_PLAIN #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE @@ -266,6 +280,13 @@ class KeyedCompleteTestTypePubSubType : public eprosima::fastdds::dds::TopicData return false; } + eProsima_user_DllExport inline bool is_plain( + eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override + { + static_cast(data_representation); + return false; + } + #endif // TOPIC_DATA_TYPE_API_HAS_IS_PLAIN #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp b/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp index 37b13815..cf39bf78 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp @@ -26,7 +26,7 @@ constexpr uint32_t HelloWorld_max_cdr_typesize {268UL}; constexpr uint32_t HelloWorld_max_key_cdr_typesize {0UL}; - + namespace eprosima { namespace fastcdr { diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h b/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h index 5b325dd1..f6c88d5c 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h @@ -102,6 +102,13 @@ class HelloWorldPubSubType : public eprosima::fastdds::dds::TopicDataType return false; } + eProsima_user_DllExport inline bool is_plain( + eprosima::fastdds::dds::DataRepresentationId_t data_representation) const override + { + static_cast(data_representation); + return false; + } + #endif // TOPIC_DATA_TYPE_API_HAS_IS_PLAIN #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE