const std::string invalid_return< std::string >::value
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
const double INVALID_DOUBLE
invalid double
A class that stores a 2D geometrical boundary.
GNEDemandElement(const std::string &id, GNENet *net, const std::string &filename, SumoXMLTag tag, const GNEPathElement::Options pathOptions)
Constructor.
Problem
enum class for demandElement problems
A NBNetBuilder extended by visualisation and editing capabilities.
double myProbability
probability
Problem isDemandElementValid() const override
check if current demand element is valid to be written into XML (by default true, can be reimplemente...
void fixDemandElementProblem() override
fix demand element problem (by default throw an exception, has to be reimplemented in children)
void writeDemandElement(OutputDevice &device) const override
write demand element element into a xml file
GNEVTypeRef(GNEVTypeRef *)=delete
Invalidated copy constructor.
void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over junction.
bool isAttributeComputed(SumoXMLAttr key) const override
GNELane * getLastPathLane() const override
get last path lane
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
Position getPositionInView() const override
Returns position of additional in view.
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over lane.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
bool isValid(SumoXMLAttr key, const std::string &value) override
std::string getParentName() const override
Returns the name of the parent object.
SUMOVehicleClass getVClass() const override
obtain VClass related with this demand element
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this vTypeRef
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
Parameterised * getParameters() override
get parameters associated with this vTypeRef
const RGBColor & getColor() const override
get color
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
double getAttributeDouble(SumoXMLAttr key) const override
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
void computePathElement() override
compute pathElement
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
GNEVTypeRef(GNENet *net)
default constructor
GNELane * getFirstPathLane() const override
get first path lane
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
std::string getDemandElementProblem() const override
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
GNEVTypeRef & operator=(GNEVTypeRef *)=delete
Invalidated assignment operator.
std::string getAttribute(SumoXMLAttr key) const override
inherited from GNEAttributeCarrier
void updateGeometry() override
update pre-computed geometry information
bool isAttributeEnabled(SumoXMLAttr key) const override
Position getAttributePosition(SumoXMLAttr key) const override
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.
A point in 2D or 3D with translation and scaling methods.