rclcpp
master
C++ ROS Client Library API
|
#include <memory>
#include <string>
#include <utility>
#include "rclcpp/duration.hpp"
#include "rclcpp/node_interfaces/get_node_base_interface.hpp"
#include "rclcpp/node_interfaces/get_node_timers_interface.hpp"
#include "rclcpp/node_interfaces/node_base_interface.hpp"
#include "rclcpp/node_interfaces/node_timers_interface.hpp"
Go to the source code of this file.
Namespaces | |
rclcpp | |
This header provides the get_node_base_interface() template function. | |
Functions | |
template<typename CallbackT > | |
rclcpp::TimerBase::SharedPtr | rclcpp::create_timer (node_interfaces::NodeBaseInterface *node_base, node_interfaces::NodeTimersInterface *node_timers, rclcpp::Clock::SharedPtr clock, rclcpp::Duration period, CallbackT &&callback, rclcpp::callback_group::CallbackGroup::SharedPtr group=nullptr) |
template<typename NodeT , typename CallbackT > | |
rclcpp::TimerBase::SharedPtr | rclcpp::create_timer (NodeT node, rclcpp::Clock::SharedPtr clock, rclcpp::Duration period, CallbackT &&callback, rclcpp::callback_group::CallbackGroup::SharedPtr group=nullptr) |
Create a timer with a given clock. More... | |