 |
Eclipse SUMO - Simulation of Urban MObility
|
GNEStop(const GNEStop &)=delete
Invalidated copy constructor.
bool isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
void endGeometryMoving()
end movement
An Element which don't belongs to GNENet but has influency in the simulation.
An Element which don't belongs to GNENet but has influency in the simulation.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
std::string lane
The lane to stop at.
Static storage of an output device and its base (abstract) implementation.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
struct for pack all variables related with Demand Element moving
void updateGeometry()
update pre-computed geometry information
DemandElementMove myStopMove
variable demand element move
void updatePartialGeometry(const GNEEdge *edge)
partial update pre-computed geometry information
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
SumoXMLTag
Numbers representing SUMO-XML - element names.
GNEEdge * getToEdge() const
obtain to edge of this demand element
A road/street connecting two junctions (netedit-version)
double getAttributeDouble(SumoXMLAttr key) const
bool isAttributeEnabled(SumoXMLAttr key) const
std::string getBegin() const
get begin time of demand element
double getEndGeometryPositionOverLane() const
get end position over lane that is applicable to the shape
void startGeometryMoving()
A class that stores a 2D geometrical boundary.
std::string getAttribute(SumoXMLAttr key) const
void computePath()
compute path
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
double getStartGeometryPositionOverLane() const
get start position over lane that is applicable to the shape
void selectAttributeCarrier(bool changeFlag=true)
inherited from GNEAttributeCarrier
A point in 2D or 3D with translation and scaling methods.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void invalidatePath()
invalidate path
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
GNEStop(SumoXMLTag tag, GNEViewNet *viewNet, const SUMOVehicleParameter::Stop &stopParameter, GNEAdditional *stoppingPlace, GNEDemandElement *stopParent)
constructor used for stops over stoppingPlaces
const RGBColor & getColor() const
get color
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
GNEEdge * getFromEdge() const
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
GNEStop & operator=(const GNEStop &)=delete
Invalidated assignment operator.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
Position getPositionInView() const
Returns position of demand element in view.
Stores the information about how to visualize structures.
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
std::string getParentName() const
Returns the name of the parent object.
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Definition of vehicle stop (position and duration)
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element