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

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

#include <node_waitables.hpp>

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

Public Member Functions

 NodeWaitables (rclcpp::node_interfaces::NodeBaseInterface *node_base)
 
virtual ~NodeWaitables ()
 
virtual void add_waitable (rclcpp::Waitable::SharedPtr waitable_base_ptr, rclcpp::callback_group::CallbackGroup::SharedPtr group)
 
virtual void remove_waitable (rclcpp::Waitable::SharedPtr waitable_ptr, rclcpp::callback_group::CallbackGroup::SharedPtr group) noexcept
 
- Public Member Functions inherited from rclcpp::node_interfaces::NodeWaitablesInterface
virtual ~NodeWaitablesInterface ()=default
 

Detailed Description

Implementation of the NodeWaitables part of the Node API.

Constructor & Destructor Documentation

◆ NodeWaitables()

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

◆ ~NodeWaitables()

virtual rclcpp::node_interfaces::NodeWaitables::~NodeWaitables ( )
virtual

Member Function Documentation

◆ add_waitable()

virtual void rclcpp::node_interfaces::NodeWaitables::add_waitable ( rclcpp::Waitable::SharedPtr  waitable_base_ptr,
rclcpp::callback_group::CallbackGroup::SharedPtr  group 
)
virtual

◆ remove_waitable()

virtual void rclcpp::node_interfaces::NodeWaitables::remove_waitable ( rclcpp::Waitable::SharedPtr  waitable_ptr,
rclcpp::callback_group::CallbackGroup::SharedPtr  group 
)
virtualnoexcept
Note
this function should not throw because it may be called in destructors

Implements rclcpp::node_interfaces::NodeWaitablesInterface.


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