![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETLSEditorFrame.h>
Data Structures | |
class | TLSAttributes |
class | TLSDefinition |
class | TLSFile |
class | TLSJunction |
FOX-declaration. More... | |
class | TLSModifications |
class | TLSPhases |
Public Member Functions | |
bool | controlsEdge (GNEEdge &edge) const |
whether the given edge is controlled by the currently edited tlDef More... | |
void | editJunction (GNEJunction *junction) |
edits the traffic light for the given junction More... | |
bool | fixedDuration () const |
whether the current traffic light uses fixed phase durations More... | |
void | focusUpperElement () |
focus upper element of frame More... | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame More... | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header More... | |
GNEViewNet * | getViewNet () const |
get view net More... | |
GNETLSEditorFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet) | |
Constructor. More... | |
void | handleChange (GNEInternalLane *lane) |
update phase definition for the current traffic light and phase More... | |
void | handleMultiChange (GNELane *lane, FXObject *obj, FXSelector sel, void *data) |
update phase definition for the current traffic light and phase More... | |
virtual void | hide () |
hide Frame More... | |
bool | isTLSSaved () |
check if modifications in TLS was saved More... | |
bool | parseTLSPrograms (const std::string &file) |
parse TLS Programs from a file More... | |
void | setFrameWidth (int newWidth) |
set width of GNEFrame More... | |
virtual void | show () |
show Frame More... | |
virtual void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) More... | |
~GNETLSEditorFrame () | |
Destructor. More... | |
FOX-callbacks | |
Called when the user presses the OK-Button
| |
long | onCmdOK (FXObject *, FXSelector, void *) |
long | onCmdCancel (FXObject *, FXSelector, void *) |
Called when the user presses the Cancel-button. More... | |
long | onCmdToggle (FXObject *, FXSelector, void *) |
Called when the user presses the button Toogle. More... | |
long | onCmdGuess (FXObject *, FXSelector, void *) |
Called when the user presses the button Guess. More... | |
long | onCmdDefCreate (FXObject *, FXSelector, void *) |
Called when the user creates a TLS. More... | |
long | onCmdDefDelete (FXObject *, FXSelector, void *) |
Called when the user deletes a TLS. More... | |
long | onCmdDefOffset (FXObject *, FXSelector, void *) |
Called when the user changes the offset of a TLS. More... | |
long | onCmdDefSwitch (FXObject *, FXSelector, void *) |
Called when the user switchs a TLS. More... | |
long | onCmdDefRename (FXObject *, FXSelector, void *) |
Called when the user renames a TLS. More... | |
long | onCmdDefSubRename (FXObject *, FXSelector, void *) |
Called when the user sub-renames a TLS. More... | |
long | onCmdDefAddOff (FXObject *, FXSelector, void *) |
Called when the user adds a OFF. More... | |
long | onCmdPhaseSwitch (FXObject *, FXSelector, void *) |
Called when the user switchs a Phase. More... | |
long | onCmdPhaseCreate (FXObject *, FXSelector, void *) |
Called when the user creates a Phase. More... | |
long | onCmdPhaseDelete (FXObject *, FXSelector, void *) |
Called when the user deletes a Phase. More... | |
long | onCmdCleanup (FXObject *, FXSelector, void *) |
Called when the user cleans up states. More... | |
long | onCmdAddUnused (FXObject *, FXSelector, void *) |
Called when the user cleans up states. More... | |
long | onCmdPhaseEdit (FXObject *, FXSelector, void *) |
Called when the user edits a Phase. More... | |
long | onCmdMakeRILSAConforming (FXObject *, FXSelector, void *) |
Called when the user makes RILSA. More... | |
long | onUpdDefSwitch (FXObject *, FXSelector, void *) |
Called when occurs an update of switch definition. More... | |
long | onUpdNeedsDef (FXObject *, FXSelector, void *) |
Called when occurs an update of needs definition. More... | |
long | onUpdNeedsDefAndPhase (FXObject *, FXSelector, void *) |
Called when occurs an update of needs definition an dphase. More... | |
long | onUpdDefCreate (FXObject *, FXSelector, void *) |
Called when occurs an update of create definition. More... | |
long | onUpdModified (FXObject *, FXSelector, void *) |
Called when occurs an update of modified. More... | |
Protected Member Functions | |
const RGBColor & | getEdgeCandidateColor () const |
get edge candidate color More... | |
const RGBColor & | getEdgeCandidateSelectedColor () const |
get selected color More... | |
const std::map< int, std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML More... | |
GNETLSEditorFrame () | |
FOX needs this. More... | |
void | openHelpAttributesDialog (const GNEAttributeCarrier::TagProperties &tagProperties) const |
Open help attributes dialog. More... | |
functions called by moduls that can be reimplemented in frame children | |
virtual void | tagSelected () |
Tag selected in TagSelector. More... | |
virtual void | demandElementSelected () |
selected demand element in DemandElementSelector More... | |
virtual void | edgePathCreated () |
finish edge path creation More... | |
virtual bool | shapeDrawed () |
build a shaped element using the drawed shape (can be reimplemented in frame children) More... | |
virtual void | attributeUpdated () |
function called after set a valid attribute in AttributeCreator/AttributeEditor/GenericParametersEditor/... More... | |
virtual void | attributesEditorExtendedDialogOpened () |
open AttributesCreator extended dialog (can be reimplemented in frame children) More... | |
Static Protected Member Functions | |
static SUMOTime | getSUMOTime (const FXString &string) |
converts to SUMOTime More... | |
Protected Attributes | |
FXVerticalFrame * | myContentFrame |
Vertical frame that holds all widgets of frame. More... | |
FXHorizontalFrame * | myHeaderFrame |
fame for header elements More... | |
FXHorizontalFrame * | myHeaderLeftFrame |
fame for left header elements More... | |
FXHorizontalFrame * | myHeaderRightFrame |
fame for right header elements More... | |
GNEViewNet * | myViewNet |
View Net. More... | |
Private Types | |
typedef std::map< int, std::vector< GNEInternalLane * > > | TLIndexMap |
the internal lanes belonging the the current junction indexed by their tl-index More... | |
Private Member Functions | |
void | buildIinternalLanes (NBTrafficLightDefinition *tlDef) |
builds internal lanes for the given tlDef More... | |
void | cleanup () |
cleans up previous lanes More... | |
const std::vector< NBTrafficLightLogic::PhaseDefinition > & | getPhases () |
the phase of the current traffic light More... | |
Static Private Member Functions | |
static std::string | varDurString (SUMOTime dur) |
convert duration (potentially undefined) to string More... | |
Private Attributes | |
NBLoadedSUMOTLDef * | myEditedDef |
the traffic light definition being edited More... | |
TLIndexMap | myInternalLanes |
int | myPhaseIndex |
index of the phase being shown More... | |
GNETLSEditorFrame::TLSAttributes * | myTLSAttributes |
modul for TLS attributes More... | |
GNETLSEditorFrame::TLSDefinition * | myTLSDefinition |
modul for TLS Definition More... | |
GNETLSEditorFrame::TLSFile * | myTLSFile |
modul for load/Save TLS Programs More... | |
GNETLSEditorFrame::TLSJunction * | myTLSJunction |
modul for TLS Junction More... | |
GNETLSEditorFrame::TLSModifications * | myTLSModifications |
modul for load/Save TLS Modifications More... | |
GNETLSEditorFrame::TLSPhases * | myTLSPhases |
modul for TLS Phases More... | |
The Widget for modifying Traffic Lights (TLS)
Definition at line 41 of file GNETLSEditorFrame.h.
|
private |
the internal lanes belonging the the current junction indexed by their tl-index
Definition at line 434 of file GNETLSEditorFrame.h.
GNETLSEditorFrame::GNETLSEditorFrame | ( | FXHorizontalFrame * | horizontalFrameParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
parent FXHorizontalFrame in which this GNEFrame is placed viewNet viewNet that uses this GNEFrame
Definition at line 92 of file GNETLSEditorFrame.cpp.
GNETLSEditorFrame::~GNETLSEditorFrame | ( | ) |
|
inlineprotected |
|
protectedvirtualinherited |
open AttributesCreator extended dialog (can be reimplemented in frame children)
Reimplemented in GNEVehicleTypeFrame.
Definition at line 191 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), and GNEFrameAttributesModuls::AttributesEditorExtended::onCmdOpenDialog().
|
protectedvirtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/GenericParametersEditor/...
Reimplemented in GNEInspectorFrame, GNEVehicleTypeFrame, and GNEPersonTypeFrame.
Definition at line 185 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameAttributesModuls::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdSetAttribute(), and GNEFrameAttributesModuls::GenericParametersEditor::onCmdSetGenericParameter().
|
private |
builds internal lanes for the given tlDef
Definition at line 670 of file GNETLSEditorFrame.cpp.
References SUMORTree::addAdditionalGLObject(), NBTrafficLightDefinition::getControlledLinks(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), Named::getID(), GNEJunction::getNBNode(), GNEViewNet::getNet(), NBTrafficLightDefinition::getNodes(), GNENet::getVisualisationSpeedUp(), PositionVector::length(), MAX2(), MIN2(), PositionVector::move2side(), myInternalLanes, myTLSJunction, GNEFrame::myViewNet, NUM_POINTS, PositionVector::positionAtOffset(), SUMORTree::removeAdditionalGLObject(), PositionVector::reverse(), and toString().
Referenced by cleanup(), and onCmdDefSwitch().
|
private |
cleans up previous lanes
Definition at line 646 of file GNETLSEditorFrame.cpp.
References buildIinternalLanes(), GNETLSEditorFrame::TLSAttributes::clearTLSAttributes(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNETLSEditorFrame::TLSAttributes::getCurrentTLSDefinition(), GNEViewNet::getNet(), NBTrafficLightDefinition::getNodes(), GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), GNETLSEditorFrame::TLSPhases::hideCycleDuration(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), myEditedDef, myTLSAttributes, myTLSJunction, myTLSModifications, myTLSPhases, GNEFrame::myViewNet, GNENet::retrieveJunction(), GNEJunction::selectTLS(), GNETLSEditorFrame::TLSJunction::setCurrentJunction(), GNETLSEditorFrame::TLSModifications::setHaveModifications(), and GNETLSEditorFrame::TLSJunction::updateJunctionDescription().
Referenced by onCmdCancel(), onCmdOK(), and ~GNETLSEditorFrame().
bool GNETLSEditorFrame::controlsEdge | ( | GNEEdge & | edge | ) | const |
whether the given edge is controlled by the currently edited tlDef
Definition at line 804 of file GNETLSEditorFrame.cpp.
References NBTrafficLightDefinition::getControlledLinks(), GUIGlObject::getMicrosimID(), and myEditedDef.
Referenced by GNELane::getPopUpMenu().
|
protectedvirtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, and GNEPersonFrame.
Definition at line 166 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameModuls::DemandElementSelector::onCmdSelectDemandElement(), and GNEFrameModuls::DemandElementSelector::setDemandElement().
|
protectedvirtualinherited |
finish edge path creation
Reimplemented in GNEVehicleFrame, and GNEPersonFrame.
Definition at line 172 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), and GNEFrameModuls::EdgePathCreator::onCmdFinishRouteCreation().
void GNETLSEditorFrame::editJunction | ( | GNEJunction * | junction | ) |
edits the traffic light for the given junction
[in] | junction | The junction of which the traffic light shall be edited |
Definition at line 128 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNETLSEditorFrame::TLSAttributes::getCurrentTLSDefinition(), GNEViewNet::getNet(), NBTrafficLightDefinition::getNodes(), GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), GNEViewNet::getUndoList(), GNETLSEditorFrame::TLSAttributes::initTLSAttributes(), myTLSAttributes, myTLSJunction, myTLSModifications, GNEFrame::myViewNet, onCmdCancel(), GNEUndoList::p_begin(), GNENet::retrieveJunction(), GNEJunction::selectTLS(), GNETLSEditorFrame::TLSJunction::setCurrentJunction(), GNEViewNet::setStatusBarText(), and GNETLSEditorFrame::TLSJunction::updateJunctionDescription().
Referenced by onCmdDefCreate(), and GNEViewNet::processLeftButtonPressNetwork().
bool GNETLSEditorFrame::fixedDuration | ( | ) | const |
whether the current traffic light uses fixed phase durations
Definition at line 438 of file GNETLSEditorFrame.cpp.
References NBTrafficLightDefinition::getType(), myEditedDef, and TLTYPE_STATIC.
Referenced by GNETLSEditorFrame::TLSPhases::initPhaseTable(), onCmdPhaseCreate(), and onCmdPhaseEdit().
|
inherited |
focus upper element of frame
Definition at line 102 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNetHelper::EditModes::setDemandEditMode(), GNEViewNetHelper::EditModes::setNetworkEditMode(), GNEViewNetHelper::EditModes::setSupermode(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
protectedinherited |
get edge candidate color
Definition at line 264 of file GNEFrame.cpp.
References GNEFrame::myEdgeCandidateColor.
Referenced by GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), GNERouteFrame::ConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), and GNERouteFrame::ConsecutiveEdges::refreshEdgeCandidates().
|
protectedinherited |
get selected color
Definition at line 270 of file GNEFrame.cpp.
References GNEFrame::myEdgeCandidateSelectedColor.
Referenced by GNEFrameModuls::EdgePathCreator::addBusStop(), GNEPersonPlanFrame::PersonPlanCreator::addEdge(), GNERouteFrame::NonConsecutiveEdges::addEdge(), GNEFrameModuls::EdgePathCreator::addEdge(), GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), GNERouteFrame::ConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), and GNERouteFrame::ConsecutiveEdges::refreshEdgeCandidates().
|
inherited |
get font of the header's frame
Definition at line 145 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 139 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().
|
private |
the phase of the current traffic light
Definition at line 737 of file GNETLSEditorFrame.cpp.
References NBLoadedSUMOTLDef::getLogic(), NBTrafficLightLogic::getPhases(), and myEditedDef.
Referenced by handleChange(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), onCmdPhaseEdit(), onCmdPhaseSwitch(), and GNETLSEditorFrame::TLSPhases::updateCycleDuration().
|
protectedinherited |
get predefinedTagsMML
Definition at line 276 of file GNEFrame.cpp.
References GNEFrame::myPredefinedTagsMML.
Referenced by GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::edgePathCreated(), GNEFrame::GNEFrame(), GNETAZFrame::shapeDrawed(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
|
staticprotected |
converts to SUMOTime
Definition at line 818 of file GNETLSEditorFrame.cpp.
References TIME2STEPS.
Referenced by GNETLSEditorFrame::TLSAttributes::getOffset(), GNETLSEditorFrame(), onCmdPhaseCreate(), and onCmdPhaseEdit().
|
inherited |
get view net
Definition at line 133 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEAdditionalFrame::SelectorLaneParents::abortConsecutiveLaneSelector(), GNEFrameModuls::EdgePathCreator::addEdge(), GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNECrossingFrame::EdgesSelector::enableEdgeSelector(), GNEAdditionalFrame::SelectorEdgeChildren::getEdgeIdsSelected(), GNEAdditionalFrame::SelectorLaneChildren::getLaneIdsSelected(), GNEInspectorFrame::OverlappedInspection::inspectOverlappedAttributeCarrier(), GNERouteFrame::ConsecutiveEdges::onCmdAbortRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdAbortRoute(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNERouteFrame::ConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType(), GNEConnectorFrame::ConnectionOperations::onCmdResetSelectedConnections(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadEnds(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEFrameModuls::DemandElementSelector::onCmdSelectDemandElement(), GNEPersonTypeFrame::PersonTypeSelector::onCmdSelectItem(), GNEVehicleTypeFrame::VehicleTypeSelector::onCmdSelectItem(), GNEConnectorFrame::ConnectionOperations::onCmdSelectPass(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute(), GNEFrameModuls::DemandElementSelector::refreshDemandElementSelector(), GNERouteFrame::ConsecutiveEdges::refreshEdgeCandidates(), GNEPersonTypeFrame::PersonTypeSelector::refreshPersonTypeSelector(), GNEFrameModuls::SelectorParent::refreshSelectorParentModul(), GNEVehicleTypeFrame::VehicleTypeSelector::refreshVehicleTypeSelector(), GNEDeleteFrame::removeAttributeCarrier(), GNECrossingFrame::EdgesSelector::restoreEdgeColors(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::SelectorEdgeChildren::showSelectorEdgeChildrenModul(), GNEAdditionalFrame::SelectorLaneChildren::showSelectorLaneChildrenModul(), GNEInspectorFrame::TemplateEditor::showTemplateEditor(), GNEAdditionalFrame::SelectorEdgeChildren::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorLaneChildren::updateUseSelectedLanes().
void GNETLSEditorFrame::handleChange | ( | GNEInternalLane * | lane | ) |
update phase definition for the current traffic light and phase
Definition at line 743 of file GNETLSEditorFrame.cpp.
References GNEViewNet::changeAllPhases(), GNEInternalLane::getLinkState(), NBLoadedSUMOTLDef::getLogic(), getPhases(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), GNEInternalLane::getTLIndex(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), myEditedDef, myTLSModifications, myTLSPhases, GNEFrame::myViewNet, GNETLSEditorFrame::TLSModifications::setHaveModifications(), and NBTrafficLightLogic::setPhaseState().
Referenced by GNEInternalLane::onDefault().
void GNETLSEditorFrame::handleMultiChange | ( | GNELane * | lane, |
FXObject * | obj, | ||
FXSelector | sel, | ||
void * | data | ||
) |
update phase definition for the current traffic light and phase
Definition at line 759 of file GNETLSEditorFrame.cpp.
References NBTrafficLightDefinition::getControlledLinks(), GNEEdge::getLanes(), GUIGlObject::getMicrosimID(), GNEViewNet::getNet(), GNELane::getParentEdge(), GNENetElement::isAttributeCarrierSelected(), myEditedDef, myInternalLanes, myTLSModifications, GNEFrame::myViewNet, GNENet::retrieveEdges(), GNENet::retrieveLanes(), and GNETLSEditorFrame::TLSModifications::setHaveModifications().
Referenced by GNELane::onDefault().
|
virtualinherited |
hide Frame
Reimplemented in GNETAZFrame, GNESelectorFrame, GNEInspectorFrame, GNERouteFrame, GNECrossingFrame, GNEPersonPlanFrame, GNEProhibitionFrame, GNEDeleteFrame, and GNECreateEdgeFrame.
Definition at line 117 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and GNEFrame::myViewNet.
Referenced by GNECreateEdgeFrame::hide(), GNEDeleteFrame::hide(), GNEProhibitionFrame::hide(), GNEPersonPlanFrame::hide(), GNECrossingFrame::hide(), GNERouteFrame::hide(), GNEInspectorFrame::hide(), GNESelectorFrame::hide(), GNETAZFrame::hide(), GNEViewParent::Frames::hideFrames(), GNEPolygonFrame::GEOPOICreator::hideGEOPOICreatorModul(), GNEPersonFrame::HelpCreation::hideHelpCreation(), GNEVehicleFrame::HelpCreation::hideHelpCreation(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEPersonTypeFrame::PersonTypeEditor::hidePersonTypeEditorModul(), and GNEVehicleTypeFrame::VehicleTypeEditor::hideVehicleTypeEditorModul().
bool GNETLSEditorFrame::isTLSSaved | ( | ) |
check if modifications in TLS was saved
Definition at line 148 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), myTLSModifications, onCmdCancel(), onCmdOK(), and WRITE_DEBUG.
Referenced by GNEViewNetHelper::EditModes::setNetworkEditMode().
long GNETLSEditorFrame::onCmdAddUnused | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user cleans up states.
Definition at line 534 of file GNETLSEditorFrame.cpp.
References NBLoadedSUMOTLDef::getLogic(), NBTrafficLightLogic::getNumLinks(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), myEditedDef, myTLSModifications, myTLSPhases, GNETLSEditorFrame::TLSModifications::setHaveModifications(), and NBTrafficLightLogic::setStateLength().
long GNETLSEditorFrame::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Cancel-button.
Definition at line 238 of file GNETLSEditorFrame.cpp.
References cleanup(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNEViewNet::getUndoList(), myTLSJunction, GNEFrame::myViewNet, GNEUndoList::p_abort(), and GNEViewNet::update().
Referenced by GNEViewNet::abortOperation(), editJunction(), isTLSSaved(), onCmdDefCreate(), onCmdDefDelete(), onCmdDefSwitch(), and onCmdOK().
long GNETLSEditorFrame::onCmdCleanup | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user cleans up states.
Definition at line 525 of file GNETLSEditorFrame.cpp.
References NBLoadedSUMOTLDef::cleanupStates(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), myEditedDef, myTLSModifications, myTLSPhases, and GNETLSEditorFrame::TLSModifications::setHaveModifications().
long GNETLSEditorFrame::onCmdDefAddOff | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user adds a OFF.
Definition at line 404 of file GNETLSEditorFrame.cpp.
long GNETLSEditorFrame::onCmdDefCreate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user creates a TLS.
Definition at line 272 of file GNETLSEditorFrame.cpp.
References editJunction(), GNEJunction::getAttribute(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), GNEViewNet::getUndoList(), myTLSJunction, GNEFrame::myViewNet, NODETYPE_TRAFFIC_LIGHT, onCmdCancel(), GNEJunction::setAttribute(), SUMO_ATTR_TYPE, toString(), and WRITE_DEBUG.
long GNETLSEditorFrame::onCmdDefDelete | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user deletes a TLS.
Definition at line 299 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNETLSEditorFrame::TLSAttributes::getCurrentTLSDefinition(), GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), GNEViewNet::getUndoList(), myTLSAttributes, myTLSJunction, GNEFrame::myViewNet, NODETYPE_PRIORITY, onCmdCancel(), GNEJunction::setAttribute(), SUMO_ATTR_TYPE, and toString().
long GNETLSEditorFrame::onCmdDefOffset | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user changes the offset of a TLS.
Definition at line 384 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSAttributes::getOffset(), myEditedDef, myTLSAttributes, myTLSModifications, GNETLSEditorFrame::TLSModifications::setHaveModifications(), and NBLoadedSUMOTLDef::setOffset().
long GNETLSEditorFrame::onCmdDefRename | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user renames a TLS.
Definition at line 392 of file GNETLSEditorFrame.cpp.
long GNETLSEditorFrame::onCmdDefSubRename | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user sub-renames a TLS.
Definition at line 398 of file GNETLSEditorFrame.cpp.
long GNETLSEditorFrame::onCmdDefSwitch | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user switchs a TLS.
Definition at line 314 of file GNETLSEditorFrame.cpp.
References buildIinternalLanes(), GNENet::computeJunction(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNETLSEditorFrame::TLSAttributes::getCurrentTLSDefinition(), NBLoadedSUMOTLDef::getLogic(), NBTrafficLightLogicCont::getLogic(), GNEViewNet::getNet(), GNETLSEditorFrame::TLSAttributes::getNumberOfPrograms(), GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), NBTrafficLightLogic::getOffset(), GNENet::getTLLogicCont(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), myEditedDef, myTLSAttributes, myTLSJunction, myTLSPhases, GNEFrame::myViewNet, onCmdCancel(), GNETLSEditorFrame::TLSAttributes::setOffset(), GNEViewNet::setStatusBarText(), GNETLSEditorFrame::TLSPhases::showCycleDuration(), and GNETLSEditorFrame::TLSPhases::updateCycleDuration().
Referenced by GNETLSEditorFrame::TLSAttributes::initTLSAttributes().
long GNETLSEditorFrame::onCmdGuess | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the button Guess.
Definition at line 410 of file GNETLSEditorFrame.cpp.
long GNETLSEditorFrame::onCmdMakeRILSAConforming | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user makes RILSA.
long GNETLSEditorFrame::onCmdOK | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 249 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), cleanup(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNETLSEditorFrame::TLSAttributes::getCurrentTLSDefinition(), GNEViewNet::getNet(), NBTrafficLightDefinition::getNodes(), GNEViewNet::getUndoList(), myEditedDef, myTLSAttributes, myTLSJunction, myTLSModifications, GNEFrame::myViewNet, onCmdCancel(), GNEUndoList::p_end(), GNENet::retrieveJunction(), and GNEViewNet::update().
Referenced by GNEViewNet::hotkeyEnter(), and isTLSSaved().
long GNETLSEditorFrame::onCmdPhaseCreate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user creates a Phase.
Definition at line 444 of file GNETLSEditorFrame.cpp.
References NBTrafficLightLogic::addStep(), NBTrafficLightDefinition::computeBrakingTime(), fixedDuration(), OptionsCont::getFloat(), OptionsCont::getInt(), NBLoadedSUMOTLDef::getLogic(), NBTrafficLightDefinition::getNodes(), OptionsCont::getOptions(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), getSUMOTime(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), OptionsCont::isDefault(), LINKSTATE_TL_GREEN_MAJOR, LINKSTATE_TL_GREEN_MINOR, LINKSTATE_TL_RED, LINKSTATE_TL_YELLOW_MAJOR, LINKSTATE_TL_YELLOW_MINOR, MAX2(), myEditedDef, myTLSModifications, myTLSPhases, GNETLSEditorFrame::TLSModifications::setHaveModifications(), NBTrafficLightDefinition::setParticipantsInformation(), and TIME2STEPS.
long GNETLSEditorFrame::onCmdPhaseDelete | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user deletes a Phase.
Definition at line 514 of file GNETLSEditorFrame.cpp.
References NBTrafficLightLogic::deletePhase(), NBLoadedSUMOTLDef::getLogic(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), MAX2(), myEditedDef, myTLSModifications, myTLSPhases, and GNETLSEditorFrame::TLSModifications::setHaveModifications().
long GNETLSEditorFrame::onCmdPhaseEdit | ( | FXObject * | , |
FXSelector | , | ||
void * | ptr | ||
) |
Called when the user edits a Phase.
Definition at line 545 of file GNETLSEditorFrame.cpp.
References NBTrafficLightLogic::addStep(), GNEAttributeCarrier::canParse(), NBTrafficLightLogic::deletePhase(), NBTrafficLightLogic::PhaseDefinition::duration, fixedDuration(), NBLoadedSUMOTLDef::getLogic(), getPhases(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), getSUMOTime(), myEditedDef, myTLSModifications, myTLSPhases, NBTrafficLightLogic::PhaseDefinition::name, NBTrafficLightLogic::PhaseDefinition::next, onCmdPhaseSwitch(), StringUtils::prune(), GNETLSEditorFrame::TLSModifications::setHaveModifications(), NBTrafficLightLogic::setPhaseDuration(), NBTrafficLightLogic::setPhaseMaxDuration(), NBTrafficLightLogic::setPhaseMinDuration(), NBTrafficLightLogic::setPhaseName(), NBTrafficLightLogic::setPhaseNext(), STEPS2TIME, toString(), NBTrafficLightDefinition::UNSPECIFIED_DURATION, GNETLSEditorFrame::TLSPhases::updateCycleDuration(), and varDurString().
long GNETLSEditorFrame::onCmdPhaseSwitch | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user switchs a Phase.
Definition at line 416 of file GNETLSEditorFrame.cpp.
References getPhases(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), LINKSTATE_DEADEND, myInternalLanes, myTLSPhases, GNEFrame::myViewNet, NBTrafficLightLogic::PhaseDefinition::state, and GNEViewNet::update().
Referenced by onCmdPhaseEdit().
long GNETLSEditorFrame::onCmdToggle | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the button Toogle.
long GNETLSEditorFrame::onUpdDefCreate | ( | FXObject * | o, |
FXSelector | , | ||
void * | |||
) |
Called when occurs an update of create definition.
Definition at line 367 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), myTLSJunction, and myTLSModifications.
long GNETLSEditorFrame::onUpdDefSwitch | ( | FXObject * | o, |
FXSelector | , | ||
void * | |||
) |
Called when occurs an update of switch definition.
Definition at line 342 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), myTLSAttributes, and myTLSModifications.
long GNETLSEditorFrame::onUpdModified | ( | FXObject * | o, |
FXSelector | , | ||
void * | |||
) |
Called when occurs an update of modified.
Definition at line 375 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), and myTLSModifications.
long GNETLSEditorFrame::onUpdNeedsDef | ( | FXObject * | o, |
FXSelector | , | ||
void * | |||
) |
Called when occurs an update of needs definition.
Definition at line 350 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), and myTLSAttributes.
long GNETLSEditorFrame::onUpdNeedsDefAndPhase | ( | FXObject * | o, |
FXSelector | , | ||
void * | |||
) |
Called when occurs an update of needs definition an dphase.
Definition at line 358 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSAttributes::getNumberOfTLSDefinitions(), GNETLSEditorFrame::TLSPhases::getPhaseTable(), myTLSAttributes, and myTLSPhases.
|
protectedinherited |
Open help attributes dialog.
Definition at line 197 of file GNEFrame.cpp.
References GUIIconSubSys::getIcon(), GNEAttributeCarrier::TagProperties::getNumberOfAttributes(), GNEAttributeCarrier::TagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, ICON_ACCEPT, ICON_MODEINSPECT, MAX2(), MID_TABLE, GNEFrame::myScrollWindowsContents, toString(), and WRITE_DEBUG.
Referenced by GNEFrame::GNEFrame(), GNEFrameAttributesModuls::AttributesEditor::onCmdAttributesEditorHelp(), GNECrossingFrame::CrossingParameters::onCmdHelp(), GNEFrameAttributesModuls::AttributesCreator::onCmdHelp(), and GNETAZFrame::TAZParameters::onCmdHelp().
bool GNETLSEditorFrame::parseTLSPrograms | ( | const std::string & | file | ) |
parse TLS Programs from a file
Definition at line 181 of file GNETLSEditorFrame.cpp.
References NBTrafficLightLogicCont::getDefinitions(), GNENet::getEdgeCont(), NBTrafficLightLogicCont::getLogic(), GNEViewNet::getNet(), GNENet::getTLLogicCont(), GNEViewNet::getUndoList(), NBTrafficLightLogicCont::insert(), GNEFrame::myViewNet, NBTrafficLightLogicCont::removeProgram(), GNENet::retrieveJunction(), XMLSubSys::runParser(), GNEViewNet::setStatusBarText(), toString(), and WRITE_WARNING.
Referenced by GNEApplicationWindow::onCmdOpenTLSPrograms().
|
inherited |
set width of GNEFrame
Definition at line 126 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by GNEViewParent::Frames::setWidth().
|
protectedvirtualinherited |
build a shaped element using the drawed shape (can be reimplemented in frame children)
Reimplemented in GNETAZFrame, and GNEPolygonFrame.
Definition at line 178 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameModuls::DrawingShape::stopDrawing(), and GNEFrameAttributesModuls::DrawingShape::stopDrawing().
|
virtualinherited |
show Frame
Reimplemented in GNESelectorFrame, GNEInspectorFrame, GNEAdditionalFrame, GNERouteFrame, GNEPersonPlanFrame, GNEVehicleTypeFrame, GNEPersonTypeFrame, GNEProhibitionFrame, GNEPolygonFrame, GNEDeleteFrame, GNEStopFrame, GNEVehicleFrame, GNEPersonFrame, and GNECreateEdgeFrame.
Definition at line 108 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEFrame::myViewNet, and GNEViewParent::showFramesArea().
Referenced by GNECreateEdgeFrame::show(), GNEPersonFrame::show(), GNEVehicleFrame::show(), GNEStopFrame::show(), GNEDeleteFrame::show(), GNEPolygonFrame::show(), GNEPersonTypeFrame::show(), GNEProhibitionFrame::show(), GNEVehicleTypeFrame::show(), GNEPersonPlanFrame::show(), GNERouteFrame::show(), GNEAdditionalFrame::show(), GNEInspectorFrame::show(), GNESelectorFrame::show(), GNEAdditionalFrame::showSelectorLaneChildrenModul(), GNETAZFrame::TAZChildDefaultParameters::showTAZChildDefaultParametersModul(), GNETAZFrame::TAZCommonStatistics::showTAZCommonStatisticsModul(), GNETAZFrame::TAZEdgesGraphic::showTAZEdgesGraphicModul(), GNETAZFrame::TAZSaveChanges::showTAZSaveChangesModul(), GNETAZFrame::TAZSelectionStatistics::showTAZSelectionStatisticsModul(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSModifications::TLSModifications(), GNETLSEditorFrame::TLSPhases::TLSPhases(), and GNEViewNet::updateNetworkModeSpecificControls().
|
protectedvirtualinherited |
Tag selected in TagSelector.
Reimplemented in GNEAdditionalFrame, GNEPersonPlanFrame, GNEPolygonFrame, GNEStopFrame, GNEVehicleFrame, and GNEPersonFrame.
Definition at line 160 of file GNEFrame.cpp.
Referenced by GNEFrame::GNEFrame(), GNEFrameModuls::TagSelector::onCmdSelectTag(), GNEFrameModuls::TagSelector::onCmdSelectTagType(), GNEFrameModuls::TagSelector::setCurrentTag(), and GNEFrameModuls::TagSelector::setCurrentTagType().
|
virtualinherited |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented in GNEInspectorFrame.
Definition at line 151 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
staticprivate |
convert duration (potentially undefined) to string
Definition at line 731 of file GNETLSEditorFrame.cpp.
References STEPS2TIME, toString(), and NBTrafficLightDefinition::UNSPECIFIED_DURATION.
Referenced by GNETLSEditorFrame::TLSPhases::initPhaseTable(), and onCmdPhaseEdit().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 123 of file GNEFrame.h.
Referenced by GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), and GNEInspectorFrame::inspectMultisection().
|
private |
the traffic light definition being edited
Definition at line 438 of file GNETLSEditorFrame.h.
Referenced by cleanup(), controlsEdge(), fixedDuration(), getPhases(), handleChange(), handleMultiChange(), onCmdAddUnused(), onCmdCleanup(), onCmdDefOffset(), onCmdDefSwitch(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), onCmdOK(), onCmdPhaseCreate(), onCmdPhaseDelete(), onCmdPhaseEdit(), and GNETLSEditorFrame::TLSFile::onCmdSaveTLSProgram().
|
protectedinherited |
fame for header elements
Definition at line 126 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 129 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::inspectMultisection().
|
protectedinherited |
fame for right header elements
Definition at line 132 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
Definition at line 435 of file GNETLSEditorFrame.h.
Referenced by buildIinternalLanes(), handleMultiChange(), and onCmdPhaseSwitch().
|
private |
index of the phase being shown
Definition at line 441 of file GNETLSEditorFrame.h.
|
private |
modul for TLS attributes
Definition at line 422 of file GNETLSEditorFrame.h.
Referenced by cleanup(), editJunction(), GNETLSEditorFrame::TLSPhases::initPhaseTable(), onCmdDefDelete(), onCmdDefOffset(), onCmdDefSwitch(), onCmdOK(), onUpdDefSwitch(), GNETLSEditorFrame::TLSFile::onUpdNeedsDef(), onUpdNeedsDef(), and onUpdNeedsDefAndPhase().
|
private |
modul for TLS Definition
Definition at line 419 of file GNETLSEditorFrame.h.
|
private |
modul for load/Save TLS Programs
Definition at line 431 of file GNETLSEditorFrame.h.
|
private |
modul for TLS Junction
Definition at line 416 of file GNETLSEditorFrame.h.
Referenced by buildIinternalLanes(), cleanup(), editJunction(), onCmdCancel(), onCmdDefCreate(), onCmdDefDelete(), onCmdDefSwitch(), onCmdOK(), and onUpdDefCreate().
|
private |
modul for load/Save TLS Modifications
Definition at line 425 of file GNETLSEditorFrame.h.
Referenced by cleanup(), editJunction(), handleChange(), handleMultiChange(), isTLSSaved(), onCmdAddUnused(), onCmdCleanup(), onCmdDefOffset(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), onCmdOK(), onCmdPhaseCreate(), onCmdPhaseDelete(), onCmdPhaseEdit(), onUpdDefCreate(), onUpdDefSwitch(), onUpdModified(), and GNETLSEditorFrame::TLSJunction::updateJunctionDescription().
|
private |
modul for TLS Phases
Definition at line 428 of file GNETLSEditorFrame.h.
Referenced by cleanup(), handleChange(), onCmdAddUnused(), onCmdCleanup(), onCmdDefSwitch(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), onCmdPhaseCreate(), onCmdPhaseDelete(), onCmdPhaseEdit(), onCmdPhaseSwitch(), and onUpdNeedsDefAndPhase().
|
protectedinherited |
View Net.
Definition at line 120 of file GNEFrame.h.
Referenced by GNEFrameModuls::DrawingShape::abortDrawing(), GNEFrameAttributesModuls::DrawingShape::abortDrawing(), GNEDeleteFrame::ACsToDelete(), GNESelectorFrame::ACsToSelected(), GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), GNEPersonPlanFrame::PersonPlanCreator::addEdge(), GNERouteFrame::ConsecutiveEdges::addEdge(), GNERouteFrame::NonConsecutiveEdges::addEdge(), GNEFrameModuls::EdgePathCreator::addEdge(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), buildIinternalLanes(), GNEPersonFrame::buildPerson(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNEProhibitionFrame::buildProhibition(), cleanup(), GNESelectorFrame::clearCurrentSelection(), GNEFrameModuls::EdgePathCreator::clearEdges(), GNEInspectorFrame::clearInspectedAC(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), GNETAZFrame::dropTAZMembers(), GNEPersonFrame::edgePathCreated(), GNEVehicleFrame::edgePathCreated(), editJunction(), GNETAZFrame::TAZSaveChanges::enableButtonsAndBeginUndoList(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEFrameAttributesModuls::NeteditAttributes::getNeteditAttributesAndValues(), GNEFrame::getViewNet(), GNEPersonTypeFrame::GNEPersonTypeFrame(), GNEVehicleTypeFrame::GNEVehicleTypeFrame(), handleChange(), GNERouteFrame::handleEdgeClick(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEFrame::hide(), GNEInspectorFrame::hide(), GNERouteFrame::hotkeyBackSpace(), GNERouteFrame::hotkeyEnter(), GNERouteFrame::hotkeyEsc(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEPersonPlanFrame::PersonPlanCreator::onCmdAbortPersonPlanCreation(), GNERouteFrame::ConsecutiveEdges::onCmdAbortRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdAbortRoute(), GNEProhibitionFrame::onCmdCancel(), onCmdCancel(), GNETAZFrame::TAZSaveChanges::onCmdCancelChanges(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdCenterItem(), GNEPersonTypeFrame::PersonTypeEditor::onCmdCopyPersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCopyVehicleType(), GNECrossingFrame::CreateCrossing::onCmdCreateCrossing(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEPersonTypeFrame::PersonTypeEditor::onCmdCreatePersonType(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCreateVehicleType(), onCmdDefCreate(), onCmdDefDelete(), onCmdDefSwitch(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdDeleteItem(), GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType(), GNEFrameAttributesModuls::GenericParametersEditor::onCmdEditGenericParameter(), GNEPersonPlanFrame::PersonPlanCreator::onCmdFinishPersonPlanCreation(), GNEFrameModuls::EdgePathCreator::onCmdFinishRouteCreation(), GNEInspectorFrame::onCmdGoBack(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdInspectItem(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemDown(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemUp(), onCmdOK(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), onCmdPhaseSwitch(), GNEFrameModuls::EdgePathCreator::onCmdRemoveLastInsertedElement(), GNERouteFrame::NonConsecutiveEdges::onCmdRemoveLastRouteEdge(), GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNESelectorFrame::VisualScaling::onCmdScaleSelection(), GNETAZFrame::TAZSelectionStatistics::onCmdSelectEdges(), GNESelectorFrame::ElementSet::onCmdSelectElementSet(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdSelectRadioButton(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdSetAttribute(), GNEFrameAttributesModuls::GenericParametersEditor::onCmdSetGenericParameter(), GNETAZFrame::TAZSelectionStatistics::onCmdSetNewValues(), GNETAZFrame::TAZChildDefaultParameters::onCmdUseSelectedEdges(), parseTLSPrograms(), GNEPersonPlanFrame::personPlanCreated(), GNECreateEdgeFrame::processClick(), GNEPolygonFrame::processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEProhibitionFrame::ProhibitionLegend::ProhibitionLegend(), GNEFrameAttributesModuls::AttributesEditorRow::refreshAttributesEditorRow(), GNESelectorFrame::ElementSet::refreshElementSet(), GNEFrameAttributesModuls::GenericParametersEditor::refreshGenericParametersEditor(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNETAZFrame::TAZCurrent::setTAZ(), GNEPolygonFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEFrame::show(), GNEStopFrame::show(), GNEDeleteFrame::show(), GNEPersonPlanFrame::show(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNESelectorFrame::LockGLObjectTypes::showTypeEntries(), GNEFrameAttributesModuls::AttributesCreator::showWarningMessage(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), GNEFrameModuls::DrawingShape::stopDrawing(), GNEFrameAttributesModuls::DrawingShape::stopDrawing(), and GNETAZFrame::TAZEdgesGraphic::updateEdgeColors().