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& ,
40 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
43 virtual void read(std::string& ,
48 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
51 virtual void read(std::string& ,
56 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
60 virtual std::string write(
char* ,
char* )
63 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
66 virtual void write(std::string& ,
72 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
76 virtual void setDataDestination(std::string& ,
82 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
85 virtual void write(std::string& ,
91 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
94 virtual void write(std::string& ,
100 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
103 virtual void waitSet(std::string& ,
110 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
113 virtual void waitClear(std::string& ,
120 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
123 virtual unsigned int getNumberOfBufferedCommands(std::string& )
126 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
136 __THROW__(ss.str() +
"Illegal call to undefined base class member function");
virtual std::string read(char *)
virtual uint32_t createRegisterFromValue(std::string &, std::string &)
FrontEndFirmwareBase(unsigned int version=-1)
const unsigned int version_