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, GNEDemandElement *distributionReference)
 FOX-declaration.
MFXButtonTooltipgetDeleteRowButton () const
 get delete row button
GNEDemandElementgetDistributionReference () const
 get pointer to distributionReference
FOX-callbacks
long onCmdSetProbability (FXObject *, FXSelector, void *)
 try to set new probability

Private Member Functions

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

Private Attributes

MFXButtonTooltipmyDeleteRowButton = nullptr
 delete row button
GNEDemandElementmyDistributionReference = nullptr
 pointer to distributionReference
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 191 of file GNEDistributionFrame.h.

Constructor & Destructor Documentation

◆ DistributionRow() [1/2]

◆ DistributionRow() [2/2]

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

Invalidated copy constructor.

References DistributionRow().

Member Function Documentation

◆ destroy()

void GNEDistributionFrame::DistributionRow::destroy ( )

destroy DistributionRow (but don't delete)

Definition at line 336 of file GNEDistributionFrame.cpp.

◆ getDeleteRowButton()

MFXButtonTooltip * GNEDistributionFrame::DistributionRow::getDeleteRowButton ( ) const

get delete row button

Definition at line 351 of file GNEDistributionFrame.cpp.

References myDeleteRowButton.

◆ getDistributionReference()

GNEDemandElement * GNEDistributionFrame::DistributionRow::getDistributionReference ( ) const

get pointer to distributionReference

Definition at line 345 of file GNEDistributionFrame.cpp.

References myDistributionReference.

◆ onCmdSetProbability()

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

try to set new probability

Definition at line 357 of file GNEDistributionFrame.cpp.

References RGBColor::BLACK, RGBColor::BLUE, MFXUtils::getFXColor(), myDistributionReference, myDistributionValuesEditorParent, myProbabilityTextField, RGBColor::RED, and SUMO_ATTR_PROB.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

References DistributionRow().

Field Documentation

◆ myDeleteRowButton

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

delete row button

Definition at line 228 of file GNEDistributionFrame.h.

Referenced by DistributionRow(), and getDeleteRowButton().

◆ myDistributionReference

GNEDemandElement* GNEDistributionFrame::DistributionRow::myDistributionReference = nullptr
private

pointer to distributionReference

Definition at line 225 of file GNEDistributionFrame.h.

Referenced by DistributionRow(), getDistributionReference(), and onCmdSetProbability().

◆ myDistributionValuesEditorParent

DistributionValuesEditor* GNEDistributionFrame::DistributionRow::myDistributionValuesEditorParent
private

FOX need this.

pointer to DistributionValuesEditor parent

Definition at line 222 of file GNEDistributionFrame.h.

Referenced by DistributionRow(), and onCmdSetProbability().

◆ myIconLabel

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

label

Definition at line 231 of file GNEDistributionFrame.h.

Referenced by DistributionRow().

◆ myIDTextField

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

comboBox with ID

Definition at line 234 of file GNEDistributionFrame.h.

Referenced by DistributionRow().

◆ myProbabilityTextField

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

textField to modify the probability attribute

Definition at line 237 of file GNEDistributionFrame.h.

Referenced by DistributionRow(), and onCmdSetProbability().


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