![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class for VClasses More...
#include <GNEVehicleTypeDialog.h>
Data Structures | |
| class | VClassRow |
| FOX-declaration. More... | |
| class | VShapeRow |
| class for VShapeRow More... | |
| class | VTypeAttributeRow |
| class used for represent rows with Vehicle Type parameters More... | |
Public Member Functions | |
| void | buildAttributesA (FXVerticalFrame *column) |
| build common attributes (A) | |
| void | buildAttributesB (FXVerticalFrame *column) |
| build common attributes (B) | |
| void | buildJunctionModelAttributesA (FXVerticalFrame *column) |
| build JunctionModel attributes (A) | |
| void | buildJunctionModelAttributesB (FXVerticalFrame *column) |
| build JunctionModel attributes (B) | |
| void | buildLaneChangeModelAttributes (FXVerticalFrame *column) |
| build LaneChangeModel attributes | |
| void | updateValues () |
| update values | |
| VTypeAttributes (GNEVehicleTypeDialog *vehicleTypeDialog, FXHorizontalFrame *column) | |
| constructor | |
FOX-callbacks | |
@event called after change a Vehicle Type parameter | |
| long | onCmdSetAttribute (FXObject *, FXSelector, void *) |
| long | onCmdOpenAttributeDialog (FXObject *obj, FXSelector, void *) |
| @event called after press a button dialog | |
| long | onCmdOpenParametersEditor (FXObject *obj, FXSelector, void *) |
| @event called after press a button dialog | |
Private Attributes | |
| GNEVehicleTypeDialog * | myVehicleTypeDialog |
| VTypeAttributeRow for experimental. | |
class for VClasses
Definition at line 43 of file GNEVehicleTypeDialog.h.
| GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributes | ( | GNEVehicleTypeDialog * | vehicleTypeDialog, |
| FXHorizontalFrame * | column | ||
| ) |
constructor
Definition at line 862 of file GNEVehicleTypeDialog.cpp.
References buildAttributesA(), buildAttributesB(), buildJunctionModelAttributesA(), buildJunctionModelAttributesB(), buildLaneChangeModelAttributes(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignAuxiliarVerticalFrame, and GUIDesignGroupBoxFrame.
| void GNEVehicleTypeDialog::VTypeAttributes::buildAttributesA | ( | FXVerticalFrame * | column | ) |
build common attributes (A)
Definition at line 892 of file GNEVehicleTypeDialog.cpp.
References PollutantsInterface::getAllClassesStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabelThickedFixed, GUIDesignTextFieldFixed, GUIDesignTextFieldNCol, SUMOXMLDefinitions::LaneChangeModels, MID_GNE_SET_ATTRIBUTE, SUMO_ATTR_COLOR, SUMO_ATTR_DESIRED_MAXSPEED, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MINGAP, SUMO_ATTR_OSGFILE, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_WIDTH, and toString().
Referenced by VTypeAttributes().
| void GNEVehicleTypeDialog::VTypeAttributes::buildAttributesB | ( | FXVerticalFrame * | column | ) |
build common attributes (B)
Definition at line 940 of file GNEVehicleTypeDialog.cpp.
References SUMOVTypeParameter::getLatAlignmentStrings(), GNE_ATTR_PARAMETERS, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_PERSON_CAPACITY, and SUMO_ATTR_PROB.
Referenced by VTypeAttributes().
| void GNEVehicleTypeDialog::VTypeAttributes::buildJunctionModelAttributesA | ( | FXVerticalFrame * | column | ) |
build JunctionModel attributes (A)
Definition at line 987 of file GNEVehicleTypeDialog.cpp.
References SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, and SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME.
Referenced by VTypeAttributes().
| void GNEVehicleTypeDialog::VTypeAttributes::buildJunctionModelAttributesB | ( | FXVerticalFrame * | column | ) |
build JunctionModel attributes (B)
Definition at line 1006 of file GNEVehicleTypeDialog.cpp.
References SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_SIGMA_MINOR, and SUMO_ATTR_JM_TIMEGAP_MINOR.
Referenced by VTypeAttributes().
| void GNEVehicleTypeDialog::VTypeAttributes::buildLaneChangeModelAttributes | ( | FXVerticalFrame * | column | ) |
build LaneChangeModel attributes
Definition at line 1025 of file GNEVehicleTypeDialog.cpp.
References SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_ACCEPTANCE_TIME, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_DELTASPEED_FACTOR, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, and SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE.
Referenced by VTypeAttributes().
| long GNEVehicleTypeDialog::VTypeAttributes::onCmdOpenAttributeDialog | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
@event called after press a button dialog
Definition at line 1261 of file GNEVehicleTypeDialog.cpp.
Referenced by FXDEFMAP().
| long GNEVehicleTypeDialog::VTypeAttributes::onCmdOpenParametersEditor | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
@event called after press a button dialog
Definition at line 1275 of file GNEVehicleTypeDialog.cpp.
References GNEDialog::ACCEPT, and GNE_ATTR_PARAMETERS.
Referenced by FXDEFMAP().
| long GNEVehicleTypeDialog::VTypeAttributes::onCmdSetAttribute | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1165 of file GNEVehicleTypeDialog.cpp.
References SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::desiredMaxSpeed, SUMOVTypeParameter::VClassDefaultValues::emissionClass, Distribution_Parameterized::getParameter(), GUIDesignTextColorBlack, GUIDesignTextColorRed, SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::VClassDefaultValues::latAlignmentProcedure, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::VClassDefaultValues::minGap, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMO_ATTR_ID, SUMO_ATTR_NOTHING, toString(), and SUMOVTypeParameter::VClassDefaultValues::width.
Referenced by FXDEFMAP().
| void GNEVehicleTypeDialog::VTypeAttributes::updateValues | ( | ) |
update values
Definition at line 1092 of file GNEVehicleTypeDialog.cpp.
References SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::desiredMaxSpeed, SUMOVTypeParameter::VClassDefaultValues::emissionClass, Distribution_Parameterized::getParameter(), SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::VClassDefaultValues::latAlignmentProcedure, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::VClassDefaultValues::minGap, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMO_ATTR_ID, toString(), and SUMOVTypeParameter::VClassDefaultValues::width.
Referenced by GNEVehicleTypeDialog::GNEVehicleTypeDialog(), and GNEVehicleTypeDialog::onCmdReset().
|
protected |
VTypeAttributeRow for ActionStepLength.
Definition at line 298 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for BoardingDuration.
Definition at line 283 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for color.
Definition at line 228 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for ContainerCapacity.
Definition at line 280 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for desired max speed.
Definition at line 240 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for EmissionClass.
Definition at line 246 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for Filename.
Definition at line 258 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Height.
Definition at line 255 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for Crossing Gap.
Definition at line 312 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Drive After Red Time.
Definition at line 321 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Drive After Yellow Time.
Definition at line 318 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Drive Red Speed.
Definition at line 324 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Ignore FOE Probability.
Definition at line 327 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Ignore FOE Speed.
Definition at line 330 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Ignore Keep Clear Time.
Definition at line 315 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Impatience.
Definition at line 339 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Sigma Minor.
Definition at line 333 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Time GAP Minor.
Definition at line 336 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for LaneChangeModel.
Definition at line 274 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for LatAlignment.
Definition at line 289 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for accel lat.
Definition at line 381 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for assertive.
Definition at line 372 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for cooperative param.
Definition at line 351 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for impatience.
Definition at line 375 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for keep right acceptance time.
Definition at line 402 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for keep right param.
Definition at line 357 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for look ahead left.
Definition at line 384 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for max speed lat factor.
Definition at line 393 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for max speed lat standing.
Definition at line 390 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for opposite param.
Definition at line 363 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for overtake deltaspeed factor.
Definition at line 405 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for overtake right.
Definition at line 399 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for pushy.
Definition at line 366 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for pushy gap.
Definition at line 369 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for speed gain param.
Definition at line 354 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for speed gain right.
Definition at line 387 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for strategic param.
Definition at line 348 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for sublane param.
Definition at line 360 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for time to impatience.
Definition at line 378 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for turn alignment distance.
Definition at line 396 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Length.
Definition at line 231 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for LoadingDuration.
Definition at line 286 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for MaxSpeed.
Definition at line 237 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for MaxSpeedLat.
Definition at line 295 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for MinGap.
Definition at line 234 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for MinGapLat.
Definition at line 292 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for OSG.
Definition at line 261 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for parameters.
Definition at line 304 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::getParametersVectorStr(), GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::setParameters(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::updateValue().
|
protected |
VTypeAttributeRow for PersonCapacity.
Definition at line 277 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for Probability.
Definition at line 301 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for SpeedFactor.
Definition at line 243 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().
|
protected |
FXTextfield for vehicleTypeID.
Definition at line 219 of file GNEVehicleTypeDialog.h.
|
protected |
vehicle class row
Definition at line 225 of file GNEVehicleTypeDialog.h.
|
private |
VTypeAttributeRow for experimental.
pointer to Vehicle Type dialog parent
Definition at line 414 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable(), GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::VShapeRow(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().
|
protected |
vehicle shape row
Definition at line 249 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Width.
Definition at line 252 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable().