This class represents the structure TFMessage defined by the user in the IDL file. 更多...
#include <TFMessage.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 TFMessage &x) const |
Comparison operator. | |
eProsima_user_DllExport TFMessage & | operator= (const TFMessage &x) |
Copy assignment. | |
eProsima_user_DllExport TFMessage & | operator= (TFMessage &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const TFMessage &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 | TFMessage () |
Default constructor. | |
eProsima_user_DllExport | TFMessage (const TFMessage &x) |
Copy constructor. | |
eProsima_user_DllExport | TFMessage (TFMessage &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport std::vector< geometry_msgs::msg::TransformStamped > & | transforms () |
This function returns a reference to member transforms | |
eProsima_user_DllExport const std::vector< geometry_msgs::msg::TransformStamped > & | transforms () const |
This function returns a constant reference to member transforms | |
eProsima_user_DllExport void | transforms (const std::vector< geometry_msgs::msg::TransformStamped > &_transforms) |
This function copies the value in member transforms | |
eProsima_user_DllExport void | transforms (std::vector< geometry_msgs::msg::TransformStamped > &&_transforms) |
This function moves the value in member transforms | |
eProsima_user_DllExport | ~TFMessage () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const tf2_msgs::msg::TFMessage &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::vector< geometry_msgs::msg::TransformStamped > | m_transforms |
This class represents the structure TFMessage defined by the user in the IDL file.
在文件 TFMessage.h 第 73 行定义.
tf2_msgs::msg::TFMessage::TFMessage | ( | ) |
Default constructor.
在文件 TFMessage.cpp 第 52 行定义.
tf2_msgs::msg::TFMessage::~TFMessage | ( | ) |
Default destructor.
在文件 TFMessage.cpp 第 56 行定义.
tf2_msgs::msg::TFMessage::TFMessage | ( | const TFMessage & | x | ) |
Copy constructor.
x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
在文件 TFMessage.cpp 第 60 行定义.
引用了 m_transforms.
|
noexcept |
Move constructor.
x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
在文件 TFMessage.cpp 第 66 行定义.
void tf2_msgs::msg::TFMessage::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TFMessage.cpp 第 128 行定义.
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::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. |
在文件 TFMessage.cpp 第 107 行定义.
引用了 geometry_msgs::msg::TransformStamped::getCdrSerializedSize() , 以及 transforms().
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 TFMessage.cpp 第 172 行定义.
引用了 tf2_msgs_msg_TFMessage_max_key_cdr_typesize.
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::getKey() , 以及 tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 TFMessage.cpp 第 100 行定义.
引用了 tf2_msgs_msg_TFMessage_max_cdr_typesize.
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 TFMessage.cpp 第 179 行定义.
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().
bool tf2_msgs::msg::TFMessage::operator!= | ( | const TFMessage & | x | ) | const |
tf2_msgs::msg::TFMessage & tf2_msgs::msg::TFMessage::operator= | ( | const TFMessage & | x | ) |
Copy assignment.
x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
在文件 TFMessage.cpp 第 72 行定义.
引用了 m_transforms.
|
noexcept |
Move assignment.
x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
在文件 TFMessage.cpp 第 80 行定义.
bool tf2_msgs::msg::TFMessage::operator== | ( | const TFMessage & | x | ) | const |
Comparison operator.
x | tf2_msgs::msg::TFMessage object to compare. |
在文件 TFMessage.cpp 第 88 行定义.
引用了 m_transforms.
void tf2_msgs::msg::TFMessage::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TFMessage.cpp 第 122 行定义.
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::serialize().
void tf2_msgs::msg::TFMessage::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TFMessage.cpp 第 184 行定义.
被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::getKey().
std::vector< geometry_msgs::msg::TransformStamped > & tf2_msgs::msg::TFMessage::transforms | ( | ) |
This function returns a reference to member transforms
在文件 TFMessage.cpp 第 167 行定义.
const std::vector< geometry_msgs::msg::TransformStamped > & tf2_msgs::msg::TFMessage::transforms | ( | ) | const |
This function returns a constant reference to member transforms
在文件 TFMessage.cpp 第 158 行定义.
void tf2_msgs::msg::TFMessage::transforms | ( | const std::vector< geometry_msgs::msg::TransformStamped > & | _transforms | ) |
This function copies the value in member transforms
_transforms | New value to be copied in member transforms |
在文件 TFMessage.cpp 第 138 行定义.
被这些函数引用 getCdrSerializedSize().
void tf2_msgs::msg::TFMessage::transforms | ( | std::vector< geometry_msgs::msg::TransformStamped > && | _transforms | ) |
This function moves the value in member transforms
_transforms | New value to be moved in member transforms |
在文件 TFMessage.cpp 第 148 行定义.
|
private |
在文件 TFMessage.h 第 210 行定义.
被这些函数引用 operator=(), operator==() , 以及 TFMessage().