22#ifndef FAST_DDS_GENERATED__BUILTIN_INTERFACES_MSG_TIME_HPP
23#define FAST_DDS_GENERATED__BUILTIN_INTERFACES_MSG_TIME_HPP
29#if defined(EPROSIMA_USER_DLL_EXPORT)
30#define eProsima_user_DllExport __declspec( dllexport )
32#define eProsima_user_DllExport
35#define eProsima_user_DllExport
39#if defined(EPROSIMA_USER_DLL_EXPORT)
40#if defined(TIME_SOURCE)
41#define TIME_DllAPI __declspec( dllexport )
43#define TIME_DllAPI __declspec( dllimport )
137 return (
m_sec == x.m_sec &&
148 return !(*
this == x);
This class represents the structure Time defined by the user in the IDL file.
eProsima_user_DllExport Time & operator=(const Time &x)
Copy assignment.
eProsima_user_DllExport Time(const Time &x)
Copy constructor.
eProsima_user_DllExport void sec(int32_t _sec)
This function sets a value in member sec.
eProsima_user_DllExport uint32_t nanosec() const
This function returns the value of member nanosec.
eProsima_user_DllExport int32_t sec() const
This function returns the value of member sec.
eProsima_user_DllExport Time()
Default constructor.
eProsima_user_DllExport ~Time()
Default destructor.
eProsima_user_DllExport bool operator!=(const Time &x) const
Comparison operator.
eProsima_user_DllExport void nanosec(uint32_t _nanosec)
This function sets a value in member nanosec.
eProsima_user_DllExport Time(Time &&x) noexcept
Move constructor.
eProsima_user_DllExport int32_t & sec()
This function returns a reference to member sec.
eProsima_user_DllExport bool operator==(const Time &x) const
Comparison operator.
eProsima_user_DllExport uint32_t & nanosec()
This function returns a reference to member nanosec.