ThinSliceDriverRegistry.h
Go to the documentation of this file.
1 #ifndef THINSLICEDRIVERREGISTRY_h
2 #define THINSLICEDRIVERREGISTRY_h
3 
4 #include <map>
6 
7 namespace protoana {
8 
9 class ThinSliceDriver;
10 class BaseThinSliceDriverFactory;
11 
13  public:
17  void PrintAvailableDrivers() const;
19  const std::string & name,
20  const fhicl::ParameterSet & extra_options);
21 
22  private:
25  std::map<std::string, BaseThinSliceDriverFactory *> fFactories;
26 
27 };
28 }
29 #endif
static QCString name
Definition: declinfo.cpp:673
std::string string
Definition: nybbler.cc:12
void AddFactory(std::string name, BaseThinSliceDriverFactory *factory)
static ThinSliceDriverRegistry * Instance()
std::map< std::string, BaseThinSliceDriverFactory * > fFactories
static ThinSliceDriverRegistry * fInstance
ThinSliceDriver * GetDriver(const std::string &name, const fhicl::ParameterSet &extra_options)