![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A base class for constraints. More...
#include <MSRailSignalConstraint.h>
Public Types | |
| enum | ConstraintType { PREDECESSOR = 0 , INSERTION_PREDECESSOR = 1 , FOE_INSERTION = 2 , INSERTION_ORDER = 3 , BIDI_PREDECESSOR = 4 } |
| typedef std::map< std::string, std::string > | Map |
| parameters map | |
Public Member Functions | |
| virtual bool | cleared () const =0 |
| whether the constraint has been met | |
| void | clearParameter () |
| Clears the parameter map. | |
| virtual std::string | getDescription () const |
| double | getDouble (const std::string &key, const double defaultValue) const |
| Returns the value for a given key converted to a double. | |
| virtual const SUMOVehicle * | getFoe () const |
| virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const |
| Returns the value for a given key. | |
| const Parameterised::Map & | getParametersMap () const |
| Returns the inner key/value map. | |
| 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". | |
| ConstraintType | getSwappedType () const |
| SumoXMLTag | getTag () const |
| ConstraintType | getType () const |
| bool | hasParameter (const std::string &key) const |
| Returns whether the parameter is set. | |
| virtual bool | isActive () const =0 |
| bool | isInsertionConstraint () const |
| void | mergeParameters (const Parameterised::Map &mapArg, const std::string separator=" ", bool uniqueValues=true) |
| Adds or appends all given parameters from the map. | |
| MSRailSignalConstraint (ConstraintType type) | |
| Constructor. | |
| virtual void | setActive (bool active)=0 |
| virtual void | setParameter (const std::string &key, const std::string &value) |
| Sets a parameter. | |
| void | setParameters (const Parameterised ¶ms) |
| set the given key/value map in map<string, string> format | |
| void | setParameters (const std::vector< std::pair< std::string, std::string > > ¶ms) |
| set the given key/value vector in map<string, string> format | |
| 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" | |
| void | unsetParameter (const std::string &key) |
| Removes a parameter. | |
| void | updateParameters (const Parameterised::Map &mapArg) |
| Adds or updates all given parameters from the map. | |
| virtual void | write (OutputDevice &out, const std::string &tripId) const =0 |
| void | writeParams (OutputDevice &device) const |
| write Params in the given outputdevice | |
| virtual | ~MSRailSignalConstraint () |
| Destructor. | |
Static Public Member Functions | |
| static bool | areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
| check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) | |
| static bool | areParametersValid (const std::string &value, bool report=false, 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" | |
| static void | cleanup () |
| clean up state | |
| static void | clearAll () |
| Remove all constraints before quick-loading state. | |
| static void | clearState () |
| Clear all constraint states before quick-loading state. | |
| static const std::string & | lookupVehId (const std::string &tripId) |
| static void | saveState (OutputDevice &out) |
| Saves the current constraint states into the given stream. | |
| static void | storeTripId (const std::string &tripId, const std::string &vehID) |
Static Protected Member Functions | |
| static const SUMOVehicle * | getVeh (const std::string &tripID, bool checkID=false) |
Protected Attributes | |
| ConstraintType | myType |
Static Protected Attributes | |
| static std::map< std::string, std::string > | myTripIdLookup |
Static Private Member Functions | |
| static bool | isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep) |
| check if given string can be parsed to a parameter of type "key=value" | |
Private Attributes | |
| Parameterised::Map | myMap |
| The key->value map. | |
A base class for constraints.
Definition at line 41 of file MSRailSignalConstraint.h.
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
| Enumerator | |
|---|---|
| PREDECESSOR | |
| INSERTION_PREDECESSOR | |
| FOE_INSERTION | |
| INSERTION_ORDER | |
| BIDI_PREDECESSOR | |
Definition at line 44 of file MSRailSignalConstraint.h.
|
inline |
Constructor.
Definition at line 54 of file MSRailSignalConstraint.h.
References myType.
Referenced by MSRailSignalConstraint_Predecessor::MSRailSignalConstraint_Predecessor(), and saveState().
|
inlinevirtual |
Destructor.
Definition at line 57 of file MSRailSignalConstraint.h.
|
staticinherited |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
Definition at line 207 of file Parameterised.cpp.
References StringTokenizer::getVector(), invalid_return< std::string >::value, isParameterValid(), TL, and WRITE_WARNINGF.
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 188 of file Parameterised.cpp.
References StringTokenizer::getVector(), invalid_return< std::string >::value, isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEAttributeCarrier::isCommonAttributeValid(), and GNETLSEditorFrame::TLSAttributes::isValidParameters().
|
static |
clean up state
Definition at line 48 of file MSRailSignalConstraint.cpp.
References MSRailSignalConstraint_Predecessor::cleanup().
Referenced by MSNet::clearAll().
|
static |
Remove all constraints before quick-loading state.
Definition at line 78 of file MSRailSignalConstraint.cpp.
References MSRailSignalControl::getInstance(), and myTripIdLookup.
Referenced by MSStateHandler::myStartElement().
|
pure virtual |
whether the constraint has been met
Implemented in MSRailSignalConstraint_Predecessor.
Referenced by MSRailSignal::constraintsAllow(), and MSRailSignal::hasInsertionConstraint().
|
inherited |
|
static |
Clear all constraint states before quick-loading state.
Definition at line 72 of file MSRailSignalConstraint.cpp.
References MSRailSignalConstraint_Predecessor::clearState(), and myTripIdLookup.
Referenced by MSTLLogicControl::clearState().
|
inlinevirtual |
Reimplemented in MSRailSignalConstraint_Predecessor.
Definition at line 66 of file MSRailSignalConstraint.h.
Referenced by MSRailSignal::constraintsAllow(), and MSRailSignal::hasInsertionConstraint().
|
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 100 of file Parameterised.cpp.
References myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSPModel_JuPedSim::add(), MSVehicleType::build(), EnergyParams::EnergyParams(), 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(), MSActuatedTrafficLightLogic::init(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), and MSDevice_Battery::readParameterValue().
|
inlinevirtual |
Reimplemented in MSRailSignalConstraint_Predecessor.
Definition at line 70 of file MSRailSignalConstraint.h.
Referenced by MSRailSignal::constraintsAllow(), and MSRailSignal::hasInsertionConstraint().
|
virtualinherited |
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 |
Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 90 of file Parameterised.cpp.
References myMap.
Referenced by MSPModel_JuPedSim::add(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), NBEdgeCont::attachRemoved(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), GUINet::createTLWrapper(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEGenericData::drawFilteredAttribute(), GUIEdge::drawGL(), GUIPointOfInterest::drawGL(), GNEPOI::drawPOI(), EnergyParams::EnergyParams(), MSPModel_JuPedSim::execute(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIBusStop::finishedLoading(), MSStoppingPlace::finishedLoading(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), MSBaseVehicle::getPrefixedParameter(), GNETAZRelData::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getStringParam(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSStoppingPlaceRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSInsertionControl::hasTaxiDeviceType(), MSRailSignalControl::haveDeadlock(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), MSStageDriving::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDispatch_Greedy::MSDispatch_Greedy(), MSDispatch_GreedyShared::MSDispatch_GreedyShared(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), MSVehicle::slowDownForSchedule(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), NBEdge::updateRemovedNodes(), MSDevice_SSM::useGeoCoords(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
Returns the inner key/value map.
Definition at line 124 of file Parameterised.cpp.
References myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), NBEdge::addLane(), NBEdge::append(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNEEdgeType::GNEEdgeType(), GNERoute::GNERoute(), GNERoute::GNERoute(), MSActuatedTrafficLightLogic::init(), MSRailCrossing::init(), MSDevice_Taxi::initDispatch(), MSPModel_JuPedSim::initialize(), NIImporter_OpenStreetMap::insertEdge(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), GUIParameterTableWindow::numParams(), GNEVType::overwriteVType(), setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), 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 130 of file Parameterised.cpp.
References myMap.
Referenced by GNEAttributeCarrier::getCommonAttribute().
|
inline |
Definition at line 95 of file MSRailSignalConstraint.h.
References FOE_INSERTION, INSERTION_PREDECESSOR, and myType.
Referenced by LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
inline |
Definition at line 80 of file MSRailSignalConstraint.h.
References BIDI_PREDECESSOR, FOE_INSERTION, INSERTION_ORDER, INSERTION_PREDECESSOR, myType, SUMO_TAG_BIDI_PREDECESSOR, SUMO_TAG_FOE_INSERTION, SUMO_TAG_INSERTION_ORDER, SUMO_TAG_INSERTION_PREDECESSOR, and SUMO_TAG_PREDECESSOR.
Referenced by MSRailSignalConstraint_Predecessor::getDescription(), and MSRailSignalConstraint_Predecessor::write().
|
inline |
Definition at line 76 of file MSRailSignalConstraint.h.
References myType.
Referenced by LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSRailSignal::hasInsertionConstraint(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
|
staticprotected |
Definition at line 87 of file MSRailSignalConstraint.cpp.
References Named::getID(), MSNet::getInstance(), Parameterised::getParameter(), SUMOTrafficObject::getParameter(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), and lookupVehId().
Referenced by MSRailSignalConstraint_Predecessor::getDescription(), and MSRailSignalConstraint_Predecessor::getFoe().
|
inherited |
Returns whether the parameter is set.
| [in] | key | The key to ask for |
Definition at line 84 of file Parameterised.cpp.
References myMap.
Referenced by MSStageWalking::activateEntryReminders(), NBEdge::append(), MSVehicleType::build(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), GUINet::createTLWrapper(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), GUIBusStop::finishedLoading(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GNETAZRelData::getScaleValue(), MSStoppingPlaceRerouter::getWeight(), MSStageDriving::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), NIImporter_OpenStreetMap::RelationHandler::myEndElement(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSVehicle::slowDownForSchedule(), MSDevice_SSM::useGeoCoords(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
pure virtual |
Implemented in MSRailSignalConstraint_Predecessor.
|
inline |
Definition at line 106 of file MSRailSignalConstraint.h.
References INSERTION_ORDER, INSERTION_PREDECESSOR, and myType.
Referenced by MSRailSignal::constraintsAllow(), and MSRailSignal::hasInsertionConstraint().
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 242 of file Parameterised.cpp.
References StringTokenizer::getVector(), invalid_return< std::string >::value, and SUMOXMLDefinitions::isValidParameterKey().
Referenced by areAttributesValid(), and areParametersValid().
|
static |
Definition at line 228 of file MSRailSignalConstraint.cpp.
References myTripIdLookup.
Referenced by getVeh().
|
inherited |
Adds or appends all given parameters from the map.
| [in] | mapArg | The keys/values to insert |
Definition at line 65 of file Parameterised.cpp.
References getParameter(), hasParameter(), and setParameter().
Referenced by NBEdge::append().
|
static |
Saves the current constraint states into the given stream.
Definition at line 53 of file MSRailSignalConstraint.cpp.
References OutputDevice::closeTag(), MSRailSignalControl::getInstance(), OptionsCont::getOptions(), MSRailSignalConstraint(), OutputDevice::openTag(), MSRailSignalConstraint_Predecessor::saveState(), SUMO_ATTR_ID, SUMO_TAG_RAILSIGNAL_CONSTRAINTS, write(), and OutputDevice::writeAttr().
Referenced by MSTLLogicControl::saveState().
|
pure virtual |
Implemented in MSRailSignalConstraint_Predecessor.
Referenced by MSRailSignalControl::haveDeadlock(), and LIBSUMO_NAMESPACE::TrafficLight::removeConstraints().
|
virtualinherited |
Sets a parameter.
| [in] | key | The parameter's name |
| [in] | value | The parameter's value |
Reimplemented in MSActuatedTrafficLightLogic, MSRailCrossing, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 45 of file Parameterised.cpp.
References invalid_return< std::string >::value, and myMap.
Referenced by MSCFModel_CACC::_v(), NBRailwayTopologyAnalyzer::addBidiEdge(), NLHandler::addDistrict(), NBOwnTLDef::buildNemaPhases(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSCFModel_CACC::freeSpeed(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), mergeParameters(), MSDevice_Bluelight::notifyMove(), MSDevice_Bluelight::resetVehicle(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), LIBSUMO_NAMESPACE::Simulation::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailCrossing::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), updateParameters(), NBEdge::updateRemovedNodes(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the given key/value map in map<string, string> format
Definition at line 146 of file Parameterised.cpp.
References getParametersMap(), myMap, and Parameterised().
Referenced by GNEVehicleFrame::buildVehicleOverRoute(), MSStageDriving::clone(), MSStageTranship::clone(), MSStageTrip::clone(), MSStageWaiting::clone(), MSStageWalking::clone(), GNEVehicleFrame::createPath(), and MSStageTrip::reroute().
|
inherited |
set the given key/value vector in map<string, string> format
Definition at line 152 of file Parameterised.cpp.
References myMap.
|
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 161 of file Parameterised.cpp.
References StringTokenizer::getVector(), myMap, and setParameter().
Referenced by MSDevice_Taxi::initDispatch(), and GNEAttributeCarrier::setCommonAttribute().
|
static |
Definition at line 223 of file MSRailSignalConstraint.cpp.
References myTripIdLookup.
Referenced by MSBaseVehicle::addStop().
|
inherited |
Removes a parameter.
| [in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
|
inherited |
Adds or updates all given parameters from the map.
| [in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), NBNode::addCrossing(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), NBTrafficLightLogic::NBTrafficLightLogic(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
|
pure virtual |
Implemented in MSRailSignalConstraint_Predecessor.
Referenced by MSRailSignalControl::haveDeadlock(), and saveState().
|
inherited |
write Params in the given outputdevice
Definition at line 176 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by MSStageWaiting::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MSRailSignalConstraint_Predecessor::write(), NBPTStop::write(), SUMOVehicleParameter::Stop::write(), SUMOVTypeParameter::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEEntryExitDetector::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNEPOI::writeAdditional(), GNEPoly::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeLane(), NWWriter_SUMO::writeTrafficLight(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
privateinherited |
The key->value map.
Definition at line 135 of file Parameterised.h.
Referenced by clearParameter(), getDouble(), getParameter(), getParametersMap(), getParametersStr(), hasParameter(), Parameterised(), setParameter(), setParameters(), setParameters(), setParametersStr(), unsetParameter(), and writeParams().
|
staticprotected |
Definition at line 131 of file MSRailSignalConstraint.h.
Referenced by clearAll(), clearState(), lookupVehId(), and storeTripId().
|
protected |
Definition at line 129 of file MSRailSignalConstraint.h.
Referenced by getSwappedType(), getTag(), getType(), isInsertionConstraint(), and MSRailSignalConstraint().