SUMO - Simulation of Urban MObility
GNEPolygonFrame::ShapeSelector Class Reference

#include <GNEPolygonFrame.h>

Inheritance diagram for GNEPolygonFrame::ShapeSelector:
Inheritance graph
Collaboration diagram for GNEPolygonFrame::ShapeSelector:
Collaboration graph

Public Member Functions

SumoXMLTag getCurrentShapeType () const
 get current shape type More...
 
void setCurrentShape (SumoXMLTag actualShapeType)
 set parameters depending of the given shapeType More...
 
 ShapeSelector (GNEPolygonFrame *shapeFrameParent)
 FOX-declaration. More...
 
 ~ShapeSelector ()
 destructor More...
 
FOX-callbacks

Called when the user select another shape Type

long onCmdselectAttributeCarrier (FXObject *, FXSelector, void *)
 

Protected Member Functions

 ShapeSelector ()
 FOX needs this. More...
 

Private Attributes

SumoXMLTag myCurrentShapeType
 actual shape type selected in the match Box More...
 
GNEPolygonFrame * myShapeFrameParent
 pointer to Shape Frame Parent More...
 
FXComboBox * myShapeMatchBox
 combo box with the list of shape elements More...
 

Detailed Description

Definition at line 61 of file GNEPolygonFrame.h.

Constructor & Destructor Documentation

◆ ShapeSelector() [1/2]

GNEPolygonFrame::ShapeSelector::ShapeSelector ( GNEPolygonFrame *  shapeFrameParent)

FOX-declaration.

constructor

Definition at line 86 of file GNEPolygonFrame.cpp.

References GNEAttributeCarrier::allowedShapeTags(), GUIDesignComboBox, GUIDesignComboBoxNCol, MID_GNE_SET_TYPE, and toString().

◆ ~ShapeSelector()

GNEPolygonFrame::ShapeSelector::~ShapeSelector ( )

destructor

Definition at line 111 of file GNEPolygonFrame.cpp.

◆ ShapeSelector() [2/2]

GNEPolygonFrame::ShapeSelector::ShapeSelector ( )
inlineprotected

FOX needs this.

Definition at line 86 of file GNEPolygonFrame.h.

Member Function Documentation

◆ getCurrentShapeType()

◆ onCmdselectAttributeCarrier()

long GNEPolygonFrame::ShapeSelector::onCmdselectAttributeCarrier ( FXObject *  ,
FXSelector  ,
void *   
)

◆ setCurrentShape()

Field Documentation

◆ myCurrentShapeType

SumoXMLTag GNEPolygonFrame::ShapeSelector::myCurrentShapeType
private

actual shape type selected in the match Box

Definition at line 96 of file GNEPolygonFrame.h.

Referenced by getCurrentShapeType(), and setCurrentShape().

◆ myShapeFrameParent

GNEPolygonFrame* GNEPolygonFrame::ShapeSelector::myShapeFrameParent
private

pointer to Shape Frame Parent

Definition at line 90 of file GNEPolygonFrame.h.

Referenced by setCurrentShape().

◆ myShapeMatchBox

FXComboBox* GNEPolygonFrame::ShapeSelector::myShapeMatchBox
private

combo box with the list of shape elements

Definition at line 93 of file GNEPolygonFrame.h.

Referenced by onCmdselectAttributeCarrier().


The documentation for this class was generated from the following files: