rmw
master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
|
Go to the documentation of this file.
54 #define RMW_DURATION_INFINITE {9223372036LL, 854775807LL}
55 #define RMW_DURATION_UNSPECIFIED {0LL, 0LL}
92 #endif // RMW__TIME_H_
int64_t rcutils_duration_value_t
rcutils_duration_value_t rmw_duration_t
Definition: time.h:41
rcutils_time_point_value_t rmw_time_point_value_t
Definition: time.h:40
uint64_t nsec
Nanoseconds component.
Definition: time.h:37
#define RMW_PUBLIC
Definition: visibility_control.h:48
A struct representing a duration or relative time in RMW - does not encode an origin.
Definition: time.h:31
rmw_time_t rmw_time_normalize(const rmw_time_t time)
Ensure that an rmw_time_t does not have nanoseconds > 1 second.
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:540
rmw_time_t rmw_time_from_nsec(const rmw_duration_t nanoseconds)
Construct rmw_time_t from a total nanoseconds representation.
#define RMW_WARN_UNUSED
Indicate that a variable is not used, and prevent compiler from issuing warnings.
Definition: macros.h:24
struct RMW_PUBLIC_TYPE rmw_time_t rmw_time_t
A struct representing a duration or relative time in RMW - does not encode an origin.
rmw_duration_t rmw_time_total_nsec(const rmw_time_t time)
Return the total nanosecond representation of a time.
int64_t rcutils_time_point_value_t
uint64_t sec
Seconds component.
Definition: time.h:34
bool rmw_time_equal(const rmw_time_t left, const rmw_time_t right)
Check whether two rmw_time_t represent the same time.