DummyCounterModule.h
Go to the documentation of this file.
1 #ifndef _DummyCounterModule_
2 #define _DummyCounterModule_
3 
4 
5 #include <fwk/VModule.h>
6 
7 using namespace fwk;
8 
19 
21 {
22 public:
24  virtual ~DummyCounterModule();
25 
27  VModule::ResultFlag Run(evt::Event& event);
28  VModule::ResultFlag Finish();
29 
30  private:
31  static int fCounter;
32 
33  protected:
34  static void ResetCounter() { fCounter = 0; };
35  static int GetCounter() { return fCounter; }
36 
39 
40  REGISTER_MODULE("DummyCounterModule", DummyCounterModule);
41 
42 };
43 
44 
45 
46 #endif
module for RunController unit testing
void Init()
Initialise the registry.
module for RunController unit testing
Module interface.
Definition: VModule.h:53
#define REGISTER_MODULE(_moduleName_, _ModuleType_)
Definition: VModule.h:145
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
module for RunController unit testing
static void ResetCounter()

, generated on Tue Sep 26 2023.