52 double arrivalPosition,
const std::vector<std::string>& lines);
64 double arrivalPosition,
const std::vector<std::string>& lines);
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 belong to GNENet but has influence in the simulation.
An Element which don't belong to GNENet but has influence in the simulation.
Problem
enum class for demandElement problems
A road/street connecting two junctions (netedit-version)
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
double getAttributeDouble(SumoXMLAttr key) const
GNERide & operator=(GNERide *)=delete
Invalidated assignment operator.
void drawPartialGL(const GUIVisualizationSettings &s, const GNELane *lane, const GNEPathManager::Segment *segment, const double offsetFront) const
Draws partial object.
Position getPositionInView() const
Returns position of additional in view.
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
SUMOVehicleClass getVClass() const
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
GNERide(SumoXMLTag tag, GNENet *net)
default constructor
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
double myArrivalPosition
arrival position
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)
commit move shape
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
std::string getParentName() const
Returns the name of the parent object.
GNEMoveOperation * getMoveOperation()
get move operation
void updateGeometry()
update pre-computed geometry information
Problem isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
const RGBColor & getColor() const
get color
Position getAttributePosition(SumoXMLAttr key) const
const Parameterised::Map & getACParametersMap() const
get parameters map
std::vector< std::string > myLines
valid line or vehicle ids or ANY
GNELane * getLastPathLane() const
get last path lane
double getExaggeration(const GUIVisualizationSettings &s) const
return exaggeration associated with this GLObject
bool isAttributeEnabled(SumoXMLAttr key) const
void computePathElement()
compute pathElement
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 getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
void setMoveShape(const GNEMoveResult &moveResult)
set move shape
GNELane * getFirstPathLane() const
get first path lane
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void writeDemandElement(OutputDevice &device) const
write demand element element into a xml file
GNERide(GNERide *)=delete
Invalidated copy constructor.
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
std::map< std::string, std::string > Map
parameters map
A point in 2D or 3D with translation and scaling methods.