Eclipse SUMO - Simulation of Urban MObility
GNETAZFrame::TAZSelectionStatistics Class Reference

#include <GNETAZFrame.h>

Inheritance diagram for GNETAZFrame::TAZSelectionStatistics:
[legend]
Collaboration diagram for GNETAZFrame::TAZSelectionStatistics:
[legend]

Public Member Functions

void clearSelectedEdges ()
 clear current TAZ children More...
 
const std::vector< TAZCurrent::TAZEdge > & getEdgeAndTAZChildrenSelected () const
 get map with edge and TAZChildren More...
 
void hideTAZSelectionStatisticsModul ()
 hide TAZ Selection Statistics Modul More...
 
bool isEdgeSelected (GNEEdge *edge)
 check if an edge is selected More...
 
bool selectEdge (const TAZCurrent::TAZEdge &edge)
 add an edge and their TAZ Children in the list of selected items More...
 
void showTAZSelectionStatisticsModul ()
 show TAZ Selection Statistics Modul More...
 
 TAZSelectionStatistics (GNETAZFrame *TAZFrameParent)
 FOX-declaration. More...
 
bool unselectEdge (GNEEdge *edge)
 un select an edge (and their TAZ Children) More...
 
 ~TAZSelectionStatistics ()
 destructor More...
 
FOX-callbacks

Called when the user set a new value

long onCmdSetNewValues (FXObject *obj, FXSelector, void *)
 
long onCmdSelectEdges (FXObject *obj, FXSelector, void *)
 Called when the user press select edges. More...
 

Protected Member Functions

void updateStatistics ()
 update TAZSelectionStatistics More...
 

Private Attributes

std::vector< TAZCurrent::TAZEdgemyEdgeAndTAZChildrenSelected
 vector with the current selected edges and their associated children More...
 
FXLabel * myStatisticsLabel
 Statistics labels. More...
 
GNETAZFramemyTAZFrameParent
 pointer to TAZFrame parent More...
 
FXHorizontalFrame * myTAZSinkFrame
 Horizontal Frame for default TAZ Sink Weight. More...
 
FXHorizontalFrame * myTAZSourceFrame
 Horizontal Frame for default TAZ Source Weight. More...
 
FXTextField * myTextFieldTAZSinkWeight
 textField for TAZ Sink weight More...
 
FXTextField * myTextFieldTAZSourceWeight
 textField for TAZ Source weight More...
 

Detailed Description

Definition at line 311 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ TAZSelectionStatistics()

◆ ~TAZSelectionStatistics()

GNETAZFrame::TAZSelectionStatistics::~TAZSelectionStatistics ( )

destructor

Definition at line 801 of file GNETAZFrame.cpp.

Member Function Documentation

◆ clearSelectedEdges()

void GNETAZFrame::TAZSelectionStatistics::clearSelectedEdges ( )

clear current TAZ children

Definition at line 878 of file GNETAZFrame.cpp.

Referenced by GNEApplicationWindow::onCmdAbort(), and GNETAZFrame::processClick().

Here is the caller graph for this function:

◆ getEdgeAndTAZChildrenSelected()

const std::vector< GNETAZFrame::TAZCurrent::TAZEdge > & GNETAZFrame::TAZSelectionStatistics::getEdgeAndTAZChildrenSelected ( ) const

get map with edge and TAZChildren

Definition at line 891 of file GNETAZFrame.cpp.

Referenced by GNEApplicationWindow::onCmdAbort().

Here is the caller graph for this function:

◆ hideTAZSelectionStatisticsModul()

void GNETAZFrame::TAZSelectionStatistics::hideTAZSelectionStatisticsModul ( )

hide TAZ Selection Statistics Modul

Definition at line 813 of file GNETAZFrame.cpp.

References GNETAZFrame::hide().

◆ isEdgeSelected()

bool GNETAZFrame::TAZSelectionStatistics::isEdgeSelected ( GNEEdge edge)

check if an edge is selected

Definition at line 865 of file GNETAZFrame.cpp.

Referenced by GNETAZFrame::processClick(), and GNETAZFrame::processEdgeSelection().

Here is the caller graph for this function:

◆ onCmdSelectEdges()

long GNETAZFrame::TAZSelectionStatistics::onCmdSelectEdges ( FXObject *  obj,
FXSelector  ,
void *   
)

Called when the user press select edges.

Definition at line 952 of file GNETAZFrame.cpp.

References GNE_ATTR_SELECTED.

◆ onCmdSetNewValues()

long GNETAZFrame::TAZSelectionStatistics::onCmdSetNewValues ( FXObject *  obj,
FXSelector  ,
void *   
)

Definition at line 897 of file GNETAZFrame.cpp.

References SUMO_ATTR_WEIGHT.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ selectEdge()

bool GNETAZFrame::TAZSelectionStatistics::selectEdge ( const TAZCurrent::TAZEdge edge)

add an edge and their TAZ Children in the list of selected items

Definition at line 821 of file GNETAZFrame.cpp.

References GNETAZFrame::TAZCurrent::TAZEdge::edge.

Referenced by GNETAZFrame::processClick(), and GNETAZFrame::processEdgeSelection().

Here is the caller graph for this function:

◆ showTAZSelectionStatisticsModul()

void GNETAZFrame::TAZSelectionStatistics::showTAZSelectionStatisticsModul ( )

show TAZ Selection Statistics Modul

Definition at line 805 of file GNETAZFrame.cpp.

References GNEFrame::show().

◆ unselectEdge()

bool GNETAZFrame::TAZSelectionStatistics::unselectEdge ( GNEEdge edge)

un select an edge (and their TAZ Children)

Definition at line 841 of file GNETAZFrame.cpp.

◆ updateStatistics()

void GNETAZFrame::TAZSelectionStatistics::updateStatistics ( )
protected

update TAZSelectionStatistics

Definition at line 981 of file GNETAZFrame.cpp.

References joinToString(), and toString().

Field Documentation

◆ myEdgeAndTAZChildrenSelected

std::vector<TAZCurrent::TAZEdge> GNETAZFrame::TAZSelectionStatistics::myEdgeAndTAZChildrenSelected
private

vector with the current selected edges and their associated children

Definition at line 378 of file GNETAZFrame.h.

◆ myStatisticsLabel

FXLabel* GNETAZFrame::TAZSelectionStatistics::myStatisticsLabel
private

Statistics labels.

Definition at line 375 of file GNETAZFrame.h.

Referenced by TAZSelectionStatistics().

◆ myTAZFrameParent

GNETAZFrame* GNETAZFrame::TAZSelectionStatistics::myTAZFrameParent
private

pointer to TAZFrame parent

Definition at line 360 of file GNETAZFrame.h.

◆ myTAZSinkFrame

FXHorizontalFrame* GNETAZFrame::TAZSelectionStatistics::myTAZSinkFrame
private

Horizontal Frame for default TAZ Sink Weight.

Definition at line 369 of file GNETAZFrame.h.

Referenced by TAZSelectionStatistics().

◆ myTAZSourceFrame

FXHorizontalFrame* GNETAZFrame::TAZSelectionStatistics::myTAZSourceFrame
private

Horizontal Frame for default TAZ Source Weight.

Definition at line 363 of file GNETAZFrame.h.

Referenced by TAZSelectionStatistics().

◆ myTextFieldTAZSinkWeight

FXTextField* GNETAZFrame::TAZSelectionStatistics::myTextFieldTAZSinkWeight
private

textField for TAZ Sink weight

Definition at line 372 of file GNETAZFrame.h.

Referenced by TAZSelectionStatistics().

◆ myTextFieldTAZSourceWeight

FXTextField* GNETAZFrame::TAZSelectionStatistics::myTextFieldTAZSourceWeight
private

textField for TAZ Source weight

Definition at line 366 of file GNETAZFrame.h.

Referenced by TAZSelectionStatistics().


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