30 #include <fastcdr/Cdr.h> 32 #include <fastcdr/exceptions/BadParamException.h> 37 #define geometry_msgs_msg_Vector3_max_cdr_typesize 24ULL; 38 #define geometry_msgs_msg_Vector3_max_key_cdr_typesize 0ULL; 94 return (m_x == x.
m_x && m_y == x.
m_y && m_z == x.
m_z);
100 return !(*
this == x);
104 size_t current_alignment)
106 static_cast<void>(current_alignment);
112 size_t current_alignment)
115 size_t initial_alignment = current_alignment;
116 current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
117 current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
118 current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
120 return current_alignment - initial_alignment;
124 eprosima::fastcdr::Cdr& scdr)
const 132 eprosima::fastcdr::Cdr& dcdr)
224 size_t current_alignment)
226 static_cast<void>(current_alignment);
236 eprosima::fastcdr::Cdr& scdr)
const
#define geometry_msgs_msg_Vector3_max_key_cdr_typesize
eProsima_user_DllExport bool operator==(const Vector3 &x) const
Comparison operator.
eProsima_user_DllExport double z() const
This function returns the value of member z.
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 void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
#define geometry_msgs_msg_Vector3_max_cdr_typesize
eProsima_user_DllExport ~Vector3()
Default destructor.
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...
This class represents the structure Vector3 defined by the user in the IDL file.
eProsima_user_DllExport bool operator!=(const Vector3 &x) const
Comparison operator.
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.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport Vector3()
Default constructor.
eProsima_user_DllExport Vector3 & operator=(const Vector3 &x)
Copy assignment.
eProsima_user_DllExport double 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...
eProsima_user_DllExport double y() const
This function returns the value of member y.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type.