Eclipse SUMO - Simulation of Urban MObility
GNEFrameAttributesModuls::NeteditAttributes Class Reference

#include <GNEFrameAttributesModuls.h>

Inheritance diagram for GNEFrameAttributesModuls::NeteditAttributes:
[legend]
Collaboration diagram for GNEFrameAttributesModuls::NeteditAttributes:
[legend]

Public Member Functions

bool getNeteditAttributesAndValues (std::map< SumoXMLAttr, std::string > &valuesMap, const GNELane *lane) const
 fill valuesMap with netedit attributes More...
 
void hideNeteditAttributesModul ()
 hide Netedit attributes modul More...
 
 NeteditAttributes (GNEFrame *frameParent)
 FOX-declaration. More...
 
void showNeteditAttributesModul (const GNETagProperties &tagValue)
 show Netedit attributes modul More...
 
 ~NeteditAttributes ()
 destructor More...
 
FOX-callbacks

Called when user changes some element of NeteditAttributes

long onCmdSetNeteditAttribute (FXObject *, FXSelector, void *)
 
long onCmdHelp (FXObject *, FXSelector, void *)
 Called when user press the help button. More...
 

Private Types

enum  AdditionalReferencePoint { GNE_ADDITIONALREFERENCEPOINT_LEFT , GNE_ADDITIONALREFERENCEPOINT_RIGHT , GNE_ADDITIONALREFERENCEPOINT_CENTER , GNE_ADDITIONALREFERENCEPOINT_INVALID }
 list of the reference points More...
 

Private Member Functions

double setEndPosition (double positionOfTheMouseOverLane, double lengthOfAdditional) const
 obtain the End position values of StoppingPlaces and E2 detector over the lane More...
 
double setStartPosition (double positionOfTheMouseOverLane, double lengthOfAdditional) const
 obtain the Start position values of StoppingPlaces and E2 detector over the lane More...
 

Private Attributes

FXButton * helpReferencePoint
 Button for help about the reference point. More...
 
AdditionalReferencePoint myActualAdditionalReferencePoint
 actual additional reference point selected in the match Box More...
 
FXCheckButton * myBlockMovementCheckButton
 checkBox for block movement More...
 
FXHorizontalFrame * myBlockMovementFrame
 horizontal frame for block movement More...
 
FXCheckButton * myBlockShapeCheckButton
 checkBox for block shape More...
 
FXHorizontalFrame * myBlockShapeFrame
 horizontal frame for block shape More...
 
FXCheckButton * myCenterViewAfterCreationButton
 checkbox to enable/disable center element after creation More...
 
FXHorizontalFrame * myCenterViewAfterCreationFrame
 horizontal frame for center view after creation frame More...
 
FXCheckButton * myCloseShapeCheckButton
 checkbox to enable/disable close polygon More...
 
FXHorizontalFrame * myCloseShapeFrame
 horizontal frame for close polygon More...
 
bool myCurrentLengthValid
 Flag to check if current length is valid. More...
 
GNEFramemyFrameParent
 pointer to frame parent More...
 
FXHorizontalFrame * myLengthFrame
 horizontal frame for length More...
 
FXTextField * myLengthTextField
 textField for length More...
 
FXComboBox * myReferencePointMatchBox
 match box with the list of reference points More...
 

Detailed Description

Definition at line 702 of file GNEFrameAttributesModuls.h.

Member Enumeration Documentation

◆ AdditionalReferencePoint

list of the reference points

Enumerator
GNE_ADDITIONALREFERENCEPOINT_LEFT 
GNE_ADDITIONALREFERENCEPOINT_RIGHT 
GNE_ADDITIONALREFERENCEPOINT_CENTER 
GNE_ADDITIONALREFERENCEPOINT_INVALID 

Definition at line 736 of file GNEFrameAttributesModuls.h.

Constructor & Destructor Documentation

◆ NeteditAttributes()

◆ ~NeteditAttributes()

GNEFrameAttributesModuls::NeteditAttributes::~NeteditAttributes ( )

destructor

Definition at line 2435 of file GNEFrameAttributesModuls.cpp.

Member Function Documentation

◆ getNeteditAttributesAndValues()

bool GNEFrameAttributesModuls::NeteditAttributes::getNeteditAttributesAndValues ( std::map< SumoXMLAttr, std::string > &  valuesMap,
const GNELane lane 
) const

◆ hideNeteditAttributesModul()

void GNEFrameAttributesModuls::NeteditAttributes::hideNeteditAttributesModul ( )

hide Netedit attributes modul

Definition at line 2490 of file GNEFrameAttributesModuls.cpp.

Referenced by GNEPersonFrame::demandElementSelected(), GNEStopFrame::demandElementSelected(), GNEStopFrame::show(), GNEPersonFrame::tagSelected(), GNEStopFrame::tagSelected(), GNEAdditionalFrame::tagSelected(), and GNEPolygonFrame::tagSelected().

Here is the caller graph for this function:

◆ onCmdHelp()

long GNEFrameAttributesModuls::NeteditAttributes::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

Called when user press the help button.

Definition at line 2622 of file GNEFrameAttributesModuls.cpp.

References ACCEPT, GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, MODEADDITIONAL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetNeteditAttribute()

long GNEFrameAttributesModuls::NeteditAttributes::onCmdSetNeteditAttribute ( FXObject *  obj,
FXSelector  ,
void *   
)

Definition at line 2557 of file GNEFrameAttributesModuls.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ setEndPosition()

double GNEFrameAttributesModuls::NeteditAttributes::setEndPosition ( double  positionOfTheMouseOverLane,
double  lengthOfAdditional 
) const
private

obtain the End position values of StoppingPlaces and E2 detector over the lane

Definition at line 2692 of file GNEFrameAttributesModuls.cpp.

◆ setStartPosition()

double GNEFrameAttributesModuls::NeteditAttributes::setStartPosition ( double  positionOfTheMouseOverLane,
double  lengthOfAdditional 
) const
private

obtain the Start position values of StoppingPlaces and E2 detector over the lane

Definition at line 2677 of file GNEFrameAttributesModuls.cpp.

◆ showNeteditAttributesModul()

void GNEFrameAttributesModuls::NeteditAttributes::showNeteditAttributesModul ( const GNETagProperties tagValue)

Field Documentation

◆ helpReferencePoint

FXButton* GNEFrameAttributesModuls::NeteditAttributes::helpReferencePoint
private

Button for help about the reference point.

Definition at line 786 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myActualAdditionalReferencePoint

AdditionalReferencePoint GNEFrameAttributesModuls::NeteditAttributes::myActualAdditionalReferencePoint
private

actual additional reference point selected in the match Box

Definition at line 792 of file GNEFrameAttributesModuls.h.

◆ myBlockMovementCheckButton

FXCheckButton* GNEFrameAttributesModuls::NeteditAttributes::myBlockMovementCheckButton
private

checkBox for block movement

Definition at line 765 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myBlockMovementFrame

FXHorizontalFrame* GNEFrameAttributesModuls::NeteditAttributes::myBlockMovementFrame
private

horizontal frame for block movement

Definition at line 762 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myBlockShapeCheckButton

FXCheckButton* GNEFrameAttributesModuls::NeteditAttributes::myBlockShapeCheckButton
private

checkBox for block shape

Definition at line 771 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myBlockShapeFrame

FXHorizontalFrame* GNEFrameAttributesModuls::NeteditAttributes::myBlockShapeFrame
private

horizontal frame for block shape

Definition at line 768 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myCenterViewAfterCreationButton

FXCheckButton* GNEFrameAttributesModuls::NeteditAttributes::myCenterViewAfterCreationButton
private

checkbox to enable/disable center element after creation

Definition at line 783 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myCenterViewAfterCreationFrame

FXHorizontalFrame* GNEFrameAttributesModuls::NeteditAttributes::myCenterViewAfterCreationFrame
private

horizontal frame for center view after creation frame

Definition at line 780 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myCloseShapeCheckButton

FXCheckButton* GNEFrameAttributesModuls::NeteditAttributes::myCloseShapeCheckButton
private

checkbox to enable/disable close polygon

Definition at line 777 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myCloseShapeFrame

FXHorizontalFrame* GNEFrameAttributesModuls::NeteditAttributes::myCloseShapeFrame
private

horizontal frame for close polygon

Definition at line 774 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myCurrentLengthValid

bool GNEFrameAttributesModuls::NeteditAttributes::myCurrentLengthValid
private

Flag to check if current length is valid.

Definition at line 789 of file GNEFrameAttributesModuls.h.

◆ myFrameParent

GNEFrame* GNEFrameAttributesModuls::NeteditAttributes::myFrameParent
private

pointer to frame parent

Definition at line 750 of file GNEFrameAttributesModuls.h.

◆ myLengthFrame

FXHorizontalFrame* GNEFrameAttributesModuls::NeteditAttributes::myLengthFrame
private

horizontal frame for length

Definition at line 756 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myLengthTextField

FXTextField* GNEFrameAttributesModuls::NeteditAttributes::myLengthTextField
private

textField for length

Definition at line 759 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().

◆ myReferencePointMatchBox

FXComboBox* GNEFrameAttributesModuls::NeteditAttributes::myReferencePointMatchBox
private

match box with the list of reference points

Definition at line 753 of file GNEFrameAttributesModuls.h.

Referenced by NeteditAttributes().


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