This class represents the structure NavSatFix defined by the user in the IDL file. 更多...
#include <NavSatFix.h>
Public 成员函数 | |
eProsima_user_DllExport double & | altitude () |
This function returns a reference to member altitude | |
eProsima_user_DllExport double | altitude () const |
This function returns the value of member altitude | |
eProsima_user_DllExport void | altitude (double _altitude) |
This function sets a value in member altitude | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport std_msgs::msg::Header & | header () |
This function returns a reference to member header | |
eProsima_user_DllExport const std_msgs::msg::Header & | header () const |
This function returns a constant reference to member header | |
eProsima_user_DllExport void | header (const std_msgs::msg::Header &_header) |
This function copies the value in member header | |
eProsima_user_DllExport void | header (std_msgs::msg::Header &&_header) |
This function moves the value in member header | |
eProsima_user_DllExport double & | latitude () |
This function returns a reference to member latitude | |
eProsima_user_DllExport double | latitude () const |
This function returns the value of member latitude | |
eProsima_user_DllExport void | latitude (double _latitude) |
This function sets a value in member latitude | |
eProsima_user_DllExport double & | longitude () |
This function returns a reference to member longitude | |
eProsima_user_DllExport double | longitude () const |
This function returns the value of member longitude | |
eProsima_user_DllExport void | longitude (double _longitude) |
This function sets a value in member longitude | |
eProsima_user_DllExport | NavSatFix () |
Default constructor. | |
eProsima_user_DllExport | NavSatFix (const NavSatFix &x) |
Copy constructor. | |
eProsima_user_DllExport | NavSatFix (NavSatFix &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport bool | operator!= (const NavSatFix &x) const |
Comparison operator. | |
eProsima_user_DllExport NavSatFix & | operator= (const NavSatFix &x) |
Copy assignment. | |
eProsima_user_DllExport NavSatFix & | operator= (NavSatFix &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const NavSatFix &x) const |
Comparison operator. | |
eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 & | position_covariance () |
This function returns a reference to member position_covariance | |
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 void | position_covariance (const sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 &_position_covariance) |
This function copies the value in member position_covariance | |
eProsima_user_DllExport void | position_covariance (sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 &&_position_covariance) |
This function moves the value in member position_covariance | |
eProsima_user_DllExport uint8_t & | position_covariance_type () |
This function returns a reference to member position_covariance_type | |
eProsima_user_DllExport uint8_t | position_covariance_type () const |
This function returns the value of member position_covariance_type | |
eProsima_user_DllExport void | position_covariance_type (uint8_t _position_covariance_type) |
This function sets a value in member position_covariance_type | |
eProsima_user_DllExport void | serialize (eprosima::fastcdr::Cdr &cdr) const |
This function serializes an object using CDR serialization. | |
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 sensor_msgs::msg::NavSatStatus & | status () |
This function returns a reference to member status | |
eProsima_user_DllExport const sensor_msgs::msg::NavSatStatus & | status () const |
This function returns a constant reference to member status | |
eProsima_user_DllExport void | status (const sensor_msgs::msg::NavSatStatus &_status) |
This function copies the value in member status | |
eProsima_user_DllExport void | status (sensor_msgs::msg::NavSatStatus &&_status) |
This function moves the value in member status | |
eProsima_user_DllExport | ~NavSatFix () |
Default destructor. | |
静态 Public 成员函数 | |
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 | getKeyMaxCdrSerializedSize (size_t current_alignment=0) |
This function returns the maximum serialized size of the Key of an object 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. | |
static eProsima_user_DllExport bool | isKeyDefined () |
This function tells you if the Key has been defined for this type | |
This class represents the structure NavSatFix defined by the user in the IDL file.
在文件 NavSatFix.h 第 78 行定义.
sensor_msgs::msg::NavSatFix::NavSatFix | ( | ) |
Default constructor.
在文件 NavSatFix.cpp 第 47 行定义.
引用了 m_altitude, m_latitude, m_longitude, m_position_covariance , 以及 m_position_covariance_type.
sensor_msgs::msg::NavSatFix::~NavSatFix | ( | ) |
Default destructor.
在文件 NavSatFix.cpp 第 65 行定义.
sensor_msgs::msg::NavSatFix::NavSatFix | ( | const NavSatFix & | x | ) |
Copy constructor.
x | Reference to the object sensor_msgs::msg::NavSatFix that will be copied. |
在文件 NavSatFix.cpp 第 69 行定义.
引用了 m_altitude, m_header, m_latitude, m_longitude, m_position_covariance, m_position_covariance_type , 以及 m_status.
|
noexcept |
Move constructor.
x | Reference to the object sensor_msgs::msg::NavSatFix that will be copied. |
在文件 NavSatFix.cpp 第 81 行定义.
double & sensor_msgs::msg::NavSatFix::altitude | ( | ) |
This function returns a reference to member altitude
在文件 NavSatFix.cpp 第 335 行定义.
double sensor_msgs::msg::NavSatFix::altitude | ( | ) | const |
This function returns the value of member altitude
在文件 NavSatFix.cpp 第 326 行定义.
void sensor_msgs::msg::NavSatFix::altitude | ( | double | _altitude | ) |
This function sets a value in member altitude
_altitude | New value for member altitude |
在文件 NavSatFix.cpp 第 316 行定义.
void sensor_msgs::msg::NavSatFix::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 NavSatFix.cpp 第 168 行定义.
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::deserialize().
|
static |
This function returns the serialized size of a data depending on the buffer alignment.
data | Data which is calculated its serialized size. |
current_alignment | Buffer alignment. |
在文件 NavSatFix.cpp 第 140 行定义.
引用了 sensor_msgs::msg::NavSatStatus::getCdrSerializedSize(), std_msgs::msg::Header::getCdrSerializedSize(), header() , 以及 status().
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 NavSatFix.cpp 第 405 行定义.
引用了 sensor_msgs_msg_NavSatFix_max_key_cdr_typesize.
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::getKey() , 以及 sensor_msgs::msg::NavSatFixPubSubType::NavSatFixPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 NavSatFix.cpp 第 133 行定义.
引用了 sensor_msgs_msg_NavSatFix_max_cdr_typesize.
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::NavSatFixPubSubType().
std_msgs::msg::Header & sensor_msgs::msg::NavSatFix::header | ( | ) |
This function returns a reference to member header
在文件 NavSatFix.cpp 第 213 行定义.
const std_msgs::msg::Header & sensor_msgs::msg::NavSatFix::header | ( | ) | const |
This function returns a constant reference to member header
在文件 NavSatFix.cpp 第 204 行定义.
void sensor_msgs::msg::NavSatFix::header | ( | const std_msgs::msg::Header & | _header | ) |
This function copies the value in member header
_header | New value to be copied in member header |
在文件 NavSatFix.cpp 第 184 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::NavSatFix::header | ( | std_msgs::msg::Header && | _header | ) |
This function moves the value in member header
_header | New value to be moved in member header |
在文件 NavSatFix.cpp 第 194 行定义.
|
static |
This function tells you if the Key has been defined for this type
在文件 NavSatFix.cpp 第 412 行定义.
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::NavSatFixPubSubType().
double & sensor_msgs::msg::NavSatFix::latitude | ( | ) |
This function returns a reference to member latitude
在文件 NavSatFix.cpp 第 279 行定义.
double sensor_msgs::msg::NavSatFix::latitude | ( | ) | const |
This function returns the value of member latitude
在文件 NavSatFix.cpp 第 270 行定义.
void sensor_msgs::msg::NavSatFix::latitude | ( | double | _latitude | ) |
This function sets a value in member latitude
_latitude | New value for member latitude |
在文件 NavSatFix.cpp 第 260 行定义.
double & sensor_msgs::msg::NavSatFix::longitude | ( | ) |
This function returns a reference to member longitude
在文件 NavSatFix.cpp 第 307 行定义.
double sensor_msgs::msg::NavSatFix::longitude | ( | ) | const |
This function returns the value of member longitude
在文件 NavSatFix.cpp 第 298 行定义.
void sensor_msgs::msg::NavSatFix::longitude | ( | double | _longitude | ) |
This function sets a value in member longitude
_longitude | New value for member longitude |
在文件 NavSatFix.cpp 第 288 行定义.
bool sensor_msgs::msg::NavSatFix::operator!= | ( | const NavSatFix & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::NavSatFix object to compare. |
在文件 NavSatFix.cpp 第 127 行定义.
sensor_msgs::msg::NavSatFix & sensor_msgs::msg::NavSatFix::operator= | ( | const NavSatFix & | x | ) |
Copy assignment.
x | Reference to the object sensor_msgs::msg::NavSatFix that will be copied. |
在文件 NavSatFix.cpp 第 93 行定义.
引用了 m_altitude, m_header, m_latitude, m_longitude, m_position_covariance, m_position_covariance_type , 以及 m_status.
|
noexcept |
Move assignment.
x | Reference to the object sensor_msgs::msg::NavSatFix that will be copied. |
在文件 NavSatFix.cpp 第 107 行定义.
bool sensor_msgs::msg::NavSatFix::operator== | ( | const NavSatFix & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::NavSatFix object to compare. |
在文件 NavSatFix.cpp 第 121 行定义.
引用了 m_altitude, m_header, m_latitude, m_longitude, m_position_covariance, m_position_covariance_type , 以及 m_status.
sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 & sensor_msgs::msg::NavSatFix::position_covariance | ( | ) |
This function returns a reference to member position_covariance
在文件 NavSatFix.cpp 第 373 行定义.
const sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 & sensor_msgs::msg::NavSatFix::position_covariance | ( | ) | const |
This function returns a constant reference to member position_covariance
在文件 NavSatFix.cpp 第 364 行定义.
void sensor_msgs::msg::NavSatFix::position_covariance | ( | const sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 & | _position_covariance | ) |
This function copies the value in member position_covariance
_position_covariance | New value to be copied in member position_covariance |
在文件 NavSatFix.cpp 第 344 行定义.
void sensor_msgs::msg::NavSatFix::position_covariance | ( | sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 && | _position_covariance | ) |
This function moves the value in member position_covariance
_position_covariance | New value to be moved in member position_covariance |
在文件 NavSatFix.cpp 第 354 行定义.
uint8_t & sensor_msgs::msg::NavSatFix::position_covariance_type | ( | ) |
This function returns a reference to member position_covariance_type
在文件 NavSatFix.cpp 第 400 行定义.
uint8_t sensor_msgs::msg::NavSatFix::position_covariance_type | ( | ) | const |
This function returns the value of member position_covariance_type
在文件 NavSatFix.cpp 第 391 行定义.
void sensor_msgs::msg::NavSatFix::position_covariance_type | ( | uint8_t | _position_covariance_type | ) |
This function sets a value in member position_covariance_type
_position_covariance_type | New value for member position_covariance_type |
在文件 NavSatFix.cpp 第 381 行定义.
void sensor_msgs::msg::NavSatFix::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 NavSatFix.cpp 第 156 行定义.
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::serialize().
void sensor_msgs::msg::NavSatFix::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 NavSatFix.cpp 第 417 行定义.
被这些函数引用 sensor_msgs::msg::NavSatFixPubSubType::getKey().
sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatFix::status | ( | ) |
This function returns a reference to member status
在文件 NavSatFix.cpp 第 251 行定义.
const sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatFix::status | ( | ) | const |
This function returns a constant reference to member status
在文件 NavSatFix.cpp 第 242 行定义.
void sensor_msgs::msg::NavSatFix::status | ( | const sensor_msgs::msg::NavSatStatus & | _status | ) |
This function copies the value in member status
_status | New value to be copied in member status |
在文件 NavSatFix.cpp 第 222 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::NavSatFix::status | ( | sensor_msgs::msg::NavSatStatus && | _status | ) |
This function moves the value in member status
_status | New value to be moved in member status |
在文件 NavSatFix.cpp 第 232 行定义.
|
private |
在文件 NavSatFix.h 第 344 行定义.
被这些函数引用 NavSatFix(), NavSatFix(), operator=() , 以及 operator==().
|
private |
在文件 NavSatFix.h 第 340 行定义.
被这些函数引用 NavSatFix(), operator=() , 以及 operator==().
|
private |
在文件 NavSatFix.h 第 342 行定义.
被这些函数引用 NavSatFix(), NavSatFix(), operator=() , 以及 operator==().
|
private |
在文件 NavSatFix.h 第 343 行定义.
被这些函数引用 NavSatFix(), NavSatFix(), operator=() , 以及 operator==().
|
private |
在文件 NavSatFix.h 第 345 行定义.
被这些函数引用 NavSatFix(), NavSatFix(), operator=() , 以及 operator==().
|
private |
在文件 NavSatFix.h 第 346 行定义.
被这些函数引用 NavSatFix(), NavSatFix(), operator=() , 以及 operator==().
|
private |
在文件 NavSatFix.h 第 341 行定义.
被这些函数引用 NavSatFix(), operator=() , 以及 operator==().