![]() |
SUMO - Simulation of Urban MObility
|
Definition of vehicle stop (position and duration) More...
#include <SUMOVehicleParameter.h>
Public Member Functions | |
void | write (OutputDevice &dev) const |
Writes the stop as XML. More... | |
Data Fields | |
std::vector< std::tuple< std::string, double, double > > | accessPos |
lanes and positions connected to this stop More... | |
std::set< std::string > | awaitedContainers |
IDs of containers the vehicle has to wait for until departing. More... | |
std::set< std::string > | awaitedPersons |
IDs of persons the vehicle has to wait for until departing. More... | |
std::string | busstop |
(Optional) bus stop if one is assigned to the stop More... | |
std::string | chargingStation |
(Optional) charging station if one is assigned to the stop More... | |
std::string | containerstop |
(Optional) container stop if one is assigned to the stop More... | |
bool | containerTriggered |
whether an arriving container lets the vehicle continue More... | |
SUMOTime | duration |
The stopping duration. More... | |
double | endPos |
The stopping position end. More... | |
int | index |
at which position in the stops list More... | |
std::string | lane |
The lane to stop at. More... | |
int | parametersSet = 0 |
Information for the output which parameter were set. More... | |
bool | parking |
whether the vehicle is removed from the net while stopping More... | |
std::string | parkingarea |
(Optional) parking area if one is assigned to the stop More... | |
double | startPos |
The stopping position start. More... | |
bool | triggered |
whether an arriving person lets the vehicle continue More... | |
SUMOTime | until |
The time at which the vehicle may continue its journey. More... | |
Definition of vehicle stop (position and duration)
Definition at line 536 of file SUMOVehicleParameter.h.
void SUMOVehicleParameter::Stop::write | ( | OutputDevice & | dev | ) | const |
Writes the stop as XML.
[in,out] | dev | The device to write into |
IOError | not yet implemented |
Definition at line 299 of file SUMOVehicleParameter.cpp.
References OutputDevice::closeTag(), OutputDevice::openTag(), SUMOVehicleParameter::parametersSet, STOP_CONTAINER_TRIGGER_SET, STOP_END_SET, STOP_EXPECTED_CONTAINERS_SET, STOP_EXPECTED_SET, STOP_PARKING_SET, STOP_START_SET, STOP_TRIGGER_SET, SUMO_ATTR_BUS_STOP, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_DURATION, SUMO_ATTR_ENDPOS, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_LANE, SUMO_ATTR_PARKING, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_STARTPOS, SUMO_ATTR_TRIGGERED, SUMO_ATTR_UNTIL, SUMO_TAG_STOP, time2string(), and OutputDevice::writeAttr().
Referenced by MEVehicle::saveState(), and MSDevice_Vehroutes::stopEnded().
std::vector<std::tuple<std::string, double, double> > SUMOVehicleParameter::Stop::accessPos |
lanes and positions connected to this stop
Definition at line 566 of file SUMOVehicleParameter.h.
Referenced by RONetHandler::parseAccess().
std::set<std::string> SUMOVehicleParameter::Stop::awaitedContainers |
IDs of containers the vehicle has to wait for until departing.
Definition at line 564 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
std::set<std::string> SUMOVehicleParameter::Stop::awaitedPersons |
IDs of persons the vehicle has to wait for until departing.
Definition at line 562 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
std::string SUMOVehicleParameter::Stop::busstop |
(Optional) bus stop if one is assigned to the stop
Definition at line 540 of file SUMOVehicleParameter.h.
Referenced by IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), RONet::getStoppingPlaceName(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), RONetHandler::parseStoppingPlace(), MSVehicle::replaceParkingArea(), and MSStopOut::stopEnded().
std::string SUMOVehicleParameter::Stop::chargingStation |
(Optional) charging station if one is assigned to the stop
Definition at line 546 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), MSVehicle::replaceParkingArea(), and MSStopOut::stopEnded().
std::string SUMOVehicleParameter::Stop::containerstop |
(Optional) container stop if one is assigned to the stop
Definition at line 542 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), MSVehicle::replaceParkingArea(), and MSStopOut::stopEnded().
bool SUMOVehicleParameter::Stop::containerTriggered |
whether an arriving container lets the vehicle continue
Definition at line 558 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), libsumo::Vehicle::getStopState(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
SUMOTime SUMOVehicleParameter::Stop::duration |
The stopping duration.
Definition at line 552 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
double SUMOVehicleParameter::Stop::endPos |
The stopping position end.
Definition at line 550 of file SUMOVehicleParameter.h.
Referenced by ROVehicle::addStop(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MEVehicle::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSTransportableControl::boardAnyWaiting(), ROEdge::getStopPosition(), MSEdge::getStopPosition(), MSLane::handleCollisionBetween(), MSLane::isInsertionSuccess(), MSTransportableControl::loadAnyWaiting(), RONetHandler::parseStoppingPlace(), and MSVehicle::replaceParkingArea().
int SUMOVehicleParameter::Stop::index |
at which position in the stops list
Definition at line 568 of file SUMOVehicleParameter.h.
Referenced by ROVehicle::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
std::string SUMOVehicleParameter::Stop::lane |
The lane to stop at.
Definition at line 538 of file SUMOVehicleParameter.h.
Referenced by ROVehicle::addStop(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MEVehicle::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), ROEdge::getStopPosition(), MSEdge::getStopPosition(), MSLane::handleCollisionBetween(), RORouteHandler::myStartElement(), SUMORouteHandler::parseStop(), RONetHandler::parseStoppingPlace(), and MSVehicle::replaceParkingArea().
int SUMOVehicleParameter::Stop::parametersSet = 0 |
Information for the output which parameter were set.
Definition at line 570 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
bool SUMOVehicleParameter::Stop::parking |
whether the vehicle is removed from the net while stopping
Definition at line 560 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), libsumo::Vehicle::getStopState(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), MSVehicle::replaceParkingArea(), and MSStopOut::stopEnded().
std::string SUMOVehicleParameter::Stop::parkingarea |
(Optional) parking area if one is assigned to the stop
Definition at line 544 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), MSVehicle::replaceParkingArea(), and MSStopOut::stopEnded().
double SUMOVehicleParameter::Stop::startPos |
The stopping position start.
Definition at line 548 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSTransportableControl::boardAnyWaiting(), ROEdge::getStopPosition(), MSEdge::getStopPosition(), MSLane::handleCollisionBetween(), MSTransportableControl::loadAnyWaiting(), RONetHandler::parseStoppingPlace(), MSVehicle::processNextStop(), MSVehicle::replaceParkingArea(), libsumo::Vehicle::resume(), and MSVehicle::updateBestLanes().
bool SUMOVehicleParameter::Stop::triggered |
whether an arriving person lets the vehicle continue
Definition at line 556 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), libsumo::Vehicle::getStopState(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
SUMOTime SUMOVehicleParameter::Stop::until |
The time at which the vehicle may continue its journey.
Definition at line 554 of file SUMOVehicleParameter.h.
Referenced by IntermodalNetwork< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), MSVehicle::processNextStop(), MSVehicle::replaceParkingArea(), and MSStopOut::stopEnded().