48 GNEChange(rerouterInterval->getRerouterParent()->getViewNet()->getNet(), forward),
49 myRerouterInterval(rerouterInterval),
50 myClosingReroute(
nullptr),
51 myClosingLaneReroute(
nullptr),
52 myDestProbReroute(
nullptr),
53 myParkingAreaReroute(
nullptr),
54 myRouteProbReroute(
nullptr) {
55 myRerouterInterval->incRef(
"GNEChange_RerouterItem");
60 GNEChange(closingReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
61 myRerouterInterval(nullptr),
62 myClosingReroute(closingReroute),
63 myClosingLaneReroute(nullptr),
64 myDestProbReroute(nullptr),
65 myParkingAreaReroute(nullptr),
66 myRouteProbReroute(nullptr) {
72 GNEChange(closingLaneReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
84 GNEChange(destProbReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
96 GNEChange(routeProbReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
107 GNEChange(parkingAreaReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
225 throw ProcessError(
"There isn't a defined Rerouter item");
271 throw ProcessError(
"There isn't a defined Rerouter item");
325 throw ProcessError(
"There isn't a defined Rerouter item");
371 throw ProcessError(
"There isn't a defined Rerouter item");
394 throw ProcessError(
"There isn't a defined Rerouter item");
414 throw ProcessError(
"There isn't a defined Rerouter item");
the function-object for an editing operation (abstract base)
GNERerouter * getRerouterParent() const
get rerouter parent
void removeRerouterInterval(GNERerouterInterval *rerouterInterval)
add rerouter interval
GNEDestProbReroute * myDestProbReroute
modified Closing Interval
void addDestProbReroute(GNEDestProbReroute *destProbReroute)
add destiny probability reroute
FXString undoName() const
return undoName
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
void removeParkingAreaReroute(GNEParkingAreaReroute *parkingAreaReroute)
add destiny probability reroute
FXString redoName() const
get Redo name
void removeDestProbReroute(GNEDestProbReroute *destProbReroute)
add destiny probability reroute
void addClosingReroute(GNEClosingReroute *closingReroute)
add closing reroute
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
void addRerouterInterval(GNERerouterInterval *rerouterInterval)
add rerouter interval
void removeClosingReroute(GNEClosingReroute *closingReroute)
add closing reroute
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
void requiereSaveAdditionals(bool value)
inform that additionals has to be saved
void removeClosingLaneReroute(GNEClosingLaneReroute *closingLaneReroute)
add closing reroute
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
~GNEChange_RerouterItem()
Destructor.
const std::string getID() const
function to support debugging
void addRouteProbReroute(GNERouteProbReroute *routeProbabilityReroute)
add reoute probability reroute
void incRef(const std::string &debugMsg="")
Increarse reference.
GNERouteProbReroute * myRouteProbReroute
modified Route Probability Reroute
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
void decRef(const std::string &debugMsg="")
Decrease reference.
GNEClosingLaneReroute * myClosingLaneReroute
modified Closing lane Reroute
GNEChange_RerouterItem(GNERerouterInterval *rerouterInterval, bool forward)
Constructor.
GNEParkingAreaReroute * myParkingAreaReroute
modified parkingAreaReroute
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
GNEClosingReroute * myClosingReroute
modified Closing Reroute
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
void addParkingAreaReroute(GNEParkingAreaReroute *parkingAreaReroute)
add destiny probability reroute
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
SumoXMLTag getTag() const
get XML Tag assigned to this object
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
void addClosingLaneReroute(GNEClosingLaneReroute *closingLaneReroute)
add closing reroute
bool unreferenced()
check if object ins't referenced
void removeRouteProbReroute(GNERouteProbReroute *routeProbabilityReroute)
add reoute probability reroute
GNERerouterInterval * myRerouterInterval
modified rerouter interval