100 myFrameParent(frameParent) {
103 case GNEAttributeCarrier::TagType::TAGTYPE_NETELEMENT:
104 setText(
"Net elements");
106 case GNEAttributeCarrier::TagType::TAGTYPE_ADDITIONAL:
107 setText(
"Additional elements");
109 case GNEAttributeCarrier::TagType::TAGTYPE_SHAPE:
110 setText(
"Shape elements");
112 case GNEAttributeCarrier::TagType::TAGTYPE_TAZ:
113 setText(
"TAZ elements");
115 case GNEAttributeCarrier::TagType::TAGTYPE_VEHICLE:
118 case GNEAttributeCarrier::TagType::TAGTYPE_STOP:
121 case GNEAttributeCarrier::TagType::TAGTYPE_PERSON:
124 case GNEAttributeCarrier::TagType::TAGTYPE_PERSONPLAN:
125 setText(
"Person plans");
127 myListOfTagTypes.push_back(std::make_pair(
"person trips", GNEAttributeCarrier::TagType::TAGTYPE_PERSONTRIP));
128 myListOfTagTypes.push_back(std::make_pair(
"walks", GNEAttributeCarrier::TagType::TAGTYPE_WALK));
129 myListOfTagTypes.push_back(std::make_pair(
"rides", GNEAttributeCarrier::TagType::TAGTYPE_RIDE));
130 myListOfTagTypes.push_back(std::make_pair(
"stops", GNEAttributeCarrier::TagType::TAGTYPE_PERSONSTOP));
132 case GNEAttributeCarrier::TagType::TAGTYPE_PERSONTRIP:
133 setText(
"Person trips");
135 case GNEAttributeCarrier::TagType::TAGTYPE_WALK:
138 case GNEAttributeCarrier::TagType::TAGTYPE_RIDE:
141 case GNEAttributeCarrier::TagType::TAGTYPE_PERSONSTOP:
142 setText(
"Person stops");
153 if (myListOfTagTypes.size() > 0) {
155 for (
const auto& i : myListOfTagTypes) {
156 myTagTypesMatchBox->appendItem(i.first.c_str());
159 myTagTypesMatchBox->setNumVisible((
int)myTagTypesMatchBox->getNumItems());
163 myTagTypesMatchBox->hide();
169 for (
const auto& i : myListOfTags) {
170 myTagsMatchBox->appendItem(
toString(i).c_str());
173 myTagsMatchBox->setNumVisible((
int)myTagsMatchBox->getNumItems());
281 WRITE_DEBUG(
"Selected invalid item in TagTypeSelector");
309 WRITE_DEBUG(
"Selected invalid item in TagSelector");
320 myCurrentDemandElement(nullptr),
321 myDemandElementTags({demandElementTag}) {
336 for (
const auto& i : tagTypes) {
358 const std::vector<SumoXMLTag>&
468 for (
auto i = myDemandElementTags.begin(); (i != myDemandElementTags.end()) && (
myCurrentDemandElement ==
nullptr); i++) {
503 WRITE_DEBUG(
"Selected invalid item in DemandElementSelector");
515 mySelectedBusStop(nullptr),
516 myEdgePathCreatorModes(edgePathCreatorModes) {
538 std::string nameWithFirstCapitalizedLetter = name;
539 nameWithFirstCapitalizedLetter[0] = (char)toupper(nameWithFirstCapitalizedLetter.at(0));
540 setText((nameWithFirstCapitalizedLetter +
" creator").c_str());
564 myClickedEdges.clear();
584 std::vector<GNEEdge*>
612 WRITE_DEBUG(
"Duplicated consecutive edges aren't allowed");
618 if ((i.permissions &
myVClass) != 0) {
622 if (addEdge ==
false) {
678 myClickedEdges.clear();
802 for (
const auto& i : edge->
getLanes()) {
803 i->setSpecialColor(
nullptr);
815 myClickedAC(nullptr),
816 myClickedJunction(nullptr),
817 myClickedEdge(nullptr),
818 myClickedLane(nullptr),
819 myClickedCrossing(nullptr),
820 myClickedConnection(nullptr),
821 myClickedShape(nullptr),
822 myClickedAdditional(nullptr),
823 myClickedDemandElement(nullptr) {
878 FXEvent* e = (FXEvent*)eventData;
880 FXTreeItem* item =
myTreelist->getItemAt(e->win_x, e->win_y);
957 if (currentInspectedACs.size() == 1) {
976 GNEChange_Children::Operation::MOVE_BACK),
true);
992 GNEChange_Children::Operation::MOVE_FRONT),
true);
1017 FXMenuPane* pane =
new FXMenuPane(
myTreelist);
1021 new FXMenuSeparator(pane);
1026 centerMenuCommand->disable();
1034 inspectMenuCommand->disable();
1035 deleteMenuCommand->disable();
1040 new FXMenuSeparator(pane);
1046 moveUpMenuCommand->setText(
"Move up (Stops cannot be moved)");
1047 moveDownMenuCommand->setText(
"Move diwb (Stops cannot be moved)");
1048 moveUpMenuCommand->disable();
1049 moveDownMenuCommand->disable();
1053 moveUpMenuCommand->setText(
"Move up (It's already the first element)");
1054 moveUpMenuCommand->disable();
1056 moveUpMenuCommand->setText(
"Move up (Previous element is a Stop)");
1057 moveUpMenuCommand->disable();
1061 moveDownMenuCommand->setText(
"Move down (It's already the last element)");
1062 moveDownMenuCommand->disable();
1064 moveDownMenuCommand->setText(
"Move down (Next element is a Stop)");
1065 moveDownMenuCommand->disable();
1101 junctionDestinyItem->setExpanded(
true);
1106 return junctionDestinyItem;
1120 junctionDestinyItem->setExpanded(
true);
1123 edgeItem->setExpanded(
true);
1142 junctionItem->setExpanded(
true);
1146 return junctionItem;
1157 edgeFromItem->setExpanded(
true);
1160 edgeToItem->setExpanded(
true);
1163 connectionItem->setExpanded(
true);
1169 return connectionItem;
1188 junctionDestinyItem->setExpanded(
true);
1191 edgeItem->setExpanded(
true);
1194 laneItem->setExpanded(
true);
1210 FXTreeItem* root =
nullptr;
1273 if (demandElement) {
1275 FXTreeItem* root =
nullptr;
1351 FXTreeItem* junctionItem =
addListItem(AC, itemParent);
1368 FXTreeItem* edgeItem =
addListItem(AC, itemParent);
1370 for (
const auto& i : edge->
getLanes()) {
1399 FXTreeItem* laneItem =
addListItem(AC, itemParent);
1416 FXTreeItem* incomingConnections =
addListItem(laneItem,
"Incomings", incomingLaneConnections.front()->getIcon(),
false);
1418 for (
auto i : incomingLaneConnections) {
1426 FXTreeItem* outgoingConnections =
addListItem(laneItem,
"Outgoing", outcomingLaneConnections.front()->getIcon(),
false);
1428 for (
auto i : outcomingLaneConnections) {
1452 FXTreeItem* additionalItem =
addListItem(AC, itemParent);
1477 if (demandElement) {
1479 FXTreeItem* demandElementItem =
addListItem(AC, itemParent);
1512 item->setExpanded(
true);
1521 FXTreeItem* item =
myTreelist->insertItem(
nullptr, itemParent, text.c_str(), icon, icon);
1523 item->setExpanded(expanded);
1535 myDeleteLastCreatedPoint(false) {
1542 std::ostringstream information;
1544 <<
"- 'Start drawing' or ENTER\n" 1545 <<
" draws shape boundary.\n" 1546 <<
"- 'Stop drawing' or ENTER\n" 1547 <<
" creates shape.\n" 1548 <<
"- 'Shift + Click'\n" 1549 <<
" removes last created point.\n" 1550 <<
"- 'Abort drawing' or ESC\n" 1551 <<
" removes drawed shape.";
1625 throw ProcessError(
"A new point cannot be added if drawing wasn't started");
1732 for (
auto i : listOfTags) {
1733 if (i == additionalType) {
int myEdgePathCreatorModes
current edge path creator modes
~EdgePathCreator()
destructor
const AttributeCarriers & getAttributeCarriers() const
retrieve all attribute carriers of Net
long onCmdRemoveLastInsertedElement(FXObject *, FXSelector, void *)
Called when the user click over button "Remove las inserted edge/busStop".
virtual void tagSelected()
Tag selected in TagSelector.
bool isPersonStop() const
return true if tag correspond to a person stop element
FXButton * myStopDrawingButton
button for stop drawing
static const TagProperties & getTagProperties(SumoXMLTag tag)
get Tag Properties
void removeLastInsertedElement()
remove last added element (either a BusStop or an edge)
std::vector< GNEEdge * > calculateDijkstraRoute(SUMOVehicleClass vClass, const std::vector< GNEEdge *> &partialEdges) const
calculate Dijkstra route between a list of partial edges
SumoXMLTag
Numbers representing SUMO-XML - element names.
GNEInspectorFrame * getInspectorFrame() const
get frame for GNE_NMODE_INSPECT
#define GUIDesignComboBoxNCol
number of column of every combo box
GNEFrame * myFrameParent
pointer to frame Parent
GNEEdge * retrieveEdge(const std::string &id, bool failHard=true)
get edge by id
FXComboBox * myDemandElementsMatchBox
comboBox with the list of elements type
long onCmdAbortRouteCreation(FXObject *, FXSelector, void *)
FXLabel * myInformationLabel
Label with information.
description of a vehicle type
void setDemandElement(GNEDemandElement *demandElement)
set current demand element
EdgePathCreator()
FOX needs this.
bool isDemandElementSelectorShown() const
check if demand element selector is shown
void showTagSelector()
show item selector
void createPopUpMenu(int X, int Y, GNEAttributeCarrier *clickedAC)
GNEAttributeCarrier * myClickedAC
pointer to current clicked Attribute Carrier
begin/end of the description of a junction
begin/end of the description of a single lane
void finishEdgePathCreation()
finish edge path creation
AttributeCarrierHierarchy()
FOX needs this.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
void update() const
Mark the entire GNEViewNet to be repainted later.
a flow definitio nusing a from-to edges instead of a route (used by router)
void refreshDemandElementSelector()
refresh demand element selector
DemandElementSelector()
FOX needs this.
void setVClass(SUMOVehicleClass vClass)
set SUMOVehicleClass
In AttributeCarrierHierarchy list, move element to down.
In AttributeCarrierHierarchy list, move element to up.
bool showSelectorParentModul(SumoXMLTag additionalTypeParent)
Show list of SelectorParent Modul.
bool isDrawing() const
return true if currently a shape is drawed
bool isDemandElement() const
return true if tag correspond to a demand element
long onCmdShowChildMenu(FXObject *, FXSelector, void *data)
bool getDeleteLastCreatedPoint()
get flag delete last created point
void deleteDemandElement(GNEDemandElement *demandElement, GNEUndoList *undoList)
remove demand element
std::map< SumoXMLTag, std::map< std::string, GNEAdditional * > > additionals
map with the name and pointer to additional elements of net
connectio between two lanes
const std::vector< GNEEdge * > & getEdgeChildren() const
get edge chidls
GNEViewParent * getViewParent() const
get the net object
GNEConnection * retrieveConnection(const std::string &id, bool failHard=true) const
get Connection by id
struct with the attribute Properties
GNEDemandElement * myClickedDemandElement
demand element (casted from myClickedAC)
~DemandElementSelector()
destructor
void showEdgePathCreator()
show EdgePathCreator
void showDrawingShape()
show Drawing mode
std::vector< GNEEdge * > myClickedEdges
current clicked edges
GNEPOI * retrievePOI(const std::string &id, bool failHard=true) const
get POI by id
void inspectSingleElement(GNEAttributeCarrier *AC)
Inspect a single element.
GNELane * myClickedLane
lane (casted from myClickedAC)
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the Tree items with their AC
FXButton * myStartDrawingButton
button for start drawing
const RGBColor & getEdgeCandidateSelectedColor() const
get selected color
const std::vector< GNELane * > & getLaneChildren() const
get lanes of VSS
void addNewPoint(const Position &P)
add new point to temporal shape
long onCmdInspectItem(FXObject *, FXSelector, void *)
called when user click over option "inspect" of child menu
void setIDSelected(const std::string &id)
select manually a element of the list
const std::string & getTagStr() const
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toS...
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
void deleteShape(GNEShape *shape, GNEUndoList *undoList)
remove shape
static std::vector< SumoXMLTag > allowedTagsByCategory(int tagPropertyCategory, bool onlyDrawables)
get tags of all editable element types using TagProperty Type (TAGTYPE_NETELEMENT, TAGTYPE_ADDITIONAL, etc.)
static const RGBColor ORANGE
FXIcon * getIcon() const
get FXIcon associated to this AC
void deleteConnection(GNEConnection *connection, GNEUndoList *undoList)
remove connection
void removeLastPoint()
remove last added point
void showDemandElementSelector()
show demand element selector
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
void p_begin(const std::string &description)
Begin undo command sub-group. This begins a new group of commands that are treated as a single comman...
const std::vector< NBEdge::Lane > & getLanes() const
Returns the lane definitions.
GNEFrame * myFrameParent
pointer to Frame Parent
const std::string DEFAULT_BIKETYPE_ID
bool addBusStop(GNEAdditional *busStop)
add busStop to route
remove last inserted element in path
PositionVector myTemporalShapeShape
current drawed shape
bool isNetElement() const
return true if tag correspond to a netElement
bool addEdge(GNEEdge *edge)
add edge to route
#define GUIDesignTreeListFrame
Tree list used in frames to represent elements children.
In AttributeCarrierHierarchy list, show child menu.
std::vector< std::pair< std::string, GNEAttributeCarrier::TagType > > myListOfTagTypes
list of tags types that will be shown in Match Box
const std::string DEFAULT_VTYPE_ID
const std::vector< GNEEdge * > & getGNEEdges() const
Returns all GNEEdges vinculated with this Junction.
long onCmdCenterItem(FXObject *, FXSelector, void *)
called when user click over option "center" of child Menu
GNEShape * myClickedShape
shape (casted from myClickedAC)
SumoXMLTag myParentTag
current additional parent tag
const AdditionalGeometry & getAdditionalGeometry() const
obtain AdditionalGeometry
const std::vector< GNEAdditional * > & getAdditionalChildren() const
return vector of additionals that have as Parent this edge (For example, Calibrators) ...
~DrawingShape()
destructor
long onCmdMoveItemDown(FXObject *, FXSelector, void *)
called when user click over option "Move down" of child menu
GNEViewNet * getViewNet() const
get view net
long onCmdDeleteItem(FXObject *, FXSelector, void *)
called when user click over option "delete" of child menu
static RouteCalculator * getRouteCalculatorInstance()
obtain instance of RouteCalculator
begin/end of the description of a route
#define WRITE_WARNING(msg)
void enableUndoRedo()
disable undo-redo
Position getLineCenter() const
get line center
GNEEdge * getEdgeTo() const
get the name of the edge the vehicles may reach when leaving "from"
const std::vector< GNEEdge * > & getEdgeParents() const
get edge parents
const std::vector< GNEDemandElement * > & getDemandElementChildren() const
return vector of demand elements that have as Parent this edge (For example, Calibrators) ...
const std::vector< GNEShape * > & getShapeChildren() const
get shapes of VSS
void disableUndoRedo(const std::string &reason)
disable undo-redo giving a string with the reason
#define GUIDesignComboBox
GNEViewNet * myViewNet
View Net.
void refreshAttributeCarrierHierarchy()
refresh AttributeCarrierHierarchy
void hideDrawingShape()
hide Drawing mode
GNEAdditional * retrieveAdditional(SumoXMLTag type, const std::string &id, bool hardFail=true) const
Returns the named additional.
NBEdge * getNBEdge() const
returns the internal NBEdge
const std::vector< GNECrossing * > & getGNECrossings() const
Returns GNECrossings.
long onCmdStartDrawing(FXObject *, FXSelector, void *)
GNEUndoList * getUndoList() const
get the undoList object
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections ...
void hideTagSelector()
hide item selector
virtual std::string getPopUpID() const =0
get PopPup ID (Used in AC Hierarchy)
GNEDemandElement * getCurrentDemandElement() const
get current demand element
FXTreeList * myTreelist
tree list to show the children of the element to erase
void setEdgePathCreatorModes(int edgePathCreatorModes)
set EdgePathCreatorModes
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
void deleteAdditional(GNEAdditional *additional, GNEUndoList *undoList)
remove additional
static void setColor(const RGBColor &c)
Sets the gl-color to this value.
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
GNEEdge & getParentEdge()
Returns underlying parent edge.
void deleteLane(GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
removes lane
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void setCurrentTagType(GNEAttributeCarrier::TagType tagType)
set current type manually
long onCmdSelectTag(FXObject *, FXSelector, void *)
Called when the user select an elementin ComboBox.
GNEFrame * myFrameParent
pointer to frame parent
GNEDemandElement * retrieveDemandElement(SumoXMLTag type, const std::string &id, bool hardFail=true) const
Returns the named demand element.
const std::set< GNEDemandElement * > & getSortedDemandElementChildrenByType(SumoXMLTag tag) const
return vector of demand elements that have as Parent this edge (For example, Calibrators) ...
const std::vector< SumoXMLTag > & getAllowedTags() const
GNEConnection * myClickedConnection
junction (casted from myClickedAC)
A point in 2D or 3D with translation and scaling methods.
void p_end()
End undo command sub-group. If the sub-group is still empty, it will be deleted; otherwise, the sub-group will be added as a new command into parent group. A matching begin() must have been called previously.
PositionVector shape
The shape of the additional element.
GNEJunction * retrieveJunction(const std::string &id, bool failHard=true)
get junction by id
Supermode currentSupermode
the current supermode
GNEEdge * getEdgeFrom() const
get the name of the edge the vehicles leave
std::string getIdSelected() const
get currently additional parent selected
void hideEdgePathCreator()
show EdgePathCreator
GNEFrameAttributesModuls::AttributesEditor * getAttributesEditor() const
get AttributesEditor
bool canBeSortedManually() const
return true if Tag correspond to an element that can be sorted within their parent ...
long onCmdAbortDrawing(FXObject *, FXSelector, void *)
Called when the user press abort drawing button.
void edgePathCreatorName(const std::string &name)
update EdgePathCreator name
GNEJunction * myClickedJunction
junction (casted from myClickedAC)
FXTreeItem * showAttributeCarrierParents()
show child of current attributeCarrier
void refreshTagProperties()
due myCurrentTagProperties is a Reference, we need to refresh it when frameParent is show ...
virtual void centerTo(GUIGlID id, bool applyZoom, double zoomDist=20)
centers to the chosen artifact
GNEDemandElement * myCurrentDemandElement
current demand element
void drawTemporalRoute() const
draw temporal route
const std::vector< GNELane * > & getLaneParents() const
get lanes of VSS
std::vector< GNEConnection * > getGNEIncomingConnections()
returns a vector with the incoming GNEConnections of this lane
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows
GNEJunction * getGNEJunctionDestiny() const
returns the destination-junction
void showAttributeCarrierChildren(GNEAttributeCarrier *AC, FXTreeItem *itemParent)
show child of current attributeCarrier
void showAttributeCarrierHierarchy(GNEAttributeCarrier *AC)
show AttributeCarrierHierarchy
const std::vector< GNELane * > & getLanes() const
returns a reference to the lane vector
const std::vector< GNEAdditional * > & getAdditionalParents() const
return vector of additionals that have as Parent this edge (For example, Calibrators) ...
finish edge path creation
GNEFrame * myFrameParent
pointer to GNEFrame Parent
bool isShape() const
return true if tag correspond to a shape
GUIMainWindow * getGUIMainWindow() const
get GUIMainWindow App
std::map< SumoXMLTag, std::map< std::string, GNEDemandElement * > > demandElements
map with the name and pointer to demand elements of net
FXLabel * myParentsLabel
Label with parent name.
bool isAdditional() const
return true if tag correspond to an additional
void deleteCrossing(GNECrossing *crossing, GNEUndoList *undoList)
remove crossing
const std::string getID() const
function to support debugging
SelectorParent(GNEFrame *frameParent)
constructor
bool isTAZ() const
return true if tag correspond to a TAZ
static void drawLine(const Position &beg, double rot, double visLength)
Draws a thin line.
tag type selected in ComboBox
virtual bool shapeDrawed()
build a shaped element using the drawed shape (can be reimplemented in frame children) ...
std::vector< GNEConnection * > getGNEOutcomingConnections()
returns a vector with the outgoing GNEConnections of this lane
void setSpecialColor(const RGBColor *color)
set special color
FXComboBox * myTagTypesMatchBox
comboBox with tag type
#define GUIDesignLabelFrameInformation
label extended over frame without thick and with text justify to left, used to show information in fr...
GNEJunction * getGNEJunctionSource() const
returns the source-junction
std::vector< SumoXMLTag > myListOfTags
list of tags that will be shown in Match Box
void restoreEdgeColor(const GNEEdge *edge)
restore colors of given edge
SUMOVehicleClass myVClass
VClass used for this trip.
vehicle is a passenger car (a "normal" car)
FXComboBox * myTagsMatchBox
comboBox with the list of tags
const PositionVector & getTemporalShape() const
get Temporal shape
void refreshSelectorParentModul()
Refresh list of Additional Parents Modul.
begin/end of the description of an edge
void startDrawing()
start drawing
DrawingShape()
FOX needs this.
long onCmdSelectDemandElement(FXObject *, FXSelector, void *)
A road/street connecting two junctions (netedit-version)
const std::vector< GNEDemandElement * > & getDemandElementParents() const
return vector of demand elements that have as Parent this edge (For example, Calibrators) ...
FXButton * myRemoveLastInsertedEdge
button for removing last inserted edge
void clearEdges()
clear edges (and restore colors)
GNECrossing * retrieveCrossing(const std::string &id, bool failHard=true) const
get Crossing by id
void hideAttributeCarrierHierarchy()
hide AttributeCarrierHierarchy
GNEAttributeCarrier::TagProperties myInvalidTagProperty
dummy tag properties used if user select an invalid tag
GNEAdditional * mySelectedBusStop
pointer to selected busStop
void deleteEdge(GNEEdge *edge, GNEUndoList *undoList, bool recomputeConnections)
removes edge
Flag to check if VType is a default VType.
long onCmdMoveItemUp(FXObject *, FXSelector, void *)
called when user click over option "Move up" of child menu
GNEFrame * myFrameParent
pointer to Frame Parent
std::vector< GNEEdge * > myTemporalRoute
vector with temporal route edges
GNEFrame * myFrameParent
Frame Parent.
bool isVehicleType() const
return true if tag correspond to a vehicle type element
An Element which don't belongs to GNENet but has influency in the simulation.
#define GUIDesignGroupBoxFrame
Group box design extended over frame.
const std::string DEFAULT_PEDTYPE_ID
const std::string & getTagStr() const
get tag assigned to this object in string format
Demanding mode (Routes, Vehicles etc..)
~AttributeCarrierHierarchy()
destructor
const GNEAttributeCarrier::TagProperties & getCurrentTagProperties() const
get current type tag
~SelectorParent()
destructor
crossing between edges for pedestrians
void deleteJunction(GNEJunction *junction, GNEUndoList *undoList)
removes junction and all incident edges
GNENet * getNet() const
get the net object
GUIGlID getGlID() const
Returns the numerical id of the object.
virtual GUIGlID getGlID() const =0
Returns the numerical id of the object.
GNEEdge * myClickedEdge
edge (casted from myClickedAC)
void setStatusBarText(const std::string &text)
set staturBar text
FXButton * myAbortDrawingButton
button for abort drawing
GNECrossing * myClickedCrossing
crossing (casted from myClickedAC)
virtual std::string getHierarchyName() const =0
get Hierarchy Name (Used in AC Hierarchy)
void inspectChild(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
inspect child of already inspected element
void abortDrawing()
abort drawing
const TagProperties & getTagProperty() const
get Tag Property assigned to this object
FXDEFMAP(GNEFrameModuls::TagSelector) TagSelectorMap[]
description of a person type (used in NETEDIT)
a single trip definition (used by router)
long onCmdFinishRouteCreation(FXObject *, FXSelector, void *)
Called when the user click over button "Finish route creation".
used to select a type of element in a combo box
void abortEdgePathCreation()
abort edge path creation
std::vector< SumoXMLTag > myDemandElementTags
demand element tags
void hideDemandElementSelector()
hide demand element selector
long onCmdStopDrawing(FXObject *, FXSelector, void *)
Called when the user press stop drawing button.
void setCurrentTag(SumoXMLTag newTag)
set current type manually
GNEAdditional * myClickedAdditional
additional (casted from myClickedAC)
FXTreeItem * addListItem(GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="")
add item into list
FXButton * myAbortCreationButton
button for abort route creation
void hideSelectorParentModul()
hide SelectorParent Modul
GNEAttributeCarrier::TagProperties myCurrentTagProperties
current tag properties
virtual void edgePathCreated()
finish edge path creation
long onCmdSelectTagType(FXObject *, FXSelector, void *)
GNEAdditional * getClickedBusStop() const
get current clicked edges
#define GUIDesignListSingleElementFixedHeight
design for FXLists that only allow a single selected elements selected and height fixed ...
const GNEViewNetHelper::EditModes & getEditModes() const
get edit modes
begin/end of the description of a Point of interest over Lane (used by Netedit)
std::vector< GNEEdge * > getClickedEdges() const
get current clicked edges
Network mode (Edges, junctions, etc..)
const std::vector< GNEAttributeCarrier * > & getEditedACs() const
get current edited ACs
GNELane * retrieveLane(const std::string &id, bool failHard=true, bool checkVolatileChange=false)
get lane by id
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
void setDeleteLastCreatedPoint(bool value)
enable or disable delete last created point
virtual void demandElementSelected()
selected demand element in DemandElementSelector
virtual std::string getAttribute(SumoXMLAttr key) const =0
#define GUIDesignLabelLeftThick
label extended over frame with thick and with text justify to left and height of 23 ...
FXButton * myFinishCreationButton
button for finish route creation
FXList * myParentsList
List of parents.
An Element which don't belongs to GNENet but has influency in the simulation.
void stopDrawing()
stop drawing and check if shape can be created
GNEAttributeCarrier * myAC
Attribute carrier.
GNEJunction * getParentJunction() const
get parent Junction