Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions fastdds_python/test/types/test_complete.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file test_complete.hpp
* This header file contains the declaration of the described types in the IDL file.
*
* This file was generated by the tool fastddsgen (version: 4.0.6).
* This file was generated by the tool fastddsgen (version: 4.0.7).
*/

#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_HPP
#define FAST_DDS_GENERATED__TEST_COMPLETE_HPP
#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2_HPP
#define FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2_HPP

#include <array>
#include <cstdint>
Expand Down Expand Up @@ -7602,6 +7602,6 @@ class KeyedCompleteTestType

};

#endif // _FAST_DDS_GENERATED_TEST_COMPLETE_HPP_
#endif // _FAST_DDS_GENERATED_TEST_COMPLETE_IDL_EPROSIMA_TEST2_HPP_


2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_complete.i
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_complete.i
* This header file contains the SWIG interface of the described types in the IDL file.
*
* This file was generated by the tool fastddsgen (version: 4.0.6).
* This file was generated by the tool fastddsgen (version: 4.0.7).
*/

%module(moduleimport="if __import__('os').name == 'nt': import win32api; win32api.LoadLibrary('test_complete.dll')\nif __package__ or '.' in __name__:\n from . import _test_completeWrapper\nelse:\n import _test_completeWrapper") test_complete
Expand Down
8 changes: 4 additions & 4 deletions fastdds_python/test/types/test_completeCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file test_completeCdrAux.hpp
* This source file contains some definitions of CDR related functions.
*
* This file was generated by the tool fastddsgen (version: 4.0.6).
* This file was generated by the tool fastddsgen (version: 4.0.7).
*/

#ifndef FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_HPP
#define FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_HPP
#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2CDRAUX_HPP
#define FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2CDRAUX_HPP

#include "test_complete.hpp"

Expand Down Expand Up @@ -61,5 +61,5 @@ eProsima_user_DllExport void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_HPP
#endif // FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2CDRAUX_HPP

276 changes: 272 additions & 4 deletions fastdds_python/test/types/test_completeCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file test_completeCdrAux.ipp
* This source file contains some declarations of CDR related functions.
*
* This file was generated by the tool fastddsgen (version: 4.0.6).
* This file was generated by the tool fastddsgen (version: 4.0.7).
*/

#ifndef FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_IPP
#define FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_IPP
#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2CDRAUX_IPP
#define FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2CDRAUX_IPP

#include "test_completeCdrAux.hpp"

Expand Down Expand Up @@ -141,6 +141,38 @@ eProsima_user_DllExport void deserialize(
eprosima::fastcdr::Cdr& cdr,
StructType& data)
{
data.char_field(0);

data.uint8_field(0);

data.int16_field(0);

data.uint16_field(0);

data.int32_field(0);

data.uint32_field(0);

data.int64_field(0);

data.uint64_field(0);

data.float_field(0.0);

data.double_field(0.0);

data.bool_field(false);

data.string_field({});

data.fixed_string_field({});

data.enum_field(Color::RED);

data.enum2_field(Material::WOOD);



cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ?
eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 :
eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR,
Expand Down Expand Up @@ -602,6 +634,123 @@ eProsima_user_DllExport void deserialize(
eprosima::fastcdr::Cdr& cdr,
CompleteTestType& data)
{
data.char_field(0);

data.uint8_field(0);

data.int16_field(0);

data.uint16_field(0);

data.int32_field(0);

data.uint32_field(0);

data.int64_field(0);

data.uint64_field(0);

data.float_field(0.0);

data.double_field(0.0);

data.bool_field(false);

data.string_field({});

data.fixed_string_field({});

data.enum_field(Color::RED);

data.enum2_field(Material::WOOD);


data.char_opt_field().reset();

data.uint8_opt_field().reset();

data.int16_opt_field().reset();

data.uint16_opt_field().reset();

data.int32_opt_field().reset();

data.uint32_opt_field().reset();

data.int64_opt_field().reset();

data.uint64_opt_field().reset();

data.float_opt_field().reset();

data.double_opt_field().reset();

data.bool_opt_field().reset();

data.string_opt_field().reset();

data.enum_opt_field().reset();

data.enum2_opt_field().reset();

data.struct_opt_field().reset();

data.array_char_field({0});

data.array_uint8_field({0});

data.array_int16_field({0});

data.array_uint16_field({0});

data.array_int32_field({0});

data.array_uint32_field({0});

data.array_int64_field({0});

data.array_uint64_field({0});

data.array_float_field({0.0});

data.array_double_field({0.0});

data.array_bool_field({false});

data.array_enum_field({Color::RED});

data.array_enum2_field({Material::WOOD});































cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ?
eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 :
eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR,
Expand Down Expand Up @@ -1514,6 +1663,125 @@ eProsima_user_DllExport void deserialize(
eprosima::fastcdr::Cdr& cdr,
KeyedCompleteTestType& data)
{
data.id(0);

data.char_field(0);

data.uint8_field(0);

data.int16_field(0);

data.uint16_field(0);

data.int32_field(0);

data.uint32_field(0);

data.int64_field(0);

data.uint64_field(0);

data.float_field(0.0);

data.double_field(0.0);

data.bool_field(false);

data.string_field({});

data.fixed_string_field({});

data.enum_field(Color::RED);

data.enum2_field(Material::WOOD);


data.char_opt_field().reset();

data.uint8_opt_field().reset();

data.int16_opt_field().reset();

data.uint16_opt_field().reset();

data.int32_opt_field().reset();

data.uint32_opt_field().reset();

data.int64_opt_field().reset();

data.uint64_opt_field().reset();

data.float_opt_field().reset();

data.double_opt_field().reset();

data.bool_opt_field().reset();

data.string_opt_field().reset();

data.enum_opt_field().reset();

data.enum2_opt_field().reset();

data.struct_opt_field().reset();

data.array_char_field({0});

data.array_uint8_field({0});

data.array_int16_field({0});

data.array_uint16_field({0});

data.array_int32_field({0});

data.array_uint32_field({0});

data.array_int64_field({0});

data.array_uint64_field({0});

data.array_float_field({0.0});

data.array_double_field({0.0});

data.array_bool_field({false});

data.array_enum_field({Color::RED});

data.array_enum2_field({Material::WOOD});































cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ?
eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 :
eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR,
Expand Down Expand Up @@ -1979,5 +2247,5 @@ void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__TEST_COMPLETECDRAUX_IPP
#endif // FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2CDRAUX_IPP

2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_completePubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_completePubSubTypes.cpp
* This header file contains the implementation of the serialization functions.
*
* This file was generated by the tool fastddsgen (version: 4.0.6).
* This file was generated by the tool fastddsgen (version: 4.0.7).
*/

#include "test_completePubSubTypes.hpp"
Expand Down
8 changes: 4 additions & 4 deletions fastdds_python/test/types/test_completePubSubTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @file test_completePubSubTypes.hpp
* This header file contains the declaration of the serialization functions.
*
* This file was generated by the tool fastddsgen (version: 4.0.6).
* This file was generated by the tool fastddsgen (version: 4.0.7).
*/


#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__TEST_COMPLETE_PUBSUBTYPES_HPP
#ifndef FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2_PUBSUBTYPES_HPP

#include <mutex>

Expand Down Expand Up @@ -280,5 +280,5 @@ class KeyedCompleteTestTypePubSubType : public eprosima::fastdds::dds::TopicData

};

#endif // FAST_DDS_GENERATED__TEST_COMPLETE_PUBSUBTYPES_HPP
#endif // FAST_DDS_GENERATED__TEST_COMPLETE_IDL_EPROSIMA_TEST2_PUBSUBTYPES_HPP

Loading
Loading