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

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

#include <Point32.h>

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

Public 成员函数

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport bool operator!= (const Point32 &x) const
 Comparison operator.
 
eProsima_user_DllExport Point32operator= (const Point32 &x)
 Copy assignment.
 
eProsima_user_DllExport Point32operator= (Point32 &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const Point32 &x) const
 Comparison operator.
 
eProsima_user_DllExport Point32 ()
 Default constructor.
 
eProsima_user_DllExport Point32 (const Point32 &x)
 Copy constructor.
 
eProsima_user_DllExport Point32 (Point32 &&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 float & x ()
 This function returns a reference to member x
 
eProsima_user_DllExport float x () const
 This function returns the value of member x
 
eProsima_user_DllExport void x (float _x)
 This function sets a value in member x
 
eProsima_user_DllExport float & y ()
 This function returns a reference to member y
 
eProsima_user_DllExport float y () const
 This function returns the value of member y
 
eProsima_user_DllExport void y (float _y)
 This function sets a value in member y
 
eProsima_user_DllExport float & z ()
 This function returns a reference to member z
 
eProsima_user_DllExport float z () const
 This function returns the value of member z
 
eProsima_user_DllExport void z (float _z)
 This function sets a value in member z
 
eProsima_user_DllExport ~Point32 ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const geometry_msgs::msg::Point32 &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 属性

float m_x
 
float m_y
 
float m_z
 

详细描述

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

在文件 Point32.h70 行定义.

构造及析构函数说明

◆ Point32() [1/3]

geometry_msgs::msg::Point32::Point32 ( )

Default constructor.

在文件 Point32.cpp40 行定义.

引用了 m_x, m_y , 以及 m_z.

◆ ~Point32()

geometry_msgs::msg::Point32::~Point32 ( )

Default destructor.

在文件 Point32.cpp50 行定义.

◆ Point32() [2/3]

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

Copy constructor.

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

在文件 Point32.cpp54 行定义.

引用了 m_x, m_y , 以及 m_z.

◆ Point32() [3/3]

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

Move constructor.

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

在文件 Point32.cpp62 行定义.

成员函数说明

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Point32.cpp130 行定义.

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

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

◆ getCdrSerializedSize()

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

在文件 Point32.cpp109 行定义.

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

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

◆ getKeyMaxCdrSerializedSize()

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

在文件 Point32.cpp222 行定义.

引用了 geometry_msgs_msg_Point32_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

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

在文件 Point32.cpp102 行定义.

引用了 geometry_msgs_msg_Point32_max_cdr_typesize.

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

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

◆ isKeyDefined()

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

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

在文件 Point32.cpp229 行定义.

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

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

◆ operator!=()

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

Comparison operator.

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

在文件 Point32.cpp96 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 Point32.cpp70 行定义.

引用了 m_x, m_y , 以及 m_z.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 Point32.cpp80 行定义.

引用了 m_x.

◆ operator==()

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

Comparison operator.

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

在文件 Point32.cpp90 行定义.

引用了 m_x, m_y , 以及 m_z.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Point32.cpp122 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 Point32.cpp234 行定义.

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

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

◆ x() [1/3]

float & geometry_msgs::msg::Point32::x ( )

This function returns a reference to member x

返回
Reference to member x

在文件 Point32.cpp161 行定义.

◆ x() [2/3]

float geometry_msgs::msg::Point32::x ( ) const

This function returns the value of member x

返回
Value of member x

在文件 Point32.cpp152 行定义.

◆ x() [3/3]

void geometry_msgs::msg::Point32::x ( float _x)

This function sets a value in member x

参数
_xNew value for member x

在文件 Point32.cpp142 行定义.

◆ y() [1/3]

float & geometry_msgs::msg::Point32::y ( )

This function returns a reference to member y

返回
Reference to member y

在文件 Point32.cpp189 行定义.

◆ y() [2/3]

float geometry_msgs::msg::Point32::y ( ) const

This function returns the value of member y

返回
Value of member y

在文件 Point32.cpp180 行定义.

◆ y() [3/3]

void geometry_msgs::msg::Point32::y ( float _y)

This function sets a value in member y

参数
_yNew value for member y

在文件 Point32.cpp170 行定义.

◆ z() [1/3]

float & geometry_msgs::msg::Point32::z ( )

This function returns a reference to member z

返回
Reference to member z

在文件 Point32.cpp217 行定义.

◆ z() [2/3]

float geometry_msgs::msg::Point32::z ( ) const

This function returns the value of member z

返回
Value of member z

在文件 Point32.cpp208 行定义.

◆ z() [3/3]

void geometry_msgs::msg::Point32::z ( float _z)

This function sets a value in member z

参数
_zNew value for member z

在文件 Point32.cpp198 行定义.

类成员变量说明

◆ m_x

float geometry_msgs::msg::Point32::m_x
private

在文件 Point32.h238 行定义.

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

◆ m_y

float geometry_msgs::msg::Point32::m_y
private

在文件 Point32.h239 行定义.

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

◆ m_z

float geometry_msgs::msg::Point32::m_z
private

在文件 Point32.h240 行定义.

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


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