CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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> makePresence(std::string const& presence_type) const;
22 
23  private:
25  //static PresenceFactory singleInstance_;
26  };
27 } // namespace edm
28 #endif // FWCore_PluginManager_PresenceFactory_h
Presence *( PresenceFunc)()
edmplugin::PluginFactory< Presence *()> PresencePluginFactory
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const