Eclipse 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-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 /****************************************************************************/
15 // Sets and checks options for microsim; inits global outputs and settings
16 /****************************************************************************/
17 #ifndef MSFrame_h
18 #define MSFrame_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 
27 // ===========================================================================
28 // class declarations
29 // ===========================================================================
30 class OptionsCont;
31 class MSNet;
32 class OutputDevice;
33 
34 
35 // ===========================================================================
36 // class definitions
37 // ===========================================================================
49 class MSFrame {
50 public:
56  static void fillOptions();
57 
58 
60  static void buildStreams();
61 
62 
75  static bool checkOptions();
76 
77 
83  static void setMSGlobals(OptionsCont& oc);
84 
85 };
86 
87 
88 #endif
89 
90 /****************************************************************************/
91 
MSFrame::fillOptions
static void fillOptions()
Inserts options used by the simulation into the OptionsCont-singleton.
Definition: MSFrame.cpp:60
MSFrame::setMSGlobals
static void setMSGlobals(OptionsCont &oc)
Sets the global microsim-options.
Definition: MSFrame.cpp:713
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:63
MSFrame
Sets and checks options for microsim; inits global outputs and settings.
Definition: MSFrame.h:49
MSNet
The simulated network and simulation perfomer.
Definition: MSNet.h:91
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:89
MSFrame::buildStreams
static void buildStreams()
Builds the streams used possibly by the simulation.
Definition: MSFrame.cpp:533
config.h
MSFrame::checkOptions
static bool checkOptions()
Checks the set options.
Definition: MSFrame.cpp:565