rclcpp_components  master
Package containing tools for dynamically loadable components
Public Member Functions | List of all members
rclcpp_components::NodeFactory Class Referenceabstract

The NodeFactory interface is used by the class loader to instantiate components. More...

#include <node_factory.hpp>

Inheritance diagram for rclcpp_components::NodeFactory:
Inheritance graph
[legend]

Public Member Functions

 NodeFactory ()=default
 
virtual ~NodeFactory ()=default
 
virtual NodeInstanceWrapper create_node_instance (const rclcpp::NodeOptions &options)=0
 Create an instance of a component. More...
 

Detailed Description

The NodeFactory interface is used by the class loader to instantiate components.

The NodeFactory interface serves two purposes:

Constructor & Destructor Documentation

◆ NodeFactory()

rclcpp_components::NodeFactory::NodeFactory ( )
default

◆ ~NodeFactory()

virtual rclcpp_components::NodeFactory::~NodeFactory ( )
virtualdefault

Member Function Documentation

◆ create_node_instance()

virtual NodeInstanceWrapper rclcpp_components::NodeFactory::create_node_instance ( const rclcpp::NodeOptions options)
pure virtual

Create an instance of a component.

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

Implemented in rclcpp_components::NodeFactoryTemplate< NodeT >.


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