|
Nav2 Navigation Stack - rolling
main
ROS 2 Navigation Stack
|
A background thread to process node/executor callbacks. More...
#include <nav2_ros_common/include/nav2_ros_common/node_thread.hpp>
Public Member Functions | |
| NodeThread (rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base) | |
| A background thread to process node callbacks constructor. More... | |
| NodeThread (rclcpp::executors::SingleThreadedExecutor::SharedPtr executor) | |
| A background thread to process executor's callbacks constructor. More... | |
| template<typename NodeT > | |
| NodeThread (NodeT node) | |
| A background thread to process node callbacks constructor. More... | |
| ~NodeThread () | |
| A destructor. | |
Protected Attributes | |
| rclcpp::node_interfaces::NodeBaseInterface::SharedPtr | node_ |
| std::unique_ptr< std::thread > | thread_ |
| rclcpp::Executor::SharedPtr | executor_ |
A background thread to process node/executor callbacks.
Definition at line 28 of file node_thread.hpp.
|
inlineexplicit |
A background thread to process node callbacks constructor.
| node_base | Interface to Node to spin in thread |
Definition at line 35 of file node_thread.hpp.
|
inlineexplicit |
A background thread to process executor's callbacks constructor.
| executor | Interface to executor to spin in thread |
Definition at line 53 of file node_thread.hpp.
|
inlineexplicit |
A background thread to process node callbacks constructor.
| node | Node pointer to spin in thread |
Definition at line 68 of file node_thread.hpp.