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