20 std::shared_ptr<ModuleRegistry> modReg,
21 std::vector<std::string>
const& iModulesToUse,
26 std::shared_ptr<ActivityRegistry> areg,
27 std::shared_ptr<ProcessConfiguration> processConfiguration,
29 workerManager_(modReg,areg,actions),
31 processContext_(processContext)
33 for (
auto const& moduleLabel : iModulesToUse) {
38 "The unknown module label \"" << moduleLabel <<
39 "\"\n please check spelling";
49 inserter->doPreallocate(prealloc);
69 if (worker->description().moduleLabel() == iLabel) {
74 if (
nullptr == found) {
82 std::vector<ModuleDescription const*>
84 std::vector<ModuleDescription const*>
result;
edm::propagate_const< WorkerPtr > results_inserter_
void replaceModule(maker::ModuleHolder *iMod, std::string const &iLabel)
clone the type of module with label iLabel but configure with iPSet.
roAction_t actions[nactions]
virtual void replaceModuleFor(Worker *) const =0
void beginJob(ProductRegistry const &iRegistry)
void addToAllWorkers(Worker *w)
void beginJob(ProductRegistry const &)
GlobalSchedule(std::shared_ptr< TriggerResultInserter > inserter, std::shared_ptr< ModuleRegistry > modReg, std::vector< std::string > const &modulesToUse, ParameterSet &proc_pset, ProductRegistry &pregistry, PreallocationConfiguration const &prealloc, ExceptionToActionTable const &actions, std::shared_ptr< ActivityRegistry > areg, std::shared_ptr< ProcessConfiguration > processConfiguration, ProcessContext const *processContext)
AllWorkers const & allWorkers() const
returns the collection of pointers to workers
std::shared_ptr< Worker > WorkerPtr
void endJob(ExceptionCollector &collector)
element_type const * get() const
std::shared_ptr< ActivityRegistry > actReg_
std::vector< ModuleDescription const * > getAllModuleDescriptions() const
WorkerManager workerManager_
Worker * getWorker(ParameterSet &pset, ProductRegistry &preg, PreallocationConfiguration const *prealloc, std::shared_ptr< ProcessConfiguration const > processConfiguration, std::string const &label)
void addToAllWorkers(Worker *w)
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)