Noether  0.0.0
Loading...
Searching...
No Matches
noether::Plugin< T > Class Template Referenceabstract

Base class for a plugin that can generate a tool path planning component (e.g., mesh modifier, tool path planner, tool path modifier).

#include <plugin_interface.h>

Public Types

typedef T ComponentT
 Typedef for the tool path planning component type.
 
using Ptr = std::shared_ptr< Plugin >
 

Public Member Functions

virtual std::unique_ptr< ComponentTcreate (const YAML::Node &config, std::shared_ptr< const Factory > factory) const =0
 Returns a pointer to a configured tool path planning component (e.g., mesh modifier, tool path planner, tool path modifier).
 

Friends

class boost_plugin_loader::PluginLoader
 
struct boost_plugin_loader::has_getSection< Plugin >
 

Member Function Documentation

◆ create()

template<typename T >
virtual std::unique_ptr< ComponentT > noether::Plugin< T >::create ( const YAML::Node &  config,
std::shared_ptr< const Factory factory 
) const
pure virtual
Parameters
configYAML configuration node used to configure the component
factoryFactory for loading nested tool path planning components

Implemented in noether::SimplePlugin< DerivedT, BaseT >.