SdStationChecker.h
Go to the documentation of this file.
1 #ifndef _SdStationCheckerOG_SdStationChecker_h_
2 #define _SdStationCheckerOG_SdStationChecker_h_
3 
4 #include <fwk/VModule.h>
5 #include <sevt/Station.h>
6 
7 
8 namespace SdStationCheckerOG {
9 
30  class SdStationChecker : public fwk::VModule {
31 
32  public:
33  fwk::VModule::ResultFlag Init() override { return eSuccess; }
34  fwk::VModule::ResultFlag Run(evt::Event& event) override;
35  fwk::VModule::ResultFlag Finish() override { return eSuccess; }
36 
37  private:
38  // calculate corrected nanosecond from raw GPS parameter
39  void ApplyTimeCorrection(sevt::Station& station);
40 
42 
43  REGISTER_MODULE("SdStationCheckerOG", SdStationChecker);
44 
45  };
46 
47 }
48 
49 
50 #endif
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
Report success to RunController.
Definition: VModule.h:62
Time interval defined by two TimeStamps.
Definition: TimeRange.h:23
A TimeStamp holds GPS second and nanosecond for some event.
Definition: TimeStamp.h:110
class to hold data at Station level
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
void ApplyTimeCorrection(sevt::Station &station)
REGISTER_MODULE("SdStationCheckerOG", SdStationChecker)

, generated on Tue Sep 26 2023.