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