14 , description(
std::move(name_))
30 return *checked_cast<MidiOutDevice*>(&
getPlugged());
53template<
typename Archive>
56 ar.template serializeBase<Connector>(*
this);
Represents something you can plug devices into.
Pluggable & getPlugged() const
Returns the Pluggable currently plugged in.
void serialize(Archive &ar, unsigned version)
void setStopBits(StopBits bits) override
void setDataBits(DataBits bits) override
void setParityBit(bool enable, Parity parity) override
std::string_view getClass() const override
A Connector belong to a certain class.
std::string_view getDescription() const override
Get a description for this connector.
MidiOutDevice & getPluggedMidiOutDev() const
void recvByte(byte value, EmuTime::param time) override
MidiOutConnector(PluggingController &pluggingController, std::string name)
Pluggable that connects an MSX MIDI out port to a host MIDI device.
void setParityBit(bool enable, Parity parity) override
void setStopBits(StopBits bits) override
void setDataBits(DataBits bits) override
void recvByte(byte value, EmuTime::param time) override
Central administration of Connectors and Pluggables.
This file implemented 3 utility functions:
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)