Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimTrafficDescription Class Reference

#include <NIVissimTrafficDescription.h>

Public Member Functions

double meanSpeed () const
 
 NIVissimTrafficDescription (const std::string &name, const NIVissimVehicleClassVector &vehicleTypes)
 
 ~NIVissimTrafficDescription ()
 

Static Public Member Functions

static void clearDict ()
 
static NIVissimTrafficDescriptiondictionary (int id)
 
static bool dictionary (int id, const std::string &name, const NIVissimVehicleClassVector &vehicleTypes)
 
static bool dictionary (int id, NIVissimTrafficDescription *o)
 
static double meanSpeed (int id)
 

Private Types

typedef std::map< int, NIVissimTrafficDescription * > DictType
 

Private Attributes

std::string myName
 
NIVissimVehicleClassVector myVehicleTypes
 

Static Private Attributes

static DictType myDict
 

Detailed Description

Definition at line 34 of file NIVissimTrafficDescription.h.

Member Typedef Documentation

◆ DictType

Definition at line 50 of file NIVissimTrafficDescription.h.

Constructor & Destructor Documentation

◆ NIVissimTrafficDescription()

NIVissimTrafficDescription::NIVissimTrafficDescription ( const std::string &  name,
const NIVissimVehicleClassVector vehicleTypes 
)

Definition at line 38 of file NIVissimTrafficDescription.cpp.

◆ ~NIVissimTrafficDescription()

NIVissimTrafficDescription::~NIVissimTrafficDescription ( )

Definition at line 44 of file NIVissimTrafficDescription.cpp.

References myVehicleTypes.

Member Function Documentation

◆ clearDict()

void NIVissimTrafficDescription::clearDict ( )
static

Definition at line 87 of file NIVissimTrafficDescription.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ dictionary() [1/3]

NIVissimTrafficDescription * NIVissimTrafficDescription::dictionary ( int  id)
static

Definition at line 77 of file NIVissimTrafficDescription.cpp.

References myDict.

◆ dictionary() [2/3]

bool NIVissimTrafficDescription::dictionary ( int  id,
const std::string &  name,
const NIVissimVehicleClassVector vehicleTypes 
)
static

Definition at line 53 of file NIVissimTrafficDescription.cpp.

References dictionary().

Referenced by dictionary(), meanSpeed(), and NIVissimSingleTypeParser_Verkehrszusammensetzungsdefinition::parse().

Here is the caller graph for this function:

◆ dictionary() [3/3]

bool NIVissimTrafficDescription::dictionary ( int  id,
NIVissimTrafficDescription o 
)
static

Definition at line 66 of file NIVissimTrafficDescription.cpp.

References myDict.

◆ meanSpeed() [1/2]

double NIVissimTrafficDescription::meanSpeed ( ) const

Definition at line 106 of file NIVissimTrafficDescription.cpp.

References myVehicleTypes.

◆ meanSpeed() [2/2]

double NIVissimTrafficDescription::meanSpeed ( int  id)
static

Definition at line 98 of file NIVissimTrafficDescription.cpp.

References dictionary(), and meanSpeed().

Referenced by meanSpeed().

Here is the caller graph for this function:

Field Documentation

◆ myDict

NIVissimTrafficDescription::DictType NIVissimTrafficDescription::myDict
staticprivate

Definition at line 51 of file NIVissimTrafficDescription.h.

Referenced by clearDict(), dictionary(), and dictionary().

◆ myName

std::string NIVissimTrafficDescription::myName
private

Definition at line 47 of file NIVissimTrafficDescription.h.

◆ myVehicleTypes

NIVissimVehicleClassVector NIVissimTrafficDescription::myVehicleTypes
private

Definition at line 48 of file NIVissimTrafficDescription.h.

Referenced by meanSpeed(), and ~NIVissimTrafficDescription().


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