This class represents the structure Point32 defined by the user in the IDL file. 更多...
#include <Point32.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 Point32 &x) const |
Comparison operator. | |
eProsima_user_DllExport Point32 & | operator= (const Point32 &x) |
Copy assignment. | |
eProsima_user_DllExport Point32 & | operator= (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.
geometry_msgs::msg::Point32::Point32 | ( | ) |
geometry_msgs::msg::Point32::~Point32 | ( | ) |
Default destructor.
在文件 Point32.cpp 第 50 行定义.
geometry_msgs::msg::Point32::Point32 | ( | const Point32 & | x | ) |
Copy constructor.
x | Reference to the object geometry_msgs::msg::Point32 that will be copied. |
在文件 Point32.cpp 第 54 行定义.
|
noexcept |
Move constructor.
x | Reference to the object geometry_msgs::msg::Point32 that will be copied. |
在文件 Point32.cpp 第 62 行定义.
void geometry_msgs::msg::Point32::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Point32.cpp 第 130 行定义.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::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. |
在文件 Point32.cpp 第 109 行定义.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Point32.cpp 第 222 行定义.
引用了 geometry_msgs_msg_Point32_max_key_cdr_typesize.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::getKey() , 以及 geometry_msgs::msg::Point32PubSubType::Point32PubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Point32.cpp 第 102 行定义.
引用了 geometry_msgs_msg_Point32_max_cdr_typesize.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::Point32PubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 Point32.cpp 第 229 行定义.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::Point32PubSubType().
bool geometry_msgs::msg::Point32::operator!= | ( | const Point32 & | x | ) | const |
geometry_msgs::msg::Point32 & geometry_msgs::msg::Point32::operator= | ( | const Point32 & | x | ) |
Copy assignment.
x | Reference to the object geometry_msgs::msg::Point32 that will be copied. |
在文件 Point32.cpp 第 70 行定义.
|
noexcept |
Move assignment.
x | Reference to the object geometry_msgs::msg::Point32 that will be copied. |
在文件 Point32.cpp 第 80 行定义.
引用了 m_x.
bool geometry_msgs::msg::Point32::operator== | ( | const Point32 & | x | ) | const |
void geometry_msgs::msg::Point32::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Point32.cpp 第 122 行定义.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::serialize().
void geometry_msgs::msg::Point32::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Point32.cpp 第 234 行定义.
被这些函数引用 geometry_msgs::msg::Point32PubSubType::getKey().
float & geometry_msgs::msg::Point32::x | ( | ) |
float geometry_msgs::msg::Point32::x | ( | ) | const |
void geometry_msgs::msg::Point32::x | ( | float | _x | ) |
float & geometry_msgs::msg::Point32::y | ( | ) |
float geometry_msgs::msg::Point32::y | ( | ) | const |
void geometry_msgs::msg::Point32::y | ( | float | _y | ) |
float & geometry_msgs::msg::Point32::z | ( | ) |
float geometry_msgs::msg::Point32::z | ( | ) | const |
void geometry_msgs::msg::Point32::z | ( | float | _z | ) |
|
private |
被这些函数引用 operator=(), operator=(), operator==(), Point32() , 以及 Point32().
|
private |
被这些函数引用 operator=(), operator==(), Point32() , 以及 Point32().
|
private |
被这些函数引用 operator=(), operator==(), Point32() , 以及 Point32().