SOLA
Loading...
Searching...
No Matches
manager.h
1// Copyright 2023 The SOLA authors
2//
3// This file is part of DAISI.
4//
5// DAISI is free software: you can redistribute it and/or modify it under the terms of the GNU
6// General Public License as published by the Free Software Foundation; version 2.
7//
8// DAISI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10// Public License for more details.
11//
12// You should have received a copy of the GNU General Public License along with DAISI. If not, see
13// <https://www.gnu.org/licenses/>.
14//
15// SPDX-License-Identifier: GPL-2.0-only
16
17#ifndef DAISI_MANAGER_MANAGER_H_
18#define DAISI_MANAGER_MANAGER_H_
19
20#include <string>
21
22#include "general_scenariofile.h"
23
24namespace daisi {
25
26class Manager {
27public:
28 virtual ~Manager();
29
30 void setup();
31
32 void markAsFailed(const char *exception);
33
34 void run();
35
36private:
37 virtual std::string getDatabaseFilename() const = 0;
38 virtual GeneralScenariofile getGeneralScenariofile() const = 0;
39 virtual void setupImpl() = 0;
40 virtual std::string getAdditionalParameters() const { return ""; }
41};
42} // namespace daisi
43
44#endif
Definition manager.h:26
Definition general_scenariofile.h:28