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

#include <GNETAZFrame.h>

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

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

Protected Member Functions

 TAZParameters ()
 FOX needs this. 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 383 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ TAZParameters() [1/2]

◆ ~TAZParameters()

GNETAZFrame::TAZParameters::~TAZParameters ( )

destructor

Definition at line 1098 of file GNETAZFrame.cpp.

◆ TAZParameters() [2/2]

GNETAZFrame::TAZParameters::TAZParameters ( )
inlineprotected

FOX needs this.

Definition at line 423 of file GNETAZFrame.h.

Member Function Documentation

◆ getAttributesAndValues()

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

get a map with attributes and their values

Definition at line 1126 of file GNETAZFrame.cpp.

References myTextFieldColor, and SUMO_ATTR_COLOR.

Referenced by GNETAZFrame::buildShape().

◆ hideTAZParametersModul()

void GNETAZFrame::TAZParameters::hideTAZParametersModul ( )

hide TAZ parameters

Definition at line 1108 of file GNETAZFrame.cpp.

Referenced by GNETAZFrame::TAZCurrent::setTAZ().

◆ isAddEdgesWithinEnabled()

bool GNETAZFrame::TAZParameters::isAddEdgesWithinEnabled ( ) const

check if edges within has to be used after TAZ Creation

Definition at line 1120 of file GNETAZFrame.cpp.

References myAddEdgesWithinCheckButton.

Referenced by GNETAZFrame::buildShape().

◆ isCurrentParametersValid()

bool GNETAZFrame::TAZParameters::isCurrentParametersValid ( ) const

check if current parameters are valid

Definition at line 1114 of file GNETAZFrame.cpp.

References myTextFieldColor.

Referenced by GNETAZFrame::buildShape().

◆ onCmdHelp()

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

Called when help button is pressed.

Definition at line 1177 of file GNETAZFrame.cpp.

References GNEAttributeCarrier::getTagProperties(), myTAZFrameParent, GNEFrame::openHelpAttributesDialog(), and SUMO_TAG_TAZ.

◆ onCmdSetAttribute()

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

Called when user set a value.

Definition at line 1155 of file GNETAZFrame.cpp.

References myAddEdgesWithinCheckButton, and myTextFieldColor.

Referenced by onCmdSetColorAttribute().

◆ 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 1102 of file GNETAZFrame.cpp.

Referenced by GNETAZFrame::TAZCurrent::setTAZ().

Field Documentation

◆ myAddEdgesWithinCheckButton

FXCheckButton* GNETAZFrame::TAZParameters::myAddEdgesWithinCheckButton
private

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

Definition at line 436 of file GNETAZFrame.h.

Referenced by isAddEdgesWithinEnabled(), onCmdSetAttribute(), and TAZParameters().

◆ myColorEditor

FXButton* GNETAZFrame::TAZParameters::myColorEditor
private

Button for open color editor.

Definition at line 430 of file GNETAZFrame.h.

Referenced by TAZParameters().

◆ myHelpTAZAttribute

FXButton* GNETAZFrame::TAZParameters::myHelpTAZAttribute
private

button for help

Definition at line 439 of file GNETAZFrame.h.

Referenced by TAZParameters().

◆ myTAZFrameParent

GNETAZFrame* GNETAZFrame::TAZParameters::myTAZFrameParent
private

pointer to GNETAZFrame parent

Definition at line 427 of file GNETAZFrame.h.

Referenced by onCmdHelp().

◆ myTextFieldColor

FXTextField* GNETAZFrame::TAZParameters::myTextFieldColor
private

textField to modify the default value of color parameter

Definition at line 433 of file GNETAZFrame.h.

Referenced by getAttributesAndValues(), isCurrentParametersValid(), onCmdSetAttribute(), onCmdSetColorAttribute(), and TAZParameters().


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