rclcpp  master
C++ ROS Client Library API
Classes | Namespaces | Typedefs
timer.hpp File Reference
#include <chrono>
#include <functional>
#include <memory>
#include <sstream>
#include <thread>
#include <type_traits>
#include <utility>
#include "rclcpp/function_traits.hpp"
#include "rclcpp/macros.hpp"
#include "rclcpp/rate.hpp"
#include "rclcpp/utilities.hpp"
#include "rclcpp/visibility_control.hpp"
#include "rcl/error_handling.h"
#include "rcl/timer.h"
#include "rmw/error_handling.h"
#include "rmw/rmw.h"

Go to the source code of this file.

Classes

class  rclcpp::TimerBase
 
class  rclcpp::GenericTimer< FunctorT, Clock, std::enable_if<(rclcpp::function_traits::same_arguments< FunctorT, VoidCallbackType >::value||rclcpp::function_traits::same_arguments< FunctorT, TimerCallbackType >::value) &&Clock::is_steady >::type * >
 Generic timer templated on the clock type. Periodically executes a user-specified callback. More...
 

Namespaces

 rclcpp
 

Typedefs

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