CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::ModuleChanger Class Reference

#include <ModuleChanger.h>

Public Member Functions

bool changeModule (const std::string &iLabel, const ParameterSet &iPSet) const
 
 ModuleChanger (Schedule *, ProductRegistry const *iReg)
 
virtual ~ModuleChanger ()
 

Private Member Functions

 ModuleChanger (const ModuleChanger &)=delete
 
const ModuleChangeroperator= (const ModuleChanger &)=delete
 

Private Attributes

ProductRegistry const * registry_
 
Scheduleschedule_
 

Detailed Description

Definition at line 34 of file ModuleChanger.h.

Constructor & Destructor Documentation

ModuleChanger::ModuleChanger ( Schedule iSchedule,
ProductRegistry const *  iReg 
)

Definition at line 31 of file ModuleChanger.cc.

31  :
32 schedule_(iSchedule),
33 registry_(iRegistry)
34 {
35 }
ProductRegistry const * registry_
Definition: ModuleChanger.h:55
Schedule * schedule_
Definition: ModuleChanger.h:54
ModuleChanger::~ModuleChanger ( )
virtual

Definition at line 42 of file ModuleChanger.cc.

43 {
44 }
edm::ModuleChanger::ModuleChanger ( const ModuleChanger )
privatedelete

Member Function Documentation

bool ModuleChanger::changeModule ( const std::string &  iLabel,
const ParameterSet iPSet 
) const

Definition at line 66 of file ModuleChanger.cc.

References edm::Schedule::changeModule(), registry_, and schedule_.

Referenced by FWFFLooper::endOfLoop().

68 {
69  return schedule_->changeModule(iLabel,iPSet, *registry_);
70 }
bool changeModule(std::string const &iLabel, ParameterSet const &iPSet, const ProductRegistry &iRegistry)
Definition: Schedule.cc:920
ProductRegistry const * registry_
Definition: ModuleChanger.h:55
Schedule * schedule_
Definition: ModuleChanger.h:54
const ModuleChanger& edm::ModuleChanger::operator= ( const ModuleChanger )
privatedelete

Member Data Documentation

ProductRegistry const* edm::ModuleChanger::registry_
private

Definition at line 55 of file ModuleChanger.h.

Referenced by changeModule().

Schedule* edm::ModuleChanger::schedule_
private