24 updateEnabled[type] = value;
27 return updateEnabled[type];
42 virtual void output(std::string_view message) = 0;
66 virtual void run() = 0;
68 void execute(
const std::string& command);
71 void log(
CliComm::LogLevel level, std::string_view message,
float fraction)
noexcept override;
73 std::string_view name, std::string_view value)
noexcept override;
76 int signalEvent(
const Event& event)
override;
83 std::array<bool, CliComm::NUM_UPDATES> updateEnabled;
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