$treeview $search $mathjax $extrastylesheet
otsdaq_components
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 #ifndef _ots_FEOtsUDPProducerTemplateInterface_h_ 00002 #define _ots_FEOtsUDPProducerTemplateInterface_h_ 00003 00004 //#include "otsdaq-core/FECore/FEVInterface.h" 00005 #include "otsdaq-components/DAQHardware/OtsUDPFirmwareDataGen.h" 00006 #include "otsdaq-components/DAQHardware/OtsUDPHardware.h" 00007 #include "otsdaq-core/DataManager/DataProducer.h" 00008 #include "otsdaq-core/FECore/FEProducerVInterface.h" 00009 00010 #include <string> 00011 00012 namespace ots 00013 { 00014 // public virtual inheritance only inherits the base class WorkLoop (and others) members 00015 // once) 00016 class FEOtsUDPProducerTemplateInterface 00017 : // public FEVInterface, public OtsUDPHardware, public OtsUDPFirmwareDataGen 00018 public FEProducerVInterface, 00019 public OtsUDPHardware, 00020 public OtsUDPFirmwareDataGen 00021 { 00022 public: 00023 FEOtsUDPProducerTemplateInterface(const std::string& interfaceUID, 00024 const ConfigurationTree& theXDAQContextConfigTree, 00025 const std::string& interfaceConfigurationPath); 00026 virtual ~FEOtsUDPProducerTemplateInterface(void); 00027 00028 void configure(void) override; 00029 void halt(void) override; 00030 void pause(void) override; 00031 void resume(void) override; 00032 void start(std::string runNumber) override; 00033 void stop(void) override; 00034 bool running(void) override; 00035 00036 virtual void universalRead(char* address, char* readValue) override; 00037 virtual void universalWrite(char* address, char* writeValue) override; 00038 00039 private: 00040 public: // FEMacro 'varTest' generated, Oct-11-2018 11:36:28, by 'admin' using 00041 // MacroMaker. 00042 void varTest(__ARGS__); 00043 00044 public: // FEMacro 'varTest2' generated, Oct-11-2018 02:28:57, by 'admin' using 00045 // MacroMaker. 00046 void varTest2(__ARGS__); 00047 }; 00048 } 00049 00050 #endif