22#ifndef _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_QUATERNION_H_
23#define _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_QUATERNION_H_
25#include <fastrtps/utils/fixed_size_string.hpp>
35#if defined(EPROSIMA_USER_DLL_EXPORT)
36#define eProsima_user_DllExport __declspec( dllexport )
38#define eProsima_user_DllExport
41#define eProsima_user_DllExport
45#if defined(EPROSIMA_USER_DLL_EXPORT)
46#if defined(Quaternion_SOURCE)
47#define Quaternion_DllAPI __declspec( dllexport )
49#define Quaternion_DllAPI __declspec( dllimport )
52#define Quaternion_DllAPI
55#define Quaternion_DllAPI
209 size_t current_alignment = 0);
219 size_t current_alignment = 0);
226 eprosima::fastcdr::Cdr& cdr)
const;
233 eprosima::fastcdr::Cdr& cdr);
242 size_t current_alignment = 0);
254 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure Quaternion defined by the user in the IDL file.
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 ~Quaternion()
Default destructor.
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.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport double z() const
This function returns the value of member z
eProsima_user_DllExport Quaternion & operator=(const Quaternion &x)
Copy assignment.
eProsima_user_DllExport Quaternion()
Default constructor.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport double y() const
This function returns the value of member y
eProsima_user_DllExport double w() const
This function returns the value of member w
eProsima_user_DllExport double x() const
This function returns the value of member x
eProsima_user_DllExport bool operator==(const Quaternion &x) const
Comparison operator.
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
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 Quaternion &x) const
Comparison operator.