![]() |
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 () | |
Data Fields | |
| double | accelSign |
| state variable for remembering the drift direction | |
Definition at line 128 of file MSCFModel_Wiedemann.h.
|
inline |
Definition at line 130 of file MSCFModel_Wiedemann.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 83 of file MSCFModel_Wiedemann.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 72 of file MSCFModel_Wiedemann.cpp.
References accelSign, OutputDevice::closeTag(), OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_CFM_VARIABLES, and OutputDevice::writeAttr().
| double MSCFModel_Wiedemann::VehicleVariables::accelSign |
state variable for remembering the drift direction
Definition at line 132 of file MSCFModel_Wiedemann.h.
Referenced by MSCFModel_Wiedemann::_v(), MSCFModel_Wiedemann::finalizeSpeed(), and saveState().