This class represents the structure Pose defined by the user in the IDL file. 更多...
#include <Pose.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 Pose &x) const |
Comparison operator. | |
eProsima_user_DllExport Pose & | operator= (const Pose &x) |
Copy assignment. | |
eProsima_user_DllExport Pose & | operator= (Pose &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const Pose &x) const |
Comparison operator. | |
eProsima_user_DllExport geometry_msgs::msg::Quaternion & | orientation () |
This function returns a reference to member orientation | |
eProsima_user_DllExport const geometry_msgs::msg::Quaternion & | orientation () 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::Point & | position () |
This function returns a reference to member position | |
eProsima_user_DllExport const geometry_msgs::msg::Point & | position () 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 |
geometry_msgs::msg::Pose::Pose | ( | const Pose & | x | ) |
Copy constructor.
x | Reference to the object geometry_msgs::msg::Pose that will be copied. |
引用了 m_orientation , 以及 m_position.
|
noexcept |
Move constructor.
x | Reference to the object geometry_msgs::msg::Pose that will be copied. |
void geometry_msgs::msg::Pose::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 geometry_msgs::msg::PosePubSubType::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. |
引用了 geometry_msgs::msg::Point::getCdrSerializedSize(), geometry_msgs::msg::Quaternion::getCdrSerializedSize(), orientation() , 以及 position().
被这些函数引用 geometry_msgs::msg::PoseWithCovariance::getCdrSerializedSize() , 以及 geometry_msgs::msg::PosePubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
引用了 geometry_msgs_msg_Pose_max_key_cdr_typesize.
被这些函数引用 geometry_msgs::msg::PosePubSubType::getKey() , 以及 geometry_msgs::msg::PosePubSubType::PosePubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
引用了 geometry_msgs_msg_Pose_max_cdr_typesize.
被这些函数引用 geometry_msgs::msg::PosePubSubType::PosePubSubType().
|
static |
This function tells you if the Key has been defined for this type
被这些函数引用 geometry_msgs::msg::PosePubSubType::PosePubSubType().
bool geometry_msgs::msg::Pose::operator!= | ( | const Pose & | x | ) | const |
geometry_msgs::msg::Pose & geometry_msgs::msg::Pose::operator= | ( | const Pose & | x | ) |
Copy assignment.
x | Reference to the object geometry_msgs::msg::Pose that will be copied. |
引用了 m_orientation , 以及 m_position.
|
noexcept |
Move assignment.
x | Reference to the object geometry_msgs::msg::Pose that will be copied. |
bool geometry_msgs::msg::Pose::operator== | ( | const Pose & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::Pose object to compare. |
引用了 m_orientation , 以及 m_position.
geometry_msgs::msg::Quaternion & geometry_msgs::msg::Pose::orientation | ( | ) |
const geometry_msgs::msg::Quaternion & geometry_msgs::msg::Pose::orientation | ( | ) | const |
void geometry_msgs::msg::Pose::orientation | ( | const geometry_msgs::msg::Quaternion & | _orientation | ) |
This function copies the value in member orientation
_orientation | New value to be copied in member orientation |
被这些函数引用 getCdrSerializedSize().
void geometry_msgs::msg::Pose::orientation | ( | geometry_msgs::msg::Quaternion && | _orientation | ) |
geometry_msgs::msg::Point & geometry_msgs::msg::Pose::position | ( | ) |
const geometry_msgs::msg::Point & geometry_msgs::msg::Pose::position | ( | ) | const |
void geometry_msgs::msg::Pose::position | ( | const geometry_msgs::msg::Point & | _position | ) |
This function copies the value in member position
_position | New value to be copied in member position |
被这些函数引用 getCdrSerializedSize().
void geometry_msgs::msg::Pose::position | ( | geometry_msgs::msg::Point && | _position | ) |
void geometry_msgs::msg::Pose::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 geometry_msgs::msg::PosePubSubType::serialize().
void geometry_msgs::msg::Pose::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 geometry_msgs::msg::PosePubSubType::getKey().
|
private |
被这些函数引用 operator=(), operator==() , 以及 Pose().
|
private |
被这些函数引用 operator=(), operator==() , 以及 Pose().