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

#include <NIVissimTL.h>

Collaboration diagram for NIVissimTL:
[legend]

Data Structures

class  NIVissimTLSignal
 
class  NIVissimTLSignalGroup
 

Public Types

typedef std::map< int, SGroupDictTypeGroupDictType
 
typedef std::map< int, NIVissimTLSignalGroup * > SGroupDictType
 
typedef std::map< int, SSignalDictTypeSignalDictType
 
typedef std::map< int, NIVissimTLSignal * > SSignalDictType
 

Public Member Functions

int getID () const
 
std::string getType () const
 
 NIVissimTL (int id, const std::string &type, const std::string &name, SUMOTime absdur, SUMOTime offset)
 
 ~NIVissimTL ()
 

Static Public Member Functions

static void clearDict ()
 
static bool dict_SetSignals (NBTrafficLightLogicCont &tlc, NBEdgeCont &ec)
 
static NIVissimTLdictionary (int id)
 
static bool dictionary (int id, const std::string &type, const std::string &name, SUMOTime absdur, SUMOTime offset)
 
static bool dictionary (int id, NIVissimTL *o)
 

Protected Attributes

SUMOTime myAbsDuration
 
NIVissimTLSignalGroupmyCurrentGroup
 
int myID
 
std::string myName
 
SUMOTime myOffset
 
std::string myType
 

Private Types

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

Static Private Attributes

static DictType myDict
 

Detailed Description

Definition at line 47 of file NIVissimTL.h.

Member Typedef Documentation

◆ DictType

typedef std::map<int, NIVissimTL*> NIVissimTL::DictType
private

Definition at line 134 of file NIVissimTL.h.

◆ GroupDictType

typedef std::map<int, SGroupDictType> NIVissimTL::GroupDictType

Definition at line 72 of file NIVissimTL.h.

◆ SGroupDictType

Definition at line 70 of file NIVissimTL.h.

◆ SignalDictType

Definition at line 71 of file NIVissimTL.h.

◆ SSignalDictType

Definition at line 69 of file NIVissimTL.h.

Constructor & Destructor Documentation

◆ NIVissimTL()

NIVissimTL::NIVissimTL ( int  id,
const std::string &  type,
const std::string &  name,
SUMOTime  absdur,
SUMOTime  offset 
)

Definition at line 297 of file NIVissimTL.cpp.

◆ ~NIVissimTL()

NIVissimTL::~NIVissimTL ( )

Definition at line 306 of file NIVissimTL.cpp.

Member Function Documentation

◆ clearDict()

void NIVissimTL::clearDict ( )
static

Definition at line 343 of file NIVissimTL.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ dict_SetSignals()

bool NIVissimTL::dict_SetSignals ( NBTrafficLightLogicCont tlc,
NBEdgeCont ec 
)
static

Definition at line 355 of file NIVissimTL.cpp.

References ACTUATED, NIVissimTL::NIVissimTLSignalGroup::getGroupsFor(), getID(), NIVissimTL::NIVissimTLSignal::getSignalsFor(), getType(), NBTrafficLightLogicCont::insert(), myAbsDuration, myDict, myID, NBLoadedTLDef::setCycleDuration(), STATIC, TL, WRITE_ERRORF, and WRITE_WARNINGF.

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

◆ dictionary() [1/3]

NIVissimTL * NIVissimTL::dictionary ( int  id)
static

Definition at line 333 of file NIVissimTL.cpp.

References myDict.

◆ dictionary() [2/3]

bool NIVissimTL::dictionary ( int  id,
const std::string &  type,
const std::string &  name,
SUMOTime  absdur,
SUMOTime  offset 
)
static

◆ dictionary() [3/3]

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

Definition at line 322 of file NIVissimTL.cpp.

References myDict.

◆ getID()

int NIVissimTL::getID ( ) const

Definition at line 419 of file NIVissimTL.cpp.

References myID.

Referenced by dict_SetSignals().

Here is the caller graph for this function:

◆ getType()

std::string NIVissimTL::getType ( ) const

Definition at line 413 of file NIVissimTL.cpp.

References myType.

Referenced by dict_SetSignals(), and NIVissimSingleTypeParser_Signalgruppendefinition::parse().

Here is the caller graph for this function:

Field Documentation

◆ myAbsDuration

SUMOTime NIVissimTL::myAbsDuration
protected

Definition at line 129 of file NIVissimTL.h.

Referenced by dict_SetSignals().

◆ myCurrentGroup

NIVissimTLSignalGroup* NIVissimTL::myCurrentGroup
protected

Definition at line 131 of file NIVissimTL.h.

◆ myDict

◆ myID

int NIVissimTL::myID
protected

Definition at line 127 of file NIVissimTL.h.

Referenced by NIVissimTL::NIVissimTLSignalGroup::addTo(), dict_SetSignals(), and getID().

◆ myName

std::string NIVissimTL::myName
protected

Definition at line 128 of file NIVissimTL.h.

◆ myOffset

SUMOTime NIVissimTL::myOffset
protected

Definition at line 130 of file NIVissimTL.h.

◆ myType

std::string NIVissimTL::myType
protected

Definition at line 132 of file NIVissimTL.h.

Referenced by getType().


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