70 using std::placeholders::_1;
71 using std::placeholders::_2;
88 descriptions.
add(
"PrintLoadingPlugins", desc);
89 descriptions.
setComment(
"This service logs each request to load a plugin.");
119 PluginManager::CategoryToInfos::const_iterator itFound = category.find(iCategory);
123 if (itFound != category.end()) {
128 typedef std::vector<PluginInfo>::const_iterator PIItr;
130 std::pair<PIItr, PIItr> range = std::equal_range(itFound->second.begin(), itFound->second.end(),
i, PICompare());
132 if (range.second - range.first > 1) {
135 libname = loadable.string();
138 edm::LogAbsolute(
"GetPlugin") <<
"Getting> '" << iCategory <<
"' " << iPlugin <<
"\n from " << libname
146 edm::LogAbsolute(
"LoadLib") <<
"Loading> " << Loadable_.string() << std::endl;
const CategoryToInfos & categoryToInfos() const
#define DEFINE_FWK_SERVICE_MAKER(concrete, maker)
edm::serviceregistry::NoArgsMaker< PrintLoadingPlugins > PrintLoadingPluginsMaker
edm::signalslot::Signal< void(const std::string &, const std::string &)> askedToLoadCategoryWithPlugin_
void askedToLoad(const std::string &, const std::string &)
const PrintLoadingPlugins & operator=(const PrintLoadingPlugins &)=delete
void setComment(std::string const &value)
void goingToLoad(const boost::filesystem::path &)
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)
T get(const Candidate &c)