1 #ifndef FWCore_Framework_UnscheduledCallProducer_h
2 #define FWCore_Framework_UnscheduledCallProducer_h
28 #include <unordered_map>
35 class EventTransitionInfo;
36 class ModuleCallingContext;
48 assert(
nullptr != aWorker);
69 template <
typename T,
typename U>
71 typename T::TransitionInfoType
const&
info,
74 typename T::Context
const* topContext,
86 worker->doWorkNoPrefetchingAsync<
T>(task,
info,
token, streamID, parentContext, topContext);
93 typename T::TransitionInfoType
const&
info,
97 typename T::Context
const*
context) {
104 template <
typename T,
typename ID>
106 std::ostringstream ost;
107 ost <<
"Processing " << T::transitionName() <<
" " <<
id;
PostModuleEventDelayedGet postModuleEventDelayedGetSignal_
PreModuleEventDelayedGet preModuleEventDelayedGetSignal_
virtual bool hasAccumulator() const =0
void removeWorker(Worker const *worker)
uint16_t *__restrict__ id
void setEventTransitionInfo(EventTransitionInfo const &info)
UnscheduledCallProducer(ActivityRegistry &iReg)
std::vector< Worker * > worker_container
void runNowAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, typename T::Context const *topContext, U const *context) const
void setEventTransitionInfo(EventTransitionInfo const &info)
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_
UnscheduledAuxiliary const & auxiliary() const
void addContext(std::string const &context)
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
worker_container::const_iterator const_iterator
const_iterator begin() const
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> postModuleDelayedGetSignal_
void runAccumulatorsAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, ParentContext const &parentContext, typename T::Context const *context)