![]() |
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 commmon attributes (A) More... | |
void | buildAttributesB (FXVerticalFrame *column) |
build commmon attributes (B) More... | |
void | buildJunctionModelAttributesA (FXVerticalFrame *column) |
build JunctionModel attributes (A) More... | |
void | buildJunctionModelAttributesB (FXVerticalFrame *column) |
build JunctionModel attributes (B) More... | |
void | buildLaneChangeModelAttributes (FXVerticalFrame *column) |
build LaneChangeModel attributes More... | |
void | updateValues () |
update values More... | |
VTypeAtributes (GNEVehicleTypeDialog *vehicleTypeDialog, FXHorizontalFrame *column) | |
constructor More... | |
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 More... | |
long | onCmdOpenParametersEditor (FXObject *obj, FXSelector, void *) |
@event called after press a button dialog More... | |
Private Attributes | |
GNEVehicleTypeDialog * | myVehicleTypeDialog |
VTypeAttributeRow for experimental. More... | |
class for VClasses
Definition at line 46 of file GNEVehicleTypeDialog.h.
GNEVehicleTypeDialog::VTypeAtributes::VTypeAtributes | ( | GNEVehicleTypeDialog * | vehicleTypeDialog, |
FXHorizontalFrame * | column | ||
) |
constructor
Definition at line 786 of file GNEVehicleTypeDialog.cpp.
References buildAttributesA(), buildAttributesB(), buildJunctionModelAttributesA(), buildJunctionModelAttributesB(), buildLaneChangeModelAttributes(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignAuxiliarVerticalFrame, and GUIDesignGroupBoxFrame.
void GNEVehicleTypeDialog::VTypeAtributes::buildAttributesA | ( | FXVerticalFrame * | column | ) |
build commmon attributes (A)
Definition at line 816 of file GNEVehicleTypeDialog.cpp.
References PollutantsInterface::getAllClassesStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabelAttribute150, GUIDesignTextFieldNCol, GUIDesignTextFielWidth180, MID_GNE_SET_ATTRIBUTE, SUMO_ATTR_COLOR, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MINGAP, SUMO_ATTR_OSGFILE, SUMO_ATTR_PROB, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_WIDTH, and toString().
Referenced by VTypeAtributes().
void GNEVehicleTypeDialog::VTypeAtributes::buildAttributesB | ( | FXVerticalFrame * | column | ) |
build commmon attributes (B)
Definition at line 864 of file GNEVehicleTypeDialog.cpp.
References GNE_ATTR_PARAMETERS, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LateralAlignments, SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_LOCOMOTIVE_LENGTH, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP_LAT, and SUMO_ATTR_PERSON_CAPACITY.
Referenced by VTypeAtributes().
void GNEVehicleTypeDialog::VTypeAtributes::buildJunctionModelAttributesA | ( | FXVerticalFrame * | column | ) |
build JunctionModel attributes (A)
Definition at line 910 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 VTypeAtributes().
void GNEVehicleTypeDialog::VTypeAtributes::buildJunctionModelAttributesB | ( | FXVerticalFrame * | column | ) |
build JunctionModel attributes (B)
Definition at line 929 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 VTypeAtributes().
void GNEVehicleTypeDialog::VTypeAtributes::buildLaneChangeModelAttributes | ( | FXVerticalFrame * | column | ) |
build LaneChangeModel attributes
Definition at line 948 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_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, 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 VTypeAtributes().
long GNEVehicleTypeDialog::VTypeAtributes::onCmdOpenAttributeDialog | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
@event called after press a button dialog
Definition at line 1169 of file GNEVehicleTypeDialog.cpp.
Referenced by FXDEFMAP().
long GNEVehicleTypeDialog::VTypeAtributes::onCmdOpenParametersEditor | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
@event called after press a button dialog
Definition at line 1183 of file GNEVehicleTypeDialog.cpp.
References GNE_ATTR_PARAMETERS, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNEVehicleTypeDialog::VTypeAtributes::onCmdSetAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1077 of file GNEVehicleTypeDialog.cpp.
References SUMOVTypeParameter::VClassDefaultValues::carriageLength, SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::emissionClass, Distribution_Parameterized::getParameter(), SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, 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::VTypeAtributes::updateValues | ( | ) |
update values
Definition at line 1009 of file GNEVehicleTypeDialog.cpp.
References SUMOVTypeParameter::VClassDefaultValues::carriageLength, SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::emissionClass, Distribution_Parameterized::getParameter(), SUMOVTypeParameter::VClassDefaultValues::height, SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, 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 297 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for BoardingDuration.
Definition at line 282 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for carriage GAP.
Definition at line 270 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for carriage length.
Definition at line 264 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for color.
Definition at line 228 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for ContainerCapacity.
Definition at line 279 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for EmissionClass.
Definition at line 246 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::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::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for Crossing Gap.
Definition at line 311 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Drive After Red Time.
Definition at line 320 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Drive After Yellow Time.
Definition at line 317 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Drive Red Speed.
Definition at line 323 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Ignore FOE Probability.
Definition at line 326 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Ignore FOE Speed.
Definition at line 329 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Ignore Keep Clear Time.
Definition at line 314 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Impatience.
Definition at line 338 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Sigma Minor.
Definition at line 332 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Time GAP Minor.
Definition at line 335 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for LaneChangeModel.
Definition at line 273 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for LatAlignment.
Definition at line 288 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for accel lat.
Definition at line 380 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for assertive.
Definition at line 371 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for cooperative param.
Definition at line 350 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for impatience.
Definition at line 374 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for keep right param.
Definition at line 356 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for loock ahead left.
Definition at line 383 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for max speed lat factor.
Definition at line 392 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for max speed lat standing.
Definition at line 389 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for opposite param.
Definition at line 362 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for overtake right.
Definition at line 398 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for pushy.
Definition at line 365 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for pushy gap.
Definition at line 368 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for speed gain param.
Definition at line 353 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for speed gain right.
Definition at line 386 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for strategic param.
Definition at line 347 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for sublane param.
Definition at line 359 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for time to impatience.
Definition at line 377 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for turn alignment distance.
Definition at line 395 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for Length.
Definition at line 231 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for LoadingDuration.
Definition at line 285 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for locomotive length.
Definition at line 267 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for MaxSpeed.
Definition at line 237 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for MaxSpeedLat.
Definition at line 294 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for MinGap.
Definition at line 234 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for MinGapLat.
Definition at line 291 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for OSG.
Definition at line 261 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for parameters.
Definition at line 303 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::getParametersVectorStr(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::setParameters(), and GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::updateValue().
|
protected |
VTypeAttributeRow for PersonCapacity.
Definition at line 276 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for Probability.
Definition at line 300 of file GNEVehicleTypeDialog.h.
|
protected |
VTypeAttributeRow for SpeedDev.
Definition at line 243 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
protected |
VTypeAttributeRow for SpeedFactor.
Definition at line 240 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::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 407 of file GNEVehicleTypeDialog.h.
Referenced by GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable().
|
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::VTypeAtributes::VClassRow::setVariable().