openMSX
DummyRS232Device.hh
Go to the documentation of this file.
1 #ifndef DUMMYRS232DEVICE_HH
2 #define DUMMYRS232DEVICE_HH
3 
4 #include "RS232Device.hh"
5 
6 namespace openmsx {
7 
8 class DummyRS232Device final : public RS232Device
9 {
10 public:
11  void signal(EmuTime::param time) override;
12  std::string_view getDescription() const override;
13  void plugHelper(Connector& connector, EmuTime::param time) override;
14  void unplugHelper(EmuTime::param time) override;
15 
16  // SerialDataInterface (part)
17  void recvByte(byte value, EmuTime::param time) override;
18 };
19 
20 } // namespace openmsx
21 
22 #endif
openmsx::DummyRS232Device::signal
void signal(EmuTime::param time) override
Definition: DummyRS232Device.cc:5
openmsx::DummyRS232Device::unplugHelper
void unplugHelper(EmuTime::param time) override
Definition: DummyRS232Device.cc:20
openmsx::DummyRS232Device::getDescription
std::string_view getDescription() const override
Description for this pluggable.
Definition: DummyRS232Device.cc:10
openmsx::RS232Device
Definition: RS232Device.hh:10
openmsx::DummyRS232Device::recvByte
void recvByte(byte value, EmuTime::param time) override
Definition: DummyRS232Device.cc:24
RS232Device.hh
openmsx::DummyRS232Device
Definition: DummyRS232Device.hh:9
openmsx::DummyRS232Device::plugHelper
void plugHelper(Connector &connector, EmuTime::param time) override
Definition: DummyRS232Device.cc:15
openmsx::Connector
Represents something you can plug devices into.
Definition: Connector.hh:21
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5