Eclipse 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-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 /****************************************************************************/
17 // GUI-version of the transportable control for building gui persons and containers
18 /****************************************************************************/
19 #ifndef GUITransportableControl_h
20 #define GUITransportableControl_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #include <config.h>
27 
28 #include <vector>
30 
31 
32 // ===========================================================================
33 // class definitions
34 // ===========================================================================
39 public:
42 
43 
45  virtual ~GUITransportableControl();
46 
47 
55  std::mt19937* rng) const;
56 
63 
68  void insertPersonIDs(std::vector<GUIGlID>& into);
69 };
70 
71 
72 #endif
73 
74 /****************************************************************************/
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:66
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. ...