 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEConnectorFrame_h
18 #define GNEConnectorFrame_h
ConnectionLegend * myConnectionLegend
ConnectionLegend modul.
ConnectionModifications * getConnectionModifications() const
get pointer to ConnectionModifications modul
RGBColor myTargetColor
color for the to-lane of a connection
FXButton * mySelectConflictsButton
"Select Conflicts" button
FXLabel * myCurrentLaneLabel
Label for current Lane.
long onCmdResetSelectedConnections(FXObject *, FXSelector, void *)
Called when the user presses the reset selected connections button.
~GNEConnectorFrame()
Destructor.
long onCmdSaveModifications(FXObject *, FXSelector, void *)
Called when the user presses the OK-Button saves any connection modifications.
FXLabel * myPossibleTargetLabel
possible target label
void removeConnections(GNELane *lane)
remove connections
long onCmdClearSelectedConnections(FXObject *, FXSelector, void *)
Called when the user presses the clear selected connections button.
ConnectionSelection * myConnectionSelection
ConnectionSelection modul.
~ConnectionOperations()
destructor
ConnectionOperations()
FOX needs this.
ConnectionSelection(GNEConnectorFrame *connectorFrameParent)
constructor
ConnectionModifications()
FOX needs this.
~ConnectionSelection()
destructor
const RGBColor & getPotentialTargetColor() const
get color for potential to-lane targets (currently unconnected)
~ConnectionLegend()
destructor
long onCmdSelectPass(FXObject *, FXSelector, void *)
Called when the user presses the select pass button.
const RGBColor & getTargetColor() const
get color for the to-lane of a connection
GNEConnectorFrame * myConnectorFrameParent
pointer to connectorFrame parent
LaneStatus getLaneStatus(const std::vector< NBEdge::Connection > &connections, GNELane *targetLane)
return the status of toLane
FXCheckButton * myProtectRoutesCheckBox
protect routes checkbox
ConnectionLegend(GNEConnectorFrame *connectorFrameParent)
constructor
CurrentLane * myCurrentLane
CurrentLane modul.
ConnectionModifications * myConnectionModifications
ConnectionModifications modul.
ConnectionOperations * myConnectionOperations
ConnectionOperations modul.
const RGBColor & getSourceColor() const
get color for the from-lane of a connection
FXButton * myResetSelectedButton
"Reset Selected"
long onCmdSelectDeadStarts(FXObject *, FXSelector, void *)
Called when the user presses the select dead starts button.
void initTargets()
init targets
class used to group all variables related with objects under cursor after a click over view
void handleLaneClick(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
either sets the current lane or toggles the connection of the
FXButton * mySaveButton
"OK" button
int myNumChanges
number of changes
FXLabel * myTargetPassLabel
target pass label
RGBColor myTargetPassColor
color for the to-lane of a connection with pass attribute
GNEConnectorFrame * myConnectorFrameParent
pointer to connectorFrame parent
FXButton * myCancelButton
"Cancel" button
long onCmdSelectConflicts(FXObject *, FXSelector, void *)
Called when the user presses the select conflicts button.
std::set< GNELane * > myPotentialTargets
the set of lanes to which the current lane may be connected
LaneStatus
the status of a target lane
FXLabel * myHoldControlLabel
hold control label
void cleanup()
clean up when deselecting current lane
void updateCurrentLaneLabel(const std::string &laneID)
set current junction label
std::map< int, GNEInternalLane * > myInternalLanes
the internal lanes belonging the the current junction indexed by their tl-index
CurrentLane(GNEConnectorFrame *connectorFrameParent)
constructor
const RGBColor & getTargetPassColor() const
get color for the to-lane of a connection with pass attribute
RGBColor myPotentialTargetColor
color for potential to-lane targets (currently unconnected)
long onCmdCancelModifications(FXObject *, FXSelector, void *)
Called when the user presses the Cancel-button discards any connection modifications.
GNEConnectorFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
FXLabel * myTargetLabel
target label
FXLabel * myHoldShiftLabel
Selection Hint.
std::vector< NBEdge::Connection > myDeletedConnections
vector of connections deleted in the current editing step
FXButton * mySelectDeadStartsButton
"Select Dead Starts" button
void buildConnection(GNELane *lane, bool mayDefinitelyPass, bool allowConflict, bool toggle)
either sets the current lane or toggles the connection of the current lane to this lane (if they shar...
FXButton * myClearSelectedButton
"Clear Selected"
GNELane * myCurrentEditedLane
the lane of which connections are to be modified
FXButton * mySelectPassingButton
"Select Edges which may always pass"
~ConnectionModifications()
destructor
const RGBColor & getConflictColor() const
get color for a to-lane that cannot be used because another connection conflicts
RGBColor myConflictColor
color for a to-lane that cannot be used because another connection conflicts
RGBColor mySourceColor
color for the from-lane of a connection
long onCmdSelectDeadEnds(FXObject *, FXSelector, void *)
Called when the user presses the select dead ends button.
FXLabel * mySourceLabel
source label
FXLabel * myConflictLabel
conflict label
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
FXButton * mySelectDeadEndsButton
"Select Dead Ends" button