1 #ifndef FWCore_Framework_SharedResourcesRegistry_h
2 #define FWCore_Framework_SharedResourcesRegistry_h
33 class testSharedResourcesRegistry;
43 friend class ::testSharedResourcesRegistry;
59 #ifdef SHAREDRESOURCETESTACCESSORS
61 std::map<std::string, std::pair<std::shared_ptr<std::recursive_mutex>,
unsigned int>>
const& resourceMap()
const {
return resourceMap_; }
73 std::map<std::string, std::pair<std::shared_ptr<std::recursive_mutex>,
unsigned int>>
resourceMap_;
SharedResourcesAcquirer createAcquirerForSourceDelayedReader()
SharedResourcesRegistry()
std::map< std::string, std::pair< std::shared_ptr< std::recursive_mutex >, unsigned int > > resourceMap_
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
static SharedResourcesRegistry * instance()
edm::propagate_const< std::shared_ptr< std::recursive_mutex > > resourceForDelayedReader_
void registerSharedResource(const std::string &)
A resource name must be registered before it can be used in the createAcquirer call.
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
const SharedResourcesRegistry & operator=(const SharedResourcesRegistry &)=delete
~SharedResourcesRegistry()=default