58 #ifdef CHECK_MEMORY_LEAKS
60 #endif // CHECK_MEMORY_LEAKS
73 myDetectorBuilder(db),
76 myNetIsLoaded(false) {
90 const std::string& key,
94 const std::vector<MSLane*>& incomingLanes,
95 const std::vector<MSLane*>& internalLanes) {
96 #ifdef HAVE_INTERNAL_LANES
97 myActiveInternalLanes = internalLanes;
113 throw ProcessError(
"Information about the number of nodes was missing.");
129 #ifdef HAVE_INTERNAL_LANES
131 junction = buildInternalJunction();
158 , myActiveInternalLanes
170 myActiveInternalLanes,
176 #ifdef HAVE_INTERNAL_LANES
178 NLJunctionControlBuilder::buildInternalJunction() {
181 myActiveInternalLanes);
226 unsigned int step = 0;
228 MSSimpleTrafficLightLogic::Phases::const_iterator i =
myActivePhases.begin();
229 while (offset >= (*i)->duration) {
231 offset -= (*i)->duration;
294 const std::string& response,
295 const std::string& foes,
350 int minDuration,
int maxDuration) {
385 throw ProcessError(
"Traffic lights could not be built.");
395 const std::string& value) {