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