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.");
132 #ifdef HAVE_INTERNAL_LANES
134 junction = buildInternalJunction();
161 , myActiveInternalLanes
173 myActiveInternalLanes,
179 #ifdef HAVE_INTERNAL_LANES
181 NLJunctionControlBuilder::buildInternalJunction() {
184 myActiveInternalLanes);
229 unsigned int step = 0;
231 MSSimpleTrafficLightLogic::Phases::const_iterator i =
myActivePhases.begin();
232 while (offset >= (*i)->duration) {
234 offset -= (*i)->duration;
297 const std::string& response,
298 const std::string& foes,
353 int minDuration,
int maxDuration) {
388 throw ProcessError(
"Traffic lights could not be built.");
398 const std::string& value) {