23#ifndef _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_QUATERNION_PUBSUBTYPES_H_
24#define _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_QUATERNION_PUBSUBTYPES_H_
26#include <fastdds/dds/topic/TopicDataType.hpp>
28#include <fastrtps/utils/md5.h>
32#if !defined(GEN_API_VER) || (GEN_API_VER != 1)
35 Generated Quaternion is not compatible with current installed Fast DDS. Please, regenerate it with fastddsgen.
49 template<
typename Tag,
typename Tag::type M>
53 friend constexpr typename Tag::type
get(
69 template <
typename T,
typename Tag>
72 return ((
::size_t) &
reinterpret_cast<char const volatile&
>((((T*)0)->*get(Tag()))));
96 eprosima::fastrtps::rtps::SerializedPayload_t* payload)
override;
100 eprosima::fastrtps::rtps::SerializedPayload_t* payload,
101 void* data)
override;
104 void* data)
override;
109 eprosima::fastrtps::rtps::InstanceHandle_t* ihandle,
110 bool force_md5 =
false)
override;
115 void* data)
override;
117 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
127 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_PLAIN
132 return is_plain_impl();
137 #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE
141 void* memory)
const override
143 new (memory) Quaternion();
157 return 32ULL == (detail::Quaternion_offset_of<Quaternion, detail::Quaternion_f>() +
sizeof(double));
#define eProsima_user_DllExport
unsigned char * m_keyBuffer
static constexpr bool is_plain_impl()
This class represents the structure Quaternion defined by the user in the IDL file.
size_t constexpr Quaternion_offset_of()
friend constexpr type get(Quaternion_f)
double Quaternion::* type
friend constexpr Tag::type get(Tag)