![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Structure representing possible vehicle parameter. More...
#include <SUMOVehicleParameter.h>
Data Structures | |
struct | Stop |
Definition of vehicle stop (position and duration) More... | |
Public Types | |
enum class | ParameterisedAttrType { STRING , DOUBLE } |
@brie enum for Parameterised type More... | |
Public Member Functions | |
void | clearParameter () |
Clears the parameter map. More... | |
bool | defaultOptionOverrides (const OptionsCont &oc, const std::string &optionName) const |
Returns whether the defaults shall be used. More... | |
double | getDouble (const std::string &key, const double defaultValue) const |
Returns the value for a given key converted to a double. More... | |
const std::string | getParameter (const std::string &key, const std::string defaultValue="") const |
Returns the value for a given key. More... | |
const std::map< std::string, std::string > & | getParametersMap () const |
Returns the inner key/value map. More... | |
std::string | getParametersStr (const std::string kvsep="=", const std::string sep="|") const |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More... | |
bool | knowsParameter (const std::string &key) const |
Returns whether the parameter is known. More... | |
virtual void | setParameter (const std::string &key, const std::string &value) |
Sets a parameter. More... | |
void | setParameters (const Parameterised ¶ms) |
set the inner key/value map in map<string, string> format More... | |
void | setParametersMap (const std::map< std::string, std::string > ¶msMap) |
set the inner key/value map in map<string, string> format More... | |
void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More... | |
SUMOVehicleParameter () | |
Constructor. More... | |
void | unsetParameter (const std::string &key) |
Removes a parameter. More... | |
void | updateParameters (const std::map< std::string, std::string > &mapArg) |
Adds or updates all given parameters from the map. More... | |
bool | wasSet (int what) const |
Returns whether the given parameter was set. More... | |
void | write (OutputDevice &dev, const OptionsCont &oc, const SumoXMLTag tag=SUMO_TAG_VEHICLE, const std::string &typeID="") const |
Writes the parameters as a beginning element. More... | |
void | writeParams (OutputDevice &device) const |
write Params in the given outputdevice More... | |
virtual | ~SUMOVehicleParameter () |
Destructor. More... | |
Static Public Member Functions | |
static bool | areParametersValid (const std::string &value, bool report=false, ParameterisedAttrType attrType=ParameterisedAttrType::STRING, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" More... | |
static double | interpretEdgePos (double pos, double maximumValue, SumoXMLAttr attr, const std::string &id, bool silent=false) |
Interprets negative edge positions and fits them onto a given edge. More... | |
static bool | parsePersonModes (const std::string &modes, const std::string &element, const std::string &id, SVCPermissions &modeSet, std::string &error) |
Validates a given person modes value. More... | |
static void | parseStopTriggers (const std::vector< std::string > &triggers, bool expectTrigger, Stop &stop) |
parses stop trigger values More... | |
Depart/arrival-attributes verification | |
static bool | parseDepart (const std::string &val, const std::string &element, const std::string &id, SUMOTime &depart, DepartDefinition &dd, std::string &error) |
Validates a given depart value. More... | |
static bool | parseDepartLane (const std::string &val, const std::string &element, const std::string &id, int &lane, DepartLaneDefinition &dld, std::string &error) |
Validates a given departLane value. More... | |
static bool | parseDepartPos (const std::string &val, const std::string &element, const std::string &id, double &pos, DepartPosDefinition &dpd, std::string &error) |
Validates a given departPos value. More... | |
static bool | parseDepartPosLat (const std::string &val, const std::string &element, const std::string &id, double &pos, DepartPosLatDefinition &dpd, std::string &error) |
Validates a given departPosLat value. More... | |
static bool | parseDepartSpeed (const std::string &val, const std::string &element, const std::string &id, double &speed, DepartSpeedDefinition &dsd, std::string &error) |
Validates a given departSpeed value. More... | |
static bool | parseDepartEdge (const std::string &val, const std::string &element, const std::string &id, int &edgeIndex, DepartEdgeDefinition &ded, std::string &error) |
Validates a given departEdge value. More... | |
static bool | parseArrivalLane (const std::string &val, const std::string &element, const std::string &id, int &lane, ArrivalLaneDefinition &ald, std::string &error) |
Validates a given arrivalLane value. More... | |
static bool | parseArrivalPos (const std::string &val, const std::string &element, const std::string &id, double &pos, ArrivalPosDefinition &apd, std::string &error) |
Validates a given arrivalPos value. More... | |
static bool | parseArrivalPosLat (const std::string &val, const std::string &element, const std::string &id, double &pos, ArrivalPosLatDefinition &apd, std::string &error) |
Validates a given arrivalPosLat value. More... | |
static bool | parseArrivalSpeed (const std::string &val, const std::string &element, const std::string &id, double &speed, ArrivalSpeedDefinition &asd, std::string &error) |
Validates a given arrivalSpeed value. More... | |
Data Fields | |
RGBColor | color |
The vehicle's color, TraCI may change this. More... | |
int | containerNumber |
The static number of containers in the vehicle when it departs. More... | |
std::string | fromTaz |
The vehicle's origin zone (district) More... | |
std::string | id |
The vehicle's id. More... | |
std::string | line |
The vehicle's line (mainly for public transport) More... | |
int | parametersSet |
Information for the router which parameter were set, TraCI may modify this (when changing color) More... | |
int | personNumber |
The static number of persons in the vehicle when it departs (not including boarding persons) More... | |
std::string | routeid |
The vehicle's route id. More... | |
double | speedFactor |
individual speedFactor (overriding distribution from vType) More... | |
std::vector< Stop > | stops |
List of the stops the vehicle will make, TraCI may add entries here. More... | |
SumoXMLTag | tag |
The vehicle tag. More... | |
std::string | toTaz |
The vehicle's destination zone (district) More... | |
std::vector< std::string > | via |
List of the via-edges the vehicle must visit. More... | |
std::string | vtypeid |
The vehicle's type id. More... | |
Departure definition | |
The vehicle's departure time | |
SUMOTime | depart |
DepartDefinition | departProcedure |
Information how the vehicle shall choose the depart time. More... | |
int | departLane |
(optional) The lane the vehicle shall depart from (index in edge) More... | |
DepartLaneDefinition | departLaneProcedure |
Information how the vehicle shall choose the lane to depart from. More... | |
double | departPos |
(optional) The position the vehicle shall depart from More... | |
DepartPosDefinition | departPosProcedure |
Information how the vehicle shall choose the departure position. More... | |
double | departPosLat |
(optional) The lateral position the vehicle shall depart from More... | |
DepartPosLatDefinition | departPosLatProcedure |
Information how the vehicle shall choose the lateral departure position. More... | |
double | departSpeed |
(optional) The initial speed of the vehicle More... | |
DepartSpeedDefinition | departSpeedProcedure |
Information how the vehicle's initial speed shall be chosen. More... | |
int | departEdge |
(optional) The initial edge within the route of the vehicle More... | |
DepartEdgeDefinition | departEdgeProcedure |
Information how the vehicle's initial edge shall be chosen. More... | |
Arrival definition | |
(optional) The lane the vehicle shall arrive on (not used yet) | |
int | arrivalLane |
ArrivalLaneDefinition | arrivalLaneProcedure |
Information how the vehicle shall choose the lane to arrive on. More... | |
double | arrivalPos |
(optional) The position the vehicle shall arrive on More... | |
ArrivalPosDefinition | arrivalPosProcedure |
Information how the vehicle shall choose the arrival position. More... | |
double | arrivalPosLat |
(optional) The lateral position the vehicle shall arrive on More... | |
ArrivalPosLatDefinition | arrivalPosLatProcedure |
Information how the vehicle shall choose the lateral arrival position. More... | |
double | arrivalSpeed |
(optional) The final speed of the vehicle (not used yet) More... | |
ArrivalSpeedDefinition | arrivalSpeedProcedure |
Information how the vehicle's end speed shall be chosen. More... | |
Repetition definition | |
The number of times the vehicle shall be repeatedly inserted | |
int | repetitionNumber |
int | repetitionsDone |
The number of times the vehicle was already inserted. More... | |
SUMOTime | repetitionOffset |
The time offset between vehicle reinsertions. More... | |
double | repetitionProbability |
The probability for emitting a vehicle per second. More... | |
SUMOTime | repetitionEnd |
The time at which the flow ends (only needed when using repetitionProbability) More... | |
Protected Member Functions | |
std::string | getArrivalLane () const |
obtain arrival lane parameter in string format More... | |
std::string | getArrivalPos () const |
obtain arrival pos parameter in string format More... | |
std::string | getArrivalPosLat () const |
obtain arrival pos lat parameter in string format More... | |
std::string | getArrivalSpeed () const |
obtain arrival speed parameter in string format More... | |
std::string | getDepart () const |
obtain depart parameter in string format More... | |
std::string | getDepartEdge () const |
obtain depart edge parameter in string format More... | |
std::string | getDepartLane () const |
obtain depart lane parameter in string format More... | |
std::string | getDepartPos () const |
obtain depart pos parameter in string format More... | |
std::string | getDepartPosLat () const |
obtain depart pos lat parameter in string format More... | |
std::string | getDepartSpeed () const |
obtain depart speed parameter in string format More... | |
Static Private Member Functions | |
static bool | isParameterValid (const std::string &value, ParameterisedAttrType attrType, const std::string &kvsep, const std::string &sep) |
check if given string can be parsed to a parameter of type "key=value" More... | |
Private Attributes | |
ParameterisedAttrType | myAttrType |
parameterised type More... | |
std::map< std::string, std::string > | myMap |
The key->value map. More... | |
Structure representing possible vehicle parameter.
When used within a vehicle, parameter are usually const except for selected items adaptable via TraCI which are flagged as mutable below The fields yielding with "Procedure" describe whether the according value shall be used or another procedure is used to choose the value.
Definition at line 299 of file SUMOVehicleParameter.h.
|
stronginherited |
@brie enum for Parameterised type
Enumerator | |
---|---|
STRING | Parameterised accept strings. |
DOUBLE | Parameterised only accept doubles. |
Definition at line 43 of file Parameterised.h.
SUMOVehicleParameter::SUMOVehicleParameter | ( | ) |
Constructor.
Initialises the structure with default values
Definition at line 36 of file SUMOVehicleParameter.cpp.
References DEFAULT.
|
virtual |
Destructor.
Definition at line 55 of file SUMOVehicleParameter.cpp.
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 217 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), and WRITE_WARNING.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorE3::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERerouterInterval::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), GNETAZRelData::isValid(), GNEPerson::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEInspectorFrame::ParametersEditorInspector::onCmdSetParameters(), and GNEFrameAttributesModuls::ParametersEditorCreator::onCmdSetParameters().
|
inherited |
Clears the parameter map.
Definition at line 140 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), and GNERouteHandler::closeRoute().
bool SUMOVehicleParameter::defaultOptionOverrides | ( | const OptionsCont & | oc, |
const std::string & | optionName | ||
) | const |
Returns whether the defaults shall be used.
[in] | oc | The options to get the options from |
[in] | optionName | The name of the option to determine whether its value shall be used |
Definition at line 60 of file SUMOVehicleParameter.cpp.
References OptionsCont::exists(), OptionsCont::getBool(), and OptionsCont::isSet().
Referenced by write().
|
protected |
obtain arrival lane parameter in string format
Definition at line 805 of file SUMOVehicleParameter.cpp.
References arrivalLane, arrivalLaneProcedure, CURRENT, DEFAULT, GIVEN, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
protected |
obtain arrival pos parameter in string format
Definition at line 823 of file SUMOVehicleParameter.cpp.
References arrivalPos, arrivalPosProcedure, CENTER, DEFAULT, GIVEN, MAX, RANDOM, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
protected |
obtain arrival pos lat parameter in string format
Definition at line 847 of file SUMOVehicleParameter.cpp.
References arrivalPos, arrivalPosLatProcedure, CENTER, DEFAULT, GIVEN, LEFT, RIGHT, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
protected |
obtain arrival speed parameter in string format
Definition at line 871 of file SUMOVehicleParameter.cpp.
References arrivalSpeed, arrivalSpeedProcedure, CURRENT, DEFAULT, GIVEN, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart parameter in string format
Definition at line 650 of file SUMOVehicleParameter.cpp.
References depart, DEPART_CONTAINER_TRIGGERED, DEPART_SPLIT, DEPART_TRIGGERED, departProcedure, and time2string().
Referenced by GNEPerson::getBegin(), and write().
|
protected |
obtain depart edge parameter in string format
Definition at line 787 of file SUMOVehicleParameter.cpp.
References DEFAULT, departEdge, departEdgeProcedure, GIVEN, RANDOM, and toString().
Referenced by write().
|
protected |
obtain depart lane parameter in string format
Definition at line 664 of file SUMOVehicleParameter.cpp.
References ALLOWED_FREE, BEST_FREE, DEFAULT, departLane, departLaneProcedure, FIRST_ALLOWED, FREE, GIVEN, RANDOM, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart pos parameter in string format
Definition at line 694 of file SUMOVehicleParameter.cpp.
References BASE, DEFAULT, departPos, departPosProcedure, FREE, GIVEN, LAST, RANDOM, RANDOM_FREE, STOP, and toString().
Referenced by GNEPerson::getAttribute(), GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart pos lat parameter in string format
Definition at line 727 of file SUMOVehicleParameter.cpp.
References CENTER, DEFAULT, departPos, departPosLatProcedure, FREE, GIVEN, LEFT, RANDOM, RANDOM_FREE, RIGHT, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
protected |
obtain depart speed parameter in string format
Definition at line 760 of file SUMOVehicleParameter.cpp.
References DEFAULT, departSpeed, departSpeedProcedure, DESIRED, GIVEN, LIMIT, MAX, RANDOM, and toString().
Referenced by GNEVehicle::getAttribute(), and write().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 122 of file Parameterised.cpp.
References Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by MSDevice_Battery::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 112 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GNEConnection::drawGL(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNELane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSBaseVehicle::getPrefixedParameter(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSSOTLPhasePolicy::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().
|
inherited |
Returns the inner key/value map.
Definition at line 146 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), GNEAdditional::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), GNETAZElement::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonStop::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVehicleType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GUILane::getParameterWindow(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), NIImporter_OpenStreetMap::insertEdge(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNEVehicleType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 152 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEPerson::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), and GNELaneType::getAttribute().
|
static |
Interprets negative edge positions and fits them onto a given edge.
[in] | pos | The position to be interpreted |
[in] | maximumValue | The maximum allowed value (edge length) |
[in] | attr | The attribute from which the value originated |
[in] | id | The id of the object to which this attribute belongs |
Definition at line 568 of file SUMOVehicleParameter.cpp.
References toString(), and WRITE_WARNING.
Referenced by MSRouteHandler::addRide(), MSRouteHandler::addStop(), MSRouteHandler::addTransport(), MSPerson::MSPersonStage_Walking::MSPersonStage_Walking(), MSStageTranship::MSStageTranship(), MSDevice_Transportable::notifyMove(), and SUMOVehicleParserHelper::parseWalkPos().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 240 of file Parameterised.cpp.
References Parameterised::DOUBLE, StringTokenizer::getVector(), SUMOXMLDefinitions::isValidParameterKey(), and StringUtils::toDouble().
Referenced by Parameterised::areParametersValid().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 106 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), and NWWriter_OpenDrive::writeRoadObjects().
|
static |
Validates a given arrivalLane value.
[in] | val | The arrivalLane value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | lane | The parsed lane, if given |
[out] | ald | The parsed arrivalLane definition |
[out] | error | Error message, if an error occures |
Definition at line 450 of file SUMOVehicleParameter.cpp.
References CURRENT, GIVEN, and StringUtils::toInt().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
|
static |
Validates a given arrivalPos value.
[in] | val | The arrivalPos value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | apd | The parsed arrivalPos definition |
[out] | error | Error message, if an error occures |
Definition at line 479 of file SUMOVehicleParameter.cpp.
References CENTER, GIVEN, MAX, RANDOM, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseWalkPos(), and GNEVehicle::setAttribute().
|
static |
Validates a given arrivalPosLat value.
[in] | val | The arrivalPosLat value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | apd | The parsed arrivalPos definition |
[out] | error | Error message, if an error occures |
Definition at line 509 of file SUMOVehicleParameter.cpp.
References CENTER, GIVEN, LEFT, RIGHT, and StringUtils::toDouble().
Referenced by GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
|
static |
Validates a given arrivalSpeed value.
[in] | val | The arrivalSpeed value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | speed | The parsed speed, if given |
[out] | asd | The parsed arrivalSpeed definition |
[out] | error | Error message, if an error occures |
Definition at line 539 of file SUMOVehicleParameter.cpp.
References CURRENT, GIVEN, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
|
static |
Validates a given depart value.
[in] | val | The depart value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | depart | The parsed depart time, if given |
[out] | dd | The parsed departProcedure definition |
[out] | error | Error message, if an error occures |
Definition at line 244 of file SUMOVehicleParameter.cpp.
References depart, DEPART_CONTAINER_TRIGGERED, DEPART_GIVEN, DEPART_NOW, DEPART_SPLIT, DEPART_TRIGGERED, and string2time().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given departEdge value.
[in] | val | The departEdge value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | edgeIndex | The parsed edge index, if given |
[out] | ded | The parsed departEdge definition |
[out] | error | Error message, if an error occures |
Definition at line 421 of file SUMOVehicleParameter.cpp.
References GIVEN, RANDOM, and StringUtils::toInt().
Referenced by SUMOVehicleParserHelper::parseCommonAttributes().
|
static |
Validates a given departLane value.
[in] | val | The departLane value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | lane | The parsed lane, if given |
[out] | dld | The parsed departLane definition |
[out] | error | Error message, if an error occures |
Definition at line 277 of file SUMOVehicleParameter.cpp.
References ALLOWED_FREE, BEST_FREE, FIRST_ALLOWED, FREE, GIVEN, RANDOM, and StringUtils::toInt().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and libsumo::Calibrator::setFlow().
|
static |
Validates a given departPos value.
[in] | val | The departPos value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | dpd | The parsed departPos definition |
[out] | error | Error message, if an error occures |
Definition at line 314 of file SUMOVehicleParameter.cpp.
References BASE, FREE, GIVEN, LAST, RANDOM, RANDOM_FREE, STOP, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEPerson::isValid(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
|
static |
Validates a given departPosLat value.
[in] | val | The departPosLat value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | pos | The parsed position, if given |
[out] | dpd | The parsed departPos definition |
[out] | error | Error message, if an error occures |
Definition at line 350 of file SUMOVehicleParameter.cpp.
References CENTER, FREE, GIVEN, LEFT, RANDOM, RANDOM_FREE, RIGHT, and StringUtils::toDouble().
Referenced by GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
|
static |
Validates a given departSpeed value.
[in] | val | The departSpeed value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | speed | The parsed speed, if given |
[out] | dsd | The parsed departSpeed definition |
[out] | error | Error message, if an error occures |
Definition at line 386 of file SUMOVehicleParameter.cpp.
References DESIRED, GIVEN, LIMIT, MAX, RANDOM, and StringUtils::toDouble().
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEVehicle::isValid(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and libsumo::Calibrator::setFlow().
|
static |
Validates a given person modes value.
[in] | modes | The modes value to parse |
[in] | element | The name of the type of the parsed element, for building the error message |
[in] | id | The id of the parsed element, for building the error message |
[out] | modeSet | The parsed modes definition |
[out] | error | Error message, if an error occures |
Definition at line 583 of file SUMOVehicleParameter.cpp.
References StringTokenizer::hasNext(), SVC_BICYCLE, SVC_BUS, SVC_PASSENGER, and SVC_TAXI.
Referenced by MSRouteHandler::addPersonTrip(), GNEFrameAttributesModuls::AttributesCreatorRow::checkComplexAttribute(), and GNEPersonTrip::isValid().
|
static |
parses stop trigger values
Definition at line 609 of file SUMOVehicleParameter.cpp.
References SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::joinTriggered, SUMO_ATTR_JOIN, SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, StringUtils::toBool(), toString(), SUMOVehicleParameter::Stop::triggered, and WRITE_ERROR.
Referenced by SUMORouteHandler::parseStop().
|
virtualinherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Reimplemented in GNEPoly, GNEPOI, and MSActuatedTrafficLightLogic.
Definition at line 75 of file Parameterised.cpp.
References Parameterised::DOUBLE, Parameterised::myAttrType, Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NIImporter_OpenDrive::loadNetwork(), MSStateHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), GNEAdditionalHandler::parseParameter(), GNEDataHandler::parseParameter(), GNEVehicleType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSActuatedTrafficLightLogic::setParameter(), GNEPOI::setParameter(), GNEPoly::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), and Parameterised::updateParameters().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 168 of file Parameterised.cpp.
References Parameterised::getParametersMap(), Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 179 of file Parameterised.cpp.
References Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
[in] | paramsString | A serialized key-value map |
[in] | kvsep | The separater between key and value |
[in] | sep | The separater between map entries |
Definition at line 190 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().
Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEPerson::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), and GNELaneType::setAttribute().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 92 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), and GNEVehicleType::setAttribute().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 98 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), NBEdge::NBEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().
|
inline |
Returns whether the given parameter was set.
[in] | what | The parameter which one asks for |
Definition at line 428 of file SUMOVehicleParameter.h.
References parametersSet.
Referenced by MSRouteHandler::addStop(), MSRouteHandler::addVehicleStopsToImplicitRoute(), MSTransportableDevice_Routing::buildDevices(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildTrip(), MSDevice_Routing::buildVehicleDevices(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::closeRoute(), MSRouteHandler::closeVehicle(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), MSBaseVehicle::getRouteValidity(), MEVehicle::loadState(), MSVehicle::loadState(), MSBaseVehicle::MSBaseVehicle(), MSDevice_Routing::MSDevice_Routing(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), MSDevice_Transportable::notifyMove(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), MSBaseVehicle::saveState(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), write(), and MSDevice_Vehroutes::writeOutput().
void SUMOVehicleParameter::write | ( | OutputDevice & | dev, |
const OptionsCont & | oc, | ||
const SumoXMLTag | tag = SUMO_TAG_VEHICLE , |
||
const std::string & | typeID = "" |
||
) | const |
Writes the parameters as a beginning element.
[in,out] | dev | The device to write into |
[in] | oc | The options to get defaults from |
[in] | tag | The "root" tag to write (defaults to vehicle) |
[in] | tag | The typeID to write (defaults to member vtypeid) |
IOError | not yet implemented |
Definition at line 66 of file SUMOVehicleParameter.cpp.
References color, containerNumber, defaultOptionOverrides(), OptionsCont::exists(), fromTaz, getArrivalLane(), getArrivalPos(), getArrivalPosLat(), getArrivalSpeed(), getDepart(), getDepartEdge(), getDepartLane(), getDepartPos(), getDepartPosLat(), getDepartSpeed(), OptionsCont::getString(), GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, OptionsCont::isSet(), line, OutputDevice::openTag(), personNumber, speedFactor, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTEDGE, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_LINE, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TYPE, SUMO_TAG_FLOW, SUMO_TAG_PERSONFLOW, tag, toTaz, VEHPARS_ARRIVALLANE_SET, VEHPARS_ARRIVALPOS_SET, VEHPARS_ARRIVALPOSLAT_SET, VEHPARS_ARRIVALSPEED_SET, VEHPARS_COLOR_SET, VEHPARS_CONTAINER_NUMBER_SET, VEHPARS_DEPARTEDGE_SET, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTPOS_SET, VEHPARS_DEPARTPOSLAT_SET, VEHPARS_DEPARTSPEED_SET, VEHPARS_FROM_TAZ_SET, VEHPARS_LINE_SET, VEHPARS_PERSON_NUMBER_SET, VEHPARS_SPEEDFACTOR_SET, VEHPARS_TO_TAZ_SET, VEHPARS_VTYPE_SET, vtypeid, wasSet(), OutputDevice::writeAttr(), and OutputDevice::writeNonEmptyAttr().
Referenced by MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MSBaseVehicle::saveState(), MSTransportable::saveState(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), and MSDevice_Vehroutes::writeOutput().
|
inherited |
write Params in the given outputdevice
Definition at line 205 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), SUMOVTypeParameter::write(), GNEAdditional::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), GNETAZ::writeTAZElement(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
int SUMOVehicleParameter::arrivalLane |
Definition at line 653 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalLane(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
ArrivalLaneDefinition SUMOVehicleParameter::arrivalLaneProcedure |
Information how the vehicle shall choose the lane to arrive on.
Definition at line 656 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), getArrivalLane(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and MSVehicle::updateBestLanes().
double SUMOVehicleParameter::arrivalPos |
(optional) The position the vehicle shall arrive on
Definition at line 659 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNERouteHandler::closePerson(), getArrivalPos(), getArrivalPosLat(), GNEVehicle::getAttributeDouble(), MSTriggeredRerouter::notifyEnter(), MSDevice_Transportable::notifyMove(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::rerouteParkingArea(), GNEVehicle::setAttribute(), and GNEVehicle::updateGeometry().
double SUMOVehicleParameter::arrivalPosLat |
(optional) The lateral position the vehicle shall arrive on
Definition at line 665 of file SUMOVehicleParameter.h.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
ArrivalPosLatDefinition SUMOVehicleParameter::arrivalPosLatProcedure |
Information how the vehicle shall choose the lateral arrival position.
Definition at line 668 of file SUMOVehicleParameter.h.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), getArrivalPosLat(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
ArrivalPosDefinition SUMOVehicleParameter::arrivalPosProcedure |
Information how the vehicle shall choose the arrival position.
Definition at line 662 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), getArrivalPos(), GNEVehicle::getAttributeDouble(), MSTriggeredRerouter::notifyEnter(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::rerouteParkingArea(), GNEVehicle::setAttribute(), and GNEVehicle::updateGeometry().
double SUMOVehicleParameter::arrivalSpeed |
(optional) The final speed of the vehicle (not used yet)
Definition at line 671 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalSpeed(), MSLane::isInsertionSuccess(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::planMoveInternal(), and GNEVehicle::setAttribute().
ArrivalSpeedDefinition SUMOVehicleParameter::arrivalSpeedProcedure |
Information how the vehicle's end speed shall be chosen.
Definition at line 674 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSBaseVehicle::calculateArrivalParams(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), getArrivalSpeed(), MSLane::isInsertionSuccess(), SUMOVehicleParserHelper::parseCommonAttributes(), MSVehicle::planMoveInternal(), and GNEVehicle::setAttribute().
|
mutable |
The vehicle's color, TraCI may change this.
Definition at line 608 of file SUMOVehicleParameter.h.
Referenced by GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEPerson::getColor(), GNEVehicle::getColor(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), MSDevice_ToC::setVehicleColor(), and write().
int SUMOVehicleParameter::containerNumber |
The static number of containers in the vehicle when it departs.
Definition at line 716 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), MSBaseVehicle::getContainerNumber(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and write().
SUMOTime SUMOVehicleParameter::depart |
Definition at line 613 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSTransportableControl::add(), MSVehicleContainer::add(), RONet::addFlow(), RORouteHandler::addFlowPerson(), MSRouteHandler::addFlowPerson(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRide(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), MSBaseVehicle::addStops(), MSRouteHandler::addTransport(), MSBaseVehicle::addTransportable(), MSRouteHandler::addWalk(), RONet::checkFlows(), SUMORouteHandler::checkLastDepart(), RORouteHandler::closeContainer(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closePerson(), MSRouteHandler::closePersonFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), RORouteHandler::closeVehicle(), ROPerson::computeRoute(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSDevice_Tripinfo::generateOutputForUnfinished(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicle::getAttributeDouble(), GNEPerson::getBegin(), GNEVehicle::getBegin(), RORoutable::getDepart(), getDepart(), MSBaseVehicle::getDepartDelay(), MSTransportable::getDesiredDepart(), MSDevice_Routing::MSDevice_Routing(), MSDevice_Taxi::MSDevice_Taxi(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), ROMARouteHandler::myEndElement(), ROJTRTurnDefLoader::myStartElement(), MSRouteHandler::myStartElement(), MSDevice_Vehroutes::notifyEnter(), parseDepart(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), SUMORouteHandler::registerLastDepart(), MSVehicleContainer::remove(), MSBaseVehicle::replaceRoute(), MSStageTrip::setArrived(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), METriggeredCalibrator::tryEmit(), MSInsertionControl::tryInsert(), MSVehicleControl::vehicleDeparted(), and MSDevice_Vehroutes::writeOutput().
int SUMOVehicleParameter::departEdge |
(optional) The initial edge within the route of the vehicle
Definition at line 643 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::closeVehicle(), getDepartEdge(), MSBaseVehicle::MSBaseVehicle(), and SUMOVehicleParserHelper::parseCommonAttributes().
DepartEdgeDefinition SUMOVehicleParameter::departEdgeProcedure |
Information how the vehicle's initial edge shall be chosen.
Definition at line 646 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::closeVehicle(), getDepartEdge(), MSBaseVehicle::MSBaseVehicle(), and SUMOVehicleParserHelper::parseCommonAttributes().
int SUMOVehicleParameter::departLane |
(optional) The lane the vehicle shall depart from (index in edge)
Definition at line 619 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNERouteHandler::closeRoute(), getDepartLane(), MSEdge::getDepartLane(), MSVehicle::hasValidRouteStart(), MSCalibrator::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), libsumo::Calibrator::setFlow(), MSCalibrator::setFlow(), and MSDevice_Vehroutes::writeOutput().
DepartLaneDefinition SUMOVehicleParameter::departLaneProcedure |
Information how the vehicle shall choose the lane to depart from.
Definition at line 622 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNERouteHandler::closeRoute(), ROVehicle::computeRoute(), MSCalibrator::execute(), getDepartLane(), MSEdge::getDepartLane(), MSVehicle::hasValidRouteStart(), MSEdge::insertVehicle(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSCalibrator::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSDevice_Routing::preInsertionReroute(), GNEVehicle::setAttribute(), libsumo::Calibrator::setFlow(), MSCalibrator::setFlow(), and MSDevice_Vehroutes::writeOutput().
double SUMOVehicleParameter::departPos |
(optional) The position the vehicle shall depart from
Definition at line 625 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRide(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTransport(), ROPerson::addTrip(), MSVehicleControl::addVehicle(), MSRouteHandler::addWalk(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNEPerson::getAttributeDouble(), GNEVehicle::getAttributeDouble(), getDepartPos(), MSEdge::getDepartPosBound(), getDepartPosLat(), MSLane::insertVehicle(), MSEdge::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), RORouteHandler::parseWalkPositions(), MSStageTrip::setArrived(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::updateGeometry(), and MSDevice_Vehroutes::writeOutput().
double SUMOVehicleParameter::departPosLat |
(optional) The lateral position the vehicle shall depart from
Definition at line 631 of file SUMOVehicleParameter.h.
Referenced by MSLane::getDepartPosLat(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and MSDevice_Vehroutes::writeOutput().
DepartPosLatDefinition SUMOVehicleParameter::departPosLatProcedure |
Information how the vehicle shall choose the lateral departure position.
Definition at line 634 of file SUMOVehicleParameter.h.
Referenced by getDepartPosLat(), MSLane::getDepartPosLat(), MSLane::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and MSDevice_Vehroutes::writeOutput().
DepartPosDefinition SUMOVehicleParameter::departPosProcedure |
Information how the vehicle shall choose the departure position.
Definition at line 628 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addFlowPerson(), MSRouteHandler::addPersonTrip(), MSBaseVehicle::addStop(), ROPerson::addTrip(), MSRouteHandler::addWalk(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), ROVehicle::computeRoute(), GNEPerson::getAttributeDouble(), GNEVehicle::getAttributeDouble(), getDepartPos(), MSEdge::getDepartPosBound(), MSLane::insertVehicle(), MSEdge::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), MSStageTrip::setArrived(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::updateGeometry(), and MSDevice_Vehroutes::writeOutput().
DepartDefinition SUMOVehicleParameter::departProcedure |
Information how the vehicle shall choose the depart time.
Definition at line 616 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addRide(), MSBaseVehicle::addTransportable(), ROPerson::addTrip(), MSVehicleControl::addVehicle(), SUMORouteHandler::checkLastDepart(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), getDepart(), MSDevice_Taxi::MSDevice_Taxi(), MSRouteHandler::myStartElement(), SUMOVehicleParserHelper::parseVehicleAttributes(), MSStageDriving::proceed(), SUMORouteHandler::registerLastDepart(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
double SUMOVehicleParameter::departSpeed |
(optional) The initial speed of the vehicle
Definition at line 637 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNERouteHandler::closeRoute(), getDepartSpeed(), MSLane::getDepartSpeed(), MSVehicle::hasValidRouteStart(), MEVehicle::MEVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), libsumo::Calibrator::setFlow(), MSCalibrator::setFlow(), MSEdge::validateDepartSpeed(), and MSDevice_Vehroutes::writeOutput().
DepartSpeedDefinition SUMOVehicleParameter::departSpeedProcedure |
Information how the vehicle's initial speed shall be chosen.
Definition at line 640 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), RODUAFrame::checkOptions(), ROJTRFrame::checkOptions(), checkOptions(), GNERouteHandler::closeRoute(), getDepartSpeed(), MSLane::getDepartSpeed(), MSVehicle::hasValidRouteStart(), MEVehicle::MEVehicle(), MSCalibrator::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), libsumo::Calibrator::setFlow(), MSCalibrator::setFlow(), MSEdge::validateDepartSpeed(), and MSDevice_Vehroutes::writeOutput().
std::string SUMOVehicleParameter::fromTaz |
The vehicle's origin zone (district)
Definition at line 701 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), and write().
std::string SUMOVehicleParameter::id |
The vehicle's id.
Definition at line 599 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSTransportableControl::add(), MSInsertionControl::addFlow(), RONet::addFlow(), RORouteHandler::addFlowPerson(), MSRouteHandler::addFlowPerson(), MSRouteHandler::addPersonTrip(), RORouteHandler::addPersonTrip(), MSRouteHandler::addRide(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), GNERouteHandler::addStop(), RORouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTransport(), ROPerson::addTrip(), MSRouteHandler::addVehicleStopsToImplicitRoute(), MSRouteHandler::addWalk(), RORouteHandler::addWalk(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), RONet::checkFlows(), SUMORouteHandler::checkLastDepart(), MSRouteHandler::closeContainer(), RORouteHandler::closeContainer(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closePerson(), GNERouteHandler::closePerson(), RORouteHandler::closePerson(), MSRouteHandler::closePersonFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), GNERouteHandler::closeRoute(), RORouteHandler::closeRoute(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), RORoutable::getID(), MSVehicle::handleCollisionStop(), MSEdge::insertVehicle(), MEVehicle::MEVehicle(), ROMARouteHandler::myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), RORouteHandler::myStartElement(), SUMORouteHandler::myStartElement(), GNERouteHandler::openFlow(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), MSRouteHandler::openRouteDistribution(), RORouteHandler::openRouteDistribution(), GNERouteHandler::openTrip(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), SUMOVehicleParserHelper::parseVehicleAttributes(), and MSEdge::validateDepartSpeed().
|
mutable |
The vehicle's line (mainly for public transport)
Definition at line 698 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSVehicleControl::addVehicle(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), GNEVehicle::drawGL(), GUIBaseVehicle::drawOnPos(), GNEVehicle::getAttribute(), LIBSUMO_NAMESPACE::Vehicle::getLine(), GUIVehicle::getParameterWindow(), GUIMEVehicle::getParameterWindow(), MSBaseVehicle::isLineStop(), RORoutable::isPublicTransport(), MSStageDriving::isWaitingFor(), GUIViewTraffic::onGamingClick(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMORouteHandler::registerLastDepart(), GUIVehicle::rerouteDRTStop(), MSBaseVehicle::saveState(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Vehicle::setLine(), MSStageDriving::setVehicle(), and write().
|
privateinherited |
parameterised type
Definition at line 143 of file Parameterised.h.
Referenced by Parameterised::Parameterised(), and Parameterised::setParameter().
|
privateinherited |
The key->value map.
Definition at line 146 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::Parameterised(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
mutable |
Information for the router which parameter were set, TraCI may modify this (when changing color)
Definition at line 722 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), MSInsertionControl::addFlow(), MSRouteHandler::addPersonTrip(), ROPerson::addTrip(), MSRouteHandler::closeFlow(), MSRouteHandler::closeTrip(), GNERouteHandler::closeTrip(), MSRouteHandler::closeVehicle(), GNEPerson::enableAttribute(), GNEVehicle::enableAttribute(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), MSTransportable::loadState(), MSVehicle::loadState(), MSBaseVehicle::MSBaseVehicle(), ROMARouteHandler::myStartElement(), MSStateHandler::myStartElement(), SUMORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), MSVehicle::saveState(), MSTransportable::saveState(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEPerson::setEnabledAttribute(), GNEVehicle::setEnabledAttribute(), MSDevice_ToC::setVehicleColor(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), wasSet(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), and SUMOVehicleParameter::Stop::writeTriggers().
int SUMOVehicleParameter::personNumber |
The static number of persons in the vehicle when it departs (not including boarding persons)
Definition at line 713 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), GNEVehicle::getAttribute(), MSBaseVehicle::getPersonNumber(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and write().
SUMOTime SUMOVehicleParameter::repetitionEnd |
The time at which the flow ends (only needed when using repetitionProbability)
Definition at line 693 of file SUMOVehicleParameter.h.
Referenced by RONet::checkFlows(), MSRouteHandler::closePersonFlow(), RORouteHandler::closePersonFlow(), MSInsertionControl::determineCandidates(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), ROJTRTurnDefLoader::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
int SUMOVehicleParameter::repetitionNumber |
Definition at line 681 of file SUMOVehicleParameter.h.
Referenced by RONet::addFlow(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSVehicleControl::addVehicle(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closePersonFlow(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), MSInsertionControl::determineCandidates(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), RORoutable::isPartOfFlow(), SUMORouteHandler::myEndElement(), ROJTRTurnDefLoader::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), and MSBaseVehicle::~MSBaseVehicle().
SUMOTime SUMOVehicleParameter::repetitionOffset |
The time offset between vehicle reinsertions.
Definition at line 687 of file SUMOVehicleParameter.h.
Referenced by RONet::addFlow(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSBaseVehicle::addStops(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closePersonFlow(), RORouteHandler::closePersonFlow(), MSInsertionControl::determineCandidates(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
double SUMOVehicleParameter::repetitionProbability |
The probability for emitting a vehicle per second.
Definition at line 690 of file SUMOVehicleParameter.h.
Referenced by RONet::checkFlows(), MSRouteHandler::closeFlow(), MSRouteHandler::closePersonFlow(), RORouteHandler::closePersonFlow(), MSInsertionControl::determineCandidates(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), ROJTRTurnDefLoader::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
int SUMOVehicleParameter::repetitionsDone |
The number of times the vehicle was already inserted.
Definition at line 684 of file SUMOVehicleParameter.h.
Referenced by MSBaseVehicle::addStops(), RONet::checkFlows(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), and MSInsertionControl::determineCandidates().
std::string SUMOVehicleParameter::routeid |
The vehicle's route id.
Definition at line 602 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildVehicleOverRoute(), RONet::checkFlows(), MSRouteHandler::closeFlow(), GNERouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), libsumo::Calibrator::getRouteID(), SUMORouteHandler::myStartElement(), RORouteHandler::openRoute(), RORouteHandler::openRouteDistribution(), SUMOVehicleParserHelper::parseCommonAttributes(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), libsumo::Calibrator::setFlow(), MSCalibrator::setFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToVehicle(), and MSBaseVehicle::~MSBaseVehicle().
double SUMOVehicleParameter::speedFactor |
individual speedFactor (overriding distribution from vType)
Definition at line 719 of file SUMOVehicleParameter.h.
Referenced by SUMOVehicleParserHelper::parseCommonAttributes(), and write().
|
mutable |
List of the stops the vehicle will make, TraCI may add entries here.
Definition at line 707 of file SUMOVehicleParameter.h.
Referenced by IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), GNERouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStops(), MSVehicle::addTraciStop(), MSRouteHandler::addVehicleStopsToImplicitRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleOverRoute(), RONet::checkFlows(), MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), MSBaseVehicle::isLineStop(), GUIVehicle::rerouteDRTStop(), and ROVehicle::ROVehicle().
SumoXMLTag SUMOVehicleParameter::tag |
The vehicle tag.
Definition at line 596 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::addStop(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::closeFlow(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), and write().
std::string SUMOVehicleParameter::toTaz |
The vehicle's destination zone (district)
Definition at line 704 of file SUMOVehicleParameter.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::add(), ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::reroute(), and write().
|
mutable |
List of the via-edges the vehicle must visit.
Definition at line 710 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::buildFlow(), GNERouteHandler::buildTrip(), MSVehicle::enterLaneAtMove(), GNEVehicle::getAttribute(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), LIBSUMO_NAMESPACE::Vehicle::getVia(), MEVehicle::moveRoutePointer(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), MSBaseVehicle::reroute(), ROVehicle::ROVehicle(), ROVehicle::saveAsXML(), GNEVehicle::setAttribute(), LIBSUMO_NAMESPACE::Vehicle::setVia(), and GNEVehicle::writeDemandElement().
std::string SUMOVehicleParameter::vtypeid |
The vehicle's type id.
Definition at line 605 of file SUMOVehicleParameter.h.
Referenced by ROPerson::addTrip(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), RONet::checkFlows(), MSRouteHandler::closeContainer(), MSRouteHandler::closeFlow(), RORouteHandler::closeFlow(), MSRouteHandler::closePerson(), GNERouteHandler::closePerson(), MSRouteHandler::closePersonFlow(), GNERouteHandler::closeRoute(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), libsumo::Calibrator::getTypeID(), ROMARouteHandler::myEndElement(), MSRouteHandler::myStartElement(), MSCalibrator::myStartElement(), RORouteHandler::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), RORouteHandler::parseGeoEdges(), SUMOVehicleParserHelper::parseVehicleAttributes(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), libsumo::Calibrator::setFlow(), MSCalibrator::setFlow(), and write().