15 #ifndef RCLCPP__EXECUTORS__STATIC_SINGLE_THREADED_EXECUTOR_HPP_
16 #define RCLCPP__EXECUTORS__STATIC_SINGLE_THREADED_EXECUTOR_HPP_
22 #include "rclcpp/executor.hpp"
23 #include "rclcpp/executors/executor_entities_collection.hpp"
24 #include "rclcpp/executors/single_threaded_executor.hpp"
94 spin_some(std::chrono::nanoseconds max_duration = std::chrono::nanoseconds(0))
override;
113 spin_all(std::chrono::nanoseconds max_duration)
override;
124 execute_ready_executables(
130 spin_some_impl(std::chrono::nanoseconds max_duration,
bool exhaustive);
133 spin_once_impl(std::chrono::nanoseconds timeout)
override;
135 std::optional<rclcpp::WaitResult<rclcpp::WaitSet>>
136 collect_and_wait(std::chrono::nanoseconds timeout);
Coordinate the order and timing of available communication tasks.
Interface for introspecting a wait set after waiting on it.
Single-threaded executor implementation.
Static executor implementation.
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.
RCLCPP_PUBLIC void spin(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr)
Create a default single-threaded executor and spin the specified node.
RCLCPP_PUBLIC void spin_all(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr, std::chrono::nanoseconds max_duration)
Create a default single-threaded executor and execute all available work exhaustively.
RCLCPP_PUBLIC void spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr)
Create a default single-threaded executor and execute any immediately available work.
Options to be passed to the executor constructor.
Represent the total set of entities for a single executor.