This class represents the structure TF2Error defined by the user in the IDL file. 更多...
#include <TF2Error.h>
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 TF2Error & | operator= (const TF2Error &x) |
Copy assignment. | |
eProsima_user_DllExport TF2Error & | operator= (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.h 第 78 行定义.
tf2_msgs::msg::TF2Error::TF2Error | ( | ) |
tf2_msgs::msg::TF2Error::~TF2Error | ( | ) |
Default destructor.
在文件 TF2Error.cpp 第 48 行定义.
tf2_msgs::msg::TF2Error::TF2Error | ( | const TF2Error & | x | ) |
Copy constructor.
x | Reference to the object tf2_msgs::msg::TF2Error that will be copied. |
在文件 TF2Error.cpp 第 52 行定义.
引用了 m_error , 以及 m_error_string.
|
noexcept |
Move constructor.
x | Reference to the object tf2_msgs::msg::TF2Error that will be copied. |
在文件 TF2Error.cpp 第 59 行定义.
void tf2_msgs::msg::TF2Error::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TF2Error.cpp 第 121 行定义.
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::deserialize().
uint8_t & tf2_msgs::msg::TF2Error::error | ( | ) |
This function returns a reference to member error
在文件 TF2Error.cpp 第 151 行定义.
uint8_t tf2_msgs::msg::TF2Error::error | ( | ) | const |
void tf2_msgs::msg::TF2Error::error | ( | uint8_t | _error | ) |
This function sets a value in member error
_error | New value for member error |
在文件 TF2Error.cpp 第 132 行定义.
std::string & tf2_msgs::msg::TF2Error::error_string | ( | ) |
This function returns a reference to member error_string
在文件 TF2Error.cpp 第 189 行定义.
const std::string & tf2_msgs::msg::TF2Error::error_string | ( | ) | const |
This function returns a constant reference to member error_string
在文件 TF2Error.cpp 第 180 行定义.
void tf2_msgs::msg::TF2Error::error_string | ( | const std::string & | _error_string | ) |
This function copies the value in member error_string
_error_string | New value to be copied in member error_string |
在文件 TF2Error.cpp 第 160 行定义.
被这些函数引用 getCdrSerializedSize().
void tf2_msgs::msg::TF2Error::error_string | ( | std::string && | _error_string | ) |
This function moves the value in member error_string
_error_string | New value to be moved in member error_string |
在文件 TF2Error.cpp 第 170 行定义.
|
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. |
在文件 TF2Error.cpp 第 103 行定义.
引用了 error_string().
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 TF2Error.cpp 第 195 行定义.
引用了 tf2_msgs_msg_TF2Error_max_key_cdr_typesize.
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::getKey() , 以及 tf2_msgs::msg::TF2ErrorPubSubType::TF2ErrorPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 TF2Error.cpp 第 96 行定义.
引用了 tf2_msgs_msg_TF2Error_max_cdr_typesize.
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::TF2ErrorPubSubType().
|
static |
This function tells you if the Key has been defined for this type
在文件 TF2Error.cpp 第 202 行定义.
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::TF2ErrorPubSubType().
bool tf2_msgs::msg::TF2Error::operator!= | ( | const TF2Error & | x | ) | const |
tf2_msgs::msg::TF2Error & tf2_msgs::msg::TF2Error::operator= | ( | const TF2Error & | x | ) |
Copy assignment.
x | Reference to the object tf2_msgs::msg::TF2Error that will be copied. |
在文件 TF2Error.cpp 第 66 行定义.
引用了 m_error , 以及 m_error_string.
|
noexcept |
Move assignment.
x | Reference to the object tf2_msgs::msg::TF2Error that will be copied. |
在文件 TF2Error.cpp 第 75 行定义.
引用了 m_error.
bool tf2_msgs::msg::TF2Error::operator== | ( | const TF2Error & | x | ) | const |
Comparison operator.
x | tf2_msgs::msg::TF2Error object to compare. |
在文件 TF2Error.cpp 第 84 行定义.
引用了 m_error , 以及 m_error_string.
void tf2_msgs::msg::TF2Error::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TF2Error.cpp 第 114 行定义.
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::serialize().
void tf2_msgs::msg::TF2Error::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 TF2Error.cpp 第 207 行定义.
被这些函数引用 tf2_msgs::msg::TF2ErrorPubSubType::getKey().
|
private |
在文件 TF2Error.h 第 234 行定义.
被这些函数引用 operator=(), operator=(), operator==(), TF2Error() , 以及 TF2Error().
|
private |
在文件 TF2Error.h 第 235 行定义.
被这些函数引用 operator=(), operator==(), TF2Error() , 以及 TF2Error().