CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PackingSetupFactory.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_PackingSetupFactory_h
2 #define EventFilter_L1TRawToDigi_PackingSetupFactory_h
3 
5 
7 
8 namespace l1t {
9  typedef PackingSetup*(prov_fct)();
11 
13  public:
14  static const PackingSetupFactory* get() { return &instance_; };
15  std::auto_ptr<PackingSetup> make(const std::string&) const;
17  private:
19  static const PackingSetupFactory instance_;
20  };
21 }
22 
23 #define DEFINE_L1T_PACKING_SETUP(type) \
24  DEFINE_EDM_PLUGIN(l1t::PackingSetupFactoryT,type,#type)
25 
26 #endif
static const PackingSetupFactory instance_
std::auto_ptr< PackingSetup > make(const std::string &) const
edmplugin::PluginFactory< prov_fct > PackingSetupFactoryT
void fillDescription(edm::ParameterSetDescription &) const
PackingSetup *( prov_fct)()