ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::TCDTrafficLightSet Class Reference

#include <tcdtrafficlightset.h>

Inheritance diagram for adore::env::TCDTrafficLightSet:
Inheritance graph
Collaboration diagram for adore::env::TCDTrafficLightSet:
Collaboration graph

Public Member Functions

void addTcd (TrafficControlDevice *tcd)
 
void setMovementId (int tcdId, int movementId)
 
void setJunctionId (int movementId, int junctionId)
 
TrafficControlDevicegetTcdObj (int tcdId)
 
int getMovementId (int tcdId)
 
int getIntersectionId (int tcdId)
 

Detailed Description

store the complete information needed for mapping with MAPEM and SPATEM, made to be filled through xodr

Member Function Documentation

◆ addTcd()

void adore::env::TCDTrafficLightSet::addTcd ( TrafficControlDevice tcd)
inline

ControllerId 1 -> * signalId iterate over controllers and update controllerId of tuple: setControllerId(int tcdId, int controllerId) junctionId 1 -> * controllerId iterate over junctions and update junctionId of tuple: setIntersectionId(int controllerId, int intersectionId)

updateControllerOfTcd(int tcdId, int controllerId) updateIntersectionOfTcd(int tcdId, int intersectionId) addTcd(TrafficControlDevice* tcd) TrafficControlDevice* getTcd(int tcdId) int getControllerId(int tcdId) int getIntersectionId(int tcdId)

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIntersectionId()

int adore::env::TCDTrafficLightSet::getIntersectionId ( int  tcdId)
inline

◆ getMovementId()

int adore::env::TCDTrafficLightSet::getMovementId ( int  tcdId)
inline

◆ getTcdObj()

TrafficControlDevice* adore::env::TCDTrafficLightSet::getTcdObj ( int  tcdId)
inline

◆ setJunctionId()

void adore::env::TCDTrafficLightSet::setJunctionId ( int  movementId,
int  junctionId 
)
inline
Here is the caller graph for this function:

◆ setMovementId()

void adore::env::TCDTrafficLightSet::setMovementId ( int  tcdId,
int  movementId 
)
inline
Here is the caller graph for this function:

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