1 #ifndef FWCore_Framework_SharedResourcesRegistry_h 2 #define FWCore_Framework_SharedResourcesRegistry_h 30 class testSharedResourcesRegistry;
38 friend class ::testSharedResourcesRegistry;
52 #ifdef SHAREDRESOURCETESTACCESSORS 54 std::map<std::string, std::pair<std::shared_ptr<SerialTaskQueue>,
unsigned int>>
const& resourceMap()
const {
64 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.
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