1 #include "otsdaq/DetectorWriter/FrontEndInterfaceTemplate.h"
3 #include "otsdaq/DAQHardware/FrontEndFirmwareTemplate.h"
4 #include "otsdaq/DAQHardware/FrontEndHardwareTemplate.h"
9 #define __MF_SUBJECT__ "FrontEndInterfaceTemplate"
12 FrontEndInterfaceTemplate::FrontEndInterfaceTemplate(std::string name)
13 : FrontEndVirtualInterface(name)
15 theFrontEndHardware_ =
new FrontEndHardwareTemplate();
16 theFrontEndFirmware_ =
new FrontEndFirmwareTemplate();
17 universalAddressSize_ = 4;
18 universalDataSize_ = 4;
20 __COUT__ <<
"FrontEndInterfaceTemplate instantiated with name: " << name << std::endl;
24 FrontEndInterfaceTemplate::~FrontEndInterfaceTemplate(
void)
26 delete theFrontEndHardware_;
27 delete theFrontEndFirmware_;
31 void FrontEndInterfaceTemplate::configure(
void) {}
34 void FrontEndInterfaceTemplate::halt(
void) {}
37 void FrontEndInterfaceTemplate::pause(
void) {}
40 void FrontEndInterfaceTemplate::resume(
void) {}
43 void FrontEndInterfaceTemplate::start(std::string)
48 void FrontEndInterfaceTemplate::stop(
void) {}
51 bool FrontEndInterfaceTemplate::running(
void)
53 while(WorkLoop::continueWorkLoop_)
67 int FrontEndInterfaceTemplate::universalRead(
char* address,
char* returnValue)
79 void FrontEndInterfaceTemplate::universalWrite(
char* address,
char* writeValue)