Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSCFModel_Kerner::VehicleVariables Class Reference
Inheritance diagram for MSCFModel_Kerner::VehicleVariables:
[legend]
Collaboration diagram for MSCFModel_Kerner::VehicleVariables:
[legend]

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
 

Detailed Description

Definition at line 101 of file MSCFModel_Kerner.h.

Member Function Documentation

◆ loadState()

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

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

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

◆ saveState()

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

Saves the vehicle variables.

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

Field Documentation

◆ rand

double MSCFModel_Kerner::VehicleVariables::rand

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