20 boost::shared_ptr<ModuleRegistry> modReg,
21 std::vector<std::string>
const& iModulesToUse,
26 boost::shared_ptr<ActivityRegistry>
areg,
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;
void replaceModule(maker::ModuleHolder *iMod, std::string const &iLabel)
clone the type of module with label iLabel but configure with iPSet.
virtual void replaceModuleFor(Worker *) const =0
void beginJob(ProductRegistry const &iRegistry)
void addToAllWorkers(Worker *w)
void beginJob(ProductRegistry const &)
Worker * getWorker(ParameterSet &pset, ProductRegistry &preg, PreallocationConfiguration const *prealloc, boost::shared_ptr< ProcessConfiguration const > processConfiguration, std::string const &label)
AllWorkers const & allWorkers() const
returns the collection of pointers to workers
boost::shared_ptr< ActivityRegistry > actReg_
void endJob(ExceptionCollector &collector)
std::vector< ModuleDescription const * > getAllModuleDescriptions() const
ModuleDescription const & moduleDescription() const
GlobalSchedule(TriggerResultInserter *inserter, boost::shared_ptr< ModuleRegistry > modReg, std::vector< std::string > const &modulesToUse, ParameterSet &proc_pset, ProductRegistry &pregistry, PreallocationConfiguration const &prealloc, ExceptionToActionTable const &actions, boost::shared_ptr< ActivityRegistry > areg, boost::shared_ptr< ProcessConfiguration > processConfiguration, ProcessContext const *processContext)
void addToAllWorkers(Worker *w, bool useStopwatch)
WorkerPtr results_inserter_
WorkerManager workerManager_
tuple size
Write out results.
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)