Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEFixAdditionalElements Class Reference

Dialog for edit rerouters. More...

#include <GNEFixAdditionalElements.h>

Inheritance diagram for GNEFixAdditionalElements:
[legend]
Collaboration diagram for GNEFixAdditionalElements:
[legend]

Data Structures

class  AdditionalList
 groupbox for list More...
 
class  ConsecutiveLaneOptions
 groupbox for group all radio buttons related to additionals with consecutive lanes More...
 
class  PositionOptions
 groupbox for group all radio buttons related to additionals with single lanes More...
 

Public Member Functions

 GNEFixAdditionalElements (GNEViewNet *viewNet, const std::vector< GNEAdditional * > &invalidSingleLaneAdditionals, const std::vector< GNEAdditional * > &invalidMultiLaneAdditionals)
 FOX-declaration.
 
 ~GNEFixAdditionalElements ()
 destructor
 
FOX-callbacks

event when user select a option

long onCmdSelectOption (FXObject *obj, FXSelector, void *)
 
long onCmdAccept (FXObject *, FXSelector, void *)
 event after press accept button
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button
 

Protected Attributes

AdditionalListmyAdditionalList
 Additional List.
 
FXButton * myCancelButton
 cancel button
 
ConsecutiveLaneOptionsmyConsecutiveLaneOptions
 consecutive lane options
 
FXButton * myKeepOldButton
 accept button
 
FXVerticalFrame * myMainFrame
 main
 
PositionOptionsmyPositionOptions
 position options
 
GNEViewNetmyViewNet
 view net
 

Private Member Functions

 GNEFixAdditionalElements (const GNEFixAdditionalElements &)=delete
 Invalidated copy constructor.
 
GNEFixAdditionalElementsoperator= (const GNEFixAdditionalElements &)=delete
 Invalidated assignment operator.
 

Detailed Description

Dialog for edit rerouters.

Definition at line 40 of file GNEFixAdditionalElements.h.

Constructor & Destructor Documentation

◆ GNEFixAdditionalElements() [1/2]

GNEFixAdditionalElements::GNEFixAdditionalElements ( GNEViewNet viewNet,
const std::vector< GNEAdditional * > &  invalidSingleLaneAdditionals,
const std::vector< GNEAdditional * > &  invalidMultiLaneAdditionals 
)

◆ ~GNEFixAdditionalElements()

GNEFixAdditionalElements::~GNEFixAdditionalElements ( )

destructor

Definition at line 79 of file GNEFixAdditionalElements.cpp.

◆ GNEFixAdditionalElements() [2/2]

GNEFixAdditionalElements::GNEFixAdditionalElements ( const GNEFixAdditionalElements )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ onCmdAccept()

◆ onCmdCancel()

long GNEFixAdditionalElements::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)

event after press cancel button

Definition at line 176 of file GNEFixAdditionalElements.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSelectOption()

long GNEFixAdditionalElements::onCmdSelectOption ( FXObject *  obj,
FXSelector  ,
void *   
)

Definition at line 84 of file GNEFixAdditionalElements.cpp.

References myConsecutiveLaneOptions, myPositionOptions, GNEFixAdditionalElements::PositionOptions::selectOption(), and GNEFixAdditionalElements::ConsecutiveLaneOptions::selectOption().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

GNEFixAdditionalElements & GNEFixAdditionalElements::operator= ( const GNEFixAdditionalElements )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myAdditionalList

AdditionalList* GNEFixAdditionalElements::myAdditionalList
protected

Additional List.

Definition at line 148 of file GNEFixAdditionalElements.h.

Referenced by onCmdAccept().

◆ myCancelButton

FXButton* GNEFixAdditionalElements::myCancelButton
protected

cancel button

Definition at line 160 of file GNEFixAdditionalElements.h.

◆ myConsecutiveLaneOptions

ConsecutiveLaneOptions* GNEFixAdditionalElements::myConsecutiveLaneOptions
protected

consecutive lane options

Definition at line 154 of file GNEFixAdditionalElements.h.

Referenced by onCmdAccept(), and onCmdSelectOption().

◆ myKeepOldButton

FXButton* GNEFixAdditionalElements::myKeepOldButton
protected

accept button

Definition at line 157 of file GNEFixAdditionalElements.h.

◆ myMainFrame

FXVerticalFrame* GNEFixAdditionalElements::myMainFrame
protected

main

Definition at line 145 of file GNEFixAdditionalElements.h.

◆ myPositionOptions

PositionOptions* GNEFixAdditionalElements::myPositionOptions
protected

position options

Definition at line 151 of file GNEFixAdditionalElements.h.

Referenced by onCmdAccept(), and onCmdSelectOption().

◆ myViewNet

GNEViewNet* GNEFixAdditionalElements::myViewNet
protected

view net

Definition at line 142 of file GNEFixAdditionalElements.h.

Referenced by onCmdAccept().


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