SUMO - Simulation of Urban MObility
MSFrame.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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // Sets and checks options for microsim; inits global outputs and settings
19 /****************************************************************************/
20 #ifndef MSFrame_h
21 #define MSFrame_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 
34 // ===========================================================================
35 // class declarations
36 // ===========================================================================
37 class OptionsCont;
38 class MSNet;
39 class OutputDevice;
40 
41 
42 // ===========================================================================
43 // class definitions
44 // ===========================================================================
56 class MSFrame {
57 public:
63  static void fillOptions();
64 
65 
67  static void buildStreams();
68 
69 
82  static bool checkOptions();
83 
84 
90  static void setMSGlobals(OptionsCont& oc);
91 
92 };
93 
94 
95 #endif
96 
97 /****************************************************************************/
98 
static void buildStreams()
Builds the streams used possibly by the simulation.
Definition: MSFrame.cpp:484
The simulated network and simulation perfomer.
Definition: MSNet.h:90
static void fillOptions()
Inserts options used by the simulation into the OptionsCont-singleton.
Definition: MSFrame.cpp:66
Sets and checks options for microsim; inits global outputs and settings.
Definition: MSFrame.h:56
static bool checkOptions()
Checks the set options.
Definition: MSFrame.cpp:515
A storage for options typed value containers)
Definition: OptionsCont.h:98
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:70
static void setMSGlobals(OptionsCont &oc)
Sets the global microsim-options.
Definition: MSFrame.cpp:615