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

#include <GNEFrameAttributesModuls.h>

Inheritance diagram for GNEFrameAttributesModuls::GenericParametersEditor:
Collaboration diagram for GNEFrameAttributesModuls::GenericParametersEditor:

Public Member Functions

 GenericParametersEditor (GNEFrame *frameParent)
 FOX-declaration. More...
 
std::string getGenericParametersStr () const
 get generic parameters as string More...
 
void hideGenericParametersEditor ()
 hide netedit attributes editor More...
 
void refreshGenericParametersEditor ()
 refresh netedit attributes More...
 
void showGenericParametersEditor (GNEAttributeCarrier *AC)
 show netedit attributes editor (used for edit generic parameters of an existent AC) More...
 
void showGenericParametersEditor (std::vector< GNEAttributeCarrier *> ACs)
 show netedit attributes editor (used for edit generic parameters of an existent list of AC) More...
 
 ~GenericParametersEditor ()
 destructor More...
 
FOX-callbacks

Called when user clicks over add generic parameter

long onCmdEditGenericParameter (FXObject *, FXSelector, void *)
 
long onCmdSetGenericParameter (FXObject *, FXSelector, void *)
 Called when user udpate the generic parameter text field. More...
 

Protected Member Functions

 GenericParametersEditor ()
 FOX needs this. More...
 

Private Attributes

GNEAttributeCarriermyAC
 edited Attribute Carrier More...
 
std::vector< GNEAttributeCarrier * > myACs
 list of edited ACs More...
 
FXButton * myEditGenericParameterButton
 button for add generic parameter More...
 
GNEFramemyFrameParent
 pointer to inspector frame parent More...
 
std::vector< std::pair< std::string, std::string > > * myGenericParameters
 pointer to current vector of generic parameters More...
 
FXTextField * myTextFieldGenericParameter
 text field for write generic parameter More...
 

Detailed Description

Definition at line 398 of file GNEFrameAttributesModuls.h.

Constructor & Destructor Documentation

◆ GenericParametersEditor() [1/2]

GNEFrameAttributesModuls::GenericParametersEditor::GenericParametersEditor ( GNEFrame frameParent)

◆ ~GenericParametersEditor()

GNEFrameAttributesModuls::GenericParametersEditor::~GenericParametersEditor ( )

destructor

Definition at line 1631 of file GNEFrameAttributesModuls.cpp.

References myGenericParameters.

◆ GenericParametersEditor() [2/2]

GNEFrameAttributesModuls::GenericParametersEditor::GenericParametersEditor ( )
inlineprotected

FOX needs this.

Definition at line 435 of file GNEFrameAttributesModuls.h.

Member Function Documentation

◆ getGenericParametersStr()

std::string GNEFrameAttributesModuls::GenericParametersEditor::getGenericParametersStr ( ) const

get generic parameters as string

Definition at line 1727 of file GNEFrameAttributesModuls.cpp.

References myGenericParameters.

Referenced by onCmdEditGenericParameter(), and onCmdSetGenericParameter().

◆ hideGenericParametersEditor()

void GNEFrameAttributesModuls::GenericParametersEditor::hideGenericParametersEditor ( )

hide netedit attributes editor

Definition at line 1681 of file GNEFrameAttributesModuls.cpp.

References myAC.

Referenced by GNEInspectorFrame::inspectMultisection().

◆ onCmdEditGenericParameter()

◆ onCmdSetGenericParameter()

◆ refreshGenericParametersEditor()

◆ showGenericParametersEditor() [1/2]

void GNEFrameAttributesModuls::GenericParametersEditor::showGenericParametersEditor ( GNEAttributeCarrier AC)

show netedit attributes editor (used for edit generic parameters of an existent AC)

Definition at line 1637 of file GNEFrameAttributesModuls.cpp.

References GNEAttributeCarrier::getGenericParameters(), myAC, myACs, myGenericParameters, and refreshGenericParametersEditor().

Referenced by GNEInspectorFrame::inspectMultisection().

◆ showGenericParametersEditor() [2/2]

void GNEFrameAttributesModuls::GenericParametersEditor::showGenericParametersEditor ( std::vector< GNEAttributeCarrier *>  ACs)

show netedit attributes editor (used for edit generic parameters of an existent list of AC)

Definition at line 1654 of file GNEFrameAttributesModuls.cpp.

References GNE_ATTR_GENERIC, myAC, myACs, myGenericParameters, and refreshGenericParametersEditor().

Field Documentation

◆ myAC

GNEAttributeCarrier* GNEFrameAttributesModuls::GenericParametersEditor::myAC
private

◆ myACs

std::vector<GNEAttributeCarrier*> GNEFrameAttributesModuls::GenericParametersEditor::myACs
private

◆ myEditGenericParameterButton

FXButton* GNEFrameAttributesModuls::GenericParametersEditor::myEditGenericParameterButton
private

button for add generic parameter

Definition at line 454 of file GNEFrameAttributesModuls.h.

Referenced by GenericParametersEditor(), and refreshGenericParametersEditor().

◆ myFrameParent

GNEFrame* GNEFrameAttributesModuls::GenericParametersEditor::myFrameParent
private

pointer to inspector frame parent

Definition at line 439 of file GNEFrameAttributesModuls.h.

Referenced by onCmdEditGenericParameter(), onCmdSetGenericParameter(), and refreshGenericParametersEditor().

◆ myGenericParameters

std::vector<std::pair<std::string, std::string> >* GNEFrameAttributesModuls::GenericParametersEditor::myGenericParameters
private

◆ myTextFieldGenericParameter

FXTextField* GNEFrameAttributesModuls::GenericParametersEditor::myTextFieldGenericParameter
private

text field for write generic parameter

Definition at line 451 of file GNEFrameAttributesModuls.h.

Referenced by GenericParametersEditor(), onCmdSetGenericParameter(), and refreshGenericParametersEditor().


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