LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ServiceProviderWrappers.h File Reference

Skeleton for a art service interface to service providers. More...

Go to the source code of this file.

Classes

class  lar::SimpleServiceProviderWrapper< PROVIDER >
 Service returning a provider. More...
 
class  lar::ServiceProviderInterfaceWrapper< PROVIDER >
 Service returning a provider interface. More...
 
class  lar::ServiceProviderImplementationWrapper< PROVIDER, INTERFACE >
 Service implementation returning a provider. More...
 

Namespaces

 art
 HLT enums.
 
 fhicl
 parameter set interface
 
 lar
 LArSoft-specific namespace.
 

Detailed Description

Skeleton for a art service interface to service providers.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
April 19, 2016

This is a pure template library. The callers will need to link to:

  • ${ART_FRAMEWORK_SERVICES_REGISTRY}

It provides:

  • SimpleServiceProviderWrapper: wrap a service with a single implementation
  • ServiceProviderImplementationWrapper: wrap a concrete implementation of a service provider interface supporting multiple implementations

Definition in file ServiceProviderWrappers.h.