changed serial reading from lowlevel to boost with hope for more stability, changed a lot of smart pointers to unique_ptr, added fmt for logging

This commit is contained in:
2019-01-06 14:57:27 +01:00
parent bc27278ffb
commit 58f44dc957
21 changed files with 281 additions and 173 deletions

View File

@@ -31,14 +31,14 @@ class MainWindow : public QMainWindow {
void WindowEvaluation();
private:
std::shared_ptr<Training> interfaceTraining;
std::unique_ptr<Training> interfaceTraining;
void closeEvent(QCloseEvent * event);
std::shared_ptr<DataBase> db;
std::unique_ptr<DataBase> db;
Ui::MainWindow * ui;
std::shared_ptr<WindowRace> interfaceRace;
std::shared_ptr<WindowsSettings> interfaceSettings;
std::shared_ptr<WindowRennliste> interfaceRennliste;
std::shared_ptr<Evaluation> interfaceEvaluation;
std::unique_ptr<WindowRace> interfaceRace;
std::unique_ptr<WindowsSettings> interfaceSettings;
std::unique_ptr<WindowRennliste> interfaceRennliste;
std::unique_ptr<Evaluation> interfaceEvaluation;
std::shared_ptr<QShortcut> startTraining;
std::shared_ptr<QShortcut> startRennen;