49 return new GUIPerson(pars, vtype, plan, speedFactor);
GUIGlID getGlID() const
Returns the numerical id of the object.
virtual MSTransportable * buildContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan) const
Builds a new container.
void insertIDs(std::vector< GUIGlID > &into)
Returns the list of all known persons by gl-id.
virtual MSTransportable * buildPerson(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, SumoRNG *rng) const
Builds a new person.
GUITransportableControl(const bool isPerson)
constructor
virtual ~GUITransportableControl()
destructor
std::map< std::string, MSTransportable * > myTransportables
all currently created transportables by id
std::vector< MSStage * > MSTransportablePlan
the structure holding the plan of a transportable
The car-following model and parameter.
double computeChosenSpeedDeviation(SumoRNG *rng, const double minDev=-1.) const
Computes and returns the speed deviation.
Structure representing possible vehicle parameter.