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 Member Functions | |
bool | defaultOptionOverrides (const OptionsCont &oc, const std::string &optionName) const |
Returns whether the defaults shall be used. More... | |
SUMOVehicleParameter () | |
Constructor. More... | |
bool | wasSet (int what) const |
Returns whether the given parameter was set. More... | |
void | writeAs (const std::string &xmlElem, OutputDevice &dev, const OptionsCont &oc) const |
Writes the parameters as a beginning element. More... | |
Static Public Member Functions | |
static SUMOReal | interpretEdgePos (SUMOReal pos, SUMOReal maximumValue, SumoXMLAttr attr, const std::string &id) |
Interprets negative edge positions and fits them onto a given edge. More... | |
Depart/arrival-attributes verification | |
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, SUMOReal &pos, DepartPosDefinition &dpd, std::string &error) |
Validates a given departPos value. More... | |
static bool | parseDepartSpeed (const std::string &val, const std::string &element, const std::string &id, SUMOReal &speed, DepartSpeedDefinition &dsd, std::string &error) |
Validates a given departSpeed 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, SUMOReal &pos, ArrivalPosDefinition &apd, std::string &error) |
Validates a given arrivalPos value. More... | |
static bool | parseArrivalSpeed (const std::string &val, const std::string &element, const std::string &id, SUMOReal &speed, ArrivalSpeedDefinition &asd, std::string &error) |
Validates a given arrivalSpeed value. More... | |
Data Fields | |
RGBColor | color |
The vehicle's color. 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... | |
unsigned int | personCapacity |
The vehicle's capacity (persons) More... | |
unsigned int | personNumber |
The number of persons in the vehicle. More... | |
std::string | routeid |
The vehicle's route id. More... | |
int | setParameter |
Information for the router which parameter were set. More... | |
std::vector< Stop > | stops |
List of the stops the vehicle will make. More... | |
std::string | toTaz |
The vehicle's destination zone (district) More... | |
std::string | vtypeid |
The vehicle's type id. More... | |
Departure definition | |
SUMOTime | depart |
The vehicle's departure time. More... | |
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... | |
SUMOReal | departPos |
(optional) The position the vehicle shall depart from More... | |
DepartPosDefinition | departPosProcedure |
Information how the vehicle shall choose the departure position. More... | |
SUMOReal | departSpeed |
(optional) The initial speed of the vehicle More... | |
DepartSpeedDefinition | departSpeedProcedure |
Information how the vehicle's initial speed shall be chosen. More... | |
Arrival definition | |
int | arrivalLane |
(optional) The lane the vehicle shall arrive on (not used yet) More... | |
ArrivalLaneDefinition | arrivalLaneProcedure |
Information how the vehicle shall choose the lane to arrive on. More... | |
SUMOReal | arrivalPos |
(optional) The position the vehicle shall arrive on More... | |
ArrivalPosDefinition | arrivalPosProcedure |
Information how the vehicle shall choose the arrival position. More... | |
SUMOReal | 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 | |
int | repetitionNumber |
The number of times the vehicle shall be repeatedly inserted. More... | |
int | repetitionsDone |
The number of times the vehicle was already inserted. More... | |
SUMOReal | repetitionOffset |
The time offset between vehicle reinsertions. More... | |
Structure representing possible vehicle parameter.
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 222 of file SUMOVehicleParameter.h.
SUMOVehicleParameter::SUMOVehicleParameter | ( | ) |
Constructor.
Initialises the structure with default values
Definition at line 48 of file SUMOVehicleParameter.cpp.
References DEFAULT_VTYPE_ID.
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 63 of file SUMOVehicleParameter.cpp.
References OptionsCont::getBool(), and OptionsCont::isSet().
Referenced by writeAs().
|
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 410 of file SUMOVehicleParameter.cpp.
References toString(), and WRITE_WARNING.
Referenced by MSPerson::MSPersonStage_Waiting::MSPersonStage_Waiting(), and MSPerson::MSPersonStage_Walking::MSPersonStage_Walking().
|
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 342 of file SUMOVehicleParameter.cpp.
References TplConvert::_2int(), ARRIVAL_LANE_CURRENT, and ARRIVAL_LANE_GIVEN.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), and SUMOVehicleParserHelper::parseCommonAttributes().
|
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 366 of file SUMOVehicleParameter.cpp.
References TplConvert::_2SUMOReal(), ARRIVAL_POS_GIVEN, ARRIVAL_POS_MAX, and ARRIVAL_POS_RANDOM.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), and SUMOVehicleParserHelper::parseCommonAttributes().
|
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 389 of file SUMOVehicleParameter.cpp.
References TplConvert::_2SUMOReal(), ARRIVAL_SPEED_CURRENT, and ARRIVAL_SPEED_GIVEN.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), and 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 253 of file SUMOVehicleParameter.cpp.
References TplConvert::_2int(), DEPART_LANE_ALLOWED_FREE, DEPART_LANE_BEST_FREE, DEPART_LANE_FREE, DEPART_LANE_GIVEN, and DEPART_LANE_RANDOM.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), and SUMOVehicleParserHelper::parseCommonAttributes().
|
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 283 of file SUMOVehicleParameter.cpp.
References TplConvert::_2SUMOReal(), DEPART_POS_BASE, DEPART_POS_FREE, DEPART_POS_GIVEN, DEPART_POS_MAX_SPEED_GAP, DEPART_POS_PWAG_GENERIC, DEPART_POS_PWAG_SIMPLE, DEPART_POS_RANDOM, and DEPART_POS_RANDOM_FREE.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), and SUMOVehicleParserHelper::parseCommonAttributes().
|
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 316 of file SUMOVehicleParameter.cpp.
References TplConvert::_2SUMOReal(), DEPART_SPEED_GIVEN, DEPART_SPEED_MAX, and DEPART_SPEED_RANDOM.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), and SUMOVehicleParserHelper::parseCommonAttributes().
Returns whether the given parameter was set.
[in] | what | The parameter which one asks for |
Definition at line 235 of file SUMOVehicleParameter.h.
References setParameter.
Referenced by MSDevice_Routing::buildVehicleDevices(), RORDLoader_TripDefs::myEndElement(), RORDGenerator_ODAmounts::myEndFlowAmountDef(), MSRouteHandler::myStartElement(), RORouteHandler::myStartElement(), RORDLoader_SUMOBase::parseRoute(), and writeAs().
void SUMOVehicleParameter::writeAs | ( | const std::string & | xmlElem, |
OutputDevice & | dev, | ||
const OptionsCont & | oc | ||
) | const |
Writes the parameters as a beginning element.
[in] | xmlElem | The name of the element to write |
[in,out] | dev | The device to write into |
[in] | oc | The options to get defaults from |
IOError | not yet implemented |
Definition at line 69 of file SUMOVehicleParameter.cpp.
References ARRIVAL_LANE_CURRENT, ARRIVAL_LANE_DEFAULT, ARRIVAL_LANE_GIVEN, ARRIVAL_POS_DEFAULT, ARRIVAL_POS_GIVEN, ARRIVAL_POS_MAX, ARRIVAL_POS_RANDOM, ARRIVAL_SPEED_CURRENT, ARRIVAL_SPEED_DEFAULT, ARRIVAL_SPEED_GIVEN, arrivalLane, arrivalLaneProcedure, arrivalPos, arrivalPosProcedure, arrivalSpeed, arrivalSpeedProcedure, OutputDevice::closeOpener(), color, defaultOptionOverrides(), depart, DEPART_LANE_ALLOWED_FREE, DEPART_LANE_BEST_FREE, DEPART_LANE_DEFAULT, DEPART_LANE_FREE, DEPART_LANE_GIVEN, DEPART_LANE_RANDOM, DEPART_POS_BASE, DEPART_POS_DEFAULT, DEPART_POS_FREE, DEPART_POS_GIVEN, DEPART_POS_MAX_SPEED_GAP, DEPART_POS_PWAG_GENERIC, DEPART_POS_PWAG_SIMPLE, DEPART_POS_RANDOM, DEPART_POS_RANDOM_FREE, DEPART_SPEED_DEFAULT, DEPART_SPEED_GIVEN, DEPART_SPEED_MAX, DEPART_SPEED_RANDOM, departLane, departLaneProcedure, departPos, departPosProcedure, departSpeed, departSpeedProcedure, fromTaz, OptionsCont::getString(), OptionsCont::isSet(), line, OutputDevice::openTag(), personCapacity, personNumber, repetitionNumber, repetitionOffset, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_COLOR, SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_LINE, SUMO_ATTR_PERIOD, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_REPNUMBER, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TYPE, time2string(), toString(), toTaz, VEHPARS_ARRIVALLANE_SET, VEHPARS_ARRIVALPOS_SET, VEHPARS_ARRIVALSPEED_SET, VEHPARS_COLOR_SET, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTPOS_SET, VEHPARS_DEPARTSPEED_SET, VEHPARS_LINE_SET, VEHPARS_PERIODFREQ_SET, VEHPARS_PERIODNUM_SET, VEHPARS_PERSON_CAPACITY_SET, VEHPARS_PERSON_NUMBER_SET, VEHPARS_TAZ_SET, VEHPARS_VTYPE_SET, vtypeid, wasSet(), and OutputDevice::writeAttr().
Referenced by ROVehicle::saveAllAsXML().
int SUMOVehicleParameter::arrivalLane |
(optional) The lane the vehicle shall arrive on (not used yet)
Definition at line 388 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSVehicle::getBestLanes(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
ArrivalLaneDefinition SUMOVehicleParameter::arrivalLaneProcedure |
Information how the vehicle shall choose the lane to arrive on.
Definition at line 390 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSVehicle::getBestLanes(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
SUMOReal SUMOVehicleParameter::arrivalPos |
(optional) The position the vehicle shall arrive on
Definition at line 392 of file SUMOVehicleParameter.h.
Referenced by MSBaseVehicle::calculateArrivalPos(), ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
ArrivalPosDefinition SUMOVehicleParameter::arrivalPosProcedure |
Information how the vehicle shall choose the arrival position.
Definition at line 394 of file SUMOVehicleParameter.h.
Referenced by MSBaseVehicle::calculateArrivalPos(), ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
SUMOReal SUMOVehicleParameter::arrivalSpeed |
(optional) The final speed of the vehicle (not used yet)
Definition at line 396 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSLane::isInsertionSuccess(), MSVehicle::move(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
ArrivalSpeedDefinition SUMOVehicleParameter::arrivalSpeedProcedure |
Information how the vehicle's end speed shall be chosen.
Definition at line 398 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSLane::isInsertionSuccess(), MSVehicle::move(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
|
mutable |
The vehicle's color.
Definition at line 359 of file SUMOVehicleParameter.h.
Referenced by RORDLoader_TripDefs::myEndElement(), RORDGenerator_ODAmounts::myEndFlowAmountDef(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
SUMOTime SUMOVehicleParameter::depart |
The vehicle's departure time.
Definition at line 366 of file SUMOVehicleParameter.h.
Referenced by MSVehicleContainer::add(), MSRouteHandler::addStop(), MSInsertionControl::checkFlows(), SUMORouteHandler::checkLastDepart(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), RORouteHandler::closePerson(), RORDLoader_SUMOBase::closeVehicle(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), traci::TraCIServer::commandAddVehicle(), ROVehicle::copy(), MSDevice_Tripinfo::generateOutput(), ROVehicle::getDepartureTime(), MSPerson::getDesiredDepart(), MSDevice_Routing::MSDevice_Routing(), MSRouteHandler::myStartElement(), RORDLoader_SUMOBase::myStartElement(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), TraCIServerAPI_Vehicle::processSet(), SUMORouteHandler::registerLastDepart(), MSInsertionControl::tryInsert(), MSVehicleControl::vehicleDeparted(), and writeAs().
int SUMOVehicleParameter::departLane |
(optional) The lane the vehicle shall depart from (index in edge)
Definition at line 370 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSEdge::getDepartLane(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
DepartLaneDefinition SUMOVehicleParameter::departLaneProcedure |
Information how the vehicle shall choose the lane to depart from.
Definition at line 372 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::add(), ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSEdge::getDepartLane(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
SUMOReal SUMOVehicleParameter::departPos |
(optional) The position the vehicle shall depart from
Definition at line 374 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSRouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
DepartPosDefinition SUMOVehicleParameter::departPosProcedure |
Information how the vehicle shall choose the departure position.
Definition at line 376 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::add(), ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSLane::insertVehicle(), MSEdge::insertVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
DepartDefinition SUMOVehicleParameter::departProcedure |
Information how the vehicle shall choose the depart time.
Definition at line 368 of file SUMOVehicleParameter.h.
Referenced by SUMORouteHandler::checkLastDepart(), MSRouteHandler::closeVehicle(), SUMOVehicleParserHelper::parseVehicleAttributes(), TraCIServerAPI_Vehicle::processSet(), and SUMORouteHandler::registerLastDepart().
SUMOReal SUMOVehicleParameter::departSpeed |
(optional) The initial speed of the vehicle
Definition at line 378 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSLane::insertVehicle(), MSVehicle::MSVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
DepartSpeedDefinition SUMOVehicleParameter::departSpeedProcedure |
Information how the vehicle's initial speed shall be chosen.
Definition at line 380 of file SUMOVehicleParameter.h.
Referenced by ROJTRFrame::checkOptions(), RODUAFrame::checkOptions(), checkOptions(), MSLane::insertVehicle(), MSVehicle::MSVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), TraCIServerAPI_Vehicle::processSet(), and writeAs().
std::string SUMOVehicleParameter::fromTaz |
The vehicle's origin zone (district)
Definition at line 422 of file SUMOVehicleParameter.h.
Referenced by MSDevice_Routing::buildVehicleDevices(), MSDevice_Vehroutes::generateOutput(), MSRouteHandler::myStartElement(), RORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), RORDLoader_SUMOBase::parseRoute(), MSDevice_Routing::preInsertionReroute(), MSBaseVehicle::reroute(), and writeAs().
std::string SUMOVehicleParameter::id |
The vehicle's id.
Definition at line 352 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), MSPersonControl::boardAnyWaiting(), MSInsertionControl::checkFlows(), SUMORouteHandler::checkLastDepart(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), MSRouteHandler::closeRoute(), RORouteHandler::closeRoute(), RORDLoader_SUMOBase::closeVehicle(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), traci::TraCIServer::commandAddVehicle(), ROVehicle::copy(), MSVehicle::enterLaneAtLaneChange(), MSBaseVehicle::getID(), ROVehicle::getID(), MSPerson::getID(), MSVehicle::move(), MSVehicle::moveChecked(), MSVehicle::MSVehicle(), RORDLoader_TripDefs::myEndElement(), RORDGenerator_ODAmounts::myEndFlowAmountDef(), RORDLoader_TripDefs::myStartElement(), SUMORouteHandler::myStartElement(), MSRouteHandler::myStartElement(), RORouteHandler::myStartElement(), MSRouteHandler::openRoute(), RORouteHandler::openRoute(), MSRouteHandler::openRouteDistribution(), RORouteHandler::openRouteDistribution(), SUMOVehicleParserHelper::parseCommonAttributes(), RORDGenerator_ODAmounts::parseFlowAmountDef(), SUMOVehicleParserHelper::parseFlowAttributes(), RORDLoader_SUMOBase::parseRoute(), SUMOVehicleParserHelper::parseVehicleAttributes(), TraCIServerAPI_Vehicle::processSet(), RORDLoader_SUMOBase::startAlternative(), and RORDLoader_SUMOBase::startRoute().
std::string SUMOVehicleParameter::line |
The vehicle's line (mainly for public transport)
Definition at line 419 of file SUMOVehicleParameter.h.
Referenced by MSPersonControl::boardAnyWaiting(), MSVehicleControl::getWaitingVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
unsigned int SUMOVehicleParameter::personCapacity |
The vehicle's capacity (persons)
Definition at line 455 of file SUMOVehicleParameter.h.
Referenced by SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
unsigned int SUMOVehicleParameter::personNumber |
The number of persons in the vehicle.
Definition at line 458 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::getPersonNumber(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().
int SUMOVehicleParameter::repetitionNumber |
The number of times the vehicle shall be repeatedly inserted.
Definition at line 406 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::checkFlows(), MSRouteHandler::closeFlow(), MSRouteHandler::closeRoute(), GUIVehicle::getParameterWindow(), SUMORouteHandler::myEndElement(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), and writeAs().
SUMOReal SUMOVehicleParameter::repetitionOffset |
The time offset between vehicle reinsertions.
Definition at line 413 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::checkFlows(), MSRouteHandler::closeFlow(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), and writeAs().
int SUMOVehicleParameter::repetitionsDone |
The number of times the vehicle was already inserted.
Definition at line 408 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::checkFlows(), and MSRouteHandler::closeFlow().
std::string SUMOVehicleParameter::routeid |
The vehicle's route id.
Definition at line 355 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::add(), MSInsertionControl::checkFlows(), MSRouteHandler::closeFlow(), RORDLoader_SUMOBase::closeVehicle(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), and SUMOVehicleParserHelper::parseCommonAttributes().
|
mutable |
Information for the router which parameter were set.
Definition at line 461 of file SUMOVehicleParameter.h.
Referenced by SUMORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), TraCIServerAPI_Vehicle::processSet(), and wasSet().
std::vector<Stop> SUMOVehicleParameter::stops |
List of the stops the vehicle will make.
Definition at line 452 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), and MSVehicle::MSVehicle().
std::string SUMOVehicleParameter::toTaz |
The vehicle's destination zone (district)
Definition at line 425 of file SUMOVehicleParameter.h.
Referenced by MSDevice_Routing::buildVehicleDevices(), MSDevice_Vehroutes::generateOutput(), SUMOVehicleParserHelper::parseCommonAttributes(), RORDLoader_SUMOBase::parseRoute(), MSDevice_Routing::preInsertionReroute(), MSBaseVehicle::reroute(), and writeAs().
std::string SUMOVehicleParameter::vtypeid |
The vehicle's type id.
Definition at line 357 of file SUMOVehicleParameter.h.
Referenced by MSInsertionControl::add(), MSInsertionControl::checkFlows(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), RORDLoader_SUMOBase::closeVehicle(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), RORDLoader_TripDefs::myEndElement(), RORDGenerator_ODAmounts::myEndFlowAmountDef(), SUMOVehicleParserHelper::parseCommonAttributes(), and writeAs().