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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark.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__BENCHMARK_HPP
#define FAST_DDS_GENERATED__BENCHMARK_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_IDL_HPP
#define FAST_DDS_GENERATED__BENCHMARK_IDL_HPP

#include <cstdint>
#include <utility>
Expand Down Expand Up @@ -173,6 +173,6 @@ class BenchMark

};

#endif // _FAST_DDS_GENERATED_BENCHMARK_HPP_
#endif // _FAST_DDS_GENERATED_BENCHMARK_IDL_HPP_


8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/BenchmarkCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file BenchmarkCdrAux.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__BENCHMARKCDRAUX_HPP
#define FAST_DDS_GENERATED__BENCHMARKCDRAUX_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_IDLCDRAUX_HPP
#define FAST_DDS_GENERATED__BENCHMARK_IDLCDRAUX_HPP

#include "Benchmark.hpp"

Expand All @@ -42,5 +42,5 @@ eProsima_user_DllExport void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__BENCHMARKCDRAUX_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_IDLCDRAUX_HPP

11 changes: 7 additions & 4 deletions examples/cpp/benchmark/types/BenchmarkCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file BenchmarkCdrAux.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__BENCHMARKCDRAUX_IPP
#define FAST_DDS_GENERATED__BENCHMARKCDRAUX_IPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_IDLCDRAUX_IPP
#define FAST_DDS_GENERATED__BENCHMARK_IDLCDRAUX_IPP

#include "BenchmarkCdrAux.hpp"

Expand Down Expand Up @@ -81,6 +81,9 @@ eProsima_user_DllExport void deserialize(
eprosima::fastcdr::Cdr& cdr,
BenchMark& data)
{
data.index(0);


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 @@ -117,5 +120,5 @@ void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__BENCHMARKCDRAUX_IPP
#endif // FAST_DDS_GENERATED__BENCHMARK_IDLCDRAUX_IPP

2 changes: 1 addition & 1 deletion examples/cpp/benchmark/types/BenchmarkPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file BenchmarkPubSubTypes.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 "BenchmarkPubSubTypes.hpp"
Expand Down
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/BenchmarkPubSubTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @file BenchmarkPubSubTypes.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__BENCHMARK_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__BENCHMARK_PUBSUBTYPES_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_IDL_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__BENCHMARK_IDL_PUBSUBTYPES_HPP

#include <mutex>

Expand Down Expand Up @@ -118,5 +118,5 @@ class BenchMarkPubSubType : public eprosima::fastdds::dds::TopicDataType

};

#endif // FAST_DDS_GENERATED__BENCHMARK_PUBSUBTYPES_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_IDL_PUBSUBTYPES_HPP

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file BenchmarkTypeObjectSupport.cxx
* Source file containing the implementation to register the TypeObject representation 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).
*/

#include "BenchmarkTypeObjectSupport.hpp"
Expand Down
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/BenchmarkTypeObjectSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file BenchmarkTypeObjectSupport.hpp
* Header file containing the API required to register the TypeObject representation 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__BENCHMARK_TYPE_OBJECT_SUPPORT_HPP
#define FAST_DDS_GENERATED__BENCHMARK_TYPE_OBJECT_SUPPORT_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_IDL_TYPE_OBJECT_SUPPORT_HPP
#define FAST_DDS_GENERATED__BENCHMARK_IDL_TYPE_OBJECT_SUPPORT_HPP

#include <fastdds/dds/xtypes/type_representation/TypeObject.hpp>

Expand Down Expand Up @@ -53,4 +53,4 @@ eProsima_user_DllExport void register_BenchMark_type_identifier(

#endif // DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#endif // FAST_DDS_GENERATED__BENCHMARK_TYPE_OBJECT_SUPPORT_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_IDL_TYPE_OBJECT_SUPPORT_HPP
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_big.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_big.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__BENCHMARK_BIG_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_HPP

#include <array>
#include <cstdint>
Expand Down Expand Up @@ -221,6 +221,6 @@ class BenchMarkBig

};

#endif // _FAST_DDS_GENERATED_BENCHMARK_BIG_HPP_
#endif // _FAST_DDS_GENERATED_BENCHMARK_BIG_IDL_HPP_


8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_bigCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_bigCdrAux.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__BENCHMARK_BIGCDRAUX_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIGCDRAUX_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_BIG_IDLCDRAUX_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_IDLCDRAUX_HPP

#include "Benchmark_big.hpp"

Expand All @@ -42,5 +42,5 @@ eProsima_user_DllExport void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__BENCHMARK_BIGCDRAUX_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_BIG_IDLCDRAUX_HPP

13 changes: 9 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_bigCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_bigCdrAux.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__BENCHMARK_BIGCDRAUX_IPP
#define FAST_DDS_GENERATED__BENCHMARK_BIGCDRAUX_IPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_BIG_IDLCDRAUX_IPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_IDLCDRAUX_IPP

#include "Benchmark_bigCdrAux.hpp"

Expand Down Expand Up @@ -85,6 +85,11 @@ eProsima_user_DllExport void deserialize(
eprosima::fastcdr::Cdr& cdr,
BenchMarkBig& data)
{
data.data({0});

data.index(0);


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 @@ -127,5 +132,5 @@ void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__BENCHMARK_BIGCDRAUX_IPP
#endif // FAST_DDS_GENERATED__BENCHMARK_BIG_IDLCDRAUX_IPP

2 changes: 1 addition & 1 deletion examples/cpp/benchmark/types/Benchmark_bigPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file Benchmark_bigPubSubTypes.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 "Benchmark_bigPubSubTypes.hpp"
Expand Down
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_bigPubSubTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @file Benchmark_bigPubSubTypes.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__BENCHMARK_BIG_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_PUBSUBTYPES_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_PUBSUBTYPES_HPP

#include <mutex>

Expand Down Expand Up @@ -118,5 +118,5 @@ class BenchMarkBigPubSubType : public eprosima::fastdds::dds::TopicDataType

};

#endif // FAST_DDS_GENERATED__BENCHMARK_BIG_PUBSUBTYPES_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_PUBSUBTYPES_HPP

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file Benchmark_bigTypeObjectSupport.cxx
* Source file containing the implementation to register the TypeObject representation 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).
*/

#include "Benchmark_bigTypeObjectSupport.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_bigTypeObjectSupport.hpp
* Header file containing the API required to register the TypeObject representation 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__BENCHMARK_BIG_TYPE_OBJECT_SUPPORT_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_TYPE_OBJECT_SUPPORT_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_TYPE_OBJECT_SUPPORT_HPP
#define FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_TYPE_OBJECT_SUPPORT_HPP

#include <fastdds/dds/xtypes/type_representation/TypeObject.hpp>

Expand Down Expand Up @@ -53,4 +53,4 @@ eProsima_user_DllExport void register_BenchMarkBig_type_identifier(

#endif // DOXYGEN_SHOULD_SKIP_THIS_PUBLIC

#endif // FAST_DDS_GENERATED__BENCHMARK_BIG_TYPE_OBJECT_SUPPORT_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_BIG_IDL_TYPE_OBJECT_SUPPORT_HPP
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_medium.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_medium.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__BENCHMARK_MEDIUM_HPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUM_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDL_HPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDL_HPP

#include <array>
#include <cstdint>
Expand Down Expand Up @@ -221,6 +221,6 @@ class BenchMarkMedium

};

#endif // _FAST_DDS_GENERATED_BENCHMARK_MEDIUM_HPP_
#endif // _FAST_DDS_GENERATED_BENCHMARK_MEDIUM_IDL_HPP_


8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_mediumCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_mediumCdrAux.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__BENCHMARK_MEDIUMCDRAUX_HPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUMCDRAUX_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDLCDRAUX_HPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDLCDRAUX_HPP

#include "Benchmark_medium.hpp"

Expand All @@ -42,5 +42,5 @@ eProsima_user_DllExport void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__BENCHMARK_MEDIUMCDRAUX_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDLCDRAUX_HPP

13 changes: 9 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_mediumCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* @file Benchmark_mediumCdrAux.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__BENCHMARK_MEDIUMCDRAUX_IPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUMCDRAUX_IPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDLCDRAUX_IPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDLCDRAUX_IPP

#include "Benchmark_mediumCdrAux.hpp"

Expand Down Expand Up @@ -85,6 +85,11 @@ eProsima_user_DllExport void deserialize(
eprosima::fastcdr::Cdr& cdr,
BenchMarkMedium& data)
{
data.data({0});

data.index(0);


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 @@ -127,5 +132,5 @@ void serialize_key(
} // namespace fastcdr
} // namespace eprosima

#endif // FAST_DDS_GENERATED__BENCHMARK_MEDIUMCDRAUX_IPP
#endif // FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDLCDRAUX_IPP

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file Benchmark_mediumPubSubTypes.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 "Benchmark_mediumPubSubTypes.hpp"
Expand Down
8 changes: 4 additions & 4 deletions examples/cpp/benchmark/types/Benchmark_mediumPubSubTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @file Benchmark_mediumPubSubTypes.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__BENCHMARK_MEDIUM_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUM_PUBSUBTYPES_HPP
#ifndef FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDL_PUBSUBTYPES_HPP
#define FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDL_PUBSUBTYPES_HPP

#include <mutex>

Expand Down Expand Up @@ -118,5 +118,5 @@ class BenchMarkMediumPubSubType : public eprosima::fastdds::dds::TopicDataType

};

#endif // FAST_DDS_GENERATED__BENCHMARK_MEDIUM_PUBSUBTYPES_HPP
#endif // FAST_DDS_GENERATED__BENCHMARK_MEDIUM_IDL_PUBSUBTYPES_HPP

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file Benchmark_mediumTypeObjectSupport.cxx
* Source file containing the implementation to register the TypeObject representation 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).
*/

#include "Benchmark_mediumTypeObjectSupport.hpp"
Expand Down
Loading
Loading