rclcpp_components  master
Package containing tools for dynamically loadable components
Public Member Functions | List of all members
rclcpp_components::NodeFactoryTemplate< NodeT > Class Template Reference

NodeFactoryTemplate is a convenience class for instantiating components. More...

#include <node_factory_template.hpp>

Inheritance diagram for rclcpp_components::NodeFactoryTemplate< NodeT >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp_components::NodeFactoryTemplate< NodeT >:
Collaboration graph
[legend]

Public Member Functions

 NodeFactoryTemplate ()=default
 
virtual ~NodeFactoryTemplate ()=default
 
NodeInstanceWrapper create_node_instance (const rclcpp::NodeOptions &options) override
 Create an instance of a component. More...
 
- Public Member Functions inherited from rclcpp_components::NodeFactory
 NodeFactory ()=default
 
virtual ~NodeFactory ()=default
 

Detailed Description

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

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.

Constructor & Destructor Documentation

◆ NodeFactoryTemplate()

template<typename NodeT >
rclcpp_components::NodeFactoryTemplate< NodeT >::NodeFactoryTemplate ( )
default

◆ ~NodeFactoryTemplate()

template<typename NodeT >
virtual rclcpp_components::NodeFactoryTemplate< NodeT >::~NodeFactoryTemplate ( )
virtualdefault

Member Function Documentation

◆ create_node_instance()

template<typename NodeT >
NodeInstanceWrapper rclcpp_components::NodeFactoryTemplate< NodeT >::create_node_instance ( const rclcpp::NodeOptions options)
inlineoverridevirtual

Create an instance of a component.

Parameters
[in]optionsAdditional options used in the construction of the component.

Implements rclcpp_components::NodeFactory.


The documentation for this class was generated from the following file: