Eclipse SUMO - Simulation of Urban MObility
NIVissimSingleTypeParser_Signalgruppendefinition.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
14 //
15 /****************************************************************************/
16 #ifndef NIVissimSingleTypeParser_Signalgruppendefinition_h
17 #define NIVissimSingleTypeParser_Signalgruppendefinition_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include <iostream>
26 #include "../NIImporter_Vissim.h"
27 
28 
29 // ===========================================================================
30 // class definitions
31 // ===========================================================================
38 public:
41 
44 
46  bool parse(std::istream& from);
47 
48 private:
50  bool parseFixedTime(int id, const std::string& name, int lsaid,
51  std::istream& from);
52 
54  bool parseVAS(int id, const std::string& name, int lsaid,
55  std::istream& from);
56 
58  bool parseVSPLUS(int id, const std::string& name, int lsaid,
59  std::istream& from);
60 
62  bool parseTRENDS(int id, const std::string& name, int lsaid,
63  std::istream& from);
64 
66  bool parseVAP(int id, const std::string& name, int lsaid,
67  std::istream& from);
68 
70  bool parseTL(int id, const std::string& name, int lsaid,
71  std::istream& from);
72 
74  bool parsePOS(int id, const std::string& name, int lsaid,
75  std::istream& from);
76 
78  bool parseExternFixedTime(int id, const std::string& name, int lsaid,
79  std::istream& from);
80 
81 };
82 
83 
84 #endif
85 
86 /****************************************************************************/
87 
NIVissimSingleTypeParser_Signalgruppendefinition::parse
bool parse(std::istream &from)
Parses the data type from the given stream.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:47
NIVissimSingleTypeParser_Signalgruppendefinition::parseTL
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:177
NIVissimSingleTypeParser_Signalgruppendefinition
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.h:37
NIImporter_Vissim
Importer for networks stored in Vissim format.
Definition: NIImporter_Vissim.h:58
NIVissimSingleTypeParser_Signalgruppendefinition::~NIVissimSingleTypeParser_Signalgruppendefinition
~NIVissimSingleTypeParser_Signalgruppendefinition()
Destructor.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:43
NIVissimSingleTypeParser_Signalgruppendefinition::parseTRENDS
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:161
NIVissimSingleTypeParser_Signalgruppendefinition::parseVAP
bool parseVAP(int id, const std::string &name, int lsaid, std::istream &from)
Parses a traffic light group which belongs to a VAStraffic light.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:169
NIVissimSingleTypeParser_Signalgruppendefinition::parseVSPLUS
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:153
NIVissimSingleTypeParser_Signalgruppendefinition::parseVAS
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:141
NIVissimSingleTypeParser_Signalgruppendefinition::parsePOS
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:185
NIImporter_Vissim::VissimSingleTypeParser
Definition: NIImporter_Vissim.h:487
NIVissimSingleTypeParser_Signalgruppendefinition::parseFixedTime
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:100
config.h
NIVissimSingleTypeParser_Signalgruppendefinition::NIVissimSingleTypeParser_Signalgruppendefinition
NIVissimSingleTypeParser_Signalgruppendefinition(NIImporter_Vissim &parent)
Constructor.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:39
NIVissimSingleTypeParser_Signalgruppendefinition::parseExternFixedTime
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.
Definition: NIVissimSingleTypeParser_Signalgruppendefinition.cpp:193