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> makePresence(std::string const& presence_type) const;
22 
23  private:
25  //static PresenceFactory singleInstance_;
26  };
27 } // namespace edm
28 #endif // FWCore_PluginManager_PresenceFactory_h
PluginFactory.h
edm::PresenceFactory::PresenceFactory
PresenceFactory()
Definition: PresenceFactory.cc:14
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::PresenceFactory::~PresenceFactory
~PresenceFactory()
Definition: PresenceFactory.cc:12
edm::PresenceFactory
Definition: PresenceFactory.h:15
Presence.h
edm::PresenceFactory::makePresence
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const
Definition: PresenceFactory.cc:21
edmplugin::PluginFactory
Definition: PluginFactory.h:34
edm::PresenceFunc
Presence *() PresenceFunc()
Definition: PresenceFactory.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::PresenceFactory::get
static PresenceFactory * get()
Definition: PresenceFactory.cc:16
edm::Presence
Definition: Presence.h:21