22#ifndef _FAST_DDS_GENERATED_STD_MSGS_MSG_FLOAT32_H_
23#define _FAST_DDS_GENERATED_STD_MSGS_MSG_FLOAT32_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(Float32_SOURCE)
47#define Float32_DllAPI __declspec( dllexport )
49#define Float32_DllAPI __declspec( dllimport )
151 size_t current_alignment = 0);
161 size_t current_alignment = 0);
168 eprosima::fastcdr::Cdr& cdr)
const;
175 eprosima::fastcdr::Cdr& cdr);
184 size_t current_alignment = 0);
196 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure Float32 defined by the user in the IDL file.
eProsima_user_DllExport ~Float32()
Default destructor.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport Float32 & operator=(const Float32 &x)
Copy assignment.
eProsima_user_DllExport bool operator==(const Float32 &x) const
Comparison operator.
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...
static eProsima_user_DllExport size_t getCdrSerializedSize(const std_msgs::msg::Float32 &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport bool operator!=(const Float32 &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.
eProsima_user_DllExport Float32()
Default constructor.
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 float data() const
This function returns the value of member data