7 #ifndef BASICDEVICE_HPP 8 #define BASICDEVICE_HPP 10 #include "../BasicDatatypes.hpp" 29 virtual bool init() {
return true;};
32 virtual bool run() = 0;
33 virtual bool stop() = 0;
void setDeviceName(std::string name)
void setSourceId(UINT16 deviceId)
void setDevicetype(UINT16 devicetype)
std::string getDeviceName()