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

#include <GNEPersonTypeFrame.h>

Inheritance diagram for GNEPersonTypeFrame::PersonTypeEditor:
Collaboration diagram for GNEPersonTypeFrame::PersonTypeEditor:

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...
 

Protected Member Functions

 PersonTypeEditor ()
 FOX needs this. More...
 

Private Attributes

FXButton * myCopyPersonTypeButton
 "copy person type" More...
 
FXButton * myCreatePersonTypeButton
 "create person type" button More...
 
FXButton * myDeletePersonTypeButton
 "delete person type" button More...
 
GNEPersonTypeFramemyPersonTypeFrameParent
 pointer to person type Frame Parent More...
 
FXButton * myResetDefaultPersonTypeButton
 "delete default person type" button More...
 

Detailed Description

Definition at line 91 of file GNEPersonTypeFrame.h.

Constructor & Destructor Documentation

◆ PersonTypeEditor() [1/2]

GNEPersonTypeFrame::PersonTypeEditor::PersonTypeEditor ( GNEPersonTypeFrame personTypeFrameParent)

◆ ~PersonTypeEditor()

GNEPersonTypeFrame::PersonTypeEditor::~PersonTypeEditor ( )

destructor

Definition at line 187 of file GNEPersonTypeFrame.cpp.

◆ PersonTypeEditor() [2/2]

GNEPersonTypeFrame::PersonTypeEditor::PersonTypeEditor ( )
inlineprotected

FOX needs this.

Definition at line 128 of file GNEPersonTypeFrame.h.

Member Function Documentation

◆ hidePersonTypeEditorModul()

void GNEPersonTypeFrame::PersonTypeEditor::hidePersonTypeEditorModul ( )

hide PersonTypeEditor box

Definition at line 198 of file GNEPersonTypeFrame.cpp.

References GNEFrame::hide().

◆ onCmdCopyPersonType()

long GNEPersonTypeFrame::PersonTypeEditor::onCmdCopyPersonType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Copy Vehicle Type" button is clicked.

Definition at line 322 of file GNEPersonTypeFrame.cpp.

References SUMO_TAG_PTYPE.

◆ onCmdCreatePersonType()

long GNEPersonTypeFrame::PersonTypeEditor::onCmdCreatePersonType ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 237 of file GNEPersonTypeFrame.cpp.

References SUMO_TAG_PTYPE.

◆ onCmdDeletePersonType()

long GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Delete Vehicle Type" button is clicked.

Definition at line 255 of file GNEPersonTypeFrame.cpp.

References SUMO_TAG_PTYPE, toString(), and WRITE_DEBUG.

◆ onCmdResetPersonType()

long GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType ( FXObject *  ,
FXSelector  ,
void *   
)

◆ refreshPersonTypeEditorModul()

void GNEPersonTypeFrame::PersonTypeEditor::refreshPersonTypeEditorModul ( )

update PersonTypeEditor modul

Definition at line 204 of file GNEPersonTypeFrame.cpp.

References GNE_ATTR_DEFAULT_VTYPE, and GNE_ATTR_DEFAULT_VTYPE_MODIFIED.

◆ showPersonTypeEditorModul()

void GNEPersonTypeFrame::PersonTypeEditor::showPersonTypeEditorModul ( )

show PersonTypeEditor modul

Definition at line 191 of file GNEPersonTypeFrame.cpp.

References GNEPersonTypeFrame::show().

Field Documentation

◆ myCopyPersonTypeButton

FXButton* GNEPersonTypeFrame::PersonTypeEditor::myCopyPersonTypeButton
private

"copy person type"

Definition at line 144 of file GNEPersonTypeFrame.h.

Referenced by PersonTypeEditor().

◆ myCreatePersonTypeButton

FXButton* GNEPersonTypeFrame::PersonTypeEditor::myCreatePersonTypeButton
private

"create person type" button

Definition at line 135 of file GNEPersonTypeFrame.h.

Referenced by PersonTypeEditor().

◆ myDeletePersonTypeButton

FXButton* GNEPersonTypeFrame::PersonTypeEditor::myDeletePersonTypeButton
private

"delete person type" button

Definition at line 138 of file GNEPersonTypeFrame.h.

Referenced by PersonTypeEditor().

◆ myPersonTypeFrameParent

GNEPersonTypeFrame* GNEPersonTypeFrame::PersonTypeEditor::myPersonTypeFrameParent
private

pointer to person type Frame Parent

Definition at line 128 of file GNEPersonTypeFrame.h.

◆ myResetDefaultPersonTypeButton

FXButton* GNEPersonTypeFrame::PersonTypeEditor::myResetDefaultPersonTypeButton
private

"delete default person type" button

Definition at line 141 of file GNEPersonTypeFrame.h.

Referenced by PersonTypeEditor().


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