Am5os
 All Classes Functions Pages
analyser.h
1 
2 //
3 // analyser.h
4 // Projectname: amos-ss16-proj5
5 //
6 // Created on 03.06.2016.
7 // Copyright (c) 2016 de.fau.cs.osr.amos2016.gruppe5
8 //
9 // This file is part of the AMOS Project 2016 @ FAU
10 // (Friedrich-Alexander University Erlangen-Nürnberg)
11 //
12 // This program is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU Affero General Public License as
14 // published by the Free Software Foundation, either version 3 of the
15 // License, or (at your option) any later version.
16 //
17 // This program is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU Affero General Public License for more details.
21 //
22 // You should have received a copy of the GNU Affero General Public
23 // License along with this program. If not, see
24 // <http://www.gnu.org/licenses/>.
25 //
26 
27 #ifndef ANALYSER_H
28 #define ANALYSER_H
29 
30 //std
31 #include <vector>
32 
33 #include "../ObjectDetection/frame_detection_data.h"
34 #include "scenario.h"
35 #include "humans_in_front_of_bus_scenario.h"
36 
37 class Analyser {
38 
39 public:
40 
46  Analyser(std::vector<Scenario*> scenarios);
47 
53  void AddScenario(Scenario* scenario);
54 
61  Scenario* Analyse(FrameDetectionData detected_objects);
62 
63 private:
64 
65  std::vector<Scenario*> all_scenarios_;
66 
67 };
68 
69 
70 #endif // ANALYSER_H
Definition: frame_detection_data.h:41
void AddScenario(Scenario *scenario)
Definition: analyser.cpp:44
Scenario * Analyse(FrameDetectionData detected_objects)
Definition: analyser.cpp:50
Definition: analyser.h:37
Definition: scenario.h:35
Analyser(std::vector< Scenario * > scenarios)
Definition: analyser.cpp:38