1 #ifndef FWCore_Framework_UnscheduledCallProducer_h 2 #define FWCore_Framework_UnscheduledCallProducer_h 27 #include <unordered_map> 33 class ModuleCallingContext;
45 assert(
nullptr != aWorker);
59 template <
typename T,
typename U>
61 typename T::MyPrincipal&
p,
65 typename T::Context
const* topContext,
66 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)
void setEventSetup(EventSetupImpl const *iSetup)
const_iterator end() const
void setEventSetup(EventSetupImpl const &iSetup)
worker_container unscheduledWorkers_
void runAccumulatorsAsync(WaitingTask *task, typename T::MyPrincipal const &ep, EventSetupImpl const &es, ServiceToken const &token, StreamID streamID, ParentContext const &parentContext, typename T::Context const *context)
UnscheduledAuxiliary aux_
void addContextToException(cms::Exception &ex, Worker const *worker, ID const &id) const
worker_container accumulatorWorkers_
UnscheduledAuxiliary const & auxiliary() const
void addContext(std::string const &context)
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
virtual bool hasAccumulator() const =0
worker_container::const_iterator const_iterator
void runNowAsync(WaitingTask *task, typename T::MyPrincipal &p, EventSetupImpl const &es, ServiceToken const &token, StreamID streamID, typename T::Context const *topContext, U const *context) const
const_iterator begin() const
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> postModuleDelayedGetSignal_