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...
 
GNELanegetClosedLane () const
 get closed lane Id More...
 
SVCPermissions getDisallowedVehicles () const
 get disallowed vehicles More...
 
const GNERerouterIntervalgetRerouterIntervalParent () 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...
 
GNELanemyClosedLane
 closed lane More...
 
SVCPermissions myDisallowedVehicles
 codified disallowed vehicles More...
 
GNERerouterIntervalmyRerouterIntervalParent
 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::GNEClosingLaneReroute ( GNERerouterInterval rerouterIntervalParent,
GNELane closedLane,
SVCPermissions  allowedVehicles = SVC_IGNORING,
SVCPermissions  disallowedVehicles = SVC_IGNORING 
)

constructor

Definition at line 40 of file GNEClosingLaneReroute.cpp.

◆ ~GNEClosingLaneReroute()

GNEClosingLaneReroute::~GNEClosingLaneReroute ( )

destructor

Definition at line 49 of file GNEClosingLaneReroute.cpp.

Member Function Documentation

◆ getAllowedVehicles()

SVCPermissions GNEClosingLaneReroute::getAllowedVehicles ( ) const

get allowed vehicles

Definition at line 53 of file GNEClosingLaneReroute.cpp.

References myAllowedVehicles.

◆ getClosedLane()

GNELane * GNEClosingLaneReroute::getClosedLane ( ) const

◆ getDisallowedVehicles()

SVCPermissions GNEClosingLaneReroute::getDisallowedVehicles ( ) const

get disallowed vehicles

Definition at line 59 of file GNEClosingLaneReroute.cpp.

References myDisallowedVehicles.

◆ getRerouterIntervalParent()

const GNERerouterInterval & GNEClosingLaneReroute::getRerouterIntervalParent ( ) const

get rerouter interval parent

Definition at line 95 of file GNEClosingLaneReroute.cpp.

References myRerouterIntervalParent.

◆ getTag()

SumoXMLTag GNEClosingLaneReroute::getTag ( ) const

◆ operator==()

bool GNEClosingLaneReroute::operator== ( const GNEClosingLaneReroute closingLaneReroute) const

overload operator ==

Definition at line 101 of file GNEClosingLaneReroute.cpp.

References myAllowedVehicles, myClosedLane, myDisallowedVehicles, and myRerouterIntervalParent.

◆ setAllowedVehicles()

void GNEClosingLaneReroute::setAllowedVehicles ( SVCPermissions  allowed)

set allowed vehicles

Definition at line 65 of file GNEClosingLaneReroute.cpp.

References myAllowedVehicles.

◆ setClosedLane()

void GNEClosingLaneReroute::setClosedLane ( GNELane lane)

set closed lane Id

Definition at line 83 of file GNEClosingLaneReroute.cpp.

References myClosedLane.

◆ setDisallowedVehicles()

void GNEClosingLaneReroute::setDisallowedVehicles ( SVCPermissions  disallowed)

set disallowed vehicles

Definition at line 71 of file GNEClosingLaneReroute.cpp.

References myDisallowedVehicles.

Field Documentation

◆ myAllowedVehicles

SVCPermissions GNEClosingLaneReroute::myAllowedVehicles
protected

codified allowed vehicles

Definition at line 96 of file GNEClosingLaneReroute.h.

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

◆ myClosedLane

GNELane* GNEClosingLaneReroute::myClosedLane
protected

closed lane

Definition at line 93 of file GNEClosingLaneReroute.h.

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

◆ myDisallowedVehicles

SVCPermissions GNEClosingLaneReroute::myDisallowedVehicles
protected

codified disallowed vehicles

Definition at line 99 of file GNEClosingLaneReroute.h.

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

◆ myRerouterIntervalParent

GNERerouterInterval* GNEClosingLaneReroute::myRerouterIntervalParent
protected

reference to rerouter interval parent

Definition at line 90 of file GNEClosingLaneReroute.h.

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

◆ myTag

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: