20 #ifndef LARCORE_COREUTILS_SERVICEPROVIDERWRAPPERS_H 21 #define LARCORE_COREUTILS_SERVICEPROVIDERWRAPPERS_H 1 34 class ActivityRegistry;
88 template <
class PROVIDER>
106 std::unique_ptr<provider_type>
prov;
125 template <
class PROVIDER>
223 template <
typename PROVIDER,
typename INTERFACE>
245 std::unique_ptr<concrete_provider_type>
prov;
254 #endif // LARCORE_COREUTILS_SERVICEPROVIDERWRAPPERS_H Utilities related to art service access.
PROVIDER concrete_provider_type
type of service provider implementation
typename service_interface_type::provider_type provider_type
type of service provider interface
INTERFACE service_interface_type
art service interface class
SimpleServiceProviderWrapper(Parameters const &config, art::ActivityRegistry &)
Constructor (using a configuration table)
PROVIDER provider_type
type of the service provider
virtual provider_type const * do_provider() const override
Returns a constant pointer to the service provider.
LArSoft-specific namespace.
provider_type const * provider() const
Returns a constant pointer to the service provider interface.
provider_type const * provider() const
Returns a constant pointer to the service provider.
std::unique_ptr< concrete_provider_type > prov
service provider
std::unique_ptr< provider_type > prov
service provider
Service implementation returning a provider.
Service returning a provider interface.
Service returning a provider.
PROVIDER provider_type
type of the service provider
ServiceProviderImplementationWrapper(Parameters const &config, art::ActivityRegistry &)
Constructor (using a configuration table)