 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEProhibitionFrame_h
18 #define GNEProhibitionFrame_h
165 long onCmdOK(FXObject*, FXSelector,
void*);
void handleProhibitionClick(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
handle prohibitions and set the relative colouring
const RGBColor & getUndefinedColor() const
get color for non-conflicting pairs of connections
RelativeToConnection(GNEProhibitionFrame *prohibitionFrameParent)
constructor
const RGBColor & getMutualConflictColor() const
get color for mutual conflicts
ProhibitionLegend(GNEProhibitionFrame *prohibitionFrameParent)
constructor
FXLabel * myConnDescriptionLabel
the label that shows the currently selected connection
ConnStatus
FOX-declaration.
RGBColor myProhibitingColor
color for connections with precedence
~Modifications()
destructor
FXButton * mySaveButton
"Save" button
GNEProhibitionFrame()
FOX needs this.
GNEProhibitionFrame * myProhibitionFrameParent
pointer to prohibition frame parent
long onCmdCancel(FXObject *, FXSelector, void *)
Called when the user presses the Cancel-button discards any prohibition modifications.
GNEConnection * myCurrentConn
the connection which prohibits
void buildProhibition(GNEConnection *conn, bool mayDefinitelyPass, bool allowConflict, bool toggle)
build prohibition
~ProhibitionLegend()
destructor
class used to group all variables related with objects under cursor after a click over view
RGBColor myProhibitedColor
color for waiting connections
void updateDescription() const
update description
~GNEProhibitionFrame()
Destructor.
void show()
show prohibition frame
~RelativeToConnection()
destructor
std::set< GNEConnection * > myConcernedConns
the set of connections which
FXButton * myCancelButton
"Cancel" button
void hide()
hide prohibition frame
const RGBColor & getUnregulatedConflictColor() const
get color for unregulated conflicts
RGBColor myMutualConflictColor
color for mutual conflicts
long onCmdOK(FXObject *, FXSelector, void *)
RGBColor myUnregulatedConflictColor
color for unregulated conflicts
RelativeToConnection * myRelativeToConnection
Relative To Connection.
Modifications * myModifications
Modifications.
Modifications(GNEProhibitionFrame *prohibitionFrameParent)
constructor
const RGBColor & getProhibitedColor() const
get color for waiting connections
RGBColor myUndefinedColor
color for non-conflicting pairs of connections
ProhibitionLegend * myProhibitionLegend
prohibition legend
const RGBColor & getProhibitingColor() const
get color for connections with precedence