#include <timer.hpp>
◆ TimerBase()
◆ ~TimerBase()
rclcpp::TimerBase::~TimerBase |
( |
| ) |
|
◆ cancel()
void rclcpp::TimerBase::cancel |
( |
| ) |
|
◆ reset()
void rclcpp::TimerBase::reset |
( |
| ) |
|
◆ execute_callback()
virtual void rclcpp::TimerBase::execute_callback |
( |
| ) |
|
|
pure virtual |
◆ get_timer_handle()
◆ time_until_trigger()
Check how long the timer has until its next scheduled callback.
- Returns
- A std::chrono::duration representing the relative time until the next callback.
◆ is_steady()
virtual bool rclcpp::TimerBase::is_steady |
( |
| ) |
|
|
pure virtual |
◆ is_ready()
bool rclcpp::TimerBase::is_ready |
( |
| ) |
|
Check if the timer is ready to trigger the callback.
This function expects its caller to immediately trigger the callback after this function, since it maintains the last time the callback was triggered.
- Returns
- True if the timer needs to trigger.
◆ timer_handle_
The documentation for this class was generated from the following file: