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

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

#include <plugin_interface.h>

Inheritance diagram for noether::WidgetPlugin< T >:

Public Types

typedef T BaseWidgetT
 Typedef for the BaseWidget<T> type.
 
using Ptr = std::shared_ptr< WidgetPlugin >
 

Public Member Functions

virtual BaseWidgetTcreate (QWidget *parent=nullptr, const YAML::Node &config={}) const =0
 Returns a pointer to a configured BaseWidget<T>: a widget that can configure a 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< WidgetPlugin >
 

Member Function Documentation

◆ create()

template<typename T >
virtual BaseWidgetT * noether::WidgetPlugin< T >::create ( QWidget *  parent = nullptr,
const YAML::Node &  config = {} 
) const
pure virtual
Parameters
parent
configYAML configuration node used to set the initial values of the widget