Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 
SUMOVehicleClass updateValue ()
 update values
 
 VClassRow (VTypeAttributes *VTypeAttributesParent, FXVerticalFrame *column)
 constructor
 

Private Member Functions

void setVClassLabelImage ()
 set VClass texture
 

Private Attributes

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

Detailed Description

FOX-declaration.

class for VClasses

Definition at line 49 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 82 of file GNEVehicleTypeDialog.cpp.

References SUMOVTypeParameter::VClassDefaultValues::containerCapacity, SUMOVTypeParameter::VClassDefaultValues::desiredMaxSpeed, SUMOVTypeParameter::VClassDefaultValues::emissionClass, GNEAttributeCarrier::getAttribute(), GNEAttributeCarrier::getNet(), Distribution_Parameterized::getParameter(), MFXComboBoxIcon::getText(), GNEViewNet::getUndoList(), GNEDemandElement::getVClass(), GNENet::getViewNet(), GUIDesignTextColorBlack, GUIDesignTextColorRed, SUMOVTypeParameter::VClassDefaultValues::height, GNEAttributeCarrier::isAttributeEnabled(), GNEAttributeCarrier::isValid(), SUMOVTypeParameter::VClassDefaultValues::length, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, SUMOVTypeParameter::VClassDefaultValues::minGap, myComboBoxVClass, GNEVehicleTypeDialog::VTypeAttributes::myContainerCapacity, GNEVehicleTypeDialog::VTypeAttributes::myDesiredMaxSpeed, GNETemplateElementDialog< T >::myElement, GNEVehicleTypeDialog::VTypeAttributes::myEmissionClass, GNEVehicleTypeDialog::VTypeAttributes::myHeight, GNEVehicleTypeDialog::myInvalidAttr, GNEVehicleTypeDialog::VTypeAttributes::myLength, GNEVehicleTypeDialog::VTypeAttributes::myMaxSpeed, GNEVehicleTypeDialog::VTypeAttributes::myMinGap, GNEVehicleTypeDialog::VTypeAttributes::myOSGFile, GNEVehicleTypeDialog::VTypeAttributes::myPersonCapacity, GNEVehicleTypeDialog::VTypeAttributes::mySpeedFactor, GNEVehicleTypeDialog::VTypeAttributes::myVehicleTypeDialog, GNEVehicleTypeDialog::myVehicleTypeValid, myVTypeAttributesParent, GNEVehicleTypeDialog::VTypeAttributes::myWidth, SUMOVTypeParameter::VClassDefaultValues::osgFile, SUMOVTypeParameter::VClassDefaultValues::personCapacity, GNEAttributeCarrier::setAttribute(), MFXComboBoxIcon::setTextColor(), setVClassLabelImage(), SUMOVTypeParameter::VClassDefaultValues::speedFactor, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DESIRED_MAXSPEED, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_HEIGHT, SUMO_ATTR_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MINGAP, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, toString(), GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::updateValue(), and SUMOVTypeParameter::VClassDefaultValues::width.

◆ setVClassLabelImage()

◆ updateValue()

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

update values

Definition at line 154 of file GNEVehicleTypeDialog.cpp.

References SUMO_ATTR_VCLASS.

Field Documentation

◆ myComboBoxVClass

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

MFXComboBoxIcon for VClass.

Definition at line 66 of file GNEVehicleTypeDialog.h.

Referenced by setVariable().

◆ myComboBoxVClassLabelImage

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

label with image of VClass

Definition at line 69 of file GNEVehicleTypeDialog.h.

◆ myVTypeAttributesParent

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

pointer to VTypeAttributes parent

Definition at line 63 of file GNEVehicleTypeDialog.h.

Referenced by setVariable().


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