This class represents the structure TFMessage defined by the user in the IDL file. More...
#include <TFMessage.h>
Collaboration diagram for tf2_msgs::msg::TFMessage:Public Member Functions | |
| eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
| This function deserializes an object using CDR serialization. More... | |
| eProsima_user_DllExport bool | operator!= (const TFMessage &x) const |
| Comparison operator. More... | |
| eProsima_user_DllExport TFMessage & | operator= (const TFMessage &x) |
| Copy assignment. More... | |
| eProsima_user_DllExport TFMessage & | operator= (TFMessage &&x) noexcept |
| Move assignment. More... | |
| eProsima_user_DllExport bool | operator== (const TFMessage &x) const |
| Comparison operator. More... | |
| eProsima_user_DllExport void | serialize (eprosima::fastcdr::Cdr &cdr) const |
| This function serializes an object using CDR serialization. More... | |
| eProsima_user_DllExport void | serializeKey (eprosima::fastcdr::Cdr &cdr) const |
| This function serializes the key members of an object using CDR serialization. More... | |
| eProsima_user_DllExport | TFMessage () |
| Default constructor. More... | |
| eProsima_user_DllExport | TFMessage (const TFMessage &x) |
| Copy constructor. More... | |
| eProsima_user_DllExport | TFMessage (TFMessage &&x) noexcept |
| Move constructor. More... | |
| eProsima_user_DllExport void | transforms (const std::vector< geometry_msgs::msg::TransformStamped > &_transforms) |
| This function copies the value in member transforms. More... | |
| eProsima_user_DllExport void | transforms (std::vector< geometry_msgs::msg::TransformStamped > &&_transforms) |
| This function moves the value in member transforms. More... | |
| eProsima_user_DllExport const std::vector< geometry_msgs::msg::TransformStamped > & | transforms () const |
| This function returns a constant reference to member transforms. More... | |
| eProsima_user_DllExport std::vector< geometry_msgs::msg::TransformStamped > & | transforms () |
| This function returns a reference to member transforms. More... | |
| eProsima_user_DllExport | ~TFMessage () |
| Default destructor. More... | |
Static Public Member Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| static eProsima_user_DllExport bool | isKeyDefined () |
| This function tells you if the Key has been defined for this type. More... | |
Private Attributes | |
| std::vector< geometry_msgs::msg::TransformStamped > | m_transforms |
This class represents the structure TFMessage defined by the user in the IDL file.
Definition at line 73 of file TFMessage.h.
| tf2_msgs::msg::TFMessage::TFMessage | ( | ) |
Default constructor.
Definition at line 52 of file TFMessage.cpp.
| tf2_msgs::msg::TFMessage::~TFMessage | ( | ) |
Default destructor.
Definition at line 56 of file TFMessage.cpp.
| tf2_msgs::msg::TFMessage::TFMessage | ( | const TFMessage & | x | ) |
Copy constructor.
| x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
Definition at line 60 of file TFMessage.cpp.
References m_transforms.
|
noexcept |
Move constructor.
| x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
Definition at line 66 of file TFMessage.cpp.
| void tf2_msgs::msg::TFMessage::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
| cdr | CDR serialization object. |
Definition at line 128 of file TFMessage.cpp.
Referenced by tf2_msgs::msg::TFMessagePubSubType::deserialize().
Here is the caller graph for this function:
|
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. |
Definition at line 107 of file TFMessage.cpp.
References geometry_msgs::msg::TransformStamped::getCdrSerializedSize(), and transforms().
Referenced by tf2_msgs::msg::TFMessagePubSubType::getSerializedSizeProvider().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
| current_alignment | Buffer alignment. |
Definition at line 172 of file TFMessage.cpp.
References tf2_msgs_msg_TFMessage_max_key_cdr_typesize.
Referenced by tf2_msgs::msg::TFMessagePubSubType::getKey(), and tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().
Here is the caller graph for this function:
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
| current_alignment | Buffer alignment. |
Definition at line 100 of file TFMessage.cpp.
References tf2_msgs_msg_TFMessage_max_cdr_typesize.
Referenced by tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().
Here is the caller graph for this function:
|
static |
This function tells you if the Key has been defined for this type.
Definition at line 179 of file TFMessage.cpp.
Referenced by tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().
Here is the caller graph for this function:| bool tf2_msgs::msg::TFMessage::operator!= | ( | const TFMessage & | x | ) | const |
Comparison operator.
| x | tf2_msgs::msg::TFMessage object to compare. |
Definition at line 94 of file TFMessage.cpp.
| 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. |
Definition at line 72 of file TFMessage.cpp.
References m_transforms.
|
noexcept |
Move assignment.
| x | Reference to the object tf2_msgs::msg::TFMessage that will be copied. |
Definition at line 80 of file TFMessage.cpp.
| bool tf2_msgs::msg::TFMessage::operator== | ( | const TFMessage & | x | ) | const |
Comparison operator.
| x | tf2_msgs::msg::TFMessage object to compare. |
Definition at line 88 of file TFMessage.cpp.
References 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. |
Definition at line 122 of file TFMessage.cpp.
Referenced by tf2_msgs::msg::TFMessagePubSubType::serialize().
Here is the caller graph for this function:| 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. |
Definition at line 184 of file TFMessage.cpp.
Referenced by tf2_msgs::msg::TFMessagePubSubType::getKey().
Here is the caller graph for this function:| 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 |
Definition at line 138 of file TFMessage.cpp.
Referenced by getCdrSerializedSize().
Here is the caller graph for this function:| 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 |
Definition at line 148 of file TFMessage.cpp.
| const std::vector< geometry_msgs::msg::TransformStamped > & tf2_msgs::msg::TFMessage::transforms | ( | ) | const |
This function returns a constant reference to member transforms.
Definition at line 158 of file TFMessage.cpp.
| std::vector< geometry_msgs::msg::TransformStamped > & tf2_msgs::msg::TFMessage::transforms | ( | ) |
This function returns a reference to member transforms.
Definition at line 167 of file TFMessage.cpp.
|
private |
Definition at line 210 of file TFMessage.h.
Referenced by operator=(), operator==(), and TFMessage().
1.8.13