16class EventDistributor;
18class CommandController;
30 [[nodiscard]] std::string_view
getName()
const override;
34 void signal(EmuTime::param time)
override;
36 template<
typename Archive>
37 void serialize(Archive& ar,
unsigned version);
43 int signalEvent(
const Event& event)
override;
Represents something you can plug devices into.
void serialize(Archive &ar, unsigned version)
std::string_view getName() const override
Name used to identify this pluggable.
void plugHelper(Connector &connector, EmuTime::param time) override
std::string_view getDescription() const override
Description for this pluggable.
void unplugHelper(EmuTime::param time) override
MidiInReader(EventDistributor &eventDistributor, Scheduler &scheduler, CommandController &commandController)
void signal(EmuTime::param time) override
Polls for events on a given file descriptor.
std::unique_ptr< FILE, FClose > FILE_t
This file implemented 3 utility functions: