Template Class NodeFactoryTemplate

Inheritance Relationships

Base Type

Class Documentation

template<typename NodeT>
class NodeFactoryTemplate : public rclcpp_components::NodeFactory

NodeFactoryTemplate is a convenience class for instantiating components.

The NodeFactoryTemplate class can be used to provide the NodeFactory interface for components that implement a single-argument constructor and get_node_base_interface.

Public Functions

NodeFactoryTemplate() = default
virtual ~NodeFactoryTemplate() = default
inline virtual NodeInstanceWrapper create_node_instance(const rclcpp::NodeOptions &options) override

Create an instance of a component.

Parameters:

options[in] Additional options used in the construction of the component.