30#include <fastcdr/Cdr.h>
32#include <fastcdr/exceptions/BadParamException.h>
33using namespace eprosima::fastcdr::exception;
37#define geometry_msgs_msg_Point_max_cdr_typesize 24ULL;
38#define geometry_msgs_msg_Point_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 += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
116 current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
117 current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
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
#define geometry_msgs_msg_Point_max_cdr_typesize
#define geometry_msgs_msg_Point_max_key_cdr_typesize
This class represents the structure Point defined by the user in the IDL file.
eProsima_user_DllExport ~Point()
Default destructor.
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.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
static eProsima_user_DllExport size_t getCdrSerializedSize(const geometry_msgs::msg::Point &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport double y() const
This function returns the value of member y
eProsima_user_DllExport bool operator!=(const Point &x) const
Comparison operator.
eProsima_user_DllExport Point()
Default constructor.
eProsima_user_DllExport Point & operator=(const Point &x)
Copy assignment.
eProsima_user_DllExport bool operator==(const Point &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 void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
eProsima_user_DllExport double z() const
This function returns the value of member z
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport double x() const
This function returns the value of member x
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...