|
SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00007 // 00008 /****************************************************************************/ 00009 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00010 // Copyright (C) 2001-2011 DLR (http://www.dlr.de/) and contributors 00011 /****************************************************************************/ 00012 // 00013 // This program is free software; you can redistribute it and/or modify 00014 // it under the terms of the GNU General Public License as published by 00015 // the Free Software Foundation; either version 2 of the License, or 00016 // (at your option) any later version. 00017 // 00018 /****************************************************************************/ 00019 #ifndef NIVissimSingleTypeParser_Signalgruppendefinition_h 00020 #define NIVissimSingleTypeParser_Signalgruppendefinition_h 00021 00022 00023 // =========================================================================== 00024 // included modules 00025 // =========================================================================== 00026 #ifdef _MSC_VER 00027 #include <windows_config.h> 00028 #else 00029 #include <config.h> 00030 #endif 00031 00032 #include <iostream> 00033 #include "../NIImporter_Vissim.h" 00034 00035 00036 // =========================================================================== 00037 // class definitions 00038 // =========================================================================== 00043 class NIVissimSingleTypeParser_Signalgruppendefinition : 00044 public NIImporter_Vissim::VissimSingleTypeParser { 00045 public: 00047 NIVissimSingleTypeParser_Signalgruppendefinition(NIImporter_Vissim& parent); 00048 00050 ~NIVissimSingleTypeParser_Signalgruppendefinition(); 00051 00053 bool parse(std::istream& from); 00054 00055 private: 00057 bool parseFixedTime(int id, const std::string& name, int lsaid, 00058 std::istream& from); 00059 00061 bool parseVAS(int id, const std::string& name, int lsaid, 00062 std::istream& from); 00063 00065 bool parseVSPLUS(int id, const std::string& name, int lsaid, 00066 std::istream& from); 00067 00069 bool parseTRENDS(int id, const std::string& name, int lsaid, 00070 std::istream& from); 00071 00073 bool parseVAP(int id, const std::string& name, int lsaid, 00074 std::istream& from); 00075 00077 bool parseTL(int id, const std::string& name, int lsaid, 00078 std::istream& from); 00079 00081 bool parsePOS(int id, const std::string& name, int lsaid, 00082 std::istream& from); 00083 00085 bool parseExternFixedTime(int id, const std::string& name, int lsaid, 00086 std::istream& from); 00087 00088 }; 00089 00090 00091 #endif 00092 00093 /****************************************************************************/ 00094