1 #ifndef FWCore_Framework_UnscheduledCallProducer_h 2 #define FWCore_Framework_UnscheduledCallProducer_h 27 #include <unordered_map> 33 class ModuleCallingContext;
46 assert(
nullptr != aWorker);
62 template <
typename T,
typename U>
66 typename T::Context
const* topContext,
U const* context)
const {
77 worker->doWorkNoPrefetchingAsync<
T>(task,
p, es, token, streamID, parentContext, topContext);
84 typename T::MyPrincipal
const& ep,
89 typename T::Context
const* context) {
91 worker->doWorkAsync<
T>(task, ep, es, token, streamID, parentContext, context);
96 template <
typename T,
typename ID>
98 std::ostringstream ost;
99 ost <<
"Processing " << T::transitionName()<<
" "<<
id;
PostModuleEventDelayedGet postModuleEventDelayedGetSignal_
PreModuleEventDelayedGet preModuleEventDelayedGetSignal_
UnscheduledCallProducer(ActivityRegistry &iReg)
std::vector< Worker * > worker_container
void addWorker(Worker *aWorker)
const_iterator end() const
worker_container unscheduledWorkers_
UnscheduledAuxiliary aux_
void addContextToException(cms::Exception &ex, Worker const *worker, ID const &id) const
worker_container accumulatorWorkers_
void runNowAsync(WaitingTask *task, typename T::MyPrincipal &p, EventSetup const &es, ServiceToken const &token, StreamID streamID, typename T::Context const *topContext, U const *context) const
UnscheduledAuxiliary const & auxiliary() const
void addContext(std::string const &context)
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
virtual bool hasAccumulator() const =0
void setEventSetup(EventSetup const *iSetup)
void runAccumulatorsAsync(WaitingTask *task, typename T::MyPrincipal const &ep, EventSetup const &es, ServiceToken const &token, StreamID streamID, ParentContext const &parentContext, typename T::Context const *context)
void setEventSetup(EventSetup const &iSetup)
worker_container::const_iterator const_iterator
const_iterator begin() const
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> postModuleDelayedGetSignal_