wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
SimulationHandler.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
7
9
18{
19public:
20 explicit SimulationHandler(MainWindow *mainWindow, const MCPValidator *validator);
22
23 QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override;
24
25private:
26 Q_DISABLE_COPY_MOVE(SimulationHandler)
27
28 QJsonObject handleSimulationControl(const QJsonObject &params, const QJsonValue &requestId);
29 QJsonObject handleCreateWaveform(const QJsonObject &params, const QJsonValue &requestId);
30 QJsonObject handleExportWaveform(const QJsonObject &params, const QJsonValue &requestId);
31
32 BewavedDolphin *m_persistentDolphin;
33};
BaseHandler(MainWindow *mainWindow, const MCPValidator *validator)
Waveform editor main window for creating and analyzing digital signal sequences.
JSON Schema validator for MCP commands and responses using native json-schema-validator.
The top-level application window hosting the tab bar, menus, element palette, and editor.
Definition MainWindow.h:47
QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override
SimulationHandler(MainWindow *mainWindow, const MCPValidator *validator)