Eclipse SUMO - Simulation of Urban MObility
GNEFrameAttributesModuls::AttributesCreatorFlow Class Reference

#include <GNEFrameAttributesModuls.h>

Inheritance diagram for GNEFrameAttributesModuls::AttributesCreatorFlow:
Collaboration diagram for GNEFrameAttributesModuls::AttributesCreatorFlow:

Public Member Functions

bool areValuesValid () const
 check if parameters of attributes are valid More...
 
 AttributesCreatorFlow (AttributesCreator *attributesCreatorParent)
 FOX-declaration. More...
 
void hideAttributesCreatorFlowModul ()
 hide group box More...
 
void refreshAttributesCreatorFlow ()
 refresh AttributesCreatorFlow More...
 
void setFlowParameters (std::map< SumoXMLAttr, std::string > &parameters)
 set parameters More...
 
void showAttributesCreatorFlowModul ()
 show AttributesCreatorFlow modul More...
 
void showWarningMessage (std::string extra="") const
 show warning message with information about non-valid attributes More...
 
 ~AttributesCreatorFlow ()
 destructor More...
 
FOX-callbacks

called when user set the value of an attribute of type int/float/string/bool

long onCmdSetFlowAttribute (FXObject *, FXSelector, void *)
 
long onCmdSelectFlowRadioButton (FXObject *, FXSelector, void *)
 called when user press a radio button More...
 

Protected Member Functions

 FOX_CONSTRUCTOR (AttributesCreatorFlow)
 

Private Attributes

FXRadioButton * myAttributeEndRadioButton = nullptr
 Radio button for 'end' attribute. More...
 
FXRadioButton * myAttributeNumberRadioButton = nullptr
 Radio button for 'number' attribute. More...
 
FXRadioButton * myAttributePeriodRadioButton = nullptr
 Radio button for 'period' attribute. More...
 
FXRadioButton * myAttributeProbabilityRadioButton = nullptr
 Radio button for 'probability' attribute. More...
 
AttributesCreatormyAttributesCreatorParent
 pointer to Attributes Creator Parent More...
 
FXRadioButton * myAttributeVehsPerHourRadioButton = nullptr
 Radio button for 'VehsPerHour' attribute. More...
 
int myFlowParameters
 variable used to save current flow configuration More...
 
FXTextField * myValueEndTextField = nullptr
 textField for 'end' attribute More...
 
FXTextField * myValueNumberTextField = nullptr
 textField for 'number' attribute More...
 
FXTextField * myValuePeriodTextField = nullptr
 textField for 'period' attribute More...
 
FXTextField * myValueProbabilityTextField = nullptr
 textField for 'probability' attribute More...
 
FXTextField * myValueVehsPerHourTextField = nullptr
 textField for 'VehsPerHour' attribute More...
 

Detailed Description

Definition at line 219 of file GNEFrameAttributesModuls.h.

Constructor & Destructor Documentation

◆ AttributesCreatorFlow()

◆ ~AttributesCreatorFlow()

GNEFrameAttributesModuls::AttributesCreatorFlow::~AttributesCreatorFlow ( )

destructor

Definition at line 799 of file GNEFrameAttributesModuls.cpp.

Member Function Documentation

◆ areValuesValid()

bool GNEFrameAttributesModuls::AttributesCreatorFlow::areValuesValid ( ) const

check if parameters of attributes are valid

Definition at line 904 of file GNEFrameAttributesModuls.cpp.

References VEHPARS_END_SET, VEHPARS_NUMBER_SET, VEHPARS_PERIOD_SET, VEHPARS_PROB_SET, and VEHPARS_VPH_SET.

◆ FOX_CONSTRUCTOR()

GNEFrameAttributesModuls::AttributesCreatorFlow::FOX_CONSTRUCTOR ( AttributesCreatorFlow  )
protected

◆ hideAttributesCreatorFlowModul()

void GNEFrameAttributesModuls::AttributesCreatorFlow::hideAttributesCreatorFlowModul ( )

hide group box

Definition at line 810 of file GNEFrameAttributesModuls.cpp.

◆ onCmdSelectFlowRadioButton()

long GNEFrameAttributesModuls::AttributesCreatorFlow::onCmdSelectFlowRadioButton ( FXObject *  obj,
FXSelector  ,
void *   
)

◆ onCmdSetFlowAttribute()

long GNEFrameAttributesModuls::AttributesCreatorFlow::onCmdSetFlowAttribute ( FXObject *  obj,
FXSelector  ,
void *   
)

Definition at line 956 of file GNEFrameAttributesModuls.cpp.

◆ refreshAttributesCreatorFlow()

void GNEFrameAttributesModuls::AttributesCreatorFlow::refreshAttributesCreatorFlow ( )

◆ setFlowParameters()

void GNEFrameAttributesModuls::AttributesCreatorFlow::setFlowParameters ( std::map< SumoXMLAttr, std::string > &  parameters)

◆ showAttributesCreatorFlowModul()

void GNEFrameAttributesModuls::AttributesCreatorFlow::showAttributesCreatorFlowModul ( )

show AttributesCreatorFlow modul

Definition at line 803 of file GNEFrameAttributesModuls.cpp.

◆ showWarningMessage()

void GNEFrameAttributesModuls::AttributesCreatorFlow::showWarningMessage ( std::string  extra = "") const

show warning message with information about non-valid attributes

Definition at line 876 of file GNEFrameAttributesModuls.cpp.

References WRITE_DEBUG.

Field Documentation

◆ myAttributeEndRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesCreatorFlow::myAttributeEndRadioButton = nullptr
private

Radio button for 'end' attribute.

Definition at line 265 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myAttributeNumberRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesCreatorFlow::myAttributeNumberRadioButton = nullptr
private

Radio button for 'number' attribute.

Definition at line 271 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myAttributePeriodRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesCreatorFlow::myAttributePeriodRadioButton = nullptr
private

Radio button for 'period' attribute.

Definition at line 283 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myAttributeProbabilityRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesCreatorFlow::myAttributeProbabilityRadioButton = nullptr
private

Radio button for 'probability' attribute.

Definition at line 289 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myAttributesCreatorParent

AttributesCreator* GNEFrameAttributesModuls::AttributesCreatorFlow::myAttributesCreatorParent
private

pointer to Attributes Creator Parent

Definition at line 262 of file GNEFrameAttributesModuls.h.

◆ myAttributeVehsPerHourRadioButton

FXRadioButton* GNEFrameAttributesModuls::AttributesCreatorFlow::myAttributeVehsPerHourRadioButton = nullptr
private

Radio button for 'VehsPerHour' attribute.

Definition at line 277 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myFlowParameters

int GNEFrameAttributesModuls::AttributesCreatorFlow::myFlowParameters
private

variable used to save current flow configuration

Definition at line 295 of file GNEFrameAttributesModuls.h.

◆ myValueEndTextField

FXTextField* GNEFrameAttributesModuls::AttributesCreatorFlow::myValueEndTextField = nullptr
private

textField for 'end' attribute

Definition at line 268 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myValueNumberTextField

FXTextField* GNEFrameAttributesModuls::AttributesCreatorFlow::myValueNumberTextField = nullptr
private

textField for 'number' attribute

Definition at line 274 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myValuePeriodTextField

FXTextField* GNEFrameAttributesModuls::AttributesCreatorFlow::myValuePeriodTextField = nullptr
private

textField for 'period' attribute

Definition at line 286 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myValueProbabilityTextField

FXTextField* GNEFrameAttributesModuls::AttributesCreatorFlow::myValueProbabilityTextField = nullptr
private

textField for 'probability' attribute

Definition at line 292 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().

◆ myValueVehsPerHourTextField

FXTextField* GNEFrameAttributesModuls::AttributesCreatorFlow::myValueVehsPerHourTextField = nullptr
private

textField for 'VehsPerHour' attribute

Definition at line 280 of file GNEFrameAttributesModuls.h.

Referenced by AttributesCreatorFlow().


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