rclcpp  master
C++ ROS Client Library API
Classes | Typedefs
rclcpp::timer Namespace Reference

Classes

class  GenericTimer
 Generic timer templated on the clock type. Periodically executes a user-specified callback. More...
 
class  TimerBase
 

Typedefs

using VoidCallbackType = std::function< void()>
 
using TimerCallbackType = std::function< void(TimerBase &)>
 
template<typename CallbackType >
using WallTimer = GenericTimer< CallbackType, std::chrono::steady_clock >
 

Typedef Documentation

◆ VoidCallbackType

using rclcpp::timer::VoidCallbackType = typedef std::function<void()>

◆ TimerCallbackType

using rclcpp::timer::TimerCallbackType = typedef std::function<void(TimerBase &)>

◆ WallTimer

template<typename CallbackType >
using rclcpp::timer::WallTimer = typedef GenericTimer<CallbackType, std::chrono::steady_clock>