From e0b305fd1d845cba1b11578722f88adb193f756e Mon Sep 17 00:00:00 2001 From: Matthijs Bijman Date: Thu, 16 Feb 2017 22:06:09 +0100 Subject: Update simulator to work with new db schema The new schema removes the queued_simulation_section table and introduces the state and last_simulated_tick columns to the experiments table. --- Simulator/include/database/Database.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Simulator/include/database/Database.h') diff --git a/Simulator/include/database/Database.h b/Simulator/include/database/Database.h index 6e8bfeef..7f867d6c 100644 --- a/Simulator/include/database/Database.h +++ b/Simulator/include/database/Database.h @@ -49,6 +49,10 @@ namespace Database */ void dequeueExperiment(int id) const; + /* + Marks the given experiment as finished in the database. + */ + void finishExperiment(int id) const; /* Creates a simulation object from a simulation in the database. -- cgit v1.2.3