CMS 3D CMS Logo

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

#include <ModuleChanger.h>

Public Member Functions

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

Private Attributes

eventsetup::ESRecordsToProxyIndices indices_
 
ProductRegistry const * registry_
 
edm::propagate_const< Schedule * > schedule_
 

Detailed Description

Definition at line 36 of file ModuleChanger.h.

Constructor & Destructor Documentation

ModuleChanger::ModuleChanger ( Schedule iSchedule,
ProductRegistry const *  iReg,
eventsetup::ESRecordsToProxyIndices  iIndices 
)

Definition at line 31 of file ModuleChanger.cc.

34  : schedule_(iSchedule), registry_(iRegistry), indices_(std::move(iIndices)) {}
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:52
def move
Definition: eostools.py:511
ProductRegistry const * registry_
Definition: ModuleChanger.h:53
eventsetup::ESRecordsToProxyIndices indices_
Definition: ModuleChanger.h:54
edm::ModuleChanger::ModuleChanger ( const ModuleChanger )
delete
ModuleChanger::~ModuleChanger ( )
virtual

Definition at line 41 of file ModuleChanger.cc.

41 {}

Member Function Documentation

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

Definition at line 59 of file ModuleChanger.cc.

References indices_, registry_, and schedule_.

Referenced by FWFFLooper::endOfLoop().

59  {
60  return schedule_->changeModule(iLabel, iPSet, *registry_, indices_);
61 }
edm::propagate_const< Schedule * > schedule_
Definition: ModuleChanger.h:52
ProductRegistry const * registry_
Definition: ModuleChanger.h:53
eventsetup::ESRecordsToProxyIndices indices_
Definition: ModuleChanger.h:54
const ModuleChanger& edm::ModuleChanger::operator= ( const ModuleChanger )
delete

Member Data Documentation

eventsetup::ESRecordsToProxyIndices edm::ModuleChanger::indices_
private

Definition at line 54 of file ModuleChanger.h.

Referenced by changeModule().

ProductRegistry const* edm::ModuleChanger::registry_
private

Definition at line 53 of file ModuleChanger.h.

Referenced by changeModule().

edm::propagate_const<Schedule*> edm::ModuleChanger::schedule_
private