![]() |
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. | |
| VehicleVariables (SUMOTime dawdleStep) | |
Data Fields | |
| double | accelDawdle |
| the accleration due to dawdling | |
| SUMOTime | updateOffset |
Definition at line 101 of file MSCFModel_Krauss.h.
| MSCFModel_Krauss::VehicleVariables::VehicleVariables | ( | SUMOTime | dawdleStep | ) |
Definition at line 43 of file MSCFModel_Krauss.cpp.
|
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 81 of file MSCFModel_Krauss.cpp.
References 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 69 of file MSCFModel_Krauss.cpp.
References accelDawdle, OutputDevice::closeTag(), OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_CFM_VARIABLES, updateOffset, and OutputDevice::writeAttr().
| double MSCFModel_Krauss::VehicleVariables::accelDawdle |
the accleration due to dawdling
Definition at line 107 of file MSCFModel_Krauss.h.
Referenced by MSCFModel_Krauss::patchSpeedBeforeLC(), and saveState().
| SUMOTime MSCFModel_Krauss::VehicleVariables::updateOffset |
Definition at line 108 of file MSCFModel_Krauss.h.
Referenced by MSCFModel_Krauss::patchSpeedBeforeLC(), and saveState().