Go to the documentation of this file.
23 #ifndef _RTCTK_AGNOSTICTOPICIF_PUBSUBTYPES_H_
24 #define _RTCTK_AGNOSTICTOPICIF_PUBSUBTYPES_H_
26 #include <fastdds/dds/topic/TopicDataType.hpp>
27 #include <fastrtps/utils/md5.h>
31 #if !defined(GEN_API_VER) || (GEN_API_VER != 1)
32 #error Generated agnostictopicif is not compatible with current installed Fast DDS. Please, regenerate it with fastddsgen.
67 bool force_md5 =
false)
override;
74 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
80 #endif // TOPIC_DATA_TYPE_API_HAS_IS_BOUNDED
82 #ifdef TOPIC_DATA_TYPE_API_HAS_IS_PLAIN
88 #endif // TOPIC_DATA_TYPE_API_HAS_IS_PLAIN
90 #ifdef TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE
92 void* memory)
const override
98 #endif // TOPIC_DATA_TYPE_API_HAS_CONSTRUCT_SAMPLE
105 #endif // _RTCTK_AGNOSTICTOPICIF_PUBSUBTYPES_H_
virtual eProsima_user_DllExport bool serialize(void *data, eprosima::fastrtps::rtps::SerializedPayload_t *payload) override
Definition: agnostictopicifPubSubTypes.cpp:55
virtual eProsima_user_DllExport ~AgnosticTopicPubSubType()
Definition: agnostictopicifPubSubTypes.cpp:47
unsigned char * m_keyBuffer
Definition: agnostictopicifPubSubTypes.h:101
virtual eProsima_user_DllExport bool deserialize(eprosima::fastrtps::rtps::SerializedPayload_t *payload, void *data) override
Definition: agnostictopicifPubSubTypes.cpp:84
std::vector< uint8_t > GenPayLoad
Definition: agnostictopicif.h:66
MD5 m_md5
Definition: agnostictopicifPubSubTypes.h:100
eprosima::fastrtps::rtps::SerializedPayload_t SerializedPayload_t
Definition: agnostictopicifPubSubTypes.cpp:28
This class represents the TopicDataType of the type AgnosticTopic defined by the user in the IDL file...
Definition: agnostictopicifPubSubTypes.h:44
virtual eProsima_user_DllExport bool getKey(void *data, eprosima::fastrtps::rtps::InstanceHandle_t *ihandle, bool force_md5=false) override
Definition: agnostictopicifPubSubTypes.cpp:135
virtual eProsima_user_DllExport void * createData() override
Definition: agnostictopicifPubSubTypes.cpp:124
AgnosticTopic type
Definition: agnostictopicifPubSubTypes.h:47
double TimeStamp
Definition: agnostictopicif.h:65
This class represents the structure AgnosticTopic defined by the user in the IDL file.
Definition: agnostictopicif.h:72
eProsima_user_DllExport AgnosticTopicPubSubType()
Definition: agnostictopicifPubSubTypes.cpp:34
#define eProsima_user_DllExport
Definition: agnostictopicif.h:40
virtual eProsima_user_DllExport void deleteData(void *data) override
Definition: agnostictopicifPubSubTypes.cpp:129
unsigned int uint32_t
Definition: mudpi.h:16
virtual eProsima_user_DllExport std::function< uint32_t()> getSerializedSizeProvider(void *data) override
Definition: agnostictopicifPubSubTypes.cpp:114
eprosima::fastrtps::rtps::InstanceHandle_t InstanceHandle_t
Definition: agnostictopicifPubSubTypes.cpp:29
Definition: agnostictopicifPubSubTypes.cpp:31