![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEChange_CalibratorItem.h>


Public Member Functions | |
| GNEChange_CalibratorItem (GNECalibratorRoute *calibratorRoute, bool forward) | |
| Constructor. More... | |
| GNEChange_CalibratorItem (GNECalibratorVehicleType *calibratorVehicleType, bool forward) | |
| Constructor. More... | |
| virtual FXuint | size () const |
| return actual size More... | |
| ~GNEChange_CalibratorItem () | |
| 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... | |
| GNENet * | myNet |
| 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 | |
| GNECalibratorVehicleType * | myCalibratorVehicleType |
| modified calibrator vehicle type More... | |
A change to the network selection
Definition at line 48 of file GNEChange_CalibratorItem.h.
| GNEChange_CalibratorItem::GNEChange_CalibratorItem | ( | GNECalibratorRoute * | calibratorRoute, |
| bool | forward | ||
| ) |
Constructor.
| [in] | calibratorRoute | calibrator route to be added or removed |
| [in] | forward | Whether to create/delete (true/false) |
| GNEChange_CalibratorItem::GNEChange_CalibratorItem | ( | GNECalibratorVehicleType * | calibratorVehicleType, |
| bool | forward | ||
| ) |
Constructor.
| [in] | calibratorVehicleType | calibrator vehicle type to be added or removed |
| [in] | forward | Whether to create/delete (true/false) |
Definition at line 44 of file GNEChange_CalibratorItem.cpp.
| GNEChange_CalibratorItem::~GNEChange_CalibratorItem | ( | ) |
Destructor.
Definition at line 51 of file GNEChange_CalibratorItem.cpp.
|
virtual |
redo action
Reimplemented from GNEChange.
Definition at line 85 of file GNEChange_CalibratorItem.cpp.
References GNENet::deleteCalibratorVehicleType(), GNEAttributeCarrier::getID(), OptionsCont::getOptions(), GNENet::insertCalibratorVehicleType(), myCalibratorVehicleType, GNEChange::myForward, GNEChange::myNet, GNENet::requiereSaveAdditionals(), and WRITE_WARNING.
|
virtual |
get Redo name
Reimplemented from GNEChange.
Definition at line 125 of file GNEChange_CalibratorItem.cpp.
References GNEAttributeCarrier::getTag(), myCalibratorVehicleType, and toString().
|
virtualinherited |
return actual size
Definition at line 46 of file GNEChange.cpp.
|
virtual |
undo action
Reimplemented from GNEChange.
Definition at line 55 of file GNEChange_CalibratorItem.cpp.
References GNENet::deleteCalibratorVehicleType(), GNEAttributeCarrier::getID(), OptionsCont::getOptions(), GNENet::insertCalibratorVehicleType(), myCalibratorVehicleType, GNEChange::myForward, GNEChange::myNet, GNENet::requiereSaveAdditionals(), and WRITE_WARNING.
|
virtual |
return undoName
Reimplemented from GNEChange.
Definition at line 115 of file GNEChange_CalibratorItem.cpp.
References GNEAttributeCarrier::getTag(), myCalibratorVehicleType, and toString().
|
private |
modified calibrator vehicle type
Definition at line 84 of file GNEChange_CalibratorItem.h.
Referenced by redo(), redoName(), undo(), and undoName().
|
protectedinherited |
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
Definition at line 80 of file GNEChange.h.
Referenced by GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), redo(), GNEChange_Junction::redoName(), GNEChange_Shape::redoName(), GNEChange_TLS::redoName(), GNEChange_Additional::redoName(), GNEChange_Connection::redoName(), GNEChange_Edge::redoName(), GNEChange_Lane::redoName(), GNEChange_Crossing::redoName(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), undo(), GNEChange_Junction::undoName(), GNEChange_Shape::undoName(), GNEChange_TLS::undoName(), GNEChange_Connection::undoName(), GNEChange_Additional::undoName(), GNEChange_Edge::undoName(), GNEChange_Lane::undoName(), and GNEChange_Crossing::undoName().
|
protectedinherited |
the net to which operations shall be applied or which shall be informed about gui updates (we are not responsible for the pointer)
Definition at line 75 of file GNEChange.h.
Referenced by GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), redo(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Connection::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), undo(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Crossing::~GNEChange_Crossing(), and GNEChange_Shape::~GNEChange_Shape().