15 #ifndef RCLCPP__EXECUTORS__MULTI_THREADED_EXECUTOR_HPP_ 16 #define RCLCPP__EXECUTORS__MULTI_THREADED_EXECUTOR_HPP_ 20 #include <unordered_map> 55 run(
size_t this_thread_number);
61 size_t number_of_threads_;
67 #endif // RCLCPP__EXECUTORS__MULTI_THREADED_EXECUTOR_HPP_ Definition: executor.hpp:66
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
Definition: allocator_common.hpp:24
MultiThreadedExecutor(const executor::ExecutorArgs &args=rclcpp::executor::create_default_executor_arguments())
void run(size_t this_thread_number)
size_t get_number_of_threads()
virtual ~MultiThreadedExecutor()
#define RCLCPP_SMART_PTR_DEFINITIONS(...)
Definition: macros.hpp:36
Coordinate the order and timing of available communication tasks.
Definition: executor.hpp:90
void spin()
Do work periodically as it becomes available to us. Blocking call, may block indefinitely.
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Definition: multi_threaded_executor.hpp:32