Eclipse SUMO - Simulation of Urban MObility
GNETAZFrame::TAZParameters Class Reference

#include <GNETAZFrame.h>

Inheritance diagram for GNETAZFrame::TAZParameters:
Collaboration diagram for GNETAZFrame::TAZParameters:

Public Member Functions

std::map< SumoXMLAttr, std::string > getAttributesAndValues () const
 get a map with attributes and their values More...
 
void hideTAZParametersModul ()
 hide TAZ parameters More...
 
bool isAddEdgesWithinEnabled () const
 check if edges within has to be used after TAZ Creation More...
 
bool isCurrentParametersValid () const
 check if current parameters are valid More...
 
void showTAZParametersModul ()
 show TAZ parameters and set the default value of parameters More...
 
 TAZParameters (GNETAZFrame *TAZFrameParent)
 FOX-declaration. More...
 
 ~TAZParameters ()
 destructor More...
 
FOX-callbacks

called when user press the "Color" button

long onCmdSetColorAttribute (FXObject *, FXSelector, void *)
 
long onCmdSetAttribute (FXObject *, FXSelector, void *)
 Called when user set a value. More...
 
long onCmdHelp (FXObject *, FXSelector, void *)
 Called when help button is pressed. More...
 

Private Attributes

FXCheckButton * myAddEdgesWithinCheckButton
 CheckButton to enable or disable use edges within TAZ after creation. More...
 
FXButton * myColorEditor
 Button for open color editor. More...
 
FXButton * myHelpTAZAttribute
 button for help More...
 
GNETAZFramemyTAZFrameParent
 pointer to GNETAZFrame parent More...
 
FXTextField * myTextFieldColor
 textField to modify the default value of color parameter More...
 

Detailed Description

Definition at line 386 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ TAZParameters()

◆ ~TAZParameters()

GNETAZFrame::TAZParameters::~TAZParameters ( )

destructor

Definition at line 1092 of file GNETAZFrame.cpp.

Member Function Documentation

◆ getAttributesAndValues()

std::map< SumoXMLAttr, std::string > GNETAZFrame::TAZParameters::getAttributesAndValues ( ) const

get a map with attributes and their values

Definition at line 1120 of file GNETAZFrame.cpp.

References SUMO_ATTR_COLOR.

Referenced by GNETAZFrame::shapeDrawed().

◆ hideTAZParametersModul()

void GNETAZFrame::TAZParameters::hideTAZParametersModul ( )

hide TAZ parameters

Definition at line 1102 of file GNETAZFrame.cpp.

◆ isAddEdgesWithinEnabled()

bool GNETAZFrame::TAZParameters::isAddEdgesWithinEnabled ( ) const

check if edges within has to be used after TAZ Creation

Definition at line 1114 of file GNETAZFrame.cpp.

Referenced by GNETAZFrame::shapeDrawed().

◆ isCurrentParametersValid()

bool GNETAZFrame::TAZParameters::isCurrentParametersValid ( ) const

check if current parameters are valid

Definition at line 1108 of file GNETAZFrame.cpp.

Referenced by GNETAZFrame::shapeDrawed().

◆ onCmdHelp()

long GNETAZFrame::TAZParameters::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

Called when help button is pressed.

Definition at line 1171 of file GNETAZFrame.cpp.

References GNEAttributeCarrier::getTagProperties(), and SUMO_TAG_TAZ.

Referenced by FXDEFMAP().

◆ onCmdSetAttribute()

long GNETAZFrame::TAZParameters::onCmdSetAttribute ( FXObject *  ,
FXSelector  ,
void *   
)

Called when user set a value.

Definition at line 1149 of file GNETAZFrame.cpp.

Referenced by FXDEFMAP().

◆ onCmdSetColorAttribute()

long GNETAZFrame::TAZParameters::onCmdSetColorAttribute ( FXObject *  ,
FXSelector  ,
void *   
)

◆ showTAZParametersModul()

void GNETAZFrame::TAZParameters::showTAZParametersModul ( )

show TAZ parameters and set the default value of parameters

Definition at line 1096 of file GNETAZFrame.cpp.

Field Documentation

◆ myAddEdgesWithinCheckButton

FXCheckButton* GNETAZFrame::TAZParameters::myAddEdgesWithinCheckButton
private

CheckButton to enable or disable use edges within TAZ after creation.

Definition at line 438 of file GNETAZFrame.h.

Referenced by TAZParameters().

◆ myColorEditor

FXButton* GNETAZFrame::TAZParameters::myColorEditor
private

Button for open color editor.

Definition at line 432 of file GNETAZFrame.h.

Referenced by TAZParameters().

◆ myHelpTAZAttribute

FXButton* GNETAZFrame::TAZParameters::myHelpTAZAttribute
private

button for help

Definition at line 441 of file GNETAZFrame.h.

Referenced by TAZParameters().

◆ myTAZFrameParent

GNETAZFrame* GNETAZFrame::TAZParameters::myTAZFrameParent
private

pointer to GNETAZFrame parent

Definition at line 429 of file GNETAZFrame.h.

◆ myTextFieldColor

FXTextField* GNETAZFrame::TAZParameters::myTextFieldColor
private

textField to modify the default value of color parameter

Definition at line 435 of file GNETAZFrame.h.

Referenced by TAZParameters().


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