CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Private 属性 | 所有成员列表
tf2_msgs::msg::TFMessage类 参考

This class represents the structure TFMessage defined by the user in the IDL file. 更多...

#include <TFMessage.h>

+ tf2_msgs::msg::TFMessage 的协作图:

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 TFMessageoperator= (const TFMessage &x)
 Copy assignment.
 
eProsima_user_DllExport TFMessageoperator= (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::TransformStampedm_transforms
 

详细描述

This class represents the structure TFMessage defined by the user in the IDL file.

在文件 TFMessage.h73 行定义.

构造及析构函数说明

◆ TFMessage() [1/3]

tf2_msgs::msg::TFMessage::TFMessage ( )

Default constructor.

在文件 TFMessage.cpp52 行定义.

◆ ~TFMessage()

tf2_msgs::msg::TFMessage::~TFMessage ( )

Default destructor.

在文件 TFMessage.cpp56 行定义.

◆ TFMessage() [2/3]

tf2_msgs::msg::TFMessage::TFMessage ( const TFMessage & x)

Copy constructor.

参数
xReference to the object tf2_msgs::msg::TFMessage that will be copied.

在文件 TFMessage.cpp60 行定义.

引用了 m_transforms.

◆ TFMessage() [3/3]

tf2_msgs::msg::TFMessage::TFMessage ( TFMessage && x)
noexcept

Move constructor.

参数
xReference to the object tf2_msgs::msg::TFMessage that will be copied.

在文件 TFMessage.cpp66 行定义.

成员函数说明

◆ deserialize()

void tf2_msgs::msg::TFMessage::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TFMessage.cpp128 行定义.

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::deserialize().

+ 这是这个函数的调用关系图:

◆ getCdrSerializedSize()

size_t tf2_msgs::msg::TFMessage::getCdrSerializedSize ( const tf2_msgs::msg::TFMessage & data,
size_t current_alignment = 0 )
static

This function returns the serialized size of a data depending on the buffer alignment.

参数
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
返回
Serialized size.

在文件 TFMessage.cpp107 行定义.

引用了 geometry_msgs::msg::TransformStamped::getCdrSerializedSize() , 以及 transforms().

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::getSerializedSizeProvider().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ getKeyMaxCdrSerializedSize()

size_t tf2_msgs::msg::TFMessage::getKeyMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 TFMessage.cpp172 行定义.

引用了 tf2_msgs_msg_TFMessage_max_key_cdr_typesize.

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::getKey() , 以及 tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().

+ 这是这个函数的调用关系图:

◆ getMaxCdrSerializedSize()

size_t tf2_msgs::msg::TFMessage::getMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 TFMessage.cpp100 行定义.

引用了 tf2_msgs_msg_TFMessage_max_cdr_typesize.

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().

+ 这是这个函数的调用关系图:

◆ isKeyDefined()

bool tf2_msgs::msg::TFMessage::isKeyDefined ( )
static

This function tells you if the Key has been defined for this type

在文件 TFMessage.cpp179 行定义.

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::TFMessagePubSubType().

+ 这是这个函数的调用关系图:

◆ operator!=()

bool tf2_msgs::msg::TFMessage::operator!= ( const TFMessage & x) const

Comparison operator.

参数
xtf2_msgs::msg::TFMessage object to compare.

在文件 TFMessage.cpp94 行定义.

◆ operator=() [1/2]

tf2_msgs::msg::TFMessage & tf2_msgs::msg::TFMessage::operator= ( const TFMessage & x)

Copy assignment.

参数
xReference to the object tf2_msgs::msg::TFMessage that will be copied.

在文件 TFMessage.cpp72 行定义.

引用了 m_transforms.

◆ operator=() [2/2]

tf2_msgs::msg::TFMessage & tf2_msgs::msg::TFMessage::operator= ( TFMessage && x)
noexcept

Move assignment.

参数
xReference to the object tf2_msgs::msg::TFMessage that will be copied.

在文件 TFMessage.cpp80 行定义.

◆ operator==()

bool tf2_msgs::msg::TFMessage::operator== ( const TFMessage & x) const

Comparison operator.

参数
xtf2_msgs::msg::TFMessage object to compare.

在文件 TFMessage.cpp88 行定义.

引用了 m_transforms.

◆ serialize()

void tf2_msgs::msg::TFMessage::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TFMessage.cpp122 行定义.

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::serialize().

+ 这是这个函数的调用关系图:

◆ serializeKey()

void tf2_msgs::msg::TFMessage::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

This function serializes the key members of an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TFMessage.cpp184 行定义.

被这些函数引用 tf2_msgs::msg::TFMessagePubSubType::getKey().

+ 这是这个函数的调用关系图:

◆ transforms() [1/4]

std::vector< geometry_msgs::msg::TransformStamped > & tf2_msgs::msg::TFMessage::transforms ( )

This function returns a reference to member transforms

返回
Reference to member transforms

在文件 TFMessage.cpp167 行定义.

◆ transforms() [2/4]

const std::vector< geometry_msgs::msg::TransformStamped > & tf2_msgs::msg::TFMessage::transforms ( ) const

This function returns a constant reference to member transforms

返回
Constant reference to member transforms

在文件 TFMessage.cpp158 行定义.

◆ transforms() [3/4]

void tf2_msgs::msg::TFMessage::transforms ( const std::vector< geometry_msgs::msg::TransformStamped > & _transforms)

This function copies the value in member transforms

参数
_transformsNew value to be copied in member transforms

在文件 TFMessage.cpp138 行定义.

被这些函数引用 getCdrSerializedSize().

+ 这是这个函数的调用关系图:

◆ transforms() [4/4]

void tf2_msgs::msg::TFMessage::transforms ( std::vector< geometry_msgs::msg::TransformStamped > && _transforms)

This function moves the value in member transforms

参数
_transformsNew value to be moved in member transforms

在文件 TFMessage.cpp148 行定义.

类成员变量说明

◆ m_transforms

std::vector<geometry_msgs::msg::TransformStamped> tf2_msgs::msg::TFMessage::m_transforms
private

在文件 TFMessage.h210 行定义.

被这些函数引用 operator=(), operator==() , 以及 TFMessage().


该类的文档由以下文件生成: