simulators

remove function
This commit is contained in:
2026-02-14 14:30:50 +01:00
parent 148f70c48e
commit 600a081627
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -8,11 +8,7 @@ Simulators::Simulators(uint16_t port, QObject *parent) : QObject(parent), m_serv
{ {
INSERT_SIMULATOR(Test_Sim); INSERT_SIMULATOR(Test_Sim);
INSERT_SIMULATOR(Can_Debugger); INSERT_SIMULATOR(Can_Debugger);
setup_connections();
}
void Simulators::setup_connections()
{
connect(m_server, &Websocket::on_message, this, [this](QWebSocket *conn, QString message) { connect(m_server, &Websocket::on_message, this, [this](QWebSocket *conn, QString message) {
QString response = message_parser(message); QString response = message_parser(message);
if (response.isEmpty() || response == "{}") if (response.isEmpty() || response == "{}")
-1
View File
@@ -38,7 +38,6 @@ class Simulators : public QObject
}; };
Simulators(uint16_t port, QString can_dev, QObject *parent = nullptr); Simulators(uint16_t port, QString can_dev, QObject *parent = nullptr);
void setup_connections();
std::string active_simulator_name() const; std::string active_simulator_name() const;
void run(); void run();
void stop(); void stop();