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

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

#include <Pose.h>

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

Public 成员函数

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport bool operator!= (const Pose &x) const
 Comparison operator.
 
eProsima_user_DllExport Poseoperator= (const Pose &x)
 Copy assignment.
 
eProsima_user_DllExport Poseoperator= (Pose &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const Pose &x) const
 Comparison operator.
 
eProsima_user_DllExport geometry_msgs::msg::Quaternionorientation ()
 This function returns a reference to member orientation
 
eProsima_user_DllExport const geometry_msgs::msg::Quaternionorientation () const
 This function returns a constant reference to member orientation
 
eProsima_user_DllExport void orientation (const geometry_msgs::msg::Quaternion &_orientation)
 This function copies the value in member orientation
 
eProsima_user_DllExport void orientation (geometry_msgs::msg::Quaternion &&_orientation)
 This function moves the value in member orientation
 
eProsima_user_DllExport Pose ()
 Default constructor.
 
eProsima_user_DllExport Pose (const Pose &x)
 Copy constructor.
 
eProsima_user_DllExport Pose (Pose &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport geometry_msgs::msg::Pointposition ()
 This function returns a reference to member position
 
eProsima_user_DllExport const geometry_msgs::msg::Pointposition () const
 This function returns a constant reference to member position
 
eProsima_user_DllExport void position (const geometry_msgs::msg::Point &_position)
 This function copies the value in member position
 
eProsima_user_DllExport void position (geometry_msgs::msg::Point &&_position)
 This function moves the value in member position
 
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 ~Pose ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const geometry_msgs::msg::Pose &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::Quaternion m_orientation
 
geometry_msgs::msg::Point m_position
 

详细描述

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

在文件 Pose.h73 行定义.

构造及析构函数说明

◆ Pose() [1/3]

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

Default constructor.

在文件 Pose.cpp44 行定义.

◆ ~Pose()

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

Default destructor.

在文件 Pose.cpp48 行定义.

◆ Pose() [2/3]

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

Copy constructor.

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

在文件 Pose.cpp52 行定义.

引用了 m_orientation , 以及 m_position.

◆ Pose() [3/3]

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

Move constructor.

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

在文件 Pose.cpp59 行定义.

成员函数说明

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Pose.cpp121 行定义.

被这些函数引用 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

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.

在文件 Pose.cpp103 行定义.

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

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

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

◆ getKeyMaxCdrSerializedSize()

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

在文件 Pose.cpp205 行定义.

引用了 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

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

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 Pose.cpp96 行定义.

引用了 geometry_msgs_msg_Pose_max_cdr_typesize.

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

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

◆ isKeyDefined()

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

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

在文件 Pose.cpp212 行定义.

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

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

◆ operator!=()

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

Comparison operator.

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

在文件 Pose.cpp90 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 Pose.cpp66 行定义.

引用了 m_orientation , 以及 m_position.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 Pose.cpp75 行定义.

◆ operator==()

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

Comparison operator.

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

在文件 Pose.cpp84 行定义.

引用了 m_orientation , 以及 m_position.

◆ orientation() [1/4]

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

This function returns a reference to member orientation

返回
Reference to member orientation

在文件 Pose.cpp199 行定义.

◆ orientation() [2/4]

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

This function returns a constant reference to member orientation

返回
Constant reference to member orientation

在文件 Pose.cpp190 行定义.

◆ orientation() [3/4]

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

This function copies the value in member orientation

参数
_orientationNew value to be copied in member orientation

在文件 Pose.cpp170 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ orientation() [4/4]

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

This function moves the value in member orientation

参数
_orientationNew value to be moved in member orientation

在文件 Pose.cpp180 行定义.

◆ position() [1/4]

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

This function returns a reference to member position

返回
Reference to member position

在文件 Pose.cpp161 行定义.

◆ position() [2/4]

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

This function returns a constant reference to member position

返回
Constant reference to member position

在文件 Pose.cpp152 行定义.

◆ position() [3/4]

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

This function copies the value in member position

参数
_positionNew value to be copied in member position

在文件 Pose.cpp132 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ position() [4/4]

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

This function moves the value in member position

参数
_positionNew value to be moved in member position

在文件 Pose.cpp142 行定义.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Pose.cpp114 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 Pose.cpp217 行定义.

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

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

类成员变量说明

◆ m_orientation

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

在文件 Pose.h236 行定义.

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

◆ m_position

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

在文件 Pose.h235 行定义.

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


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