SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00008 // Editor for simulation breakpoints 00009 /****************************************************************************/ 00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors 00012 /****************************************************************************/ 00013 // 00014 // This file is part of SUMO. 00015 // SUMO is free software: you can redistribute it and/or modify 00016 // it under the terms of the GNU General Public License as published by 00017 // the Free Software Foundation, either version 3 of the License, or 00018 // (at your option) any later version. 00019 // 00020 /****************************************************************************/ 00021 #ifndef GUIDialog_Breakpoints_h 00022 #define GUIDialog_Breakpoints_h 00023 00024 00025 // =========================================================================== 00026 // included modules 00027 // =========================================================================== 00028 #ifdef _MSC_VER 00029 #include <windows_config.h> 00030 #else 00031 #include <config.h> 00032 #endif 00033 00034 #include <string> 00035 #include <vector> 00036 #include <fx.h> 00037 00038 00039 // =========================================================================== 00040 // class declarations 00041 // =========================================================================== 00042 class MFXAddEditTypedTable; 00043 00044 00045 // =========================================================================== 00046 // class definition 00047 // =========================================================================== 00056 class GUIDialog_Breakpoints : public FXMainWindow { 00057 // FOX-declarations 00058 FXDECLARE(GUIDialog_Breakpoints) 00059 public: 00063 GUIDialog_Breakpoints(GUIMainWindow* parent) ; 00064 00066 ~GUIDialog_Breakpoints() ; 00067 00068 00069 00072 00074 long onCmdLoad(FXObject*, FXSelector, void*); 00075 00077 long onCmdSave(FXObject*, FXSelector, void*); 00078 00080 long onCmdClear(FXObject*, FXSelector, void*); 00081 00083 long onCmdClose(FXObject*, FXSelector, void*); 00084 00086 long onCmdEditTable(FXObject*, FXSelector, void*); 00088 00089 00090 private: 00092 void rebuildList() ; 00093 00097 std::string encode2TXT() ; 00098 00099 00100 private: 00102 MFXAddEditTypedTable* myTable; 00103 00105 GUIMainWindow* myParent; 00106 00107 00108 protected: 00110 GUIDialog_Breakpoints() { } 00111 00112 }; 00113 00114 00115 #endif 00116 00117 /****************************************************************************/ 00118