SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSLane::VehPosition Struct Reference

#include <MSLane.h>

Inheritance diagram for MSLane::VehPosition:

Public Member Functions

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

Detailed Description

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

Definition at line 88 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 1333 of file MSLane.cpp.

References MSVehicle::getPositionOnLane().


The documentation for this struct was generated from the following files: