12class CommandController;
13class MSXEventDistributor;
14class StateChangeDistributor;
29 template<
typename Archive>
30 void serialize(Archive& ar,
unsigned version);
34 [[nodiscard]] std::string_view getName()
const override;
35 [[nodiscard]] std::string_view getDescription()
const override;
36 void plugHelper(
Connector& connector, EmuTime::param time)
override;
37 void unplugHelper(EmuTime::param time)
override;
40 [[nodiscard]] uint8_t read(EmuTime::param time)
override;
41 void write(uint8_t value, EmuTime::param time)
override;
44 void signalMSXEvent(
const Event& event,
45 EmuTime::param time)
noexcept override;
47 void signalStateChange(
const StateChange& event)
override;
48 void stopReplay(EmuTime::param time)
noexcept override;
Represents something you can plug devices into.
KeyJoystick(CommandController &commandController, MSXEventDistributor &eventDistributor, StateChangeDistributor &stateChangeDistributor, ID id)
void serialize(Archive &ar, unsigned version)
Base class for all external MSX state changing events.
This file implemented 3 utility functions:
SERIALIZE_CLASS_VERSION(CassettePlayer, 2)