321 std::vector<GNEDemandElement*>
stops;
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.
GNELane * getLastPathLane() const override
get last path lane
void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over junction.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
std::string getDemandElementProblem() const override
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
GNEContainer & operator=(const GNEContainer &)=delete
Invalidated assignment operator.
void updateGeometry() override
update pre-computed geometry information
Parameterised * getParameters() override
get parameters associated with this container
void writeDemandElement(OutputDevice &device) const override
write demand element element into a xml file
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList) override
Problem isDemandElementValid() const override
check if current demand element is valid to be written into XML (by default true, can be reimplemente...
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
std::string getAttribute(SumoXMLAttr key) const override
inherited from GNEAttributeCarrier
SUMOVehicleClass getVClass() const override
obtain VClass related with this demand element
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this container
void toggleAttribute(SumoXMLAttr key, const bool value) override
method for enable or disable the attribute and nothing else (used in GNEChange_ToggleAttribute)
void fixDemandElementProblem() override
fix demand element problem (by default throw an exception, has to be reimplemented in children)
bool isAttributeEnabled(SumoXMLAttr key) const override
double getAttributeDouble(SumoXMLAttr key) const override
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
bool isValid(SumoXMLAttr key, const std::string &value) override
void drawAction_drawAsPoly() const
draw container as poly
std::string getParentName() const override
Returns the name of the parent object.
GNEMoveElementPlanParent * myMoveElementPlanParent
move element plan parent
Position getPositionInView() const override
Returns position of demand element in view.
Position getAttributePosition(SumoXMLAttr key) const override
GNELane * getFirstPathLane() const override
get first path lane
void drawAction_drawAsImage(const GUIVisualizationSettings &s) const
draw container as image
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over lane.
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
~GNEContainer()
destructor
RGBColor getDrawingColor(const GUIVisualizationSettings &s) const
get drawing color
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
void computePathElement() override
compute pathElement
GNEContainer(const GNEContainer &)=delete
Invalidated copy constructor.
GNEContour myContainerContour
variable used for contours
const RGBColor & getColor() const override
get color
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList) override
Problem
enum class for demandElement problems
A NBNetBuilder extended by visualisation and editing capabilities.
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.
Structure representing possible vehicle parameter.
SumoXMLTag tag
The vehicle tag.
std::vector< GNEDemandElement * > stops
stops placed in this segment
std::vector< GNEAdditional * > busStops
busStops placed in this segment
const GNEDemandElement * containerPlan
container plan
double arrivalPos
arrival position
containerPlanSegment()
constructor