This class represents the structure Point defined by the user in the IDL file. 更多...
#include <Point.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 Point &x) const |
Comparison operator. | |
eProsima_user_DllExport Point & | operator= (const Point &x) |
Copy assignment. | |
eProsima_user_DllExport Point & | operator= (Point &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const Point &x) const |
Comparison operator. | |
eProsima_user_DllExport | Point () |
Default constructor. | |
eProsima_user_DllExport | Point (const Point &x) |
Copy constructor. | |
eProsima_user_DllExport | Point (Point &&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 & | 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 | ~Point () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const geometry_msgs::msg::Point &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_x |
double | m_y |
double | m_z |
This class represents the structure Point defined by the user in the IDL file.
geometry_msgs::msg::Point::Point | ( | ) |
geometry_msgs::msg::Point::Point | ( | const Point & | x | ) |
|
noexcept |
Move constructor.
x | Reference to the object geometry_msgs::msg::Point that will be copied. |
void geometry_msgs::msg::Point::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 geometry_msgs::msg::PointPubSubType::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::Pose::getCdrSerializedSize() , 以及 geometry_msgs::msg::PointPubSubType::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_Point_max_key_cdr_typesize.
被这些函数引用 geometry_msgs::msg::PointPubSubType::getKey() , 以及 geometry_msgs::msg::PointPubSubType::PointPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
引用了 geometry_msgs_msg_Point_max_cdr_typesize.
被这些函数引用 geometry_msgs::msg::PointPubSubType::PointPubSubType().
|
static |
This function tells you if the Key has been defined for this type
被这些函数引用 geometry_msgs::msg::PointPubSubType::PointPubSubType().
bool geometry_msgs::msg::Point::operator!= | ( | const Point & | x | ) | const |
geometry_msgs::msg::Point & geometry_msgs::msg::Point::operator= | ( | const Point & | x | ) |
|
noexcept |
Move assignment.
x | Reference to the object geometry_msgs::msg::Point that will be copied. |
引用了 m_x.
bool geometry_msgs::msg::Point::operator== | ( | const Point & | x | ) | const |
void geometry_msgs::msg::Point::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 geometry_msgs::msg::PointPubSubType::serialize().
void geometry_msgs::msg::Point::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::PointPubSubType::getKey().
double & geometry_msgs::msg::Point::x | ( | ) |
double geometry_msgs::msg::Point::x | ( | ) | const |
void geometry_msgs::msg::Point::x | ( | double | _x | ) |
double & geometry_msgs::msg::Point::y | ( | ) |
double geometry_msgs::msg::Point::y | ( | ) | const |
void geometry_msgs::msg::Point::y | ( | double | _y | ) |
double & geometry_msgs::msg::Point::z | ( | ) |
double geometry_msgs::msg::Point::z | ( | ) | const |
void geometry_msgs::msg::Point::z | ( | double | _z | ) |
|
private |
被这些函数引用 operator=(), operator=(), operator==(), Point() , 以及 Point().
|
private |
被这些函数引用 operator=(), operator==(), Point() , 以及 Point().
|
private |
被这些函数引用 operator=(), operator==(), Point() , 以及 Point().