![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEFrame.h>
Public Member Functions | |
ACAttributes (GNEFrame *frameParent) | |
constructor More... | |
bool | areValuesValid () const |
check if parameters of attributes are valid More... | |
std::map< SumoXMLAttr, std::string > | getAttributesAndValues () const |
get attributes and their values More... | |
int | getNumberOfAddedAttributes () const |
get number of added attributes More... | |
void | hideACAttributesModul () |
hide group box More... | |
void | showACAttributesModul (const GNEAttributeCarrier::TagProperties &myTagProperties) |
show ACAttributes modul More... | |
void | showWarningMessage (std::string extra="") const |
show warning message with information about non-valid attributes More... | |
~ACAttributes () | |
destructor More... | |
FOX-callbacks | |
Called when help button is pressed | |
long | onCmdHelp (FXObject *, FXSelector, void *) |
Protected Member Functions | |
ACAttributes () | |
FOX needs this. More... | |
Private Attributes | |
std::vector< ACAttributeRow * > | myACAttributeRows |
vector with the ACAttribute Rows More... | |
GNEFrame * | myFrameParent |
pointer to Polygon Frame Parent More... | |
GNEAttributeCarrier::TagProperties | myTagProperties |
current edited Tag Properties More... | |
Friends | |
class | ACAttributeRow |
FOX-declaration. More... | |
Definition at line 181 of file GNEFrame.h.
GNEFrame::ACAttributes::ACAttributes | ( | GNEFrame * | frameParent | ) |
constructor
Definition at line 447 of file GNEFrame.cpp.
References ACAttributeRow, GNEAttributeCarrier::getHigherNumberOfAttributes(), GUIDesignButtonRectangular, MID_HELP, and myACAttributeRows.
GNEFrame::ACAttributes::~ACAttributes | ( | ) |
destructor
Definition at line 461 of file GNEFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 221 of file GNEFrame.h.
bool GNEFrame::ACAttributes::areValuesValid | ( | ) | const |
check if parameters of attributes are valid
Definition at line 533 of file GNEFrame.cpp.
References myACAttributeRows, and myTagProperties.
Referenced by GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEPolygonFrame::buildShape(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEPolygonFrame::processClick(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
std::map< SumoXMLAttr, std::string > GNEFrame::ACAttributes::getAttributesAndValues | ( | ) | const |
get attributes and their values
Definition at line 493 of file GNEFrame.cpp.
References myACAttributeRows, and SUMO_ATTR_NOTHING.
Referenced by GNEAdditionalFrame::addAdditional(), GNEPolygonFrame::buildShape(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEPolygonFrame::processClick(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
int GNEFrame::ACAttributes::getNumberOfAddedAttributes | ( | ) | const |
get number of added attributes
Definition at line 546 of file GNEFrame.cpp.
void GNEFrame::ACAttributes::hideACAttributesModul | ( | ) |
hide group box
Definition at line 487 of file GNEFrame.cpp.
References GNEFrame::hide().
Referenced by GNEPolygonFrame::disableModuls(), and GNEAdditionalFrame::disableModuls().
long GNEFrame::ACAttributes::onCmdHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 552 of file GNEFrame.cpp.
References myFrameParent, myTagProperties, and GNEFrame::openHelpAttributesDialog().
void GNEFrame::ACAttributes::showACAttributesModul | ( | const GNEAttributeCarrier::TagProperties & | myTagProperties | ) |
show ACAttributes modul
Definition at line 466 of file GNEFrame.cpp.
References myACAttributeRows, myTagProperties, and GNEFrame::show().
Referenced by GNEPolygonFrame::enableModuls(), and GNEAdditionalFrame::enableModuls().
void GNEFrame::ACAttributes::showWarningMessage | ( | std::string | extra = "" | ) | const |
show warning message with information about non-valid attributes
Definition at line 506 of file GNEFrame.cpp.
References GNEFrame::getViewNet(), myACAttributeRows, myFrameParent, myTagProperties, GNEViewNet::setStatusBarText(), and WRITE_DEBUG.
Referenced by GNEAdditionalFrame::buildAdditionalCommonAttributes(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPolygonFrame::buildShape(), GNEPolygonFrame::processClick(), and GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector().
|
friend |
|
private |
vector with the ACAttribute Rows
Definition at line 231 of file GNEFrame.h.
Referenced by ACAttributes(), areValuesValid(), getAttributesAndValues(), showACAttributesModul(), and showWarningMessage().
|
private |
pointer to Polygon Frame Parent
Definition at line 221 of file GNEFrame.h.
Referenced by onCmdHelp(), and showWarningMessage().
|
private |
current edited Tag Properties
Definition at line 228 of file GNEFrame.h.
Referenced by areValuesValid(), onCmdHelp(), GNEFrame::ACAttributeRow::onCmdSetAttribute(), showACAttributesModul(), and showWarningMessage().