SUMO - Simulation of Urban MObility
GNEChange_RerouterItem Class Reference

#include <GNEChange_RerouterItem.h>

Inheritance diagram for GNEChange_RerouterItem:
Inheritance graph
Collaboration diagram for GNEChange_RerouterItem:
Collaboration graph

Public Member Functions

 GNEChange_RerouterItem (GNERerouterInterval *rerouterInterval, bool forward)
 Constructor. More...
 
 GNEChange_RerouterItem (GNEClosingReroute *closingReroute, bool forward)
 Constructor. More...
 
 GNEChange_RerouterItem (GNEClosingLaneReroute *closingLaneReroute, bool forward)
 Constructor. More...
 
 GNEChange_RerouterItem (GNEDestProbReroute *destProbReroute, bool forward)
 Constructor. More...
 
 GNEChange_RerouterItem (GNERouteProbReroute *routeProbReroute, bool forward)
 Constructor. More...
 
virtual FXuint size () const
 return actual size More...
 
 ~GNEChange_RerouterItem ()
 Destructor. More...
 
inherited from GNEChange

get undo Name

FXString undoName () const
 return undoName More...
 
FXString redoName () const
 get Redo name More...
 
void undo ()
 undo action More...
 
void redo ()
 redo action More...
 

Protected Attributes

bool myForward
 we group antagonistic commands (create junction/delete junction) and keep them apart by this flag More...
 
GNENetmyNet
 the net to which operations shall be applied or which shall be informed about gui updates (we are not responsible for the pointer) More...
 

Private Attributes

GNEClosingLaneReroutemyClosingLaneReroute
 modified Closing lane Reroute More...
 
GNEClosingReroutemyClosingReroute
 modified Closing Reroute More...
 
GNEDestProbReroutemyDestProbReroute
 modified Closing Interval More...
 
GNERerouterIntervalmyRerouterInterval
 modified rerouter interval More...
 
GNERouteProbReroutemyRouteProbReroute
 modified Route Probability Reroute More...
 

Detailed Description

A change to the network selection

Definition at line 56 of file GNEChange_RerouterItem.h.

Constructor & Destructor Documentation

◆ GNEChange_RerouterItem() [1/5]

GNEChange_RerouterItem::GNEChange_RerouterItem ( GNERerouterInterval rerouterInterval,
bool  forward 
)

Constructor.

Parameters
[in]rerouterIntervalrerouter interval to be added
[in]forwardWhether to create/delete (true/false)

Definition at line 52 of file GNEChange_RerouterItem.cpp.

◆ GNEChange_RerouterItem() [2/5]

GNEChange_RerouterItem::GNEChange_RerouterItem ( GNEClosingReroute closingReroute,
bool  forward 
)

Constructor.

Parameters
[in]closingRerouteClosing Reroute to be added
[in]forwardWhether to create/delete (true/false)

Definition at line 63 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myClosingReroute.

◆ GNEChange_RerouterItem() [3/5]

GNEChange_RerouterItem::GNEChange_RerouterItem ( GNEClosingLaneReroute closingLaneReroute,
bool  forward 
)

Constructor.

Parameters
[in]closingLaneRerouteClosing Lane Reroute to be added
[in]forwardWhether to create/delete (true/false)

Definition at line 74 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myClosingLaneReroute.

◆ GNEChange_RerouterItem() [4/5]

GNEChange_RerouterItem::GNEChange_RerouterItem ( GNEDestProbReroute destProbReroute,
bool  forward 
)

Constructor.

Parameters
[in]destProbRerouteDestiny Probability Reroute to be added
[in]forwardWhether to create/delete (true/false)

Definition at line 85 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myDestProbReroute.

◆ GNEChange_RerouterItem() [5/5]

GNEChange_RerouterItem::GNEChange_RerouterItem ( GNERouteProbReroute routeProbReroute,
bool  forward 
)

Constructor.

Parameters
[in]routeProbRerouteRoute Probability Reroute to be added
[in]forwardWhether to create/delete (true/false)

Definition at line 96 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myRouteProbReroute.

◆ ~GNEChange_RerouterItem()

Member Function Documentation

◆ redo()

◆ redoName()

FXString GNEChange_RerouterItem::redoName ( ) const
virtual

◆ size()

FXuint GNEChange::size ( ) const
virtualinherited

return actual size

Definition at line 52 of file GNEChange.cpp.

◆ undo()

◆ undoName()

FXString GNEChange_RerouterItem::undoName ( ) const
virtual

Field Documentation

◆ myClosingLaneReroute

GNEClosingLaneReroute* GNEChange_RerouterItem::myClosingLaneReroute
private

modified Closing lane Reroute

Definition at line 116 of file GNEChange_RerouterItem.h.

Referenced by GNEChange_RerouterItem(), redo(), redoName(), undo(), undoName(), and ~GNEChange_RerouterItem().

◆ myClosingReroute

GNEClosingReroute* GNEChange_RerouterItem::myClosingReroute
private

modified Closing Reroute

Definition at line 113 of file GNEChange_RerouterItem.h.

Referenced by GNEChange_RerouterItem(), redo(), redoName(), undo(), undoName(), and ~GNEChange_RerouterItem().

◆ myDestProbReroute

GNEDestProbReroute* GNEChange_RerouterItem::myDestProbReroute
private

modified Closing Interval

Definition at line 119 of file GNEChange_RerouterItem.h.

Referenced by GNEChange_RerouterItem(), redo(), redoName(), undo(), undoName(), and ~GNEChange_RerouterItem().

◆ myForward

◆ myNet

◆ myRerouterInterval

GNERerouterInterval* GNEChange_RerouterItem::myRerouterInterval
private

modified rerouter interval

Definition at line 110 of file GNEChange_RerouterItem.h.

Referenced by redo(), redoName(), undo(), undoName(), and ~GNEChange_RerouterItem().

◆ myRouteProbReroute

GNERouteProbReroute* GNEChange_RerouterItem::myRouteProbReroute
private

modified Route Probability Reroute

Definition at line 122 of file GNEChange_RerouterItem.h.

Referenced by GNEChange_RerouterItem(), redo(), redoName(), undo(), undoName(), and ~GNEChange_RerouterItem().


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