diff --git a/tools/simulators.cpp b/tools/simulators.cpp index db1adf8..1519e08 100644 --- a/tools/simulators.cpp +++ b/tools/simulators.cpp @@ -1,9 +1,11 @@ #include "simulators.hpp" #include "test_sim.hpp" +#include "can_debugger.hpp" Simulators::Simulators() { INSERT_SIMULATOR(Test_Sim); + INSERT_SIMULATOR(Can_Debugger); } std::string Simulators::active_simulator_name() const diff --git a/tools/simulators/can_debugger.cpp b/tools/simulators/can_debugger.cpp new file mode 100644 index 0000000..1efbb90 --- /dev/null +++ b/tools/simulators/can_debugger.cpp @@ -0,0 +1,18 @@ +#include "can_debugger.hpp" +#include + +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 +} diff --git a/tools/simulators/can_debugger.hpp b/tools/simulators/can_debugger.hpp new file mode 100644 index 0000000..be74cdb --- /dev/null +++ b/tools/simulators/can_debugger.hpp @@ -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: + +};