![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEClosingLaneReroute.h>
Public Member Functions | |
SVCPermissions | getAllowedVehicles () const |
get allowed vehicles More... | |
GNELane * | getClosedLane () const |
get closed lane Id More... | |
SVCPermissions | getDisallowedVehicles () const |
get disallowed vehicles More... | |
const GNERerouterInterval & | getRerouterIntervalParent () const |
get rerouter interval parent More... | |
SumoXMLTag | getTag () const |
get tag More... | |
GNEClosingLaneReroute (GNERerouterInterval &rerouterIntervalParent, GNELane *closedLane, SVCPermissions allowedVehicles=SVC_IGNORING, SVCPermissions disallowedVehicles=SVC_IGNORING) | |
constructor More... | |
bool | operator== (const GNEClosingLaneReroute &closingLaneReroute) const |
overload operator == More... | |
void | setAllowedVehicles (SVCPermissions allowed) |
set allowed vehicles More... | |
void | setClosedLane (GNELane *lane) |
set closed lane Id More... | |
void | setDisallowedVehicles (SVCPermissions disallowed) |
set disallowed vehicles More... | |
~GNEClosingLaneReroute () | |
destructor More... | |
Protected Attributes | |
SVCPermissions | myAllowedVehicles |
codified allowed vehicles More... | |
GNELane * | myClosedLane |
closed lane More... | |
SVCPermissions | myDisallowedVehicles |
codified disallowed vehicles More... | |
GNERerouterInterval * | myRerouterIntervalParent |
reference to rerouter interval parent More... | |
SumoXMLTag | myTag |
XML Tag of closing lane reroute. More... | |
forces the rerouter to close the lane
Definition at line 52 of file GNEClosingLaneReroute.h.
GNEClosingLaneReroute::GNEClosingLaneReroute | ( | GNERerouterInterval & | rerouterIntervalParent, |
GNELane * | closedLane, | ||
SVCPermissions | allowedVehicles = SVC_IGNORING , |
||
SVCPermissions | disallowedVehicles = SVC_IGNORING |
||
) |
constructor
Definition at line 40 of file GNEClosingLaneReroute.cpp.
GNEClosingLaneReroute::~GNEClosingLaneReroute | ( | ) |
destructor
Definition at line 49 of file GNEClosingLaneReroute.cpp.
SVCPermissions GNEClosingLaneReroute::getAllowedVehicles | ( | ) | const |
get allowed vehicles
Definition at line 53 of file GNEClosingLaneReroute.cpp.
References myAllowedVehicles.
GNELane * GNEClosingLaneReroute::getClosedLane | ( | ) | const |
get closed lane Id
Definition at line 77 of file GNEClosingLaneReroute.cpp.
References myClosedLane.
Referenced by GNERerouterInterval::insertClosinLanegReroutes(), and GNERerouterInterval::removeClosingLaneReroutes().
SVCPermissions GNEClosingLaneReroute::getDisallowedVehicles | ( | ) | const |
get disallowed vehicles
Definition at line 59 of file GNEClosingLaneReroute.cpp.
References myDisallowedVehicles.
const GNERerouterInterval & GNEClosingLaneReroute::getRerouterIntervalParent | ( | ) | const |
get rerouter interval parent
Definition at line 95 of file GNEClosingLaneReroute.cpp.
References myRerouterIntervalParent.
SumoXMLTag GNEClosingLaneReroute::getTag | ( | ) | const |
get tag
Definition at line 89 of file GNEClosingLaneReroute.cpp.
References myTag.
Referenced by GNERerouterInterval::insertClosinLanegReroutes(), and GNERerouterInterval::removeClosingLaneReroutes().
bool GNEClosingLaneReroute::operator== | ( | const GNEClosingLaneReroute & | closingLaneReroute | ) | const |
overload operator ==
Definition at line 101 of file GNEClosingLaneReroute.cpp.
References myAllowedVehicles, myClosedLane, myDisallowedVehicles, and myRerouterIntervalParent.
void GNEClosingLaneReroute::setAllowedVehicles | ( | SVCPermissions | allowed | ) |
set allowed vehicles
Definition at line 65 of file GNEClosingLaneReroute.cpp.
References myAllowedVehicles.
void GNEClosingLaneReroute::setClosedLane | ( | GNELane * | lane | ) |
set closed lane Id
Definition at line 83 of file GNEClosingLaneReroute.cpp.
References myClosedLane.
void GNEClosingLaneReroute::setDisallowedVehicles | ( | SVCPermissions | disallowed | ) |
set disallowed vehicles
Definition at line 71 of file GNEClosingLaneReroute.cpp.
References myDisallowedVehicles.
|
protected |
codified allowed vehicles
Definition at line 96 of file GNEClosingLaneReroute.h.
Referenced by getAllowedVehicles(), operator==(), and setAllowedVehicles().
|
protected |
closed lane
Definition at line 93 of file GNEClosingLaneReroute.h.
Referenced by getClosedLane(), operator==(), and setClosedLane().
|
protected |
codified disallowed vehicles
Definition at line 99 of file GNEClosingLaneReroute.h.
Referenced by getDisallowedVehicles(), operator==(), and setDisallowedVehicles().
|
protected |
reference to rerouter interval parent
Definition at line 90 of file GNEClosingLaneReroute.h.
Referenced by getRerouterIntervalParent(), and operator==().
|
protected |
XML Tag of closing lane reroute.
Definition at line 102 of file GNEClosingLaneReroute.h.
Referenced by getTag().