17 #ifndef GNECalibratorFlow_h 18 #define GNECalibratorFlow_h 51 const RGBColor& color,
const std::string& departLane,
const std::string& departPos,
const std::string& departSpeed,
const std::string& arrivalLane,
52 const std::string& arrivalPos,
const std::string& arrivalSpeed,
const std::string& line,
int personNumber,
int containerNumber,
bool reroute,
53 const std::string& departPosLat,
const std::string& arrivalPosLat,
double begin,
double end);
Position getPositionInView() const
Returns position of additional in view.
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.
GNEAdditional * myRoute
route in which this flow is used
std::string myDepartPosLat
departPosLat
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
std::string myArrivalPos
arrival pos
double myEnd
time step end
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.
void updateGeometry(bool updateGrid)
update pre-computed geometry information
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.
GNEAdditional * myVehicleType
type of flow
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)