DummyBreakModule.cc
Go to the documentation of this file.
1 #include <DummyBreakModule.h>
2 #include <iostream>
3 
4 using namespace std;
5 using namespace fwk;
6 
7 
9 
10 
12 {
13 }
14 
15 
17 {
18 }
19 
20 
23 {
24  cout << "DummyBreakModule: Init " << endl;
25  return VModule::eSuccess;
26 }
27 
28 
31 {
32  cout << "DummyBreakModule: Run. break-counter = " << fCounter << " (will count to 5) " << endl;
33  if (fCounter >= 5)
34  return VModule::eBreakLoop;
35  else
36  ++fCounter;
37  return VModule::eSuccess;
38 }
39 
40 
43 {
44  cout << "DummyBreakModule: Finish " << endl;
45  return VModule::eSuccess;
46 }
virtual ~DummyBreakModule()
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)

, generated on Tue Sep 26 2023.