![]() |
SUMO - Simulation of Urban MObility
|
#include <NIVissimTL.h>
Public Member Functions | |
bool | addTo (NBEdgeCont &ec, NBLoadedTLDef *node) const |
Position | getPosition () const |
bool | isWithin (const PositionVector &poly) const |
NIVissimTLSignal (int id, const std::string &name, const std::vector< int > &groupids, int edgeid, int laneno, double position, const std::vector< int > &assignedVehicleTypes) | |
~NIVissimTLSignal () | |
Static Public Member Functions | |
static void | clearDict () |
static bool | dictionary (int lsaid, int id, NIVissimTLSignal *o) |
static NIVissimTLSignal * | dictionary (int lsaid, int id) |
static SSignalDictType | getSignalsFor (int tlid) |
Protected Attributes | |
int | myEdgeID |
std::vector< int > | myGroupIDs |
int | myID |
int | myLane |
std::string | myName |
double | myPosition |
std::vector< int > | myVehicleTypes |
Static Protected Attributes | |
static SignalDictType | myDict |
Definition at line 87 of file NIVissimTL.h.
NIVissimTL::NIVissimTLSignal::NIVissimTLSignal | ( | int | id, |
const std::string & | name, | ||
const std::vector< int > & | groupids, | ||
int | edgeid, | ||
int | laneno, | ||
double | position, | ||
const std::vector< int > & | assignedVehicleTypes | ||
) |
Definition at line 61 of file NIVissimTL.cpp.
NIVissimTL::NIVissimTLSignal::~NIVissimTLSignal | ( | ) |
Definition at line 73 of file NIVissimTL.cpp.
bool NIVissimTL::NIVissimTLSignal::addTo | ( | NBEdgeCont & | ec, |
NBLoadedTLDef * | node | ||
) | const |
Definition at line 140 of file NIVissimTL.cpp.
References NBLoadedTLDef::addToSignalGroup(), NIVissimConnection::dictionary(), NBEdge::getConnectionsFromLane(), NIVissimConnection::getFromEdgeID(), NBEdge::getNumLanes(), NIVissimConnection::getToEdgeID(), NBEdge::lanesWereAssigned(), NIVissimTL::NIVissimTLSignalGroup::myDict, myEdgeID, myGroupIDs, myLane, myPosition, NBEdgeCont::retrievePossiblySplit(), NBEdge::Connection::toEdge, NBEdge::Connection::toLane, toString(), and WRITE_WARNING.
|
static |
Definition at line 119 of file NIVissimTL.cpp.
References myDict.
Referenced by NIImporter_Vissim::~NIImporter_Vissim().
|
static |
Definition at line 88 of file NIVissimTL.cpp.
References myDict.
Referenced by NIVissimSingleTypeParser_Signalgeberdefinition::parse().
|
static |
Definition at line 105 of file NIVissimTL.cpp.
References myDict.
Position NIVissimTL::NIVissimTLSignal::getPosition | ( | ) | const |
Definition at line 82 of file NIVissimTL.cpp.
References NIVissimAbstractEdge::dictionary(), myEdgeID, and myPosition.
Referenced by isWithin().
|
static |
Definition at line 130 of file NIVissimTL.cpp.
References myDict.
Referenced by NIVissimTL::dict_SetSignals().
bool NIVissimTL::NIVissimTLSignal::isWithin | ( | const PositionVector & | poly | ) | const |
Definition at line 76 of file NIVissimTL.cpp.
References PositionVector::around(), and getPosition().
|
staticprotected |
Definition at line 111 of file NIVissimTL.h.
Referenced by clearDict(), dictionary(), and getSignalsFor().
|
protected |
Definition at line 107 of file NIVissimTL.h.
Referenced by addTo(), and getPosition().
|
protected |
Definition at line 106 of file NIVissimTL.h.
Referenced by addTo().
|
protected |
Definition at line 104 of file NIVissimTL.h.
|
protected |
Definition at line 108 of file NIVissimTL.h.
Referenced by addTo().
|
protected |
Definition at line 105 of file NIVissimTL.h.
|
protected |
Definition at line 109 of file NIVissimTL.h.
Referenced by addTo(), and getPosition().
|
protected |
Definition at line 110 of file NIVissimTL.h.