30#include <fastcdr/Cdr.h>
32#include <fastcdr/exceptions/BadParamException.h>
33using namespace eprosima::fastcdr::exception;
37#define std_msgs_msg_Time_max_cdr_typesize 8ULL;
38#define sensor_msgs_msg_NavSatStatus_max_cdr_typesize 4ULL;
39#define std_msgs_msg_Header_max_cdr_typesize 268ULL;
40#define sensor_msgs_msg_NavSatFix_max_cdr_typesize 369ULL;
42#define std_msgs_msg_Time_max_key_cdr_typesize 0ULL;
43#define sensor_msgs_msg_NavSatStatus_max_key_cdr_typesize 0ULL;
44#define std_msgs_msg_Header_max_key_cdr_typesize 0ULL;
45#define sensor_msgs_msg_NavSatFix_max_key_cdr_typesize 0ULL;
95 m_header = std::move(x.m_header);
97 m_status = std::move(x.m_status);
99 m_latitude = x.m_latitude;
101 m_longitude = x.m_longitude;
103 m_altitude = x.m_altitude;
105 m_position_covariance = std::move(x.m_position_covariance);
107 m_position_covariance_type = x.m_position_covariance_type;
137 m_header = std::move(x.m_header);
139 m_status = std::move(x.m_status);
141 m_latitude = x.m_latitude;
143 m_longitude = x.m_longitude;
145 m_altitude = x.m_altitude;
147 m_position_covariance = std::move(x.m_position_covariance);
149 m_position_covariance_type = x.m_position_covariance_type;
202 eprosima::fastcdr::Cdr& scdr)
const
215 scdr << m_position_covariance;
217 scdr << m_position_covariance_type;
222 eprosima::fastcdr::Cdr& dcdr)
235 dcdr >> m_position_covariance;
237 dcdr >> m_position_covariance_type;
245 const std_msgs::msg::Header& _header)
255 std_msgs::msg::Header&& _header)
257 m_header = std::move(_header);
295 m_status = std::move(_status);
323 m_latitude = _latitude;
351 m_longitude = _longitude;
379 m_altitude = _altitude;
407 m_position_covariance = _position_covariance;
417 m_position_covariance = std::move(_position_covariance);
426 return m_position_covariance;
435 return m_position_covariance;
442 uint8_t _position_covariance_type)
444 m_position_covariance_type = _position_covariance_type;
453 return m_position_covariance_type;
465 return m_position_covariance_type;
487 eprosima::fastcdr::Cdr& scdr)
const
#define sensor_msgs_msg_NavSatFix_max_cdr_typesize
#define sensor_msgs_msg_NavSatFix_max_key_cdr_typesize
return current_alignment initial_alignment
This class represents the structure NavSatFix defined by the user in the IDL file.
eProsima_user_DllExport void header(const std_msgs::msg::Header &_header)
This function copies the value in member header
sensor_msgs::msg::NavSatStatus m_status
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 bool operator==(const NavSatFix &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...
uint8_t m_position_covariance_type
eProsima_user_DllExport NavSatFix & operator=(const NavSatFix &x)
Copy assignment.
eProsima_user_DllExport const std_msgs::msg::Header & header() const
This function returns a constant reference to member header
eProsima_user_DllExport uint8_t position_covariance_type() const
This function returns the value of member position_covariance_type
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
std_msgs::msg::Header m_header
sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 m_position_covariance
eProsima_user_DllExport void status(const sensor_msgs::msg::NavSatStatus &_status)
This function copies the value in member status
eProsima_user_DllExport bool operator!=(const NavSatFix &x) const
Comparison operator.
eProsima_user_DllExport NavSatFix()
Default constructor.
eProsima_user_DllExport ~NavSatFix()
Default destructor.
static eProsima_user_DllExport size_t getCdrSerializedSize(const sensor_msgs::msg::NavSatFix &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 getMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of an object depending on the buffer alignment.
eProsima_user_DllExport double altitude() const
This function returns the value of member altitude
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 & position_covariance() const
This function returns a constant reference to member position_covariance
eProsima_user_DllExport double longitude() const
This function returns the value of member longitude
eProsima_user_DllExport const sensor_msgs::msg::NavSatStatus & status() const
This function returns a constant reference to member status
eProsima_user_DllExport double latitude() const
This function returns the value of member latitude
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
This class represents the structure NavSatStatus defined by the user in the IDL file.
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.
std::array< double, 9 > sensor_msgs__NavSatFix__double_array_9