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

Base class for a widget "factory" that can produce classes of a specifiable type.

#include <widgets.h>

Inheritance diagram for noether::BaseWidget< T >:

Public Member Functions

 BaseWidget (QWidget *parent=nullptr)
 
virtual T::ConstPtr create () const =0
 Creates a tool path planning component of type T (e.g., mesh modifier, tool path planner, tool path modifier)
 
virtual void configure (const YAML::Node &)
 Configures the elements of the widget from a YAML node.
 
virtual void save (YAML::Node &) const
 Saves the configuration of the widget to a YAML node.
 

Member Function Documentation

◆ create()

◆ configure()

◆ save()