![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEPersonTypeFrame.h>
Public Member Functions | |
| GNEDemandElement * | getCurrentPersonType () 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 *) |
Private Attributes | |
| GNEDemandElement * | myCurrentPersonType |
| pointer to current person type More... | |
| GNEPersonTypeFrame * | myPersonTypeFrameParent |
| pointer to Frame Parent More... | |
| FXComboBox * | myTypeMatchBox |
| comboBox with the list of elements type More... | |
Definition at line 45 of file GNEPersonTypeFrame.h.
| GNEPersonTypeFrame::PersonTypeSelector::PersonTypeSelector | ( | GNEPersonTypeFrame * | personTypeFrameParent | ) |
FOX-declaration.
constructor
Definition at line 60 of file GNEPersonTypeFrame.cpp.
References DEFAULT_PEDTYPE_ID, GUIDesignComboBox, GUIDesignComboBoxNCol, MID_GNE_SET_TYPE, and SUMO_TAG_PTYPE.
| GNEPersonTypeFrame::PersonTypeSelector::~PersonTypeSelector | ( | ) |
destructor
Definition at line 83 of file GNEPersonTypeFrame.cpp.
| GNEDemandElement * GNEPersonTypeFrame::PersonTypeSelector::getCurrentPersonType | ( | ) | const |
get current Vehicle Type
Definition at line 87 of file GNEPersonTypeFrame.cpp.
Referenced by GNEPersonTypeFrame::show().
| long GNEPersonTypeFrame::PersonTypeSelector::onCmdSelectItem | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 139 of file GNEPersonTypeFrame.cpp.
References SUMO_TAG_PTYPE, and WRITE_DEBUG.
| void GNEPersonTypeFrame::PersonTypeSelector::refreshPersonTypeSelector | ( | ) |
refresh person type
Definition at line 100 of file GNEPersonTypeFrame.cpp.
References DEFAULT_VTYPE_ID, and SUMO_TAG_PTYPE.
Referenced by GNEPersonTypeFrame::attributeUpdated(), and GNEPersonTypeFrame::show().
| void GNEPersonTypeFrame::PersonTypeSelector::setCurrentPersonType | ( | GNEDemandElement * | vType | ) |
set current Vehicle Type
Definition at line 93 of file GNEPersonTypeFrame.cpp.
Referenced by GNEPersonTypeFrame::GNEPersonTypeFrame().
|
private |
pointer to current person type
Definition at line 79 of file GNEPersonTypeFrame.h.
|
private |
pointer to Frame Parent
Definition at line 76 of file GNEPersonTypeFrame.h.
|
private |
comboBox with the list of elements type
Definition at line 82 of file GNEPersonTypeFrame.h.