![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEAttributeCarrier.h>
Data Structures | |
class | AttributeProperties |
struct with the attribute Properties More... | |
class | TagProperties |
struct with the attribute Properties More... | |
Public Member Functions | |
void | decRef (const std::string &debugMsg="") |
Decrease reference. More... | |
virtual std::string | getAttributeForSelection (SumoXMLAttr key) const |
method for getting the attribute in the context of object selection More... | |
FXIcon * | getIcon () const |
get FXIcon associated to this AC More... | |
const std::string | getID () const |
function to support debugging More... | |
const TagProperties & | getTagProperty () const |
get Tag Property assigned to this object More... | |
const std::string & | getTagStr () const |
get tag assigned to this object in string format More... | |
GNEAttributeCarrier (SumoXMLTag tag) | |
Constructor. More... | |
void | incRef (const std::string &debugMsg="") |
Increarse reference. More... | |
template<> | |
int | parse (const std::string &string) |
template<> | |
double | parse (const std::string &string) |
template<> | |
bool | parse (const std::string &string) |
template<> | |
std::string | parse (const std::string &string) |
template<> | |
SUMOVehicleClass | parse (const std::string &string) |
template<> | |
RGBColor | parse (const std::string &string) |
template<> | |
Position | parse (const std::string &string) |
template<> | |
PositionVector | parse (const std::string &string) |
template<> | |
SUMOVehicleShape | parse (const std::string &string) |
template<> | |
std::vector< std::string > | parse (const std::string &string) |
template<> | |
std::vector< int > | parse (const std::string &string) |
template<> | |
std::vector< double > | parse (const std::string &string) |
template<> | |
std::vector< bool > | parse (const std::string &string) |
template<> | |
std::vector< GNEEdge * > | parse (GNENet *net, const std::string &value) |
template<> | |
std::vector< GNELane * > | parse (GNENet *net, const std::string &value) |
template<> | |
std::string | parseIDs (const std::vector< GNEEdge *> &ACs) |
template<> | |
std::string | parseIDs (const std::vector< GNELane *> &ACs) |
bool | unreferenced () |
check if object ins't referenced More... | |
virtual | ~GNEAttributeCarrier () |
Destructor. More... | |
This functions has to be implemented in all GNEAttributeCarriers | |
select attribute carrier using GUIGlobalSelection | |
virtual void | selectAttributeCarrier (bool changeFlag=true)=0 |
virtual void | unselectAttributeCarrier (bool changeFlag=true)=0 |
unselect attribute carrier using GUIGlobalSelection More... | |
virtual bool | isAttributeCarrierSelected () const =0 |
check if attribute carrier is selected More... | |
virtual std::string | getAttribute (SumoXMLAttr key) const =0 |
virtual void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0 |
virtual bool | isValid (SumoXMLAttr key, const std::string &value)=0 |
virtual std::string | getPopUpID () const =0 |
get PopPup ID (Used in AC Hierarchy) More... | |
virtual std::string | getHierarchyName () const =0 |
get Hierarchy Name (Used in AC Hierarchy) More... | |
This functions related with generic parameters has to be implemented in all GNEAttributeCarriers | |
virtual std::string | getGenericParametersStr () const =0 |
return generic parameters in string format More... | |
virtual std::vector< std::pair< std::string, std::string > > | getGenericParameters () const =0 |
return generic parameters as vector of pairs format More... | |
virtual void | setGenericParametersStr (const std::string &value)=0 |
set generic parameters in string format More... | |
Static Public Member Functions | |
static std::vector< SumoXMLTag > | allowedTags (bool onlyDrawables) |
get tags of all editable element types More... | |
static std::vector< SumoXMLTag > | allowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables) |
get tags of all editable element types using TagProperty Type (TAGPROPERTY_NETELEMENT, TAGPROPERTY_ADDITIONAL, etc.) More... | |
template<typename T > | |
static bool | canParse (const std::string &string) |
true if a value of type T can be parsed from string More... | |
template<typename T > | |
static bool | canParse (GNENet *net, const std::string &value, bool report) |
true if a value of type T can be parsed from string More... | |
static int | getCircleResolution (const GUIVisualizationSettings &settings) |
function to calculate circle resolution for all circles drawn in drawGL(...) functions More... | |
static int | getHigherNumberOfAttributes () |
return the number of attributes of the tag with the most highter number of attributes More... | |
static const TagProperties & | getTagProperties (SumoXMLTag tag) |
get Tag Properties More... | |
static bool | isGenericParametersValid (const std::string &value) |
check if given string can be parsed to a map/list of generic parameters More... | |
static bool | lanesConsecutives (const std::vector< GNELane *> &lanes) |
check if lanes are consecutives More... | |
template<typename T > | |
static T | parse (const std::string &string) |
parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
template<typename T > | |
static T | parse (GNENet *net, const std::string &value) |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
template<typename T > | |
static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
Parse attribute from XML and show warnings if there are problems parsing it. More... | |
template<typename T > | |
static std::string | parseIDs (const std::vector< T > &ACs) |
parses a list of specific Attribute Carriers into a string of IDs More... | |
Static Public Attributes | |
Certain attributes and ACs (for example, connections) can be either loaded or guessed. The following static variables are used to remark it. | |
feature is still unchanged after being loaded (implies approval) | |
static const std::string | FEATURE_LOADED = "loaded" |
static const std::string | FEATURE_GUESSED = "guessed" |
feature has been reguessed (may still be unchanged be we can't tell (yet) More... | |
static const std::string | FEATURE_MODIFIED = "modified" |
feature has been manually modified (implies approval) More... | |
static const std::string | FEATURE_APPROVED = "approved" |
feature has been approved but not changed (i.e. after being reguessed) More... | |
Protected Member Functions | |
virtual void | mouseOverObject (const GUIVisualizationSettings &s) const =0 |
method for check if mouse is over objects More... | |
virtual void | setAttribute (SumoXMLAttr key, const std::string &value)=0 |
method for setting the attribute and nothing else (used in GNEChange_Attribute) More... | |
Protected Attributes | |
bool | mySelected |
boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
const TagProperties & | myTagProperty |
the xml tag to which this attribute carrier corresponds More... | |
Static Protected Attributes | |
static TagProperties | dummyTagProperty |
dummy TagProperty used for reference some elements (for Example, dummyEdge) More... | |
Private Member Functions | |
GNEAttributeCarrier (const GNEAttributeCarrier &)=delete | |
Invalidated copy constructor. More... | |
GNEAttributeCarrier & | operator= (const GNEAttributeCarrier &src)=delete |
Invalidated assignment operator. More... | |
Static Private Member Functions | |
static void | fillAttributeCarriers () |
fill Attribute Carriers More... | |
Static Private Attributes | |
static std::map< SumoXMLTag, TagProperties > | myTagProperties |
map with the tags properties More... | |
Friends | |
class | GNEChange_Attribute |
declare friend class More... | |
Abstract Base class for gui objects which carry attributes inherits from GNEReferenceCounter for convenience
Definition at line 54 of file GNEAttributeCarrier.h.
struct with the tag Properties
Definition at line 60 of file GNEAttributeCarrier.h.
Definition at line 223 of file GNEAttributeCarrier.h.
GNEAttributeCarrier::GNEAttributeCarrier | ( | SumoXMLTag | tag | ) |
Constructor.
[in] | tag | SUMO Tag assigned to this type of object |
[in] | icon | GUIIcon associated to the type of object |
Definition at line 774 of file GNEAttributeCarrier.cpp.
|
inlinevirtual |
Destructor.
Definition at line 445 of file GNEAttributeCarrier.h.
References getAttribute(), getHierarchyName(), getPopUpID(), isAttributeCarrierSelected(), isValid(), selectAttributeCarrier(), setAttribute(), and unselectAttributeCarrier().
|
privatedelete |
Invalidated copy constructor.
|
static |
get tags of all editable element types
Definition at line 1056 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), and myTagProperties.
|
static |
get tags of all editable element types using TagProperty Type (TAGPROPERTY_NETELEMENT, TAGPROPERTY_ADDITIONAL, etc.)
Definition at line 1073 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), myTagProperties, TAGPROPERTY_ADDITIONAL, TAGPROPERTY_NETELEMENT, TAGPROPERTY_SHAPE, and TAGPROPERTY_TAZ.
Referenced by GNENet::computeEverything(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNENet::GNENet(), GNEFrame::ItemSelector::ItemSelector(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), and GNEAdditionalFrame::SelectorAdditionalParent::showSelectorAdditionalParentModul().
|
inlinestatic |
true if a value of type T can be parsed from string
Definition at line 547 of file GNEAttributeCarrier.h.
References parse().
Referenced by GNECalibratorRoute::isValid(), GNECrossing::isValid(), GNEDetectorE2::isValid(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildRerouter(), and GNEAdditionalHandler::parseAndBuildVariableSpeedSign().
|
inlinestatic |
true if a value of type T can be parsed from string
Definition at line 566 of file GNEAttributeCarrier.h.
References lanesConsecutives(), parse(), parseIDs(), and WRITE_WARNING.
|
inlineinherited |
Decrease reference.
Definition at line 53 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
staticprivate |
fill Attribute Carriers
Definition at line 1179 of file GNEAttributeCarrier.cpp.
References ATTRPROPERTY_ANGLE, ATTRPROPERTY_BOOL, ATTRPROPERTY_COLOR, ATTRPROPERTY_COMBINABLE, ATTRPROPERTY_DEFAULTVALUE, ATTRPROPERTY_DISCRETE, ATTRPROPERTY_FILENAME, ATTRPROPERTY_FLOAT, ATTRPROPERTY_INT, ATTRPROPERTY_LIST, ATTRPROPERTY_NONEDITABLE, ATTRPROPERTY_OPTIONAL, ATTRPROPERTY_POSITION, ATTRPROPERTY_POSITIVE, ATTRPROPERTY_PROBABILITY, ATTRPROPERTY_RANGE, ATTRPROPERTY_SECUENCIAL, ATTRPROPERTY_STRING, ATTRPROPERTY_SYNONYM, ATTRPROPERTY_TIME, ATTRPROPERTY_UNIQUE, ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, DEFAULT_VTYPE_ID, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_ACCESS, ICON_BUSSTOP, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONNECTION, ICON_CONTAINERSTOP, ICON_CROSSING, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_EDGE, ICON_FLOW, ICON_JUNCTION, ICON_LANE, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTE, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_TAZ, ICON_TAZEDGE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LaneSpreadFunctions, SUMOXMLDefinitions::LateralAlignments, myTagProperties, NODETYPE_DEAD_END, NODETYPE_DEAD_END_DEPRECATED, NODETYPE_INTERNAL, NODETYPE_NOJUNCTION, SUMOXMLDefinitions::NodeTypes, RIGHT_OF_WAY_DEFAULT, SUMOXMLDefinitions::RightOfWayValues, SUMO_ATTR_ACCEL, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DECEL, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_END, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_INDEX, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LANE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LANES, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LAYER, SUMO_ATTR_LENGTH, SUMO_ATTR_LINE, SUMO_ATTR_LINES, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_OFF, SUMO_ATTR_ONROAD, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PASS, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PRIORITY, SUMO_ATTR_PROB, SUMO_ATTR_RADIUS, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_REROUTE, SUMO_ATTR_RIGHT_OF_WAY, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SIGMA, SUMO_ATTR_SPEED, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STARTPOS, SUMO_ATTR_TAU, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VCLASS, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WEIGHT, SUMO_ATTR_WIDTH, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONNECTION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CROSSING, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E2DETECTOR_MULTILANE, SUMO_TAG_E3DETECTOR, SUMO_TAG_EDGE, SUMO_TAG_FLOW, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, TAGPROPERTY_ADDITIONAL, TAGPROPERTY_AUTOMATICSORTING, TAGPROPERTY_BLOCKMOVEMENT, TAGPROPERTY_BLOCKSHAPE, TAGPROPERTY_CLOSESHAPE, TAGPROPERTY_DETECTOR, TAGPROPERTY_DIALOG, TAGPROPERTY_DRAWABLE, TAGPROPERTY_GEOPOSITION, TAGPROPERTY_GEOSHAPE, TAGPROPERTY_MASKSTARTENDPOS, TAGPROPERTY_MASKXYZPOSITION, TAGPROPERTY_MINIMUMCHILDS, TAGPROPERTY_NETELEMENT, TAGPROPERTY_PARENT, TAGPROPERTY_PLACEDOVER_EDGE, TAGPROPERTY_PLACEDOVER_JUNCTION, TAGPROPERTY_PLACEDOVER_LANE, TAGPROPERTY_PLACEDOVER_LANES, TAGPROPERTY_PLACEDOVER_VIEW, TAGPROPERTY_REPARENT, TAGPROPERTY_SELECTABLE, TAGPROPERTY_SHAPE, TAGPROPERTY_STOPPINGPLACE, TAGPROPERTY_SYNONYM, TAGPROPERTY_TAZ, TAGPROPERTY_WRITECHILDSSEPARATE, toString(), SUMOXMLDefinitions::TrafficLightTypes, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.
Referenced by allowedTags(), allowedTagsByCategory(), getHigherNumberOfAttributes(), getIcon(), and getTagProperties().
|
pure virtual |
Implemented in GNEAdditional, GNEEdge, GNEPOI, GNEJunction, GNELane, GNEPoly, GNEDetectorE2, GNEConnection, GNEDetector, GNEShape, GNENetElement, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEAccess, GNECalibratorVehicleType, GNERerouter, GNECrossing, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by getAttributeForSelection(), getID(), GNEDialog_AllowDisallow::onCmdReset(), GNENet::replaceInListAttribute(), and ~GNEAttributeCarrier().
|
virtual |
method for getting the attribute in the context of object selection
Reimplemented in GNEEdge, and GNELane.
Definition at line 995 of file GNEAttributeCarrier.cpp.
References getAttribute().
|
static |
function to calculate circle resolution for all circles drawn in drawGL(...) functions
Definition at line 1165 of file GNEAttributeCarrier.cpp.
References GUIVisualizationSettings::drawForSelecting, and GUIVisualizationSettings::scale.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNETAZ::drawGL(), GNELane::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), and parseAttributeFromXML().
|
pure virtual |
return generic parameters as vector of pairs format
Implemented in GNEAdditional, GNEEdge, GNEPOI, GNEJunction, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
Referenced by GNEFrame::GenericParametersEditor::showGenericParametersEditor().
|
pure virtual |
return generic parameters in string format
Implemented in GNEAdditional, GNEEdge, GNEPOI, GNEJunction, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
pure virtual |
get Hierarchy Name (Used in AC Hierarchy)
Implemented in GNEAdditional, GNEDetector, GNEShape, GNENetElement, GNETAZ, GNECalibrator, GNEStoppingPlace, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), and ~GNEAttributeCarrier().
|
static |
return the number of attributes of the tag with the most highter number of attributes
Definition at line 1120 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), MAX2(), and myTagProperties.
Referenced by GNEFrame::ACAttributes::ACAttributes(), and GNEInspectorFrame::AttributesEditor::AttributesEditor().
FXIcon * GNEAttributeCarrier::getIcon | ( | ) | const |
get FXIcon associated to this AC
Definition at line 1019 of file GNEAttributeCarrier.cpp.
References fillAttributeCarriers(), GNEAttributeCarrier::TagProperties::getGUIIcon(), GUIIconSubSys::getIcon(), myTagProperties, and myTagProperty.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), GNEFrame::ACHierarchy::createPopUpMenu(), GNEAdditional::getPopUpMenu(), and GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
virtual |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 1029 of file GNEAttributeCarrier.cpp.
References getAttribute(), and SUMO_ATTR_ID.
Referenced by GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNERerouterInterval::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNELane::getColorValue(), GNEClosingReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNETAZSink::getParentName(), GNETAZSource::getParentName(), GNEClosingReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNERerouterInterval::getParentName(), GNECalibratorFlow::getParentName(), GNEAccess::getParentName(), GNEDetectorE3::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEDetector::getPopUpID(), GNEShape::getPopUpID(), GNENetElement::getPopUpID(), GNEAdditionalHandler::getPosition(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEAdditional::isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNETAZFrame::TAZCurrent::setTAZ(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNEAdditional::writeAdditional(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().
|
pure virtual |
get PopPup ID (Used in AC Hierarchy)
Implemented in GNEAdditional, GNEDetector, GNEShape, GNENetElement, GNETAZ, GNECalibrator, GNEStoppingPlace, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
Referenced by GNEFrame::ACHierarchy::createPopUpMenu(), and ~GNEAttributeCarrier().
|
static |
get Tag Properties
Definition at line 1038 of file GNEAttributeCarrier.cpp.
References dummyTagProperty, fillAttributeCarriers(), myTagProperties, SUMO_TAG_NOTHING, and toString().
Referenced by GNECrossingFrame::CrossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNECrossingFrame::CrossingParameters::onCmdHelp(), GNETAZFrame::TAZParameters::onCmdHelp(), GNEFrame::ItemSelector::onCmdSelectItem(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), parseAttributeFromXML(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEFrame::ItemSelector::setCurrentTypeTag(), GNETAZFrame::TAZCurrent::setTAZ(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), and GNEInspectorFrame::AttributesEditor::showAttributeEditorModul().
const GNEAttributeCarrier::TagProperties & GNEAttributeCarrier::getTagProperty | ( | ) | const |
get Tag Property assigned to this object
Definition at line 1013 of file GNEAttributeCarrier.cpp.
References myTagProperty.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNENet::additionalExist(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEViewNet::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::BlockIcon::draw(), GNEViewNet::getAttributeCarriersInBoundary(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNEInspectorFrame::OverlappedInspection::onCmdNextElement(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::OverlappedInspection::onCmdPreviousElement(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditionalHandler::parseGenericParameter(), GNEInspectorFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNENet::updateAdditionalID(), and GNEChange_Attribute::~GNEChange_Attribute().
const std::string & GNEAttributeCarrier::getTagStr | ( | ) | const |
get tag assigned to this object in string format
Definition at line 1007 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TagProperties::getTagStr(), and myTagProperty.
Referenced by GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNEAdditional::checkAdditionalChildRestriction(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorEntry::commitGeometryMoving(), GNEDetectorExit::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNECrossing::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEConnection::getAttribute(), GNEDetectorE2::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEPOI::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNETAZSink::getHierarchyName(), GNETAZSource::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorRoute::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNERerouter::getHierarchyName(), GNEAccess::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVaporizer::getPopUpID(), GNETAZSource::getPopUpID(), GNERouteProbe::getPopUpID(), GNETAZSink::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEShape::getPopUpID(), GNENetElement::getPopUpID(), GNEDetector::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNEAdditional::isRouteValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEBusStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNETAZSink::isValid(), GNETAZSource::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEDestProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEDetectorE2::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEEdge::isValid(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditional::openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEAdditionalFrame::removeAdditional(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNEJunction::removeOutgoingGNEEdge(), GNELane::removeShapeChild(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNETAZSource::setAttribute(), GNERouteProbe::setAttribute(), GNETAZSink::setAttribute(), GNEClosingReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEDetectorE2::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().
|
inlineinherited |
Increarse reference.
Definition at line 68 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNENet::computeEverything(), GNEChange_Attribute::GNEChange_Attribute(), GNENet::GNENet(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().
|
pure virtual |
check if attribute carrier is selected
Implemented in GNEAdditional, GNEShape, and GNENetElement.
Referenced by GNEViewNet::buildSelectionACPopupEntry(), GNENet::getSelectedAttributeCarriers(), GNEInspectorFrame::inspectSingleElement(), GNEViewParent::isSelected(), GNEViewNet::onCmdAddSelected(), GNEViewNet::onCmdRemoveSelected(), GNEViewNet::onLeftBtnPress(), GNEInspectorFrame::processClick(), GNEDialogACChooser::toggleSelection(), and ~GNEAttributeCarrier().
|
static |
check if given string can be parsed to a map/list of generic parameters
Definition at line 1135 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNETAZSink::isValid(), GNERouteProbe::isValid(), GNETAZSource::isValid(), GNEClosingReroute::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorExit::isValid(), GNEDetectorEntry::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEDetectorE2::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
|
pure virtual |
Implemented in GNEAdditional, GNEEdge, GNEPOI, GNEJunction, GNELane, GNEPoly, GNEDetectorE2, GNEConnection, GNEDetector, GNEShape, GNENetElement, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNECrossing, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by ~GNEAttributeCarrier().
|
static |
check if lanes are consecutives
Definition at line 964 of file GNEAttributeCarrier.cpp.
Referenced by canParse(), GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().
|
protectedpure virtual |
method for check if mouse is over objects
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNELane, GNEPoly, GNEPOI, GNEConnection, GNENetElement, GNEShape, and GNECrossing.
Referenced by parseAttributeFromXML().
|
privatedelete |
Invalidated assignment operator.
|
static |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by canParse(), GNECalibratorRoute::isValid(), and GNEDetectorE2::isValid().
|
static |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
int GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 781 of file GNEAttributeCarrier.cpp.
References StringUtils::toInt().
double GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 787 of file GNEAttributeCarrier.cpp.
References StringUtils::toDouble().
bool GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 793 of file GNEAttributeCarrier.cpp.
References StringUtils::toBool().
std::string GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 799 of file GNEAttributeCarrier.cpp.
SUMOVehicleClass GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 805 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
RGBColor GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 817 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
Position GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 823 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
PositionVector GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 839 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
SUMOVehicleShape GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 857 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
std::vector<std::string> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 867 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
std::vector<int> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 873 of file GNEAttributeCarrier.cpp.
std::vector<double> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 884 of file GNEAttributeCarrier.cpp.
std::vector<bool> GNEAttributeCarrier::parse | ( | const std::string & | string | ) |
Definition at line 895 of file GNEAttributeCarrier.cpp.
std::vector<GNEEdge*> GNEAttributeCarrier::parse | ( | GNENet * | net, |
const std::string & | value | ||
) |
Definition at line 906 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
std::vector<GNELane*> GNEAttributeCarrier::parse | ( | GNENet * | net, |
const std::string & | value | ||
) |
Definition at line 924 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveLane(), SUMO_ATTR_LANES, SUMO_TAG_LANE, and toString().
|
inlinestatic |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 591 of file GNEAttributeCarrier.h.
References canParseVehicleClasses(), SUMOSAXAttributes::get(), getCircleResolution(), getTagProperties(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidNetID(), mouseOverObject(), setAttribute(), SUMO_ATTR_EDGES, SUMO_ATTR_GUISHAPE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VCLASS, SUMO_ATTR_VTYPES, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, toString(), and WRITE_WARNING.
|
static |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by canParse(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), and GNEDetectorE2::getAttribute().
std::string GNEAttributeCarrier::parseIDs | ( | const std::vector< GNEEdge *> & | ACs | ) |
Definition at line 942 of file GNEAttributeCarrier.cpp.
References joinToString().
std::string GNEAttributeCarrier::parseIDs | ( | const std::vector< GNELane *> & | ACs | ) |
Definition at line 953 of file GNEAttributeCarrier.cpp.
References joinToString().
|
pure virtual |
Implemented in GNEAdditional, GNEShape, and GNENetElement.
Referenced by GNEViewNet::onCmdAddSelected(), GNEViewNet::onLeftBtnPress(), GNEInspectorFrame::processClick(), GNEDialogACChooser::toggleSelection(), and ~GNEAttributeCarrier().
|
pure virtual |
Implemented in GNEAdditional, GNEEdge, GNEPOI, GNEJunction, GNELane, GNEPoly, GNEDetectorE2, GNEConnection, GNEDetector, GNEShape, GNENetElement, GNETAZ, GNECalibrator, GNEStoppingPlace, GNEDetectorE1Instant, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNECalibratorVehicleType, GNEAccess, GNERerouter, GNECrossing, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, GNEVaporizer, GNEParkingArea, GNEBusStop, GNEChargingStation, and GNEContainerStop.
Referenced by GNEDialog_AllowDisallow::onCmdAccept(), GNEFrame::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrame::GenericParametersEditor::onCmdSetGenericParameter(), parseAttributeFromXML(), GNEChange_Attribute::redo(), GNENet::replaceInListAttribute(), GNEChange_Attribute::undo(), and ~GNEAttributeCarrier().
|
protectedpure virtual |
method for setting the attribute and nothing else (used in GNEChange_Attribute)
Implemented in GNEAdditional, GNEEdge, GNEJunction, GNELane, GNEPoly, GNEPOI, GNECalibratorVehicleType, GNEConnection, GNECalibratorFlow, GNETAZ, GNENetElement, GNEDetectorE2, GNEShape, GNEStoppingPlace, GNEDetector, GNECalibrator, GNECrossing, GNERerouter, GNEDetectorE3, GNEAccess, GNERouteProbe, GNEParkingSpace, GNEDetectorE1Instant, GNERerouterInterval, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEDetectorE1, GNEDetectorEntry, GNEDetectorExit, GNEParkingAreaReroute, GNEClosingLaneReroute, GNEDestProbReroute, GNERouteProbReroute, GNEClosingReroute, GNEVaporizer, GNETAZSink, GNETAZSource, GNEParkingArea, GNEChargingStation, GNEBusStop, and GNEContainerStop.
|
pure virtual |
set generic parameters in string format
Implemented in GNEAdditional, GNEEdge, GNEPOI, GNEJunction, GNELane, GNEPoly, GNEShape, GNENetElement, GNEConnection, and GNECrossing.
|
inlineinherited |
check if object ins't referenced
Definition at line 79 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
pure virtual |
unselect attribute carrier using GUIGlobalSelection
Implemented in GNEAdditional, GNEShape, and GNENetElement.
Referenced by GNEViewNet::onCmdRemoveSelected(), GNEViewNet::onLeftBtnPress(), GNEInspectorFrame::processClick(), GNEDialogACChooser::toggleSelection(), and ~GNEAttributeCarrier().
|
friend |
declare friend class
Definition at line 56 of file GNEAttributeCarrier.h.
Referenced by GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorEntry::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNEJunction::invalidateTLS(), GNEJunction::markAsModified(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNETAZSource::setAttribute(), GNERouteProbe::setAttribute(), GNETAZSink::setAttribute(), GNEClosingReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEDestProbReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEDetectorE2::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), and GNEJunction::setLogicValid().
|
staticprotected |
dummy TagProperty used for reference some elements (for Example, dummyEdge)
Definition at line 921 of file GNEAttributeCarrier.h.
Referenced by getTagProperties().
|
static |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 498 of file GNEAttributeCarrier.h.
|
static |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 492 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().
|
static |
Definition at line 489 of file GNEAttributeCarrier.h.
|
static |
feature has been manually modified (implies approval)
Definition at line 495 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().
|
protected |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 918 of file GNEAttributeCarrier.h.
Referenced by GNEShape::draw(), GNEAdditional::BlockIcon::draw(), GNEAccess::drawGL(), GNENetElement::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), GNEAdditional::isAttributeCarrierSelected(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), and GNEAdditional::unselectAttributeCarrier().
|
staticprivate |
map with the tags properties
Definition at line 928 of file GNEAttributeCarrier.h.
Referenced by allowedTags(), allowedTagsByCategory(), fillAttributeCarriers(), getHigherNumberOfAttributes(), getIcon(), and getTagProperties().
|
protected |
the xml tag to which this attribute carrier corresponds
Definition at line 915 of file GNEAttributeCarrier.h.
Referenced by GNEAdditional::addAdditionalChild(), GNEAdditional::changeAdditionalID(), GNEDetectorE2::drawGL(), GNENetElement::getHierarchyName(), getIcon(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNENetElement::getPopUpID(), GNEAdditional::getPopUpMenu(), getTagProperty(), getTagStr(), GNEAdditional::GNEAdditional(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidDetectorID(), GNEAdditional::removeAdditionalChild(), GNEAdditional::setDefaultValues(), GNEAdditional::sortAdditionalChilds(), GNEAdditional::startGeometryMoving(), and GNEAdditional::writeAdditional().