test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
27 
28 // forward declarations
29 
30 namespace edm {
31  class ParameterSet;
32  class Schedule;
33  class ProductRegistry;
34 
35  class ModuleChanger {
36 
37  public:
38  ModuleChanger(Schedule*, ProductRegistry const* iReg);
39  virtual ~ModuleChanger();
40 
41  // ---------- const member functions ---------------------
42 
43  // ---------- static member functions --------------------
44 
45  // ---------- member functions ---------------------------
46  bool changeModule(const std::string& iLabel,
47  const ParameterSet& iPSet);
48 
49  private:
50  ModuleChanger(const ModuleChanger&) = delete; // stop default
51 
52  const ModuleChanger& operator=(const ModuleChanger&) = delete; // stop default
53 
54  // ---------- member data --------------------------------
57  };
58 }
59 #endif
virtual ~ModuleChanger()
const ModuleChanger & operator=(const ModuleChanger &)=delete
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:55
ModuleChanger(Schedule *, ProductRegistry const *iReg)
ProductRegistry const * registry_
Definition: ModuleChanger.h:56
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)