34#include <fastcdr/Cdr.h>
36#include <fastcdr/exceptions/BadParamException.h>
38using namespace eprosima::fastcdr::exception;
42#define sensor_msgs_msg_RegionOfInterest_max_cdr_typesize 17ULL;
44#define sensor_msgs_msg_RegionOfInterest_max_key_cdr_typesize 0ULL;
82 m_x_offset = x.m_x_offset;
83 m_y_offset = x.m_y_offset;
84 m_height = x.m_height;
86 m_do_rectify = x.m_do_rectify;
107 m_y_offset = x.m_y_offset;
108 m_height = x.m_height;
110 m_do_rectify = x.m_do_rectify;
126 return !(*
this == x);
158 eprosima::fastcdr::Cdr& scdr)
const
164 scdr << m_do_rectify;
169 eprosima::fastcdr::Cdr& dcdr)
175 dcdr >> m_do_rectify;
185 m_x_offset = _x_offset;
213 m_y_offset = _y_offset;
297 m_do_rectify = _do_rectify;
334 eprosima::fastcdr::Cdr& scdr)
const
#define sensor_msgs_msg_RegionOfInterest_max_cdr_typesize
#define sensor_msgs_msg_RegionOfInterest_max_key_cdr_typesize
return current_alignment initial_alignment
This class represents the structure RegionOfInterest defined by the user in the IDL file.
eProsima_user_DllExport uint32_t x_offset() const
This function returns the value of member x_offset
eProsima_user_DllExport uint32_t width() const
This function returns the value of member width
static eProsima_user_DllExport size_t getCdrSerializedSize(const sensor_msgs::msg::RegionOfInterest &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...
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport bool operator==(const RegionOfInterest &x) const
Comparison operator.
eProsima_user_DllExport bool operator!=(const RegionOfInterest &x) const
Comparison operator.
eProsima_user_DllExport bool do_rectify() const
This function returns the value of member do_rectify
eProsima_user_DllExport RegionOfInterest()
Default constructor.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport RegionOfInterest & operator=(const RegionOfInterest &x)
Copy assignment.
eProsima_user_DllExport uint32_t y_offset() const
This function returns the value of member y_offset
eProsima_user_DllExport ~RegionOfInterest()
Default destructor.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
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 uint32_t height() const
This function returns the value of member height
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.