![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <string>
#include <utils/common/Parameterised.h>
#include <utils/common/RGBColor.h>
#include <utils/common/SUMOTime.h>
#include <utils/common/SUMOVehicleClass.h>
Go to the source code of this file.
Data Structures | |
class | SUMOVehicleParameter |
Structure representing possible vehicle parameter. More... | |
struct | SUMOVehicleParameter::Stop |
Definition of vehicle stop (position and duration) More... | |
Variables | |
const double | MIN_STOP_LENGTH = 2 * POSITION_EPS |
const int | STOP_CONTAINER_TRIGGER_SET = 2 << 7 |
const int | STOP_DURATION_SET = 2 << 1 |
const int | STOP_END_SET = 2 |
const int | STOP_EXPECTED_CONTAINERS_SET = 2 << 8 |
const int | STOP_EXPECTED_SET = 2 << 6 |
const int | STOP_EXTENSION_SET = 2 << 3 |
const int | STOP_INDEX_END = -1 |
const int | STOP_INDEX_FIT = -2 |
const int | STOP_LINE_SET = 2 << 10 |
const int | STOP_PARKING_SET = 2 << 5 |
const int | STOP_SPEED_SET = 2 << 11 |
const int | STOP_START_SET = 1 |
const int | STOP_TRIGGER_SET = 2 << 4 |
const int | STOP_TRIP_ID_SET = 2 << 9 |
const int | STOP_UNTIL_SET = 2 << 2 |
const int | VEHPARS_ARRIVALLANE_SET = 2 << 10 |
const int | VEHPARS_ARRIVALPOS_SET = 2 << 11 |
const int | VEHPARS_ARRIVALPOSLAT_SET = 2 << 21 |
const int | VEHPARS_ARRIVALSPEED_SET = 2 << 12 |
const int | VEHPARS_COLOR_SET = 1 |
const int | VEHPARS_CONTAINER_NUMBER_SET = 2 << 19 |
const int | VEHPARS_DEPARTLANE_SET = 2 << 1 |
const int | VEHPARS_DEPARTPOS_SET = 2 << 2 |
const int | VEHPARS_DEPARTPOSLAT_SET = 2 << 20 |
const int | VEHPARS_DEPARTSPEED_SET = 2 << 3 |
const int | VEHPARS_END_SET = 2 << 4 |
const int | VEHPARS_FORCE_REROUTE = 2 << 16 |
const int | VEHPARS_FROM_TAZ_SET = 2 << 14 |
const int | VEHPARS_LINE_SET = 2 << 13 |
const int | VEHPARS_NUMBER_SET = 2 << 5 |
const int | VEHPARS_PERIOD_SET = 2 << 6 |
const int | VEHPARS_PERSON_CAPACITY_SET = 2 << 17 |
const int | VEHPARS_PERSON_NUMBER_SET = 2 << 18 |
const int | VEHPARS_PROB_SET = 2 << 8 |
const int | VEHPARS_ROUTE_SET = 2 << 9 |
const int | VEHPARS_SPEEDFACTOR_SET = 2 << 23 |
const int | VEHPARS_TO_TAZ_SET = 2 << 15 |
const int | VEHPARS_VIA_SET = 2 << 22 |
const int | VEHPARS_VPH_SET = 2 << 7 |
const int | VEHPARS_VTYPE_SET = 2 |
Definition in file SUMOVehicleParameter.h.
Possible ways to choose the arrival lane.
Definition at line 214 of file SUMOVehicleParameter.h.
enum ArrivalPosDefinition |
Possible ways to choose the arrival position.
Definition at line 230 of file SUMOVehicleParameter.h.
Possible ways to choose the departure position.
Definition at line 250 of file SUMOVehicleParameter.h.
Possible ways to choose the arrival speed.
Definition at line 270 of file SUMOVehicleParameter.h.
enum DepartDefinition |
Possible ways to depart.
Definition at line 98 of file SUMOVehicleParameter.h.
enum DepartLaneDefinition |
Possible ways to choose a lane on depart.
Definition at line 116 of file SUMOVehicleParameter.h.
enum DepartPosDefinition |
Possible ways to choose the departure position.
Definition at line 140 of file SUMOVehicleParameter.h.
Definition at line 166 of file SUMOVehicleParameter.h.
Possible ways to choose the departure speed.
Definition at line 192 of file SUMOVehicleParameter.h.
const double MIN_STOP_LENGTH = 2 * POSITION_EPS |
Definition at line 88 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), GNEStop::enableAttribute(), GNEStop::getStartGeometryPositionOverLane(), and MSVehicle::isStoppedInRange().
const int STOP_CONTAINER_TRIGGER_SET = 2 << 7 |
Definition at line 82 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_DURATION_SET = 2 << 1 |
Definition at line 76 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_END_SET = 2 |
Definition at line 75 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), GNEStop::commitGeometryMoving(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStop::getAttributeDouble(), GNEStop::getEndGeometryPositionOverLane(), GNEStop::getPositionInView(), GNEStop::getStartGeometryPositionOverLane(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), GNEStop::isDemandElementValid(), GNEStop::moveGeometry(), SUMORouteHandler::parseStop(), GUIVehicle::rerouteDRTStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_EXPECTED_CONTAINERS_SET = 2 << 8 |
Definition at line 83 of file SUMOVehicleParameter.h.
Referenced by GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_EXPECTED_SET = 2 << 6 |
Definition at line 81 of file SUMOVehicleParameter.h.
Referenced by GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_EXTENSION_SET = 2 << 3 |
Definition at line 78 of file SUMOVehicleParameter.h.
Referenced by GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_INDEX_END = -1 |
Definition at line 71 of file SUMOVehicleParameter.h.
Referenced by ROVehicle::addStop(), MSVehicle::addStop(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), SUMORouteHandler::parseStop(), and GNEStop::setAttribute().
const int STOP_INDEX_FIT = -2 |
Definition at line 72 of file SUMOVehicleParameter.h.
Referenced by ROVehicle::addStop(), MEVehicle::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), SUMORouteHandler::parseStop(), GUIVehicle::rerouteDRTStop(), and GNEStop::setAttribute().
const int STOP_LINE_SET = 2 << 10 |
Definition at line 85 of file SUMOVehicleParameter.h.
Referenced by SUMORouteHandler::parseStop(), and SUMOVehicleParameter::Stop::write().
const int STOP_PARKING_SET = 2 << 5 |
Definition at line 80 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), SUMORouteHandler::parseStop(), and SUMOVehicleParameter::Stop::write().
const int STOP_SPEED_SET = 2 << 11 |
Definition at line 86 of file SUMOVehicleParameter.h.
Referenced by SUMORouteHandler::parseStop(), and SUMOVehicleParameter::Stop::write().
const int STOP_START_SET = 1 |
Definition at line 74 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), GNEStop::commitGeometryMoving(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStop::getAttributeDouble(), GNEStop::getPositionInView(), GNEStop::getStartGeometryPositionOverLane(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), GNEStop::isDemandElementValid(), GNEStop::moveGeometry(), SUMORouteHandler::parseStop(), GUIVehicle::rerouteDRTStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_TRIGGER_SET = 2 << 4 |
Definition at line 79 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_TRIP_ID_SET = 2 << 9 |
Definition at line 84 of file SUMOVehicleParameter.h.
Referenced by GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int STOP_UNTIL_SET = 2 << 2 |
Definition at line 77 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), GNEStop::disableAttribute(), GNEStop::enableAttribute(), GNEStop::getAttribute(), GNEStopFrame::getStopParameter(), GNEStop::isAttributeEnabled(), SUMORouteHandler::parseStop(), GNEStop::setAttribute(), and SUMOVehicleParameter::Stop::write().
const int VEHPARS_ARRIVALLANE_SET = 2 << 10 |
Definition at line 56 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_ARRIVALPOS_SET = 2 << 11 |
Definition at line 57 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_ARRIVALPOSLAT_SET = 2 << 21 |
Definition at line 67 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_ARRIVALSPEED_SET = 2 << 12 |
Definition at line 58 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_COLOR_SET = 1 |
Definition at line 45 of file SUMOVehicleParameter.h.
Referenced by GNEPerson::getAttribute(), GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GUIContainer::setFunctionalColor(), GUIPerson::setFunctionalColor(), GUIBaseVehicle::setFunctionalColor(), MSDevice_ToC::setVehicleColor(), and SUMOVehicleParameter::write().
const int VEHPARS_CONTAINER_NUMBER_SET = 2 << 19 |
Definition at line 65 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_DEPARTLANE_SET = 2 << 1 |
Definition at line 47 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), SUMOVehicleParameter::write(), and MSDevice_Vehroutes::writeOutput().
const int VEHPARS_DEPARTPOS_SET = 2 << 2 |
Definition at line 48 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), ROPerson::addTrip(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), MSTransportable::Stage_Trip::setArrived(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), SUMOVehicleParameter::write(), and MSDevice_Vehroutes::writeOutput().
const int VEHPARS_DEPARTPOSLAT_SET = 2 << 20 |
Definition at line 66 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), SUMOVehicleParameter::write(), and MSDevice_Vehroutes::writeOutput().
const int VEHPARS_DEPARTSPEED_SET = 2 << 3 |
Definition at line 49 of file SUMOVehicleParameter.h.
Referenced by GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), SUMOVehicleParameter::write(), and MSDevice_Vehroutes::writeOutput().
const int VEHPARS_END_SET = 2 << 4 |
Definition at line 50 of file SUMOVehicleParameter.h.
Referenced by GNEFrameAttributesModuls::AttributesCreatorFlow::areValuesValid(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEFrameAttributesModuls::AttributesCreatorFlow::refreshAttributesCreatorFlow(), GNERouteHandler::setFlowParameters(), and GNEFrameAttributesModuls::AttributesCreatorFlow::setFlowParameters().
const int VEHPARS_FORCE_REROUTE = 2 << 16 |
Definition at line 62 of file SUMOVehicleParameter.h.
Referenced by libsumo::Vehicle::add(), MSInsertionControl::addFlow(), MSRouteHandler::addPersonTrip(), MSTransportableDevice_Routing::buildDevices(), MSDevice_Routing::buildVehicleDevices(), MSRouteHandler::closeFlow(), MSRouteHandler::closeTrip(), GNERouteHandler::closeTrip(), MSBaseVehicle::MSBaseVehicle(), MSDevice_Routing::MSDevice_Routing(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), MSStateHandler::myStartElement(), SUMORouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSInsertionControl::saveState(), MSBaseVehicle::saveState(), and MSDevice_Vehroutes::writeOutput().
const int VEHPARS_FROM_TAZ_SET = 2 << 14 |
Definition at line 60 of file SUMOVehicleParameter.h.
Referenced by ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), and SUMOVehicleParameter::write().
const int VEHPARS_LINE_SET = 2 << 13 |
Definition at line 59 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_NUMBER_SET = 2 << 5 |
Definition at line 51 of file SUMOVehicleParameter.h.
Referenced by GNEFrameAttributesModuls::AttributesCreatorFlow::areValuesValid(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEFrameAttributesModuls::AttributesCreatorFlow::refreshAttributesCreatorFlow(), GNERouteHandler::setFlowParameters(), and GNEFrameAttributesModuls::AttributesCreatorFlow::setFlowParameters().
const int VEHPARS_PERIOD_SET = 2 << 6 |
Definition at line 52 of file SUMOVehicleParameter.h.
Referenced by GNEFrameAttributesModuls::AttributesCreatorFlow::areValuesValid(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEFrameAttributesModuls::AttributesCreatorFlow::refreshAttributesCreatorFlow(), GNERouteHandler::setFlowParameters(), and GNEFrameAttributesModuls::AttributesCreatorFlow::setFlowParameters().
const int VEHPARS_PERSON_CAPACITY_SET = 2 << 17 |
Definition at line 63 of file SUMOVehicleParameter.h.
const int VEHPARS_PERSON_NUMBER_SET = 2 << 18 |
Definition at line 64 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::getAttribute(), SUMOVehicleParserHelper::parseCommonAttributes(), GNEVehicle::setAttribute(), and SUMOVehicleParameter::write().
const int VEHPARS_PROB_SET = 2 << 8 |
Definition at line 54 of file SUMOVehicleParameter.h.
Referenced by GNEFrameAttributesModuls::AttributesCreatorFlow::areValuesValid(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEFrameAttributesModuls::AttributesCreatorFlow::refreshAttributesCreatorFlow(), GNERouteHandler::setFlowParameters(), and GNEFrameAttributesModuls::AttributesCreatorFlow::setFlowParameters().
const int VEHPARS_ROUTE_SET = 2 << 9 |
Definition at line 55 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::closeVehicle(), SUMOVehicleParserHelper::parseCommonAttributes(), and GNEVehicle::setAttribute().
const int VEHPARS_SPEEDFACTOR_SET = 2 << 23 |
Definition at line 69 of file SUMOVehicleParameter.h.
Referenced by SUMOVehicleParserHelper::parseCommonAttributes(), MSBaseVehicle::saveState(), and SUMOVehicleParameter::write().
const int VEHPARS_TO_TAZ_SET = 2 << 15 |
Definition at line 61 of file SUMOVehicleParameter.h.
Referenced by ROMARouteHandler::myEndElement(), ROMARouteHandler::myStartElement(), SUMOVehicleParserHelper::parseCommonAttributes(), MSRouteHandler::parseFromViaTo(), RORouteHandler::parseFromViaTo(), and SUMOVehicleParameter::write().
const int VEHPARS_VIA_SET = 2 << 22 |
Definition at line 68 of file SUMOVehicleParameter.h.
Referenced by GNEVehicle::setAttribute().
const int VEHPARS_VPH_SET = 2 << 7 |
Definition at line 53 of file SUMOVehicleParameter.h.
Referenced by GNEFrameAttributesModuls::AttributesCreatorFlow::areValuesValid(), GNEPerson::isAttributeEnabled(), GNEVehicle::isAttributeEnabled(), SUMOVehicleParserHelper::parseFlowAttributes(), GNEFrameAttributesModuls::AttributesCreatorFlow::refreshAttributesCreatorFlow(), GNERouteHandler::setFlowParameters(), and GNEFrameAttributesModuls::AttributesCreatorFlow::setFlowParameters().
const int VEHPARS_VTYPE_SET = 2 |
Definition at line 46 of file SUMOVehicleParameter.h.
Referenced by ROPerson::addTrip(), SUMOVehicleParserHelper::parseCommonAttributes(), MSTransportable::Stage_Trip::setArrived(), SUMOVehicleParameter::write(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().