18class EventDistributor;
19class CommandController;
22class GlobalCommandController;
29class InputEventGenerator;
37class TclCallbackMessages;
41class CommandLineParser;
46class TestMachineCommand;
47class CreateMachineCommand;
48class DeleteMachineCommand;
49class ListMachinesCommand;
50class ActivateMachineCommand;
51class StoreMachineCommand;
52class RestoreMachineCommand;
53class GetClipboardCommand;
54class SetClipboardCommand;
58class SoftwareInfoTopic;
105 [[nodiscard]]
static std::vector<std::string>
getHwConfigs(std::string_view type);
120 using Board = std::shared_ptr<MSXMotherBoard>;
129 [](
auto& b) -> std::string_view {
return b->getMachineID(); });
132 void createMachineSetting();
133 void switchBoard(
Board newBoard);
134 void deleteBoard(
Board board);
140 int signalEvent(
const Event& event)
override;
146 [[nodiscard]]
bool doOneIteration();
156 std::unique_ptr<RTScheduler> rtScheduler;
157 std::unique_ptr<EventDistributor> eventDistributor;
158 std::unique_ptr<GlobalCliComm> globalCliComm;
159 std::unique_ptr<GlobalCommandController> globalCommandController;
160 std::unique_ptr<GlobalSettings> globalSettings;
161 std::unique_ptr<InputEventGenerator> inputEventGenerator;
162 std::unique_ptr<SymbolManager> symbolManager;
163 std::unique_ptr<ImGuiManager> imGuiManager;
164 std::unique_ptr<Display> display;
165 std::unique_ptr<Mixer> mixer;
166 std::unique_ptr<DiskFactory> diskFactory;
167 std::unique_ptr<DiskManipulator> diskManipulator;
168 std::unique_ptr<DiskChanger> virtualDrive;
169 std::unique_ptr<FilePool> filePool;
171 std::unique_ptr<EnumSetting<int>> machineSetting;
172 std::unique_ptr<UserSettings> userSettings;
173 std::unique_ptr<RomDatabase> softwareDatabase;
175 std::unique_ptr<AfterCommand> afterCommand;
176 std::unique_ptr<ExitCommand> exitCommand;
177 std::unique_ptr<MessageCommand> messageCommand;
178 std::unique_ptr<MachineCommand> machineCommand;
179 std::unique_ptr<TestMachineCommand> testMachineCommand;
180 std::unique_ptr<CreateMachineCommand> createMachineCommand;
181 std::unique_ptr<DeleteMachineCommand> deleteMachineCommand;
182 std::unique_ptr<ListMachinesCommand> listMachinesCommand;
183 std::unique_ptr<ActivateMachineCommand> activateMachineCommand;
184 std::unique_ptr<StoreMachineCommand> storeMachineCommand;
185 std::unique_ptr<RestoreMachineCommand> restoreMachineCommand;
186 std::unique_ptr<GetClipboardCommand> getClipboardCommand;
187 std::unique_ptr<SetClipboardCommand> setClipboardCommand;
188 std::unique_ptr<AviRecorder> aviRecordCommand;
189 std::unique_ptr<ConfigInfo> extensionInfo;
190 std::unique_ptr<ConfigInfo> machineInfo;
191 std::unique_ptr<RealTimeInfo> realTimeInfo;
192 std::unique_ptr<SoftwareInfoTopic> softwareInfoTopic;
193 std::unique_ptr<TclCallbackMessages> tclCallbackMessages;
202 std::vector<Board> boards;
205 int blockedCounter = 0;
207 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
std::shared_ptr< MSXMotherBoard > Board
CommandController & getCommandController()
DiskManipulator & getDiskManipulator()
GlobalCommandController & getGlobalCommandController()
InfoCommand & getOpenMSXInfoCommand()
void switchMachine(const std::string &machine)
void run(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, ImGuiDelayedActionEvent, ImGuiActiveEvent > Event
constexpr auto transform(Range &&range, UnaryOp op)