40 mySourceSink(sourceSink) {
41 mySourceSink->incRef(
"GNEChange_TAZSourceSink");
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..)
bool isUndoRedoAllowed() const
void selectAttributeCarrier()
select attribute carrier using GUIGlobalSelection
const std::string getID() const override
get ID (all Attribute Carriers have one)
const std::string & getTagStr() const
get tag assigned to this object in string format
GNENet * getNet() const
get pointer to net
~GNEChange_TAZSourceSink()
Destructor.
std::string redoName() const
get Redo name
std::string undoName() const
get undo Name
GNETAZSourceSink * mySourceSink
full information regarding the sourceSink element that is to be created/deleted
the function-object for an editing operation (abstract base)
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
const bool mySelectedElement
flag for check if element is selected
void addElementInParentsAndChildren(T *element)
add given element in parents and children
void removeElementFromParentsAndChildren(T *element)
remove given element from parents and children
GNETAZSourceSink * retrieveTAZSourceSink(const GNEAttributeCarrier *sourceSink, bool hardFail=true) const
Returns the named sourceSink.
void insertTAZSourceSink(GNETAZSourceSink *sourceSink)
Insert a sourceSink element in container.
void deleteTAZSourceSink(GNETAZSourceSink *sourceSink)
delete sourceSink element of container
void requireSaveAdditionals()
inform that additionals has to be saved
GNENetHelper::SavingStatus * getSavingStatus() const
get saving status
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
GNEViewNet * getViewNet() const
get view net
void decRef(const std::string &debugMsg="")
Decrease reference.
bool unreferenced()
check if object ins't referenced
GNEViewParent * getViewParent() const
get the net object
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows