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:
27
28 Q_DISABLE_COPY_MOVE(SimulationHandler)
29
30 QJsonObject handleSimulationControl(const QJsonObject &params, const QJsonValue &requestId);
31 QJsonObject handleCreateWaveform(const QJsonObject &params, const QJsonValue &requestId);
32 QJsonObject handleExportWaveform(const QJsonObject &params, const QJsonValue &requestId);
33
34 BewavedDolphin *m_persistentDolphin;
35};
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:46
QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override
friend class TestSimulationHandler
SimulationHandler(MainWindow *mainWindow, const MCPValidator *validator)