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