 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
40 {}, {}, {}, {rerouterIntervalDialog->getEditedAdditional()}, {}, {}, {}, {}, {}, {}),
41 myClosedLane(rerouterIntervalDialog->getEditedAdditional()->getAdditionalParents().at(0)->getEdgeChildren().at(0)->getLanes().at(0)) {
49 {}, {}, {}, {rerouterIntervalParent}, {}, {}, {}, {}, {}, {}),
50 myClosedLane(closedLane),
51 myPermissions(permissions) {
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
An Element which don't belongs to GNENet but has influency in the simulation.
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
const std::string & getAdditionalID() const
const std::string getID() const
function to support debugging
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
GNELane * myClosedLane
closed lane
std::string getAttribute(SumoXMLAttr key) const
static bool isGenericParametersValid(const std::string &value)
check if given string can be parsed to a map/list of generic parameters
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void changeAdditionalID(const std::string &newID)
change ID of additional
GNEViewNet * myViewNet
The GNEViewNet this additional element belongs.
friend class GNEChange_Attribute
declare friend class
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
GNENet * getNet() const
get the net object
SVCPermissions parseVehicleClasses(const std::string &allowedS)
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes g...
~GNEClosingLaneReroute()
destructor
bool canParseVehicleClasses(const std::string &classes)
Checks whether the given string contains only known vehicle classes.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
std::string getParentName() const
Returns the name of the parent object.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
A class that stores a 2D geometrical boundary.
const std::string & getVehicleClassNames(SVCPermissions permissions, bool expand)
Returns the ids of the given classes, divided using a ' '.
A point in 2D or 3D with translation and scaling methods.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
SVCPermissions myPermissions
Position getPositionInView() const
Returns position of additional in view.
const std::vector< GNEAdditional * > & getAdditionalParents() const
return vector of additionals that have as Parent this edge (For example, Calibrators)
std::string getGenericParametersStr() const
return generic parameters in string format
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNELane * retrieveLane(const std::string &id, bool failHard=true, bool checkVolatileChange=false)
get lane by id
lane of a reroute of type closing
const std::string & getTagStr() const
get tag assigned to this object in string format
Stores the information about how to visualize structures.
GNEClosingLaneReroute(GNERerouterIntervalDialog *rerouterIntervalDialog)
constructor (Used in GNERerouterIntervalDialog)
bool isValidAdditionalID(const std::string &newID) const
check if a new additional ID is valid
SVCPermissions invertPermissions(SVCPermissions permissions)
negate the given permissions and ensure that only relevant bits are set
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void updateGeometry()
update pre-computed geometry information
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Dialog for edit rerouter intervals.
parent of an additional element