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.dev/sumo
3 // Copyright (C) 2001-2024 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
19 // Sets and checks options for microsim; inits global outputs and settings
20 /****************************************************************************/
21 #pragma once
22 #include <config.h>
23 
24 
25 // ===========================================================================
26 // class declarations
27 // ===========================================================================
28 class OptionsCont;
29 class MSNet;
30 class OutputDevice;
31 
32 
33 // ===========================================================================
34 // class definitions
35 // ===========================================================================
47 class MSFrame {
48 public:
54  static void fillOptions();
55 
56 
58  static void buildStreams();
59 
60 
73  static bool checkOptions();
74 
75 
81  static void setMSGlobals(OptionsCont& oc);
82 
83 };
Sets and checks options for microsim; inits global outputs and settings.
Definition: MSFrame.h:47
static void buildStreams()
Builds the streams used possibly by the simulation.
Definition: MSFrame.cpp:815
static void setMSGlobals(OptionsCont &oc)
Sets the global microsim-options.
Definition: MSFrame.cpp:1067
static void fillOptions()
Inserts options used by the simulation into the OptionsCont-singleton.
Definition: MSFrame.cpp:60
static bool checkOptions()
Checks the set options.
Definition: MSFrame.cpp:857
The simulated network and simulation perfomer.
Definition: MSNet.h:89
A storage for options typed value containers)
Definition: OptionsCont.h:89
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:61