Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEDistributionFrame::DistributionRow Class Reference

#include <GNEDistributionFrame.h>

Inheritance diagram for GNEDistributionFrame::DistributionRow:
[legend]
Collaboration diagram for GNEDistributionFrame::DistributionRow:
[legend]

Public Member Functions

void destroy ()
 destroy DistributionRow (but don't delete)
 
 DistributionRow (DistributionValuesEditor *attributeEditorParent, GNEAttributeCarrier *AC)
 FOX-declaration.
 
void refreshRow ()
 refresh comboBox
 
FOX-callbacks
long onCmdSetProbability (FXObject *, FXSelector, void *)
 try to set new probability
 
long onCmdRemoveRow (FXObject *, FXSelector, void *)
 remove row
 

Private Member Functions

 DistributionRow (const DistributionRow &)=delete
 Invalidated copy constructor.
 
DistributionRowoperator= (const DistributionRow &src)=delete
 Invalidated assignment operator.
 

Private Attributes

GNEAttributeCarriermyAC = nullptr
 pointer to AC
 
MFXButtonTooltipmyDeleteRowButton = nullptr
 delete row button
 
DistributionValuesEditormyDistributionValuesEditorParent
 FOX need this.
 
FXLabel * myIconLabel = nullptr
 label
 
MFXTextFieldIconmyIDTextField = nullptr
 comboBox with ID
 
MFXTextFieldIconmyProbabilityTextField = nullptr
 textField to modify the probability attribute
 

Detailed Description

Definition at line 189 of file GNEDistributionFrame.h.

Constructor & Destructor Documentation

◆ DistributionRow() [1/2]

◆ DistributionRow() [2/2]

GNEDistributionFrame::DistributionRow::DistributionRow ( const DistributionRow )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ destroy()

void GNEDistributionFrame::DistributionRow::destroy ( )

destroy DistributionRow (but don't delete)

Definition at line 329 of file GNEDistributionFrame.cpp.

◆ onCmdRemoveRow()

long GNEDistributionFrame::DistributionRow::onCmdRemoveRow ( FXObject *  ,
FXSelector  ,
void *   
)

remove row

Definition at line 352 of file GNEDistributionFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetProbability()

long GNEDistributionFrame::DistributionRow::onCmdSetProbability ( FXObject *  ,
FXSelector  ,
void *   
)

try to set new probability

Definition at line 345 of file GNEDistributionFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

DistributionRow & GNEDistributionFrame::DistributionRow::operator= ( const DistributionRow src)
privatedelete

Invalidated assignment operator.

◆ refreshRow()

void GNEDistributionFrame::DistributionRow::refreshRow ( )

refresh comboBox

Definition at line 338 of file GNEDistributionFrame.cpp.

References SUMO_ATTR_PROB, and SUMO_ATTR_REFID.

Referenced by DistributionRow().

Here is the caller graph for this function:

Field Documentation

◆ myAC

GNEAttributeCarrier* GNEDistributionFrame::DistributionRow::myAC = nullptr
private

pointer to AC

Definition at line 223 of file GNEDistributionFrame.h.

◆ myDeleteRowButton

MFXButtonTooltip* GNEDistributionFrame::DistributionRow::myDeleteRowButton = nullptr
private

delete row button

Definition at line 226 of file GNEDistributionFrame.h.

Referenced by DistributionRow().

◆ myDistributionValuesEditorParent

DistributionValuesEditor* GNEDistributionFrame::DistributionRow::myDistributionValuesEditorParent
private

FOX need this.

pointer to DistributionValuesEditor parent

Definition at line 220 of file GNEDistributionFrame.h.

◆ myIconLabel

FXLabel* GNEDistributionFrame::DistributionRow::myIconLabel = nullptr
private

label

Definition at line 229 of file GNEDistributionFrame.h.

Referenced by DistributionRow().

◆ myIDTextField

MFXTextFieldIcon* GNEDistributionFrame::DistributionRow::myIDTextField = nullptr
private

comboBox with ID

Definition at line 232 of file GNEDistributionFrame.h.

Referenced by DistributionRow().

◆ myProbabilityTextField

MFXTextFieldIcon* GNEDistributionFrame::DistributionRow::myProbabilityTextField = nullptr
private

textField to modify the probability attribute

Definition at line 235 of file GNEDistributionFrame.h.

Referenced by DistributionRow().


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