Go to the documentation of this file. 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;
void addContextToException(cms::Exception &ex, Worker const *worker, ID const &id) const
void setEventSetup(EventSetupImpl const *iSetup)
UnscheduledCallProducer(ActivityRegistry &iReg)
void addContext(std::string const &context)
UnscheduledAuxiliary aux_
worker_container::const_iterator const_iterator
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
PostModuleEventDelayedGet postModuleEventDelayedGetSignal_
void addWorker(Worker *aWorker)
void setEventSetup(EventSetupImpl const &iSetup)
const_iterator begin() const
PreModuleEventDelayedGet preModuleEventDelayedGetSignal_
std::vector< Worker * > worker_container
UnscheduledAuxiliary const & auxiliary() const
virtual bool hasAccumulator() const =0
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 end() const
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> postModuleDelayedGetSignal_
worker_container accumulatorWorkers_
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)
worker_container unscheduledWorkers_