55 const double departPosition,
const double arrivalPosition,
const double speed,
const SUMOTime duration);
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.
Problem
enum class for demandElement problems
A NBNetBuilder extended by visualisation and editing capabilities.
GNEPlanParents (used for group all plan parents)
std::string getAttribute(SumoXMLAttr key) const override
inherited from GNEAttributeCarrier
bool isValid(SumoXMLAttr key, const std::string &value) override
double getAttributeDouble(SumoXMLAttr key) const override
GNETranship(GNETranship *)=delete
Invalidated copy constructor.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
void writeDemandElement(OutputDevice &device) const override
write demand element element into a xml file
bool isAttributeEnabled(SumoXMLAttr key) const override
Problem isDemandElementValid() const override
check if current demand element is valid to be written into XML (by default true, can be reimplemente...
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this tranship
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
void computePathElement() override
compute pathElement
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
void fixDemandElementProblem() override
fix demand element problem (by default throw an exception, has to be reimplemented in children)
SUMOVehicleClass getVClass() const override
obtain VClass related with this demand element
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over lane.
Parameterised * getParameters() override
get parameters associated with this tranship
std::string getDemandElementProblem() const override
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
GNETranship & operator=(GNETranship *)=delete
Invalidated assignment operator.
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
GNELane * getFirstPathLane() const override
get first path lane
const RGBColor & getColor() const override
get color
Position getPositionInView() const override
Returns position of additional in view.
SUMOTime myDuration
duration
void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over junction.
Position getAttributePosition(SumoXMLAttr key) const override
std::string getParentName() const override
Returns the name of the parent object.
GNELane * getLastPathLane() const override
get last path lane
void updateGeometry() override
update pre-computed geometry information
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
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.