Go to the documentation of this file. 1 #ifndef FWCore_Framework_WorkerManager_h
2 #define FWCore_Framework_WorkerManager_h
26 class EventTransitionInfo;
27 class ExceptionCollector;
31 class PreallocationConfiguration;
32 namespace eventsetup {
43 std::shared_ptr<ActivityRegistry> actReg,
51 std::shared_ptr<ProcessConfiguration> processConfiguration,
53 std::set<std::string>& unscheduledLabels,
54 std::vector<std::string>& shouldBeUsedLabels);
56 template <
typename T,
typename U>
58 typename T::TransitionInfoType&,
61 typename T::Context
const* topContext,
66 typename T::TransitionInfoType
const&,
70 typename T::Context
const*);
91 std::shared_ptr<ProcessConfiguration const> processConfiguration,
104 template <
typename T,
typename U>
106 typename T::TransitionInfoType&
info,
109 typename T::Context
const* topContext,
115 template <
typename T>
117 typename T::TransitionInfoType
const&
info,
121 typename T::Context
const* context) {
void addToAllWorkers(Worker *w)
std::vector< Worker * > AllWorkers
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 runAccumulatorsAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, ParentContext const &parentContext, typename T::Context const *context)
ExceptionToActionTable const & actionTable() const
UnscheduledCallProducer unscheduled_
AllWorkers const & allWorkers() const
ExceptionToActionTable const * actionTable_
WorkerRegistry workerReg_
void beginJob(ProductRegistry const &iRegistry, eventsetup::ESRecordsToProxyIndices const &)
void beginStream(StreamID iID, StreamContext &streamContext)
void setupOnDemandSystem(EventTransitionInfo const &)
void processAccumulatorsAsync(WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, ParentContext const &, typename T::Context const *)
void runNowAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, typename T::Context const *topContext, U const *context) const
The Registry of all workers that where requested Holds all instances of workers. In this implementati...
void setupResolvers(Principal &principal)
void endStream(StreamID iID, StreamContext &streamContext)
Worker * getWorker(ParameterSet &pset, ProductRegistry &preg, PreallocationConfiguration const *prealloc, std::shared_ptr< ProcessConfiguration const > processConfiguration, std::string const &label)
void processOneOccurrenceAsync(WaitingTaskHolder, typename T::TransitionInfoType &, ServiceToken const &, StreamID, typename T::Context const *topContext, U const *context)
roAction_t actions[nactions]
void deleteModuleIfExists(std::string const &moduleLabel)
WorkerManager(std::shared_ptr< ActivityRegistry > actReg, ExceptionToActionTable const &actions)
void const * lastSetupEventPrincipal_