SUMO - Simulation of Urban MObility
GUIEventControl.h
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // Stores time-dependant events and executes them at the proper time (guisim)
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 GUIEventControl_h
00022 #define GUIEventControl_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 <microsim/MSEventControl.h>
00035 
00036 
00037 // ===========================================================================
00038 // class declarations
00039 // ===========================================================================
00040 class MFXMutex;
00041 
00042 
00043 // ===========================================================================
00044 // class definitions
00045 // ===========================================================================
00053 class GUIEventControl : public MSEventControl {
00054 public:
00056     GUIEventControl() ;
00057 
00058 
00060     ~GUIEventControl() ;
00061 
00062 
00073     SUMOTime addEvent(Command* operation, SUMOTime execTimeStep,
00074                       AdaptType type) ;
00075 
00076 
00086     void execute(SUMOTime time) ;
00087 
00088 
00089 private:
00091     MFXMutex myLock;
00092 
00093 
00094 private:
00096     GUIEventControl(const GUIEventControl&);
00097 
00099     GUIEventControl& operator=(const GUIEventControl&);
00100 
00101 
00102 };
00103 
00104 
00105 #endif
00106 
00107 /****************************************************************************/
00108 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines