mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Add initial can debugger
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
#include "simulators.hpp"
|
#include "simulators.hpp"
|
||||||
#include "test_sim.hpp"
|
#include "test_sim.hpp"
|
||||||
|
#include "can_debugger.hpp"
|
||||||
|
|
||||||
Simulators::Simulators()
|
Simulators::Simulators()
|
||||||
{
|
{
|
||||||
INSERT_SIMULATOR(Test_Sim);
|
INSERT_SIMULATOR(Test_Sim);
|
||||||
|
INSERT_SIMULATOR(Can_Debugger);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Simulators::active_simulator_name() const
|
std::string Simulators::active_simulator_name() const
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#include "can_debugger.hpp"
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
Can_Debugger::Can_Debugger() :
|
||||||
|
Simulator_base("Can_Debugger")
|
||||||
|
{
|
||||||
|
//this->add_UI_item(&this->);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Can_Debugger::timer()
|
||||||
|
{
|
||||||
|
// Timer function
|
||||||
|
}
|
||||||
|
|
||||||
|
void Can_Debugger::run_at_startup()
|
||||||
|
{
|
||||||
|
// Run at startup
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "simulator_base.hpp"
|
||||||
|
|
||||||
|
class Can_Debugger : public Simulator_base {
|
||||||
|
public:
|
||||||
|
Can_Debugger();
|
||||||
|
void timer() override;
|
||||||
|
void run_at_startup() override;
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user