53 GNEChange(rerouterInterval->getRerouterParent()->getViewNet()->getNet(), forward),
54 myRerouterInterval(rerouterInterval),
55 myClosingReroute(NULL),
56 myClosingLaneReroute(NULL),
57 myDestProbReroute(NULL),
58 myRouteProbReroute(NULL) {
59 myRerouterInterval->incRef(
"GNEChange_RerouterItem");
64 GNEChange(closingReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
65 myRerouterInterval(NULL),
66 myClosingReroute(closingReroute),
67 myClosingLaneReroute(NULL),
68 myDestProbReroute(NULL),
69 myRouteProbReroute(NULL) {
75 GNEChange(closingLaneReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
86 GNEChange(destProbReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
97 GNEChange(routeProbReroute->getRerouterIntervalParent()->getRerouterParent()->getViewNet()->getNet(), forward),
196 throw ProcessError(
"There isn't a defined Rerouter item");
235 throw ProcessError(
"There isn't a defined Rerouter item");
282 throw ProcessError(
"There isn't a defined Rerouter item");
321 throw ProcessError(
"There isn't a defined Rerouter item");
342 throw ProcessError(
"There isn't a defined Rerouter item");
360 throw ProcessError(
"There isn't a defined Rerouter item");
void requiereSaveAdditionals()
inform that additionals has to be saved
the function-object for an editing operation (abstract base)
void removeRerouterInterval(GNERerouterInterval *rerouterInterval)
add rerouter interval
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
GNEDestProbReroute * myDestProbReroute
modified Closing Interval
void addDestProbReroute(GNEDestProbReroute *destProbReroute)
add destiny probability reroute
FXString redoName() const
get Redo name
void removeDestProbReroute(GNEDestProbReroute *destProbReroute)
add destiny probability reroute
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
void addClosingReroute(GNEClosingReroute *closingReroute)
add closing reroute
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
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
GNERerouter * getRerouterParent() const
get rerouter parent
void removeClosingLaneReroute(GNEClosingLaneReroute *closingLaneReroute)
add closing reroute
~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
void decRef(const std::string &debugMsg="")
Decrease reference.
GNEClosingLaneReroute * myClosingLaneReroute
modified Closing lane Reroute
GNEChange_RerouterItem(GNERerouterInterval *rerouterInterval, bool forward)
Constructor.
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
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
void addClosingLaneReroute(GNEClosingLaneReroute *closingLaneReroute)
add closing reroute
bool unreferenced()
check if object ins't referenced
void removeRouteProbReroute(GNERouteProbReroute *routeProbabilityReroute)
add reoute probability reroute
FXString undoName() const
return undoName
GNERerouterInterval * myRerouterInterval
modified rerouter interval
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
SumoXMLTag getTag() const
get XML Tag assigned to this object