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 89 of file MSLane.h.


Member Function Documentation

bool MSLane::VehPosition::operator() ( const MSVehicle *  cmp,
SUMOReal  pos 
) const [inline]

compares vehicle position to the detector position

Definition at line 92 of file MSLane.h.

References MSVehicle::getPositionOnLane().


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