CMS 3D CMS Logo

PluginFactoryManager.h
Go to the documentation of this file.
1 #ifndef FWCore_PluginManager_PluginFactoryManager_h
2 #define FWCore_PluginManager_PluginFactoryManager_h
3 // -*- C++ -*-
4 //
5 // Package: PluginManager
6 // Class : PluginFactoryManager
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed Apr 4 12:49:41 EDT 2007
19 //
20 
21 // system include files
22 #include <string>
23 #include <vector>
25 
26 // user include files
27 
28 // forward declarations
29 namespace edmplugin {
30  class PluginFactoryBase;
31  class DummyFriend;
33  public:
34  friend class DummyFriend;
35 
36  PluginFactoryManager(const PluginFactoryManager&) = delete; // stop default
37  const PluginFactoryManager& operator=(const PluginFactoryManager&) = delete; // stop default
39 
40  typedef std::vector<const PluginFactoryBase*>::const_iterator const_iterator;
41  // ---------- const member functions ---------------------
42  const_iterator begin() const;
43  const_iterator end() const;
44 
45  // ---------- static member functions --------------------
46  static PluginFactoryManager* get();
47 
48  // ---------- member functions ---------------------------
49  void addFactory(const PluginFactoryBase*);
51 
52  private:
54 
55  // ---------- member data --------------------------------
56  std::vector<const PluginFactoryBase*> factories_;
57  };
58 
59 } // namespace edmplugin
60 #endif
const PluginFactoryManager & operator=(const PluginFactoryManager &)=delete
edm::signalslot::Signal< void(const PluginFactoryBase *)> newFactory_
void addFactory(const PluginFactoryBase *)
std::vector< const PluginFactoryBase * > factories_
std::vector< const PluginFactoryBase * >::const_iterator const_iterator