17.2.3.20.4. eprosima::fastrtps::Time_t¶
-
struct Time_t¶
Structure Time_t, used to describe times.
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()¶