30 #include <fastcdr/Cdr.h> 32 #include <fastcdr/exceptions/BadParamException.h> 37 #define sensor_msgs_msg_NavSatStatus_max_cdr_typesize 4ULL; 38 #define sensor_msgs_msg_NavSatStatus_max_key_cdr_typesize 0ULL; 62 m_status = x.m_status;
63 m_service = x.m_service;
79 m_service = x.m_service;
97 size_t current_alignment)
99 static_cast<void>(current_alignment);
105 size_t current_alignment)
108 size_t initial_alignment = current_alignment;
109 current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);
110 current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);
112 return current_alignment - initial_alignment;
116 eprosima::fastcdr::Cdr& scdr)
const 123 eprosima::fastcdr::Cdr& dcdr)
164 m_service = _service;
186 size_t current_alignment)
188 static_cast<void>(current_alignment);
198 eprosima::fastcdr::Cdr& scdr)
const eProsima_user_DllExport uint16_t service() const
This function returns the value of member service.
eProsima_user_DllExport ~NavSatStatus()
Default destructor.
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 getMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of an object depending on the buffer alignment...
#define sensor_msgs_msg_NavSatStatus_max_cdr_typesize
eProsima_user_DllExport bool operator!=(const NavSatStatus &x) const
Comparison operator.
This class represents the structure NavSatStatus defined by the user in the IDL file.
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
#define sensor_msgs_msg_NavSatStatus_max_key_cdr_typesize
eProsima_user_DllExport uint8_t status() const
This function returns the value of member status.
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 bool operator==(const NavSatStatus &x) const
Comparison operator.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
static eProsima_user_DllExport size_t getCdrSerializedSize(const sensor_msgs::msg::NavSatStatus &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport NavSatStatus()
Default constructor.
eProsima_user_DllExport NavSatStatus & operator=(const NavSatStatus &x)
Copy assignment.