This class represents the structure Odometry defined by the user in the IDL file. 更多...
#include <Odometry.h>
Public 成员函数 | |
eProsima_user_DllExport std::string & | child_frame_id () |
This function returns a reference to member child_frame_id | |
eProsima_user_DllExport const std::string & | child_frame_id () const |
This function returns a constant reference to member child_frame_id | |
eProsima_user_DllExport void | child_frame_id (const std::string &_child_frame_id) |
This function copies the value in member child_frame_id | |
eProsima_user_DllExport void | child_frame_id (std::string &&_child_frame_id) |
This function moves the value in member child_frame_id | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport std_msgs::msg::Header & | header () |
This function returns a reference to member header | |
eProsima_user_DllExport const std_msgs::msg::Header & | header () const |
This function returns a constant reference to member header | |
eProsima_user_DllExport void | header (const std_msgs::msg::Header &_header) |
This function copies the value in member header | |
eProsima_user_DllExport void | header (std_msgs::msg::Header &&_header) |
This function moves the value in member header | |
eProsima_user_DllExport | Odometry () |
Default constructor. | |
eProsima_user_DllExport | Odometry (const Odometry &x) |
Copy constructor. | |
eProsima_user_DllExport | Odometry (Odometry &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport bool | operator!= (const Odometry &x) const |
Comparison operator. | |
eProsima_user_DllExport Odometry & | operator= (const Odometry &x) |
Copy assignment. | |
eProsima_user_DllExport Odometry & | operator= (Odometry &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const Odometry &x) const |
Comparison operator. | |
eProsima_user_DllExport geometry_msgs::msg::PoseWithCovariance & | pose () |
This function returns a reference to member pose | |
eProsima_user_DllExport const geometry_msgs::msg::PoseWithCovariance & | pose () const |
This function returns a constant reference to member pose | |
eProsima_user_DllExport void | pose (const geometry_msgs::msg::PoseWithCovariance &_pose) |
This function copies the value in member pose | |
eProsima_user_DllExport void | pose (geometry_msgs::msg::PoseWithCovariance &&_pose) |
This function moves the value in member pose | |
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::TwistWithCovariance & | twist () |
This function returns a reference to member twist | |
eProsima_user_DllExport const geometry_msgs::msg::TwistWithCovariance & | twist () const |
This function returns a constant reference to member twist | |
eProsima_user_DllExport void | twist (const geometry_msgs::msg::TwistWithCovariance &_twist) |
This function copies the value in member twist | |
eProsima_user_DllExport void | twist (geometry_msgs::msg::TwistWithCovariance &&_twist) |
This function moves the value in member twist | |
eProsima_user_DllExport | ~Odometry () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const nav_msgs::msg::Odometry &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 属性 | |
std::string | m_child_frame_id |
std_msgs::msg::Header | m_header |
geometry_msgs::msg::PoseWithCovariance | m_pose |
geometry_msgs::msg::TwistWithCovariance | m_twist |
This class represents the structure Odometry defined by the user in the IDL file.
在文件 Odometry.h 第 74 行定义.
nav_msgs::msg::Odometry::Odometry | ( | ) |
nav_msgs::msg::Odometry::~Odometry | ( | ) |
Default destructor.
在文件 Odometry.cpp 第 69 行定义.
nav_msgs::msg::Odometry::Odometry | ( | const Odometry & | x | ) |
Copy constructor.
x | Reference to the object nav_msgs::msg::Odometry that will be copied. |
在文件 Odometry.cpp 第 73 行定义.
引用了 m_child_frame_id, m_header, m_pose , 以及 m_twist.
|
noexcept |
Move constructor.
x | Reference to the object nav_msgs::msg::Odometry that will be copied. |
在文件 Odometry.cpp 第 82 行定义.
std::string & nav_msgs::msg::Odometry::child_frame_id | ( | ) |
This function returns a reference to member child_frame_id
在文件 Odometry.cpp 第 233 行定义.
const std::string & nav_msgs::msg::Odometry::child_frame_id | ( | ) | const |
This function returns a constant reference to member child_frame_id
在文件 Odometry.cpp 第 224 行定义.
void nav_msgs::msg::Odometry::child_frame_id | ( | const std::string & | _child_frame_id | ) |
This function copies the value in member child_frame_id
_child_frame_id | New value to be copied in member child_frame_id |
在文件 Odometry.cpp 第 204 行定义.
被这些函数引用 getCdrSerializedSize().
void nav_msgs::msg::Odometry::child_frame_id | ( | std::string && | _child_frame_id | ) |
This function moves the value in member child_frame_id
_child_frame_id | New value to be moved in member child_frame_id |
在文件 Odometry.cpp 第 214 行定义.
void nav_msgs::msg::Odometry::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Odometry.cpp 第 154 行定义.
被这些函数引用 nav_msgs::msg::OdometryPubSubType::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. |
在文件 Odometry.cpp 第 132 行定义.
引用了 child_frame_id(), geometry_msgs::msg::PoseWithCovariance::getCdrSerializedSize(), geometry_msgs::msg::TwistWithCovariance::getCdrSerializedSize(), std_msgs::msg::Header::getCdrSerializedSize(), header(), pose() , 以及 twist().
被这些函数引用 nav_msgs::msg::OdometryPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Odometry.cpp 第 314 行定义.
引用了 nav_msgs_msg_Odometry_max_key_cdr_typesize.
被这些函数引用 nav_msgs::msg::OdometryPubSubType::getKey() , 以及 nav_msgs::msg::OdometryPubSubType::OdometryPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 Odometry.cpp 第 125 行定义.
引用了 nav_msgs_msg_Odometry_max_cdr_typesize.
被这些函数引用 nav_msgs::msg::OdometryPubSubType::OdometryPubSubType().
std_msgs::msg::Header & nav_msgs::msg::Odometry::header | ( | ) |
This function returns a reference to member header
在文件 Odometry.cpp 第 196 行定义.
const std_msgs::msg::Header & nav_msgs::msg::Odometry::header | ( | ) | const |
This function returns a constant reference to member header
在文件 Odometry.cpp 第 187 行定义.
void nav_msgs::msg::Odometry::header | ( | const std_msgs::msg::Header & | _header | ) |
This function copies the value in member header
_header | New value to be copied in member header |
在文件 Odometry.cpp 第 167 行定义.
被这些函数引用 getCdrSerializedSize().
void nav_msgs::msg::Odometry::header | ( | std_msgs::msg::Header && | _header | ) |
This function moves the value in member header
_header | New value to be moved in member header |
在文件 Odometry.cpp 第 177 行定义.
|
static |
This function tells you if the Key has been defined for this type
在文件 Odometry.cpp 第 321 行定义.
被这些函数引用 nav_msgs::msg::OdometryPubSubType::OdometryPubSubType().
bool nav_msgs::msg::Odometry::operator!= | ( | const Odometry & | x | ) | const |
nav_msgs::msg::Odometry & nav_msgs::msg::Odometry::operator= | ( | const Odometry & | x | ) |
Copy assignment.
x | Reference to the object nav_msgs::msg::Odometry that will be copied. |
在文件 Odometry.cpp 第 91 行定义.
引用了 m_child_frame_id, m_header, m_pose , 以及 m_twist.
|
noexcept |
Move assignment.
x | Reference to the object nav_msgs::msg::Odometry that will be copied. |
在文件 Odometry.cpp 第 102 行定义.
bool nav_msgs::msg::Odometry::operator== | ( | const Odometry & | x | ) | const |
Comparison operator.
x | nav_msgs::msg::Odometry object to compare. |
在文件 Odometry.cpp 第 113 行定义.
引用了 m_child_frame_id, m_header, m_pose , 以及 m_twist.
geometry_msgs::msg::PoseWithCovariance & nav_msgs::msg::Odometry::pose | ( | ) |
This function returns a reference to member pose
在文件 Odometry.cpp 第 271 行定义.
const geometry_msgs::msg::PoseWithCovariance & nav_msgs::msg::Odometry::pose | ( | ) | const |
This function returns a constant reference to member pose
在文件 Odometry.cpp 第 262 行定义.
void nav_msgs::msg::Odometry::pose | ( | const geometry_msgs::msg::PoseWithCovariance & | _pose | ) |
This function copies the value in member pose
_pose | New value to be copied in member pose |
在文件 Odometry.cpp 第 242 行定义.
被这些函数引用 getCdrSerializedSize().
void nav_msgs::msg::Odometry::pose | ( | geometry_msgs::msg::PoseWithCovariance && | _pose | ) |
This function moves the value in member pose
_pose | New value to be moved in member pose |
在文件 Odometry.cpp 第 252 行定义.
void nav_msgs::msg::Odometry::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Odometry.cpp 第 145 行定义.
被这些函数引用 nav_msgs::msg::OdometryPubSubType::serialize().
void nav_msgs::msg::Odometry::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 Odometry.cpp 第 326 行定义.
被这些函数引用 nav_msgs::msg::OdometryPubSubType::getKey().
geometry_msgs::msg::TwistWithCovariance & nav_msgs::msg::Odometry::twist | ( | ) |
This function returns a reference to member twist
在文件 Odometry.cpp 第 309 行定义.
const geometry_msgs::msg::TwistWithCovariance & nav_msgs::msg::Odometry::twist | ( | ) | const |
This function returns a constant reference to member twist
在文件 Odometry.cpp 第 300 行定义.
void nav_msgs::msg::Odometry::twist | ( | const geometry_msgs::msg::TwistWithCovariance & | _twist | ) |
This function copies the value in member twist
_twist | New value to be copied in member twist |
在文件 Odometry.cpp 第 280 行定义.
被这些函数引用 getCdrSerializedSize().
void nav_msgs::msg::Odometry::twist | ( | geometry_msgs::msg::TwistWithCovariance && | _twist | ) |
This function moves the value in member twist
_twist | New value to be moved in member twist |
在文件 Odometry.cpp 第 290 行定义.
|
private |
在文件 Odometry.h 第 287 行定义.
被这些函数引用 Odometry(), Odometry(), operator=() , 以及 operator==().
|
private |
在文件 Odometry.h 第 286 行定义.
被这些函数引用 Odometry(), operator=() , 以及 operator==().
|
private |
在文件 Odometry.h 第 288 行定义.
被这些函数引用 Odometry(), operator=() , 以及 operator==().
|
private |
在文件 Odometry.h 第 289 行定义.
被这些函数引用 Odometry(), operator=() , 以及 operator==().