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  virtual bool getStatus(EmuTime::param time);
12  virtual void setStrobe(bool strobe, EmuTime::param time);
13  virtual void writeData(byte data, EmuTime::param time);
14  virtual string_ref getDescription() const;
15  virtual void plugHelper(Connector& connector, EmuTime::param time);
16  virtual void unplugHelper(EmuTime::param time);
17 };
18 
19 } // namespace openmsx
20 
21 #endif
Represents something you can plug devices into.
Definition: Connector.hh:21
virtual bool getStatus(EmuTime::param time)
Returns the STATUS signal: false = low = ready, true = high = not ready.
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
virtual void unplugHelper(EmuTime::param time)
virtual string_ref getDescription() const
Description for this pluggable.
uint8_t * data()
virtual void setStrobe(bool strobe, EmuTime::param time)
Sets the strobe signal: false = low, true = high.
virtual void writeData(byte data, EmuTime::param time)
Sets the data signals.
virtual void plugHelper(Connector &connector, EmuTime::param time)