SuperModule.h
Go to the documentation of this file.
1 #ifndef _SuperModule_h_
2 #define _SuperModule_h_
3 
4 #include <fwk/VModule.h>
5 #include <evt/Event.h>
6 
7 namespace SuperModuleNS{ // you should assign your module to a namespace
8 
30  class SuperModule : public fwk::VModule{
31 
32  public:
33 
34  SuperModule();
35  virtual ~SuperModule();
36 
40 
41 
42  private :
43 
44  REGISTER_MODULE("SuperModule",SuperModule) ;
45  };
46 
47 } // SuperModuleNS namespace
48 
49 #endif
50 
51 // Configure (x)emacs for this file ...
52 // Local Variables:
53 // mode:c++
54 // compile-command: "make -k"
55 // End:
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Definition: SuperModule.cc:51
REGISTER_MODULE("SuperModule", SuperModule)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Definition: SuperModule.cc:38
Example of calling modules from within another module.
Definition: SuperModule.h:30
Module interface.
Definition: VModule.h:53
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)
Definition: SuperModule.cc:25

, generated on Tue Sep 26 2023.