CMS 3D CMS Logo

PresenceFactory.h
Go to the documentation of this file.
1 #ifndef FWCore_PluginManager_PresenceFactory_h
2 #define FWCore_PluginManager_PresenceFactory_h
3 
6 
7 #include <string>
8 #include <memory>
9 
10 namespace edm {
12 
13  typedef Presence* (PresenceFunc)();
14 
16  public:
18 
19  static PresenceFactory* get();
20 
21  std::unique_ptr<Presence>
22  makePresence(std::string const & presence_type) const;
23 
24  private:
26  //static PresenceFactory singleInstance_;
27  };
28 }
29 #endif // FWCore_PluginManager_PresenceFactory_h
edmplugin::PluginFactory< Presence *()> PresencePluginFactory
Presence *( PresenceFunc)()
HLT enums.
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const