SUMO - Simulation of Urban MObility
GNENet::GNEChange_ReplaceEdgeInTLS Class Reference

class for GNEChange_ReplaceEdgeInTLS More...

Inheritance diagram for GNENet::GNEChange_ReplaceEdgeInTLS:
Inheritance graph
Collaboration diagram for GNENet::GNEChange_ReplaceEdgeInTLS:
Collaboration graph

Public Member Functions

 GNEChange_ReplaceEdgeInTLS (NBTrafficLightLogicCont &tllcont, NBEdge *replaced, NBEdge *by)
 constructor More...
 
void redo ()
 redo action More...
 
FXString redoName () const
 get Redo name More...
 
virtual FXuint size () const
 return actual size More...
 
bool trueChange ()
 wether original and new value differ More...
 
void undo ()
 undo action More...
 
FXString undoName () const
 undo name More...
 
 ~GNEChange_ReplaceEdgeInTLS ()
 destructor 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

NBEdgemyBy
 replaced by NBEdge More...
 
NBEdgemyReplaced
 replaced NBEdge More...
 
NBTrafficLightLogicContmyTllcont
 container for traffic light logic More...
 

Detailed Description

class for GNEChange_ReplaceEdgeInTLS

Definition at line 756 of file GNENet.h.

Constructor & Destructor Documentation

◆ GNEChange_ReplaceEdgeInTLS()

GNENet::GNEChange_ReplaceEdgeInTLS::GNEChange_ReplaceEdgeInTLS ( NBTrafficLightLogicCont tllcont,
NBEdge replaced,
NBEdge by 
)
inline

constructor

Definition at line 761 of file GNENet.h.

◆ ~GNEChange_ReplaceEdgeInTLS()

GNENet::GNEChange_ReplaceEdgeInTLS::~GNEChange_ReplaceEdgeInTLS ( )
inline

destructor

Definition at line 766 of file GNENet.h.

Member Function Documentation

◆ redo()

void GNENet::GNEChange_ReplaceEdgeInTLS::redo ( )
inlinevirtual

redo action

Reimplemented from GNEChange.

Definition at line 784 of file GNENet.h.

◆ redoName()

FXString GNENet::GNEChange_ReplaceEdgeInTLS::redoName ( ) const
inlinevirtual

get Redo name

Reimplemented from GNEChange.

Definition at line 774 of file GNENet.h.

◆ size()

FXuint GNEChange::size ( ) const
virtualinherited

return actual size

Definition at line 45 of file GNEChange.cpp.

Referenced by GNELane::isValid().

◆ trueChange()

bool GNENet::GNEChange_ReplaceEdgeInTLS::trueChange ( )
inline

wether original and new value differ

Definition at line 789 of file GNENet.h.

◆ undo()

void GNENet::GNEChange_ReplaceEdgeInTLS::undo ( )
inlinevirtual

undo action

Reimplemented from GNEChange.

Definition at line 779 of file GNENet.h.

◆ undoName()

FXString GNENet::GNEChange_ReplaceEdgeInTLS::undoName ( ) const
inlinevirtual

undo name

Reimplemented from GNEChange.

Definition at line 769 of file GNENet.h.

Field Documentation

◆ myBy

NBEdge* GNENet::GNEChange_ReplaceEdgeInTLS::myBy
private

replaced by NBEdge

Definition at line 801 of file GNENet.h.

◆ myForward

◆ myNet

◆ myReplaced

NBEdge* GNENet::GNEChange_ReplaceEdgeInTLS::myReplaced
private

replaced NBEdge

Definition at line 798 of file GNENet.h.

◆ myTllcont

NBTrafficLightLogicCont& GNENet::GNEChange_ReplaceEdgeInTLS::myTllcont
private

container for traffic light logic

Definition at line 795 of file GNENet.h.


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