20 #ifndef GNEConnection_h 21 #define GNEConnection_h int getFromLaneIndex()
get lane index of the incoming lane
GNEEdge * getEdgeTo()
get the name of the edge the vehicles may reach when leaving "from"
void updateGeometry()
update pre-computed geometry information
void setKeepClear(bool keepClear)
set parameter keepClear
bool isValid(SumoXMLAttr key, const std::string &value)
Stores the information about how to visualize structures.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNEEdge * myEdgeTo
The name of the edge the vehicles may reach when leaving "from".
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
bool getKeepClear()
get parameter keepClear
GNELane * myFromLane
the incoming lane
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNEEdge * myEdgeFrom
The name of the edge the vehicles leave.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
bool myPass
if set, vehicles which pass this (lane-2-lane) connection) will not wait
A class that stores a 2D geometrical boundary.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
int getToLaneIndex()
get lane index of the outgoing lane
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
bool getPass()
get parameter pass
bool myKeepClear
if set to false, vehicles which pass this (lane-2-lane) connection) will not worry about blocking the...
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNELane * myToLane
the outgoing lane
~GNEConnection()
Destructor.
GNEConnection & operator=(const GNEConnection &)
Invalidated assignment operator.
SUMOReal myContPos
if set to 0, no internal junction will be built for this connection. If set to a positive value...
GNELane * getFromLane()
the get incoming lane
A road/street connecting two junctions (netedit-version)
void setUncontrolled(bool uncontrolled)
set parameter uncontrolled
void setPass(bool pass)
set parameter pass
void setContPos(SUMOReal contPos)
set parameter ContPos
SUMOReal getContPos()
get parameter ContPos
bool getUncontrolled()
get parameter uncontrolled
GNELane * getToLane()
get outgoing lane
GNEConnection(GNEEdge *edgeFrom, GNEEdge *edgeTo, GNELane *fromLane, GNELane *toLane, bool pass, bool keepClear, SUMOReal contPos, bool uncontrolled)
Constructor.
std::string getAttribute(SumoXMLAttr key) const
A window containing a gl-object's parameter.
GNEEdge * getEdgeFrom()
get the name of the edge the vehicles leave
bool myUncontrolled
if set to true, This connection will not be TLS-controlled despite its node being controlled...