20 #ifndef GNEConnector_h 21 #define GNEConnector_h 85 long onCmdOK(FXObject*, FXSelector,
void*);
unsigned int getTLLLinkNumber(const std::vector< NBEdge::Connection > &connections, GNELane *targetLane)
std::map< int, GNEInternalLane * > myInternalLanes
the internal lanes belonging the the current junction indexed by their tl-index
long onCmdSelectDeadEnds(FXObject *, FXSelector, void *)
Called when the user presses the Corresponding-button.
static RGBColor targetPassColor
color for the to-lane of a connection with pass attribute
LaneStatus getLaneStatus(const std::vector< NBEdge::Connection > &connections, GNELane *targetLane)
FXVerticalFrame * myContentFrame
the panel to hold all member widgets
long onCmdSelectDeadStarts(FXObject *, FXSelector, void *)
FXLabel * myDescription
the label that shows the current editing state
GNELane * myCurrentLane
the lane of which connections are to be modified
void handleLaneClick(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...
long onCmdOK(FXObject *, FXSelector, void *)
Called when the user presses the OK-Button saves any connection modifications.
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
~GNEConnector()
Destructor.
static RGBColor conflictColor
color for a to-lane that cannot be used because another connection conflicts
void removeConnections(GNELane *lane)
static RGBColor sourceColor
color for the from-lane of a connection
long onCmdClearSelectedConnections(FXObject *, FXSelector, void *)
long onCmdCancel(FXObject *, FXSelector, void *)
Called when the user presses the Cancel-button discards any connection modifications.
LaneStatus
the status of a target lane
GNEViewNet * myUpdateTarget
long onCmdSelectPass(FXObject *, FXSelector, void *)
void updateDescription() const
long onCmdResetSelectedConnections(FXObject *, FXSelector, void *)
GNEConnector()
FOX needs this.
std::set< GNELane * > myPotentialTargets
the set of lanes to which the current lane may be connected
unsigned int myNumChanges
long onCmdSelectConflicts(FXObject *, FXSelector, void *)
FXFont * myHeaderFont
Font for the widget.
Represents a single node (junction) during network building.
void buildIinternalLanes(NBNode *node)
static RGBColor targetColor
color for the to-lane of a connection
static RGBColor potentialTargetColor
color for potential to-lane targets (currently unconnected)