CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ActivityRegistry.h
Go to the documentation of this file.
1 #ifndef FWCore_ServiceRegistry_ActivityRegistry_h
2 #define FWCore_ServiceRegistry_ActivityRegistry_h
3 // -*- C++ -*-
4 //
5 // Package: ServiceRegistry
6 // Class : ActivityRegistry
7 //
26 //
27 // Original Author: Chris Jones
28 // Created: Mon Sep 5 19:53:09 EDT 2005
29 //
30 
31 // system include files
32 //#include "boost/signal.hpp"
33 #include <functional>
37 
38 // user include files
39 
40 #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)); }
41 #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)); }
42 #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)); }
43 #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)); }
44 // forward declarations
45 namespace edm {
46  class EventID;
47  class LuminosityBlockID;
48  class RunID;
49  class Timestamp;
50  class ModuleDescription;
51  class Event;
52  class LuminosityBlock;
53  class Run;
54  class EventSetup;
55  class HLTPathStatus;
56  class GlobalContext;
57  class StreamContext;
58  class PathContext;
59  class ProcessContext;
60  class ModuleCallingContext;
61  class PathsAndConsumesOfModulesBase;
62  namespace service {
63  class SystemBounds;
64  }
65 
66  namespace signalslot {
68 
69  template<class T>
71  public:
72  typedef std::function<T> slot_type;
73 
74  ObsoleteSignal() = default;
75 
76  template<typename U>
77  void connect(U /* iFunc */) {
79  }
80 
81  template<typename U>
82  void connect_front(U /* iFunc*/) {
84  }
85 
86  };
87  }
89  public:
91  ActivityRegistry(ActivityRegistry const&) = delete; // Disallow copying and moving
92  ActivityRegistry& operator=(ActivityRegistry const&) = delete; // Disallow copying and moving
93 
94  // ---------- signals ------------------------------------
100  }
102 
105  PreBeginJob preBeginJobSignal_;
107  void watchPreBeginJob(PreBeginJob::slot_type const& iSlot) {
108  preBeginJobSignal_.connect(iSlot);
109  }
111 
112  typedef signalslot::Signal<void()> PostBeginJob;
114  PostBeginJob postBeginJobSignal_;
116  void watchPostBeginJob(PostBeginJob::slot_type const& iSlot) {
117  postBeginJobSignal_.connect(iSlot);
118  }
120 
121  typedef signalslot::Signal<void()> PreEndJob;
123  PreEndJob preEndJobSignal_;
124  void watchPreEndJob(PreEndJob::slot_type const& iSlot) {
125  preEndJobSignal_.connect_front(iSlot);
126  }
128 
129  typedef signalslot::Signal<void()> PostEndJob;
131  PostEndJob postEndJobSignal_;
132  void watchPostEndJob(PostEndJob::slot_type const& iSlot) {
133  postEndJobSignal_.connect_front(iSlot);
134  }
136 
137  typedef signalslot::Signal<void()> JobFailure;
140  JobFailure jobFailureSignal_;
142  void watchJobFailure(JobFailure::slot_type const& iSlot) {
143  jobFailureSignal_.connect_front(iSlot);
144  }
146 
147 
148  typedef signalslot::Signal<void(StreamID)> PreSourceEvent;
149  PreSourceEvent preSourceSignal_;
150  void watchPreSourceEvent(PreSourceEvent::slot_type const& iSlot) {
151  preSourceSignal_.connect(iSlot);
152  }
154 
155 
156  typedef signalslot::Signal<void(StreamID)> PostSourceEvent;
157  PostSourceEvent postSourceSignal_;
158  void watchPostSourceEvent(PostSourceEvent::slot_type const& iSlot) {
159  postSourceSignal_.connect_front(iSlot);
160  }
162 
163 
164  typedef signalslot::Signal<void()> PreSourceLumi;
165  PreSourceLumi preSourceLumiSignal_;
166  void watchPreSourceLumi(PreSourceLumi::slot_type const& iSlot) {
167  preSourceLumiSignal_.connect(iSlot);
168  }
170 
171 
172  typedef signalslot::Signal<void()> PostSourceLumi;
173  PostSourceLumi postSourceLumiSignal_;
174  void watchPostSourceLumi(PostSourceLumi::slot_type const& iSlot) {
175  postSourceLumiSignal_.connect_front(iSlot);
176  }
178 
179 
180  typedef signalslot::Signal<void()> PreSourceRun;
181  PreSourceRun preSourceRunSignal_;
182  void watchPreSourceRun(PreSourceRun::slot_type const& iSlot) {
183  preSourceRunSignal_.connect(iSlot);
184  }
186 
187 
188  typedef signalslot::Signal<void()> PostSourceRun;
189  PostSourceRun postSourceRunSignal_;
190  void watchPostSourceRun(PostSourceRun::slot_type const& iSlot) {
191  postSourceRunSignal_.connect_front(iSlot);
192  }
194 
195 
196  typedef signalslot::Signal<void(std::string const&, bool)> PreOpenFile;
197  PreOpenFile preOpenFileSignal_;
198  void watchPreOpenFile(PreOpenFile::slot_type const& iSlot) {
199  preOpenFileSignal_.connect(iSlot);
200  }
202 
203 
204  // Note this is only done for a primary file, not a secondary one.
205  typedef signalslot::Signal<void(std::string const&, bool)> PostOpenFile;
206  PostOpenFile postOpenFileSignal_;
207  void watchPostOpenFile(PostOpenFile::slot_type const& iSlot) {
208  postOpenFileSignal_.connect_front(iSlot);
209  }
211 
212 
213  // First argument is the LFN of the file which is being closed.
214  // Second argument is false if fallback is used; true otherwise.
215  typedef signalslot::Signal<void(std::string const&, bool)> PreCloseFile;
216  PreCloseFile preCloseFileSignal_;
217  void watchPreCloseFile(PreCloseFile::slot_type const& iSlot) {
218  preCloseFileSignal_.connect(iSlot);
219  }
221 
222 
223  typedef signalslot::Signal<void(std::string const&, bool)> PostCloseFile;
224  PostCloseFile postCloseFileSignal_;
225  void watchPostCloseFile(PostCloseFile::slot_type const& iSlot) {
226  postCloseFileSignal_.connect_front(iSlot);
227  }
229 
231  PreModuleBeginStream preModuleBeginStreamSignal_;
232  void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const& iSlot) {
233  preModuleBeginStreamSignal_.connect(iSlot);
234  }
236 
238  PostModuleBeginStream postModuleBeginStreamSignal_;
239  void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const& iSlot) {
240  postModuleBeginStreamSignal_.connect_front(iSlot);
241  }
243 
244  typedef signalslot::Signal<void(StreamContext const&, ModuleCallingContext const&)> PreModuleEndStream;
245  PreModuleEndStream preModuleEndStreamSignal_;
246  void watchPreModuleEndStream(PreModuleEndStream::slot_type const& iSlot) {
247  preModuleEndStreamSignal_.connect(iSlot);
248  }
250 
252  PostModuleEndStream postModuleEndStreamSignal_;
253  void watchPostModuleEndStream(PostModuleEndStream::slot_type const& iSlot) {
254  postModuleEndStreamSignal_.connect_front(iSlot);
255  }
257 
258  typedef signalslot::Signal<void(GlobalContext const&)> PreGlobalBeginRun;
260  PreGlobalBeginRun preGlobalBeginRunSignal_;
261  void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const& iSlot) {
262  preGlobalBeginRunSignal_.connect(iSlot);
263  }
265 
266  typedef signalslot::Signal<void(GlobalContext const&)> PostGlobalBeginRun;
267  PostGlobalBeginRun postGlobalBeginRunSignal_;
268  void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const& iSlot) {
269  postGlobalBeginRunSignal_.connect_front(iSlot);
270  }
272 
273  typedef signalslot::Signal<void(GlobalContext const&)> PreGlobalEndRun;
274  PreGlobalEndRun preGlobalEndRunSignal_;
275  void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const& iSlot) {
276  preGlobalEndRunSignal_.connect(iSlot);
277  }
279 
280  typedef signalslot::Signal<void(GlobalContext const&)> PostGlobalEndRun;
281  PostGlobalEndRun postGlobalEndRunSignal_;
282  void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const& iSlot) {
283  postGlobalEndRunSignal_.connect_front(iSlot);
284  }
286 
287  typedef signalslot::Signal<void(StreamContext const&)> PreStreamBeginRun;
288  PreStreamBeginRun preStreamBeginRunSignal_;
289  void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const& iSlot) {
290  preStreamBeginRunSignal_.connect(iSlot);
291  }
293 
294  typedef signalslot::Signal<void(StreamContext const&)> PostStreamBeginRun;
295  PostStreamBeginRun postStreamBeginRunSignal_;
296  void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const& iSlot) {
297  postStreamBeginRunSignal_.connect_front(iSlot);
298  }
300 
301  typedef signalslot::Signal<void(StreamContext const&)> PreStreamEndRun;
302  PreStreamEndRun preStreamEndRunSignal_;
303  void watchPreStreamEndRun(PreStreamEndRun::slot_type const& iSlot) {
304  preStreamEndRunSignal_.connect(iSlot);
305  }
307 
308  typedef signalslot::Signal<void(StreamContext const&)> PostStreamEndRun;
309  PostStreamEndRun postStreamEndRunSignal_;
310  void watchPostStreamEndRun(PostStreamEndRun::slot_type const& iSlot) {
311  postStreamEndRunSignal_.connect_front(iSlot);
312  }
314 
315  typedef signalslot::Signal<void(GlobalContext const&)> PreGlobalBeginLumi;
316  PreGlobalBeginLumi preGlobalBeginLumiSignal_;
317  void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const& iSlot) {
318  preGlobalBeginLumiSignal_.connect(iSlot);
319  }
321 
322  typedef signalslot::Signal<void(GlobalContext const&)> PostGlobalBeginLumi;
323  PostGlobalBeginLumi postGlobalBeginLumiSignal_;
324  void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const& iSlot) {
325  postGlobalBeginLumiSignal_.connect_front(iSlot);
326  }
328 
329  typedef signalslot::Signal<void(GlobalContext const&)> PreGlobalEndLumi;
330  PreGlobalEndLumi preGlobalEndLumiSignal_;
331  void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const& iSlot) {
332  preGlobalEndLumiSignal_.connect(iSlot);
333  }
335 
336  typedef signalslot::Signal<void(GlobalContext const&)> PostGlobalEndLumi;
337  PostGlobalEndLumi postGlobalEndLumiSignal_;
338  void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const& iSlot) {
339  postGlobalEndLumiSignal_.connect_front(iSlot);
340  }
342 
343  typedef signalslot::Signal<void(StreamContext const&)> PreStreamBeginLumi;
344  PreStreamBeginLumi preStreamBeginLumiSignal_;
345  void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const& iSlot) {
346  preStreamBeginLumiSignal_.connect(iSlot);
347  }
349 
350  typedef signalslot::Signal<void(StreamContext const&)> PostStreamBeginLumi;
351  PostStreamBeginLumi postStreamBeginLumiSignal_;
352  void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const& iSlot) {
353  postStreamBeginLumiSignal_.connect_front(iSlot);
354  }
356 
357  typedef signalslot::Signal<void(StreamContext const&)> PreStreamEndLumi;
358  PreStreamEndLumi preStreamEndLumiSignal_;
359  void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const& iSlot) {
360  preStreamEndLumiSignal_.connect(iSlot);
361  }
363 
364  typedef signalslot::Signal<void(StreamContext const&)> PostStreamEndLumi;
365  PostStreamEndLumi postStreamEndLumiSignal_;
366  void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const& iSlot) {
367  postStreamEndLumiSignal_.connect_front(iSlot);
368  }
370 
371  typedef signalslot::Signal<void(StreamContext const&)> PreEvent;
373  PreEvent preEventSignal_;
374  void watchPreEvent(PreEvent::slot_type const& iSlot) {
375  preEventSignal_.connect(iSlot);
376  }
378 
379  typedef signalslot::Signal<void(StreamContext const&)> PostEvent;
381  PostEvent postEventSignal_;
382  void watchPostEvent(PostEvent::slot_type const& iSlot) {
383  postEventSignal_.connect_front(iSlot);
384  }
386 
387 
388  typedef signalslot::Signal<void(StreamContext const&, PathContext const&)> PrePathEvent;
389  PrePathEvent prePathEventSignal_;
390  void watchPrePathEvent(PrePathEvent::slot_type const& iSlot) {
391  prePathEventSignal_.connect(iSlot);
392  }
394 
395 
396  typedef signalslot::Signal<void(StreamContext const&, PathContext const&, HLTPathStatus const&)> PostPathEvent;
397  PostPathEvent postPathEventSignal_;
398  void watchPostPathEvent(PostPathEvent::slot_type const& iSlot) {
399  postPathEventSignal_.connect_front(iSlot);
400  }
402 
403 
406  PreStreamEarlyTermination preStreamEarlyTerminationSignal_;
407  void watchPreStreamEarlyTermination(PreStreamEarlyTermination::slot_type const& iSlot) {
408  preStreamEarlyTerminationSignal_.connect(iSlot);
409  }
411 
412 
415  PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_;
416  void watchPreGlobalEarlyTermination(PreGlobalEarlyTermination::slot_type const& iSlot) {
417  preGlobalEarlyTerminationSignal_.connect(iSlot);
418  }
420 
421 
422  typedef signalslot::Signal<void(TerminationOrigin)> PreSourceEarlyTermination;
424  PreSourceEarlyTermination preSourceEarlyTerminationSignal_;
425  void watchPreSourceEarlyTermination(PreSourceEarlyTermination::slot_type const& iSlot) {
426  preSourceEarlyTerminationSignal_.connect(iSlot);
427  }
429 
430  // OLD DELETE THIS
431  typedef signalslot::ObsoleteSignal<void(EventID const&, Timestamp const&)> PreProcessEvent;
433  PreProcessEvent preProcessEventSignal_;
434  void watchPreProcessEvent(PreProcessEvent::slot_type const& iSlot) {
435  preProcessEventSignal_.connect(iSlot);
436  }
438 
439  // OLD DELETE THIS
440  typedef signalslot::ObsoleteSignal<void(Event const&, EventSetup const&)> PostProcessEvent;
442  PostProcessEvent postProcessEventSignal_;
443  void watchPostProcessEvent(PostProcessEvent::slot_type const& iSlot) {
444  postProcessEventSignal_.connect_front(iSlot);
445  }
447 
448  // OLD DELETE THIS
449  typedef signalslot::ObsoleteSignal<void(RunID const&, Timestamp const&)> PreBeginRun;
451  PreBeginRun preBeginRunSignal_;
452  void watchPreBeginRun(PreBeginRun::slot_type const& iSlot) {
453  preBeginRunSignal_.connect(iSlot);
454  }
456 
457  // OLD DELETE THIS
458  typedef signalslot::ObsoleteSignal<void(Run const&, EventSetup const&)> PostBeginRun;
460  PostBeginRun postBeginRunSignal_;
461  void watchPostBeginRun(PostBeginRun::slot_type const& iSlot) {
462  postBeginRunSignal_.connect_front(iSlot);
463  }
465 
466  // OLD DELETE THIS
467  typedef signalslot::ObsoleteSignal<void(RunID const&, Timestamp const&)> PreEndRun;
469  PreEndRun preEndRunSignal_;
470  void watchPreEndRun(PreEndRun::slot_type const& iSlot) {
471  preEndRunSignal_.connect(iSlot);
472  }
474 
475  // OLD DELETE THIS
476  typedef signalslot::ObsoleteSignal<void(Run const&, EventSetup const&)> PostEndRun;
478  PostEndRun postEndRunSignal_;
479  void watchPostEndRun(PostEndRun::slot_type const& iSlot) {
480  postEndRunSignal_.connect_front(iSlot);
481  }
483 
484  // OLD DELETE THIS
485  typedef signalslot::ObsoleteSignal<void(LuminosityBlockID const&, Timestamp const&)> PreBeginLumi;
487  PreBeginLumi preBeginLumiSignal_;
488  void watchPreBeginLumi(PreBeginLumi::slot_type const& iSlot) {
489  preBeginLumiSignal_.connect(iSlot);
490  }
492 
493  // OLD DELETE THIS
494  typedef signalslot::ObsoleteSignal<void(LuminosityBlock const&, EventSetup const&)> PostBeginLumi;
496  PostBeginLumi postBeginLumiSignal_;
497  void watchPostBeginLumi(PostBeginLumi::slot_type const& iSlot) {
498  postBeginLumiSignal_.connect_front(iSlot);
499  }
501 
502  // OLD DELETE THIS
503  typedef signalslot::ObsoleteSignal<void(LuminosityBlockID const&, Timestamp const&)> PreEndLumi;
505  PreEndLumi preEndLumiSignal_;
506  void watchPreEndLumi(PreEndLumi::slot_type const& iSlot) {
507  preEndLumiSignal_.connect(iSlot);
508  }
510 
511  // OLD DELETE THIS
512  typedef signalslot::ObsoleteSignal<void(LuminosityBlock const&, EventSetup const&)> PostEndLumi;
514  PostEndLumi postEndLumiSignal_;
515  void watchPostEndLumi(PostEndLumi::slot_type const& iSlot) {
516  postEndLumiSignal_.connect_front(iSlot);
517  }
519 
520  // OLD DELETE THIS
522  typedef signalslot::ObsoleteSignal<void(std::string const&)> PreProcessPath;
523  PreProcessPath preProcessPathSignal_;
524  void watchPreProcessPath(PreProcessPath::slot_type const& iSlot) {
525  preProcessPathSignal_.connect(iSlot);
526  }
528 
529  // OLD DELETE THIS
531  typedef signalslot::ObsoleteSignal<void(std::string const&, HLTPathStatus const&)> PostProcessPath;
532  PostProcessPath postProcessPathSignal_;
533  void watchPostProcessPath(PostProcessPath::slot_type const& iSlot) {
534  postProcessPathSignal_.connect_front(iSlot);
535  }
537 
538  // OLD DELETE THIS
540  typedef signalslot::ObsoleteSignal<void(std::string const&)> PrePathBeginRun;
541  PrePathBeginRun prePathBeginRunSignal_;
542  void watchPrePathBeginRun(PrePathBeginRun::slot_type const& iSlot) {
543  prePathBeginRunSignal_.connect(iSlot);
544  }
546 
547  // OLD DELETE THIS
549  typedef signalslot::ObsoleteSignal<void(std::string const&, HLTPathStatus const&)> PostPathBeginRun;
550  PostPathBeginRun postPathBeginRunSignal_;
551  void watchPostPathBeginRun(PostPathBeginRun::slot_type const& iSlot) {
552  postPathBeginRunSignal_.connect_front(iSlot);
553  }
555 
556  // OLD DELETE THIS
558  typedef signalslot::ObsoleteSignal<void(std::string const&)> PrePathEndRun;
559  PrePathEndRun prePathEndRunSignal_;
560  void watchPrePathEndRun(PrePathEndRun::slot_type const& iSlot) {
561  prePathEndRunSignal_.connect(iSlot);
562  }
564 
565  // OLD DELETE THIS
567  typedef signalslot::ObsoleteSignal<void(std::string const&, HLTPathStatus const&)> PostPathEndRun;
568  PostPathEndRun postPathEndRunSignal_;
569  void watchPostPathEndRun(PostPathEndRun::slot_type const& iSlot) {
570  postPathEndRunSignal_.connect_front(iSlot);
571  }
573 
574  // OLD DELETE THIS
576  typedef signalslot::ObsoleteSignal<void(std::string const&)> PrePathBeginLumi;
577  PrePathBeginLumi prePathBeginLumiSignal_;
578  void watchPrePathBeginLumi(PrePathBeginLumi::slot_type const& iSlot) {
579  prePathBeginLumiSignal_.connect(iSlot);
580  }
582 
583  // OLD DELETE THIS
585  typedef signalslot::ObsoleteSignal<void(std::string const&, HLTPathStatus const&)> PostPathBeginLumi;
586  PostPathBeginLumi postPathBeginLumiSignal_;
587  void watchPostPathBeginLumi(PostPathBeginLumi::slot_type const& iSlot) {
588  postPathBeginLumiSignal_.connect_front(iSlot);
589  }
591 
592  // OLD DELETE THIS
594  typedef signalslot::ObsoleteSignal<void(std::string const&)> PrePathEndLumi;
595  PrePathEndLumi prePathEndLumiSignal_;
596  void watchPrePathEndLumi(PrePathEndLumi::slot_type const& iSlot) {
597  prePathEndLumiSignal_.connect(iSlot);
598  }
600 
601  // OLD DELETE THIS
603  typedef signalslot::ObsoleteSignal<void(std::string const&, HLTPathStatus const&)> PostPathEndLumi;
604  PostPathEndLumi postPathEndLumiSignal_;
605  void watchPostPathEndLumi(PostPathEndLumi::slot_type const& iSlot) {
606  postPathEndLumiSignal_.connect_front(iSlot);
607  }
609 
610  /* Note M:
611  Concerning use of address of module descriptor
612  during functions called before/after module or source construction:
613  Unlike the case in the Run, Lumi, and Event loops,
614  the Module descriptor (often passed by pointer or reference
615  as an argument named desc) in the construction phase is NOT
616  at some permanent fixed address during the construction phase.
617  Therefore, any optimization of caching the module name keying
618  off of address of the descriptor will NOT be valid during
619  such functions. mf / cj 9/11/09
620  */
621 
622 
624  PreModuleConstruction preModuleConstructionSignal_;
625  void watchPreModuleConstruction(PreModuleConstruction::slot_type const& iSlot) {
626  preModuleConstructionSignal_.connect(iSlot);
627  }
628  // WARNING - ModuleDescription is not in fixed place. See note M above.
630 
631 
633  PostModuleConstruction postModuleConstructionSignal_;
634  void watchPostModuleConstruction(PostModuleConstruction::slot_type const& iSlot) {
635  postModuleConstructionSignal_.connect_front(iSlot);
636  }
637  // WARNING - ModuleDescription is not in fixed place. See note M above.
639 
640 
641  typedef signalslot::Signal<void(ModuleDescription const&)> PreModuleBeginJob;
642  PreModuleBeginJob preModuleBeginJobSignal_;
643  void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const& iSlot) {
644  preModuleBeginJobSignal_.connect(iSlot);
645  }
647 
648 
649  typedef signalslot::Signal<void(ModuleDescription const&)> PostModuleBeginJob;
650  PostModuleBeginJob postModuleBeginJobSignal_;
651  void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const& iSlot) {
652  postModuleBeginJobSignal_.connect_front(iSlot);
653  }
655 
656 
657  typedef signalslot::Signal<void(ModuleDescription const&)> PreModuleEndJob;
658  PreModuleEndJob preModuleEndJobSignal_;
659  void watchPreModuleEndJob(PreModuleEndJob::slot_type const& iSlot) {
660  preModuleEndJobSignal_.connect(iSlot);
661  }
663 
664 
665  typedef signalslot::Signal<void(ModuleDescription const&)> PostModuleEndJob;
666  PostModuleEndJob postModuleEndJobSignal_;
667  void watchPostModuleEndJob(PostModuleEndJob::slot_type const& iSlot) {
668  postModuleEndJobSignal_.connect_front(iSlot);
669  }
671 
672 
673  typedef signalslot::Signal<void(StreamContext const&, ModuleCallingContext const&)> PreModuleEvent;
674  PreModuleEvent preModuleEventSignal_;
675  void watchPreModuleEvent(PreModuleEvent::slot_type const& iSlot) {
676  preModuleEventSignal_.connect(iSlot);
677  }
679 
680 
681  typedef signalslot::Signal<void(StreamContext const&, ModuleCallingContext const&)> PostModuleEvent;
682  PostModuleEvent postModuleEventSignal_;
683  void watchPostModuleEvent(PostModuleEvent::slot_type const& iSlot) {
684  postModuleEventSignal_.connect_front(iSlot);
685  }
687 
688 
690  PreModuleEventDelayedGet preModuleEventDelayedGetSignal_;
691  void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const& iSlot) {
692  preModuleEventDelayedGetSignal_.connect(iSlot);
693  }
695 
696 
698  PostModuleEventDelayedGet postModuleEventDelayedGetSignal_;
699  void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const& iSlot) {
700  postModuleEventDelayedGetSignal_.connect_front(iSlot);
701  }
703 
705  PreModuleStreamBeginRun preModuleStreamBeginRunSignal_;
706  void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const& iSlot) {
707  preModuleStreamBeginRunSignal_.connect(iSlot);
708  }
710 
712  PostModuleStreamBeginRun postModuleStreamBeginRunSignal_;
713  void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const& iSlot) {
714  postModuleStreamBeginRunSignal_.connect_front(iSlot);
715  }
717 
719  PreModuleStreamEndRun preModuleStreamEndRunSignal_;
720  void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const& iSlot) {
721  preModuleStreamEndRunSignal_.connect(iSlot);
722  }
724 
726  PostModuleStreamEndRun postModuleStreamEndRunSignal_;
727  void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const& iSlot) {
728  postModuleStreamEndRunSignal_.connect_front(iSlot);
729  }
731 
733  PreModuleStreamBeginLumi preModuleStreamBeginLumiSignal_;
734  void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const& iSlot) {
735  preModuleStreamBeginLumiSignal_.connect(iSlot);
736  }
738 
740  PostModuleStreamBeginLumi postModuleStreamBeginLumiSignal_;
741  void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const& iSlot) {
742  postModuleStreamBeginLumiSignal_.connect_front(iSlot);
743  }
745 
747  PreModuleStreamEndLumi preModuleStreamEndLumiSignal_;
748  void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const& iSlot) {
749  preModuleStreamEndLumiSignal_.connect(iSlot);
750  }
752 
754  PostModuleStreamEndLumi postModuleStreamEndLumiSignal_;
755  void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const& iSlot) {
756  postModuleStreamEndLumiSignal_.connect_front(iSlot);
757  }
759 
761  PreModuleGlobalBeginRun preModuleGlobalBeginRunSignal_;
762  void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const& iSlot) {
763  preModuleGlobalBeginRunSignal_.connect(iSlot);
764  }
766 
768  PostModuleGlobalBeginRun postModuleGlobalBeginRunSignal_;
769  void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const& iSlot) {
770  postModuleGlobalBeginRunSignal_.connect_front(iSlot);
771  }
773 
775  PreModuleGlobalEndRun preModuleGlobalEndRunSignal_;
776  void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const& iSlot) {
777  preModuleGlobalEndRunSignal_.connect(iSlot);
778  }
780 
782  PostModuleGlobalEndRun postModuleGlobalEndRunSignal_;
783  void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const& iSlot) {
784  postModuleGlobalEndRunSignal_.connect_front(iSlot);
785  }
787 
789  PreModuleGlobalBeginLumi preModuleGlobalBeginLumiSignal_;
790  void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const& iSlot) {
791  preModuleGlobalBeginLumiSignal_.connect(iSlot);
792  }
794 
796  PostModuleGlobalBeginLumi postModuleGlobalBeginLumiSignal_;
797  void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const& iSlot) {
798  postModuleGlobalBeginLumiSignal_.connect_front(iSlot);
799  }
801 
803  PreModuleGlobalEndLumi preModuleGlobalEndLumiSignal_;
804  void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const& iSlot) {
805  preModuleGlobalEndLumiSignal_.connect(iSlot);
806  }
808 
810  PostModuleGlobalEndLumi postModuleGlobalEndLumiSignal_;
811  void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const& iSlot) {
812  postModuleGlobalEndLumiSignal_.connect_front(iSlot);
813  }
815 
816  // OLD DELETE THIS
818  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PreModule;
819  PreModule preModuleSignal_;
820  void watchPreModule(PreModule::slot_type const& iSlot) {
821  preModuleSignal_.connect(iSlot);
822  }
824 
825  // OLD DELETE THIS
827  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PostModule;
828  PostModule postModuleSignal_;
829  void watchPostModule(PostModule::slot_type const& iSlot) {
830  postModuleSignal_.connect_front(iSlot);
831  }
833 
834  // OLD DELETE THIS
836  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PreModuleBeginRun;
837  PreModuleBeginRun preModuleBeginRunSignal_;
838  void watchPreModuleBeginRun(PreModuleBeginRun::slot_type const& iSlot) {
839  preModuleBeginRunSignal_.connect(iSlot);
840  }
842 
843  // OLD DELETE THIS
845  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PostModuleBeginRun;
846  PostModuleBeginRun postModuleBeginRunSignal_;
847  void watchPostModuleBeginRun(PostModuleBeginRun::slot_type const& iSlot) {
848  postModuleBeginRunSignal_.connect_front(iSlot);
849 
850  }
852 
853  // OLD DELETE THIS
855  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PreModuleEndRun;
856  PreModuleEndRun preModuleEndRunSignal_;
857  void watchPreModuleEndRun(PreModuleEndRun::slot_type const& iSlot) {
858  preModuleEndRunSignal_.connect(iSlot);
859  }
861 
862  // OLD DELETE THIS
864  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PostModuleEndRun;
865  PostModuleEndRun postModuleEndRunSignal_;
866  void watchPostModuleEndRun(PostModuleEndRun::slot_type const& iSlot) {
867  postModuleEndRunSignal_.connect_front(iSlot);
868  }
870 
871  // OLD DELETE THIS
873  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PreModuleBeginLumi;
874  PreModuleBeginLumi preModuleBeginLumiSignal_;
875  void watchPreModuleBeginLumi(PreModuleBeginLumi::slot_type const& iSlot) {
876  preModuleBeginLumiSignal_.connect(iSlot);
877  }
879 
880  // OLD DELETE THIS
882  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PostModuleBeginLumi;
883  PostModuleBeginLumi postModuleBeginLumiSignal_;
884  void watchPostModuleBeginLumi(PostModuleBeginLumi::slot_type const& iSlot) {
885  postModuleBeginLumiSignal_.connect_front(iSlot);
886  }
888 
889  // OLD DELETE THIS
891  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PreModuleEndLumi;
892  PreModuleEndLumi preModuleEndLumiSignal_;
893  void watchPreModuleEndLumi(PreModuleEndLumi::slot_type const& iSlot) {
894  preModuleEndLumiSignal_.connect(iSlot);
895  }
897 
898  // OLD DELETE THIS
900  typedef signalslot::ObsoleteSignal<void(ModuleDescription const&)> PostModuleEndLumi;
901  PostModuleEndLumi postModuleEndLumiSignal_;
902  void watchPostModuleEndLumi(PostModuleEndLumi::slot_type const& iSlot) {
903  postModuleEndLumiSignal_.connect_front(iSlot);
904  }
906 
907 
909  PreSourceConstruction preSourceConstructionSignal_;
910  void watchPreSourceConstruction(PreSourceConstruction::slot_type const& iSlot) {
911  preSourceConstructionSignal_.connect(iSlot);
912  }
913  // WARNING - ModuleDescription is not in fixed place. See note M above.
915 
916 
918  PostSourceConstruction postSourceConstructionSignal_;
919  void watchPostSourceConstruction(PostSourceConstruction::slot_type const& iSlot) {
920  postSourceConstructionSignal_.connect_front(iSlot);
921  }
922  // WARNING - ModuleDescription is not in fixed place. See note M above.
924 
925 
926  typedef signalslot::Signal<void()> PreForkReleaseResources;
927  PreForkReleaseResources preForkReleaseResourcesSignal_;
928  void watchPreForkReleaseResources(PreForkReleaseResources::slot_type const& iSlot) {
929  preForkReleaseResourcesSignal_.connect_front(iSlot);
930  }
932 
933 
934  typedef signalslot::Signal<void(unsigned int, unsigned int)> PostForkReacquireResources;
935  PostForkReacquireResources postForkReacquireResourcesSignal_;
936  void watchPostForkReacquireResources(PostForkReacquireResources::slot_type const& iSlot) {
937  postForkReacquireResourcesSignal_.connect_front(iSlot);
938  }
940 
941  // ---------- member functions ---------------------------
942 
943 
944  void connect(ActivityRegistry& iOther);
945 
949 
955  void copySlotsFrom(ActivityRegistry& iOther);
956 
957  private:
958  // forwards subprocess independent signals to slots connected to iOther
959  void connectGlobals(ActivityRegistry& iOther);
960 
961  // forwards subprocess dependent signals to slots connected to iOther
962  void connectLocals(ActivityRegistry& iOther);
963  };
964 }
965 #undef AR_WATCH_USING_METHOD
966 #endif
void watchPostBeginRun(PostBeginRun::slot_type const &iSlot)
void watchPrePathEndLumi(PrePathEndLumi::slot_type const &iSlot)
PreModuleStreamBeginRun preModuleStreamBeginRunSignal_
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
PostSourceLumi postSourceLumiSignal_
void connectLocals(ActivityRegistry &iOther)
void watchPreStreamEarlyTermination(PreStreamEarlyTermination::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
PreStreamBeginRun preStreamBeginRunSignal_
PreModuleBeginLumi preModuleBeginLumiSignal_
void watchPreEvent(PreEvent::slot_type const &iSlot)
PreBeginLumi preBeginLumiSignal_
signal is emitted after the Lumi has been created by the InputSource but before any modules have seen...
PostModuleEventDelayedGet postModuleEventDelayedGetSignal_
PostModuleStreamEndRun postModuleStreamEndRunSignal_
PreModuleEventDelayedGet preModuleEventDelayedGetSignal_
PreEndRun preEndRunSignal_
signal is emitted before the endRun is processed
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void watchPreallocate(Preallocate::slot_type const &iSlot)
PrePathEvent prePathEventSignal_
PostModuleGlobalBeginRun postModuleGlobalBeginRunSignal_
PostModuleBeginStream postModuleBeginStreamSignal_
PreGlobalBeginRun preGlobalBeginRunSignal_
signal is emitted after the Run has been created by the InputSource but before any modules have seen ...
void watchPostModuleBeginLumi(PostModuleBeginLumi::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
PreSourceRun preSourceRunSignal_
PostModuleEvent postModuleEventSignal_
void watchPrePathEndRun(PrePathEndRun::slot_type const &iSlot)
void throwObsoleteSignalException()
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
PostOpenFile postOpenFileSignal_
signalslot::Signal< void(service::SystemBounds const &)> Preallocate
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
PreGlobalEndRun preGlobalEndRunSignal_
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
PostEvent postEventSignal_
signal is emitted after all modules have finished processing the Event
PreModuleEndRun preModuleEndRunSignal_
void watchPreForkReleaseResources(PreForkReleaseResources::slot_type const &iSlot)
PostStreamEndLumi postStreamEndLumiSignal_
PostModuleEndRun postModuleEndRunSignal_
void watchPostEvent(PostEvent::slot_type const &iSlot)
void watchPostModule(PostModule::slot_type const &iSlot)
void connect_front(U iFunc)
Definition: Signal.h:68
PostModuleEndLumi postModuleEndLumiSignal_
PostGlobalBeginRun postGlobalBeginRunSignal_
void watchPreProcessEvent(PreProcessEvent::slot_type const &iSlot)
void connectGlobals(ActivityRegistry &iOther)
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void watchPreEndLumi(PreEndLumi::slot_type const &iSlot)
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void watchPostPathEndRun(PostPathEndRun::slot_type const &iSlot)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
PreModuleBeginStream preModuleBeginStreamSignal_
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void copySlotsFrom(ActivityRegistry &iOther)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
PreEndLumi preEndLumiSignal_
signal is emitted before the endLumi is processed
void watchPostEndLumi(PostEndLumi::slot_type const &iSlot)
PostModuleStreamBeginLumi postModuleStreamBeginLumiSignal_
PostSourceRun postSourceRunSignal_
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
PostSourceConstruction postSourceConstructionSignal_
PostBeginRun postBeginRunSignal_
signal is emitted after all modules have finished processing the beginRun
void watchPreModuleEndLumi(PreModuleEndLumi::slot_type const &iSlot)
PreSourceConstruction preSourceConstructionSignal_
ActivityRegistry & operator=(ActivityRegistry const &)=delete
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
PostPathEndRun postPathEndRunSignal_
void watchPostPathEndLumi(PostPathEndLumi::slot_type const &iSlot)
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
PostPathBeginRun postPathBeginRunSignal_
void watchPreSourceEarlyTermination(PreSourceEarlyTermination::slot_type const &iSlot)
PreForkReleaseResources preForkReleaseResourcesSignal_
void watchPreEndRun(PreEndRun::slot_type const &iSlot)
void watchPreModule(PreModule::slot_type const &iSlot)
PreModuleStreamEndLumi preModuleStreamEndLumiSignal_
void watchJobFailure(JobFailure::slot_type const &iSlot)
convenience function for attaching to signal
PostGlobalEndLumi postGlobalEndLumiSignal_
Preallocate preallocateSignal_
signal is emitted before beginJob
PreGlobalBeginLumi preGlobalBeginLumiSignal_
PreModuleBeginRun preModuleBeginRunSignal_
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void watchPostProcessEvent(PostProcessEvent::slot_type const &iSlot)
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void watchPreModuleEndRun(PreModuleEndRun::slot_type const &iSlot)
PostForkReacquireResources postForkReacquireResourcesSignal_
PrePathBeginLumi prePathBeginLumiSignal_
void watchPrePathBeginRun(PrePathBeginRun::slot_type const &iSlot)
PreStreamEarlyTermination preStreamEarlyTerminationSignal_
PreSourceEarlyTermination preSourceEarlyTerminationSignal_
PrePathEndRun prePathEndRunSignal_
PostModuleGlobalEndRun postModuleGlobalEndRunSignal_
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
PostModuleGlobalEndLumi postModuleGlobalEndLumiSignal_
void watchPreGlobalEarlyTermination(PreGlobalEarlyTermination::slot_type const &iSlot)
PreModuleStreamEndRun preModuleStreamEndRunSignal_
PostPathEndLumi postPathEndLumiSignal_
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
PostProcessEvent postProcessEventSignal_
signal is emitted after all modules have finished processing the Event
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
PostStreamEndRun postStreamEndRunSignal_
void watchPostModuleEndRun(PostModuleEndRun::slot_type const &iSlot)
PreStreamEndRun preStreamEndRunSignal_
PreModuleConstruction preModuleConstructionSignal_
PostModuleEndStream postModuleEndStreamSignal_
PostEndRun postEndRunSignal_
signal is emitted after all modules have finished processing the Run
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
PreGlobalEndLumi preGlobalEndLumiSignal_
std::function< void(service::SystemBounds const &) > slot_type
Definition: Signal.h:39
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
PostSourceEvent postSourceSignal_
void watchPostBeginLumi(PostBeginLumi::slot_type const &iSlot)
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void watchPrePathBeginLumi(PrePathBeginLumi::slot_type const &iSlot)
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
#define AR_WATCH_USING_METHOD_1(method)
PreCloseFile preCloseFileSignal_
PostModuleBeginLumi postModuleBeginLumiSignal_
PostEndLumi postEndLumiSignal_
signal is emitted after all modules have finished processing the Lumi
void watchPostModuleBeginRun(PostModuleBeginRun::slot_type const &iSlot)
PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
PreStreamBeginLumi preStreamBeginLumiSignal_
void watchPostPathBeginRun(PostPathBeginRun::slot_type const &iSlot)
PreModuleStreamBeginLumi preModuleStreamBeginLumiSignal_
PostStreamBeginRun postStreamBeginRunSignal_
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
PreModuleGlobalBeginRun preModuleGlobalBeginRunSignal_
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
PostCloseFile postCloseFileSignal_
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
#define AR_WATCH_USING_METHOD_0(method)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
PostModuleEndJob postModuleEndJobSignal_
PostModuleBeginJob postModuleBeginJobSignal_
PreModuleGlobalBeginLumi preModuleGlobalBeginLumiSignal_
void connectToSubProcess(ActivityRegistry &iOther)
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
PreSourceLumi preSourceLumiSignal_
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
PostModuleBeginRun postModuleBeginRunSignal_
PrePathEndLumi prePathEndLumiSignal_
string const
Definition: compareJSON.py:14
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
PreModuleGlobalEndLumi preModuleGlobalEndLumiSignal_
PreProcessPath preProcessPathSignal_
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
PostGlobalEndRun postGlobalEndRunSignal_
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
PreProcessEvent preProcessEventSignal_
signal is emitted after the Event has been created by the InputSource but before any modules have see...
void watchPreEndJob(PreEndJob::slot_type const &iSlot)
PreModuleEvent preModuleEventSignal_
#define private
Definition: FWFileEntry.h:17
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void watchPostForkReacquireResources(PostForkReacquireResources::slot_type const &iSlot)
PostGlobalBeginLumi postGlobalBeginLumiSignal_
PreOpenFile preOpenFileSignal_
PreModuleEndLumi preModuleEndLumiSignal_
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
PostEndJob postEndJobSignal_
signal is emitted after all modules have gotten their endJob called
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
PreModuleBeginJob preModuleBeginJobSignal_
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
PreSourceEvent preSourceSignal_
PreBeginJob preBeginJobSignal_
signal is emitted before all modules have gotten their beginJob called
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
PreModuleEndStream preModuleEndStreamSignal_
void watchPreBeginLumi(PreBeginLumi::slot_type const &iSlot)
PostPathEvent postPathEventSignal_
PostStreamBeginLumi postStreamBeginLumiSignal_
PreStreamEndLumi preStreamEndLumiSignal_
PostModuleStreamEndLumi postModuleStreamEndLumiSignal_
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void watchPostEndRun(PostEndRun::slot_type const &iSlot)
PreModuleGlobalEndRun preModuleGlobalEndRunSignal_
void watchPreModuleBeginLumi(PreModuleBeginLumi::slot_type const &iSlot)
PreEvent preEventSignal_
signal is emitted after the Event has been created by the InputSource but before any modules have see...
PostModuleStreamBeginRun postModuleStreamBeginRunSignal_
PostBeginJob postBeginJobSignal_
signal is emitted after all modules have gotten their beginJob called
PreModuleEndJob preModuleEndJobSignal_
#define AR_WATCH_USING_METHOD_3(method)
#define AR_WATCH_USING_METHOD_2(method)
void watchPreProcessPath(PreProcessPath::slot_type const &iSlot)
PrePathBeginRun prePathBeginRunSignal_
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void connect(U iFunc)
Definition: Signal.h:63
void watchPreModuleBeginRun(PreModuleBeginRun::slot_type const &iSlot)
PostPathBeginLumi postPathBeginLumiSignal_
void watchPostModuleEndLumi(PostModuleEndLumi::slot_type const &iSlot)
void watchPostPathBeginLumi(PostPathBeginLumi::slot_type const &iSlot)
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void watchPostProcessPath(PostProcessPath::slot_type const &iSlot)
Definition: Run.h:41
PostModuleGlobalBeginLumi postModuleGlobalBeginLumiSignal_
PostProcessPath postProcessPathSignal_
PreBeginRun preBeginRunSignal_
signal is emitted after the Run has been created by the InputSource but before any modules have seen ...
void watchPreBeginRun(PreBeginRun::slot_type const &iSlot)
PostBeginLumi postBeginLumiSignal_
signal is emitted after all modules have finished processing the beginLumi
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
Definition: vlib.h:39
void connect(ActivityRegistry &iOther)
forwards our signals to slots connected to iOther
PreEndJob preEndJobSignal_
signal is emitted before any modules have gotten their endJob called
PostModuleConstruction postModuleConstructionSignal_