 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEInternalLane_h
18 #define GNEInternalLane_h
101 long onDefault(FXObject*, FXSelector,
void*);
A window containing a gl-object's parameter.
FXDataTarget stateTarget
data target for selection state
GUIGLObjectPopupMenu * myPopup
the created popup
GNETLSEditorFrame * myEditor
the editor to inform about changes
LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic,...
FXuint myState
the state of the link (used for visualization)
A class that stores a 2D geometrical boundary.
static RGBColor colorForLinksState(FXuint state)
return the color for each linkstate
void setLinkState(LinkState state)
set the linkState (controls drawing color)
int getTLIndex() const
get Traffic Light index
FXDataTarget myStateTarget
virtual ~GNEInternalLane()
Destructor.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
GNEInternalLane & operator=(const GNEInternalLane &)
Invalidated assignment operator.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
static const std::string & longNameForLinkState(FXuint state)
return the color for each linkstate
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
GNEInternalLane()
FOX needs this.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
LinkState myOrigState
the original state of the link (used for tracking modification)
LinkState getLinkState() const
whether link state has been modfied
int myTlIndex
the tl-index of this lane
std::vector< double > myShapeRotations
static const StringBijection< FXuint > LinkStateNames
long names for link states
static StringBijection< FXuint >::Entry linkStateNamesValues[]
linkstates names values
long onDefault(FXObject *, FXSelector, void *)
multiplexes message to two targets
Stores the information about how to visualize structures.
std::vector< double > myShapeLengths
The lengths of the shape parts.
const PositionVector myShape
the shape of the edge