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...
 
 GNEChange_RerouterItem (GNEParkingAreaReroute *parkingAreaReroute, 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...
 
GNEParkingAreaReroutemyParkingAreaReroute
 modified parkingAreaReroute More...
 
GNERerouterIntervalmyRerouterInterval
 modified rerouter interval More...
 
GNERouteProbReroutemyRouteProbReroute
 modified Route Probability Reroute More...
 

Detailed Description

A change to the network selection

Definition at line 51 of file GNEChange_RerouterItem.h.

Constructor & Destructor Documentation

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 47 of file GNEChange_RerouterItem.cpp.

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 59 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myClosingReroute.

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 71 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myClosingLaneReroute.

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 83 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myDestProbReroute.

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 95 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myRouteProbReroute.

GNEChange_RerouterItem::GNEChange_RerouterItem ( GNEParkingAreaReroute parkingAreaReroute,
bool  forward 
)

Constructor.

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

Definition at line 106 of file GNEChange_RerouterItem.cpp.

References GNEReferenceCounter::incRef(), and myParkingAreaReroute.

Member Function Documentation

FXString GNEChange_RerouterItem::redoName ( ) const
virtual
FXuint GNEChange::size ( ) const
virtualinherited

return actual size

Definition at line 46 of file GNEChange.cpp.

FXString GNEChange_RerouterItem::undoName ( ) const
virtual

Field Documentation

GNEClosingLaneReroute* GNEChange_RerouterItem::myClosingLaneReroute
private

modified Closing lane Reroute

Definition at line 117 of file GNEChange_RerouterItem.h.

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

GNEClosingReroute* GNEChange_RerouterItem::myClosingReroute
private

modified Closing Reroute

Definition at line 114 of file GNEChange_RerouterItem.h.

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

GNEDestProbReroute* GNEChange_RerouterItem::myDestProbReroute
private

modified Closing Interval

Definition at line 120 of file GNEChange_RerouterItem.h.

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

GNEParkingAreaReroute* GNEChange_RerouterItem::myParkingAreaReroute
private

modified parkingAreaReroute

Definition at line 123 of file GNEChange_RerouterItem.h.

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

GNERerouterInterval* GNEChange_RerouterItem::myRerouterInterval
private

modified rerouter interval

Definition at line 111 of file GNEChange_RerouterItem.h.

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

GNERouteProbReroute* GNEChange_RerouterItem::myRouteProbReroute
private

modified Route Probability Reroute

Definition at line 126 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: