 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEVehicleTypeDialog_h
18 #define GNEVehicleTypeDialog_h
453 std::vector<CarFollowingModelRow*>
myRows;
549 long onCmdReset(FXObject*, FXSelector,
void*);
void updateValues()
update values
FXComboBox * myComboBoxVClass
FXComboBox for VClass.
VTypeAttributeRow * myLCAKeeprightParam
VTypeAttributeRow for keep right param.
void buildLaneChangeModelAttributes(FXVerticalFrame *column)
build LaneChangeModel attributes
void setVariable()
set Variablen in VehicleType
GNEVehicleTypeDialog * myVehicleTypeDialog
VTypeAttributeRow for experimental.
CarFollowingModelRow * myDeltaRow
Row for MinGap (only for IDM)
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
void updateValue()
update value of Vehicle Type (using default value obtained from GNEAttributeCarrier)
An Element which don't belongs to GNENet but has influency in the simulation.
SUMOVehicleClass setVariable()
set vehicle class
CarFollowingModelParameters()
fox need this
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
void setVClassLabelImage()
set VClass texture
VTypeAttributeRow * myContainerCapacity
VTypeAttributeRow for ContainerCapacity.
CarFollowingModelRow * myTmp2Row
Row for TMP2.
VTypeAttributeRow * myLatAlignment
VTypeAttributeRow for LatAlignment.
VTypeAttributeRow * myLCAAssertive
VTypeAttributeRow for assertive.
void buildAttributesB(FXVerticalFrame *column)
build commmon attributes (B)
VTypeAttributeRow * myJMIgnoreFoeSpeed
VTypeAttributeRow for Ignore FOE Speed.
const RowAttrType myRowAttrType
RowAttrType.
CarFollowingModelRow * myTrauLastRow
Row for TauLast.
VClassRow * myVClassRow
vehicle class row
RowAttrType
Attribute type.
CarFollowingModelRow * myAccelRow
Row for Accel.
VTypeAttributeRow * myCarriageLength
VTypeAttributeRow for carriage length.
VTypeAttributeRow * myLCAAccelLat
VTypeAttributeRow for accel lat.
VTypeAttributeRow * myLCAMaxSpeedLatFactor
VTypeAttributeRow for max speed lat factor.
class used for represent rows with Car Following Model parameters
CarFollowingModelRow * myAdaptFactorRow
Row for Adapt Factor.
VTypeAttributeRow * myJMDriveRedSpeed
VTypeAttributeRow for Drive Red Speed.
VTypeAttributeRow * myJMIgnoreFoeProb
VTypeAttributeRow for Ignore FOE Probability.
void setVShapeLabelImage()
set VShape texture
VTypeAttributeRow * myActionStepLenght
VTypeAttributeRow for ActionStepLenght.
VTypeAttributeRow * myJMCrossingGap
VTypeAttributeRow for Crossing Gap.
VTypeAttributeRow * myLocomotiveLength
VTypeAttributeRow for locomotive length.
void openOSGFileDialog()
open OSG file dialog
CarFollowingModelRow * myTmp5Row
Row for TMP5.
VTypeAttributeRow * myMinGapLat
VTypeAttributeRow for MinGapLat.
long onCmdSetVariable(FXObject *, FXSelector, void *)
@event after change a variable of vehicle type
CarFollowingModelRow * myTrainTypeRow
Row for TrainType.
FXComboBox * myComboBoxCarFollowModel
Row for CarFollowModel.
CarFollowingModelRow * myEmergencyDecelRow
Row for emergency Decel.
VTypeAttributeRow * myColor
VTypeAttributeRow for color.
VTypeAttributeRow * myJMDriveAfterYellowTime
VTypeAttributeRow for Drive After Yellow Time.
VTypeAttributeRow * myLCAPushygap
VTypeAttributeRow for pushy gap.
CarFollowingModelRow * myTmp4Row
Row for TMP4.
VTypeAtributes()
fox need this
void updateValues()
update values
FXString filterAttributeName(const SumoXMLAttr attr) const
filter attribute name
VShapeRow(VTypeAtributes *VTypeAtributesParent, FXVerticalFrame *column)
constructor
SumoXMLAttr myAttr
edited attribute
VTypeAttributeRow * myLCASublaneParam
VTypeAttributeRow for sublane param.
CarFollowingModelRow * mySigmaRow
Row for Sigma.
VTypeAttributeRow * myLCATurnAlignmentDistance
VTypeAttributeRow for turn alignment distance.
VTypeAttributeRow * myOSGFile
VTypeAttributeRow for OSG.
CarFollowingModelRow * myKRow
Row for MinGap (only for Kerner)
VTypeAttributeRow * myLCACooperativeParam
VTypeAttributeRow for cooperative param.
VTypeAttributeRow * myJMImpatience
VTypeAttributeRow for Impatience.
VShapeRow * myVShapeRow
vehicle shape row
VTypeAttributeRow * myHeight
VTypeAttributeRow for Height.
VTypeAtributes * myVTypeAtributes
Vehicle Type Common Attributes.
VTypeAtributes * myVTypeAtributesParent
pointer to VTypeAttributeParameters parent
CarFollowingModelRow * myPhiRow
Row for MinGap (only for Kerner)
VTypeAttributeRow * myLCAMaxSpeedLatStanding
VTypeAttributeRow for max speed lat standing.
VTypeAttributeRow * myLCAPushy
VTypeAttributeRow for pushy.
VTypeAttributeRow * mySpeedDev
VTypeAttributeRow for SpeedDev.
CarFollowingModelParameters * myCarFollowingModelParametersParent
pointer to CarFollowingModelParameters parent
CarFollowingModelRow * myTauRow
Row for Tau.
CarFollowingModelRow * mySteppingRow
Row for MinGap(only for IDM)
void setVariable()
set variables
~GNEVehicleTypeDialog()
destructor
VTypeAttributeRow * myHasDriveState
VTypeAttributeRow for HasDriveState.
long onCmdSetVariable(FXObject *, FXSelector, void *)
VTypeAttributeRow * myJMIgnoreKeepclearTime
VTypeAttributeRow for Ignore Keep Clear Time.
VClassRow(VTypeAtributes *VTypeAtributesParent, FXVerticalFrame *column)
constructor
FXLabel * myLabelIncompleteAttribute
temporal label for incomplete attributes
Dialog to edit sequences, parameters, etc.. of DemandElements.
VTypeAttributeRow * myLCAOvertakeRight
VTypeAttributeRow for overtake right.
GNEVehicleTypeDialog(GNEDemandElement *editedVehicleType, bool updatingElement)
constructor
CarFollowingModelRow * myMinGapFactorRow
Row for MinGapFactor.
FXTextField * myTextField
text field
VTypeAttributeRow * myCarriageGap
VTypeAttributeRow for carriage GAP.
void updateValue()
update value of Vehicle Type
VTypeAttributeRow * myLoadingDuration
VTypeAttributeRow for LoadingDuration.
VTypeAttributeRow * myWidth
VTypeAttributeRow for Width.
VTypeAtributes * myVTypeAtributesParent
pointer to VTypeAtributes parent
void setVariable()
set Variablen in VehicleType (using default value obtained from GNEAttributeCarrier)
VTypeAttributeRow(VTypeAtributes *VTypeAtributesParent, FXVerticalFrame *verticalFrame, const SumoXMLAttr attr, const RowAttrType rowAttrType, const std::vector< std::string > &values={})
constructor
GNEVehicleTypeDialog & operator=(const GNEVehicleTypeDialog &)=delete
Invalidated assignment operator.
VTypeAttributeRow * myMaxSpeed
VTypeAttributeRow for MaxSpeed.
void buildJunctionModelAttributesB(FXVerticalFrame *column)
build JunctionModel attributes (B)
void buildAttributesA(FXVerticalFrame *column)
build commmon attributes (A)
FXButton * myButton
button
FXComboBox * myComboBoxShape
FXComboBox for Shape.
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
CarFollowingModelRow * myTmp3Row
Row for TMP3.
bool myVehicleTypeValid
flag to check if current vehicleType is valid
VTypeAttributeRow * myPersonCapacity
VTypeAttributeRow for PersonCapacity.
VTypeAttributeRow * myLength
VTypeAttributeRow for Length.
VTypeAttributeRow * myLCAStrategicParam
VTypeAttributeRow for strategic param.
GNEVehicleTypeDialog * myVehicleTypeDialog
pointer to Vehicle Type dialog parent
CarFollowingModelRow * myEstimationRow
Row for Estimation (only for Wiedemann)
const FXButton * getButton() const
get button
void openImageFileDialog()
open image file dialog
void refreshCFMFields()
refresh Car Following Model Fields
VTypeAttributeRow * myMaxSpeedLat
VTypeAttributeRow for MaxSpeedLat.
void openColorDialog()
open color dialog
SumoXMLAttr myInvalidAttr
current sumo attribute invalid
VTypeAttributeRow * myEmissionClass
VTypeAttributeRow for EmissionClass.
FXVerticalFrame * myVerticalFrameRows
Vertical Frame for CarFollowingModelRow.
std::vector< CarFollowingModelRow * > myRows
vector with the Car Following Model Row
CarFollowingModelRow * myDecelRow
Row for Decel.
VTypeAtributes * myVTypeAtributesParent
pointer to VTypeAtributes parent
const SumoXMLAttr myAttr
edited attribute
CarFollowingModelRow * myAprobRow
Row for Aprob.
class for CarFollowingModel
VTypeAttributeRow * myLCAImpatience
VTypeAttributeRow for impatience.
VTypeAttributeRow * myJMTimeGapMinor
VTypeAttributeRow for Time GAP Minor.
CarFollowingModelRow * mySecurityRow
Row for Security (only for Wiedemann)
Dialog for edit rerouter intervals.
class used for represent rows with Vehicle Type parameters
CarFollowingModelRow * myTmp1Row
Row for TMP1.
FXTextField * myTextFieldVehicleTypeID
FXTextfield for vehicleTypeID.
FXLabel * myComboBoxShapeLabelImage
label with image of Shape
VTypeAttributeRow * myLCAOppositeParam
VTypeAttributeRow for opposite param.
VTypeAttributeRow * myLCALookAheadLeft
VTypeAttributeRow for loock ahead left.
VTypeAttributeRow * myJMDriveAfterRedTime
VTypeAttributeRow for Drive After Red Time.
CarFollowingModelRow * myAdaptTimeRow
Row for Adapt Time.
long onCmdSetAttribute(FXObject *, FXSelector, void *)
VTypeAttributeRow * myFilename
VTypeAttributeRow for Filename.
long onCmdSetAttributeDialog(FXObject *obj, FXSelector, void *)
@event called after press a button dialog
long onCmdAccept(FXObject *, FXSelector, void *)
VTypeAttributeRow * myProbability
VTypeAttributeRow for Probability.
void buildJunctionModelAttributesA(FXVerticalFrame *column)
build JunctionModel attributes (A)
CarFollowingModelRow(CarFollowingModelParameters *carFollowingModelParametersParent, FXVerticalFrame *verticalFrame, SumoXMLAttr attr, bool allowString=false)
constructor
VTypeAttributeRow * myLCATimeToImpatience
VTypeAttributeRow for time to impatience.
VTypeAttributeRow * myBoardingDuration
VTypeAttributeRow for BoardingDuration.
CarFollowingModelParameters * myCarFollowingModelParameters
Car Following model parameters.
VTypeAttributeRow * mySpeedFactor
VTypeAttributeRow for SpeedFactor.
VTypeAttributeRow * myLCASpeedgainParam
VTypeAttributeRow for speed gain param.
VTypeAttributeRow * myMinGap
VTypeAttributeRow for MinGap.
FXLabel * myComboBoxVClassLabelImage
label with image of VClass
void updateValues()
update values
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
CarFollowingModelRow * myApparentDecelRow
Row for aparent Decel.
VTypeAttributeRow * myJMSigmaMinor
VTypeAttributeRow for Sigma Minor.
VTypeAttributeRow * myLCASpeedGainRight
VTypeAttributeRow for speed gain right.
SUMOVehicleClass updateValue()
update values
FXTextField * myTextField
text field
FXComboBox * myComboBox
ComboBox for attributes with limited values.
VTypeAttributeRow * myLaneChangeModel
VTypeAttributeRow for LaneChangeModel.