48 [[nodiscard]] std::string_view
getName()
const override;
52 void signal(EmuTime::param time)
override;
55 void recvByte(uint8_t value, EmuTime::param time)
override;
57 [[nodiscard]] std::optional<bool>
getDSR(EmuTime::param time)
const override;
58 [[nodiscard]] std::optional<bool>
getCTS(EmuTime::param time)
const override;
59 [[nodiscard]] std::optional<bool>
getDCD(EmuTime::param time)
const override;
60 [[nodiscard]] std::optional<bool>
getRI(EmuTime::param time)
const override;
61 void setDTR(
bool status, EmuTime::param time)
override;
62 void setRTS(
bool status, EmuTime::param time)
override;
64 template<
typename Archive>
65 void serialize(Archive& ar,
unsigned version);
71 bool signalEvent(
const Event& event)
override;
73 bool net_put(std::span<const char> buf);
74 void open_socket(
const NetworkSocketAddress& socket_address);
90 std::atomic<SOCKET> sockfd;
93 std::atomic<bool> DCD;
std::variant< KeyUpEvent, KeyDownEvent, MouseMotionEvent, MouseButtonUpEvent, MouseButtonDownEvent, MouseWheelEvent, JoystickAxisMotionEvent, JoystickHatEvent, JoystickButtonUpEvent, JoystickButtonDownEvent, OsdControlReleaseEvent, OsdControlPressEvent, WindowEvent, TextEvent, FileDropEvent, QuitEvent, FinishFrameEvent, CliCommandEvent, GroupEvent, BootEvent, FrameDrawnEvent, BreakEvent, SwitchRendererEvent, TakeReverseSnapshotEvent, AfterTimedEvent, MachineLoadedEvent, MachineActivatedEvent, MachineDeactivatedEvent, MidiInReaderEvent, MidiInWindowsEvent, MidiInCoreMidiEvent, MidiInCoreMidiVirtualEvent, MidiInALSAEvent, Rs232TesterEvent, Rs232NetEvent, ImGuiDelayedActionEvent, ImGuiActiveEvent > Event