This class represents the structure NavSatStatus defined by the user in the IDL file. 更多...
#include <NavSatStatus.h>
Public 成员函数 | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport | NavSatStatus () |
Default constructor. | |
eProsima_user_DllExport | NavSatStatus (const NavSatStatus &x) |
Copy constructor. | |
eProsima_user_DllExport | NavSatStatus (NavSatStatus &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport bool | operator!= (const NavSatStatus &x) const |
Comparison operator. | |
eProsima_user_DllExport NavSatStatus & | operator= (const NavSatStatus &x) |
Copy assignment. | |
eProsima_user_DllExport NavSatStatus & | operator= (NavSatStatus &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const NavSatStatus &x) const |
Comparison operator. | |
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 uint16_t & | service () |
This function returns a reference to member service | |
eProsima_user_DllExport uint16_t | service () const |
This function returns the value of member service | |
eProsima_user_DllExport void | service (uint16_t _service) |
This function sets a value in member service | |
eProsima_user_DllExport uint8_t & | status () |
This function returns a reference to member status | |
eProsima_user_DllExport uint8_t | status () const |
This function returns the value of member status | |
eProsima_user_DllExport void | status (uint8_t _status) |
This function sets a value in member status | |
eProsima_user_DllExport | ~NavSatStatus () |
Default destructor. | |
静态 Public 成员函数 | |
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. | |
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 | |
Private 属性 | |
uint16_t | m_service |
uint8_t | m_status |
This class represents the structure NavSatStatus defined by the user in the IDL file.
在文件 NavSatStatus.h 第 78 行定义.
sensor_msgs::msg::NavSatStatus::NavSatStatus | ( | ) |
sensor_msgs::msg::NavSatStatus::~NavSatStatus | ( | ) |
Default destructor.
在文件 NavSatStatus.cpp 第 48 行定义.
sensor_msgs::msg::NavSatStatus::NavSatStatus | ( | const NavSatStatus & | x | ) |
Copy constructor.
x | Reference to the object sensor_msgs::msg::NavSatStatus that will be copied. |
在文件 NavSatStatus.cpp 第 52 行定义.
|
noexcept |
Move constructor.
x | Reference to the object sensor_msgs::msg::NavSatStatus that will be copied. |
在文件 NavSatStatus.cpp 第 59 行定义.
void sensor_msgs::msg::NavSatStatus::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 NavSatStatus.cpp 第 122 行定义.
被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::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. |
在文件 NavSatStatus.cpp 第 103 行定义.
被这些函数引用 sensor_msgs::msg::NavSatFix::getCdrSerializedSize() , 以及 sensor_msgs::msg::NavSatStatusPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 NavSatStatus.cpp 第 185 行定义.
引用了 sensor_msgs_msg_NavSatStatus_max_key_cdr_typesize.
被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::getKey() , 以及 sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 NavSatStatus.cpp 第 96 行定义.
引用了 sensor_msgs_msg_NavSatStatus_max_cdr_typesize.
被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 NavSatStatus.cpp 第 192 行定义.
被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().
bool sensor_msgs::msg::NavSatStatus::operator!= | ( | const NavSatStatus & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::NavSatStatus object to compare. |
在文件 NavSatStatus.cpp 第 90 行定义.
sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatStatus::operator= | ( | const NavSatStatus & | x | ) |
Copy assignment.
x | Reference to the object sensor_msgs::msg::NavSatStatus that will be copied. |
在文件 NavSatStatus.cpp 第 66 行定义.
|
noexcept |
Move assignment.
x | Reference to the object sensor_msgs::msg::NavSatStatus that will be copied. |
在文件 NavSatStatus.cpp 第 75 行定义.
引用了 m_status.
bool sensor_msgs::msg::NavSatStatus::operator== | ( | const NavSatStatus & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::NavSatStatus object to compare. |
在文件 NavSatStatus.cpp 第 84 行定义.
void sensor_msgs::msg::NavSatStatus::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 NavSatStatus.cpp 第 115 行定义.
被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::serialize().
void sensor_msgs::msg::NavSatStatus::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 NavSatStatus.cpp 第 197 行定义.
被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::getKey().
uint16_t & sensor_msgs::msg::NavSatStatus::service | ( | ) |
This function returns a reference to member service
在文件 NavSatStatus.cpp 第 180 行定义.
uint16_t sensor_msgs::msg::NavSatStatus::service | ( | ) | const |
This function returns the value of member service
在文件 NavSatStatus.cpp 第 171 行定义.
void sensor_msgs::msg::NavSatStatus::service | ( | uint16_t | _service | ) |
This function sets a value in member service
_service | New value for member service |
在文件 NavSatStatus.cpp 第 161 行定义.
uint8_t & sensor_msgs::msg::NavSatStatus::status | ( | ) |
This function returns a reference to member status
在文件 NavSatStatus.cpp 第 152 行定义.
uint8_t sensor_msgs::msg::NavSatStatus::status | ( | ) | const |
This function returns the value of member status
在文件 NavSatStatus.cpp 第 143 行定义.
void sensor_msgs::msg::NavSatStatus::status | ( | uint8_t | _status | ) |
This function sets a value in member status
_status | New value for member status |
在文件 NavSatStatus.cpp 第 133 行定义.
|
private |
在文件 NavSatStatus.h 第 228 行定义.
被这些函数引用 NavSatStatus(), NavSatStatus(), operator=() , 以及 operator==().
|
private |
在文件 NavSatStatus.h 第 227 行定义.
被这些函数引用 NavSatStatus(), NavSatStatus(), operator=(), operator=() , 以及 operator==().