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

此类表示IDL文件中定义的Pose结构。
<> 更多...

#include <Pose.h>

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

Public 成员函数

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 使用CDR序列化对对象进行反序列化。

 
eProsima_user_DllExport bool operator!= (const Pose &x) const
 比较运算符。

 
eProsima_user_DllExport Poseoperator= (const Pose &x)
 拷贝赋值运算符。

 
eProsima_user_DllExport Poseoperator= (Pose &&x) noexcept
 移动赋值运算符。

 
eProsima_user_DllExport bool operator== (const Pose &x) const
 比较运算符。

 
eProsima_user_DllExport geometry_msgs::msg::Quaternionorientation ()
 返回成员orientation的引用。

 
eProsima_user_DllExport const geometry_msgs::msg::Quaternionorientation () const
 返回成员orientation的常量引用。

 
eProsima_user_DllExport void orientation (const geometry_msgs::msg::Quaternion &_orientation)
 复制成员orientation的值。

 
eProsima_user_DllExport void orientation (geometry_msgs::msg::Quaternion &&_orientation)
 移动成员orientation的值。

 
eProsima_user_DllExport Pose ()
 默认构造函数。

 
eProsima_user_DllExport Pose (const Pose &x)
 拷贝构造函数。

 
eProsima_user_DllExport Pose (Pose &&x) noexcept
 移动构造函数。

 
eProsima_user_DllExport geometry_msgs::msg::Pointposition ()
 返回成员position的引用。

 
eProsima_user_DllExport const geometry_msgs::msg::Pointposition () const
 返回成员position的常量引用。

 
eProsima_user_DllExport void position (const geometry_msgs::msg::Point &_position)
 复制成员position的值。

 
eProsima_user_DllExport void position (geometry_msgs::msg::Point &&_position)
 移动成员position的值。

 
eProsima_user_DllExport void serialize (eprosima::fastcdr::Cdr &cdr) const
 使用CDR序列化对对象进行序列化。

 
eProsima_user_DllExport void serializeKey (eprosima::fastcdr::Cdr &cdr) const
 使用CDR序列化序列化对象的键成员。

 
eProsima_user_DllExport ~Pose ()
 默认析构函数。

 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const geometry_msgs::msg::Pose &data, size_t current_alignment=0)
 返回数据的序列化大小,取决于缓冲区对齐。

 
static eProsima_user_DllExport size_t getKeyMaxCdrSerializedSize (size_t current_alignment=0)
 返回对象键的最大序列化大小,取决于缓冲区对齐。

 
static eProsima_user_DllExport size_t getMaxCdrSerializedSize (size_t current_alignment=0)
 返回对象的最大序列化大小,取决于缓冲区对齐。

 
static eProsima_user_DllExport bool isKeyDefined ()
 告诉您是否为此类型定义了键。

 

Private 属性

geometry_msgs::msg::Quaternion m_orientation
 
geometry_msgs::msg::Point m_position
 

详细描述

此类表示IDL文件中定义的Pose结构。
<>

在文件 Pose.h74 行定义.

构造及析构函数说明

◆ Pose() [1/3]

geometry_msgs::msg::Pose::Pose ( )

默认构造函数。

在文件 Pose.cpp44 行定义.

◆ ~Pose()

geometry_msgs::msg::Pose::~Pose ( )

默认析构函数。

在文件 Pose.cpp48 行定义.

◆ Pose() [2/3]

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

拷贝构造函数。

参数
x要复制的geometry_msgs::msg::Pose对象的引用。

在文件 Pose.cpp54 行定义.

引用了 m_orientation , 以及 m_position.

◆ Pose() [3/3]

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

移动构造函数。

参数
x要复制的geometry_msgs::msg::Pose对象的引用。

在文件 Pose.cpp63 行定义.

成员函数说明

◆ deserialize()

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

使用CDR序列化对对象进行反序列化。

参数
cdrCDR序列化对象。

在文件 Pose.cpp136 行定义.

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

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

◆ getCdrSerializedSize()

size_t geometry_msgs::msg::Pose::getCdrSerializedSize ( const geometry_msgs::msg::Pose & data,
size_t current_alignment = 0 )
static

返回数据的序列化大小,取决于缓冲区对齐。

参数
data要计算其序列化大小的数据。
current_alignment缓冲区对齐。
返回
序列化大小。

在文件 Pose.cpp118 行定义.

引用了 current_alignment, geometry_msgs::msg::Point::getCdrSerializedSize(), geometry_msgs::msg::Quaternion::getCdrSerializedSize(), initial_alignment, orientation() , 以及 position().

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

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

◆ getKeyMaxCdrSerializedSize()

size_t geometry_msgs::msg::Pose::getKeyMaxCdrSerializedSize ( size_t current_alignment = 0)
static

返回对象键的最大序列化大小,取决于缓冲区对齐。

参数
current_alignment缓冲区对齐。
返回
最大序列化大小。

在文件 Pose.cpp220 行定义.

引用了 current_alignment , 以及 geometry_msgs_msg_Pose_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

size_t geometry_msgs::msg::Pose::getMaxCdrSerializedSize ( size_t current_alignment = 0)
static

返回对象的最大序列化大小,取决于缓冲区对齐。

参数
current_alignment缓冲区对齐。
返回
最大序列化大小。

在文件 Pose.cpp109 行定义.

引用了 current_alignment , 以及 geometry_msgs_msg_Pose_max_cdr_typesize.

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

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

◆ isKeyDefined()

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

告诉您是否为此类型定义了键。

在文件 Pose.cpp227 行定义.

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

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

◆ operator!=()

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

比较运算符。

参数
x要比较的geometry_msgs::msg::Pose对象。

在文件 Pose.cpp102 行定义.

◆ operator=() [1/2]

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

拷贝赋值运算符。

参数
x要复制的geometry_msgs::msg::Pose对象的引用。

在文件 Pose.cpp72 行定义.

引用了 m_orientation , 以及 m_position.

◆ operator=() [2/2]

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

移动赋值运算符。

参数
x要复制的geometry_msgs::msg::Pose对象的引用。

在文件 Pose.cpp83 行定义.

◆ operator==()

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

比较运算符。

参数
x要比较的geometry_msgs::msg::Pose对象。

在文件 Pose.cpp94 行定义.

引用了 m_orientation , 以及 m_position.

◆ orientation() [1/4]

geometry_msgs::msg::Quaternion & geometry_msgs::msg::Pose::orientation ( )

返回成员orientation的引用。

This function returns a reference to member orientation

返回
成员orientation的引用。
Reference to member orientation

在文件 Pose.cpp214 行定义.

◆ orientation() [2/4]

const geometry_msgs::msg::Quaternion & geometry_msgs::msg::Pose::orientation ( ) const

返回成员orientation的常量引用。

This function returns a constant reference to member orientation

返回
成员orientation的常量引用。
Constant reference to member orientation

在文件 Pose.cpp205 行定义.

◆ orientation() [3/4]

void geometry_msgs::msg::Pose::orientation ( const geometry_msgs::msg::Quaternion & _orientation)

复制成员orientation的值。

This function copies the value in member orientation

参数
_orientation要复制到成员orientation的新值。
_orientationNew value to be copied in member orientation

在文件 Pose.cpp185 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ orientation() [4/4]

void geometry_msgs::msg::Pose::orientation ( geometry_msgs::msg::Quaternion && _orientation)

移动成员orientation的值。

This function moves the value in member orientation

参数
_orientation要移动到成员orientation的新值。
_orientationNew value to be moved in member orientation

在文件 Pose.cpp195 行定义.

◆ position() [1/4]

geometry_msgs::msg::Point & geometry_msgs::msg::Pose::position ( )

返回成员position的引用。

This function returns a reference to member position

返回
成员position的引用。
Reference to member position

在文件 Pose.cpp176 行定义.

◆ position() [2/4]

const geometry_msgs::msg::Point & geometry_msgs::msg::Pose::position ( ) const

返回成员position的常量引用。

This function returns a constant reference to member position

返回
成员position的常量引用。
Constant reference to member position

在文件 Pose.cpp167 行定义.

◆ position() [3/4]

void geometry_msgs::msg::Pose::position ( const geometry_msgs::msg::Point & _position)

复制成员position的值。

This function copies the value in member position

参数
_position要复制到成员position的新值。
_positionNew value to be copied in member position

在文件 Pose.cpp147 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ position() [4/4]

void geometry_msgs::msg::Pose::position ( geometry_msgs::msg::Point && _position)

移动成员position的值。

This function moves the value in member position

参数
_position要移动到成员position的新值。
_positionNew value to be moved in member position

在文件 Pose.cpp157 行定义.

◆ serialize()

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

使用CDR序列化对对象进行序列化。

参数
cdrCDR序列化对象。

在文件 Pose.cpp129 行定义.

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

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

◆ serializeKey()

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

使用CDR序列化序列化对象的键成员。

参数
cdrCDR序列化对象。

在文件 Pose.cpp232 行定义.

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

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

类成员变量说明

◆ m_orientation

geometry_msgs::msg::Quaternion geometry_msgs::msg::Pose::m_orientation
private

在文件 Pose.h238 行定义.

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

◆ m_position

geometry_msgs::msg::Point geometry_msgs::msg::Pose::m_position
private

在文件 Pose.h237 行定义.

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


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