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

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

#include <Quaternion.h>

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

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 Quaternionoperator= (const Quaternion &x)
 Copy assignment.
 
eProsima_user_DllExport Quaternionoperator= (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.h70 行定义.

构造及析构函数说明

◆ Quaternion() [1/3]

geometry_msgs::msg::Quaternion::Quaternion ( )

Default constructor.

在文件 Quaternion.cpp40 行定义.

引用了 m_w, m_x, m_y , 以及 m_z.

◆ ~Quaternion()

geometry_msgs::msg::Quaternion::~Quaternion ( )

Default destructor.

在文件 Quaternion.cpp52 行定义.

◆ Quaternion() [2/3]

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

Copy constructor.

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

在文件 Quaternion.cpp56 行定义.

引用了 m_w, m_x, m_y , 以及 m_z.

◆ Quaternion() [3/3]

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

Move constructor.

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

在文件 Quaternion.cpp65 行定义.

成员函数说明

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Quaternion.cpp138 行定义.

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

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

◆ getCdrSerializedSize()

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

在文件 Quaternion.cpp115 行定义.

被这些函数引用 geometry_msgs::msg::Pose::getCdrSerializedSize(), geometry_msgs::msg::Transform::getCdrSerializedSize(), sensor_msgs::msg::Imu::getCdrSerializedSize() , 以及 geometry_msgs::msg::QuaternionPubSubType::getSerializedSizeProvider().

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

◆ getKeyMaxCdrSerializedSize()

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

在文件 Quaternion.cpp259 行定义.

引用了 geometry_msgs_msg_Quaternion_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

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

在文件 Quaternion.cpp108 行定义.

引用了 geometry_msgs_msg_Quaternion_max_cdr_typesize.

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

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

◆ isKeyDefined()

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

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

在文件 Quaternion.cpp266 行定义.

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

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

◆ operator!=()

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

Comparison operator.

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

在文件 Quaternion.cpp102 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 Quaternion.cpp74 行定义.

引用了 m_w, m_x, m_y , 以及 m_z.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 Quaternion.cpp85 行定义.

引用了 m_x.

◆ operator==()

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

Comparison operator.

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

在文件 Quaternion.cpp96 行定义.

引用了 m_w, m_x, m_y , 以及 m_z.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Quaternion.cpp129 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 Quaternion.cpp271 行定义.

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

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

◆ w() [1/3]

double & geometry_msgs::msg::Quaternion::w ( )

This function returns a reference to member w

返回
Reference to member w

在文件 Quaternion.cpp254 行定义.

◆ w() [2/3]

double geometry_msgs::msg::Quaternion::w ( ) const

This function returns the value of member w

返回
Value of member w

在文件 Quaternion.cpp245 行定义.

◆ w() [3/3]

void geometry_msgs::msg::Quaternion::w ( double _w)

This function sets a value in member w

参数
_wNew value for member w

在文件 Quaternion.cpp235 行定义.

被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().

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

◆ x() [1/3]

double & geometry_msgs::msg::Quaternion::x ( )

This function returns a reference to member x

返回
Reference to member x

在文件 Quaternion.cpp170 行定义.

◆ x() [2/3]

double geometry_msgs::msg::Quaternion::x ( ) const

This function returns the value of member x

返回
Value of member x

在文件 Quaternion.cpp161 行定义.

◆ x() [3/3]

void geometry_msgs::msg::Quaternion::x ( double _x)

This function sets a value in member x

参数
_xNew value for member x

在文件 Quaternion.cpp151 行定义.

被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().

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

◆ y() [1/3]

double & geometry_msgs::msg::Quaternion::y ( )

This function returns a reference to member y

返回
Reference to member y

在文件 Quaternion.cpp198 行定义.

◆ y() [2/3]

double geometry_msgs::msg::Quaternion::y ( ) const

This function returns the value of member y

返回
Value of member y

在文件 Quaternion.cpp189 行定义.

◆ y() [3/3]

void geometry_msgs::msg::Quaternion::y ( double _y)

This function sets a value in member y

参数
_yNew value for member y

在文件 Quaternion.cpp179 行定义.

被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().

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

◆ z() [1/3]

double & geometry_msgs::msg::Quaternion::z ( )

This function returns a reference to member z

返回
Reference to member z

在文件 Quaternion.cpp226 行定义.

◆ z() [2/3]

double geometry_msgs::msg::Quaternion::z ( ) const

This function returns the value of member z

返回
Value of member z

在文件 Quaternion.cpp217 行定义.

◆ z() [3/3]

void geometry_msgs::msg::Quaternion::z ( double _z)

This function sets a value in member z

参数
_zNew value for member z

在文件 Quaternion.cpp207 行定义.

被这些函数引用 carla::ros2::CarlaIMUPublisher::SetData().

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

类成员变量说明

◆ m_w

double geometry_msgs::msg::Quaternion::m_w
private

在文件 Quaternion.h260 行定义.

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

◆ m_x

double geometry_msgs::msg::Quaternion::m_x
private

在文件 Quaternion.h257 行定义.

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

◆ m_y

double geometry_msgs::msg::Quaternion::m_y
private

在文件 Quaternion.h258 行定义.

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

◆ m_z

double geometry_msgs::msg::Quaternion::m_z
private

在文件 Quaternion.h259 行定义.

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


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