22#ifndef _FAST_DDS_GENERATED_STD_MSGS_MSG_STRING_PUBSUBTYPES_H_
23#define _FAST_DDS_GENERATED_STD_MSGS_MSG_STRING_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 String is not compatible with current installed Fast DDS. Please, regenerate it with fastddsgen.
56 eprosima::fastrtps::rtps::SerializedPayload_t* payload)
override;
59 eprosima::fastrtps::rtps::SerializedPayload_t* payload,
67 eprosima::fastrtps::rtps::InstanceHandle_t* ihandle,
68 bool force_md5 =
false)
override;
75 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
83 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_PLAIN
91 #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE
93 void* memory)
const override
#define eProsima_user_DllExport
This class represents the TopicDataType of the type String defined by the user in the IDL file.
virtual eProsima_user_DllExport ~StringPubSubType() override
virtual eProsima_user_DllExport bool serialize(void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload) override
virtual eProsima_user_DllExport void deleteData(void *data) override
virtual eProsima_user_DllExport std::function< uint32_t()> getSerializedSizeProvider(void *data) override
unsigned char * m_keyBuffer
virtual eProsima_user_DllExport bool deserialize(eprosima::fastrtps::rtps::SerializedPayload_t *payload, void *data) override
virtual eProsima_user_DllExport bool getKey(void *data, eprosima::fastrtps::rtps::InstanceHandle_t *ihandle, bool force_md5=false) override
eProsima_user_DllExport StringPubSubType()
virtual eProsima_user_DllExport void * createData() override
This class represents the structure String defined by the user in the IDL file.