50 #ifdef CHECK_MEMORY_LEAKS
52 #endif // CHECK_MEMORY_LEAKS
59 : myJunctionControlBuilder(jb) {
79 const std::string& viaID,
86 if (laneId ==
"SUMO_NO_DESTINATION") {
88 #ifdef HAVE_INTERNAL_LANES
93 mySuccLanes->push_back(link);
98 throw InvalidArgument(
"An unknown lane ('" + myCurrentLane +
"') should be assigned to a tl-logic.");
100 logics.
addLink(link, current, linkNo);
108 throw InvalidArgument(
"An unknown lane ('" + laneId +
"') should be set as a follower for lane '" + myCurrentLane +
"'.");
110 #ifdef HAVE_INTERNAL_LANES
115 throw InvalidArgument(
"An unknown lane ('" + viaID +
"') should be set as a via-lane for lane '" + myCurrentLane +
"'.");
129 SUMOReal length = orig != 0 && lane != 0
132 #ifdef HAVE_INTERNAL_LANES
136 MSLink* link =
new MSLink(lane, via, dir, state, length);
143 #ifdef HAVE_INTERNAL_LANES
160 throw InvalidArgument(
"An unknown lane ('" + myCurrentLane +
"') should be assigned to a tl-logic.");
162 logics.
addLink(link, current, linkNo);
165 mySuccLanes->push_back(link);
173 throw InvalidArgument(
"Trying to close connections of an unknown lane ('" +
myCurrentLane +
"').");