 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNECalibratorFlow_h
17 #define GNECalibratorFlow_h
48 const RGBColor& color,
const std::string& departLane,
const std::string& departPos,
const std::string& departSpeed,
const std::string& arrivalLane,
49 const std::string& arrivalPos,
const std::string& arrivalSpeed,
const std::string& line,
int personNumber,
int containerNumber,
bool reroute,
50 const std::string& departPosLat,
const std::string& arrivalPosLat,
SUMOTime begin,
SUMOTime end);
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 myVehsPerHour
flows per hour (String instead float because can be empty)
std::string myArrivalSpeed
arrival speed
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
std::string myArrivalPosLat
int myPersonNumber
number of person
std::string myDepartPos
depart position
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
bool isAttributeEnabled(SumoXMLAttr key) const
std::string myArrivalLane
arrival lane
int myContainerNumber
number of container
std::string mySpeed
flow speed (String instead float because can be empty)
void updateGeometry()
update pre-computed geometry information
double getAttributeDouble(SumoXMLAttr key) const
GNEDemandElement * myVehicleType
type of flow
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
A class that stores a 2D geometrical boundary.
std::string myDepartSpeed
depart speed
A point in 2D or 3D with translation and scaling methods.
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
std::string getParentName() const
Returns the name of the parent object.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
Position getPositionInView() const
Returns position of additional in view.
GNECalibratorFlow & operator=(const GNECalibratorFlow &)=delete
Invalidated assignment operator.
GNEDemandElement * myRoute
route in which this flow is used
Dialog for edit calibrators.
RGBColor myColor
color of flow
GNECalibratorFlow(GNEAdditional *calibratorParent)
default constructor (used only in GNECalibratorDialog)
std::string myDepartLane
depart lane
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
~GNECalibratorFlow()
destructor
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SUMOTime myEnd
time step end
std::string myDepartPosLat
departPosLat
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
Stores the information about how to visualize structures.
std::string myLine
line of bus/container stop
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string myArrivalPos
arrival pos