#include <PluginFactory.h>
Classes | |
struct | PMaker |
struct | PMakerBase |
Public Types | |
using | CreatedType = R |
using | TemplateArgType = R *(Args...) |
Public Types inherited from edmplugin::PluginFactoryBase | |
typedef tbb::concurrent_unordered_map< std::string, PMakers > | Plugins |
typedef tbb::concurrent_vector< PluginMakerInfo > | PMakers |
Public Member Functions | |
const std::string & | category () const override |
returns the name of the category to which this plugin factory belongs More... | |
R * | create (const std::string &iName, Args...args) const |
void | registerPMaker (PMakerBase *iPMaker, const std::string &iName) |
R * | tryToCreate (const std::string &iName, Args...args) const |
like above but returns 0 if iName is unknown More... | |
Public Member Functions inherited from edmplugin::PluginFactoryBase | |
virtual std::vector< PluginInfo > | available () const |
return info about all plugins which are already available in the program More... | |
PluginFactoryBase () | |
virtual | ~PluginFactoryBase () |
Static Public Member Functions | |
static PluginFactory< R *(Args...)> * | get () |
Private Member Functions | |
const PluginFactory & | operator= (const PluginFactory &)=delete |
PluginFactory () | |
PluginFactory (const PluginFactory &)=delete | |
Friends | |
class | DummyFriend |
Additional Inherited Members | |
Public Attributes inherited from edmplugin::PluginFactoryBase | |
edm::signalslot::Signal< void(const std::string &, const PluginInfo &)> | newPluginAdded_ |
signal containing plugin category, and plugin info for newly added plugin More... | |
Protected Member Functions inherited from edmplugin::PluginFactoryBase | |
void | fillAvailable (std::vector< PluginInfo > &iReturn) const |
void | fillInfo (const PMakers &makers, PluginInfo &iInfo, std::vector< PluginInfo > &iReturn) const |
void * | findPMaker (const std::string &iName) const |
void | finishedConstruction () |
void | newPlugin (const std::string &iName) |
void | registerPMaker (void *iPMaker, const std::string &iName) |
void * | tryToFindPMaker (const std::string &iName) const |
Definition at line 37 of file PluginFactory.h.
using edmplugin::PluginFactory< R *(Args...)>::CreatedType = R |
Definition at line 42 of file PluginFactory.h.
using edmplugin::PluginFactory< R *(Args...)>::TemplateArgType = R*(Args...) |
Definition at line 41 of file PluginFactory.h.
|
inlineprivate |
Definition at line 78 of file PluginFactory.h.
|
privatedelete |
|
overridevirtual |
returns the name of the category to which this plugin factory belongs
Implements edmplugin::PluginFactoryBase.
|
inline |
Definition at line 57 of file PluginFactory.h.
References writedatasetfile::args, beamerCreator::create(), and edmplugin::PluginFactoryBase::findPMaker().
|
static |
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
privatedelete |
|
inline |
Definition at line 73 of file PluginFactory.h.
References edmplugin::PluginFactoryBase::registerPMaker().
|
inline |
like above but returns 0 if iName is unknown
Definition at line 62 of file PluginFactory.h.
References writedatasetfile::args, beamerCreator::create(), runEdmFileComparison::found, dttmaxenums::R, and edmplugin::PluginFactoryBase::tryToFindPMaker().
|
friend |
Definition at line 38 of file PluginFactory.h.