1 #ifndef FWCore_Framework_WorkerManager_h 2 #define FWCore_Framework_WorkerManager_h 27 class EventTransitionInfo;
28 class ExceptionCollector;
32 class PreallocationConfiguration;
33 namespace eventsetup {
44 std::shared_ptr<ActivityRegistry> actReg,
52 std::shared_ptr<ProcessConfiguration> processConfiguration,
54 std::set<std::string>& unscheduledLabels,
55 std::vector<std::string>& shouldBeUsedLabels);
57 template <
typename T,
typename U>
59 typename T::TransitionInfoType&,
62 typename T::Context
const* topContext,
67 typename T::TransitionInfoType
const&,
71 typename T::Context
const*);
94 std::shared_ptr<ProcessConfiguration const> processConfiguration,
107 template <
typename T,
typename U>
109 typename T::TransitionInfoType&
info,
112 typename T::Context
const* topContext,
118 template <
typename T>
120 typename T::TransitionInfoType
const&
info,
124 typename T::Context
const*
context) {
roAction_t actions[nactions]
void endStream(StreamID iID, StreamContext &streamContext)
void processAccumulatorsAsync(WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, ParentContext const &, typename T::Context const *)
UnscheduledCallProducer unscheduled_
void addToUnscheduledWorkers(ParameterSet &pset, ProductRegistry &preg, PreallocationConfiguration const *prealloc, std::shared_ptr< ProcessConfiguration > processConfiguration, std::string label, std::set< std::string > &unscheduledLabels, std::vector< std::string > &shouldBeUsedLabels)
void runNowAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, typename T::Context const *topContext, U const *context) const
void setupOnDemandSystem(EventTransitionInfo const &)
void deleteModuleIfExists(std::string const &moduleLabel)
void beginJob(ProductRegistry const &iRegistry, eventsetup::ESRecordsToProxyIndices const &, ProcessBlockHelperBase const &)
ExceptionToActionTable const * actionTable_
Worker * getWorker(ParameterSet &pset, ProductRegistry &preg, PreallocationConfiguration const *prealloc, std::shared_ptr< ProcessConfiguration const > processConfiguration, std::string const &label)
void const * lastSetupEventPrincipal_
void processOneOccurrenceAsync(WaitingTaskHolder, typename T::TransitionInfoType &, ServiceToken const &, StreamID, typename T::Context const *topContext, U const *context)
std::vector< Worker * > AllWorkers
AllWorkers const & allWorkers() const
ExceptionToActionTable const & actionTable() const
void beginStream(StreamID iID, StreamContext &streamContext)
void setupResolvers(Principal &principal)
WorkerRegistry workerReg_
The Registry of all workers that where requested Holds all instances of workers. In this implementati...
WorkerManager(std::shared_ptr< ActivityRegistry > actReg, ExceptionToActionTable const &actions)
void addToAllWorkers(Worker *w)
void runAccumulatorsAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, ParentContext const &parentContext, typename T::Context const *context)