17 #ifndef GNECalibratorVehicleType_h 18 #define GNECalibratorVehicleType_h std::string getGenericParametersStr() const
return generic parameters in string format
void endGeometryMoving()
end geometry movement
SumoXMLTag
Numbers representing SUMO-XML - element names.
void startGeometryMoving()
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
std::string getParentName() const
Returns the name of the parent object.
Position getPositionInView() const
Returns position of additional in view.
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
Structure representing possible vehicle parameter.
Stores the information about how to visualize structures.
static void overwriteVType(GNEDemandElement *vType, SUMOVTypeParameter *newVTypeParameter, GNEUndoList *undoList)
overwrite all values of GNEVehicleType with a SUMOVTypeParameter
bool myDefaultVehicleTypeModified
flag to check if this default GNEVehicleType was modified
~GNEVehicleType()
destructor
GNEEdge * getToEdge() const
obtain to edge of this demand element
GNEVehicleType(GNEViewNet *viewNet, const std::string &vTypeID, const SUMOVehicleClass &defaultVClass, SumoXMLTag tag)
constructor for default VTypes
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
A class that stores a 2D geometrical boundary.
const RGBColor & getColor() const
get color
double getAttributeDouble(SumoXMLAttr key) const
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNEVehicleType * operator=(GNEVehicleType *)=delete
Invalidated assignment operator.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
A point in 2D or 3D with translation and scaling methods.
GNEEdge * getFromEdge() const
void compute()
compute demand element
struct for default values that depend of VClass
std::string getAttribute(SumoXMLAttr key) const
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element
bool myDefaultVehicleType
flag to check if this GNEVehicleType is a default vehicle Type (For Vehicles, Pedestrians...)
bool isAttributeEnabled(SumoXMLAttr key) const
A road/street connecting two junctions (netedit-version)
void updateGeometry()
update pre-computed geometry information
std::vector< std::pair< std::string, std::string > > getGenericParameters() const
return generic parameters as vector of pairs format
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
void updateDefaultVClassAttributes(const VClassDefaultValues &defaultValues)
function called after set new VClass
void selectAttributeCarrier(bool changeFlag=true)
inherited from GNEAttributeCarrier
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes ...
Static storage of an output device and its base (abstract) implementation.
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) ...
void initRailVisualizationParameters()
init Rail Visualization Parameters
An Element which don't belongs to GNENet but has influency in the simulation.
void setGenericParametersStr(const std::string &value)
set generic parameters in string format