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)
void addContextToException(cms::Exception &ex, Worker const *worker, ID const &id) const
void setEventTransitionInfo(EventTransitionInfo const &info)
UnscheduledCallProducer(ActivityRegistry &iReg)
void runNowAsync(WaitingTaskHolder task, typename T::TransitionInfoType const &info, ServiceToken const &token, StreamID streamID, typename T::Context const *topContext, U const *context) const
std::vector< Worker * > worker_container
const_iterator begin() const
void setEventTransitionInfo(EventTransitionInfo const &info)
UnscheduledAuxiliary const & auxiliary() const
void addWorker(Worker *aWorker)
worker_container unscheduledWorkers_
UnscheduledAuxiliary aux_
const_iterator end() const
worker_container accumulatorWorkers_
void addContext(std::string const &context)
def remove(d, key, TELL=False)
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
worker_container::const_iterator const_iterator
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)