Eclipse SUMO - Simulation of Urban MObility
|
Dumping a hugh List of Parameters available in the Simulation. More...
#include <MSFullExport.h>
Static Public Member Functions | |
static void | write (OutputDevice &of, SUMOTime timestep) |
Dumping a hugh List of Parameters available in the Simulation. | |
Private Member Functions | |
MSFullExport (const MSFullExport &) | |
Invalidated copy constructor. | |
MSFullExport & | operator= (const MSFullExport &) |
Invalidated assignment operator. | |
Static Private Member Functions | |
static void | writeEdge (OutputDevice &of) |
Writes the XML Nodes for the edges (e.g. traveltime) | |
static void | writeLane (OutputDevice &of, const MSLane &lane) |
Writes the XML Nodes for the lanes (e.g. emissions, occupancy) | |
static void | writeTLS (OutputDevice &of, SUMOTime timestep) |
Writes the XML Nodes for the traffic lights (e.g. actual state) | |
static void | writeVehicles (OutputDevice &of) |
Writes the XML Nodes for the vehicles (e.g. speed, position, emissions) | |
Dumping a hugh List of Parameters available in the Simulation.
The class offers a static method, which writes a hugh List of Parameters available in the Simulation into the given OutputDevice.
Definition at line 47 of file MSFullExport.h.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
|
static |
Dumping a hugh List of Parameters available in the Simulation.
The class offers a static method, which writes a hugh List of Parameters available in the Simulation into the given OutputDevice.
[in] | of | The output device to use |
[in] | timestep | The current time step |
IOError | If an error on writing occurs (!!! not yet implemented) |
Definition at line 44 of file MSFullExport.cpp.
References OutputDevice::closeTag(), OutputDevice::openTag(), time2string(), writeEdge(), writeTLS(), and writeVehicles().
Referenced by MSNet::writeOutput().
|
staticprivate |
Writes the XML Nodes for the edges (e.g. traveltime)
Definition at line 88 of file MSFullExport.cpp.
References OutputDevice::closeTag(), MSEdge::getCurrentTravelTime(), MSNet::getEdgeControl(), MSEdgeControl::getEdges(), Named::getID(), MSNet::getInstance(), MSEdge::getLanes(), MSGlobals::gUsingInternalLanes, MSEdge::isNormal(), OutputDevice::openTag(), OutputDevice::writeAttr(), and writeLane().
Referenced by write().
|
staticprivate |
Writes the XML Nodes for the lanes (e.g. emissions, occupancy)
Definition at line 109 of file MSFullExport.cpp.
References OutputDevice::closeTag(), PollutantsInterface::CO, PollutantsInterface::CO2, PollutantsInterface::ELEC, PollutantsInterface::FUEL, MSLane::getEmissions(), MSLane::getHarmonoise_NoiseEmissions(), Named::getID(), MSLane::getMeanSpeed(), MSLane::getNettoOccupancy(), MSLane::getSpeedLimit(), MSLane::getVehicleNumber(), PollutantsInterface::HC, PollutantsInterface::NO_X, OutputDevice::openTag(), PollutantsInterface::PM_X, and OutputDevice::writeAttr().
Referenced by writeEdge().
|
staticprivate |
Writes the XML Nodes for the traffic lights (e.g. actual state)
Definition at line 120 of file MSFullExport.cpp.
References OutputDevice::closeTag(), MSTLLogicControl::get(), MSTLLogicControl::TLSLogicVariants::getActive(), MSTLLogicControl::getAllTLIds(), MSTrafficLightLogic::getCurrentPhaseDef(), MSNet::getInstance(), MSTrafficLightLogic::getLaneVectors(), MSPhaseDefinition::getState(), MSNet::getTLSControl(), OutputDevice::openTag(), and OutputDevice::writeAttr().
Referenced by write().
|
staticprivate |
Writes the XML Nodes for the vehicles (e.g. speed, position, emissions)
Definition at line 57 of file MSFullExport.cpp.
References OutputDevice::closeTag(), PollutantsInterface::Emissions::CO, PollutantsInterface::Emissions::CO2, PollutantsInterface::computeAll(), HelpersHarmonoise::computeNoise(), PollutantsInterface::Emissions::electricity, PollutantsInterface::Emissions::fuel, SUMOTrafficObject::getAcceleration(), SUMOVehicle::getAngle(), MSVehicleType::getEmissionClass(), SUMOVehicle::getEmissionParameters(), MSVehicleType::getID(), Named::getID(), MSNet::getInstance(), MSVehicle::getLane(), PollutantsInterface::getName(), SUMOTrafficObject::getPosition(), SUMOTrafficObject::getPositionOnLane(), SUMOVehicle::getRoute(), SUMOTrafficObject::getSlope(), SUMOTrafficObject::getSpeed(), MSNet::getVehicleControl(), SUMOTrafficObject::getVehicleType(), MSBaseVehicle::getWaitingSeconds(), PollutantsInterface::Emissions::HC, SUMOVehicle::isOnRoad(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), GeomHelper::naviDegree(), PollutantsInterface::Emissions::NOx, OutputDevice::openTag(), PollutantsInterface::Emissions::PMx, OutputDevice::writeAttr(), Position::x(), and Position::y().
Referenced by write().