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
35 #include <rclcpp/rclcpp.hpp>
93 rclcpp::Clock::SharedPtr clock,
94 const tf2::Duration & period,
136 #endif // TF2_ROS__CREATE_TIMER_INTERFACE_H
Abstract interface for creating timers.
Definition: create_timer_interface.h:70
Definition: create_timer_interface.h:57
uint64_t TimerHandle
Definition: create_timer_interface.h:44
TF2_ROS_PUBLIC CreateTimerInterfaceException(const std::string errorDescription)
Definition: create_timer_interface.h:51
virtual TF2_ROS_PUBLIC void cancel(const TimerHandle &timer_handle)=0
Cancel a timer.
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:47
Definition: async_buffer_interface.h:41
#define TF2_ROS_PUBLIC
Definition: visibility_control.h:58
TF2_ROS_PUBLIC InvalidTimerHandleException(const std::string description)
Definition: create_timer_interface.h:61
virtual TF2_ROS_PUBLIC TimerHandle createTimer(rclcpp::Clock::SharedPtr clock, const tf2::Duration &period, TimerCallbackType callback)=0
Create a new timer.