1 #ifndef art_Framework_Services_Registry_ServiceRegistry_h 2 #define art_Framework_Services_Registry_ServiceRegistry_h 17 template <
typename T, art::ServiceScope>
32 return mgr->isAvailable<
T>();
35 <<
" no ServiceRegistry has been set for this thread";
50 <<
" no ServiceRegistry has been set for this thread";
static ServiceRegistry & instance() noexcept
ServiceRegistry() noexcept
void setManager(ServicesManager *)
cet::exempt_ptr< ServicesManager > manager_
static bool isAvailable()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
~ServiceRegistry() noexcept