 |
Eclipse SUMO - Simulation of Urban MObility
|
const std::string & getID() const
Returns the name of the vehicle type.
void unloadedContainers(const SUMOVehicle *veh, int n)
MSStopOut(OutputDevice &dev)
constructor.
#define WRITE_WARNING(msg)
@ SUMO_ATTR_CONTAINER_STOP
Static storage of an output device and its base (abstract) implementation.
virtual const MSEdge * getEdge() const =0
Returns the edge the vehicle is currently at.
virtual const MSVehicleType & getVehicleType() const =0
Returns the vehicle's type.
virtual const std::string & getID() const =0
Get the vehicle's ID.
std::string busstop
(Optional) bus stop if one is assigned to the stop
Representation of a vehicle.
void loadedPersons(const SUMOVehicle *veh, int n)
static OptionsCont & getOptions()
Retrieves the options.
std::string line
the new line id of the trip within a cyclical public transport route
std::string parkingarea
(Optional) parking area if one is assigned to the stop
@ SUMO_ATTR_CHARGING_STATION
void loadedContainers(const SUMOVehicle *veh, int n)
Realises dumping the complete network state.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
static void init()
Static intialization.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
std::string tripId
id of the trip within a cyclical public transport route
SUMOTime until
The time at which the vehicle may continue its journey.
std::string time2string(SUMOTime t)
virtual ~MSStopOut()
Destructor.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
static MSStopOut * myInstance
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
virtual bool hasDeparted() const =0
Returns whether this vehicle has departed.
void unloadedPersons(const SUMOVehicle *veh, int n)
void stopStarted(const SUMOVehicle *veh, int numPersons, int numContainers, SUMOTime time)
virtual double getPositionOnLane() const =0
Get the vehicle's position along the lane.
void stopEnded(const SUMOVehicle *veh, const SUMOVehicleParameter::Stop &stop, const std::string &laneOrEdgeID)
bool parking
whether the vehicle is removed from the net while stopping
std::string chargingStation
(Optional) charging station if one is assigned to the stop
const std::string & getID() const
Returns the id.
std::string containerstop
(Optional) container stop if one is assigned to the stop
static OutputDevice & getDeviceByOption(const std::string &name)
Returns the device described by the option.
Definition of vehicle stop (position and duration)