1#ifndef PRINTERPORTDEVICE_HH
2#define PRINTERPORTDEVICE_HH
17 [[nodiscard]]
virtual bool getStatus(EmuTime::param time) = 0;
25 virtual void setStrobe(
bool strobe, EmuTime::param time) = 0;
33 virtual void writeData(uint8_t data, EmuTime::param time) = 0;
36 [[nodiscard]] std::string_view
getClass() const final;
std::string_view getClass() const final
A pluggable belongs to a certain class.
virtual bool getStatus(EmuTime::param time)=0
Returns the STATUS signal: false = low = ready, true = high = not ready.
virtual void writeData(uint8_t data, EmuTime::param time)=0
Sets the data signals.
virtual void setStrobe(bool strobe, EmuTime::param time)=0
Sets the strobe signal: false = low, true = high.
This file implemented 3 utility functions: