SUMO - Simulation of Urban MObility
GUITransportableControl.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2012-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 /****************************************************************************/
19 // GUI-version of the transportable control for building gui persons and containers
20 /****************************************************************************/
21 #ifndef GUITransportableControl_h
22 #define GUITransportableControl_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #ifdef _MSC_VER
29 #include <windows_config.h>
30 #else
31 #include <config.h>
32 #endif
33 
34 #include <vector>
36 
37 
38 // ===========================================================================
39 // class definitions
40 // ===========================================================================
45 public:
48 
49 
51  virtual ~GUITransportableControl();
52 
53 
61  std::mt19937* rng) const;
62 
69 
74  void insertPersonIDs(std::vector<GUIGlID>& into);
75 };
76 
77 
78 #endif
79 
80 /****************************************************************************/
virtual ~GUITransportableControl()
destructor
virtual MSTransportable * buildPerson(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, std::mt19937 *rng) const
Builds a new person.
virtual MSTransportable * buildContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan) const
Builds a new container.
The car-following model and parameter.
Definition: MSVehicleType.h:72
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
void insertPersonIDs(std::vector< GUIGlID > &into)
Returns the list of all known persons by gl-id.
Structure representing possible vehicle parameter.
GUI-version of the transportable control for building gui persons and containers. ...