SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
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.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
const RGBColor & getColor() const
get color
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
std::string getBegin() const
get begin time of demand element
SUMOVehicleClass getVClass() const
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
Position getPositionInView() const
Returns position of demand element in view.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
bool isAttributeEnabled(SumoXMLAttr key) const
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
bool isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
std::string getParentName() const
Returns the name of the parent object.
GNEStop & operator=(const GNEStop &)=delete
Invalidated assignment operator.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
double getAttributeDouble(SumoXMLAttr key) const
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
void computePath()
compute path
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
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 endGeometryMoving()
end movement
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
GNEStop(SumoXMLTag tag, GNENet *net, const SUMOVehicleParameter::Stop &stopParameter, GNEAdditional *stoppingPlace, GNEDemandElement *stopParent)
constructor used for stops over stoppingPlaces
void invalidatePath()
invalidate path
double getStartGeometryPositionOverLane() const
get start position over lane that is applicable to the shape
void drawPartialGL(const GUIVisualizationSettings &s, const GNELane *lane, const double offsetFront) const
Draws partial object.
DemandElementMove myStopMove
variable demand element move
const std::map< std::string, std::string > & getACParametersMap() const
get parameters map
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
void updateGeometry()
update pre-computed geometry information
double getEndGeometryPositionOverLane() const
get end position over lane that is applicable to the shape
GNEStop(const GNEStop &)=delete
Invalidated copy constructor.
void startGeometryMoving()
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
A point in 2D or 3D with translation and scaling methods.
Definition of vehicle stop (position and duration)
std::string lane
The lane to stop at.
struct for pack all variables related with Demand Element moving