![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Information about a replaced route. More...
Public Member Functions | |
| RouteReplaceInfo (const MSEdge *const edge_, const SUMOTime time_, const MSRoute *const route_, const std::string &info_) | |
| Constructor. More... | |
| ~RouteReplaceInfo () | |
| Destructor. More... | |
Data Fields | |
| const MSEdge * | edge |
| The edge the vehicle was on when the route was replaced. More... | |
| std::string | info |
| Information regarding rerouting. More... | |
| const MSRoute * | route |
| The prior route. More... | |
| SUMOTime | time |
| The time the route was replaced. More... | |
Information about a replaced route.
Generated optionally and stored in a vector within the device this structure contains information about a replaced route: the edge the route was replaced at by a new one, the time this was done, and the previous route.
Definition at line 244 of file MSDevice_Vehroutes.h.
|
inline |
Constructor.
| [in] | edge_ | The edge the route was replaced at |
| [in] | time_ | The time the route was replaced |
| [in] | route_ | The prior route |
Definition at line 251 of file MSDevice_Vehroutes.h.
|
inline |
Destructor.
Definition at line 255 of file MSDevice_Vehroutes.h.
| const MSEdge* MSDevice_Vehroutes::RouteReplaceInfo::edge |
The edge the vehicle was on when the route was replaced.
Definition at line 258 of file MSDevice_Vehroutes.h.
| std::string MSDevice_Vehroutes::RouteReplaceInfo::info |
Information regarding rerouting.
Definition at line 267 of file MSDevice_Vehroutes.h.
| const MSRoute* MSDevice_Vehroutes::RouteReplaceInfo::route |
The prior route.
Definition at line 264 of file MSDevice_Vehroutes.h.
| SUMOTime MSDevice_Vehroutes::RouteReplaceInfo::time |
The time the route was replaced.
Definition at line 261 of file MSDevice_Vehroutes.h.