This class represents the structure TwistWithCovariance defined by the user in the IDL file. 更多...
#include <TwistWithCovariance.h>
Public 成员函数 | |
eProsima_user_DllExport geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & | covariance () |
This function returns a reference to member covariance | |
eProsima_user_DllExport const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & | covariance () const |
This function returns a constant reference to member covariance | |
eProsima_user_DllExport void | covariance (const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 &_covariance) |
This function copies the value in member covariance | |
eProsima_user_DllExport void | covariance (geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 &&_covariance) |
This function moves the value in member covariance | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport bool | operator!= (const TwistWithCovariance &x) const |
Comparison operator. | |
eProsima_user_DllExport TwistWithCovariance & | operator= (const TwistWithCovariance &x) |
Copy assignment. | |
eProsima_user_DllExport TwistWithCovariance & | operator= (TwistWithCovariance &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const TwistWithCovariance &x) const |
Comparison operator. | |
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 geometry_msgs::msg::Twist & | twist () |
This function returns a reference to member twist | |
eProsima_user_DllExport const geometry_msgs::msg::Twist & | twist () const |
This function returns a constant reference to member twist | |
eProsima_user_DllExport void | twist (const geometry_msgs::msg::Twist &_twist) |
This function copies the value in member twist | |
eProsima_user_DllExport void | twist (geometry_msgs::msg::Twist &&_twist) |
This function moves the value in member twist | |
eProsima_user_DllExport | TwistWithCovariance () |
Default constructor. | |
eProsima_user_DllExport | TwistWithCovariance (const TwistWithCovariance &x) |
Copy constructor. | |
eProsima_user_DllExport | TwistWithCovariance (TwistWithCovariance &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport | ~TwistWithCovariance () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const geometry_msgs::msg::TwistWithCovariance &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 属性 | |
geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 | m_covariance |
geometry_msgs::msg::Twist | m_twist |
This class represents the structure TwistWithCovariance defined by the user in the IDL file.
在文件 TwistWithCovariance.h 第 74 行定义.
geometry_msgs::msg::TwistWithCovariance::TwistWithCovariance | ( | ) |
geometry_msgs::msg::TwistWithCovariance::~TwistWithCovariance | ( | ) |
Default destructor.
在文件 TwistWithCovariance.cpp 第 52 行定义.
geometry_msgs::msg::TwistWithCovariance::TwistWithCovariance | ( | const TwistWithCovariance & | x | ) |
Copy constructor.
x | Reference to the object geometry_msgs::msg::TwistWithCovariance that will be copied. |
在文件 TwistWithCovariance.cpp 第 56 行定义.
引用了 m_covariance , 以及 m_twist.
|
noexcept |
Move constructor.
x | Reference to the object geometry_msgs::msg::TwistWithCovariance that will be copied. |
在文件 TwistWithCovariance.cpp 第 63 行定义.
geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & geometry_msgs::msg::TwistWithCovariance::covariance | ( | ) |
This function returns a reference to member covariance
在文件 TwistWithCovariance.cpp 第 203 行定义.
const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & geometry_msgs::msg::TwistWithCovariance::covariance | ( | ) | const |
This function returns a constant reference to member covariance
在文件 TwistWithCovariance.cpp 第 194 行定义.
void geometry_msgs::msg::TwistWithCovariance::covariance | ( | const geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 & | _covariance | ) |
This function copies the value in member covariance
_covariance | New value to be copied in member covariance |
在文件 TwistWithCovariance.cpp 第 174 行定义.
void geometry_msgs::msg::TwistWithCovariance::covariance | ( | geometry_msgs::msg::geometry_msgs__TwistWithCovariance__double_array_36 && | _covariance | ) |
This function moves the value in member covariance
_covariance | New value to be moved in member covariance |
在文件 TwistWithCovariance.cpp 第 184 行定义.
void geometry_msgs::msg::TwistWithCovariance::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TwistWithCovariance.cpp 第 125 行定义.
被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::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. |
在文件 TwistWithCovariance.cpp 第 107 行定义.
引用了 geometry_msgs::msg::Twist::getCdrSerializedSize() , 以及 twist().
被这些函数引用 nav_msgs::msg::Odometry::getCdrSerializedSize() , 以及 geometry_msgs::msg::TwistWithCovariancePubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 TwistWithCovariance.cpp 第 208 行定义.
引用了 geometry_msgs_msg_TwistWithCovariance_max_key_cdr_typesize.
被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::getKey() , 以及 geometry_msgs::msg::TwistWithCovariancePubSubType::TwistWithCovariancePubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 TwistWithCovariance.cpp 第 100 行定义.
引用了 geometry_msgs_msg_TwistWithCovariance_max_cdr_typesize.
被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::TwistWithCovariancePubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 TwistWithCovariance.cpp 第 215 行定义.
被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::TwistWithCovariancePubSubType().
bool geometry_msgs::msg::TwistWithCovariance::operator!= | ( | const TwistWithCovariance & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::TwistWithCovariance object to compare. |
在文件 TwistWithCovariance.cpp 第 94 行定义.
geometry_msgs::msg::TwistWithCovariance & geometry_msgs::msg::TwistWithCovariance::operator= | ( | const TwistWithCovariance & | x | ) |
Copy assignment.
x | Reference to the object geometry_msgs::msg::TwistWithCovariance that will be copied. |
在文件 TwistWithCovariance.cpp 第 70 行定义.
引用了 m_covariance , 以及 m_twist.
|
noexcept |
Move assignment.
x | Reference to the object geometry_msgs::msg::TwistWithCovariance that will be copied. |
在文件 TwistWithCovariance.cpp 第 79 行定义.
bool geometry_msgs::msg::TwistWithCovariance::operator== | ( | const TwistWithCovariance & | x | ) | const |
Comparison operator.
x | geometry_msgs::msg::TwistWithCovariance object to compare. |
在文件 TwistWithCovariance.cpp 第 88 行定义.
引用了 m_covariance , 以及 m_twist.
void geometry_msgs::msg::TwistWithCovariance::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TwistWithCovariance.cpp 第 118 行定义.
被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::serialize().
void geometry_msgs::msg::TwistWithCovariance::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TwistWithCovariance.cpp 第 220 行定义.
被这些函数引用 geometry_msgs::msg::TwistWithCovariancePubSubType::getKey().
geometry_msgs::msg::Twist & geometry_msgs::msg::TwistWithCovariance::twist | ( | ) |
This function returns a reference to member twist
在文件 TwistWithCovariance.cpp 第 165 行定义.
const geometry_msgs::msg::Twist & geometry_msgs::msg::TwistWithCovariance::twist | ( | ) | const |
This function returns a constant reference to member twist
在文件 TwistWithCovariance.cpp 第 156 行定义.
void geometry_msgs::msg::TwistWithCovariance::twist | ( | const geometry_msgs::msg::Twist & | _twist | ) |
This function copies the value in member twist
_twist | New value to be copied in member twist |
在文件 TwistWithCovariance.cpp 第 136 行定义.
被这些函数引用 getCdrSerializedSize().
void geometry_msgs::msg::TwistWithCovariance::twist | ( | geometry_msgs::msg::Twist && | _twist | ) |
This function moves the value in member twist
_twist | New value to be moved in member twist |
在文件 TwistWithCovariance.cpp 第 146 行定义.
|
private |
在文件 TwistWithCovariance.h 第 237 行定义.
被这些函数引用 operator=(), operator==(), TwistWithCovariance() , 以及 TwistWithCovariance().
|
private |
在文件 TwistWithCovariance.h 第 236 行定义.
被这些函数引用 operator=(), operator==() , 以及 TwistWithCovariance().