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_t * | get_clock_handle () |
rcl_clock_type_t | get_clock_type () |
JumpHandler::SharedPtr | create_jump_callback (std::function< void()> pre_callback, std::function< void(const rcl_time_jump_t &)> post_callback, const rcl_jump_threshold_t &threshold) |
|
explicit |
rclcpp::Clock::~Clock | ( | ) |
Time rclcpp::Clock::now | ( | ) |
bool rclcpp::Clock::ros_time_is_active | ( | ) |
rcl_clock_t* rclcpp::Clock::get_clock_handle | ( | ) |
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 rcl_time_jump_t &)> | post_callback, | ||
const rcl_jump_threshold_t & | threshold | ||
) |
These callback functions must remain valid as long as the returned shared pointer is valid.