Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSCFModel::VehicleVariables Class Reference

#include <MSCFModel.h>

Inheritance diagram for MSCFModel::VehicleVariables:
[legend]

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 ()
 

Detailed Description

Definition at line 63 of file MSCFModel.h.

Constructor & Destructor Documentation

◆ ~VehicleVariables()

MSCFModel::VehicleVariables::~VehicleVariables ( )
virtual

Definition at line 73 of file MSCFModel.cpp.

Member Function Documentation

◆ loadState()

void MSCFModel::VehicleVariables::loadState ( const SUMOSAXAttributes attrs)
virtual

Loads the state of the vehicle variables from the given description.

The default implementation does nothing.

Parameters
[in]attrsXML 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.

◆ saveState()

void MSCFModel::VehicleVariables::saveState ( OutputDevice out,
const MSCFModel cfm 
) const
virtual

Saves the vehicle variables.

The default implementation writes a warning and does nothing.

Parameters
[in]outThe 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().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: