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