 |
Eclipse SUMO - Simulation of Urban MObility
|
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
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.
std::string edge
The edge to stop at (used only in NETEDIT)
void drawPartialGL(const GUIVisualizationSettings &s, const GNELane *lane, const GNEPathManager::Segment *segment, const double offsetFront) const
Draws partial object.
std::string lane
The lane to stop at.
std::string getParentName() const
Returns the name of the parent object.
Static storage of an output device and its base (abstract) implementation.
Position getPositionInView() const
Returns position of demand element in view.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
A NBNetBuilder extended by visualisation and editing capabilities.
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
GNELane * getFirstPathLane() const
get first path lane
const RGBColor & getColor() const
get color
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
bool isAttributeEnabled(SumoXMLAttr key) const
const std::map< std::string, std::string > & getACParametersMap() const
get parameters map
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
void drawPersonStopOverBusStop(const GUIVisualizationSettings &s, const double exaggeration, const RGBColor &stopColor) const
draw personStop over busStop
A road/street connecting two junctions (netedit-version)
void computePathElement()
compute pathElement
GNEMoveOperation * getMoveOperation(const double shapeOffset)
get move operation for the given shapeOffset
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
A class that stores a 2D geometrical boundary.
GNEPersonStop & operator=(const GNEPersonStop &)=delete
Invalidated assignment operator.
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)
commit move shape
A point in 2D or 3D with translation and scaling methods.
bool isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
void setMoveShape(const GNEMoveResult &moveResult)
set move shape
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
GNELane * getLastPathLane() const
get last path lane
void drawPersonStopOverLane(const GUIVisualizationSettings &s, const double exaggeration, const RGBColor &stopColor) const
draw personStop over lane
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
double getAttributeDouble(SumoXMLAttr key) const
const GNELane * getFirstAllowedLane() const
get first valid lane
GNEPersonStop(GNENet *net, GNEDemandElement *personParent, GNEAdditional *stoppingPlace, const SUMOVehicleParameter::Stop &stopParameter)
constructor used for stops over busStops
std::string getBegin() const
get begin time of demand element
~GNEPersonStop()
destructor
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
SUMOVehicleClass getVClass() const
void updateGeometry()
update pre-computed geometry information
Stores the information about how to visualize structures.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
Position getAttributePosition(SumoXMLAttr key) const
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
Definition of vehicle stop (position and duration)