otsdaq_demo  v2_05_02_indev
myNewInterface.h
1 #ifndef _ots_myNewInterface_h_
2 #define _ots_myNewInterface_h_
3 
4 #include "otsdaq-components/FEInterfaces/FEOtsUDPTemplateInterface.h"
5 
6 #include <string>
7 
8 namespace ots
9 {
10 class myNewInterface : public FEOtsUDPTemplateInterface
11 {
12  public:
13  // myNewInterface (unsigned int name=0, std::string
14  // daqHardwareType="daqHardwareType", std::string firmwareType="firmwareType", const
15  // FEInterfaceTableBase* configuration=0);
16  myNewInterface(const std::string& interfaceUID,
17  const ConfigurationTree& theXDAQContextConfigTree,
18  const std::string& interfaceConfigurationPath);
19  virtual ~myNewInterface(void);
20 
21  void configure(void);
22  void halt(void);
23  void pause(void);
24  void resume(void);
25  void start(std::string runNumber) override;
26  void stop(void);
27  bool running(void);
28 
29  int universalRead(char* address, char* readValue) override;
30  void universalWrite(char* address, char* writeValue) override;
31 
32  // void configureFEW (void);
33  // void configureDetector (const DACStream& theDACStream);
34 
35  void testFunction(frontEndMacroInArgs_t argsIn, frontEndMacroOutArgs_t argsOut);
36 
37  private:
38 };
39 }
40 
41 #endif