12 lines
199 B
C++
12 lines
199 B
C++
#include <cstdint>
|
|
#include <string>
|
|
|
|
class Device {
|
|
public:
|
|
virtual ~Device()=default;
|
|
virtual void write(uint8_t val);
|
|
virtual uint8_t read();
|
|
virtual bool test();
|
|
private:
|
|
|
|
};
|