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 /****************************************************************************/
16 // GUI-version of the transportable control for building gui persons and containers
17 /****************************************************************************/
18 #ifndef GUITransportableControl_h
19 #define GUITransportableControl_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <vector>
29 
30 
31 // ===========================================================================
32 // class definitions
33 // ===========================================================================
38 public:
41 
42 
44  virtual ~GUITransportableControl();
45 
46 
54  std::mt19937* rng) const;
55 
62 
67  void insertPersonIDs(std::vector<GUIGlID>& into);
68 };
69 
70 
71 #endif
72 
73 /****************************************************************************/
MSVehicleType
The car-following model and parameter.
Definition: MSVehicleType.h:65
GUITransportableControl::buildContainer
virtual MSTransportable * buildContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan) const
Builds a new container.
Definition: GUITransportableControl.cpp:52
GUITransportableControl::~GUITransportableControl
virtual ~GUITransportableControl()
destructor
Definition: GUITransportableControl.cpp:39
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition: SUMOVehicleParameter.h:297
MSTransportable
Definition: MSTransportable.h:58
MSTransportableControl
Definition: MSTransportableControl.h:51
MSTransportableControl.h
GUITransportableControl::insertPersonIDs
void insertPersonIDs(std::vector< GUIGlID > &into)
Returns the list of all known persons by gl-id.
Definition: GUITransportableControl.cpp:58
GUITransportableControl::GUITransportableControl
GUITransportableControl()
constructor
Definition: GUITransportableControl.cpp:36
MSTransportable::MSTransportablePlan
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
Definition: MSTransportable.h:587
config.h
GUITransportableControl
GUI-version of the transportable control for building gui persons and containers.
Definition: GUITransportableControl.h:37
GUITransportableControl::buildPerson
virtual MSTransportable * buildPerson(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, std::mt19937 *rng) const
Builds a new person.
Definition: GUITransportableControl.cpp:44