Noether  0.0.0
Loading...
Searching...
No Matches
noether::WidgetPlugin Class 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:

Public Types

using Ptr = std::shared_ptr< WidgetPlugin >
 

Public Member Functions

virtual BaseWidgetcreate (const YAML::Node &config, std::shared_ptr< const WidgetFactory > factory, QWidget *parent=nullptr) 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).
 

Member Function Documentation

◆ create()

virtual BaseWidget * noether::WidgetPlugin::create ( const YAML::Node &  config,
std::shared_ptr< const WidgetFactory factory,
QWidget *  parent = nullptr 
) const
pure virtual
Parameters
configYAML configuration node used to set the initial values of the widget
factoryFactory for loading nested tool path planning components
parentParent widget