|
|
Go to the documentation of this file. 1 #ifndef FWCore_ServiceRegistry_ActivityRegistry_h
2 #define FWCore_ServiceRegistry_ActivityRegistry_h
64 #define AR_WATCH_USING_METHOD_0(method) \
65 template <class TClass, class TMethod> \
66 void method(TClass* iObject, TMethod iMethod) { \
67 method(std::bind(std::mem_fn(iMethod), iObject)); \
69 #define AR_WATCH_USING_METHOD_1(method) \
70 template <class TClass, class TMethod> \
71 void method(TClass* iObject, TMethod iMethod) { \
72 method(std::bind(std::mem_fn(iMethod), iObject, std::placeholders::_1)); \
74 #define AR_WATCH_USING_METHOD_2(method) \
75 template <class TClass, class TMethod> \
76 void method(TClass* iObject, TMethod iMethod) { \
77 method(std::bind(std::mem_fn(iMethod), iObject, std::placeholders::_1, std::placeholders::_2)); \
79 #define AR_WATCH_USING_METHOD_3(method) \
80 template <class TClass, class TMethod> \
81 void method(TClass* iObject, TMethod iMethod) { \
83 std::mem_fn(iMethod), iObject, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3)); \
88 class LuminosityBlockID;
91 class ModuleDescription;
100 class ProcessContext;
101 class ModuleCallingContext;
102 class PathsAndConsumesOfModulesBase;
103 namespace eventsetup {
104 struct ComponentDescription;
112 namespace signalslot {
122 template <
typename U>
127 template <
typename U>
1135 #undef AR_WATCH_USING_METHOD
void watchPostModule(PostModule::slot_type const &iSlot)
PostStreamBeginRun postStreamBeginRunSignal_
PreModuleGlobalEndLumi preModuleGlobalEndLumiSignal_
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
PostModuleBeginProcessBlock postModuleBeginProcessBlockSignal_
void watchPreBeginLumi(PreBeginLumi::slot_type const &iSlot)
PreGlobalEndLumi preGlobalWriteLumiSignal_
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
PostModuleBeginLumi postModuleBeginLumiSignal_
PrePathBeginLumi prePathBeginLumiSignal_
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreSourceEarlyTermination(PreSourceEarlyTermination::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
PostModuleAccessInputProcessBlock postModuleAccessInputProcessBlockSignal_
void watchPrePathBeginLumi(PrePathBeginLumi::slot_type const &iSlot)
void watchPostModuleBeginRun(PostModuleBeginRun::slot_type const &iSlot)
void watchPostModuleAccessInputProcessBlock(PostModuleAccessInputProcessBlock::slot_type const &iSlot)
signalslot::Signal< void(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)> PreLockEventSetupGet
PreOpenFile preOpenFileSignal_
void watchPostGlobalWriteRun(PostGlobalWriteRun::slot_type const &iSlot)
void watchPostBeginProcessBlock(PostBeginProcessBlock::slot_type const &iSlot)
PreGlobalEndLumi preGlobalEndLumiSignal_
PreEndJob preEndJobSignal_
signal is emitted before any modules have gotten their endJob called
void watchPreModuleEndProcessBlock(PreModuleEndProcessBlock::slot_type const &iSlot)
PreModuleBeginProcessBlock preModuleBeginProcessBlockSignal_
PreModule preModuleSignal_
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
PreModuleBeginRun preModuleBeginRunSignal_
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
signalslot::Signal< void(GlobalContext const &, ModuleCallingContext const &)> PostModuleAccessInputProcessBlock
#define AR_WATCH_USING_METHOD_2(method)
PrePathEndLumi prePathEndLumiSignal_
void watchPostEventReadFromSource(PostEventReadFromSource::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
PostGlobalWriteRun postGlobalWriteRunSignal_
void watchPreEndLumi(PreEndLumi::slot_type const &iSlot)
void watchPostEndRun(PostEndRun::slot_type const &iSlot)
PostEndLumi postEndLumiSignal_
signal is emitted after all modules have finished processing the Lumi
PreModuleWriteRun preModuleWriteRunSignal_
signalslot::Signal< void(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)> PostEventSetupGet
void watchPrePathBeginRun(PrePathBeginRun::slot_type const &iSlot)
void watchPostGlobalWriteLumi(PostGlobalEndLumi::slot_type const &iSlot)
PreStreamBeginLumi preStreamBeginLumiSignal_
void watchPostModuleBeginProcessBlock(PostModuleBeginProcessBlock::slot_type const &iSlot)
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void watchPreModuleWriteProcessBlock(PreModuleWriteProcessBlock::slot_type const &iSlot)
PreProcessPath preProcessPathSignal_
void watchJobFailure(JobFailure::slot_type const &iSlot)
convenience function for attaching to signal
signalslot::Signal< void(StreamContext const &, TerminationOrigin)> PreStreamEarlyTermination
PreSourceEarlyTermination preSourceEarlyTerminationSignal_
void watchPreModuleBeginLumi(PreModuleBeginLumi::slot_type const &iSlot)
PreModuleStreamBeginLumi preModuleStreamBeginLumiSignal_
PostModuleStreamBeginRun postModuleStreamBeginRunSignal_
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
PreSourceEvent preSourceSignal_
void watchPreModuleBeginRun(PreModuleBeginRun::slot_type const &iSlot)
void watchPreModuleWriteRun(PreModuleWriteRun::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
JobFailure jobFailureSignal_
PostModuleGlobalBeginLumi postModuleGlobalBeginLumiSignal_
void watchPreModuleBeginProcessBlock(PreModuleBeginProcessBlock::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
PostModuleBeginJob postModuleBeginJobSignal_
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
PreModuleGlobalBeginRun preModuleGlobalBeginRunSignal_
PostModuleEndStream postModuleEndStreamSignal_
PreModuleEndLumi preModuleEndLumiSignal_
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
PostModuleBeginRun postModuleBeginRunSignal_
void watchPostEventSetupGet(PostEventSetupGet::slot_type const &iSlot)
PreModuleStreamEndLumi preModuleStreamEndLumiSignal_
void watchPreGlobalWriteLumi(PreGlobalWriteLumi::slot_type const &iSlot)
PostModuleGlobalEndLumi postModuleGlobalEndLumiSignal_
PostModuleWriteLumi postModuleWriteLumiSignal_
PreModuleEndJob preModuleEndJobSignal_
PreStreamEndLumi preStreamEndLumiSignal_
void watchPostPathEndRun(PostPathEndRun::slot_type const &iSlot)
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
void watchPreModuleWriteLumi(PreModuleWriteLumi::slot_type const &iSlot)
PostPathEvent postPathEventSignal_
PostModuleStreamEndLumi postModuleStreamEndLumiSignal_
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
PostPathBeginLumi postPathBeginLumiSignal_
PostModuleWriteRun postModuleWriteRunSignal_
PostAccessInputProcessBlock postAccessInputProcessBlockSignal_
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
PostEventSetupGet postEventSetupGetSignal_
signal is emitted after getImpl has returned in the EventSetup DataProxy::get function
PreSourceLumi preSourceLumiSignal_
void throwObsoleteSignalException()
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
PostWriteProcessBlock postWriteProcessBlockSignal_
PreEndRun preEndRunSignal_
signal is emitted before the endRun is processed
signalslot::Signal< void(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)> PostLockEventSetupGet
void watchPostPathBeginLumi(PostPathBeginLumi::slot_type const &iSlot)
PostGlobalEndLumi postGlobalWriteLumiSignal_
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPostWriteProcessBlock(PostWriteProcessBlock::slot_type const &iSlot)
PostBeginRun postBeginRunSignal_
signal is emitted after all modules have finished processing the beginRun
PreModuleAccessInputProcessBlock preModuleAccessInputProcessBlockSignal_
void watchPreGlobalWriteRun(PreGlobalWriteRun::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
void watchPostPathBeginRun(PostPathBeginRun::slot_type const &iSlot)
PreModuleEventAcquire preModuleEventAcquireSignal_
void watchPreModuleEventPrefetching(PreModuleEventPrefetching::slot_type const &iSlot)
void connectLocals(ActivityRegistry &iOther)
PostModuleEventAcquire postModuleEventAcquireSignal_
PreModuleStreamBeginRun preModuleStreamBeginRunSignal_
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
PostOpenFile postOpenFileSignal_
PreSourceRun preSourceRunSignal_
PostGlobalBeginLumi postGlobalBeginLumiSignal_
void watchPreAccessInputProcessBlock(PreAccessInputProcessBlock::slot_type const &iSlot)
void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const &iSlot)
void watchPrePathEndRun(PrePathEndRun::slot_type const &iSlot)
PreModuleEvent preModuleEventSignal_
void watchPreEvent(PreEvent::slot_type const &iSlot)
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
PreGlobalEndRun preGlobalEndRunSignal_
PostModuleConstruction postModuleConstructionSignal_
PreModuleEventPrefetching preModuleEventPrefetchingSignal_
PostProcessPath postProcessPathSignal_
PreBeginProcessBlock preBeginProcessBlockSignal_
PostModuleBeginStream postModuleBeginStreamSignal_
PostEndJob postEndJobSignal_
signal is emitted after all modules have gotten their endJob called
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void connectToSubProcess(ActivityRegistry &iOther)
void connect_front(U iFunc)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
PostModuleEndLumi postModuleEndLumiSignal_
PostModuleGlobalBeginRun postModuleGlobalBeginRunSignal_
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void watchPreEventReadFromSource(PreEventReadFromSource::slot_type const &iSlot)
void watchPreEndJob(PreEndJob::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
PostModule postModuleSignal_
void watchPostBeginLumi(PostBeginLumi::slot_type const &iSlot)
PostModuleEventDelayedGet postModuleEventDelayedGetSignal_
PreAccessInputProcessBlock preAccessInputProcessBlockSignal_
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
PostBeginProcessBlock postBeginProcessBlockSignal_
PostSourceRun postSourceRunSignal_
PreModuleGlobalEndRun preModuleGlobalEndRunSignal_
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
PostLockEventSetupGet postLockEventSetupGetSignal_
signal is emitted after lock taken in EventSetup DataProxy::get function
void watchPostEvent(PostEvent::slot_type const &iSlot)
PreBeginRun preBeginRunSignal_
signal is emitted after the Run has been created by the InputSource but before any modules have seen ...
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
PostBeginLumi postBeginLumiSignal_
signal is emitted after all modules have finished processing the beginLumi
PostEventReadFromSource postEventReadFromSourceSignal_
void watchPreProcessPath(PreProcessPath::slot_type const &iSlot)
PostModuleEvent postModuleEventSignal_
PostModuleWriteProcessBlock postModuleWriteProcessBlockSignal_
PreBeginJob preBeginJobSignal_
signal is emitted before all modules have gotten their beginJob called
PreSourceConstruction preSourceConstructionSignal_
PostSourceLumi postSourceLumiSignal_
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
PreProcessEvent preProcessEventSignal_
signal is emitted after the Event has been created by the InputSource but before any modules have see...
PreBeginLumi preBeginLumiSignal_
signal is emitted after the Lumi has been created by the InputSource but before any modules have seen...
void watchPostModuleWriteRun(PostModuleWriteRun::slot_type const &iSlot)
PostCloseFile postCloseFileSignal_
void watchPreModule(PreModule::slot_type const &iSlot)
void watchPreModuleEndRun(PreModuleEndRun::slot_type const &iSlot)
void watchPreStreamEarlyTermination(PreStreamEarlyTermination::slot_type const &iSlot)
void watchPostProcessPath(PostProcessPath::slot_type const &iSlot)
PreEndProcessBlock preEndProcessBlockSignal_
PreStreamBeginRun preStreamBeginRunSignal_
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void copySlotsFrom(ActivityRegistry &iOther)
PreGlobalBeginLumi preGlobalBeginLumiSignal_
PrePathEvent prePathEventSignal_
void watchPostBeginRun(PostBeginRun::slot_type const &iSlot)
PostGlobalBeginRun postGlobalBeginRunSignal_
PreModuleStreamEndRun preModuleStreamEndRunSignal_
std::function< T > slot_type
PostBeginJob postBeginJobSignal_
signal is emitted after all modules have gotten their beginJob called
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
PreGlobalBeginRun preGlobalBeginRunSignal_
signal is emitted after the Run has been created by the InputSource but before any modules have seen ...
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
PostPathBeginRun postPathBeginRunSignal_
PreModuleEventDelayedGet preModuleEventDelayedGetSignal_
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
PreModuleWriteLumi preModuleWriteLumiSignal_
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void watchPostModuleWriteLumi(PostModuleWriteLumi::slot_type const &iSlot)
PostEvent postEventSignal_
signal is emitted after all modules have finished processing the Event
PostEndRun postEndRunSignal_
signal is emitted after all modules have finished processing the Run
void watchPreModuleAccessInputProcessBlock(PreModuleAccessInputProcessBlock::slot_type const &iSlot)
void watchPostLockEventSetupGet(PostLockEventSetupGet::slot_type const &iSlot)
void watchPreBeginRun(PreBeginRun::slot_type const &iSlot)
PreModuleEndProcessBlock preModuleEndProcessBlockSignal_
void watchPostEndLumi(PostEndLumi::slot_type const &iSlot)
PreEndLumi preEndLumiSignal_
signal is emitted before the endLumi is processed
PostGlobalEndLumi postGlobalEndLumiSignal_
PostSourceConstruction postSourceConstructionSignal_
void watchPostModuleEventPrefetching(PostModuleEventPrefetching::slot_type const &iSlot)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void connect(ActivityRegistry &iOther)
forwards our signals to slots connected to iOther
PostStreamEndLumi postStreamEndLumiSignal_
PreModuleEndRun preModuleEndRunSignal_
void watchPreallocate(Preallocate::slot_type const &iSlot)
PostModuleGlobalEndRun postModuleGlobalEndRunSignal_
void watchPreGlobalEarlyTermination(PreGlobalEarlyTermination::slot_type const &iSlot)
PreEvent preEventSignal_
signal is emitted after the Event has been created by the InputSource but before any modules have see...
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void watchPostModuleBeginLumi(PostModuleBeginLumi::slot_type const &iSlot)
void watchPostPathEndLumi(PostPathEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
PostPathEndLumi postPathEndLumiSignal_
PreModuleBeginLumi preModuleBeginLumiSignal_
void watchPreLockEventSetupGet(PreLockEventSetupGet::slot_type const &iSlot)
PostStreamEndRun postStreamEndRunSignal_
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
PreLockEventSetupGet preLockEventSetupGetSignal_
signal is emitted before lock taken in EventSetup DataProxy::get function
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
PreModuleConstruction preModuleConstructionSignal_
PreCloseFile preCloseFileSignal_
PreModuleEndStream preModuleEndStreamSignal_
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void watchPostModuleWriteProcessBlock(PostModuleWriteProcessBlock::slot_type const &iSlot)
void watchPostModuleEndLumi(PostModuleEndLumi::slot_type const &iSlot)
#define AR_WATCH_USING_METHOD_3(method)
PreModuleBeginStream preModuleBeginStreamSignal_
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
PostModuleEndRun postModuleEndRunSignal_
PostModuleStreamBeginLumi postModuleStreamBeginLumiSignal_
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
std::function< void(service::SystemBounds const &) > slot_type
Preallocate preallocateSignal_
signal is emitted before beginJob
PostGlobalEndRun postGlobalEndRunSignal_
#define AR_WATCH_USING_METHOD_0(method)
PostSourceEvent postSourceSignal_
PreEventReadFromSource preEventReadFromSourceSignal_
void watchPreProcessEvent(PreProcessEvent::slot_type const &iSlot)
void watchPostModuleEndProcessBlock(PostModuleEndProcessBlock::slot_type const &iSlot)
#define AR_WATCH_USING_METHOD_1(method)
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostAccessInputProcessBlock(PostAccessInputProcessBlock::slot_type const &iSlot)
TEMPL(T2) struct Divides void
void watchPostProcessEvent(PostProcessEvent::slot_type const &iSlot)
PreModuleWriteProcessBlock preModuleWriteProcessBlockSignal_
PreGlobalWriteRun preGlobalWriteRunSignal_
PostPathEndRun postPathEndRunSignal_
PreStreamEndRun preStreamEndRunSignal_
PostProcessEvent postProcessEventSignal_
signal is emitted after all modules have finished processing the Event
PostModuleStreamEndRun postModuleStreamEndRunSignal_
PrePathBeginRun prePathBeginRunSignal_
PostModuleEventPrefetching postModuleEventPrefetchingSignal_
PrePathEndRun prePathEndRunSignal_
void watchPostModuleEndRun(PostModuleEndRun::slot_type const &iSlot)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
PreStreamEarlyTermination preStreamEarlyTerminationSignal_
signalslot::Signal< void(GlobalContext const &, TerminationOrigin)> PreGlobalEarlyTermination
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
PreModuleBeginJob preModuleBeginJobSignal_
PostModuleEndProcessBlock postModuleEndProcessBlockSignal_
PreWriteProcessBlock preWriteProcessBlockSignal_
signalslot::Signal< void(TerminationOrigin)> PreSourceEarlyTermination
void connectGlobals(ActivityRegistry &iOther)
ActivityRegistry & operator=(ActivityRegistry const &)=delete
PostStreamBeginLumi postStreamBeginLumiSignal_
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void watchPreModuleEndLumi(PreModuleEndLumi::slot_type const &iSlot)
void watchPrePathEndLumi(PrePathEndLumi::slot_type const &iSlot)
PostEndProcessBlock postEndProcessBlockSignal_
void watchPreEndRun(PreEndRun::slot_type const &iSlot)
void watchPostEndProcessBlock(PostEndProcessBlock::slot_type const &iSlot)
PostModuleEndJob postModuleEndJobSignal_
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
signalslot::Signal< void(service::SystemBounds const &)> Preallocate
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
PreModuleGlobalBeginLumi preModuleGlobalBeginLumiSignal_
void watchPreWriteProcessBlock(PreWriteProcessBlock::slot_type const &iSlot)
PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_