SUMO - Simulation of Urban MObility
GNECalibratorDialog Class Reference

Dialog for edit calibrators. More...

#include <GNECalibratorDialog.h>

Inheritance diagram for GNECalibratorDialog:
Inheritance graph
Collaboration diagram for GNECalibratorDialog:
Collaboration graph

Public Member Functions

void changeAdditionalDialogHeader (const std::string &newHeader)
 change additional dialog header More...
 
GNECalibratorgetCalibratorParent () const
 get calibrator parent More...
 
 GNECalibratorDialog (GNECalibrator *calibratorParent)
 FOX-declaration. More...
 
 ~GNECalibratorDialog ()
 destructor More...
 
FOX-callbacks

event after press accept button

long onCmdAccept (FXObject *, FXSelector, void *)
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button More...
 
long onCmdReset (FXObject *, FXSelector, void *)
 event after press reset button More...
 
long onCmdAddRoute (FXObject *, FXSelector, void *)
 add new route More...
 
long onCmdClickedRoute (FXObject *, FXSelector, void *)
 remove or edit route More...
 
long onCmdAddFlow (FXObject *, FXSelector, void *)
 add new flow More...
 
long onCmdClickedFlow (FXObject *, FXSelector, void *)
 remove or edit flow More...
 
long onCmdAddVehicleType (FXObject *, FXSelector, void *)
 add new vehicle type More...
 
long onCmdClickedVehicleType (FXObject *, FXSelector, void *)
 remove or edit vehicle type More...
 

Protected Member Functions

 GNECalibratorDialog ()
 FOX needs this. More...
 
void updateFlowAndLabelButton ()
 update flow and label button More...
 
void updateFlowTable ()
 update data table with flows More...
 
void updateRouteTable ()
 update data table with routes More...
 
void updateVehicleTypeTable ()
 update data table with vehicle types More...
 

Protected Attributes

FXButton * myAcceptButton
 accept button More...
 
FXButton * myAddFlow
 button for add new flow More...
 
FXButton * myAddRoute
 button for add new route More...
 
FXButton * myAddVehicleType
 button for add new vehicle type More...
 
GNECalibratormyCalibratorParent
 pointer to calibrator parent More...
 
FXButton * myCancelButton
 cancel button More...
 
FXVerticalFrame * myContentFrame
 frame for contents More...
 
std::vector< GNECalibratorFlowmyCopyOfCalibratorFlows
 vector with a copy of calibrator flows (used by reset) More...
 
std::vector< GNECalibratorRoutemyCopyOfCalibratorRoutes
 vector with a copy of calibrator routes (used by reset) More...
 
std::vector< GNECalibratorVehicleTypemyCopyOfCalibratorVehicleTypes
 vector with a copy of calibrator vehicle types (used by reset) More...
 
FXTable * myFlowList
 list with flows More...
 
FXLabel * myLabelFlow
 label for flows More...
 
FXButton * myResetButton
 cancel button More...
 
FXTable * myRouteList
 list with routes More...
 
FXTable * myVehicleTypeList
 list with vehicle types More...
 

Private Member Functions

 GNECalibratorDialog (const GNECalibratorDialog &)
 Invalidated copy constructor. More...
 
GNECalibratorDialogoperator= (const GNECalibratorDialog &)
 Invalidated assignment operator. More...
 

Detailed Description

Dialog for edit calibrators.

Definition at line 53 of file GNECalibratorDialog.h.

Constructor & Destructor Documentation

◆ GNECalibratorDialog() [1/3]

◆ ~GNECalibratorDialog()

GNECalibratorDialog::~GNECalibratorDialog ( )

destructor

Definition at line 124 of file GNECalibratorDialog.cpp.

◆ GNECalibratorDialog() [2/3]

GNECalibratorDialog::GNECalibratorDialog ( )
inlineprotected

FOX needs this.

Definition at line 99 of file GNECalibratorDialog.h.

◆ GNECalibratorDialog() [3/3]

GNECalibratorDialog::GNECalibratorDialog ( const GNECalibratorDialog )
private

Invalidated copy constructor.

Member Function Documentation

◆ changeAdditionalDialogHeader()

void GNEAdditionalDialog::changeAdditionalDialogHeader ( const std::string &  newHeader)
inherited

change additional dialog header

Definition at line 81 of file GNEAdditionalDialog.cpp.

◆ getCalibratorParent()

GNECalibrator * GNECalibratorDialog::getCalibratorParent ( ) const

◆ onCmdAccept()

long GNECalibratorDialog::onCmdAccept ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

Implements GNEAdditionalDialog.

Definition at line 135 of file GNECalibratorDialog.cpp.

◆ onCmdAddFlow()

long GNECalibratorDialog::onCmdAddFlow ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdAddRoute()

long GNECalibratorDialog::onCmdAddRoute ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdAddVehicleType()

long GNECalibratorDialog::onCmdAddVehicleType ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdCancel()

long GNECalibratorDialog::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

◆ onCmdClickedFlow()

long GNECalibratorDialog::onCmdClickedFlow ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdClickedRoute()

◆ onCmdClickedVehicleType()

◆ onCmdReset()

◆ operator=()

GNECalibratorDialog& GNECalibratorDialog::operator= ( const GNECalibratorDialog )
private

Invalidated assignment operator.

◆ updateFlowAndLabelButton()

void GNECalibratorDialog::updateFlowAndLabelButton ( )
protected

◆ updateFlowTable()

◆ updateRouteTable()

void GNECalibratorDialog::updateRouteTable ( )
protected

◆ updateVehicleTypeTable()

Field Documentation

◆ myAcceptButton

FXButton* GNEAdditionalDialog::myAcceptButton
protectedinherited

accept button

Definition at line 85 of file GNEAdditionalDialog.h.

◆ myAddFlow

FXButton* GNECalibratorDialog::myAddFlow
protected

button for add new flow

Definition at line 114 of file GNECalibratorDialog.h.

Referenced by updateFlowAndLabelButton().

◆ myAddRoute

FXButton* GNECalibratorDialog::myAddRoute
protected

button for add new route

Definition at line 105 of file GNECalibratorDialog.h.

◆ myAddVehicleType

FXButton* GNECalibratorDialog::myAddVehicleType
protected

button for add new vehicle type

Definition at line 120 of file GNECalibratorDialog.h.

◆ myCalibratorParent

◆ myCancelButton

FXButton* GNEAdditionalDialog::myCancelButton
protectedinherited

cancel button

Definition at line 88 of file GNEAdditionalDialog.h.

◆ myContentFrame

FXVerticalFrame* GNEAdditionalDialog::myContentFrame
protectedinherited

frame for contents

Definition at line 82 of file GNEAdditionalDialog.h.

◆ myCopyOfCalibratorFlows

std::vector<GNECalibratorFlow> GNECalibratorDialog::myCopyOfCalibratorFlows
protected

vector with a copy of calibrator flows (used by reset)

Definition at line 129 of file GNECalibratorDialog.h.

Referenced by onCmdCancel(), and onCmdReset().

◆ myCopyOfCalibratorRoutes

std::vector<GNECalibratorRoute> GNECalibratorDialog::myCopyOfCalibratorRoutes
protected

vector with a copy of calibrator routes (used by reset)

Definition at line 126 of file GNECalibratorDialog.h.

Referenced by onCmdCancel(), and onCmdReset().

◆ myCopyOfCalibratorVehicleTypes

std::vector<GNECalibratorVehicleType> GNECalibratorDialog::myCopyOfCalibratorVehicleTypes
protected

vector with a copy of calibrator vehicle types (used by reset)

Definition at line 132 of file GNECalibratorDialog.h.

Referenced by onCmdCancel(), and onCmdReset().

◆ myFlowList

FXTable* GNECalibratorDialog::myFlowList
protected

list with flows

Definition at line 117 of file GNECalibratorDialog.h.

Referenced by onCmdClickedFlow(), updateFlowAndLabelButton(), and updateFlowTable().

◆ myLabelFlow

FXLabel* GNECalibratorDialog::myLabelFlow
protected

label for flows

Definition at line 111 of file GNECalibratorDialog.h.

Referenced by updateFlowAndLabelButton().

◆ myResetButton

FXButton* GNEAdditionalDialog::myResetButton
protectedinherited

cancel button

Definition at line 91 of file GNEAdditionalDialog.h.

◆ myRouteList

FXTable* GNECalibratorDialog::myRouteList
protected

list with routes

Definition at line 108 of file GNECalibratorDialog.h.

Referenced by onCmdClickedRoute(), onCmdClickedVehicleType(), and updateRouteTable().

◆ myVehicleTypeList

FXTable* GNECalibratorDialog::myVehicleTypeList
protected

list with vehicle types

Definition at line 123 of file GNECalibratorDialog.h.

Referenced by onCmdClickedVehicleType(), and updateVehicleTypeTable().


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