30 #include <fastcdr/Cdr.h> 32 #include <fastcdr/exceptions/BadParamException.h> 37 #define std_msgs_msg_Float32_max_cdr_typesize 4ULL; 38 #define std_msgs_msg_Float32_max_key_cdr_typesize 0ULL; 78 return (m_data == x.
m_data);
88 size_t current_alignment)
90 static_cast<void>(current_alignment);
96 size_t current_alignment)
99 size_t initial_alignment = current_alignment;
100 current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
101 return current_alignment - initial_alignment;
105 eprosima::fastcdr::Cdr& scdr)
const 111 eprosima::fastcdr::Cdr& dcdr)
145 size_t current_alignment)
147 static_cast<void>(current_alignment);
157 eprosima::fastcdr::Cdr& scdr)
const 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 getMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of an object depending on the buffer alignment...
#define std_msgs_msg_Float32_max_key_cdr_typesize
This class represents the structure Float32 defined by the user in the IDL file.
eProsima_user_DllExport ~Float32()
Default destructor.
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.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport Float32 & operator=(const Float32 &x)
Copy assignment.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
#define std_msgs_msg_Float32_max_cdr_typesize
eProsima_user_DllExport bool operator==(const Float32 &x) const
Comparison operator.
eProsima_user_DllExport bool operator!=(const Float32 &x) const
Comparison operator.
eProsima_user_DllExport float data() const
This function returns the value of member data.
eProsima_user_DllExport Float32()
Default constructor.
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 bool isKeyDefined()
This function tells you if the Key has been defined for this type.