GUISUMOAbstractView::vehicle_in_ops_finder Class Reference

#include <GUISUMOAbstractView.h>


Detailed Description

A class to find the matching lane wrapper

Definition at line 381 of file GUISUMOAbstractView.h.


Public Member Functions

bool operator() (const VehicleOps &vo)
 vehicle_in_ops_finder (const GUIVehicle *const v)

Private Attributes

const GUIVehicle *const myVehicle
 The vehicle to search for.

Constructor & Destructor Documentation

GUISUMOAbstractView::vehicle_in_ops_finder::vehicle_in_ops_finder ( const GUIVehicle *const   v  )  [inline, explicit]

constructor

Definition at line 384 of file GUISUMOAbstractView.h.

00385                 : myVehicle(v) { }


Member Function Documentation

bool GUISUMOAbstractView::vehicle_in_ops_finder::operator() ( const VehicleOps vo  )  [inline]

the comparing function

Definition at line 388 of file GUISUMOAbstractView.h.

References myVehicle, and GUISUMOAbstractView::VehicleOps::vehicle.

00388                                               {
00389             return vo.vehicle == myVehicle;
00390         }


Field Documentation

The vehicle to search for.

Definition at line 394 of file GUISUMOAbstractView.h.

Referenced by operator()().


The documentation for this class was generated from the following file:

Generated on Wed May 5 00:06:45 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6