This class represents the structure Transform defined by the user in the IDL file. 更多...
#include <Transform.h>
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 Transform & | operator= (const Transform &x) |
Copy assignment. | |
eProsima_user_DllExport Transform & | operator= (Transform &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const Transform &x) const |
Comparison operator. | |
eProsima_user_DllExport geometry_msgs::msg::Quaternion & | rotation () |
This function returns a reference to member rotation | |
eProsima_user_DllExport const geometry_msgs::msg::Quaternion & | rotation () 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::Vector3 & | translation () |
This function returns a reference to member translation | |
eProsima_user_DllExport const geometry_msgs::msg::Vector3 & | translation () 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.h 第 73 行定义.
geometry_msgs::msg::Transform::Transform | ( | ) |
Default constructor.
在文件 Transform.cpp 第 44 行定义.
geometry_msgs::msg::Transform::~Transform | ( | ) |
Default destructor.
在文件 Transform.cpp 第 48 行定义.
geometry_msgs::msg::Transform::Transform | ( | const Transform & | x | ) |
Copy constructor.
x | Reference to the object geometry_msgs::msg::Transform that will be copied. |
在文件 Transform.cpp 第 52 行定义.
引用了 m_rotation , 以及 m_translation.
|
noexcept |
Move constructor.
x | Reference to the object geometry_msgs::msg::Transform that will be copied. |
在文件 Transform.cpp 第 59 行定义.
void geometry_msgs::msg::Transform::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Transform.cpp 第 121 行定义.
被这些函数引用 geometry_msgs::msg::TransformPubSubType::deserialize().
|
static |
This function returns the serialized size of a data depending on the buffer alignment.
data | Data which is calculated its serialized size. |
current_alignment | Buffer alignment. |
在文件 Transform.cpp 第 103 行定义.
引用了 geometry_msgs::msg::Quaternion::getCdrSerializedSize(), geometry_msgs::msg::Vector3::getCdrSerializedSize(), rotation() , 以及 translation().
被这些函数引用 geometry_msgs::msg::TransformStamped::getCdrSerializedSize() , 以及 geometry_msgs::msg::TransformPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Transform.cpp 第 203 行定义.
引用了 geometry_msgs_msg_Transform_max_key_cdr_typesize.
被这些函数引用 geometry_msgs::msg::TransformPubSubType::getKey() , 以及 geometry_msgs::msg::TransformPubSubType::TransformPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Transform.cpp 第 96 行定义.
引用了 geometry_msgs_msg_Transform_max_cdr_typesize.
被这些函数引用 geometry_msgs::msg::TransformPubSubType::TransformPubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 Transform.cpp 第 210 行定义.
被这些函数引用 geometry_msgs::msg::TransformPubSubType::TransformPubSubType().
bool geometry_msgs::msg::Transform::operator!= | ( | const Transform & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::Transform object to compare. |
在文件 Transform.cpp 第 90 行定义.
geometry_msgs::msg::Transform & geometry_msgs::msg::Transform::operator= | ( | const Transform & | x | ) |
Copy assignment.
x | Reference to the object geometry_msgs::msg::Transform that will be copied. |
在文件 Transform.cpp 第 66 行定义.
引用了 m_rotation , 以及 m_translation.
|
noexcept |
Move assignment.
x | Reference to the object geometry_msgs::msg::Transform that will be copied. |
在文件 Transform.cpp 第 75 行定义.
bool geometry_msgs::msg::Transform::operator== | ( | const Transform & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::Transform object to compare. |
在文件 Transform.cpp 第 84 行定义.
引用了 m_rotation , 以及 m_translation.
geometry_msgs::msg::Quaternion & geometry_msgs::msg::Transform::rotation | ( | ) |
This function returns a reference to member rotation
在文件 Transform.cpp 第 198 行定义.
const geometry_msgs::msg::Quaternion & geometry_msgs::msg::Transform::rotation | ( | ) | const |
This function returns a constant reference to member rotation
在文件 Transform.cpp 第 189 行定义.
void geometry_msgs::msg::Transform::rotation | ( | const geometry_msgs::msg::Quaternion & | _rotation | ) |
This function copies the value in member rotation
_rotation | New value to be copied in member rotation |
在文件 Transform.cpp 第 169 行定义.
被这些函数引用 getCdrSerializedSize() , 以及 carla::ros2::CarlaTransformPublisher::SetData().
void geometry_msgs::msg::Transform::rotation | ( | geometry_msgs::msg::Quaternion && | _rotation | ) |
This function moves the value in member rotation
_rotation | New value to be moved in member rotation |
在文件 Transform.cpp 第 179 行定义.
void geometry_msgs::msg::Transform::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Transform.cpp 第 114 行定义.
被这些函数引用 geometry_msgs::msg::TransformPubSubType::serialize().
void geometry_msgs::msg::Transform::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Transform.cpp 第 215 行定义.
被这些函数引用 geometry_msgs::msg::TransformPubSubType::getKey().
geometry_msgs::msg::Vector3 & geometry_msgs::msg::Transform::translation | ( | ) |
This function returns a reference to member translation
在文件 Transform.cpp 第 161 行定义.
const geometry_msgs::msg::Vector3 & geometry_msgs::msg::Transform::translation | ( | ) | const |
This function returns a constant reference to member translation
在文件 Transform.cpp 第 152 行定义.
void geometry_msgs::msg::Transform::translation | ( | const geometry_msgs::msg::Vector3 & | _translation | ) |
This function copies the value in member translation
_translation | New value to be copied in member translation |
在文件 Transform.cpp 第 132 行定义.
被这些函数引用 getCdrSerializedSize() , 以及 carla::ros2::CarlaTransformPublisher::SetData().
void geometry_msgs::msg::Transform::translation | ( | geometry_msgs::msg::Vector3 && | _translation | ) |
This function moves the value in member translation
_translation | New value to be moved in member translation |
在文件 Transform.cpp 第 142 行定义.
|
private |
在文件 ros2/types/Transform.h 第 236 行定义.
被这些函数引用 operator=(), operator==() , 以及 Transform().
|
private |
在文件 ros2/types/Transform.h 第 235 行定义.
被这些函数引用 operator=(), operator==() , 以及 Transform().