otsdaq_components  v2_02_00
FEOtsUDPTemplateInterface.h
1 #ifndef _ots_FEOtsUDPTemplateInterface_h_
2 #define _ots_FEOtsUDPTemplateInterface_h_
3 
4 #include "otsdaq-components/DAQHardware/OtsUDPHardware.h"
5 #include "otsdaq-components/DAQHardware/OtsUDPFirmwareDataGen.h"
6 
7 #include <string>
8 #include "otsdaq-core/FECore/FEVInterface.h"
9 
10 namespace ots
11 {
12 
13 class FEOtsUDPTemplateInterface : public FEVInterface, public OtsUDPHardware, public OtsUDPFirmwareDataGen
14 {
15 
16 public:
17  FEOtsUDPTemplateInterface (const std::string& interfaceUID, const ConfigurationTree& theXDAQContextConfigTree, const std::string& interfaceConfigurationPath);
18  virtual ~FEOtsUDPTemplateInterface (void);
19 
20  void configure (void) override;
21  void halt (void) override;
22  void pause (void) override;
23  void resume (void) override;
24  void start (std::string runNumber) override;
25  void stop (void) override;
26  bool running (void) override;
27 
28  virtual void universalRead (char* address, char* readValue) override;
29  virtual void universalWrite (char* address, char* writeValue) override;
30 
31 private:
32 
33 
34 public: // FEMacro 'varTest' generated, Oct-11-2018 11:36:28, by 'admin' using MacroMaker.
35  void varTest (__ARGS__);
36 
37 public: // FEMacro 'varTest2' generated, Oct-11-2018 02:28:57, by 'admin' using MacroMaker.
38  void varTest2 (__ARGS__);
39 };
40 
41 }
42 
43 #endif