This class represents the structure Quaternion defined by the user in the IDL file. 更多...
#include <Quaternion.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 Quaternion &x) const |
Comparison operator. | |
eProsima_user_DllExport Quaternion & | operator= (const Quaternion &x) |
Copy assignment. | |
eProsima_user_DllExport Quaternion & | operator= (Quaternion &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const Quaternion &x) const |
Comparison operator. | |
eProsima_user_DllExport | Quaternion () |
Default constructor. | |
eProsima_user_DllExport | Quaternion (const Quaternion &x) |
Copy constructor. | |
eProsima_user_DllExport | Quaternion (Quaternion &&x) noexcept |
Move constructor. | |
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 double & | w () |
This function returns a reference to member w | |
eProsima_user_DllExport double | w () const |
This function returns the value of member w | |
eProsima_user_DllExport void | w (double _w) |
This function sets a value in member w | |
eProsima_user_DllExport double & | x () |
This function returns a reference to member x | |
eProsima_user_DllExport double | x () const |
This function returns the value of member x | |
eProsima_user_DllExport void | x (double _x) |
This function sets a value in member x | |
eProsima_user_DllExport double & | y () |
This function returns a reference to member y | |
eProsima_user_DllExport double | y () const |
This function returns the value of member y | |
eProsima_user_DllExport void | y (double _y) |
This function sets a value in member y | |
eProsima_user_DllExport double & | z () |
This function returns a reference to member z | |
eProsima_user_DllExport double | z () const |
This function returns the value of member z | |
eProsima_user_DllExport void | z (double _z) |
This function sets a value in member z | |
eProsima_user_DllExport | ~Quaternion () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const geometry_msgs::msg::Quaternion &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 属性 | |
double | m_w |
double | m_x |
double | m_y |
double | m_z |
This class represents the structure Quaternion defined by the user in the IDL file.
在文件 Quaternion.h 第 70 行定义.
geometry_msgs::msg::Quaternion::Quaternion | ( | ) |
geometry_msgs::msg::Quaternion::~Quaternion | ( | ) |
Default destructor.
在文件 Quaternion.cpp 第 52 行定义.
geometry_msgs::msg::Quaternion::Quaternion | ( | const Quaternion & | x | ) |
Copy constructor.
x | Reference to the object geometry_msgs::msg::Quaternion that will be copied. |
在文件 Quaternion.cpp 第 56 行定义.
|
noexcept |
Move constructor.
x | Reference to the object geometry_msgs::msg::Quaternion that will be copied. |
在文件 Quaternion.cpp 第 65 行定义.
void geometry_msgs::msg::Quaternion::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Quaternion.cpp 第 138 行定义.
被这些函数引用 geometry_msgs::msg::QuaternionPubSubType::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. |
在文件 Quaternion.cpp 第 115 行定义.
被这些函数引用 geometry_msgs::msg::Pose::getCdrSerializedSize(), geometry_msgs::msg::Transform::getCdrSerializedSize(), sensor_msgs::msg::Imu::getCdrSerializedSize() , 以及 geometry_msgs::msg::QuaternionPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Quaternion.cpp 第 259 行定义.
引用了 geometry_msgs_msg_Quaternion_max_key_cdr_typesize.
被这些函数引用 geometry_msgs::msg::QuaternionPubSubType::getKey() , 以及 geometry_msgs::msg::QuaternionPubSubType::QuaternionPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Quaternion.cpp 第 108 行定义.
引用了 geometry_msgs_msg_Quaternion_max_cdr_typesize.
被这些函数引用 geometry_msgs::msg::QuaternionPubSubType::QuaternionPubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 Quaternion.cpp 第 266 行定义.
被这些函数引用 geometry_msgs::msg::QuaternionPubSubType::QuaternionPubSubType().
bool geometry_msgs::msg::Quaternion::operator!= | ( | const Quaternion & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::Quaternion object to compare. |
在文件 Quaternion.cpp 第 102 行定义.
geometry_msgs::msg::Quaternion & geometry_msgs::msg::Quaternion::operator= | ( | const Quaternion & | x | ) |
Copy assignment.
x | Reference to the object geometry_msgs::msg::Quaternion that will be copied. |
在文件 Quaternion.cpp 第 74 行定义.
|
noexcept |
Move assignment.
x | Reference to the object geometry_msgs::msg::Quaternion that will be copied. |
在文件 Quaternion.cpp 第 85 行定义.
引用了 m_x.
bool geometry_msgs::msg::Quaternion::operator== | ( | const Quaternion & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::Quaternion object to compare. |
在文件 Quaternion.cpp 第 96 行定义.
void geometry_msgs::msg::Quaternion::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Quaternion.cpp 第 129 行定义.
被这些函数引用 geometry_msgs::msg::QuaternionPubSubType::serialize().
void geometry_msgs::msg::Quaternion::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Quaternion.cpp 第 271 行定义.
被这些函数引用 geometry_msgs::msg::QuaternionPubSubType::getKey().
double & geometry_msgs::msg::Quaternion::w | ( | ) |
double geometry_msgs::msg::Quaternion::w | ( | ) | const |
void geometry_msgs::msg::Quaternion::w | ( | double | _w | ) |
This function sets a value in member w
_w | New value for member w |
在文件 Quaternion.cpp 第 235 行定义.
被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().
double & geometry_msgs::msg::Quaternion::x | ( | ) |
double geometry_msgs::msg::Quaternion::x | ( | ) | const |
void geometry_msgs::msg::Quaternion::x | ( | double | _x | ) |
This function sets a value in member x
_x | New value for member x |
在文件 Quaternion.cpp 第 151 行定义.
被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().
double & geometry_msgs::msg::Quaternion::y | ( | ) |
double geometry_msgs::msg::Quaternion::y | ( | ) | const |
void geometry_msgs::msg::Quaternion::y | ( | double | _y | ) |
This function sets a value in member y
_y | New value for member y |
在文件 Quaternion.cpp 第 179 行定义.
被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().
double & geometry_msgs::msg::Quaternion::z | ( | ) |
double geometry_msgs::msg::Quaternion::z | ( | ) | const |
void geometry_msgs::msg::Quaternion::z | ( | double | _z | ) |
This function sets a value in member z
_z | New value for member z |
在文件 Quaternion.cpp 第 207 行定义.
被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().
|
private |
在文件 Quaternion.h 第 260 行定义.
被这些函数引用 operator=(), operator==(), Quaternion() , 以及 Quaternion().
|
private |
在文件 Quaternion.h 第 257 行定义.
被这些函数引用 operator=(), operator=(), operator==(), Quaternion() , 以及 Quaternion().
|
private |
在文件 Quaternion.h 第 258 行定义.
被这些函数引用 operator=(), operator==(), Quaternion() , 以及 Quaternion().
|
private |
在文件 Quaternion.h 第 259 行定义.
被这些函数引用 operator=(), operator==(), Quaternion() , 以及 Quaternion().