SumoXMLAttr
Numbers representing SUMO-XML - attributes.
An Element which don't belong to GNENet but has influence in the simulation.
void showAttributeEditorModule()
show attributes of multiple ACs
long onCmdTypeAttributesEditorHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
GNETypeDistributionFrame * myTypeDistributionFrameParent
fox need this
void refreshAttributeEditor()
refresh attribute editor (only the valid values will be refresh)
GNETypeDistributionFrame * getTypeDistributionFrameParent() const
pointer to GNEFrame parent
FXButton * myHelpButton
button for help
std::vector< TypeAttributesEditorRow * > myTypeAttributesEditorRows
list of Attribute editor rows
void hideTypeAttributesEditorModule()
hide attribute editor
const GNEAttributeProperties myACAttr
current AC Attribute
void refreshTypeAttributesEditorRow(const std::string &value)
refresh current row
long onCmdSetAttribute(FXObject *, FXSelector, void *)
try to set new attribute value
TypeAttributesEditorRow()
default constructor
void destroy()
destroy GNEAttributesCreatorRow (but don't delete)
MFXLabelTooltip * myAttributeLabel
pointer to attribute label
MFXTextFieldTooltip * myValueTextField
textField to modify the value of string attributes
TypeAttributesEditor * myTypeAttributesEditorParent
pointer to TypeAttributesEditor parent
bool isTypeAttributesEditorRowValid() const
check if current attribute of TextField/ComboBox is valid
long onCmdCreateType(FXObject *, FXSelector, void *)
Called when "create type distribution" button is clicked.
long onUpdDeleteType(FXObject *sender, FXSelector, void *)
Called when "Delete type distribution" button is updated.
long onCmdDeleteType(FXObject *, FXSelector, void *)
Called when "Delete type distribution" button is clicked.
FXButton * myCreateTypeButton
"create vehicle type" button
~TypeDistributionEditor()
destructor
FXButton * myDeleteTypeButton
"delete vehicle type" button
GNETypeDistributionFrame * myTypeDistributionFrameParent
FOX needs this.
void refreshTypeDistributionSelector()
refresh modul
~TypeDistributionSelector()
destructor
std::string myCurrentTypeDistribution
current type distribution
FXComboBox * myTypeComboBox
comboBox with the list of type distributions
GNETypeDistributionFrame * myTypeDistributionFrameParent
pointer to Frame Parent
void setCurrentTypeDistribution(const GNEDemandElement *vTypeDistribution)
set current vehicle type distribution
long onCmdUpdateTypeDistribution(FXObject *sender, FXSelector, void *)
update type distribution comboBox
GNEDemandElement * getCurrentTypeDistribution() const
get current Vehicle Type distribution
long onCmdSelectTypeDistribution(FXObject *, FXSelector, void *)
Called when the user select type distribution in ComboBox.
TypeDistributionSelector * getTypeDistributionSelector() const
get type distribution selector
TypeDistributionSelector * myTypeDistributionSelector
type distribution selector
void attributeUpdated(SumoXMLAttr attribute)
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/....
TypeDistributionEditor * myTypeDistributionEditor
type editor
~GNETypeDistributionFrame()
Destructor.
TypeAttributesEditor * myTypeTypeAttributesEditor
editor for vehicle type attributes
A single child window which contains a view of the simulation area.
MFXGroupBoxModule (based on FXGroupBox)