42 using namespace edmplugin;
46 using std::placeholders::_1;
47 using std::placeholders::_2;
69 descriptions.
add(
"PrintLoadingPlugins", desc);
70 descriptions.
setComment(
"This service logs each request to load a plugin.");
105 PluginManager::CategoryToInfos::const_iterator itFound = category.find(iCategory);
109 if(itFound != category.end()) {
115 typedef std::vector<PluginInfo>::const_iterator PIItr;
117 std::pair<PIItr,PIItr> range = std::equal_range(itFound->second.begin(),itFound->second.end(),
i,PICompare());
119 if(range.second - range.first > 1){
123 libname = loadable.string();
128 <<
"\n from "<<libname <<std::endl;
const CategoryToInfos & categoryToInfos() const
void askedToLoad(const std::string &, const std::string &)
tuple path
else: Piece not in the list, fine.
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()