22#ifndef _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_TWIST_H_
23#define _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_TWIST_H_
27#include <fastrtps/utils/fixed_size_string.hpp>
37#if defined(EPROSIMA_USER_DLL_EXPORT)
38#define eProsima_user_DllExport __declspec( dllexport )
40#define eProsima_user_DllExport
43#define eProsima_user_DllExport
47#if defined(EPROSIMA_USER_DLL_EXPORT)
48#if defined(Twist_SOURCE)
49#define Twist_DllAPI __declspec( dllexport )
51#define Twist_DllAPI __declspec( dllimport )
119 const Twist& x)
const;
126 const Twist& x)
const;
186 size_t current_alignment = 0);
196 size_t current_alignment = 0);
203 eprosima::fastcdr::Cdr& cdr)
const;
210 eprosima::fastcdr::Cdr& cdr);
219 size_t current_alignment = 0);
231 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure Twist 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 bool operator!=(const Twist &x) const
Comparison operator.
eProsima_user_DllExport Twist()
Default constructor.
eProsima_user_DllExport ~Twist()
Default destructor.
eProsima_user_DllExport Twist & operator=(const Twist &x)
Copy assignment.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport bool operator==(const Twist &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 size_t getCdrSerializedSize(const geometry_msgs::msg::Twist &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...
geometry_msgs::msg::Vector3 m_linear
geometry_msgs::msg::Vector3 m_angular
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
eProsima_user_DllExport const geometry_msgs::msg::Vector3 & linear() const
This function returns a constant reference to member linear
eProsima_user_DllExport const geometry_msgs::msg::Vector3 & angular() const
This function returns a constant reference to member angular
This class represents the structure Vector3 defined by the user in the IDL file.