![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameAttributesModuls.h>
Public Member Functions | |
| bool | areValuesValid () const |
| check if parameters of attributes are valid More... | |
| AttributesCreator (GNEFrame *frameParent) | |
| constructor More... | |
| std::map< SumoXMLAttr, std::string > | getAttributesAndValues (bool includeAll) const |
| get attributes and their values More... | |
| GNEAttributeCarrier::TagProperties | getCurrentTagProperties () const |
| get current edited Tag Properties More... | |
| GNEFrame * | getFrameParent () const |
| return frame parent More... | |
| void | hideAttributesCreatorModul () |
| hide group box More... | |
| void | refreshRows () |
| refresh rows (called after creating an element) More... | |
| void | showAttributesCreatorModul (const GNEAttributeCarrier::TagProperties &tagProperties, const std::vector< SumoXMLAttr > &hiddenAttributes) |
| show AttributesCreator modul More... | |
| void | showWarningMessage (std::string extra="") const |
| show warning message with information about non-valid attributes More... | |
| ~AttributesCreator () | |
| destructor More... | |
FOX-callbacks | |
Called when help button is pressed | |
| long | onCmdHelp (FXObject *, FXSelector, void *) |
Protected Member Functions | |
| FOX_CONSTRUCTOR (AttributesCreator) | |
Private Attributes | |
| AttributesCreatorFlow * | myAttributesCreatorFlow = nullptr |
| pointer to myAttributesCreatorFlow More... | |
| std::vector< AttributesCreatorRow * > | myAttributesCreatorRows |
| vector with the AttributesCreatorRow More... | |
| GNEFrame * | myFrameParent = nullptr |
| pointer to Frame Parent More... | |
| FXButton * | myHelpButton = nullptr |
| help button More... | |
| GNEAttributeCarrier::TagProperties | myTagProperties |
| current edited Tag Properties More... | |
Friends | |
| class | Row |
| FOX-declaration. More... | |
Definition at line 148 of file GNEFrameAttributesModuls.h.
| GNEFrameAttributesModuls::AttributesCreator::AttributesCreator | ( | GNEFrame * | frameParent | ) |
constructor
Definition at line 587 of file GNEFrameAttributesModuls.cpp.
References GUIDesignButtonRectangular, GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES, MID_HELP, myAttributesCreatorFlow, myAttributesCreatorRows, and myHelpButton.
| GNEFrameAttributesModuls::AttributesCreator::~AttributesCreator | ( | ) |
destructor
Definition at line 599 of file GNEFrameAttributesModuls.cpp.
| bool GNEFrameAttributesModuls::AttributesCreator::areValuesValid | ( | ) | const |
check if parameters of attributes are valid
Definition at line 731 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNEPersonFrame::edgePathCreated(), GNEStopFrame::getStopParameter(), GNEPersonPlanFrame::personPlanCreated(), GNEPolygonFrame::processClick(), and GNEPolygonFrame::shapeDrawed().
|
protected |
| std::map< SumoXMLAttr, std::string > GNEFrameAttributesModuls::AttributesCreator::getAttributesAndValues | ( | bool | includeAll | ) | const |
get attributes and their values
Definition at line 671 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_NOTHING.
Referenced by GNEAdditionalFrame::addAdditional(), GNEVehicleFrame::addVehicle(), GNEPersonFrame::buildPerson(), GNEPersonFrame::edgePathCreated(), GNEVehicleFrame::edgePathCreated(), GNEStopFrame::getStopParameter(), GNEPersonPlanFrame::personPlanCreated(), GNEPolygonFrame::processClick(), and GNEPolygonFrame::shapeDrawed().
| GNEAttributeCarrier::TagProperties GNEFrameAttributesModuls::AttributesCreator::getCurrentTagProperties | ( | ) | const |
get current edited Tag Properties
Definition at line 698 of file GNEFrameAttributesModuls.cpp.
| GNEFrame * GNEFrameAttributesModuls::AttributesCreator::getFrameParent | ( | ) | const |
return frame parent
Definition at line 665 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::AttributesCreator::hideAttributesCreatorModul | ( | ) |
hide group box
Definition at line 659 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEPersonFrame::demandElementSelected(), GNEVehicleFrame::demandElementSelected(), GNEStopFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEStopFrame::show(), GNEPersonPlanFrame::show(), GNEPersonFrame::tagSelected(), GNEVehicleFrame::tagSelected(), GNEStopFrame::tagSelected(), GNEPolygonFrame::tagSelected(), GNEPersonPlanFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().
| long GNEFrameAttributesModuls::AttributesCreator::onCmdHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 752 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::AttributesCreator::refreshRows | ( | ) |
refresh rows (called after creating an element)
Definition at line 744 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_ID, and SUMO_TAG_VAPORIZER.
Referenced by GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEPersonFrame::buildPerson(), GNEPersonFrame::edgePathCreated(), GNEVehicleFrame::edgePathCreated(), GNEStopFrame::getStopParameter(), GNEPersonPlanFrame::personPlanCreated(), GNEPolygonFrame::processClick(), and GNEPolygonFrame::shapeDrawed().
| void GNEFrameAttributesModuls::AttributesCreator::showAttributesCreatorModul | ( | const GNEAttributeCarrier::TagProperties & | tagProperties, |
| const std::vector< SumoXMLAttr > & | hiddenAttributes | ||
| ) |
show AttributesCreator modul
| tagProperties | GNEAttributeCarrier::TagProperties which contain all attributes |
| hiddenAttributes | list of attributes contained in tagProperties but not shown |
Definition at line 603 of file GNEFrameAttributesModuls.cpp.
References SUMO_ATTR_ID, and SUMO_TAG_VAPORIZER.
Referenced by GNEPersonFrame::demandElementSelected(), GNEVehicleFrame::demandElementSelected(), GNEStopFrame::demandElementSelected(), GNEPersonPlanFrame::demandElementSelected(), GNEPersonFrame::tagSelected(), GNEStopFrame::tagSelected(), GNEPolygonFrame::tagSelected(), GNEPersonPlanFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().
| void GNEFrameAttributesModuls::AttributesCreator::showWarningMessage | ( | std::string | extra = "" | ) | const |
show warning message with information about non-valid attributes
Definition at line 704 of file GNEFrameAttributesModuls.cpp.
References WRITE_DEBUG.
Referenced by GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEStopFrame::getStopParameter(), GNEPolygonFrame::processClick(), and GNEPolygonFrame::shapeDrawed().
|
friend |
FOX-declaration.
Definition at line 153 of file GNEFrameAttributesModuls.h.
|
private |
pointer to myAttributesCreatorFlow
Definition at line 203 of file GNEFrameAttributesModuls.h.
Referenced by AttributesCreator().
|
private |
vector with the AttributesCreatorRow
Definition at line 209 of file GNEFrameAttributesModuls.h.
Referenced by AttributesCreator().
|
private |
pointer to Frame Parent
Definition at line 200 of file GNEFrameAttributesModuls.h.
|
private |
help button
Definition at line 212 of file GNEFrameAttributesModuls.h.
Referenced by AttributesCreator().
|
private |
current edited Tag Properties
Definition at line 206 of file GNEFrameAttributesModuls.h.