 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef NIVissimConflictArea_h
17 #define NIVissimConflictArea_h
52 const std::string& link2,
53 const std::string& status);
62 static bool dictionary(
int id,
const std::string& link1,
63 const std::string& link2,
const std::string& status);
74 const std::string& link2);
124 typedef std::map<int, NIVissimConflictArea*>
DictType;
static NIVissimConflictArea * dict_findByLinks(const std::string &link1, const std::string &link2)
Storage for edges, including some functionality operating on multiple edges.
static DictType myDict
The dictionary.
std::string getFirstLink()
Returns the first link of the conflic area.
std::string getSecondLink()
Returns the second link of the conflic area.
std::string myStatus
The priority regulation of the conflict area.
std::map< int, NIVissimConflictArea * > DictType
Definition of the dictionary type.
int myConflictID
The id of the conflict area.
NIVissimConflictArea(int id, const std::string &link1, const std::string &link2, const std::string &status)
Constructor.
std::string myFirstLink
The first link of the conflict area.
std::string getStatus()
Returns the priority regulation of the conflic area.
A temporary storage for conflict areas imported from Vissim.
static bool dictionary(int id, const std::string &link1, const std::string &link2, const std::string &status)
Adds the described item to the dictionary Builds the conflict area first.
int getID()
Returns the ID of the conflic area.
std::string mySecondLink
The second link of the conflict area.
static std::map< int, NIVissimConflictArea * > getConflictAreas()
Returns the dictionary including all conflict areas.
static void setPriorityRegulation(NBEdgeCont &ec)
Sets the priority regulation according to the VISSIM conflict area data.
~NIVissimConflictArea()
Destructor.
static void clearDict()
Clears the dictionary.