30 #include <fastcdr/Cdr.h> 32 #include <fastcdr/exceptions/BadParamException.h> 37 #define geometry_msgs_msg_Point32_max_cdr_typesize 12ULL; 38 #define geometry_msgs_msg_Point32_max_key_cdr_typesize 0ULL; 93 return (m_x == x.
m_x && m_y == x.
m_y && m_z == x.
m_z);
103 size_t current_alignment)
105 static_cast<void>(current_alignment);
111 size_t current_alignment)
114 size_t initial_alignment = current_alignment;
115 current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
116 current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
117 current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
119 return current_alignment - initial_alignment;
123 eprosima::fastcdr::Cdr& scdr)
const 131 eprosima::fastcdr::Cdr& dcdr)
223 size_t current_alignment)
225 static_cast<void>(current_alignment);
235 eprosima::fastcdr::Cdr& scdr)
const eProsima_user_DllExport bool operator!=(const Point32 &x) const
Comparison operator.
static eProsima_user_DllExport size_t getCdrSerializedSize(const geometry_msgs::msg::Point32 &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
static eProsima_user_DllExport size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of the Key of an object depending on the buffer ali...
eProsima_user_DllExport bool operator==(const Point32 &x) const
Comparison operator.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type.
eProsima_user_DllExport float y() const
This function returns the value of member y.
eProsima_user_DllExport Point32()
Default constructor.
eProsima_user_DllExport float z() const
This function returns the value of member z.
#define geometry_msgs_msg_Point32_max_key_cdr_typesize
eProsima_user_DllExport ~Point32()
Default destructor.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
This class represents the structure Point32 defined by the user in the IDL file.
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
eProsima_user_DllExport float x() const
This function returns the value of member x.
static eProsima_user_DllExport size_t getMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of an object depending on the buffer alignment...
#define geometry_msgs_msg_Point32_max_cdr_typesize
eProsima_user_DllExport Point32 & operator=(const Point32 &x)
Copy assignment.