SUMO - Simulation of Urban MObility
GNEClosingLaneReroute Class Reference

#include <GNEClosingLaneReroute.h>

Collaboration diagram for GNEClosingLaneReroute:
Collaboration graph

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...
 

Detailed Description

forces the rerouter to close the lane

Definition at line 52 of file GNEClosingLaneReroute.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

SVCPermissions GNEClosingLaneReroute::getAllowedVehicles ( ) const

get allowed vehicles

Definition at line 53 of file GNEClosingLaneReroute.cpp.

References myAllowedVehicles.

GNELane * GNEClosingLaneReroute::getClosedLane ( ) const
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
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.

Field Documentation

SVCPermissions GNEClosingLaneReroute::myAllowedVehicles
protected

codified allowed vehicles

Definition at line 96 of file GNEClosingLaneReroute.h.

Referenced by getAllowedVehicles(), operator==(), and setAllowedVehicles().

GNELane* GNEClosingLaneReroute::myClosedLane
protected

closed lane

Definition at line 93 of file GNEClosingLaneReroute.h.

Referenced by getClosedLane(), operator==(), and setClosedLane().

SVCPermissions GNEClosingLaneReroute::myDisallowedVehicles
protected

codified disallowed vehicles

Definition at line 99 of file GNEClosingLaneReroute.h.

Referenced by getDisallowedVehicles(), operator==(), and setDisallowedVehicles().

GNERerouterInterval* GNEClosingLaneReroute::myRerouterIntervalParent
protected

reference to rerouter interval parent

Definition at line 90 of file GNEClosingLaneReroute.h.

Referenced by getRerouterIntervalParent(), and operator==().

SumoXMLTag GNEClosingLaneReroute::myTag
protected

XML Tag of closing lane reroute.

Definition at line 102 of file GNEClosingLaneReroute.h.

Referenced by getTag().


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