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