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

Factory for creating tool path planning components from plugins. More...

Detailed Description

This class wraps boost_plugin_loader::PluginLoader and stores the loaded plugins internally in order to keep them and the objects they create in scope for the lifetime of this class.

#include <plugin_interface.h>

Public Member Functions

 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
 

Protected Attributes

std::shared_ptr< const boost_plugin_loader::PluginLoader > loader_