1 #ifndef FWCore_PluginManager_PluginFactoryBase_h
2 #define FWCore_PluginManager_PluginFactoryBase_h
40 typedef std::vector<std::pair<void*, std::string> >
PMakers;
41 typedef std::map<std::string, PMakers >
Plugins;
46 virtual std::vector<PluginInfo>
available()
const;
77 std::vector<PluginInfo>& iReturn )
const;
void registerPMaker(void *iPMaker, const std::string &iName)
virtual ~PluginFactoryBase()
std::vector< std::pair< void *, std::string > > PMakers
const PluginFactoryBase & operator=(const PluginFactoryBase &)
void fillAvailable(std::vector< PluginInfo > &iReturn) const
edm::signalslot::Signal< void(const std::string &, const PluginInfo &)> newPluginAdded_
signal containing plugin category, and plugin info for newly added plugin
void checkProperLoadable(const std::string &iName, const std::string &iLoadedFrom) const
void finishedConstruction()
void fillInfo(const PMakers &makers, PluginInfo &iInfo, std::vector< PluginInfo > &iReturn) const
std::map< std::string, PMakers > Plugins
virtual const std::string & category() const =0
returns the name of the category to which this plugin factory belongs
Plugins::const_iterator tryToFindPMaker(const std::string &iName) const
virtual std::vector< PluginInfo > available() const
return info about all plugins which are already available in the program
Plugins::const_iterator findPMaker(const std::string &iName) const
void newPlugin(const std::string &iName)