1 #ifndef FWCore_Framework_SharedResourcesRegistry_h 2 #define FWCore_Framework_SharedResourcesRegistry_h 34 class testSharedResourcesRegistry;
42 friend class ::testSharedResourcesRegistry;
59 #ifdef SHAREDRESOURCETESTACCESSORS 61 std::map<std::string, std::pair<std::shared_ptr<SerialTaskQueue>,
unsigned int>>
const& resourceMap()
const {
75 std::map<std::string, std::pair<std::shared_ptr<SerialTaskQueue>,
unsigned int>>
resourceMap_;
edm::propagate_const< std::shared_ptr< SerialTaskQueue > > queueForDelayedReader_
SharedResourcesRegistry()
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
static SharedResourcesRegistry * instance()
std::map< std::string, std::pair< std::shared_ptr< SerialTaskQueue >, unsigned int > > resourceMap_
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.
std::pair< SharedResourcesAcquirer, std::shared_ptr< std::recursive_mutex > > createAcquirerForSourceDelayedReader()
const SharedResourcesRegistry & operator=(const SharedResourcesRegistry &)=delete
~SharedResourcesRegistry()=default