Eclipse SUMO - Simulation of Urban MObility
GNEVehicleTypeFrame::VehicleTypeEditor Class Reference

#include <GNEVehicleTypeFrame.h>

Inheritance diagram for GNEVehicleTypeFrame::VehicleTypeEditor:
[legend]
Collaboration diagram for GNEVehicleTypeFrame::VehicleTypeEditor:
[legend]

Public Member Functions

void hideVehicleTypeEditorModul ()
 hide VehicleTypeEditor box More...
 
void refreshVehicleTypeEditorModul ()
 update VehicleTypeEditor modul More...
 
void showVehicleTypeEditorModul ()
 show VehicleTypeEditor modul More...
 
 VehicleTypeEditor (GNEVehicleTypeFrame *vehicleTypeFrameParent)
 FOX-declaration. More...
 
 ~VehicleTypeEditor ()
 destructor More...
 
FOX-callbacks

Called when "Vreate Vehicle Type" button is clicked

long onCmdCreateVehicleType (FXObject *, FXSelector, void *)
 
long onCmdDeleteVehicleType (FXObject *, FXSelector, void *)
 Called when "Delete Vehicle Type" button is clicked. More...
 
long onCmdResetVehicleType (FXObject *, FXSelector, void *)
 Called when "Delete Vehicle Type" button is clicked. More...
 
long onCmdCopyVehicleType (FXObject *, FXSelector, void *)
 Called when "Copy Vehicle Type" button is clicked. More...
 

Private Attributes

FXButton * myCopyVehicleTypeButton
 "copy vehicle type" More...
 
FXButton * myCreateVehicleTypeButton
 "create vehicle type" button More...
 
FXButton * myDeleteVehicleTypeButton
 "delete vehicle type" button More...
 
FXButton * myResetDefaultVehicleTypeButton
 "delete default vehicle type" button More...
 
GNEVehicleTypeFramemyVehicleTypeFrameParent
 pointer to vehicle type Frame Parent More...
 

Detailed Description

Definition at line 91 of file GNEVehicleTypeFrame.h.

Constructor & Destructor Documentation

◆ VehicleTypeEditor()

GNEVehicleTypeFrame::VehicleTypeEditor::VehicleTypeEditor ( GNEVehicleTypeFrame vehicleTypeFrameParent)

◆ ~VehicleTypeEditor()

GNEVehicleTypeFrame::VehicleTypeEditor::~VehicleTypeEditor ( )

destructor

Definition at line 210 of file GNEVehicleTypeFrame.cpp.

Member Function Documentation

◆ hideVehicleTypeEditorModul()

void GNEVehicleTypeFrame::VehicleTypeEditor::hideVehicleTypeEditorModul ( )

hide VehicleTypeEditor box

Definition at line 221 of file GNEVehicleTypeFrame.cpp.

References GNEFrame::hide().

◆ onCmdCopyVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCopyVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Copy Vehicle Type" button is clicked.

Definition at line 347 of file GNEVehicleTypeFrame.cpp.

References SUMO_TAG_VTYPE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCreateVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdCreateVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 260 of file GNEVehicleTypeFrame.cpp.

References SUMO_TAG_VTYPE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDeleteVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Delete Vehicle Type" button is clicked.

Definition at line 278 of file GNEVehicleTypeFrame.cpp.

References SUMO_TAG_VTYPE, toString(), and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetVehicleType()

long GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

Called when "Delete Vehicle Type" button is clicked.

Definition at line 320 of file GNEVehicleTypeFrame.cpp.

References DEFAULT_BIKETYPE_ID, DEFAULT_VTYPE_ID, GNEAttributeCarrier::getTagProperties(), GNE_ATTR_DEFAULT_VTYPE_MODIFIED, SUMO_ATTR_ID, SUMO_ATTR_VCLASS, SUMO_TAG_VTYPE, SVC_BICYCLE, SVC_PASSENGER, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ refreshVehicleTypeEditorModul()

void GNEVehicleTypeFrame::VehicleTypeEditor::refreshVehicleTypeEditorModul ( )

update VehicleTypeEditor modul

Definition at line 227 of file GNEVehicleTypeFrame.cpp.

References GNE_ATTR_DEFAULT_VTYPE, and GNE_ATTR_DEFAULT_VTYPE_MODIFIED.

◆ showVehicleTypeEditorModul()

void GNEVehicleTypeFrame::VehicleTypeEditor::showVehicleTypeEditorModul ( )

show VehicleTypeEditor modul

Definition at line 214 of file GNEVehicleTypeFrame.cpp.

References GNEVehicleTypeFrame::show().

Field Documentation

◆ myCopyVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myCopyVehicleTypeButton
private

"copy vehicle type"

Definition at line 143 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myCreateVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myCreateVehicleTypeButton
private

"create vehicle type" button

Definition at line 134 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myDeleteVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myDeleteVehicleTypeButton
private

"delete vehicle type" button

Definition at line 137 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myResetDefaultVehicleTypeButton

FXButton* GNEVehicleTypeFrame::VehicleTypeEditor::myResetDefaultVehicleTypeButton
private

"delete default vehicle type" button

Definition at line 140 of file GNEVehicleTypeFrame.h.

Referenced by VehicleTypeEditor().

◆ myVehicleTypeFrameParent

GNEVehicleTypeFrame* GNEVehicleTypeFrame::VehicleTypeEditor::myVehicleTypeFrameParent
private

pointer to vehicle type Frame Parent

Definition at line 131 of file GNEVehicleTypeFrame.h.


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