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  [[nodiscard]] 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
Represents something you can plug devices into.
Definition: Connector.hh:21
std::string_view getDescription() const override
Description for this pluggable.
void unplugHelper(EmuTime::param time) override
void recvByte(byte value, EmuTime::param time) override
void plugHelper(Connector &connector, EmuTime::param time) override
Pluggable that connects an MSX MIDI out port to a host MIDI device.
This file implemented 3 utility functions:
Definition: Autofire.cc:5