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