23 #include "boost/bind.hpp"
24 #include "boost/mem_fn.hpp"
43 using namespace edmplugin;
68 descriptions.
add(
"PrintLoadingPlugins", desc);
69 descriptions.
setComment(
"This service logs each request to load a plugin.");
104 PluginManager::CategoryToInfos::const_iterator itFound = category.find(iCategory);
108 if(itFound != category.end()) {
114 typedef std::vector<PluginInfo>::const_iterator PIItr;
116 std::pair<PIItr,PIItr> range = std::equal_range(itFound->second.begin(),itFound->second.end(),
i,PICompare());
118 if(range.second - range.first > 1){
122 libname = loadable.string();
127 <<
"\n from "<<libname <<std::endl;
const CategoryToInfos & categoryToInfos() const
void askedToLoad(const std::string &, const std::string &)
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()