Eclipse SUMO - Simulation of Urban MObility
|
Realises dumping Battery Data. More...
#include <MSBatteryExport.h>
Static Public Member Functions | |
static void | write (OutputDevice &of, SUMOTime timestep, int precision) |
Writes the complete network state of the given edges into the given device. | |
Private Member Functions | |
MSBatteryExport (const MSBatteryExport &) | |
Invalidated copy constructor. | |
MSBatteryExport & | operator= (const MSBatteryExport &) |
Invalidated assignment operator. | |
Realises dumping Battery Data.
The class offers a static method, which writes all available Battery factors of each vehicles of the network into the given OutputDevice.
The class offers a static method, which writes all available Battery factors of each vehicles of the network into the given OutputDevice.
Definition at line 46 of file MSBatteryExport.h.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
|
static |
Writes the complete network state of the given edges into the given device.
Opens the current time step and export the Battery factors of all availabel vehicles
[in] | of | The output device to use |
[in] | timestep | The current time step |
[in] | precision | The output precision |
IOError | If an error on writing occurs (!!! not yet implemented) |
Definition at line 40 of file MSBatteryExport.cpp.
References OutputDevice::closeTag(), MSVehicle::getAcceleration(), MSDevice_Battery::getActualBatteryCapacity(), MSDevice_Battery::getChargingStationID(), MSDevice_Battery::getConsum(), MSBaseVehicle::getDevice(), MSBaseVehicle::getEdge(), MSDevice_Battery::getEnergyCharged(), Named::getID(), MSNet::getInstance(), MSVehicle::getLane(), MSDevice_Battery::getMaximumBatteryCapacity(), MSVehicle::getPosition(), MSVehicle::getPositionOnLane(), MSVehicle::getSpeed(), MSDevice_Battery::getTotalConsumption(), MSDevice_Battery::getTotalRegenerated(), MSNet::getVehicleControl(), MSDevice_Battery::getVehicleStopped(), MSGlobals::gUseMesoSim, MSDevice_Battery::isChargingInTransit(), MSDevice_Battery::isChargingStopped(), MSVehicle::isOnRoad(), MSBaseVehicle::isParking(), MSVehicle::isRemoteControlled(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), OutputDevice::openTag(), OutputDevice::setPrecision(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ACTUALBATTERYCAPACITY, SUMO_ATTR_CHARGINGSTATIONID, SUMO_ATTR_EDGE, SUMO_ATTR_ENERGYCHARGED, SUMO_ATTR_ENERGYCHARGEDINTRANSIT, SUMO_ATTR_ENERGYCHARGEDSTOPPED, SUMO_ATTR_ENERGYCONSUMED, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_POSONLANE, SUMO_ATTR_SPEED, SUMO_ATTR_TIME, SUMO_ATTR_TIMESTOPPED, SUMO_ATTR_TOTALENERGYCONSUMED, SUMO_ATTR_TOTALENERGYREGENERATED, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_TIMESTEP, SUMO_TAG_VEHICLE, time2string(), OutputDevice::writeAttr(), Position::x(), and Position::y().
Referenced by MSNet::writeOutput().