37#include <fastcdr/Cdr.h>
41#include <fastcdr/exceptions/BadParamException.h>
43using namespace eprosima::fastcdr::exception;
54#define geometry_msgs_msg_Vector3_max_cdr_typesize 24ULL;
58#define geometry_msgs_msg_Transform_max_cdr_typesize 56ULL;
62#define geometry_msgs_msg_Quaternion_max_cdr_typesize 32ULL;
65#define geometry_msgs_msg_Vector3_max_key_cdr_typesize 0ULL;
69#define geometry_msgs_msg_Transform_max_key_cdr_typesize 0ULL;
73#define geometry_msgs_msg_Quaternion_max_key_cdr_typesize 0ULL;
107 m_translation = std::move(x.m_translation);
108 m_rotation = std::move(x.m_rotation);
128 m_translation = std::move(x.m_translation);
129 m_rotation = std::move(x.m_rotation);
183 eprosima::fastcdr::Cdr& scdr)
const
185 scdr << m_translation;
193 eprosima::fastcdr::Cdr& dcdr)
195 dcdr >> m_translation;
208 m_translation = _translation;
221 m_translation = std::move(_translation);
233 return m_translation;
244 return m_translation;
256 m_rotation = _rotation;
269 m_rotation = std::move(_rotation);
316 eprosima::fastcdr::Cdr& scdr)
const
return current_alignment initial_alignment
#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.
此类表示用户在 IDL 文件中定义的 Vector3 结构。 <>
static eProsima_user_DllExport size_t getCdrSerializedSize(const geometry_msgs::msg::Vector3 &data, size_t current_alignment=0)
此函数返回数据的序列化大小 取决于缓冲区对齐。