![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEClosingReroute.h>
Public Member Functions | |
SVCPermissions | getAllowedVehicles () const |
get allowed vehicles More... | |
GNEEdge * | getClosedEdge () const |
get closed edge More... | |
SVCPermissions | getDisallowedVehicles () const |
get disallowed vehicles More... | |
const GNERerouterInterval & | getRerouterIntervalParent () const |
get rerouter interval parent More... | |
SumoXMLTag | getTag () const |
get tag More... | |
GNEClosingReroute (GNERerouterInterval &rerouterIntervalParent, GNEEdge *closedEdge, SVCPermissions allowedVehicles=SVC_IGNORING, SVCPermissions disallowedVehicles=SVC_IGNORING) | |
constructor More... | |
bool | operator== (const GNEClosingReroute &closingReroute) const |
overload operator == More... | |
void | setAllowedVehicles (SVCPermissions allowed) |
set allowed vehicles More... | |
void | setClosedEdge (GNEEdge *edge) |
set closed edge More... | |
void | setDisallowedVehicles (SVCPermissions disallowed) |
set disallowed vehicles More... | |
~GNEClosingReroute () | |
destructor More... | |
Protected Attributes | |
SVCPermissions | myAllowedVehicles |
codified allowed vehicles More... | |
GNEEdge * | myClosedEdge |
closed edge More... | |
SVCPermissions | myDisallowedVehicles |
codified disallowed vehicles More... | |
GNERerouterInterval * | myRerouterIntervalParent |
reference to rerouter interval parent More... | |
SumoXMLTag | myTag |
XML Tag of closing reroute. More... | |
the rerouter to close the street (edge)
Definition at line 53 of file GNEClosingReroute.h.
GNEClosingReroute::GNEClosingReroute | ( | GNERerouterInterval & | rerouterIntervalParent, |
GNEEdge * | closedEdge, | ||
SVCPermissions | allowedVehicles = SVC_IGNORING , |
||
SVCPermissions | disallowedVehicles = SVC_IGNORING |
||
) |
constructor
Definition at line 40 of file GNEClosingReroute.cpp.
GNEClosingReroute::~GNEClosingReroute | ( | ) |
destructor
Definition at line 49 of file GNEClosingReroute.cpp.
SVCPermissions GNEClosingReroute::getAllowedVehicles | ( | ) | const |
get allowed vehicles
Definition at line 54 of file GNEClosingReroute.cpp.
References myAllowedVehicles.
GNEEdge * GNEClosingReroute::getClosedEdge | ( | ) | const |
get closed edge
Definition at line 78 of file GNEClosingReroute.cpp.
References myClosedEdge.
Referenced by GNERerouterInterval::insertClosingReroutes(), and GNERerouterInterval::removeClosingReroutes().
SVCPermissions GNEClosingReroute::getDisallowedVehicles | ( | ) | const |
get disallowed vehicles
Definition at line 60 of file GNEClosingReroute.cpp.
References myDisallowedVehicles.
const GNERerouterInterval & GNEClosingReroute::getRerouterIntervalParent | ( | ) | const |
get rerouter interval parent
Definition at line 96 of file GNEClosingReroute.cpp.
References myRerouterIntervalParent.
SumoXMLTag GNEClosingReroute::getTag | ( | ) | const |
get tag
Definition at line 90 of file GNEClosingReroute.cpp.
References myTag.
Referenced by GNERerouterInterval::insertClosingReroutes(), and GNERerouterInterval::removeClosingReroutes().
bool GNEClosingReroute::operator== | ( | const GNEClosingReroute & | closingReroute | ) | const |
overload operator ==
Definition at line 102 of file GNEClosingReroute.cpp.
References myAllowedVehicles, myClosedEdge, myDisallowedVehicles, and myRerouterIntervalParent.
void GNEClosingReroute::setAllowedVehicles | ( | SVCPermissions | allowed | ) |
set allowed vehicles
Definition at line 66 of file GNEClosingReroute.cpp.
References myAllowedVehicles.
void GNEClosingReroute::setClosedEdge | ( | GNEEdge * | edge | ) |
void GNEClosingReroute::setDisallowedVehicles | ( | SVCPermissions | disallowed | ) |
set disallowed vehicles
Definition at line 72 of file GNEClosingReroute.cpp.
References myDisallowedVehicles.
|
protected |
codified allowed vehicles
Definition at line 97 of file GNEClosingReroute.h.
Referenced by getAllowedVehicles(), operator==(), and setAllowedVehicles().
|
protected |
closed edge
Definition at line 94 of file GNEClosingReroute.h.
Referenced by getClosedEdge(), operator==(), and setClosedEdge().
|
protected |
codified disallowed vehicles
Definition at line 100 of file GNEClosingReroute.h.
Referenced by getDisallowedVehicles(), operator==(), and setDisallowedVehicles().
|
protected |
reference to rerouter interval parent
Definition at line 91 of file GNEClosingReroute.h.
Referenced by getRerouterIntervalParent(), and operator==().
|
protected |
XML Tag of closing reroute.
Definition at line 103 of file GNEClosingReroute.h.
Referenced by getTag().