1616 * @file BenchmarkPubSubTypes.cpp
1717 * This header file contains the implementation of the serialization functions.
1818 *
19- * This file was generated by the tool fastddsgen.
19+ * This file was generated by the tool fastddsgen (version: 4.1.0) .
2020 */
2121
2222#include " BenchmarkPubSubTypes.hpp"
@@ -56,7 +56,7 @@ bool BenchMarkPubSubType::serialize(
5656 SerializedPayload_t& payload,
5757 DataRepresentationId_t data_representation)
5858{
59- const BenchMark* p_type = static_cast <const BenchMark*>(data);
59+ const :: BenchMark* p_type = static_cast <const :: BenchMark*>(data);
6060
6161 // Object that manages the raw buffer.
6262 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.max_size );
@@ -95,7 +95,7 @@ bool BenchMarkPubSubType::deserialize(
9595 try
9696 {
9797 // Convert DATA to pointer of your type
98- BenchMark* p_type = static_cast <BenchMark*>(data);
98+ :: BenchMark* p_type = static_cast <:: BenchMark*>(data);
9999
100100 // Object that manages the raw buffer.
101101 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.length );
@@ -129,7 +129,7 @@ uint32_t BenchMarkPubSubType::calculate_serialized_size(
129129 eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2);
130130 size_t current_alignment {0 };
131131 return static_cast <uint32_t >(calculator.calculate_serialized_size (
132- *static_cast <const BenchMark*>(data), current_alignment)) +
132+ *static_cast <const :: BenchMark*>(data), current_alignment)) +
133133 4u /* encapsulation*/ ;
134134 }
135135 catch (eprosima::fastcdr::exception::Exception& /* exception*/ )
@@ -140,13 +140,13 @@ uint32_t BenchMarkPubSubType::calculate_serialized_size(
140140
141141void * BenchMarkPubSubType::create_data ()
142142{
143- return reinterpret_cast <void *>(new BenchMark ());
143+ return reinterpret_cast <void *>(new :: BenchMark ());
144144}
145145
146146void BenchMarkPubSubType::delete_data (
147147 void * data)
148148{
149- delete (reinterpret_cast <BenchMark*>(data));
149+ delete (reinterpret_cast <:: BenchMark*>(data));
150150}
151151
152152bool BenchMarkPubSubType::compute_key (
@@ -159,7 +159,7 @@ bool BenchMarkPubSubType::compute_key(
159159 return false ;
160160 }
161161
162- BenchMark data;
162+ :: BenchMark data;
163163 if (deserialize (payload, static_cast <void *>(&data)))
164164 {
165165 return compute_key (static_cast <void *>(&data), handle, force_md5);
@@ -178,7 +178,7 @@ bool BenchMarkPubSubType::compute_key(
178178 return false ;
179179 }
180180
181- const BenchMark* p_type = static_cast <const BenchMark*>(data);
181+ const :: BenchMark* p_type = static_cast <const :: BenchMark*>(data);
182182
183183 // Object that manages the raw buffer.
184184 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(key_buffer_),
0 commit comments