Template Class ComponentManagerIsolated
Defined in File component_manager_isolated.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public rclcpp_components::ComponentManager(Class ComponentManager)
Class Documentation
-
template<typename ExecutorT = rclcpp::executors::SingleThreadedExecutor>
class ComponentManagerIsolated : public rclcpp_components::ComponentManager ComponentManagerIsolated uses dedicated single-threaded executors for each components.
Public Functions
-
inline explicit ComponentManagerIsolated(std::weak_ptr<rclcpp::Executor> executor = std::weak_ptr<rclcpp::Executor>(), std::string node_name = "ComponentManager", const rclcpp::NodeOptions &node_options = rclcpp::NodeOptions().start_parameter_services(false).start_parameter_event_publisher(false))
-
inline ComponentManagerIsolated(rclcpp::ExecutorOptions executor_options, size_t num_threads, std::weak_ptr<rclcpp::Executor> executor = std::weak_ptr<rclcpp::Executor>(), std::string node_name = "ComponentManager", const rclcpp::NodeOptions &node_options = rclcpp::NodeOptions().start_parameter_services(false).start_parameter_event_publisher(false))
-
inline ~ComponentManagerIsolated()
Protected Functions
-
inline virtual void add_node_to_executor(uint64_t node_id) override
Add component node to executor model, it’s invoked in on_load_node()
- Parameters:
node_id – node_id of loaded component node in node_wrappers_
-
inline virtual void remove_node_from_executor(uint64_t node_id) override
Remove component node from executor model, it’s invoked in on_unload_node()
- Parameters:
node_id – node_id of loaded component node in node_wrappers_
-
inline explicit ComponentManagerIsolated(std::weak_ptr<rclcpp::Executor> executor = std::weak_ptr<rclcpp::Executor>(), std::string node_name = "ComponentManager", const rclcpp::NodeOptions &node_options = rclcpp::NodeOptions().start_parameter_services(false).start_parameter_event_publisher(false))