32#include <fastcdr/Cdr.h>
35#include <fastcdr/exceptions/BadParamException.h>
36using namespace eprosima::fastcdr::exception;
42#define geometry_msgs_msg_Point32_max_cdr_typesize 12ULL;
44#define geometry_msgs_msg_Point32_max_key_cdr_typesize 0ULL;
106 return (m_x == x.
m_x && m_y == x.
m_y && m_z == x.
m_z);
143 eprosima::fastcdr::Cdr& scdr)
152 eprosima::fastcdr::Cdr& dcdr)
259 eprosima::fastcdr::Cdr& scdr)
const
#define geometry_msgs_msg_Point32_max_key_cdr_typesize
#define geometry_msgs_msg_Point32_max_cdr_typesize
return current_alignment initial_alignment
This class represents the structure Point32 defined by the user in the IDL file.这个类表示用户在IDL(接口定义语言)文件...
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
eProsima_user_DllExport float z() const
eProsima_user_DllExport float x() const
此函数返回成员变量 x(即 m_x)的值,提供了一种只读的方式来获取 x 坐标的值,保障了数据的安全性,避免外部误修改
eProsima_user_DllExport bool operator==(const Point32 &x) const
static eProsima_user_DllExport size_t getCdrSerializedSize(const geometry_msgs::msg::Point32 &data, size_t current_alignment=0)
eProsima_user_DllExport Point32 & operator=(const Point32 &x)
static eProsima_user_DllExport bool isKeyDefined()
eProsima_user_DllExport ~Point32()
eProsima_user_DllExport bool operator!=(const Point32 &x) const
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
static eProsima_user_DllExport size_t getMaxCdrSerializedSize(size_t current_alignment=0)
static eProsima_user_DllExport size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
eProsima_user_DllExport Point32()
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
eProsima_user_DllExport float y() const
此函数返回成员变量 y(即 m_y)的值,提供了一种只读的方式来获取 y 坐标的值,用于外部获取该坐标信息但不修改