![]() |
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 | rand |
Definition at line 101 of file MSCFModel_Kerner.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_Kerner.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 51 of file MSCFModel_Kerner.cpp.
References OutputDevice::closeTag(), OutputDevice::openTag(), rand, SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_CFM_VARIABLES, and OutputDevice::writeAttr().
| double MSCFModel_Kerner::VehicleVariables::rand |
Definition at line 103 of file MSCFModel_Kerner.h.
Referenced by MSCFModel_Kerner::_v(), MSCFModel_Kerner::createVehicleVariables(), MSCFModel_Kerner::finalizeSpeed(), and saveState().