30#include <fastcdr/Cdr.h>
32#include <fastcdr/exceptions/BadParamException.h>
33using namespace eprosima::fastcdr::exception;
37#define geometry_msgs_msg_Vector3_max_cdr_typesize 24ULL;
38#define geometry_msgs_msg_Transform_max_cdr_typesize 56ULL;
39#define geometry_msgs_msg_Quaternion_max_cdr_typesize 32ULL;
40#define geometry_msgs_msg_Vector3_max_key_cdr_typesize 0ULL;
41#define geometry_msgs_msg_Transform_max_key_cdr_typesize 0ULL;
42#define geometry_msgs_msg_Quaternion_max_key_cdr_typesize 0ULL;
62 m_translation = std::move(x.m_translation);
63 m_rotation = std::move(x.m_rotation);
78 m_translation = std::move(x.m_translation);
79 m_rotation = std::move(x.m_rotation);
97 size_t current_alignment)
99 static_cast<void>(current_alignment);
105 size_t current_alignment)
107 size_t initial_alignment = current_alignment;
111 return current_alignment - initial_alignment;
115 eprosima::fastcdr::Cdr& scdr)
const
117 scdr << m_translation;
122 eprosima::fastcdr::Cdr& dcdr)
124 dcdr >> m_translation;
135 m_translation = _translation;
145 m_translation = std::move(_translation);
154 return m_translation;
163 return m_translation;
172 m_rotation = _rotation;
182 m_rotation = std::move(_rotation);
204 size_t current_alignment)
206 static_cast<void>(current_alignment);
216 eprosima::fastcdr::Cdr& scdr)
const
#define geometry_msgs_msg_Transform_max_key_cdr_typesize
#define geometry_msgs_msg_Transform_max_cdr_typesize
This class represents the structure Quaternion defined by the user in the IDL file.
static eProsima_user_DllExport size_t getCdrSerializedSize(const geometry_msgs::msg::Quaternion &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
This class represents the structure Vector3 defined by the user in the IDL file.
static eProsima_user_DllExport size_t getCdrSerializedSize(const geometry_msgs::msg::Vector3 &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.