SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NIVissimSingleTypeParser_Signalgruppendefinition.h
Go to the documentation of this file.
1 /****************************************************************************/
7 //
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2001-2016 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #ifndef NIVissimSingleTypeParser_Signalgruppendefinition_h
21 #define NIVissimSingleTypeParser_Signalgruppendefinition_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <iostream>
34 #include "../NIImporter_Vissim.h"
35 
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
46 public:
49 
52 
54  bool parse(std::istream& from);
55 
56 private:
58  bool parseFixedTime(int id, const std::string& name, int lsaid,
59  std::istream& from);
60 
62  bool parseVAS(int id, const std::string& name, int lsaid,
63  std::istream& from);
64 
66  bool parseVSPLUS(int id, const std::string& name, int lsaid,
67  std::istream& from);
68 
70  bool parseTRENDS(int id, const std::string& name, int lsaid,
71  std::istream& from);
72 
74  bool parseVAP(int id, const std::string& name, int lsaid,
75  std::istream& from);
76 
78  bool parseTL(int id, const std::string& name, int lsaid,
79  std::istream& from);
80 
82  bool parsePOS(int id, const std::string& name, int lsaid,
83  std::istream& from);
84 
86  bool parseExternFixedTime(int id, const std::string& name, int lsaid,
87  std::istream& from);
88 
89 };
90 
91 
92 #endif
93 
94 /****************************************************************************/
95 
bool parseTRENDS(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a TRENDS traffic light.
Importer for networks stored in Vissim format.
bool parseVAP(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a VAStraffic light.
bool parseFixedTime(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a fixed time traffic light.
bool parsePOS(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a POS traffic light.
bool parseExternFixedTime(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs fixed time traffic light with an extern definition...
bool parseVSPLUS(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a VSPLUS traffic light.
bool parseTL(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a TL traffic light.
bool parseVAS(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a VAS traffic light.
bool parse(std::istream &from)
Parses the data type from the given stream.