otsdaq_demo  v2_05_02_indev
FEOtsEthernetProgramInterface.h
1 #ifndef _ots_FEOtsEthernetProgramInterface_h_
2 #define _ots_FEOtsEthernetProgramInterface_h_
3 
4 #include "otsdaq-components/FEInterfaces/FEOtsUDPTemplateInterface.h"
5 
6 //#include "otsdaq/FECore/FEVInterface.h"
7 //#include "otsdaq-components/DAQHardware/OtsUDPHardware.h"
8 //#include "otsdaq-components/DAQHardware/OtsUDPFirmwareDataGen.h"
9 //#include "otsdaq-demo/FEInterfaces/FEOtsUDPTemplateInterface.h"
10 
11 #include <string>
12 
13 namespace ots
14 {
16  : public FEOtsUDPTemplateInterface // public FEVInterface, public OtsUDPHardware,
17  // public OtsUDPFirmwareDataGen
18 {
19  public:
20  // FEOtsEthernetProgramInterface (unsigned int name=0, std::string
21  // daqHardwareType="daqHardwareType", std::string firmwareType="firmwareType", const
22  // FEInterfaceTableBase* configuration=0);
23  FEOtsEthernetProgramInterface(const std::string& interfaceUID,
24  const ConfigurationTree& theXDAQContextConfigTree,
25  const std::string& interfaceConfigurationPath);
26  virtual ~FEOtsEthernetProgramInterface(void);
27 
28  void configure(void) override;
29  // void halt (void) override;
30  // void pause (void) override;
31  // void resume (void) override;
32  // void start (std::string runNumber) override;
33  // void stop (void) override;
34  // bool running (void) override;
35 
36  void getListOfProgramFiles(__ARGS__);
37  void loadProgramFile(__ARGS__);
38 
40  // inherits these from Template interface
41  //
42  // virtual int universalRead (char* address, char* readValue) override;
43  // virtual void universalWrite (char* address, char* writeValue) override;
44  // private:
45  // void runSequenceOfCommands(const std::string &treeLinkName);
46 };
47 }
48 
49 #endif