openMSX
DummyPrinterPortDevice.hh
Go to the documentation of this file.
1 #ifndef DUMMYPRINTERPORTDEVICE_HH
2 #define DUMMYPRINTERPORTDEVICE_HH
3 
4 #include "PrinterPortDevice.hh"
5 
6 namespace openmsx {
7 
9 {
10 public:
11  bool getStatus(EmuTime::param time) override;
12  void setStrobe(bool strobe, EmuTime::param time) override;
13  void writeData(byte data, EmuTime::param time) override;
14  string_ref getDescription() const override;
15  void plugHelper(Connector& connector, EmuTime::param time) override;
16  void unplugHelper(EmuTime::param time) override;
17 };
18 
19 } // namespace openmsx
20 
21 #endif
Represents something you can plug devices into.
Definition: Connector.hh:21
unsigned char byte
8 bit unsigned integer
Definition: openmsx.hh:33
This class implements a subset of the proposal for std::string_ref (proposed for the next c++ standar...
Definition: string_ref.hh:18
void plugHelper(Connector &connector, EmuTime::param time) override
void unplugHelper(EmuTime::param time) override
void writeData(byte data, EmuTime::param time) override
Sets the data signals.
bool getStatus(EmuTime::param time) override
Returns the STATUS signal: false = low = ready, true = high = not ready.
uint8_t * data()
void setStrobe(bool strobe, EmuTime::param time) override
Sets the strobe signal: false = low, true = high.
string_ref getDescription() const override
Description for this pluggable.