1 #ifndef THINSLICEDRIVERFACTORY_H 2 #define THINSLICEDRIVERFACTORY_H 26 return new T(extra_options);
31 #define DECLARE_THINSLICEDRIVER_FACTORY(driver) \ 32 const ThinSliceDriverFactory<driver>& driver##Factory = ThinSliceDriverFactory<driver>(#driver) 37 #define DECLARE_THINSLICEDRIVER_FACTORY_NS( driver, nsname, driverbase ) \ 39 const ThinSliceDriverFactory<driver>& driverbase##Factory = ThinSliceDriverFactory<driver>(#driver); \
void AddFactory(std::string name, BaseThinSliceDriverFactory *factory)
ThinSliceDriverFactory(const std::string name)
static ThinSliceDriverRegistry * Instance()
virtual ThinSliceDriver * Instantiate(const fhicl::ParameterSet &extra_options)
virtual ThinSliceDriver * Instantiate(const fhicl::ParameterSet &extra_options)=0