22#ifndef _FAST_DDS_GENERATED_TF2_MSGS_MSG_TF2ERROR_H_
23#define _FAST_DDS_GENERATED_TF2_MSGS_MSG_TF2ERROR_H_
25#include <fastrtps/utils/fixed_size_string.hpp>
35#if defined(EPROSIMA_USER_DLL_EXPORT)
36#define eProsima_user_DllExport __declspec( dllexport )
38#define eProsima_user_DllExport
41#define eProsima_user_DllExport
45#if defined(EPROSIMA_USER_DLL_EXPORT)
46#if defined(TF2Error_SOURCE)
47#define TF2Error_DllAPI __declspec( dllexport )
49#define TF2Error_DllAPI __declspec( dllimport )
52#define TF2Error_DllAPI
55#define TF2Error_DllAPI
158 const std::string& _error_string);
165 std::string&& _error_string);
186 size_t current_alignment = 0);
196 size_t current_alignment = 0);
203 eprosima::fastcdr::Cdr& cdr)
const;
210 eprosima::fastcdr::Cdr& cdr);
219 size_t current_alignment = 0);
231 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure TF2Error defined by the user in the IDL file.
eProsima_user_DllExport bool operator!=(const TF2Error &x) const
Comparison operator.
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.
eProsima_user_DllExport TF2Error & operator=(const TF2Error &x)
Copy assignment.
std::string m_error_string
eProsima_user_DllExport ~TF2Error()
Default destructor.
eProsima_user_DllExport bool operator==(const TF2Error &x) const
Comparison operator.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport TF2Error()
Default constructor.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport uint8_t error() const
This function returns the value of member error
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 ali...
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 const std::string & error_string() const
This function returns a constant reference to member error_string
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
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.
const uint8_t TF2Error__CONNECTIVITY_ERROR
const uint8_t TF2Error__NO_ERROR
const uint8_t TF2Error__TIMEOUT_ERROR
const uint8_t TF2Error__LOOKUP_ERROR
const uint8_t TF2Error__EXTRAPOLATION_ERROR
const uint8_t TF2Error__TRANSFORM_ERROR
const uint8_t TF2Error__INVALID_ARGUMENT_ERROR