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

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

#include <Transform.h>

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

Public 成员函数

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport bool operator!= (const Transform &x) const
 Comparison operator.
 
eProsima_user_DllExport Transformoperator= (const Transform &x)
 Copy assignment.
 
eProsima_user_DllExport Transformoperator= (Transform &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const Transform &x) const
 Comparison operator.
 
eProsima_user_DllExport geometry_msgs::msg::Quaternionrotation ()
 This function returns a reference to member rotation
 
eProsima_user_DllExport const geometry_msgs::msg::Quaternionrotation () const
 This function returns a constant reference to member rotation
 
eProsima_user_DllExport void rotation (const geometry_msgs::msg::Quaternion &_rotation)
 This function copies the value in member rotation
 
eProsima_user_DllExport void rotation (geometry_msgs::msg::Quaternion &&_rotation)
 This function moves the value in member rotation
 
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 Transform ()
 Default constructor.
 
eProsima_user_DllExport Transform (const Transform &x)
 Copy constructor.
 
eProsima_user_DllExport Transform (Transform &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport geometry_msgs::msg::Vector3translation ()
 This function returns a reference to member translation
 
eProsima_user_DllExport const geometry_msgs::msg::Vector3translation () const
 This function returns a constant reference to member translation
 
eProsima_user_DllExport void translation (const geometry_msgs::msg::Vector3 &_translation)
 This function copies the value in member translation
 
eProsima_user_DllExport void translation (geometry_msgs::msg::Vector3 &&_translation)
 This function moves the value in member translation
 
eProsima_user_DllExport ~Transform ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const geometry_msgs::msg::Transform &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_rotation
 
geometry_msgs::msg::Vector3 m_translation
 

详细描述

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

在文件 ros2/types/Transform.h73 行定义.

构造及析构函数说明

◆ Transform() [1/3]

geometry_msgs::msg::Transform::Transform ( )

Default constructor.

在文件 Transform.cpp44 行定义.

◆ ~Transform()

geometry_msgs::msg::Transform::~Transform ( )

Default destructor.

在文件 Transform.cpp48 行定义.

◆ Transform() [2/3]

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

Copy constructor.

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

在文件 Transform.cpp52 行定义.

引用了 m_rotation , 以及 m_translation.

◆ Transform() [3/3]

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

Move constructor.

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

在文件 Transform.cpp59 行定义.

成员函数说明

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Transform.cpp121 行定义.

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

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

◆ getCdrSerializedSize()

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

在文件 Transform.cpp103 行定义.

引用了 geometry_msgs::msg::Quaternion::getCdrSerializedSize(), geometry_msgs::msg::Vector3::getCdrSerializedSize(), rotation() , 以及 translation().

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

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

◆ getKeyMaxCdrSerializedSize()

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

在文件 Transform.cpp203 行定义.

引用了 geometry_msgs_msg_Transform_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

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

在文件 Transform.cpp96 行定义.

引用了 geometry_msgs_msg_Transform_max_cdr_typesize.

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

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

◆ isKeyDefined()

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

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

在文件 Transform.cpp210 行定义.

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

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

◆ operator!=()

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

Comparison operator.

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

在文件 Transform.cpp90 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 Transform.cpp66 行定义.

引用了 m_rotation , 以及 m_translation.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 Transform.cpp75 行定义.

◆ operator==()

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

Comparison operator.

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

在文件 Transform.cpp84 行定义.

引用了 m_rotation , 以及 m_translation.

◆ rotation() [1/4]

geometry_msgs::msg::Quaternion & geometry_msgs::msg::Transform::rotation ( )

This function returns a reference to member rotation

返回
Reference to member rotation

在文件 Transform.cpp198 行定义.

◆ rotation() [2/4]

const geometry_msgs::msg::Quaternion & geometry_msgs::msg::Transform::rotation ( ) const

This function returns a constant reference to member rotation

返回
Constant reference to member rotation

在文件 Transform.cpp189 行定义.

◆ rotation() [3/4]

void geometry_msgs::msg::Transform::rotation ( const geometry_msgs::msg::Quaternion & _rotation)

This function copies the value in member rotation

参数
_rotationNew value to be copied in member rotation

在文件 Transform.cpp169 行定义.

被这些函数引用 getCdrSerializedSize() , 以及 carla::ros2::CarlaTransformPublisher::SetData().

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

◆ rotation() [4/4]

void geometry_msgs::msg::Transform::rotation ( geometry_msgs::msg::Quaternion && _rotation)

This function moves the value in member rotation

参数
_rotationNew value to be moved in member rotation

在文件 Transform.cpp179 行定义.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Transform.cpp114 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 Transform.cpp215 行定义.

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

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

◆ translation() [1/4]

geometry_msgs::msg::Vector3 & geometry_msgs::msg::Transform::translation ( )

This function returns a reference to member translation

返回
Reference to member translation

在文件 Transform.cpp161 行定义.

◆ translation() [2/4]

const geometry_msgs::msg::Vector3 & geometry_msgs::msg::Transform::translation ( ) const

This function returns a constant reference to member translation

返回
Constant reference to member translation

在文件 Transform.cpp152 行定义.

◆ translation() [3/4]

void geometry_msgs::msg::Transform::translation ( const geometry_msgs::msg::Vector3 & _translation)

This function copies the value in member translation

参数
_translationNew value to be copied in member translation

在文件 Transform.cpp132 行定义.

被这些函数引用 getCdrSerializedSize() , 以及 carla::ros2::CarlaTransformPublisher::SetData().

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

◆ translation() [4/4]

void geometry_msgs::msg::Transform::translation ( geometry_msgs::msg::Vector3 && _translation)

This function moves the value in member translation

参数
_translationNew value to be moved in member translation

在文件 Transform.cpp142 行定义.

类成员变量说明

◆ m_rotation

geometry_msgs::msg::Quaternion geometry_msgs::msg::Transform::m_rotation
private

在文件 ros2/types/Transform.h236 行定义.

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

◆ m_translation

geometry_msgs::msg::Vector3 geometry_msgs::msg::Transform::m_translation
private

在文件 ros2/types/Transform.h235 行定义.

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


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