1 #ifndef _ots_FrontEndFirmwareBase_h_
2 #define _ots_FrontEndFirmwareBase_h_
7 #include "otsdaq/Macros/CoutMacros.h"
8 #include "otsdaq/MessageFacility/MessageFacility.h"
20 virtual void init(
void) { ; }
22 unsigned int getVersion() {
return version_; }
29 virtual std::string read(
char* )
32 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
35 virtual void read(std::string& ,
char* ,
bool =
true)
38 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
41 virtual void read(std::string& , uint64_t ,
bool =
true)
44 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
47 virtual void read(std::string& , uint32_t ,
bool =
true)
50 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
54 virtual std::string write(
char* ,
char* )
57 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
60 virtual void write(std::string& ,
66 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
70 virtual void setDataDestination(std::string& ,
76 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
79 virtual void write(std::string& ,
85 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
88 virtual void write(std::string& ,
94 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
97 virtual void waitSet(std::string& ,
104 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
107 virtual void waitClear(std::string& ,
114 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
117 virtual unsigned int getNumberOfBufferedCommands(std::string& )
120 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
126 virtual uint32_t createRegisterFromValue(std::string& ,
130 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
183 const unsigned int version_;