Commit 4d0de829 authored by fmg005's avatar fmg005

Removed interrupt handler function

parent d0873dd5
...@@ -18,6 +18,10 @@ namespace CLA { ...@@ -18,6 +18,10 @@ namespace CLA {
double saline_rate; double saline_rate;
unsigned long simulation_injury_start_timestep; unsigned long simulation_injury_start_timestep;
unsigned long simulation_injury_stop_timestep; unsigned long simulation_injury_stop_timestep;
const char* port; /*serial port for simulator*/
uint32_t baudrate; /*baudrate for serial simulator serial connection*/
}; };
} }
......
...@@ -3,15 +3,10 @@ ...@@ -3,15 +3,10 @@
#define SIMENGINE_H #define SIMENGINE_H
#include "configure_prosim_paths.h" #include "configure_prosim_paths.h"
#include <libconfig.h++>
#include <functional>
#include <signal.h>
using namespace libconfig;
void Simulation(const std::string, const std::shared_ptr<Config>&); void Simulation(const std::string, const std::shared_ptr<Config>&);
void Global_LoadConfig( std::shared_ptr<CLA::LOGGER>&, std::unique_ptr<PhysiologyEngine>&, void Global_LoadConfig( std::shared_ptr<CLA::LOGGER>&, std::unique_ptr<PhysiologyEngine>&,
const std::shared_ptr<Config>&, CLA::Environment&); const std::shared_ptr<Config>&, CLA::Environment&);
std::function <void(int)> interrupt_handler;
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment