Go to the documentation of this file. 1 #ifndef FWCore_PluginManager_PluginManager_h
2 #define FWCore_PluginManager_PluginManager_h
27 #include <boost/filesystem/path.hpp>
29 #include "tbb/concurrent_unordered_map.h"
50 typedef std::vector<PluginInfo>
Infos;
116 bool& ioThrowIfFailElseSucceedStatus);
119 tbb::concurrent_unordered_map<boost::filesystem::path, std::shared_ptr<SharedLibrary>,
PluginManagerPathHasher>
tbb::concurrent_unordered_map< boost::filesystem::path, std::shared_ptr< SharedLibrary >, PluginManagerPathHasher > loadables_
std::vector< std::string > SearchPath
const SharedLibrary & load(const std::string &iCategory, const std::string &iPlugin)
const SearchPath & searchPath() const
bool mustHaveCache() const
static PluginManager * get()
PluginManager(const Config &)
const CategoryToInfos & categoryToInfos() const
std::recursive_mutex & pluginLoadMutex()
const boost::filesystem::path & loadableFor(const std::string &iCategory, const std::string &iPlugin)
std::map< std::string, Infos > CategoryToInfos
static PluginManager *& singleton()
std::vector< PluginInfo > Infos
std::recursive_mutex pluginLoadMutex_
const PluginManager & operator=(const PluginManager &)=delete
static PluginManager & configure(const Config &)
static std::string & loadingLibraryNamed_()
size_t operator()(boost::filesystem::path const &iPath) const
void newFactory(const PluginFactoryBase *)
Config & searchPath(const SearchPath &iPath)
edm::signalslot::Signal< void(const std::string &, const std::string &)> askedToLoadCategoryWithPlugin_
CategoryToInfos categoryToInfos_
TEMPL(T2) struct Divides void
static const std::string & staticallyLinkedLoadingFileName()
if the value returned from loadingFile matches this string then the file is statically linked
edm::signalslot::Signal< void(const boost::filesystem::path &)> goingToLoad_
const boost::filesystem::path & loadableFor_(const std::string &iCategory, const std::string &iPlugin, bool &ioThrowIfFailElseSucceedStatus)
static const std::string & loadingFile()
file name of the shared object being loaded
static bool isAvailable()
const SharedLibrary * tryToLoad(const std::string &iCategory, const std::string &iPlugin)
edm::signalslot::Signal< void(const SharedLibrary &)> justLoaded_