10 class MSXEventDistributor;
11 class StateChangeDistributor;
21 template<
typename Archive>
22 void serialize(Archive& ar,
unsigned version);
26 [[nodiscard]] std::string_view getName()
const override;
27 [[nodiscard]] std::string_view getDescription()
const override;
28 void plugHelper(
Connector& connector, EmuTime::param time)
override;
29 void unplugHelper(EmuTime::param time)
override;
32 [[nodiscard]]
byte read(EmuTime::param time)
override;
33 void write(
byte value, EmuTime::param time)
override;
36 void signalMSXEvent(
const Event& event,
37 EmuTime::param time) noexcept
override;
39 void signalStateChange(
const StateChange& event)
override;
40 void stopReplay(EmuTime::param time) noexcept
override;
Represents something you can plug devices into.
Paddle(MSXEventDistributor &eventDistributor, StateChangeDistributor &stateChangeDistributor)
void serialize(Archive &ar, unsigned version)
Base class for all external MSX state changing events.
This file implemented 3 utility functions: