20class EventDistributor;
21class CommandController;
24class GlobalCommandController;
31class InputEventGenerator;
39class TclCallbackMessages;
43class CommandLineParser;
48class TestMachineCommand;
49class CreateMachineCommand;
50class DeleteMachineCommand;
51class ListMachinesCommand;
52class ActivateMachineCommand;
53class StoreMachineCommand;
54class RestoreMachineCommand;
55class GetClipboardCommand;
56class SetClipboardCommand;
60class SoftwareInfoTopic;
108 [[nodiscard]]
static std::vector<std::string>
getHwConfigs(std::string_view type);
123 using Board = std::shared_ptr<MSXMotherBoard>;
132 [](
auto& b) -> std::string_view {
return b->getMachineID(); });
135 void createMachineSetting();
136 void switchBoard(
Board newBoard);
137 void deleteBoard(
Board board);
143 int signalEvent(
const Event& event)
override;
149 [[nodiscard]]
bool doOneIteration();
159 std::unique_ptr<RTScheduler> rtScheduler;
160 std::unique_ptr<EventDistributor> eventDistributor;
161 std::unique_ptr<GlobalCliComm> globalCliComm;
162 std::unique_ptr<GlobalCommandController> globalCommandController;
163 std::unique_ptr<GlobalSettings> globalSettings;
164 std::unique_ptr<InputEventGenerator> inputEventGenerator;
165 std::unique_ptr<SymbolManager> symbolManager;
166 std::unique_ptr<ImGuiManager> imGuiManager;
167 std::unique_ptr<Display> display;
168 std::unique_ptr<Mixer> mixer;
169 std::unique_ptr<DiskFactory> diskFactory;
170 std::unique_ptr<DiskManipulator> diskManipulator;
171 std::unique_ptr<DiskChanger> virtualDrive;
172 std::unique_ptr<FilePool> filePool;
174 std::unique_ptr<EnumSetting<int>> machineSetting;
175 std::unique_ptr<UserSettings> userSettings;
176 std::unique_ptr<RomDatabase> softwareDatabase;
178 std::unique_ptr<AfterCommand> afterCommand;
179 std::unique_ptr<ExitCommand> exitCommand;
180 std::unique_ptr<MessageCommand> messageCommand;
181 std::unique_ptr<MachineCommand> machineCommand;
182 std::unique_ptr<TestMachineCommand> testMachineCommand;
183 std::unique_ptr<CreateMachineCommand> createMachineCommand;
184 std::unique_ptr<DeleteMachineCommand> deleteMachineCommand;
185 std::unique_ptr<ListMachinesCommand> listMachinesCommand;
186 std::unique_ptr<ActivateMachineCommand> activateMachineCommand;
187 std::unique_ptr<StoreMachineCommand> storeMachineCommand;
188 std::unique_ptr<RestoreMachineCommand> restoreMachineCommand;
189 std::unique_ptr<GetClipboardCommand> getClipboardCommand;
190 std::unique_ptr<SetClipboardCommand> setClipboardCommand;
191 std::unique_ptr<AviRecorder> aviRecordCommand;
192 std::unique_ptr<ConfigInfo> extensionInfo;
193 std::unique_ptr<ConfigInfo> machineInfo;
194 std::unique_ptr<RealTimeInfo> realTimeInfo;
195 std::unique_ptr<SoftwareInfoTopic> softwareInfoTopic;
196 std::unique_ptr<TclCallbackMessages> tclCallbackMessages;
205 std::vector<Board> boards;
208 int blockedCounter = 0;
210 bool fullyStarted =
false;
Represents the output window/screen of openMSX.
This class contains settings that are used by several other class (including some singletons).
Generic Gang-of-Four Observer class, templatized edition.
Contains the main loop of openMSX.
GlobalSettings & getGlobalSettings()
ImGuiManager & getImGuiManager()
MSXMotherBoard * getMotherBoard() const
AviRecorder & getRecorder() const
std::shared_ptr< MSXMotherBoard > Board
CommandController & getCommandController()
DiskManipulator & getDiskManipulator()
GlobalCommandController & getGlobalCommandController()
InfoCommand & getOpenMSXInfoCommand()
void switchMachine(const std::string &machine)
void run(const CommandLineParser &parser)
Main loop.
bool isFullyStarted() const
EnumSetting< int > & getMachineSetting()
DiskFactory & getDiskFactory()
GlobalCliComm & getGlobalCliComm()
Board createEmptyMotherBoard()
RTScheduler & getRTScheduler()
Interpreter & getInterpreter()
const HotKey & getHotKey() const
void replaceBoard(MSXMotherBoard &oldBoard, Board newBoard)
std::string_view getMachineID() const
EventDistributor & getEventDistributor()
SymbolManager & getSymbolManager() const
const MsxChar2Unicode & getMsxChar2Unicode() const
static std::vector< std::string > getHwConfigs(std::string_view type)
InputEventGenerator & getInputEventGenerator()
RomDatabase & getSoftwareDatabase()
Board getMachine(std::string_view machineID) const
auto getMachineIDs() const
This file implemented 3 utility functions:
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
constexpr auto transform(Range &&range, UnaryOp op)