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