1 #ifndef FWCore_ServiceRegistry_ActivityRegistry_h 2 #define FWCore_ServiceRegistry_ActivityRegistry_h 63 #define AR_WATCH_USING_METHOD_0(method) template<class TClass, class TMethod> void method (TClass* iObject, TMethod iMethod) { method (std::bind(std::mem_fn(iMethod), iObject)); } 64 #define AR_WATCH_USING_METHOD_1(method) template<class TClass, class TMethod> void method (TClass* iObject, TMethod iMethod) { method (std::bind(std::mem_fn(iMethod), iObject, std::placeholders::_1)); } 65 #define AR_WATCH_USING_METHOD_2(method) template<class TClass, class TMethod> void method (TClass* iObject, TMethod iMethod) { method (std::bind(std::mem_fn(iMethod), iObject, std::placeholders::_1, std::placeholders::_2)); } 66 #define AR_WATCH_USING_METHOD_3(method) template<class TClass, class TMethod> void method (TClass* iObject, TMethod iMethod) { method (std::bind(std::mem_fn(iMethod), iObject, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3)); } 70 class LuminosityBlockID;
73 class ModuleDescription;
83 class ModuleCallingContext;
84 class PathsAndConsumesOfModulesBase;
85 namespace eventsetup {
86 struct ComponentDescription;
94 namespace signalslot {
127 preallocateSignal_.
connect(iSlot);
134 PreBeginJob preBeginJobSignal_;
136 void watchPreBeginJob(PreBeginJob::slot_type const& iSlot) {
137 preBeginJobSignal_.
connect(iSlot);
143 PostBeginJob postBeginJobSignal_;
145 void watchPostBeginJob(PostBeginJob::slot_type const& iSlot) {
146 postBeginJobSignal_.
connect(iSlot);
152 PreEndJob preEndJobSignal_;
153 void watchPreEndJob(PreEndJob::slot_type const& iSlot) {
160 PostEndJob postEndJobSignal_;
161 void watchPostEndJob(PostEndJob::slot_type const& iSlot) {
169 JobFailure jobFailureSignal_;
171 void watchJobFailure(JobFailure::slot_type const& iSlot) {
178 PreSourceEvent preSourceSignal_;
179 void watchPreSourceEvent(PreSourceEvent::slot_type const& iSlot) {
180 preSourceSignal_.
connect(iSlot);
186 PostSourceEvent postSourceSignal_;
187 void watchPostSourceEvent(PostSourceEvent::slot_type const& iSlot) {
194 PreSourceLumi preSourceLumiSignal_;
195 void watchPreSourceLumi(PreSourceLumi::slot_type const& iSlot) {
196 preSourceLumiSignal_.
connect(iSlot);
202 PostSourceLumi postSourceLumiSignal_;
203 void watchPostSourceLumi(PostSourceLumi::slot_type const& iSlot) {
210 PreSourceRun preSourceRunSignal_;
211 void watchPreSourceRun(PreSourceRun::slot_type const& iSlot) {
212 preSourceRunSignal_.
connect(iSlot);
218 PostSourceRun postSourceRunSignal_;
219 void watchPostSourceRun(PostSourceRun::slot_type const& iSlot) {
226 PreOpenFile preOpenFileSignal_;
227 void watchPreOpenFile(PreOpenFile::slot_type const& iSlot) {
228 preOpenFileSignal_.
connect(iSlot);
235 PostOpenFile postOpenFileSignal_;
236 void watchPostOpenFile(PostOpenFile::slot_type const& iSlot) {
245 PreCloseFile preCloseFileSignal_;
246 void watchPreCloseFile(PreCloseFile::slot_type const& iSlot) {
247 preCloseFileSignal_.
connect(iSlot);
253 PostCloseFile postCloseFileSignal_;
254 void watchPostCloseFile(PostCloseFile::slot_type const& iSlot) {
260 PreModuleBeginStream preModuleBeginStreamSignal_;
261 void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const& iSlot) {
262 preModuleBeginStreamSignal_.
connect(iSlot);
267 PostModuleBeginStream postModuleBeginStreamSignal_;
268 void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const& iSlot) {
274 PreModuleEndStream preModuleEndStreamSignal_;
275 void watchPreModuleEndStream(PreModuleEndStream::slot_type const& iSlot) {
276 preModuleEndStreamSignal_.
connect(iSlot);
281 PostModuleEndStream postModuleEndStreamSignal_;
282 void watchPostModuleEndStream(PostModuleEndStream::slot_type const& iSlot) {
289 PreGlobalBeginRun preGlobalBeginRunSignal_;
290 void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const& iSlot) {
291 preGlobalBeginRunSignal_.
connect(iSlot);
296 PostGlobalBeginRun postGlobalBeginRunSignal_;
297 void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const& iSlot) {
303 PreGlobalEndRun preGlobalEndRunSignal_;
304 void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const& iSlot) {
305 preGlobalEndRunSignal_.
connect(iSlot);
310 PostGlobalEndRun postGlobalEndRunSignal_;
311 void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const& iSlot) {
317 PreStreamBeginRun preStreamBeginRunSignal_;
318 void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const& iSlot) {
319 preStreamBeginRunSignal_.
connect(iSlot);
324 PostStreamBeginRun postStreamBeginRunSignal_;
325 void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const& iSlot) {
331 PreStreamEndRun preStreamEndRunSignal_;
332 void watchPreStreamEndRun(PreStreamEndRun::slot_type const& iSlot) {
333 preStreamEndRunSignal_.
connect(iSlot);
338 PostStreamEndRun postStreamEndRunSignal_;
339 void watchPostStreamEndRun(PostStreamEndRun::slot_type const& iSlot) {
345 PreGlobalBeginLumi preGlobalBeginLumiSignal_;
346 void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const& iSlot) {
347 preGlobalBeginLumiSignal_.
connect(iSlot);
352 PostGlobalBeginLumi postGlobalBeginLumiSignal_;
353 void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const& iSlot) {
359 PreGlobalEndLumi preGlobalEndLumiSignal_;
360 void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const& iSlot) {
361 preGlobalEndLumiSignal_.
connect(iSlot);
366 PostGlobalEndLumi postGlobalEndLumiSignal_;
367 void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const& iSlot) {
373 PreStreamBeginLumi preStreamBeginLumiSignal_;
374 void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const& iSlot) {
375 preStreamBeginLumiSignal_.
connect(iSlot);
380 PostStreamBeginLumi postStreamBeginLumiSignal_;
381 void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const& iSlot) {
387 PreStreamEndLumi preStreamEndLumiSignal_;
388 void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const& iSlot) {
389 preStreamEndLumiSignal_.
connect(iSlot);
394 PostStreamEndLumi postStreamEndLumiSignal_;
395 void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const& iSlot) {
402 PreEvent preEventSignal_;
403 void watchPreEvent(PreEvent::slot_type const& iSlot) {
404 preEventSignal_.
connect(iSlot);
410 PostEvent postEventSignal_;
411 void watchPostEvent(PostEvent::slot_type const& iSlot) {
418 PrePathEvent prePathEventSignal_;
419 void watchPrePathEvent(PrePathEvent::slot_type const& iSlot) {
420 prePathEventSignal_.
connect(iSlot);
426 PostPathEvent postPathEventSignal_;
427 void watchPostPathEvent(PostPathEvent::slot_type const& iSlot) {
435 PreStreamEarlyTermination preStreamEarlyTerminationSignal_;
436 void watchPreStreamEarlyTermination(PreStreamEarlyTermination::slot_type const& iSlot) {
437 preStreamEarlyTerminationSignal_.
connect(iSlot);
444 PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_;
445 void watchPreGlobalEarlyTermination(PreGlobalEarlyTermination::slot_type const& iSlot) {
446 preGlobalEarlyTerminationSignal_.
connect(iSlot);
453 PreSourceEarlyTermination preSourceEarlyTerminationSignal_;
454 void watchPreSourceEarlyTermination(PreSourceEarlyTermination::slot_type const& iSlot) {
455 preSourceEarlyTerminationSignal_.
connect(iSlot);
462 PreProcessEvent preProcessEventSignal_;
463 void watchPreProcessEvent(PreProcessEvent::slot_type const& iSlot) {
464 preProcessEventSignal_.
connect(iSlot);
471 PostProcessEvent postProcessEventSignal_;
472 void watchPostProcessEvent(PostProcessEvent::slot_type const& iSlot) {
480 PreBeginRun preBeginRunSignal_;
481 void watchPreBeginRun(PreBeginRun::slot_type const& iSlot) {
482 preBeginRunSignal_.
connect(iSlot);
489 PostBeginRun postBeginRunSignal_;
490 void watchPostBeginRun(PostBeginRun::slot_type const& iSlot) {
498 PreEndRun preEndRunSignal_;
499 void watchPreEndRun(PreEndRun::slot_type const& iSlot) {
500 preEndRunSignal_.
connect(iSlot);
507 PostEndRun postEndRunSignal_;
508 void watchPostEndRun(PostEndRun::slot_type const& iSlot) {
516 PreBeginLumi preBeginLumiSignal_;
517 void watchPreBeginLumi(PreBeginLumi::slot_type const& iSlot) {
518 preBeginLumiSignal_.
connect(iSlot);
525 PostBeginLumi postBeginLumiSignal_;
526 void watchPostBeginLumi(PostBeginLumi::slot_type const& iSlot) {
534 PreEndLumi preEndLumiSignal_;
535 void watchPreEndLumi(PreEndLumi::slot_type const& iSlot) {
536 preEndLumiSignal_.
connect(iSlot);
543 PostEndLumi postEndLumiSignal_;
544 void watchPostEndLumi(PostEndLumi::slot_type const& iSlot) {
552 PreProcessPath preProcessPathSignal_;
553 void watchPreProcessPath(PreProcessPath::slot_type const& iSlot) {
554 preProcessPathSignal_.
connect(iSlot);
561 PostProcessPath postProcessPathSignal_;
562 void watchPostProcessPath(PostProcessPath::slot_type const& iSlot) {
570 PrePathBeginRun prePathBeginRunSignal_;
571 void watchPrePathBeginRun(PrePathBeginRun::slot_type const& iSlot) {
572 prePathBeginRunSignal_.
connect(iSlot);
579 PostPathBeginRun postPathBeginRunSignal_;
580 void watchPostPathBeginRun(PostPathBeginRun::slot_type const& iSlot) {
588 PrePathEndRun prePathEndRunSignal_;
589 void watchPrePathEndRun(PrePathEndRun::slot_type const& iSlot) {
590 prePathEndRunSignal_.
connect(iSlot);
597 PostPathEndRun postPathEndRunSignal_;
598 void watchPostPathEndRun(PostPathEndRun::slot_type const& iSlot) {
606 PrePathBeginLumi prePathBeginLumiSignal_;
607 void watchPrePathBeginLumi(PrePathBeginLumi::slot_type const& iSlot) {
608 prePathBeginLumiSignal_.
connect(iSlot);
615 PostPathBeginLumi postPathBeginLumiSignal_;
616 void watchPostPathBeginLumi(PostPathBeginLumi::slot_type const& iSlot) {
624 PrePathEndLumi prePathEndLumiSignal_;
625 void watchPrePathEndLumi(PrePathEndLumi::slot_type const& iSlot) {
626 prePathEndLumiSignal_.
connect(iSlot);
633 PostPathEndLumi postPathEndLumiSignal_;
634 void watchPostPathEndLumi(PostPathEndLumi::slot_type const& iSlot) {
653 PreModuleConstruction preModuleConstructionSignal_;
654 void watchPreModuleConstruction(PreModuleConstruction::slot_type const& iSlot) {
655 preModuleConstructionSignal_.
connect(iSlot);
662 PostModuleConstruction postModuleConstructionSignal_;
663 void watchPostModuleConstruction(PostModuleConstruction::slot_type const& iSlot) {
671 PreModuleBeginJob preModuleBeginJobSignal_;
672 void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const& iSlot) {
673 preModuleBeginJobSignal_.
connect(iSlot);
679 PostModuleBeginJob postModuleBeginJobSignal_;
680 void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const& iSlot) {
687 PreModuleEndJob preModuleEndJobSignal_;
688 void watchPreModuleEndJob(PreModuleEndJob::slot_type const& iSlot) {
689 preModuleEndJobSignal_.
connect(iSlot);
695 PostModuleEndJob postModuleEndJobSignal_;
696 void watchPostModuleEndJob(PostModuleEndJob::slot_type const& iSlot) {
703 PreModuleEventPrefetching preModuleEventPrefetchingSignal_;
704 void watchPreModuleEventPrefetching(PreModuleEventPrefetching::slot_type const& iSlot) {
705 preModuleEventPrefetchingSignal_.
connect(iSlot);
711 PostModuleEventPrefetching postModuleEventPrefetchingSignal_;
712 void watchPostModuleEventPrefetching(PostModuleEventPrefetching::slot_type const& iSlot) {
719 PreModuleEvent preModuleEventSignal_;
720 void watchPreModuleEvent(PreModuleEvent::slot_type const& iSlot) {
721 preModuleEventSignal_.
connect(iSlot);
727 PostModuleEvent postModuleEventSignal_;
728 void watchPostModuleEvent(PostModuleEvent::slot_type const& iSlot) {
735 PreModuleEventAcquire preModuleEventAcquireSignal_;
736 void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const& iSlot) {
737 preModuleEventAcquireSignal_.
connect(iSlot);
743 PostModuleEventAcquire postModuleEventAcquireSignal_;
744 void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const& iSlot) {
751 PreModuleEventDelayedGet preModuleEventDelayedGetSignal_;
752 void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const& iSlot) {
753 preModuleEventDelayedGetSignal_.
connect(iSlot);
759 PostModuleEventDelayedGet postModuleEventDelayedGetSignal_;
760 void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const& iSlot) {
767 PreEventReadFromSource preEventReadFromSourceSignal_;
768 void watchPreEventReadFromSource(PreEventReadFromSource::slot_type const& iSlot) {
769 preEventReadFromSourceSignal_.
connect(iSlot);
775 PostEventReadFromSource postEventReadFromSourceSignal_;
776 void watchPostEventReadFromSource(PostEventReadFromSource::slot_type const& iSlot) {
782 PreModuleStreamBeginRun preModuleStreamBeginRunSignal_;
783 void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const& iSlot) {
784 preModuleStreamBeginRunSignal_.
connect(iSlot);
789 PostModuleStreamBeginRun postModuleStreamBeginRunSignal_;
790 void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const& iSlot) {
796 PreModuleStreamEndRun preModuleStreamEndRunSignal_;
797 void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const& iSlot) {
798 preModuleStreamEndRunSignal_.
connect(iSlot);
803 PostModuleStreamEndRun postModuleStreamEndRunSignal_;
804 void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const& iSlot) {
810 PreModuleStreamBeginLumi preModuleStreamBeginLumiSignal_;
811 void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const& iSlot) {
812 preModuleStreamBeginLumiSignal_.
connect(iSlot);
817 PostModuleStreamBeginLumi postModuleStreamBeginLumiSignal_;
818 void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const& iSlot) {
824 PreModuleStreamEndLumi preModuleStreamEndLumiSignal_;
825 void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const& iSlot) {
826 preModuleStreamEndLumiSignal_.
connect(iSlot);
831 PostModuleStreamEndLumi postModuleStreamEndLumiSignal_;
832 void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const& iSlot) {
838 PreModuleGlobalBeginRun preModuleGlobalBeginRunSignal_;
839 void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const& iSlot) {
840 preModuleGlobalBeginRunSignal_.
connect(iSlot);
845 PostModuleGlobalBeginRun postModuleGlobalBeginRunSignal_;
846 void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const& iSlot) {
852 PreModuleGlobalEndRun preModuleGlobalEndRunSignal_;
853 void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const& iSlot) {
854 preModuleGlobalEndRunSignal_.
connect(iSlot);
859 PostModuleGlobalEndRun postModuleGlobalEndRunSignal_;
860 void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const& iSlot) {
866 PreModuleGlobalBeginLumi preModuleGlobalBeginLumiSignal_;
867 void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const& iSlot) {
868 preModuleGlobalBeginLumiSignal_.
connect(iSlot);
873 PostModuleGlobalBeginLumi postModuleGlobalBeginLumiSignal_;
874 void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const& iSlot) {
880 PreModuleGlobalEndLumi preModuleGlobalEndLumiSignal_;
881 void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const& iSlot) {
882 preModuleGlobalEndLumiSignal_.
connect(iSlot);
887 PostModuleGlobalEndLumi postModuleGlobalEndLumiSignal_;
888 void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const& iSlot) {
894 PreModuleWriteRun preModuleWriteRunSignal_;
895 void watchPreModuleWriteRun(PreModuleWriteRun::slot_type const& iSlot) {
896 preModuleWriteRunSignal_.
connect(iSlot);
901 PostModuleWriteRun postModuleWriteRunSignal_;
902 void watchPostModuleWriteRun(PostModuleWriteRun::slot_type const& iSlot) {
908 PreModuleWriteLumi preModuleWriteLumiSignal_;
909 void watchPreModuleWriteLumi(PreModuleWriteLumi::slot_type const& iSlot) {
910 preModuleWriteLumiSignal_.
connect(iSlot);
915 PostModuleWriteLumi postModuleWriteLumiSignal_;
916 void watchPostModuleWriteLumi(PostModuleWriteLumi::slot_type const& iSlot) {
924 PreModule preModuleSignal_;
925 void watchPreModule(PreModule::slot_type const& iSlot) {
926 preModuleSignal_.
connect(iSlot);
933 PostModule postModuleSignal_;
934 void watchPostModule(PostModule::slot_type const& iSlot) {
942 PreModuleBeginRun preModuleBeginRunSignal_;
943 void watchPreModuleBeginRun(PreModuleBeginRun::slot_type const& iSlot) {
944 preModuleBeginRunSignal_.
connect(iSlot);
951 PostModuleBeginRun postModuleBeginRunSignal_;
952 void watchPostModuleBeginRun(PostModuleBeginRun::slot_type const& iSlot) {
961 PreModuleEndRun preModuleEndRunSignal_;
962 void watchPreModuleEndRun(PreModuleEndRun::slot_type const& iSlot) {
963 preModuleEndRunSignal_.
connect(iSlot);
970 PostModuleEndRun postModuleEndRunSignal_;
971 void watchPostModuleEndRun(PostModuleEndRun::slot_type const& iSlot) {
979 PreModuleBeginLumi preModuleBeginLumiSignal_;
980 void watchPreModuleBeginLumi(PreModuleBeginLumi::slot_type const& iSlot) {
981 preModuleBeginLumiSignal_.
connect(iSlot);
988 PostModuleBeginLumi postModuleBeginLumiSignal_;
989 void watchPostModuleBeginLumi(PostModuleBeginLumi::slot_type const& iSlot) {
997 PreModuleEndLumi preModuleEndLumiSignal_;
998 void watchPreModuleEndLumi(PreModuleEndLumi::slot_type const& iSlot) {
999 preModuleEndLumiSignal_.
connect(iSlot);
1006 PostModuleEndLumi postModuleEndLumiSignal_;
1007 void watchPostModuleEndLumi(PostModuleEndLumi::slot_type const& iSlot) {
1014 PreSourceConstruction preSourceConstructionSignal_;
1015 void watchPreSourceConstruction(PreSourceConstruction::slot_type const& iSlot) {
1016 preSourceConstructionSignal_.
connect(iSlot);
1023 PostSourceConstruction postSourceConstructionSignal_;
1024 void watchPostSourceConstruction(PostSourceConstruction::slot_type const& iSlot) {
1032 PreLockEventSetupGet preLockEventSetupGetSignal_;
1033 void watchPreLockEventSetupGet(PreLockEventSetupGet::slot_type const& iSlot) {
1034 preLockEventSetupGetSignal_.
connect(iSlot);
1040 PostLockEventSetupGet postLockEventSetupGetSignal_;
1041 void watchPostLockEventSetupGet(PostLockEventSetupGet::slot_type const& iSlot) {
1048 PostEventSetupGet postEventSetupGetSignal_;
1049 void watchPostEventSetupGet(PostEventSetupGet::slot_type const& iSlot) {
1078 #undef AR_WATCH_USING_METHOD
void watchPreallocate(Preallocate::slot_type const &iSlot)
void throwObsoleteSignalException()
signalslot::Signal< void(service::SystemBounds const &)> Preallocate
void connect_front(U iFunc)
Preallocate preallocateSignal_
signal is emitted before beginJob
std::function< T > slot_type
std::function< void(service::SystemBounds const &) > slot_type
#define AR_WATCH_USING_METHOD_1(method)
#define AR_WATCH_USING_METHOD_0(method)
#define AR_WATCH_USING_METHOD_3(method)
#define AR_WATCH_USING_METHOD_2(method)