![]() |
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 | |
| std::map< int, double > | ggOld |
| double | gOld |
| double | myHeadway |
Definition at line 173 of file MSCFModel_SmartSK.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 92 of file MSCFModel_SmartSK.cpp.
References SUMOSAXAttributes::get(), SUMOSAXAttributes::getString(), ggOld, gOld, myHeadway, 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 76 of file MSCFModel_SmartSK.cpp.
References OutputDevice::closeTag(), ggOld, gOld, MSCFModel::MSCFModel(), myHeadway, OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_TAG_CFM_VARIABLES, and OutputDevice::writeAttr().
| std::map<int, double> MSCFModel_SmartSK::SSKVehicleVariables::ggOld |
Definition at line 176 of file MSCFModel_SmartSK.h.
Referenced by MSCFModel_SmartSK::finalizeSpeed(), MSCFModel_SmartSK::followSpeed(), loadState(), and saveState().
| double MSCFModel_SmartSK::SSKVehicleVariables::gOld |
Definition at line 175 of file MSCFModel_SmartSK.h.
Referenced by MSCFModel_SmartSK::createVehicleVariables(), MSCFModel_SmartSK::finalizeSpeed(), MSCFModel_SmartSK::followSpeed(), loadState(), saveState(), and MSCFModel_SmartSK::stopSpeed().
| double MSCFModel_SmartSK::SSKVehicleVariables::myHeadway |
Definition at line 175 of file MSCFModel_SmartSK.h.
Referenced by MSCFModel_SmartSK::_vsafe(), MSCFModel_SmartSK::createVehicleVariables(), MSCFModel_SmartSK::followSpeed(), loadState(), saveState(), MSCFModel_SmartSK::stopSpeed(), and MSCFModel_SmartSK::updateMyHeadway().