geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Public Member Functions | List of all members
geopm::IOGroupFactory Class Reference

#include <IOGroup.hpp>

Inheritance diagram for geopm::IOGroupFactory:
Inheritance graph
[legend]
Collaboration diagram for geopm::IOGroupFactory:
Collaboration graph
[legend]

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
 
PluginFactoryoperator= (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< IOGroupmake_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...
 

Constructor & Destructor Documentation

◆ IOGroupFactory()

geopm::IOGroupFactory::IOGroupFactory ( )

◆ ~IOGroupFactory()

virtual geopm::IOGroupFactory::~IOGroupFactory ( )
virtualdefault

The documentation for this class was generated from the following files: