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

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

#include <TF2Error.h>

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

Public 成员函数

eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport uint8_t & error ()
 This function returns a reference to member error
 
eProsima_user_DllExport uint8_t error () const
 This function returns the value of member error
 
eProsima_user_DllExport void error (uint8_t _error)
 This function sets a value in member error
 
eProsima_user_DllExport std::string & error_string ()
 This function returns a reference to member error_string
 
eProsima_user_DllExport const std::string & error_string () const
 This function returns a constant reference to member error_string
 
eProsima_user_DllExport void error_string (const std::string &_error_string)
 This function copies the value in member error_string
 
eProsima_user_DllExport void error_string (std::string &&_error_string)
 This function moves the value in member error_string
 
eProsima_user_DllExport bool operator!= (const TF2Error &x) const
 Comparison operator.
 
eProsima_user_DllExport TF2Erroroperator= (const TF2Error &x)
 Copy assignment.
 
eProsima_user_DllExport TF2Erroroperator= (TF2Error &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const TF2Error &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 TF2Error ()
 Default constructor.
 
eProsima_user_DllExport TF2Error (const TF2Error &x)
 Copy constructor.
 
eProsima_user_DllExport TF2Error (TF2Error &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport ~TF2Error ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const tf2_msgs::msg::TF2Error &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 属性

uint8_t m_error
 
std::string m_error_string
 

详细描述

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

在文件 TF2Error.h78 行定义.

构造及析构函数说明

◆ TF2Error() [1/3]

tf2_msgs::msg::TF2Error::TF2Error ( )

Default constructor.

在文件 TF2Error.cpp40 行定义.

引用了 m_error , 以及 m_error_string.

◆ ~TF2Error()

tf2_msgs::msg::TF2Error::~TF2Error ( )

Default destructor.

在文件 TF2Error.cpp48 行定义.

◆ TF2Error() [2/3]

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

Copy constructor.

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

在文件 TF2Error.cpp52 行定义.

引用了 m_error , 以及 m_error_string.

◆ TF2Error() [3/3]

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

Move constructor.

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

在文件 TF2Error.cpp59 行定义.

成员函数说明

◆ deserialize()

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

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TF2Error.cpp121 行定义.

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

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

◆ error() [1/3]

uint8_t & tf2_msgs::msg::TF2Error::error ( )

This function returns a reference to member error

返回
Reference to member error

在文件 TF2Error.cpp151 行定义.

◆ error() [2/3]

uint8_t tf2_msgs::msg::TF2Error::error ( ) const

This function returns the value of member error

返回
Value of member error

在文件 TF2Error.cpp142 行定义.

◆ error() [3/3]

void tf2_msgs::msg::TF2Error::error ( uint8_t _error)

This function sets a value in member error

参数
_errorNew value for member error

在文件 TF2Error.cpp132 行定义.

◆ error_string() [1/4]

std::string & tf2_msgs::msg::TF2Error::error_string ( )

This function returns a reference to member error_string

返回
Reference to member error_string

在文件 TF2Error.cpp189 行定义.

◆ error_string() [2/4]

const std::string & tf2_msgs::msg::TF2Error::error_string ( ) const

This function returns a constant reference to member error_string

返回
Constant reference to member error_string

在文件 TF2Error.cpp180 行定义.

◆ error_string() [3/4]

void tf2_msgs::msg::TF2Error::error_string ( const std::string & _error_string)

This function copies the value in member error_string

参数
_error_stringNew value to be copied in member error_string

在文件 TF2Error.cpp160 行定义.

被这些函数引用 getCdrSerializedSize().

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

◆ error_string() [4/4]

void tf2_msgs::msg::TF2Error::error_string ( std::string && _error_string)

This function moves the value in member error_string

参数
_error_stringNew value to be moved in member error_string

在文件 TF2Error.cpp170 行定义.

◆ getCdrSerializedSize()

size_t tf2_msgs::msg::TF2Error::getCdrSerializedSize ( const tf2_msgs::msg::TF2Error & 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.

在文件 TF2Error.cpp103 行定义.

引用了 error_string().

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

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

◆ getKeyMaxCdrSerializedSize()

size_t tf2_msgs::msg::TF2Error::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.

在文件 TF2Error.cpp195 行定义.

引用了 tf2_msgs_msg_TF2Error_max_key_cdr_typesize.

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

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

◆ getMaxCdrSerializedSize()

size_t tf2_msgs::msg::TF2Error::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.

在文件 TF2Error.cpp96 行定义.

引用了 tf2_msgs_msg_TF2Error_max_cdr_typesize.

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

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

◆ isKeyDefined()

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

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

在文件 TF2Error.cpp202 行定义.

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

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

◆ operator!=()

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

Comparison operator.

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

在文件 TF2Error.cpp90 行定义.

◆ operator=() [1/2]

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

Copy assignment.

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

在文件 TF2Error.cpp66 行定义.

引用了 m_error , 以及 m_error_string.

◆ operator=() [2/2]

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

Move assignment.

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

在文件 TF2Error.cpp75 行定义.

引用了 m_error.

◆ operator==()

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

Comparison operator.

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

在文件 TF2Error.cpp84 行定义.

引用了 m_error , 以及 m_error_string.

◆ serialize()

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

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 TF2Error.cpp114 行定义.

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

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

◆ serializeKey()

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

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

参数
cdrCDR serialization object.

在文件 TF2Error.cpp207 行定义.

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

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

类成员变量说明

◆ m_error

uint8_t tf2_msgs::msg::TF2Error::m_error
private

在文件 TF2Error.h234 行定义.

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

◆ m_error_string

std::string tf2_msgs::msg::TF2Error::m_error_string
private

在文件 TF2Error.h235 行定义.

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


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