FWCore
Framework
interface
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
#include "
FWCore/Utilities/interface/propagate_const.h
"
27
#include "
FWCore/Framework/interface/ESRecordsToProxyIndices.h
"
28
29
// forward declarations
30
31
namespace
edm
{
32
class
ParameterSet
;
33
class
Schedule;
34
class
ProductRegistry;
35
36
class
ModuleChanger
{
37
public
:
38
ModuleChanger
(
Schedule
*,
ProductRegistry
const
* iReg,
eventsetup::ESRecordsToProxyIndices
);
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 --------------------------------
52
edm::propagate_const<Schedule*>
schedule_
;
53
ProductRegistry
const
*
registry_
;
54
eventsetup::ESRecordsToProxyIndices
indices_
;
55
};
56
}
// namespace edm
57
#endif
edm::ModuleChanger::indices_
eventsetup::ESRecordsToProxyIndices indices_
Definition:
ModuleChanger.h:54
edm::eventsetup::ESRecordsToProxyIndices
Definition:
ESRecordsToProxyIndices.h:35
propagate_const.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ModuleChanger::ModuleChanger
ModuleChanger(Schedule *, ProductRegistry const *iReg, eventsetup::ESRecordsToProxyIndices)
Definition:
ModuleChanger.cc:31
ESRecordsToProxyIndices.h
edm::ModuleChanger::changeModule
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet)
Definition:
ModuleChanger.cc:59
edm::ProductRegistry
Definition:
ProductRegistry.h:37
edm::propagate_const
Definition:
propagate_const.h:32
edm::Schedule
Definition:
Schedule.h:122
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
edm::ModuleChanger::schedule_
edm::propagate_const< Schedule * > schedule_
Definition:
ModuleChanger.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ModuleChanger::~ModuleChanger
virtual ~ModuleChanger()
Definition:
ModuleChanger.cc:41
edm::ModuleChanger::registry_
ProductRegistry const * registry_
Definition:
ModuleChanger.h:53
edm::ModuleChanger::operator=
const ModuleChanger & operator=(const ModuleChanger &)=delete
edm::ModuleChanger
Definition:
ModuleChanger.h:36
Generated for CMSSW Reference Manual by
1.8.16