19.1.1.10.4. DDS Layer Time_t
-
struct Time_t
Structure Time_t, used to describe times at a DDS level.
Public Functions
-
Time_t()
Default constructor. Sets values to zero.
-
Time_t(int32_t sec, uint32_t nsec)
- Parameters:
sec – Seconds
nsec – Nanoseconds
-
Time_t(long double sec)
- Parameters:
sec – Seconds. The fractional part is converted to nanoseconds.
-
int64_t to_ns() const
Returns stored time as nanoseconds (including seconds)
-
Time_t()