SUMO - Simulation of Urban MObility
GUIPersonControl.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // GUI-version of the person control for building gui persons
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12 // Copyright (C) 2012-2015 DLR (http://www.dlr.de/) and contributors
13 /****************************************************************************/
14 //
15 // This file is part of SUMO.
16 // SUMO is free software: you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation, either version 3 of the License, or
19 // (at your option) any later version.
20 //
21 /****************************************************************************/
22 #ifndef GUIPersonControl_h
23 #define GUIPersonControl_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 #include <vector>
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
46 public:
49 
50 
52  virtual ~GUIPersonControl();
53 
54 
60  virtual MSPerson* buildPerson(const SUMOVehicleParameter* pars, const MSVehicleType* vtype, MSTransportable::MSTransportablePlan* plan) const;
61 
66  void insertPersonIDs(std::vector<GUIGlID>& into);
67 };
68 
69 
70 #endif
71 
72 /****************************************************************************/
void insertPersonIDs(std::vector< GUIGlID > &into)
Returns the list of all known persons by gl-id.
virtual ~GUIPersonControl()
destructor
The car-following model and parameter.
Definition: MSVehicleType.h:74
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
virtual MSPerson * buildPerson(const SUMOVehicleParameter *pars, const MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan) const
Builds a new person.
Structure representing possible vehicle parameter.
GUIPersonControl()
constructor
GUI-version of the person control for building gui persons.