54 if(this->count(tcdId)>0)
56 std::get<1>(this->at(tcdId)) = movementId;
62 for(
auto it = this->begin(); it!=this->end(); it++)
64 if(std::get<1>(it->second)==movementId)
66 std::get<2>(it->second)=junctionId;
73 return std::get<0>(this->at(tcdId));
78 return std::get<1>(this->at(tcdId));
83 return std::get<2>(this->at(tcdId));
Definition: tcdtrafficlightset.h:31
void setJunctionId(int movementId, int junctionId)
Definition: tcdtrafficlightset.h:60
void setMovementId(int tcdId, int movementId)
Definition: tcdtrafficlightset.h:52
void addTcd(TrafficControlDevice *tcd)
Definition: tcdtrafficlightset.h:47
int getIntersectionId(int tcdId)
Definition: tcdtrafficlightset.h:81
TrafficControlDevice * getTcdObj(int tcdId)
Definition: tcdtrafficlightset.h:71
int getMovementId(int tcdId)
Definition: tcdtrafficlightset.h:76
Definition: trafficcontroldevice.h:24
int getID() const
Definition: trafficcontroldevice.h:146
std::tuple< TrafficControlDevice *, int, int > TTCDTrafficLightTuple
Definition: tcdtrafficlightset.h:25
Definition: areaofeffectconverter.h:20