Go to the documentation of this file.
11 #ifndef _FAST_DDS_GENERATED_UDDS_BLOB_H_
12 #define _FAST_DDS_GENERATED_UDDS_BLOB_H_
25 #if defined(EPROSIMA_USER_DLL_EXPORT)
26 #define eProsima_user_DllExport __declspec( dllexport )
28 #define eProsima_user_DllExport
29 #endif // EPROSIMA_USER_DLL_EXPORT
31 #define eProsima_user_DllExport
35 #if defined(EPROSIMA_USER_DLL_EXPORT)
36 #if defined(blob_SOURCE)
37 #define blob_DllAPI __declspec( dllexport )
39 #define blob_DllAPI __declspec( dllimport )
43 #endif // EPROSIMA_USER_DLL_EXPORT
107 const blob&
x)
const;
114 const blob&
x)
const;
121 const std::vector<uint8_t>& _data);
128 std::vector<uint8_t>&& _data);
149 size_t current_alignment = 0);
159 size_t current_alignment = 0);
167 eprosima::fastcdr::Cdr& cdr)
const;
174 eprosima::fastcdr::Cdr& cdr);
185 size_t current_alignment = 0);
197 eprosima::fastcdr::Cdr& cdr)
const;
205 #endif // _FAST_DDS_GENERATED_UDDS_BLOB_H_
const eProsima_user_DllExport std::vector< uint8_t > & data() const
This function returns a constant reference to member data.
eProsima_user_DllExport bool operator==(const blob &x) const
Comparison operator.
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 blob & operator=(const blob &x)
Copy assignment.
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.
#define eProsima_user_DllExport
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type.
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
std::vector< uint8_t > m_data
eProsima_user_DllExport ~blob()
Default destructor.
This class represents the structure blob defined by the user in the IDL file.
eProsima_user_DllExport bool operator!=(const blob &x) const
Comparison operator.
static eProsima_user_DllExport size_t getCdrSerializedSize(const udds::blob &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eProsima_user_DllExport blob()
Default constructor.
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01