Eclipse SUMO - Simulation of Urban MObility
GNEPersonTypeFrame::PersonTypeSelector Class Reference

#include <GNEPersonTypeFrame.h>

Inheritance diagram for GNEPersonTypeFrame::PersonTypeSelector:
Collaboration diagram for GNEPersonTypeFrame::PersonTypeSelector:

Public Member Functions

GNEDemandElementgetCurrentPersonType () const
 get current Vehicle Type More...
 
 PersonTypeSelector (GNEPersonTypeFrame *personTypeFrameParent)
 FOX-declaration. More...
 
void refreshPersonTypeSelector ()
 refresh person type More...
 
void setCurrentPersonType (GNEDemandElement *vType)
 set current Vehicle Type More...
 
 ~PersonTypeSelector ()
 destructor More...
 
FOX-callbacks

Called when the user select another element in ComboBox

long onCmdSelectItem (FXObject *, FXSelector, void *)
 

Protected Member Functions

 PersonTypeSelector ()
 FOX needs this. More...
 

Private Attributes

GNEDemandElementmyCurrentPersonType
 pointer to current person type More...
 
GNEPersonTypeFramemyPersonTypeFrameParent
 pointer to Frame Parent More...
 
FXComboBox * myTypeMatchBox
 comboBox with the list of elements type More...
 

Detailed Description

Definition at line 46 of file GNEPersonTypeFrame.h.

Constructor & Destructor Documentation

◆ PersonTypeSelector() [1/2]

GNEPersonTypeFrame::PersonTypeSelector::PersonTypeSelector ( GNEPersonTypeFrame personTypeFrameParent)

FOX-declaration.

constructor

Definition at line 61 of file GNEPersonTypeFrame.cpp.

References DEFAULT_PEDTYPE_ID, GUIDesignComboBox, GUIDesignComboBoxNCol, MID_GNE_SET_TYPE, and SUMO_TAG_PTYPE.

◆ ~PersonTypeSelector()

GNEPersonTypeFrame::PersonTypeSelector::~PersonTypeSelector ( )

destructor

Definition at line 84 of file GNEPersonTypeFrame.cpp.

◆ PersonTypeSelector() [2/2]

GNEPersonTypeFrame::PersonTypeSelector::PersonTypeSelector ( )
inlineprotected

FOX needs this.

Definition at line 74 of file GNEPersonTypeFrame.h.

Member Function Documentation

◆ getCurrentPersonType()

◆ onCmdSelectItem()

◆ refreshPersonTypeSelector()

◆ setCurrentPersonType()

void GNEPersonTypeFrame::PersonTypeSelector::setCurrentPersonType ( GNEDemandElement vType)

Field Documentation

◆ myCurrentPersonType

GNEDemandElement* GNEPersonTypeFrame::PersonTypeSelector::myCurrentPersonType
private

pointer to current person type

Definition at line 81 of file GNEPersonTypeFrame.h.

Referenced by getCurrentPersonType(), onCmdSelectItem(), refreshPersonTypeSelector(), and setCurrentPersonType().

◆ myPersonTypeFrameParent

GNEPersonTypeFrame* GNEPersonTypeFrame::PersonTypeSelector::myPersonTypeFrameParent
private

◆ myTypeMatchBox

FXComboBox* GNEPersonTypeFrame::PersonTypeSelector::myTypeMatchBox
private

comboBox with the list of elements type

Definition at line 84 of file GNEPersonTypeFrame.h.

Referenced by onCmdSelectItem(), and refreshPersonTypeSelector().


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