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" 43 tbb::tbb_hash<std::string> hasher;
44 return hasher(iPath.native());
49 friend class DummyFriend;
53 typedef std::vector<PluginInfo>
Infos;
70 bool m_mustHaveCache =
true;
93 static const std::string& staticallyLinkedLoadingFileName();
98 static bool isAvailable();
119 bool& ioThrowIfFailElseSucceedStatus);
122 tbb::concurrent_unordered_map<boost::filesystem::path, std::shared_ptr<SharedLibrary>,
PluginManagerPathHasher>
CategoryToInfos categoryToInfos_
const CategoryToInfos & categoryToInfos() const
std::map< std::string, Infos > CategoryToInfos
tbb::concurrent_unordered_map< boost::filesystem::path, std::shared_ptr< SharedLibrary >, PluginManagerPathHasher > loadables_
const SearchPath & searchPath() const
edm::signalslot::Signal< void(const std::string &, const std::string &)> askedToLoadCategoryWithPlugin_
static const std::string & loadingFile()
file name of the shared object being loaded
std::vector< std::string > SearchPath
edm::signalslot::Signal< void(const SharedLibrary &)> justLoaded_
bool mustHaveCache() const
std::recursive_mutex & pluginLoadMutex()
edm::signalslot::Signal< void(const boost::filesystem::path &)> goingToLoad_
Config & searchPath(const SearchPath &iPath)
size_t operator()(boost::filesystem::path const &iPath) const
std::vector< PluginInfo > Infos
std::recursive_mutex pluginLoadMutex_