SUMO - Simulation of Urban MObility
MSLane::VehPosition Struct Reference

#include <MSLane.h>

Inheritance diagram for MSLane::VehPosition:
binary_function

Public Member Functions

bool operator() (const MSVehicle *cmp, SUMOReal pos) const
 compares vehicle position to the detector position

Detailed Description

Function-object in order to find the vehicle, that has just passed the detector.

Definition at line 81 of file MSLane.h.


Member Function Documentation

bool MSLane::VehPosition::operator() ( const MSVehicle cmp,
SUMOReal  pos 
) const

compares vehicle position to the detector position

Definition at line 1304 of file MSLane.cpp.

References MSVehicle::getPositionOnLane().


The documentation for this struct was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines