rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::node_interfaces::NodeTimers Class Reference

Implementation of the NodeTimers part of the Node API. More...

#include <node_timers.hpp>

Inheritance diagram for rclcpp::node_interfaces::NodeTimers:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::node_interfaces::NodeTimers:
Collaboration graph
[legend]

Public Member Functions

 NodeTimers (rclcpp::node_interfaces::NodeBaseInterface *node_base)
 
virtual ~NodeTimers ()
 
void add_timer (rclcpp::TimerBase::SharedPtr timer, rclcpp::CallbackGroup::SharedPtr callback_group) override
 Add a timer to the node. More...
 
- Public Member Functions inherited from rclcpp::node_interfaces::NodeTimersInterface
virtual ~NodeTimersInterface ()=default
 

Detailed Description

Implementation of the NodeTimers part of the Node API.

Constructor & Destructor Documentation

◆ NodeTimers()

rclcpp::node_interfaces::NodeTimers::NodeTimers ( rclcpp::node_interfaces::NodeBaseInterface node_base)
explicit

◆ ~NodeTimers()

virtual rclcpp::node_interfaces::NodeTimers::~NodeTimers ( )
virtual

Member Function Documentation

◆ add_timer()

void rclcpp::node_interfaces::NodeTimers::add_timer ( rclcpp::TimerBase::SharedPtr  timer,
rclcpp::CallbackGroup::SharedPtr  callback_group 
)
overridevirtual

Add a timer to the node.

Implements rclcpp::node_interfaces::NodeTimersInterface.


The documentation for this class was generated from the following file: