 |
Eclipse SUMO - Simulation of Urban MObility
|
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
GNESelectorFrame * getSelectorFrame() const
get frame for GNE_NMODE_SELECT
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
A window containing a gl-object's parameter.
bool mySelected
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
const std::string getID() const
function to support debugging
A NBNetBuilder extended by visualisation and editing capabilities.
@ SUMO_TAG_LANE
begin/end of the description of a single lane
~GNENetElement()
Destructor.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
bool drawUsingSelectColor() const
check if attribute carrier must be drawn using selecting color.
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
SumoXMLTag
Numbers representing SUMO-XML - element names.
void closeBuilding(const Parameterised *p=0)
Closes the building of the table.
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
An special type of Attribute carrier that owns hierarchical elements.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void select(GUIGlID id, bool update=true)
Adds the object with the given id.
void mkItem(const char *name, bool dynamic, ValueSource< T > *src)
Adds a row which obtains its value from a ValueSource.
GUIGlID getGlID() const
Returns the numerical id of the object.
virtual std::string getAttribute(SumoXMLAttr key) const =0
@ SUMO_TAG_EDGE
begin/end of the description of an edge
@ GNE_SUPERMODE_NETWORK
Network mode (Edges, junctions, etc..)
Supermode currentSupermode
the current supermode
const TagProperties & myTagProperty
the xml tag to which this attribute carrier corresponds
virtual std::string generateChildID(SumoXMLTag childTag)=0
gererate a new ID for an element child
bool isAttributeCarrierSelected() const
check if attribute carrier is selected
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNEViewNet * getViewNet() const
get view net
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
@ SUMO_TAG_CROSSING
crossing between edges for pedestrians
GNENet * getNet() const
get Net in which this element is placed
GNENetElement(GNENet *net, const std::string &id, GUIGlObjectType type, SumoXMLTag tag)
Constructor.
@ SUMO_TAG_CONNECTION
connectio between two lanes
GUISelectedStorage gSelected
A global holder of selected objects.
An special type of Attribute carrier that owns hierarchical elements.
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
GNENet * myNet
the net to inform about updates
const GNEViewNetHelper::EditModes & getEditModes() const
get edit modes
void selectAttributeCarrier(bool changeFlag=true)
select attribute carrier using GUIGlobalSelection
void removeLockedObject(const GUIGlObjectType type)
set object unselected
const std::string & getTagStr() const
get tag assigned to this object in string format
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void deselect(GUIGlID id)
Deselects the object with the given id.
GNEViewParent * getViewParent() const
get the net object
LockGLObjectTypes * getLockGLObjectTypes() const
get selected items Modul
int getNumberOfAttributes() const
get number of attributes
void addedLockedObject(const GUIGlObjectType type)
set object selected