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

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

#include <NavSatFix.h>

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

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::Headerheader ()
 This function returns a reference to member header
 
eProsima_user_DllExport const std_msgs::msg::Headerheader () 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 NavSatFixoperator= (const NavSatFix &x)
 Copy assignment.
 
eProsima_user_DllExport NavSatFixoperator= (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_9position_covariance ()
 This function returns a reference to member position_covariance
 
eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9position_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::NavSatStatusstatus ()
 This function returns a reference to member status
 
eProsima_user_DllExport const sensor_msgs::msg::NavSatStatusstatus () 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
 

Private 属性

double m_altitude
 
std_msgs::msg::Header m_header
 
double m_latitude
 
double m_longitude
 
sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 m_position_covariance
 
uint8_t m_position_covariance_type
 
sensor_msgs::msg::NavSatStatus m_status
 

详细描述

This class represents the structure NavSatFix defined by the user in the IDL file.

在文件 NavSatFix.h78 行定义.

构造及析构函数说明

◆ NavSatFix() [1/3]

sensor_msgs::msg::NavSatFix::NavSatFix ( )

Default constructor.

在文件 NavSatFix.cpp47 行定义.

引用了 m_altitude, m_latitude, m_longitude, m_position_covariance , 以及 m_position_covariance_type.

◆ ~NavSatFix()

sensor_msgs::msg::NavSatFix::~NavSatFix ( )

Default destructor.

在文件 NavSatFix.cpp65 行定义.

◆ NavSatFix() [2/3]

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

Copy constructor.

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

在文件 NavSatFix.cpp69 行定义.

引用了 m_altitude, m_header, m_latitude, m_longitude, m_position_covariance, m_position_covariance_type , 以及 m_status.

◆ NavSatFix() [3/3]

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

Move constructor.

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

在文件 NavSatFix.cpp81 行定义.

成员函数说明

◆ altitude() [1/3]

double & sensor_msgs::msg::NavSatFix::altitude ( )

This function returns a reference to member altitude

返回
Reference to member altitude

在文件 NavSatFix.cpp335 行定义.

◆ altitude() [2/3]

double sensor_msgs::msg::NavSatFix::altitude ( ) const

This function returns the value of member altitude

返回
Value of member altitude

在文件 NavSatFix.cpp326 行定义.

◆ altitude() [3/3]

void sensor_msgs::msg::NavSatFix::altitude ( double _altitude)

This function sets a value in member altitude

参数
_altitudeNew value for member altitude

在文件 NavSatFix.cpp316 行定义.

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 NavSatFix.cpp168 行定义.

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

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

◆ getCdrSerializedSize()

size_t sensor_msgs::msg::NavSatFix::getCdrSerializedSize ( const sensor_msgs::msg::NavSatFix & 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.

在文件 NavSatFix.cpp140 行定义.

引用了 sensor_msgs::msg::NavSatStatus::getCdrSerializedSize(), std_msgs::msg::Header::getCdrSerializedSize(), header() , 以及 status().

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

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

◆ getKeyMaxCdrSerializedSize()

size_t sensor_msgs::msg::NavSatFix::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.

在文件 NavSatFix.cpp405 行定义.

引用了 sensor_msgs_msg_NavSatFix_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

size_t sensor_msgs::msg::NavSatFix::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.

在文件 NavSatFix.cpp133 行定义.

引用了 sensor_msgs_msg_NavSatFix_max_cdr_typesize.

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

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

◆ header() [1/4]

std_msgs::msg::Header & sensor_msgs::msg::NavSatFix::header ( )

This function returns a reference to member header

返回
Reference to member header

在文件 NavSatFix.cpp213 行定义.

◆ header() [2/4]

const std_msgs::msg::Header & sensor_msgs::msg::NavSatFix::header ( ) const

This function returns a constant reference to member header

返回
Constant reference to member header

在文件 NavSatFix.cpp204 行定义.

◆ header() [3/4]

void sensor_msgs::msg::NavSatFix::header ( const std_msgs::msg::Header & _header)

This function copies the value in member header

参数
_headerNew value to be copied in member header

在文件 NavSatFix.cpp184 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ header() [4/4]

void sensor_msgs::msg::NavSatFix::header ( std_msgs::msg::Header && _header)

This function moves the value in member header

参数
_headerNew value to be moved in member header

在文件 NavSatFix.cpp194 行定义.

◆ isKeyDefined()

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

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

在文件 NavSatFix.cpp412 行定义.

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

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

◆ latitude() [1/3]

double & sensor_msgs::msg::NavSatFix::latitude ( )

This function returns a reference to member latitude

返回
Reference to member latitude

在文件 NavSatFix.cpp279 行定义.

◆ latitude() [2/3]

double sensor_msgs::msg::NavSatFix::latitude ( ) const

This function returns the value of member latitude

返回
Value of member latitude

在文件 NavSatFix.cpp270 行定义.

◆ latitude() [3/3]

void sensor_msgs::msg::NavSatFix::latitude ( double _latitude)

This function sets a value in member latitude

参数
_latitudeNew value for member latitude

在文件 NavSatFix.cpp260 行定义.

◆ longitude() [1/3]

double & sensor_msgs::msg::NavSatFix::longitude ( )

This function returns a reference to member longitude

返回
Reference to member longitude

在文件 NavSatFix.cpp307 行定义.

◆ longitude() [2/3]

double sensor_msgs::msg::NavSatFix::longitude ( ) const

This function returns the value of member longitude

返回
Value of member longitude

在文件 NavSatFix.cpp298 行定义.

◆ longitude() [3/3]

void sensor_msgs::msg::NavSatFix::longitude ( double _longitude)

This function sets a value in member longitude

参数
_longitudeNew value for member longitude

在文件 NavSatFix.cpp288 行定义.

◆ operator!=()

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

Comparison operator.

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

在文件 NavSatFix.cpp127 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 NavSatFix.cpp93 行定义.

引用了 m_altitude, m_header, m_latitude, m_longitude, m_position_covariance, m_position_covariance_type , 以及 m_status.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 NavSatFix.cpp107 行定义.

◆ operator==()

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

Comparison operator.

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

在文件 NavSatFix.cpp121 行定义.

引用了 m_altitude, m_header, m_latitude, m_longitude, m_position_covariance, m_position_covariance_type , 以及 m_status.

◆ position_covariance() [1/4]

sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 & sensor_msgs::msg::NavSatFix::position_covariance ( )

This function returns a reference to member position_covariance

返回
Reference to member position_covariance

在文件 NavSatFix.cpp373 行定义.

◆ position_covariance() [2/4]

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

返回
Constant reference to member position_covariance

在文件 NavSatFix.cpp364 行定义.

◆ position_covariance() [3/4]

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_covarianceNew value to be copied in member position_covariance

在文件 NavSatFix.cpp344 行定义.

◆ position_covariance() [4/4]

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_covarianceNew value to be moved in member position_covariance

在文件 NavSatFix.cpp354 行定义.

◆ position_covariance_type() [1/3]

uint8_t & sensor_msgs::msg::NavSatFix::position_covariance_type ( )

This function returns a reference to member position_covariance_type

返回
Reference to member position_covariance_type

在文件 NavSatFix.cpp400 行定义.

◆ position_covariance_type() [2/3]

uint8_t sensor_msgs::msg::NavSatFix::position_covariance_type ( ) const

This function returns the value of member position_covariance_type

返回
Value of member position_covariance_type

在文件 NavSatFix.cpp391 行定义.

◆ position_covariance_type() [3/3]

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_typeNew value for member position_covariance_type

在文件 NavSatFix.cpp381 行定义.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 NavSatFix.cpp156 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 NavSatFix.cpp417 行定义.

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

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

◆ status() [1/4]

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

This function returns a reference to member status

返回
Reference to member status

在文件 NavSatFix.cpp251 行定义.

◆ status() [2/4]

const sensor_msgs::msg::NavSatStatus & sensor_msgs::msg::NavSatFix::status ( ) const

This function returns a constant reference to member status

返回
Constant reference to member status

在文件 NavSatFix.cpp242 行定义.

◆ status() [3/4]

void sensor_msgs::msg::NavSatFix::status ( const sensor_msgs::msg::NavSatStatus & _status)

This function copies the value in member status

参数
_statusNew value to be copied in member status

在文件 NavSatFix.cpp222 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ status() [4/4]

void sensor_msgs::msg::NavSatFix::status ( sensor_msgs::msg::NavSatStatus && _status)

This function moves the value in member status

参数
_statusNew value to be moved in member status

在文件 NavSatFix.cpp232 行定义.

类成员变量说明

◆ m_altitude

double sensor_msgs::msg::NavSatFix::m_altitude
private

在文件 NavSatFix.h344 行定义.

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

◆ m_header

std_msgs::msg::Header sensor_msgs::msg::NavSatFix::m_header
private

在文件 NavSatFix.h340 行定义.

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

◆ m_latitude

double sensor_msgs::msg::NavSatFix::m_latitude
private

在文件 NavSatFix.h342 行定义.

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

◆ m_longitude

double sensor_msgs::msg::NavSatFix::m_longitude
private

在文件 NavSatFix.h343 行定义.

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

◆ m_position_covariance

sensor_msgs::msg::sensor_msgs__NavSatFix__double_array_9 sensor_msgs::msg::NavSatFix::m_position_covariance
private

在文件 NavSatFix.h345 行定义.

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

◆ m_position_covariance_type

uint8_t sensor_msgs::msg::NavSatFix::m_position_covariance_type
private

在文件 NavSatFix.h346 行定义.

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

◆ m_status

sensor_msgs::msg::NavSatStatus sensor_msgs::msg::NavSatFix::m_status
private

在文件 NavSatFix.h341 行定义.

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


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