|
geopm
3.1.0
GEOPM - Global Extensible Open Power Manager
|
#include <IOGroup.hpp>


Public Member Functions | |
| IOGroupFactory () | |
| virtual | ~IOGroupFactory ()=default |
Public Member Functions inherited from geopm::PluginFactory< IOGroup > | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| geopm::IOGroupFactory::IOGroupFactory | ( | ) |
|
virtualdefault |