![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSCFModel.h>
Public Member Functions | |
| virtual void | loadState (const SUMOSAXAttributes &attrs) |
| Loads the state of the vehicle variables from the given description. | |
| virtual void | saveState (OutputDevice &out, const MSCFModel &cfm) const |
| Saves the vehicle variables. | |
| virtual | ~VehicleVariables () |
Definition at line 63 of file MSCFModel.h.
|
virtual |
Definition at line 73 of file MSCFModel.cpp.
|
virtual |
Loads the state of the vehicle variables from the given description.
The default implementation does nothing.
| [in] | attrs | XML attributes describing the current state |
Reimplemented in MSCFModel_ACC::ACCVehicleVariables, MSCFModel_CACC::CACCVehicleVariables, MSCFModel_EIDM::VehicleVariables, MSCFModel_IDM::VehicleVariables, MSCFModel_Kerner::VehicleVariables, MSCFModel_Krauss::VehicleVariables, MSCFModel_PWag2009::VehicleVariables, MSCFModel_SmartSK::SSKVehicleVariables, and MSCFModel_Wiedemann::VehicleVariables.
Definition at line 82 of file MSCFModel.cpp.
|
virtual |
Saves the vehicle variables.
The default implementation writes a warning and does nothing.
| [in] | out | The OutputDevice to write the information into |
Reimplemented in MSCFModel_ACC::ACCVehicleVariables, MSCFModel_CACC::CACCVehicleVariables, MSCFModel_EIDM::VehicleVariables, MSCFModel_IDM::VehicleVariables, MSCFModel_Kerner::VehicleVariables, MSCFModel_Krauss::VehicleVariables, MSCFModel_PWag2009::VehicleVariables, MSCFModel_SmartSK::SSKVehicleVariables, and MSCFModel_Wiedemann::VehicleVariables.
Definition at line 76 of file MSCFModel.cpp.
References MSVehicleType::getID(), MSCFModel::myType, TL, and WRITE_WARNINGF.
Referenced by MSVehicle::saveState().