1#ifndef Y8950KEYBOARDCONNECTOR_HH
2#define Y8950KEYBOARDCONNECTOR_HH
9class Y8950KeyboardDevice;
16 void write(
byte data, EmuTime::param time);
17 [[nodiscard]]
byte read(EmuTime::param time)
const;
18 [[nodiscard]]
byte peek(EmuTime::param time)
const;
23 [[nodiscard]] std::string_view
getClass()
const override;
26 template<
typename Archive>
27 void serialize(Archive& ar,
unsigned version);
Represents something you can plug devices into.
Central administration of Connectors and Pluggables.
std::string_view getClass() const override
A Connector belong to a certain class.
byte read(EmuTime::param time) const
void write(byte data, EmuTime::param time)
std::string_view getDescription() const override
Get a description for this connector.
void plug(Pluggable &dev, EmuTime::param time) override
This plugs a Pluggable in this Connector.
byte peek(EmuTime::param time) const
void serialize(Archive &ar, unsigned version)
Y8950KeyboardDevice & getPluggedKeyb() const
This file implemented 3 utility functions: