22#ifndef _FAST_DDS_GENERATED_ROSGRAPH_MSG_CLOCK_H_
23#define _FAST_DDS_GENERATED_ROSGRAPH_MSG_CLOCK_H_
27#include <fastrtps/utils/fixed_size_string.hpp>
37#if defined(EPROSIMA_USER_DLL_EXPORT)
38#define eProsima_user_DllExport __declspec( dllexport )
40#define eProsima_user_DllExport
43#define eProsima_user_DllExport
47#if defined(EPROSIMA_USER_DLL_EXPORT)
48#if defined(CLOCK_SOURCE)
49#define CLOCK_DllAPI __declspec( dllexport )
51#define CLOCK_DllAPI __declspec( dllimport )
119 const Clock& x)
const;
126 const Clock& x)
const;
161 size_t current_alignment = 0);
171 size_t current_alignment = 0);
178 eprosima::fastcdr::Cdr& cdr)
const;
185 eprosima::fastcdr::Cdr& cdr);
194 size_t current_alignment = 0);
206 eprosima::fastcdr::Cdr& cdr)
const;
#define eProsima_user_DllExport
This class represents the structure Time defined by the user in the IDL file.
This class represents the structure Clock defined by the user in the IDL file.
eProsima_user_DllExport Clock & operator=(const Clock &x)
Copy assignment.
eProsima_user_DllExport void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
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...
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.
eProsima_user_DllExport void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eProsima_user_DllExport const builtin_interfaces::msg::Time & clock() const
This function returns a constant reference to member clock
eProsima_user_DllExport ~Clock()
Default destructor.
builtin_interfaces::msg::Time m_clock
eProsima_user_DllExport void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
static eProsima_user_DllExport bool isKeyDefined()
This function tells you if the Key has been defined for this type
eProsima_user_DllExport bool operator!=(const Clock &x) const
Comparison operator.
eProsima_user_DllExport Clock()
Default constructor.
static eProsima_user_DllExport size_t getCdrSerializedSize(const rosgraph::msg::Clock &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eProsima_user_DllExport bool operator==(const Clock &x) const
Comparison operator.