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  [[nodiscard]] 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  [[nodiscard]] std::string_view 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
void plugHelper(Connector &connector, EmuTime::param time) override
void setStrobe(bool strobe, EmuTime::param time) override
Sets the strobe signal: false = low, true = high.
std::string_view getDescription() const override
Description for this pluggable.
void writeData(byte data, EmuTime::param time) override
Sets the data signals.
void unplugHelper(EmuTime::param time) override
bool getStatus(EmuTime::param time) override
Returns the STATUS signal: false = low = ready, true = high = not ready.
This file implemented 3 utility functions:
Definition: Autofire.cc:5