![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEPersonTypeFrame.h>
Public Member Functions | |
| void | hidePersonTypeEditorModul () |
| hide PersonTypeEditor box More... | |
| PersonTypeEditor (GNEPersonTypeFrame *personTypeFrameParent) | |
| FOX-declaration. More... | |
| void | refreshPersonTypeEditorModul () |
| update PersonTypeEditor modul More... | |
| void | showPersonTypeEditorModul () |
| show PersonTypeEditor modul More... | |
| ~PersonTypeEditor () | |
| destructor More... | |
FOX-callbacks | |
Called when "Vreate Vehicle Type" button is clicked | |
| long | onCmdCreatePersonType (FXObject *, FXSelector, void *) |
| long | onCmdDeletePersonType (FXObject *, FXSelector, void *) |
| Called when "Delete Vehicle Type" button is clicked. More... | |
| long | onCmdResetPersonType (FXObject *, FXSelector, void *) |
| Called when "Delete Vehicle Type" button is clicked. More... | |
| long | onCmdCopyPersonType (FXObject *, FXSelector, void *) |
| Called when "Copy Vehicle Type" button is clicked. More... | |
Private Attributes | |
| FXButton * | myCopyPersonTypeButton |
| "copy person type" More... | |
| FXButton * | myCreatePersonTypeButton |
| "create person type" button More... | |
| FXButton * | myDeletePersonTypeButton |
| "delete person type" button More... | |
| GNEPersonTypeFrame * | myPersonTypeFrameParent |
| pointer to person type Frame Parent More... | |
| FXButton * | myResetDefaultPersonTypeButton |
| "delete default person type" button More... | |
Definition at line 89 of file GNEPersonTypeFrame.h.
| GNEPersonTypeFrame::PersonTypeEditor::PersonTypeEditor | ( | GNEPersonTypeFrame * | personTypeFrameParent | ) |
FOX-declaration.
constructor
Definition at line 172 of file GNEPersonTypeFrame.cpp.
References GUIDesignButton, MID_GNE_COPY, MID_GNE_CREATE, MID_GNE_DELETE, MID_GNE_RESET, myCopyPersonTypeButton, myCreatePersonTypeButton, myDeletePersonTypeButton, and myResetDefaultPersonTypeButton.
| GNEPersonTypeFrame::PersonTypeEditor::~PersonTypeEditor | ( | ) |
destructor
Definition at line 186 of file GNEPersonTypeFrame.cpp.
| void GNEPersonTypeFrame::PersonTypeEditor::hidePersonTypeEditorModul | ( | ) |
hide PersonTypeEditor box
Definition at line 197 of file GNEPersonTypeFrame.cpp.
References GNEFrame::hide().
| long GNEPersonTypeFrame::PersonTypeEditor::onCmdCopyPersonType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when "Copy Vehicle Type" button is clicked.
Definition at line 321 of file GNEPersonTypeFrame.cpp.
References SUMO_TAG_PTYPE.
| long GNEPersonTypeFrame::PersonTypeEditor::onCmdCreatePersonType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 236 of file GNEPersonTypeFrame.cpp.
References SUMO_TAG_PTYPE.
| long GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when "Delete Vehicle Type" button is clicked.
Definition at line 254 of file GNEPersonTypeFrame.cpp.
References SUMO_TAG_PTYPE, toString(), and WRITE_DEBUG.
| long GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when "Delete Vehicle Type" button is clicked.
Definition at line 296 of file GNEPersonTypeFrame.cpp.
References DEFAULT_PEDTYPE_ID, GNEAttributeCarrier::getTagProperties(), GNE_ATTR_DEFAULT_VTYPE_MODIFIED, SUMO_ATTR_ID, SUMO_ATTR_VCLASS, SUMO_TAG_PTYPE, SVC_PEDESTRIAN, and toString().
| void GNEPersonTypeFrame::PersonTypeEditor::refreshPersonTypeEditorModul | ( | ) |
update PersonTypeEditor modul
Definition at line 203 of file GNEPersonTypeFrame.cpp.
References GNE_ATTR_DEFAULT_VTYPE, and GNE_ATTR_DEFAULT_VTYPE_MODIFIED.
| void GNEPersonTypeFrame::PersonTypeEditor::showPersonTypeEditorModul | ( | ) |
show PersonTypeEditor modul
Definition at line 190 of file GNEPersonTypeFrame.cpp.
References GNEPersonTypeFrame::show().
|
private |
"copy person type"
Definition at line 141 of file GNEPersonTypeFrame.h.
Referenced by PersonTypeEditor().
|
private |
"create person type" button
Definition at line 132 of file GNEPersonTypeFrame.h.
Referenced by PersonTypeEditor().
|
private |
"delete person type" button
Definition at line 135 of file GNEPersonTypeFrame.h.
Referenced by PersonTypeEditor().
|
private |
pointer to person type Frame Parent
Definition at line 129 of file GNEPersonTypeFrame.h.
|
private |
"delete default person type" button
Definition at line 138 of file GNEPersonTypeFrame.h.
Referenced by PersonTypeEditor().