Eclipse SUMO - Simulation of Urban MObility
|
Sorts transportables by their positions. More...
#include <MSEdge.h>
Public Member Functions | |
int | operator() (const MSTransportable *const c1, const MSTransportable *const c2) const |
comparing operator More... | |
transportable_by_position_sorter (SUMOTime timestep) | |
constructor More... | |
Private Attributes | |
SUMOTime | myTime |
|
inlineexplicit |
int MSEdge::transportable_by_position_sorter::operator() | ( | const MSTransportable *const | c1, |
const MSTransportable *const | c2 | ||
) | const |
comparing operator
Definition at line 1168 of file MSEdge.cpp.
References MSTransportable::getCurrentStage(), MSStage::getEdgePos(), Named::getID(), and myTime.
|
private |
Definition at line 865 of file MSEdge.h.
Referenced by operator()().