![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| void | loadState (const SUMOSAXAttributes &attrs) |
| Loads the state of the vehicle variables from the given description. | |
| void | saveState (OutputDevice &out, const MSCFModel &cfm) const |
| Saves the vehicle variables. | |
Data Fields | |
| double | aOld |
Definition at line 117 of file MSCFModel_PWag2009.h.
|
virtual |
Loads the state of the vehicle variables from the given description.
| [in] | attrs | XML attributes describing the current state |
Reimplemented from MSCFModel::VehicleVariables.
Definition at line 62 of file MSCFModel_PWag2009.cpp.
References aOld, SUMOSAXAttributes::get(), SUMOSAXAttributes::getString(), SUMO_ATTR_ID, SUMO_ATTR_STATE, and TLF.
|
virtual |
Saves the vehicle variables.
| [in] | out | The OutputDevice to write the information into |
Reimplemented from MSCFModel::VehicleVariables.
Definition at line 51 of file MSCFModel_PWag2009.cpp.
References aOld, OutputDevice::closeTag(), MSCFModel::MSCFModel(), OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_CFM_VARIABLES, and OutputDevice::writeAttr().
| double MSCFModel_PWag2009::VehicleVariables::aOld |
Definition at line 119 of file MSCFModel_PWag2009.h.
Referenced by MSCFModel_PWag2009::createVehicleVariables(), MSCFModel_PWag2009::finalizeSpeed(), MSCFModel_PWag2009::followSpeed(), loadState(), and saveState().