Noether  0.0.0
Loading...
Searching...
No Matches
noether::WidgetFactory Class Reference

Extends the Factory class to be able to load widget plugins for the GUI.

#include <plugin_interface.h>

Inheritance diagram for noether::WidgetFactory:

Public Member Functions

 WidgetFactory (std::shared_ptr< const boost_plugin_loader::PluginLoader > loader)
 
template<typename PluginT >
BaseWidgetcreateWidget (const std::string &name, const YAML::Node &config, QWidget *parent=nullptr) const
 
BaseWidgetcreateMeshModifierWidget (const std::string &name, const YAML::Node &config={}, QWidget *parent=nullptr) const
 
BaseWidgetcreateToolPathPlannerWidget (const std::string &name, const YAML::Node &config={}, QWidget *parent=nullptr) const
 
BaseWidgetcreateDirectionGeneratorWidget (const std::string &name, const YAML::Node &config={}, QWidget *parent=nullptr) const
 
BaseWidgetcreateOriginGeneratorWidget (const std::string &name, const YAML::Node &config={}, QWidget *parent=nullptr) const
 
BaseWidgetcreateToolPathModifierWidget (const std::string &name, const YAML::Node &config={}, QWidget *parent=nullptr) const
 
- Public Member Functions inherited from noether::Factory
 Factory (std::shared_ptr< const boost_plugin_loader::PluginLoader > loader)
 
MeshModifier::Ptr createMeshModifier (const YAML::Node &config) const
 
ToolPathPlanner::Ptr createToolPathPlanner (const YAML::Node &config) const
 
DirectionGenerator::Ptr createDirectionGenerator (const YAML::Node &config) const
 
OriginGenerator::Ptr createOriginGenerator (const YAML::Node &config) const
 
ToolPathModifier::Ptr createToolPathModifier (const YAML::Node &config) const
 
template<typename PluginT >
std::vector< std::string > getAvailablePlugins () const
 

Additional Inherited Members

- Protected Attributes inherited from noether::Factory
std::shared_ptr< const boost_plugin_loader::PluginLoader > loader_