tf2_ros
master
This package contains the ROS bindings for the tf2 library, for both Python and C++.
|
Go to the documentation of this file.
30 #ifndef TF2_ROS__CREATE_TIMER_INTERFACE_H_
31 #define TF2_ROS__CREATE_TIMER_INTERFACE_H_
37 #include <rclcpp/rclcpp.hpp>
97 rclcpp::Clock::SharedPtr clock,
98 const tf2::Duration & period,
140 #endif // TF2_ROS__CREATE_TIMER_INTERFACE_H_
Abstract interface for creating timers.
Definition: create_timer_interface.h:74
Definition: create_timer_interface.h:61
uint64_t TimerHandle
Definition: create_timer_interface.h:48
TF2_ROS_PUBLIC CreateTimerInterfaceException(const std::string &errorDescription)
Definition: create_timer_interface.h:55
virtual TF2_ROS_PUBLIC void cancel(const TimerHandle &timer_handle)=0
Cancel a timer.
TF2_ROS_PUBLIC InvalidTimerHandleException(const std::string &description)
Definition: create_timer_interface.h:65
virtual TF2_ROS_PUBLIC ~CreateTimerInterface()=default
virtual TF2_ROS_PUBLIC void reset(const TimerHandle &timer_handle)=0
Reset the timer.
virtual TF2_ROS_PUBLIC void remove(const TimerHandle &timer_handle)=0
Remove a timer.
Definition: create_timer_interface.h:51
Definition: async_buffer_interface.h:43
#define TF2_ROS_PUBLIC
Definition: visibility_control.h:58
virtual TF2_ROS_PUBLIC TimerHandle createTimer(rclcpp::Clock::SharedPtr clock, const tf2::Duration &period, TimerCallbackType callback)=0
Create a new timer.