![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <string>
#include <set>
#include <limits>
#include <utils/common/StdDefs.h>
#include <utils/common/UtilExceptions.h>
#include <utils/common/StringBijection.h>
#include <utils/xml/SUMOXMLDefinitions.h>
Go to the source code of this file.
Data Structures | |
class | StopOffset |
stop offset More... | |
Typedefs | |
typedef int | SUMOEmissionClass |
typedef int | SVCPermissions |
bitset where each bit declares whether a certain SVC may use this edge/lane More... | |
Enumerations | |
enum | SUMOVehicleClass { SVC_IGNORING = 0 , SVC_PRIVATE = 1 , SVC_EMERGENCY = 1 << 1 , SVC_AUTHORITY = 1 << 2 , SVC_ARMY = 1 << 3 , SVC_VIP = 1 << 4 , SVC_PEDESTRIAN = 1 << 5 , SVC_PASSENGER = 1 << 6 , SVC_HOV = 1 << 7 , SVC_TAXI = 1 << 8 , SVC_BUS = 1 << 9 , SVC_COACH = 1 << 10 , SVC_DELIVERY = 1 << 11 , SVC_TRUCK = 1 << 12 , SVC_TRAILER = 1 << 13 , SVC_MOTORCYCLE = 1 << 14 , SVC_MOPED = 1 << 15 , SVC_BICYCLE = 1 << 16 , SVC_E_VEHICLE = 1 << 17 , SVC_TRAM = 1 << 18 , SVC_RAIL_URBAN = 1 << 19 , SVC_RAIL = 1 << 20 , SVC_RAIL_ELECTRIC = 1 << 21 , SVC_RAIL_FAST = 1 << 22 , SVC_SHIP = 1 << 23 , SVC_CUSTOM1 = 1 << 24 , SVC_CUSTOM2 = 1 << 25 , SVC_RAIL_CLASSES = SVC_RAIL_ELECTRIC | SVC_RAIL_FAST | SVC_RAIL | SVC_RAIL_URBAN | SVC_TRAM , SVC_PUBLIC_CLASSES = SVC_BUS | SVC_RAIL_CLASSES , SVC_ROAD_CLASSES , SVC_NON_ROAD = SVC_RAIL_CLASSES | SVC_SHIP } |
Definition of vehicle classes to differ between different lane usage and authority types. More... | |
enum class | SUMOVehicleShape { UNKNOWN , PEDESTRIAN , BICYCLE , MOPED , MOTORCYCLE , PASSENGER , PASSENGER_SEDAN , PASSENGER_HATCHBACK , PASSENGER_WAGON , PASSENGER_VAN , TAXI , DELIVERY , TRUCK , TRUCK_SEMITRAILER , TRUCK_1TRAILER , BUS , BUS_COACH , BUS_FLEXIBLE , BUS_TROLLEY , RAIL , RAIL_CAR , RAIL_CARGO , E_VEHICLE , ANT , SHIP , EMERGENCY , FIREBRIGADE , POLICE , RICKSHAW , SCOOTER } |
Definition of vehicle classes to differ between different appearances. More... | |
Functions | |
bool | canParseVehicleClasses (const std::string &classes) |
Checks whether the given string contains only known vehicle classes. More... | |
bool | canParseVehicleShape (const std::string &shape) |
Checks whether the given string contains only known vehicle shape. More... | |
double | getDefaultVehicleLength (const SUMOVehicleClass vc=SVC_IGNORING) |
Returns the default vehicle length This put into a function so it can be used by NBVehicle. More... | |
int | getVehicleClassCompoundID (const std::string &name) |
Returns the OR'ed id of the compound class given by its name. More... | |
SUMOVehicleClass | getVehicleClassID (const std::string &name) |
Returns the class id of the abstract class given by its name. More... | |
const std::string & | getVehicleClassNames (SVCPermissions permissions, bool expand=false) |
Returns the ids of the given classes, divided using a ' '. More... | |
const std::vector< std::string > & | getVehicleClassNamesList (SVCPermissions permissions) |
Returns the ids of the given classes, divided using a ' '. More... | |
SUMOVehicleShape | getVehicleShapeID (const std::string &name) |
Returns the class id of the shape class given by its name. More... | |
std::string | getVehicleShapeName (SUMOVehicleShape id) |
Returns the class name of the shape class given by its id. More... | |
SVCPermissions | invertPermissions (SVCPermissions permissions) |
negate the given permissions and ensure that only relevant bits are set More... | |
bool | isBikepath (SVCPermissions permissions) |
Returns whether an edge with the given permission is a bicycle edge. More... | |
bool | isForbidden (SVCPermissions permissions) |
Returns whether an edge with the given permission is a forbidden edge. More... | |
bool | isRailway (SVCPermissions permissions) |
Returns whether an edge with the given permission is a railway edge. More... | |
bool | isSidewalk (SVCPermissions permissions) |
Returns whether an edge with the given permission is a sidewalk. More... | |
bool | isTram (SVCPermissions permissions) |
Returns whether an edge with the given permission is a tram edge. More... | |
bool | isWaterway (SVCPermissions permissions) |
Returns whether an edge with the given permission is a waterway edge. More... | |
bool | noVehicles (SVCPermissions permissions) |
Returns whether an edge with the given permission forbids vehicles. More... | |
SVCPermissions | parseVehicleClasses (const std::string &allowedS) |
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes go into a separate container. More... | |
SVCPermissions | parseVehicleClasses (const std::string &allowedS, const std::string &disallowedS, double networkVersion=NETWORK_VERSION) |
Encodes the given vector of allowed and disallowed classes into a bitset. More... | |
SVCPermissions | parseVehicleClasses (const std::vector< std::string > &allowedS) |
Encodes the given vector of allowed class into a bitset Unlike the methods which parse a string it gives immediately a warning output on deprecated vehicle classes. More... | |
void | writePermissions (OutputDevice &into, SVCPermissions permissions) |
writes allowed disallowed attributes if needed; More... | |
void | writePreferences (OutputDevice &into, SVCPermissions preferred) |
writes allowed disallowed attributes if needed; More... | |
Variables | |
const std::string | DEFAULT_BIKETYPE_ID |
const double | DEFAULT_CONTAINER_TRANSHIP_SPEED |
const std::string | DEFAULT_CONTAINERTYPE_ID |
const double | DEFAULT_PEDESTRIAN_SPEED |
const std::string | DEFAULT_PEDTYPE_ID |
const std::string | DEFAULT_TAXITYPE_ID |
const double | DEFAULT_VEH_PROB |
const std::string | DEFAULT_VTYPE_ID |
const std::set< std::string > | DEFAULT_VTYPES |
std::set< std::string > | deprecatedVehicleClassesSeen |
const SUMOVehicleClass | SUMOVehicleClass_MAX |
StringBijection< SUMOVehicleClass > | SumoVehicleClassStrings |
StringBijection< SUMOVehicleShape > | SumoVehicleShapeStrings |
const SVCPermissions | SVC_UNSPECIFIED |
permissions not specified More... | |
const SVCPermissions | SVCAll |
all VClasses are allowed More... | |
Definition in file SUMOVehicleClass.h.
typedef int SUMOEmissionClass |
Definition at line 235 of file SUMOVehicleClass.h.
typedef int SVCPermissions |
bitset where each bit declares whether a certain SVC may use this edge/lane
Definition at line 222 of file SUMOVehicleClass.h.
enum SUMOVehicleClass |
Definition of vehicle classes to differ between different lane usage and authority types.
Bits:
From NavTeq:
Definition at line 135 of file SUMOVehicleClass.h.
|
strong |
Definition of vehicle classes to differ between different appearances.
Definition at line 48 of file SUMOVehicleClass.h.
bool canParseVehicleClasses | ( | const std::string & | classes | ) |
Checks whether the given string contains only known vehicle classes.
Definition at line 359 of file SUMOVehicleClass.cpp.
References StringTokenizer::hasNext(), StringTokenizer::next(), parseVehicleClassesCached, and SumoVehicleClassStrings.
Referenced by GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEVType::isValid(), GNEConnection::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNELane::isValid(), and GNELaneType::isValid().
bool canParseVehicleShape | ( | const std::string & | shape | ) |
Checks whether the given string contains only known vehicle shape.
Definition at line 460 of file SUMOVehicleClass.cpp.
References SumoVehicleShapeStrings.
Referenced by GNEVType::isValid().
double getDefaultVehicleLength | ( | const SUMOVehicleClass | vc = SVC_IGNORING | ) |
Returns the default vehicle length This put into a function so it can be used by NBVehicle.
[in] | vc | the vehicle class |
Definition at line 509 of file SUMOVehicleClass.cpp.
References SVC_BICYCLE, SVC_BUS, SVC_COACH, SVC_DELIVERY, SVC_EMERGENCY, SVC_MOPED, SVC_MOTORCYCLE, SVC_PEDESTRIAN, SVC_RAIL, SVC_RAIL_ELECTRIC, SVC_RAIL_FAST, SVC_RAIL_URBAN, SVC_SHIP, SVC_TRAILER, SVC_TRAM, and SVC_TRUCK.
int getVehicleClassCompoundID | ( | const std::string & | name | ) |
Returns the OR'ed id of the compound class given by its name.
[in] | name | The name of the abstract vehicle class |
Definition at line 317 of file SUMOVehicleClass.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
SUMOVehicleClass getVehicleClassID | ( | const std::string & | name | ) |
Returns the class id of the abstract class given by its name.
[in] | name | The name of the abstract vehicle class |
Definition at line 308 of file SUMOVehicleClass.cpp.
References SumoVehicleClassStrings.
Referenced by NIXMLPTHandler::addPTLine(), GNEFrameAttributeModules::AttributesEditorRow::AttributesEditorRow(), NIXMLTypesHandler::myStartElement(), NLHandler::myStartElement(), RONetHandler::myStartElement(), SUMOVehicleParserHelper::parseVehicleClass(), parseVehicleClasses(), GNEFrameAttributeModules::AttributesEditorRow::refreshAttributesEditorRow(), RODFNet::RODFNet(), and GNEVType::setAttribute().
const std::string & getVehicleClassNames | ( | SVCPermissions | permissions, |
bool | expand = false |
||
) |
Returns the ids of the given classes, divided using a ' '.
[in] | the | permissions to encode |
[in] | expand | whether 'all' should be used |
Definition at line 276 of file SUMOVehicleClass.cpp.
References getVehicleClassNamesCached, getVehicleClassNamesList(), joinToString(), SVCAll, and vehicleClassNameAll.
Referenced by IntermodalRouter< E, L, N, V >::compute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEEdge::getAttributeForSelection(), GNELane::getAttributeForSelection(), StopOffset::getExceptions(), GUILane::getParameterWindow(), GNEAllowVClassesDialog::onCmdAccept(), GNEAttributesCreatorRow::onCmdOpenAttributeDialog(), GNEAllowVClassesDialog::onCmdReset(), NBNode::recheckVClassConnections(), GNENet::restrictLane(), NWWriter_SUMO::writeConnection(), NWWriter_XML::writeEdgesAndConnections(), NBTypeCont::writeEdgeTypes(), NWWriter_SUMO::writeLane(), writePermissions(), writePreferences(), and NWWriter_SUMO::writeStopOffsets().
const std::vector< std::string > & getVehicleClassNamesList | ( | SVCPermissions | permissions | ) |
Returns the ids of the given classes, divided using a ' '.
[in] | the | permissions to encode |
Definition at line 289 of file SUMOVehicleClass.cpp.
References SumoVehicleClassStrings, SVC_IGNORING, and vehicleClassNamesListCached.
Referenced by LIBSUMO_NAMESPACE::Lane::getAllowed(), LIBSUMO_NAMESPACE::Lane::getDisallowed(), and getVehicleClassNames().
SUMOVehicleShape getVehicleShapeID | ( | const std::string & | name | ) |
Returns the class id of the shape class given by its name.
[in] | name | The name of the shape class |
Definition at line 450 of file SUMOVehicleClass.cpp.
References SumoVehicleShapeStrings.
Referenced by GNEVehicle::drawGL(), GNEVType::setAttribute(), and GNEVehicleTypeDialog::VTypeAtributes::VShapeRow::setVShapeLabelImage().
std::string getVehicleShapeName | ( | SUMOVehicleShape | id | ) |
Returns the class name of the shape class given by its id.
[in] | id | The id of the shape class |
Definition at line 466 of file SUMOVehicleClass.cpp.
References SumoVehicleShapeStrings.
Referenced by GNEVType::getAttribute(), GUIVehicle::getTypeParameterWindow(), GNEVType::overwriteVType(), and SUMOVTypeParameter::write().
SVCPermissions invertPermissions | ( | SVCPermissions | permissions | ) |
negate the given permissions and ensure that only relevant bits are set
Definition at line 393 of file SUMOVehicleClass.cpp.
References SVCAll.
Referenced by GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), LIBSUMO_NAMESPACE::Lane::getDisallowed(), parseVehicleClasses(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEConnection::setAttribute(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), LIBSUMO_NAMESPACE::Lane::setDisallowed(), and LIBSUMO_NAMESPACE::Edge::setDisallowedVehicleClasses().
bool isBikepath | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission is a bicycle edge.
[in] | permissions | The permissions of the edge |
Definition at line 479 of file SUMOVehicleClass.cpp.
References SVC_BICYCLE, and SVC_PASSENGER.
Referenced by NBEdge::getInternalLaneWidth(), and NIImporter_OpenStreetMap::insertEdge().
bool isForbidden | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission is a forbidden edge.
[in] | permissions | The permissions of the edge |
Definition at line 491 of file SUMOVehicleClass.cpp.
References SVCAll.
Referenced by NBOwnTLDef::allowUnrelated(), NBNode::ApproachingDivider::ApproachingDivider(), NBEdgeCont::checkGeometries(), NBEdge::divideOnEdges(), noVehicles(), NBOwnTLDef::patchStateForCrossings(), and NBEdge::recheckLanes().
bool isRailway | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission is a railway edge.
[in] | permissions | The permissions of the edge |
Definition at line 471 of file SUMOVehicleClass.cpp.
References SVC_PASSENGER, and SVC_RAIL_CLASSES.
Referenced by NIXMLPTHandler::addPTStop(), MSDevice_Tripinfo::addRideTransportData(), NBEdge::appendTurnaround(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), MSRailSignal::DriveWay::buildRoute(), MSRailSignal::DriveWay::checkCrossingFlanks(), NBEdgeCont::checkGeometries(), NBTrafficLightDefinition::collectAllLinks(), NBEdge::computeEdge2Edges(), GUILane::drawAsRailway(), GNELane::drawAsRailway(), MSVehicle::enterLaneAtMove(), NIImporter_OpenStreetMap::extendRailwayDistances(), GNELane::getColorValue(), GUILane::getColorValue(), NWWriter_OpenDrive::getLaneType(), NBNode::getLinkState(), RouterProvider< E, L, N, V >::getVehicleRouter(), GUIJunctionWrapper::GUIJunctionWrapper(), MSLane::incorporateVehicle(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::interpretTransportType(), NBEdge::isBidiRail(), MSLane::isInsertionSuccess(), NBEdge::isRailDeadEnd(), MSVehicle::leaveLane(), MSVehicle::planMoveInternal(), MSVehicle::processNextStop(), NBNodeCont::pruneClusterFringe(), NBEdge::recheckLanes(), NBNodeCont::removeComponents(), RORouteDef::repairCurrentRoute(), NBEdge::shiftPositionAtNode(), MSVehicle::updateBestLanes(), and MSRailSignalControl::vehicleStateChanged().
bool isSidewalk | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission is a sidewalk.
[in] | permissions | The permissions of the edge |
Definition at line 497 of file SUMOVehicleClass.cpp.
References SVC_PEDESTRIAN, and SVCAll.
Referenced by NBEdgeCont::checkGeometries(), and noVehicles().
bool isTram | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission is a tram edge.
[in] | permissions | The permissions of the edge |
Definition at line 475 of file SUMOVehicleClass.cpp.
References SVC_PASSENGER, SVC_RAIL_CLASSES, and SVC_TRAM.
Referenced by NBEdgeCont::joinTramEdges().
bool isWaterway | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission is a waterway edge.
[in] | permissions | The permissions of the edge |
Definition at line 485 of file SUMOVehicleClass.cpp.
References SVC_SHIP.
Referenced by NBNodeTypeComputer::computeNodeTypes(), GUILane::drawAsWaterway(), GNELane::drawAsWaterway(), GUILane::drawGL(), GUIJunctionWrapper::GUIJunctionWrapper(), and NBNodeCont::removeComponents().
bool noVehicles | ( | SVCPermissions | permissions | ) |
Returns whether an edge with the given permission forbids vehicles.
[in] | permissions | The permissions of the edge |
Definition at line 503 of file SUMOVehicleClass.cpp.
References isForbidden(), and isSidewalk().
Referenced by MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), and NEMALogic::init().
SVCPermissions parseVehicleClasses | ( | const std::string & | allowedS | ) |
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes go into a separate container.
[in] | classNames | Space separated class names |
[out] | container | The set of vehicle classes to fill throws ProcessError if parsing fails |
Definition at line 330 of file SUMOVehicleClass.cpp.
References deprecatedVehicleClassesSeen, getVehicleClassID(), StringTokenizer::hasNext(), StringTokenizer::next(), parseVehicleClassesCached, SumoVehicleClassStrings, SVCAll, and WRITE_ERROR.
Referenced by NIImporter_SUMO::_loadNetwork(), NIImporter_SUMO::addConnection(), NIXMLEdgesHandler::addEdge(), NIXMLEdgesHandler::addLane(), NLHandler::addLane(), TraCIServer::addSubscriptionFilter(), LIBSUMO_NAMESPACE::Vehicle::addSubscriptionFilterVClass(), NBEdgeCont::applyOptions(), NBNetBuilder::applyOptions(), NLEdgeControlBuilder::build(), MSVehicleType::check(), NBNetBuilder::compute(), MSTriggeredRerouter::myStartElement(), NIXMLTypesHandler::myStartElement(), GNEAttributesCreatorRow::onCmdOpenAttributeDialog(), RONetHandler::parseLane(), NIXMLConnectionsHandler::parseLaneBound(), AdditionalHandler::parseSumoBaseObject(), parseVehicleClasses(), LIBSUMO_NAMESPACE::Lane::setAllowed(), LIBSUMO_NAMESPACE::Edge::setAllowedVehicleClasses(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEConnection::setAttribute(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), LIBSUMO_NAMESPACE::Lane::setDisallowed(), LIBSUMO_NAMESPACE::Edge::setDisallowedVehicleClasses(), and StopOffset::StopOffset().
SVCPermissions parseVehicleClasses | ( | const std::string & | allowedS, |
const std::string & | disallowedS, | ||
double | networkVersion = NETWORK_VERSION |
||
) |
Encodes the given vector of allowed and disallowed classes into a bitset.
[in] | allowedS | Definition which classes are allowed |
[in] | disallowedS | Definition which classes are not allowed |
Definition at line 378 of file SUMOVehicleClass.cpp.
References invertPermissions(), parseVehicleClasses(), SVC_RAIL_FAST, SVCAll, TL, and WRITE_WARNING.
SVCPermissions parseVehicleClasses | ( | const std::vector< std::string > & | allowedS | ) |
Encodes the given vector of allowed class into a bitset Unlike the methods which parse a string it gives immediately a warning output on deprecated vehicle classes.
[in] | classesS | The names vector to parse |
Definition at line 399 of file SUMOVehicleClass.cpp.
References getVehicleClassID(), SumoVehicleClassStrings, SVCAll, and WRITE_WARNING.
void writePermissions | ( | OutputDevice & | into, |
SVCPermissions | permissions | ||
) |
writes allowed disallowed attributes if needed;
Definition at line 417 of file SUMOVehicleClass.cpp.
References getVehicleClassNames(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMOVehicleClass_MAX, SumoVehicleClassStrings, SVCAll, and OutputDevice::writeAttr().
Referenced by NWWriter_SUMO::writeConnection(), NWWriter_XML::writeEdgesAndConnections(), NBTypeCont::writeEdgeTypes(), and NWWriter_SUMO::writeLane().
void writePreferences | ( | OutputDevice & | into, |
SVCPermissions | preferred | ||
) |
writes allowed disallowed attributes if needed;
Definition at line 440 of file SUMOVehicleClass.cpp.
References getVehicleClassNames(), SUMO_ATTR_PREFER, SVCAll, and OutputDevice::writeAttr().
Referenced by NWWriter_XML::writeEdgesAndConnections(), and NWWriter_SUMO::writeLane().
|
extern |
Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), ROPerson::addTrip(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), RONet::getVehicleTypeSecure(), MSVehicleControl::initDefaultTypes(), GNEVType::isAttributeEnabled(), DemandElementSelector::refreshDemandElementSelector(), GNETypeFrame::TypeEditor::resetType(), RONet::RONet(), and MSStageTrip::setArrived().
|
extern |
Referenced by MSRouteHandler::addTranship().
|
extern |
Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNEAttributeCarrier::fillCommonContainerAttributes(), GNEContainerFrame::GNEContainerFrame(), MSVehicleControl::initDefaultTypes(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), DemandElementSelector::refreshDemandElementSelector(), GNETypeFrame::TypeEditor::resetType(), MSTransportable::routeOutput(), and GNEContainer::writeDemandElement().
|
extern |
|
extern |
Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), RONet::checkVType(), RORouteHandler::closePerson(), RORouteHandler::closePersonFlow(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), RONet::getVehicleTypeSecure(), GNEPersonFrame::GNEPersonFrame(), MSVehicleControl::initDefaultTypes(), GNEVType::isAttributeEnabled(), MSPModel_Striping::MSPModel_Striping(), SUMOVehicleParserHelper::parseFlowAttributes(), SUMOVehicleParserHelper::parseVehicleAttributes(), DemandElementSelector::refreshDemandElementSelector(), GNETypeFrame::TypeEditor::resetType(), RONet::RONet(), MSTransportable::routeOutput(), and GNEPerson::writeDemandElement().
|
extern |
Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), ROPerson::addTrip(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), MSVehicleControl::initDefaultTypes(), DemandElementSelector::refreshDemandElementSelector(), GNETypeFrame::TypeEditor::resetType(), RONet::RONet(), and MSStageTrip::setArrived().
|
extern |
|
extern |
Referenced by GNENetHelper::AttributeCarriers::addDefaultVTypes(), ROPerson::addTrip(), GNEAdditionalHandler::buildCalibratorFlow(), RONet::checkFlows(), RONet::checkVType(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), computeRoutes(), GNEAttributeCarrier::fillAdditionalElements(), GNEAttributeCarrier::fillCommonPersonAttributes(), GNEAttributeCarrier::fillVehicleElements(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), GNENetHelper::AttributeCarriers::getDefaultType(), RONet::getVehicleTypeSecure(), GNETypeFrame::GNETypeFrame(), GNEVehicleFrame::GNEVehicleFrame(), MSVehicleControl::initDefaultTypes(), GNEVType::isAttributeEnabled(), MSCalibrator::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), GNEVType::overwriteVType(), DemandElementSelector::refreshDemandElementSelector(), GNETypeFrame::TypeSelector::refreshTypeSelector(), GNETypeFrame::TypeEditor::resetType(), ROMAAssignments::ROMAAssignments(), RONet::RONet(), MSInsertionControl::saveState(), GNECalibratorFlow::setAttribute(), DemandElementSelector::showDemandElementSelector(), GNETypeFrame::TypeSelector::TypeSelector(), GNEVehicle::writeDemandElement(), RODFDetectorCon::writeEmitters(), and MSDevice_Vehroutes::writeOutput().
|
extern |
|
extern |
Definition at line 84 of file SUMOVehicleClass.cpp.
Referenced by NIImporter_SUMO::_loadNetwork(), NLEdgeControlBuilder::build(), loadNet(), ROLoader::loadNet(), NILoader::loadXML(), and parseVehicleClasses().
|
extern |
Definition at line 146 of file SUMOVehicleClass.cpp.
Referenced by MSEdge::rebuildAllowedLanes(), MSEdge::rebuildAllowedTargets(), and writePermissions().
|
extern |
|
extern |
|
extern |
permissions not specified
Definition at line 150 of file SUMOVehicleClass.cpp.
Referenced by NIImporter_SUMO::addConnection(), NIXMLEdgesHandler::addEdge(), NBEdge::allowsChangingLeft(), NBEdge::allowsChangingRight(), GNEConnection::getAttribute(), NIXMLConnectionsHandler::parseLaneBound(), NBEdge::recheckLanes(), GNEConnection::setAttribute(), NBEdge::updateChangeRestrictions(), NWWriter_SUMO::writeConnection(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeInternalEdges(), and NWWriter_SUMO::writeLane().
|
extern |
all VClasses are allowed
Definition at line 148 of file SUMOVehicleClass.cpp.
Referenced by IntermodalNetwork< E, L, N, V >::addCarEdges(), NLHandler::addLane(), NIImporter_OpenStreetMap::applyChangeProhibition(), NBEdge::buildInnerEdges(), NBNode::computeLanes2Lanes(), NBEdge::dismissVehicleClassInformation(), LIBSUMO_NAMESPACE::Lane::getAllowed(), NWWriter_DlrNavteq::getAllowedTypes(), GNEEdgeType::getAttribute(), GNELaneType::getAttribute(), GNEEdge::getAttributeForSelection(), GNELane::getAttributeForSelection(), NBEdge::getFirstNonPedestrianNonBicycleLaneIndex(), NWWriter_OpenDrive::getLaneType(), getVehicleClassNames(), NBEdgeCont::guessRoundabouts(), NBEdge::hasPermissions(), NBRailwayTopologyAnalyzer::hasRailway(), MSEdge::initialize(), GUIVisualizationSettings::initNeteditDefaults(), GUIVisualizationSettings::initSumoGuiDefaults(), invertPermissions(), isForbidden(), isSidewalk(), MSTriggeredRerouter::myEndElement(), MSTriggeredRerouter::notifyEnter(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), RONetHandler::parseLane(), parseVehicleClasses(), NBEdge::prohibitsChanging(), MSEdge::rebuildAllowedLanes(), NBEdge::recheckLanes(), MSLane::resetPermissions(), ROEdge::ROEdge(), GNEEdgeType::setAttribute(), GNELaneType::setAttribute(), MSTriggeredRerouter::setPermissions(), NBEdge::updateChangeRestrictions(), NWWriter_SUMO::writeConnection(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeInternalEdges(), NWWriter_SUMO::writeLane(), writePermissions(), writePreferences(), and NWWriter_DlrNavteq::writeProhibitedManoeuvres().