LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ServiceRegistry.h"
Public Member Functions | |
~ServiceRegistry () noexcept | |
ServiceRegistry (ServiceRegistry const &)=delete | |
ServiceRegistry (ServiceRegistry &&)=delete | |
ServiceRegistry & | operator= (ServiceRegistry const &)=delete |
ServiceRegistry & | operator= (ServiceRegistry &&)=delete |
Static Public Member Functions | |
template<typename T > | |
static bool | isAvailable () |
Private Member Functions | |
ServiceRegistry () noexcept | |
void | setManager (ServicesManager *) |
template<typename T > | |
T & | get () const |
Static Private Member Functions | |
static ServiceRegistry & | instance () noexcept |
Private Attributes | |
cet::exempt_ptr< ServicesManager > | manager_ {nullptr} |
Friends | |
class | ServicesManager |
template<typename T , art::ServiceScope > | |
class | ServiceHandle |
Definition at line 12 of file ServiceRegistry.h.
|
defaultnoexcept |
|
delete |
|
delete |
|
privatedefaultnoexcept |
Referenced by isAvailable().
|
inlineprivate |
Definition at line 46 of file ServiceRegistry.h.
References manager_, and art::errors::ServiceNotFound.
Referenced by art::ServiceHandle< art::FileTransfer >::ServiceHandle().
|
staticprivatenoexcept |
Definition at line 10 of file ServiceRegistry.cc.
Referenced by isAvailable(), art::ServiceHandle< art::FileTransfer >::ServiceHandle(), and art::ServicesManager::ServicesManager().
|
inlinestatic |
Definition at line 29 of file ServiceRegistry.h.
References instance(), manager_, art::errors::ServiceNotFound, ServiceRegistry(), and setManager().
|
delete |
|
delete |
|
private |
Definition at line 17 of file ServiceRegistry.cc.
References manager_.
Referenced by isAvailable(), and art::ServicesManager::ServicesManager().
|
friend |
Definition at line 18 of file ServiceRegistry.h.
|
friend |
Definition at line 15 of file ServiceRegistry.h.
|
private |
Definition at line 55 of file ServiceRegistry.h.
Referenced by get(), isAvailable(), and setManager().