|
rclcpp_components
master
Package containing tools for dynamically loadable components
|

Go to the source code of this file.
Macros | |
| #define | RCLCPP_COMPONENTS_REGISTER_NODE(NodeClass) |
| Register a component that can be dynamically loaded at runtime. More... | |
| #define RCLCPP_COMPONENTS_REGISTER_NODE | ( | NodeClass | ) |
Register a component that can be dynamically loaded at runtime.
The registration macro should appear once per component per library. The macro should appear in a single translation unit.
Valid arguments for NodeClass shall:
rclcpp::NodeOptions instance.rclcpp::node_interfaces::NodeBaseInterface::SharedPtr get_node_base_interfaceNote: NodeClass does not need to inherit from rclcpp::Node, but it is the easiest way.
1.8.17