15 #ifndef RCLCPP__TIME_HPP_ 16 #define RCLCPP__TIME_HPP_ 18 #include "builtin_interfaces/msg/time.hpp" 42 Time(
const Time & rhs);
45 Time(
const builtin_interfaces::msg::Time & time_msg);
51 operator builtin_interfaces::msg::Time()
const;
59 operator=(
const builtin_interfaces::msg::Time & time_msg);
100 #endif // RCLCPP__TIME_HPP_
bool operator>=(const rclcpp::Time &rhs) const
Time operator-(const rclcpp::Time &rhs) const
uint64_t nanoseconds() const
bool operator>(const rclcpp::Time &rhs) const
Definition: allocator_common.hpp:24
bool operator<=(const rclcpp::Time &rhs) const
static Time now(rcl_time_source_type_t clock=RCL_SYSTEM_TIME)
bool operator==(const rclcpp::Time &rhs) const
Time(int32_t seconds, uint32_t nanoseconds, rcl_time_source_type_t clock=RCL_SYSTEM_TIME)
bool operator<(const rclcpp::Time &rhs) const
Time operator+(const rclcpp::Time &rhs) const
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
void operator=(const Time &rhs)