added to aas3

This commit is contained in:
zanostro 2025-12-21 17:23:05 +01:00
parent 527d2e7346
commit 9ac28aa798
48 changed files with 7134 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#ifndef OUTPUT_DEVICE_H
#define OUTPUT_DEVICE_H
#include "device.h"
#include <ostream>
class OutputDevice : public Device {
public:
explicit OutputDevice(std::ostream &out);
~OutputDevice();
void write(unsigned char value) override;
private:
std::ostream &outStream;
};
#endif // OUTPUT_DEVICE_H