rclcpp
master
C++ ROS Client Library API
|
#include <clock.hpp>
Public Member Functions | |
Clock (rcl_clock_type_t clock_type=RCL_SYSTEM_TIME) | |
~Clock () | |
Time | now () |
bool | ros_time_is_active () |
rcl_clock_type_t | get_clock_type () |
JumpHandler::SharedPtr | create_jump_callback (std::function< void()> pre_callback, std::function< void(const TimeJump &)> post_callback, JumpThreshold &threshold) |
|
explicit |
rclcpp::Clock::~Clock | ( | ) |
Time rclcpp::Clock::now | ( | ) |
bool rclcpp::Clock::ros_time_is_active | ( | ) |
rcl_clock_type_t rclcpp::Clock::get_clock_type | ( | ) |
JumpHandler::SharedPtr rclcpp::Clock::create_jump_callback | ( | std::function< void()> | pre_callback, |
std::function< void(const TimeJump &)> | post_callback, | ||
JumpThreshold & | threshold | ||
) |
These callback functions must remain valid as long as the returned shared pointer is valid.