22#ifndef _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_QUATERNION_PUBSUBTYPES_H_
23#define _FAST_DDS_GENERATED_GEOMETRY_MSGS_MSG_QUATERNION_PUBSUBTYPES_H_
25#include <fastdds/dds/topic/TopicDataType.hpp>
26#include <fastrtps/utils/md5.h>
30#if !defined(GEN_API_VER) || (GEN_API_VER != 1)
32 Generated Quaternion is not compatible with current installed Fast DDS. Please, regenerate it with fastddsgen.
43 template<
typename Tag,
typename Tag::type M>
46 friend constexpr typename Tag::type
get(
62 template <
typename T,
typename Tag>
64 return ((::size_t) &
reinterpret_cast<char const volatile&
>((((T*)0)->*get(Tag()))));
85 eprosima::fastrtps::rtps::SerializedPayload_t* payload)
override;
88 eprosima::fastrtps::rtps::SerializedPayload_t* payload,
96 eprosima::fastrtps::rtps::InstanceHandle_t* ihandle,
97 bool force_md5 =
false)
override;
102 void* data)
override;
104 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
112 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_PLAIN
115 return is_plain_impl();
120 #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE
122 void* memory)
const override
124 new (memory) Quaternion();
134 return 32ULL == (detail::Quaternion_offset_of<Quaternion, detail::Quaternion_f>() +
sizeof(double));
#define eProsima_user_DllExport
This class represents the TopicDataType of the type Quaternion defined by the user in the IDL file.
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)