SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSDevice_Vehroutes::RouteReplaceInfo Class Reference

Information about a replaced route. More...

Public Member Functions

 RouteReplaceInfo (const MSEdge *const edge_, const SUMOTime time_, const MSRoute *const route_)
 Constructor. More...
 
 ~RouteReplaceInfo ()
 Destructor. More...
 

Data Fields

const MSEdge * edge
 The edge the vehicle was on when the route was replaced. More...
 
const MSRoute * route
 The prior route. More...
 
SUMOTime time
 The time the route was replaced. More...
 

Detailed Description

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 211 of file MSDevice_Vehroutes.h.

Constructor & Destructor Documentation

MSDevice_Vehroutes::RouteReplaceInfo::RouteReplaceInfo ( const MSEdge *const  edge_,
const SUMOTime  time_,
const MSRoute *const  route_ 
)
inline

Constructor.

Parameters
[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 218 of file MSDevice_Vehroutes.h.

MSDevice_Vehroutes::RouteReplaceInfo::~RouteReplaceInfo ( )
inline

Destructor.

Definition at line 222 of file MSDevice_Vehroutes.h.

Field Documentation

const MSEdge* MSDevice_Vehroutes::RouteReplaceInfo::edge

The edge the vehicle was on when the route was replaced.

Definition at line 225 of file MSDevice_Vehroutes.h.

const MSRoute* MSDevice_Vehroutes::RouteReplaceInfo::route

The prior route.

Definition at line 231 of file MSDevice_Vehroutes.h.

SUMOTime MSDevice_Vehroutes::RouteReplaceInfo::time

The time the route was replaced.

Definition at line 228 of file MSDevice_Vehroutes.h.


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