#include <IOGroup.hpp>
|
| | IOGroupFactory () |
| |
| virtual | ~IOGroupFactory ()=default |
| |
| | PluginFactory ()=default |
| |
| | PluginFactory (const PluginFactory &other)=delete |
| |
| virtual | ~PluginFactory ()=default |
| |
| PluginFactory & | operator= (const PluginFactory &other)=delete |
| |
| void | register_plugin (const std::string &plugin_name, std::function< std::unique_ptr< IOGroup >()> make_plugin, const std::map< std::string, std::string > &dictionary=m_empty_dictionary) |
| | Add a plugin to the factory.
|
| |
| std::unique_ptr< IOGroup > | make_plugin (const std::string &plugin_name) const |
| | Create an object of the requested type. If the type was not registered, throws an exception.
|
| |
| std::vector< std::string > | plugin_names (void) const |
| | Returns a list of all valid plugin names registered with the factory in the order they were registered.
|
| |
| const std::map< std::string, std::string > & | dictionary (const std::string &plugin_name) const |
| | Returns the dictionary of static metadata about a registered type. If the type was not registered, throws an exception.
|
| |
◆ IOGroupFactory()
| geopm::IOGroupFactory::IOGroupFactory |
( |
| ) |
|
◆ ~IOGroupFactory()
| virtual geopm::IOGroupFactory::~IOGroupFactory |
( |
| ) |
|
|
virtualdefault |
The documentation for this class was generated from the following files: