1 #ifndef FWCore_Framework_SharedResourcesRegistry_h 2 #define FWCore_Framework_SharedResourcesRegistry_h 34 class testSharedResourcesRegistry;
42 friend class ::testSharedResourcesRegistry;
62 #ifdef SHAREDRESOURCETESTACCESSORS 64 std::map<std::string, std::pair<std::shared_ptr<SerialTaskQueue>,
unsigned int>>
const& resourceMap()
const {
74 std::map<std::string, std::pair<std::shared_ptr<SerialTaskQueue>,
unsigned int>>
resourceMap_;
edm::propagate_const< std::shared_ptr< SerialTaskQueue > > queueForDelayedReader_
SharedResourcesRegistry()
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
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
~SharedResourcesRegistry()=default