71 using namespace edmplugin;
75 using std::placeholders::_1;
76 using std::placeholders::_2;
98 descriptions.
add(
"PrintLoadingPlugins", desc);
99 descriptions.
setComment(
"This service logs each request to load a plugin.");
134 PluginManager::CategoryToInfos::const_iterator itFound = category.find(iCategory);
138 if(itFound != category.end()) {
144 typedef std::vector<PluginInfo>::const_iterator PIItr;
146 std::pair<PIItr,PIItr> range = std::equal_range(itFound->second.begin(),itFound->second.end(),
i,PICompare());
148 if(range.second - range.first > 1){
152 libname = loadable.string();
157 <<
"\n from "<<libname <<std::endl;
const CategoryToInfos & categoryToInfos() const
#define DEFINE_FWK_SERVICE_MAKER(concrete, maker)
edm::serviceregistry::NoArgsMaker< PrintLoadingPlugins > PrintLoadingPluginsMaker
void askedToLoad(const std::string &, const std::string &)
const PrintLoadingPlugins & operator=(const PrintLoadingPlugins &)
std::map< std::string, Infos > CategoryToInfos
void setComment(std::string const &value)
void goingToLoad(const boost::filesystem::path &)
edm::signalslot::Signal< void(const std::string &, const std::string &)> askedToLoadCategoryWithPlugin_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual ~PrintLoadingPlugins()
edm::signalslot::Signal< void(const boost::filesystem::path &)> goingToLoad_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static PluginManager * get()