Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Framework
src
ModuleChanger.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Framework
4
// Class : ModuleChanger
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Chris Jones
10
// Created: Thu Jul 15 15:05:10 EDT 2010
11
// $Id: ModuleChanger.cc,v 1.1 2010/07/22 15:00:28 chrjones Exp $
12
//
13
14
// system include files
15
16
// user include files
17
#include "
FWCore/Framework/interface/ModuleChanger.h
"
18
#include "
FWCore/Framework/interface/Schedule.h
"
19
20
using namespace
edm;
21
//
22
// constants, enums and typedefs
23
//
24
25
//
26
// static data member definitions
27
//
28
29
//
30
// constructors and destructor
31
//
32
ModuleChanger::ModuleChanger
(
Schedule
* iSchedule):
33
schedule_(iSchedule)
34
{
35
}
36
37
// ModuleChanger::ModuleChanger(const ModuleChanger& rhs)
38
// {
39
// // do actual copying here;
40
// }
41
42
ModuleChanger::~ModuleChanger
()
43
{
44
}
45
46
//
47
// assignment operators
48
//
49
// const ModuleChanger& ModuleChanger::operator=(const ModuleChanger& rhs)
50
// {
51
// //An exception safe implementation is
52
// ModuleChanger temp(rhs);
53
// swap(rhs);
54
//
55
// return *this;
56
// }
57
58
//
59
// member functions
60
//
61
62
//
63
// const member functions
64
//
65
bool
66
ModuleChanger::changeModule
(
const
std::string& iLabel,
67
const
ParameterSet
& iPSet)
const
68
{
69
return
schedule_
->
changeModule
(iLabel,iPSet);
70
}
71
72
//
73
// static member functions
74
//
ModuleChanger.h
edm::ModuleChanger::ModuleChanger
ModuleChanger(Schedule *)
Definition:
ModuleChanger.cc:32
edm::Schedule::changeModule
bool changeModule(std::string const &iLabel, ParameterSet const &iPSet)
Definition:
Schedule.cc:1173
edm::ModuleChanger::~ModuleChanger
virtual ~ModuleChanger()
Definition:
ModuleChanger.cc:42
edm::Schedule
Definition:
Schedule.h:102
edm::ModuleChanger::changeModule
bool changeModule(const std::string &iLabel, const ParameterSet &iPSet) const
Definition:
ModuleChanger.cc:66
edm::ModuleChanger::schedule_
Schedule * schedule_
Definition:
ModuleChanger.h:54
Schedule.h
edm::ParameterSet
Definition:
ParameterSet.h:35
Generated for CMSSW Reference Manual by
1.8.5