![]() |
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::multimap< std::string, 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... | |
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... | |
int | setParameter |
Information for the output which parameter were set. 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 541 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 303 of file SUMOVehicleParameter.cpp.
References OutputDevice::closeTag(), OutputDevice::openTag(), SUMOVehicleParameter::setParameter, STEPS2TIME, 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, and OutputDevice::writeAttr().
std::multimap<std::string, double> SUMOVehicleParameter::Stop::accessPos |
lanes and positions connected to this stop
Definition at line 571 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 569 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 567 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 545 of file SUMOVehicleParameter.h.
Referenced by IntermodalRouter< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
std::string SUMOVehicleParameter::Stop::chargingStation |
(Optional) charging station if one is assigned to the stop
Definition at line 551 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
std::string SUMOVehicleParameter::Stop::containerstop |
(Optional) container stop if one is assigned to the stop
Definition at line 547 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
bool SUMOVehicleParameter::Stop::containerTriggered |
whether an arriving container lets the vehicle continue
Definition at line 563 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
SUMOTime SUMOVehicleParameter::Stop::duration |
The stopping duration.
Definition at line 557 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), MEVehicle::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 555 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MEVehicle::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), RONetHandler::parseStoppingPlace(), and MSVehicle::replaceParkingArea().
int SUMOVehicleParameter::Stop::index |
at which position in the stops list
Definition at line 573 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 543 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MEVehicle::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), RONetHandler::parseStoppingPlace(), and MSVehicle::replaceParkingArea().
bool SUMOVehicleParameter::Stop::parking |
whether the vehicle is removed from the net while stopping
Definition at line 565 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
std::string SUMOVehicleParameter::Stop::parkingarea |
(Optional) parking area if one is assigned to the stop
Definition at line 549 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
int SUMOVehicleParameter::Stop::setParameter |
Information for the output which parameter were set.
Definition at line 575 of file SUMOVehicleParameter.h.
Referenced by SUMORouteHandler::parseStop().
double SUMOVehicleParameter::Stop::startPos |
The stopping position start.
Definition at line 553 of file SUMOVehicleParameter.h.
Referenced by MSRouteHandler::addStop(), RORouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), RONetHandler::parseStoppingPlace(), and MSVehicle::replaceParkingArea().
bool SUMOVehicleParameter::Stop::triggered |
whether an arriving person lets the vehicle continue
Definition at line 561 of file SUMOVehicleParameter.h.
Referenced by MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().
SUMOTime SUMOVehicleParameter::Stop::until |
The time at which the vehicle may continue its journey.
Definition at line 559 of file SUMOVehicleParameter.h.
Referenced by IntermodalRouter< E, L, N, V >::addSchedule(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSLane::handleCollisionBetween(), SUMORouteHandler::parseStop(), and MSVehicle::replaceParkingArea().