SUMO - Simulation of Urban MObility
GNEAdditionalFrame::SelectorParentAdditional Class Reference

#include <GNEAdditionalFrame.h>

Inheritance diagram for GNEAdditionalFrame::SelectorParentAdditional:
Inheritance graph
Collaboration diagram for GNEAdditionalFrame::SelectorParentAdditional:
Collaboration graph

Public Member Functions

std::string getIdSelected () const
 get if currently additional Set More...
 
void hideListOfAdditionals ()
 hide SelectorParentAdditional More...
 
 SelectorParentAdditional (FXComposite *parent, GNEViewNet *viewNet)
 FOX-declaration. More...
 
void showListOfAdditionals (SumoXMLTag type, bool uniqueSelection)
 Show list of SelectorParentAdditional. More...
 
 ~SelectorParentAdditional ()
 destructor More...
 
FOX-callbacks

called when user select an SelectorParentAdditional of the list

long onCmdSelectAdditionalParent (FXObject *, FXSelector, void *)
 
long onCmdHelp (FXObject *, FXSelector, void *)
 Called when help button is pressed. More...
 

Protected Member Functions

 SelectorParentAdditional ()
 FOX needs this. More...
 

Private Attributes

FXButton * myHelpAdditionalParentSelector
 button for help More...
 
FXList * myList
 List of additional sets. More...
 
FXLabel * mySetLabel
 Label with the name of additional. More...
 
bool myUniqueSelection
 flag to check if only a single parent is allowed More...
 
GNEViewNetmyViewNet
 viewNet associated to GNEAdditionalFrame More...
 

Detailed Description

Definition at line 416 of file GNEAdditionalFrame.h.

Constructor & Destructor Documentation

◆ SelectorParentAdditional() [1/2]

GNEAdditionalFrame::SelectorParentAdditional::SelectorParentAdditional ( FXComposite *  parent,
GNEViewNet viewNet 
)

◆ ~SelectorParentAdditional()

GNEAdditionalFrame::SelectorParentAdditional::~SelectorParentAdditional ( )

destructor

Definition at line 1460 of file GNEAdditionalFrame.cpp.

◆ SelectorParentAdditional() [2/2]

GNEAdditionalFrame::SelectorParentAdditional::SelectorParentAdditional ( )
inlineprotected

FOX needs this.

Definition at line 447 of file GNEAdditionalFrame.h.

Member Function Documentation

◆ getIdSelected()

std::string GNEAdditionalFrame::SelectorParentAdditional::getIdSelected ( ) const

get if currently additional Set

Definition at line 1464 of file GNEAdditionalFrame.cpp.

References myList.

Referenced by GNEAdditionalFrame::addAdditional().

◆ hideListOfAdditionals()

void GNEAdditionalFrame::SelectorParentAdditional::hideListOfAdditionals ( )

◆ onCmdHelp()

long GNEAdditionalFrame::SelectorParentAdditional::onCmdHelp ( FXObject *  ,
FXSelector  ,
void *   
)

Called when help button is pressed.

Definition at line 1502 of file GNEAdditionalFrame.cpp.

◆ onCmdSelectAdditionalParent()

long GNEAdditionalFrame::SelectorParentAdditional::onCmdSelectAdditionalParent ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 1496 of file GNEAdditionalFrame.cpp.

◆ showListOfAdditionals()

void GNEAdditionalFrame::SelectorParentAdditional::showListOfAdditionals ( SumoXMLTag  type,
bool  uniqueSelection 
)

Field Documentation

◆ myHelpAdditionalParentSelector

FXButton* GNEAdditionalFrame::SelectorParentAdditional::myHelpAdditionalParentSelector
private

button for help

Definition at line 461 of file GNEAdditionalFrame.h.

Referenced by SelectorParentAdditional().

◆ myList

FXList* GNEAdditionalFrame::SelectorParentAdditional::myList
private

List of additional sets.

Definition at line 452 of file GNEAdditionalFrame.h.

Referenced by getIdSelected(), SelectorParentAdditional(), and showListOfAdditionals().

◆ mySetLabel

FXLabel* GNEAdditionalFrame::SelectorParentAdditional::mySetLabel
private

Label with the name of additional.

Definition at line 455 of file GNEAdditionalFrame.h.

Referenced by SelectorParentAdditional(), and showListOfAdditionals().

◆ myUniqueSelection

bool GNEAdditionalFrame::SelectorParentAdditional::myUniqueSelection
private

flag to check if only a single parent is allowed

Definition at line 458 of file GNEAdditionalFrame.h.

Referenced by showListOfAdditionals().

◆ myViewNet

GNEViewNet* GNEAdditionalFrame::SelectorParentAdditional::myViewNet
private

viewNet associated to GNEAdditionalFrame

Definition at line 464 of file GNEAdditionalFrame.h.

Referenced by showListOfAdditionals().


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