40 #ifdef CHECK_MEMORY_LEAKS
42 #endif // CHECK_MEMORY_LEAKS
54 #ifndef HAVE_INTERNAL_LANES
60 myRequestIdx(0), myRespondIdx(0),
61 myState(state), myDirection(dir), myLength(length) {}
67 myRequestIdx(0), myRespondIdx(0),
68 myState(state), myDirection(dir), myLength(length),
69 myJunctionInlane(via) {}
78 const std::vector<MSLink*> &foeLinks,
79 const std::vector<MSLane*> &foeLanes) {
111 if ((*i)->isBlockingAnyone()) {
136 #ifdef HAVE_INTERNAL_LANES
137 const SUMOReal length = myJunctionInlane == 0 ?
getLength() : myJunctionInlane->getLength();
141 const SUMOTime leaveTime = arrivalTime +
TIME2STEPS((length + vehicleLength) / arrivalSpeed);
150 if ((*i)->blockedAtTime(arrivalTime, leaveTime)) {
155 if ((*i)->getVehicleNumber() > 0 || (*i)->getPartialOccupator() != 0) {
166 if (!(*i).willPass) {
180 if ((*i)->blockedAtTime(arrivalTime, leaveTime)) {
185 if ((*i)->getVehicleNumber() > 0 || (*i)->getPartialOccupator() != 0) {
211 #ifdef HAVE_INTERNAL_LANES
213 MSLink::getViaLane()
const {
214 return myJunctionInlane;