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. More... | |
Private Member Functions | |
MSFullExport (const MSFullExport &) | |
Invalidated copy constructor. More... | |
MSFullExport & | operator= (const MSFullExport &) |
Invalidated assignment operator. More... | |
Static Private Member Functions | |
static void | writeEdge (OutputDevice &of) |
Writes the XML Nodes for the edges (e.g. traveltime) More... | |
static void | writeLane (OutputDevice &of, const MSLane &lane) |
Writes the XML Nodes for the lanes (e.g. emissions, occupancy) More... | |
static void | writeTLS (OutputDevice &of, SUMOTime timestep) |
Writes the XML Nodes for the traffic lights (e.g. actual state) More... | |
static void | writeVehicles (OutputDevice &of) |
Writes the XML Nodes for the vehicles (e.g. speed, position, emissions) More... | |
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 55 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 55 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 115 of file MSFullExport.cpp.
References OutputDevice::closeTag(), MSEdge::getCurrentTravelTime(), MSNet::getEdgeControl(), MSEdgeControl::getEdges(), Named::getID(), MSNet::getInstance(), MSEdge::getLanes(), OutputDevice::openTag(), and writeLane().
Referenced by write().
|
staticprivate |
Writes the XML Nodes for the lanes (e.g. emissions, occupancy)
Definition at line 144 of file MSFullExport.cpp.
References OutputDevice::closeTag(), MSLane::getHarmonoise_NoiseEmissions(), MSLane::getHBEFA_CO2Emissions(), MSLane::getHBEFA_COEmissions(), MSLane::getHBEFA_FuelConsumption(), MSLane::getHBEFA_HCEmissions(), MSLane::getHBEFA_NOxEmissions(), MSLane::getHBEFA_PMxEmissions(), Named::getID(), MSLane::getMeanSpeed(), MSLane::getOccupancy(), MSLane::getSpeedLimit(), MSLane::getVehicleNumber(), and OutputDevice::openTag().
Referenced by writeEdge().
|
staticprivate |
Writes the XML Nodes for the traffic lights (e.g. actual state)
Definition at line 165 of file MSFullExport.cpp.
References OutputDevice::closeTag(), MSTLLogicControl::get(), MSTLLogicControl::TLSLogicVariants::getActive(), MSTLLogicControl::getAllTLIds(), MSTrafficLightLogic::getCurrentPhaseDef(), MSNet::getInstance(), MSTrafficLightLogic::getLanes(), MSPhaseDefinition::getState(), MSNet::getTLSControl(), and OutputDevice::openTag().
Referenced by write().
|
staticprivate |
Writes the XML Nodes for the vehicles (e.g. speed, position, emissions)
Definition at line 73 of file MSFullExport.cpp.
References OutputDevice::closeTag(), MSVehicle::getAngle(), MSVehicleType::getEmissionClass(), MSVehicle::getHarmonoise_NoiseEmissions(), MSVehicle::getHBEFA_CO2Emissions(), MSVehicle::getHBEFA_COEmissions(), MSVehicle::getHBEFA_HCEmissions(), MSVehicle::getHBEFA_NOxEmissions(), MSVehicle::getHBEFA_PMxEmissions(), Named::getID(), MSBaseVehicle::getID(), MSVehicleType::getID(), MSNet::getInstance(), MSVehicle::getLane(), MSVehicle::getPositionOnLane(), MSBaseVehicle::getRoute(), MSLane::getShape(), MSVehicle::getSpeed(), MSNet::getVehicleControl(), MSBaseVehicle::getVehicleType(), MSVehicle::getWaitingSeconds(), MSVehicle::isOnRoad(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), OutputDevice::openTag(), PositionVector::positionAtLengthPosition(), Position::x(), and Position::y().
Referenced by write().