CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Private 属性 | 所有成员列表
sensor_msgs::msg::NavSatStatus类 参考

This class represents the structure NavSatStatus defined by the user in the IDL file. 更多...

#include <NavSatStatus.h>

+ sensor_msgs::msg::NavSatStatus 的协作图:

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 NavSatStatusoperator= (const NavSatStatus &x)
 Copy assignment.
 
eProsima_user_DllExport NavSatStatusoperator= (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.h78 行定义.

构造及析构函数说明

◆ NavSatStatus() [1/3]

sensor_msgs::msg::NavSatStatus::NavSatStatus ( )

Default constructor.

在文件 NavSatStatus.cpp40 行定义.

引用了 m_service , 以及 m_status.

◆ ~NavSatStatus()

sensor_msgs::msg::NavSatStatus::~NavSatStatus ( )

Default destructor.

在文件 NavSatStatus.cpp48 行定义.

◆ NavSatStatus() [2/3]

sensor_msgs::msg::NavSatStatus::NavSatStatus ( const NavSatStatus & x)

Copy constructor.

参数
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

在文件 NavSatStatus.cpp52 行定义.

引用了 m_service , 以及 m_status.

◆ NavSatStatus() [3/3]

sensor_msgs::msg::NavSatStatus::NavSatStatus ( NavSatStatus && x)
noexcept

Move constructor.

参数
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

在文件 NavSatStatus.cpp59 行定义.

成员函数说明

◆ deserialize()

void sensor_msgs::msg::NavSatStatus::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 NavSatStatus.cpp122 行定义.

被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::deserialize().

+ 这是这个函数的调用关系图:

◆ getCdrSerializedSize()

size_t sensor_msgs::msg::NavSatStatus::getCdrSerializedSize ( const sensor_msgs::msg::NavSatStatus & data,
size_t current_alignment = 0 )
static

This function returns the serialized size of a data depending on the buffer alignment.

参数
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
返回
Serialized size.

在文件 NavSatStatus.cpp103 行定义.

被这些函数引用 sensor_msgs::msg::NavSatFix::getCdrSerializedSize() , 以及 sensor_msgs::msg::NavSatStatusPubSubType::getSerializedSizeProvider().

+ 这是这个函数的调用关系图:

◆ getKeyMaxCdrSerializedSize()

size_t sensor_msgs::msg::NavSatStatus::getKeyMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 NavSatStatus.cpp185 行定义.

引用了 sensor_msgs_msg_NavSatStatus_max_key_cdr_typesize.

被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::getKey() , 以及 sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().

+ 这是这个函数的调用关系图:

◆ getMaxCdrSerializedSize()

size_t sensor_msgs::msg::NavSatStatus::getMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 NavSatStatus.cpp96 行定义.

引用了 sensor_msgs_msg_NavSatStatus_max_cdr_typesize.

被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().

+ 这是这个函数的调用关系图:

◆ isKeyDefined()

bool sensor_msgs::msg::NavSatStatus::isKeyDefined ( )
static

This function tells you if the Key has been defined for this type

在文件 NavSatStatus.cpp192 行定义.

被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::NavSatStatusPubSubType().

+ 这是这个函数的调用关系图:

◆ operator!=()

bool sensor_msgs::msg::NavSatStatus::operator!= ( const NavSatStatus & x) const

Comparison operator.

参数
xsensor_msgs::msg::NavSatStatus object to compare.

在文件 NavSatStatus.cpp90 行定义.

◆ operator=() [1/2]

sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatStatus::operator= ( const NavSatStatus & x)

Copy assignment.

参数
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

在文件 NavSatStatus.cpp66 行定义.

引用了 m_service , 以及 m_status.

◆ operator=() [2/2]

sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatStatus::operator= ( NavSatStatus && x)
noexcept

Move assignment.

参数
xReference to the object sensor_msgs::msg::NavSatStatus that will be copied.

在文件 NavSatStatus.cpp75 行定义.

引用了 m_status.

◆ operator==()

bool sensor_msgs::msg::NavSatStatus::operator== ( const NavSatStatus & x) const

Comparison operator.

参数
xsensor_msgs::msg::NavSatStatus object to compare.

在文件 NavSatStatus.cpp84 行定义.

引用了 m_service , 以及 m_status.

◆ serialize()

void sensor_msgs::msg::NavSatStatus::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 NavSatStatus.cpp115 行定义.

被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::serialize().

+ 这是这个函数的调用关系图:

◆ serializeKey()

void sensor_msgs::msg::NavSatStatus::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

This function serializes the key members of an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 NavSatStatus.cpp197 行定义.

被这些函数引用 sensor_msgs::msg::NavSatStatusPubSubType::getKey().

+ 这是这个函数的调用关系图:

◆ service() [1/3]

uint16_t & sensor_msgs::msg::NavSatStatus::service ( )

This function returns a reference to member service

返回
Reference to member service

在文件 NavSatStatus.cpp180 行定义.

◆ service() [2/3]

uint16_t sensor_msgs::msg::NavSatStatus::service ( ) const

This function returns the value of member service

返回
Value of member service

在文件 NavSatStatus.cpp171 行定义.

◆ service() [3/3]

void sensor_msgs::msg::NavSatStatus::service ( uint16_t _service)

This function sets a value in member service

参数
_serviceNew value for member service

在文件 NavSatStatus.cpp161 行定义.

◆ status() [1/3]

uint8_t & sensor_msgs::msg::NavSatStatus::status ( )

This function returns a reference to member status

返回
Reference to member status

在文件 NavSatStatus.cpp152 行定义.

◆ status() [2/3]

uint8_t sensor_msgs::msg::NavSatStatus::status ( ) const

This function returns the value of member status

返回
Value of member status

在文件 NavSatStatus.cpp143 行定义.

◆ status() [3/3]

void sensor_msgs::msg::NavSatStatus::status ( uint8_t _status)

This function sets a value in member status

参数
_statusNew value for member status

在文件 NavSatStatus.cpp133 行定义.

类成员变量说明

◆ m_service

uint16_t sensor_msgs::msg::NavSatStatus::m_service
private

在文件 NavSatStatus.h228 行定义.

被这些函数引用 NavSatStatus(), NavSatStatus(), operator=() , 以及 operator==().

◆ m_status

uint8_t sensor_msgs::msg::NavSatStatus::m_status
private

在文件 NavSatStatus.h227 行定义.

被这些函数引用 NavSatStatus(), NavSatStatus(), operator=(), operator=() , 以及 operator==().


该类的文档由以下文件生成: