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

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

#include <TwistWithCovariance.h>

+ geometry_msgs::msg::TwistWithCovariance 的协作图:

Public 成员函数

eProsima_user_DllExport geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36covariance ()
 This function returns a reference to member covariance
 
eProsima_user_DllExport const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36covariance () const
 This function returns a constant reference to member covariance
 
eProsima_user_DllExport void covariance (const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 &_covariance)
 This function copies the value in member covariance
 
eProsima_user_DllExport void covariance (geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 &&_covariance)
 This function moves the value in member covariance
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport bool operator!= (const TwistWithCovariance &x) const
 Comparison operator.
 
eProsima_user_DllExport TwistWithCovarianceoperator= (const TwistWithCovariance &x)
 Copy assignment.
 
eProsima_user_DllExport TwistWithCovarianceoperator= (TwistWithCovariance &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const TwistWithCovariance &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 geometry_msgs::msg::Twisttwist ()
 This function returns a reference to member twist
 
eProsima_user_DllExport const geometry_msgs::msg::Twisttwist () const
 This function returns a constant reference to member twist
 
eProsima_user_DllExport void twist (const geometry_msgs::msg::Twist &_twist)
 This function copies the value in member twist
 
eProsima_user_DllExport void twist (geometry_msgs::msg::Twist &&_twist)
 This function moves the value in member twist
 
eProsima_user_DllExport TwistWithCovariance ()
 Default constructor.
 
eProsima_user_DllExport TwistWithCovariance (const TwistWithCovariance &x)
 Copy constructor.
 
eProsima_user_DllExport TwistWithCovariance (TwistWithCovariance &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport ~TwistWithCovariance ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const geometry_msgs::msg::TwistWithCovariance &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 属性

geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 m_covariance
 
geometry_msgs::msg::Twist m_twist
 

详细描述

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

在文件 TwistWithCovariance.h74 行定义.

构造及析构函数说明

◆ TwistWithCovariance() [1/3]

geometry_msgs::msg::TwistWithCovariance::TwistWithCovariance ( )

Default constructor.

在文件 TwistWithCovariance.cpp44 行定义.

引用了 m_covariance.

◆ ~TwistWithCovariance()

geometry_msgs::msg::TwistWithCovariance::~TwistWithCovariance ( )

Default destructor.

在文件 TwistWithCovariance.cpp52 行定义.

◆ TwistWithCovariance() [2/3]

geometry_msgs::msg::TwistWithCovariance::TwistWithCovariance ( const TwistWithCovariance & x)

Copy constructor.

参数
xReference to the object geometry_msgs::msg::TwistWithCovariance that will be copied.

在文件 TwistWithCovariance.cpp56 行定义.

引用了 m_covariance , 以及 m_twist.

◆ TwistWithCovariance() [3/3]

geometry_msgs::msg::TwistWithCovariance::TwistWithCovariance ( TwistWithCovariance && x)
noexcept

Move constructor.

参数
xReference to the object geometry_msgs::msg::TwistWithCovariance that will be copied.

在文件 TwistWithCovariance.cpp63 行定义.

成员函数说明

◆ covariance() [1/4]

geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & geometry_msgs::msg::TwistWithCovariance::covariance ( )

This function returns a reference to member covariance

返回
Reference to member covariance

在文件 TwistWithCovariance.cpp203 行定义.

◆ covariance() [2/4]

const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & geometry_msgs::msg::TwistWithCovariance::covariance ( ) const

This function returns a constant reference to member covariance

返回
Constant reference to member covariance

在文件 TwistWithCovariance.cpp194 行定义.

◆ covariance() [3/4]

void geometry_msgs::msg::TwistWithCovariance::covariance ( const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & _covariance)

This function copies the value in member covariance

参数
_covarianceNew value to be copied in member covariance

在文件 TwistWithCovariance.cpp174 行定义.

◆ covariance() [4/4]

void geometry_msgs::msg::TwistWithCovariance::covariance ( geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 && _covariance)

This function moves the value in member covariance

参数
_covarianceNew value to be moved in member covariance

在文件 TwistWithCovariance.cpp184 行定义.

◆ deserialize()

void geometry_msgs::msg::TwistWithCovariance::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TwistWithCovariance.cpp125 行定义.

被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::deserialize().

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

◆ getCdrSerializedSize()

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

在文件 TwistWithCovariance.cpp107 行定义.

引用了 geometry_msgs::msg::Twist::getCdrSerializedSize() , 以及 twist().

被这些函数引用 nav_msgs::msg::Odometry::getCdrSerializedSize() , 以及 geometry_msgs::msg::TwistWithCovariancePubSubType::getSerializedSizeProvider().

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

◆ getKeyMaxCdrSerializedSize()

size_t geometry_msgs::msg::TwistWithCovariance::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.

在文件 TwistWithCovariance.cpp208 行定义.

引用了 geometry_msgs_msg_TwistWithCovariance_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

size_t geometry_msgs::msg::TwistWithCovariance::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.

在文件 TwistWithCovariance.cpp100 行定义.

引用了 geometry_msgs_msg_TwistWithCovariance_max_cdr_typesize.

被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::TwistWithCovariancePubSubType().

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

◆ isKeyDefined()

bool geometry_msgs::msg::TwistWithCovariance::isKeyDefined ( )
static

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

在文件 TwistWithCovariance.cpp215 行定义.

被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::TwistWithCovariancePubSubType().

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

◆ operator!=()

bool geometry_msgs::msg::TwistWithCovariance::operator!= ( const TwistWithCovariance & x) const

Comparison operator.

参数
xgeometry_msgs::msg::TwistWithCovariance object to compare.

在文件 TwistWithCovariance.cpp94 行定义.

◆ operator=() [1/2]

geometry_msgs::msg::TwistWithCovariance & geometry_msgs::msg::TwistWithCovariance::operator= ( const TwistWithCovariance & x)

Copy assignment.

参数
xReference to the object geometry_msgs::msg::TwistWithCovariance that will be copied.

在文件 TwistWithCovariance.cpp70 行定义.

引用了 m_covariance , 以及 m_twist.

◆ operator=() [2/2]

geometry_msgs::msg::TwistWithCovariance & geometry_msgs::msg::TwistWithCovariance::operator= ( TwistWithCovariance && x)
noexcept

Move assignment.

参数
xReference to the object geometry_msgs::msg::TwistWithCovariance that will be copied.

在文件 TwistWithCovariance.cpp79 行定义.

◆ operator==()

bool geometry_msgs::msg::TwistWithCovariance::operator== ( const TwistWithCovariance & x) const

Comparison operator.

参数
xgeometry_msgs::msg::TwistWithCovariance object to compare.

在文件 TwistWithCovariance.cpp88 行定义.

引用了 m_covariance , 以及 m_twist.

◆ serialize()

void geometry_msgs::msg::TwistWithCovariance::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TwistWithCovariance.cpp118 行定义.

被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::serialize().

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

◆ serializeKey()

void geometry_msgs::msg::TwistWithCovariance::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

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

参数
cdrCDR serialization object.

在文件 TwistWithCovariance.cpp220 行定义.

被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::getKey().

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

◆ twist() [1/4]

geometry_msgs::msg::Twist & geometry_msgs::msg::TwistWithCovariance::twist ( )

This function returns a reference to member twist

返回
Reference to member twist

在文件 TwistWithCovariance.cpp165 行定义.

◆ twist() [2/4]

const geometry_msgs::msg::Twist & geometry_msgs::msg::TwistWithCovariance::twist ( ) const

This function returns a constant reference to member twist

返回
Constant reference to member twist

在文件 TwistWithCovariance.cpp156 行定义.

◆ twist() [3/4]

void geometry_msgs::msg::TwistWithCovariance::twist ( const geometry_msgs::msg::Twist & _twist)

This function copies the value in member twist

参数
_twistNew value to be copied in member twist

在文件 TwistWithCovariance.cpp136 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ twist() [4/4]

void geometry_msgs::msg::TwistWithCovariance::twist ( geometry_msgs::msg::Twist && _twist)

This function moves the value in member twist

参数
_twistNew value to be moved in member twist

在文件 TwistWithCovariance.cpp146 行定义.

类成员变量说明

◆ m_covariance

geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 geometry_msgs::msg::TwistWithCovariance::m_covariance
private

在文件 TwistWithCovariance.h237 行定义.

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

◆ m_twist

geometry_msgs::msg::Twist geometry_msgs::msg::TwistWithCovariance::m_twist
private

在文件 TwistWithCovariance.h236 行定义.

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


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