CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ModuleChanger.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ModuleChanger_h
2 #define FWCore_Framework_ModuleChanger_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : ModuleChanger
7 //
17 //
18 // Original Author: Chris Jones
19 // Created: Thu Jul 15 15:05:17 EDT 2010
20 //
21 
22 // system include files
23 #include <string>
24 
25 // user include files
28 
29 // forward declarations
30 
31 namespace edm {
32  class ParameterSet;
33  class Schedule;
34  class ProductRegistry;
35 
36  class ModuleChanger {
37  public:
39  ModuleChanger(const ModuleChanger&) = delete; // stop default
40  const ModuleChanger& operator=(const ModuleChanger&) = delete; // stop default
41  virtual ~ModuleChanger();
42 
43  // ---------- const member functions ---------------------
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  bool changeModule(const std::string& iLabel, const ParameterSet& iPSet);
49 
50  private:
51  // ---------- member data --------------------------------
55  };
56 } // namespace edm
57 #endif
ModuleChanger(Schedule *, ProductRegistry const *iReg, eventsetup::ESRecordsToProxyIndices)
virtual ~ModuleChanger()
const ModuleChanger & operator=(const ModuleChanger &)=delete
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:52
ProductRegistry const * registry_
Definition: ModuleChanger.h:53
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)
eventsetup::ESRecordsToProxyIndices indices_
Definition: ModuleChanger.h:54