Go to the documentation of this file.
22 #ifndef _RTCTK_AGNOSTICTOPICIF_H_
23 #define _RTCTK_AGNOSTICTOPICIF_H_
34 #if defined(EPROSIMA_USER_DLL_EXPORT)
35 #define eProsima_user_DllExport __declspec( dllexport )
37 #define eProsima_user_DllExport
38 #endif // EPROSIMA_USER_DLL_EXPORT
40 #define eProsima_user_DllExport
44 #if defined(EPROSIMA_USER_DLL_EXPORT)
45 #if defined(agnostictopicif_SOURCE)
46 #define agnostictopicif_DllAPI __declspec( dllexport )
48 #define agnostictopicif_DllAPI __declspec( dllimport )
49 #endif // agnostictopicif_SOURCE
51 #define agnostictopicif_DllAPI
52 #endif // EPROSIMA_USER_DLL_EXPORT
54 #define agnostictopicif_DllAPI
184 size_t current_alignment = 0);
194 size_t current_alignment = 0);
202 eprosima::fastcdr::Cdr& cdr)
const;
209 eprosima::fastcdr::Cdr& cdr);
220 size_t current_alignment = 0);
232 eprosima::fastcdr::Cdr& cdr)
const;
242 #endif // _RTCTK_AGNOSTICTOPICIF_H_
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...
Definition: agnostictopicif.cpp:257
std::vector< uint8_t > GenPayLoad
Definition: agnostictopicif.h:66
eProsima_user_DllExport uint32_t sample_id() const
This function returns the value of member sample_id.
Definition: agnostictopicif.cpp:177
static eProsima_user_DllExport size_t getCdrSerializedSize(const rtctk::AgnosticTopic &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
Definition: agnostictopicif.cpp:117
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type.
Definition: agnostictopicif.cpp:270
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
Definition: agnostictopicif.cpp:154
eProsima_user_DllExport ~AgnosticTopic()
Default destructor.
Definition: agnostictopicif.cpp:50
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 rtctk::TimeStamp time_stamp() const
This function returns the value of member time_stamp.
Definition: agnostictopicif.cpp:205
#define eProsima_user_DllExport
Definition: agnostictopicif.h:40
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
Definition: agnostictopicif.cpp:275
unsigned int uint32_t
Definition: mudpi.h:16
eProsima_user_DllExport const rtctk::GenPayLoad & serialized_data() const
This function returns a constant reference to member serialized_data.
Definition: agnostictopicif.cpp:243
eProsima_user_DllExport AgnosticTopic()
Default constructor.
Definition: agnostictopicif.cpp:39
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.
Definition: agnostictopicif.cpp:95
eProsima_user_DllExport AgnosticTopic & operator=(const AgnosticTopic &x)
Copy assignment.
Definition: agnostictopicif.cpp:73
Definition: agnostictopicif.h:57
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
Definition: agnostictopicif.cpp:144
Definition: agnostictopicifPubSubTypes.cpp:31