1 #ifndef FWCore_PluginManager_PluginManager_h
2 #define FWCore_PluginManager_PluginManager_h
25 #include <boost/filesystem/path.hpp>
26 #include "boost/shared_ptr.hpp"
42 typedef std::vector<PluginInfo>
Infos;
109 bool& ioThrowIfFailElseSucceedStatus);
112 std::map<boost::filesystem::path, boost::shared_ptr<SharedLibrary> >
loadables_;
CategoryToInfos categoryToInfos_
const CategoryToInfos & categoryToInfos() const
std::map< boost::filesystem::path, boost::shared_ptr< SharedLibrary > > loadables_
const boost::filesystem::path & loadableFor(const std::string &iCategory, const std::string &iPlugin)
const SharedLibrary * tryToLoad(const std::string &iCategory, const std::string &iPlugin)
static PluginManager & configure(const Config &)
static PluginManager *& singleton()
const boost::filesystem::path & loadableFor_(const std::string &iCategory, const std::string &iPlugin, bool &ioThrowIfFailElseSucceedStatus)
static const std::string & staticallyLinkedLoadingFileName()
if the value returned from loadingFile matches this string then the file is statically linked ...
static bool isAvailable()
const SearchPath & searchPath() const
const PluginManager & operator=(const PluginManager &)
static const std::string & loadingFile()
file name of the shared object being loaded
std::map< std::string, Infos > CategoryToInfos
std::vector< std::string > SearchPath
edm::signalslot::Signal< void(const SharedLibrary &)> justLoaded_
edm::signalslot::Signal< void(const std::string &, const std::string &)> askedToLoadCategoryWithPlugin_
edm::signalslot::Signal< void(const boost::filesystem::path &)> goingToLoad_
Config & searchPath(const SearchPath &iPath)
static std::string & loadingLibraryNamed_()
std::vector< PluginInfo > Infos
void newFactory(const PluginFactoryBase *)
const SharedLibrary & load(const std::string &iCategory, const std::string &iPlugin)
PluginManager(const Config &)