rclcpp  beta1
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::timer::TimerBase
 
class  rclcpp::timer::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
 
 rclcpp::timer
 

Typedefs

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