Eclipse SUMO - Simulation of Urban MObility
GNEVehicleTypeDialog::VTypeAttributes::VClassRow Class Reference

FOX-declaration. More...

#include <GNEVehicleTypeDialog.h>

Inheritance diagram for GNEVehicleTypeDialog::VTypeAttributes::VClassRow:
[legend]
Collaboration diagram for GNEVehicleTypeDialog::VTypeAttributes::VClassRow:
[legend]

Public Member Functions

SUMOVehicleClass setVariable ()
 set vehicle class More...
 
SUMOVehicleClass updateValue ()
 update values More...
 
 VClassRow (VTypeAttributes *VTypeAttributesParent, FXVerticalFrame *column)
 constructor More...
 

Private Member Functions

void setVClassLabelImage ()
 set VClass texture More...
 

Private Attributes

MFXComboBoxIconmyComboBoxVClass
 MFXComboBoxIcon for VClass. More...
 
FXLabel * myComboBoxVClassLabelImage
 label with image of VClass More...
 
VTypeAttributesmyVTypeAttributesParent
 pointer to VTypeAttributes parent More...
 

Detailed Description

FOX-declaration.

class for VClasses

Definition at line 56 of file GNEVehicleTypeDialog.h.

Constructor & Destructor Documentation

◆ VClassRow()

GNEVehicleTypeDialog::VTypeAttributes::VClassRow::VClassRow ( VTypeAttributes VTypeAttributesParent,
FXVerticalFrame *  column 
)

Member Function Documentation

◆ setVariable()

SUMOVehicleClass GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable ( )

set vehicle class

Definition at line 81 of file GNEVehicleTypeDialog.cpp.

References SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::desiredMaxSpeed, SUMOVTypeParameter::VClassDefaultValues::emissionClass, GNEDemandElement::getAttribute(), GNEAttributeCarrier::getNet(), Distribution_Parameterized::getParameter(), MFXComboBoxIcon::getText(), GNEViewNet::getUndoList(), GNEDemandElement::getVClass(), GNENet::getViewNet(), SUMOVTypeParameter::VClassDefaultValues::height, GNEAttributeCarrier::isAttributeEnabled(), GNEDemandElement::isValid(), SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::VClassDefaultValues::locomotiveLength, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::VClassDefaultValues::minGap, GNEVehicleTypeDialog::VTypeAttributes::myCarriageLength, myComboBoxVClass, GNEVehicleTypeDialog::VTypeAttributes::myContainerCapacity, GNEVehicleTypeDialog::VTypeAttributes::myDesiredMaxSpeed, GNEDemandElementDialog::myEditedDemandElement, GNEVehicleTypeDialog::VTypeAttributes::myEmissionClass, GNEVehicleTypeDialog::VTypeAttributes::myHeight, GNEVehicleTypeDialog::myInvalidAttr, GNEVehicleTypeDialog::VTypeAttributes::myLength, GNEVehicleTypeDialog::VTypeAttributes::myLocomotiveLength, GNEVehicleTypeDialog::VTypeAttributes::myMaxSpeed, GNEVehicleTypeDialog::VTypeAttributes::myMinGap, GNEVehicleTypeDialog::VTypeAttributes::myOSGFile, GNEVehicleTypeDialog::VTypeAttributes::myPersonCapacity, GNEVehicleTypeDialog::VTypeAttributes::mySpeedFactor, GNEVehicleTypeDialog::VTypeAttributes::myVehicleTypeDialog, GNEVehicleTypeDialog::myVehicleTypeValid, GNEVehicleTypeDialog::VTypeAttributes::myVShapeRow, myVTypeAttributesParent, GNEVehicleTypeDialog::VTypeAttributes::myWidth, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, GNEDemandElement::setAttribute(), MFXComboBoxIcon::setTextColor(), setVClassLabelImage(), SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DESIRED_MAXSPEED, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_HEIGHT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOCOMOTIVE_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MINGAP, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SumoVehicleClassStrings, SVC_PASSENGER, toString(), GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::updateValue(), GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::updateValue(), and SUMOVTypeParameter::VClassDefaultValues::width.

◆ setVClassLabelImage()

◆ updateValue()

SUMOVehicleClass GNEVehicleTypeDialog::VTypeAttributes::VClassRow::updateValue ( )

update values

Definition at line 152 of file GNEVehicleTypeDialog.cpp.

References SUMO_ATTR_VCLASS.

Field Documentation

◆ myComboBoxVClass

MFXComboBoxIcon* GNEVehicleTypeDialog::VTypeAttributes::VClassRow::myComboBoxVClass
private

MFXComboBoxIcon for VClass.

Definition at line 73 of file GNEVehicleTypeDialog.h.

Referenced by setVariable().

◆ myComboBoxVClassLabelImage

FXLabel* GNEVehicleTypeDialog::VTypeAttributes::VClassRow::myComboBoxVClassLabelImage
private

label with image of VClass

Definition at line 76 of file GNEVehicleTypeDialog.h.

◆ myVTypeAttributesParent

VTypeAttributes* GNEVehicleTypeDialog::VTypeAttributes::VClassRow::myVTypeAttributesParent
private

pointer to VTypeAttributes parent

Definition at line 70 of file GNEVehicleTypeDialog.h.

Referenced by setVariable().


The documentation for this class was generated from the following files: