Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEViewNetHelper::IntervalBar Class Reference

class used to group all variables related to interval bar More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::IntervalBar:
[legend]

Public Member Functions

void buildIntervalBarElements ()
 build interval bar elements
 
void hideIntervalBar ()
 hide all options menu checks
 
 IntervalBar (GNEViewNet *viewNet)
 default constructor
 
void markForUpdate ()
 
void showIntervalBar ()
 show interval option bar
 
void updateIntervalBar ()
 update interval bar
 
get functions (called by GNEViewNet)
SumoXMLTag getGenericDataType () const
 get generic data type
 
GNEDataSetgetDataSet () const
 get dataSet
 
double getBegin () const
 get begin
 
double getEnd () const
 get end
 
std::string getParameter () const
 get parameter
 
set functions (called by GNEViewNet)
void setGenericDataType ()
 set generic data type
 
void setDataSet ()
 set dataSet
 
void setInterval ()
 update limit by interval
 
void setBegin ()
 set begin
 
void setEnd ()
 set end
 
void setParameter ()
 set parameter
 

Protected Member Functions

void disableIntervalBar ()
 disable interval bar
 
void enableIntervalBar ()
 enable interval bar
 

Private Member Functions

 IntervalBar (const IntervalBar &)=delete
 Invalidated copy constructor.
 
IntervalBaroperator= (const IntervalBar &)=delete
 Invalidated assignment operator.
 

Private Attributes

FXTextField * myBeginTextField = nullptr
 text field for interval begin
 
std::vector< std::string > myDataSets
 current dataSets
 
MFXComboBoxIconmyDataSetsComboBox = nullptr
 combo box for data sets
 
FXTextField * myEndTextField = nullptr
 text field for interval end
 
MFXComboBoxIconmyGenericDataTypesComboBox = nullptr
 combo box for generic data types
 
FXCheckButton * myIntervalCheckBox = nullptr
 checkbox for limit data elements by interval
 
std::set< std::string > myParameters
 current parameters
 
MFXComboBoxIconmyParametersComboBox = nullptr
 combo box for filtered parameters
 
bool myUpdateInterval = true
 flag for update interval bar
 
GNEViewNetmyViewNet
 pointer to net
 

Detailed Description

class used to group all variables related to interval bar

Definition at line 922 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ IntervalBar() [1/2]

GNEViewNetHelper::IntervalBar::IntervalBar ( GNEViewNet viewNet)

default constructor

Definition at line 3120 of file GNEViewNetHelper.cpp.

◆ IntervalBar() [2/2]

GNEViewNetHelper::IntervalBar::IntervalBar ( const IntervalBar )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildIntervalBarElements()

void GNEViewNetHelper::IntervalBar::buildIntervalBarElements ( )

◆ disableIntervalBar()

void GNEViewNetHelper::IntervalBar::disableIntervalBar ( )
protected

disable interval bar

Definition at line 3452 of file GNEViewNetHelper.cpp.

◆ enableIntervalBar()

void GNEViewNetHelper::IntervalBar::enableIntervalBar ( )
protected

enable interval bar

Definition at line 3435 of file GNEViewNetHelper.cpp.

◆ getBegin()

double GNEViewNetHelper::IntervalBar::getBegin ( ) const

get begin

Definition at line 3316 of file GNEViewNetHelper.cpp.

References INVALID_DOUBLE.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getDataSet()

GNEDataSet * GNEViewNetHelper::IntervalBar::getDataSet ( ) const

get dataSet

Definition at line 3304 of file GNEViewNetHelper.cpp.

References GNENet::getAttributeCarriers(), GNEAttributeCarrier::getNet(), and GNENetHelper::AttributeCarriers::retrieveDataSet().

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getEnd()

double GNEViewNetHelper::IntervalBar::getEnd ( ) const

get end

Definition at line 3326 of file GNEViewNetHelper.cpp.

References INVALID_DOUBLE.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getGenericDataType()

SumoXMLTag GNEViewNetHelper::IntervalBar::getGenericDataType ( ) const

get generic data type

Definition at line 3289 of file GNEViewNetHelper.cpp.

References GNE_TAG_EDGEREL_SINGLE, SUMO_TAG_EDGEREL, SUMO_TAG_NOTHING, SUMO_TAG_TAZREL, and toString().

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getParameter()

std::string GNEViewNetHelper::IntervalBar::getParameter ( ) const

get parameter

Definition at line 3336 of file GNEViewNetHelper.cpp.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ hideIntervalBar()

void GNEViewNetHelper::IntervalBar::hideIntervalBar ( )

hide all options menu checks

Definition at line 3186 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ markForUpdate()

void GNEViewNetHelper::IntervalBar::markForUpdate ( )

Definition at line 3283 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::doPaintGL(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), and GNEViewNet::updateControls().

Here is the caller graph for this function:

◆ operator=()

IntervalBar & GNEViewNetHelper::IntervalBar::operator= ( const IntervalBar )
privatedelete

Invalidated assignment operator.

◆ setBegin()

void GNEViewNetHelper::IntervalBar::setBegin ( )

set begin

Definition at line 3391 of file GNEViewNetHelper.cpp.

References toString().

Referenced by GNEViewNet::onCmdIntervalBarSetBegin().

Here is the caller graph for this function:

◆ setDataSet()

void GNEViewNetHelper::IntervalBar::setDataSet ( )

set dataSet

Definition at line 3363 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdIntervalBarDataSet().

Here is the caller graph for this function:

◆ setEnd()

void GNEViewNetHelper::IntervalBar::setEnd ( )

set end

Definition at line 3406 of file GNEViewNetHelper.cpp.

References toString().

Referenced by GNEViewNet::onCmdIntervalBarSetEnd().

Here is the caller graph for this function:

◆ setGenericDataType()

void GNEViewNetHelper::IntervalBar::setGenericDataType ( )

set generic data type

Definition at line 3348 of file GNEViewNetHelper.cpp.

References GNE_TAG_EDGEREL_SINGLE, SUMO_TAG_EDGEREL, SUMO_TAG_TAZREL, and toString().

Referenced by GNEViewNet::onCmdIntervalBarGenericDataType().

Here is the caller graph for this function:

◆ setInterval()

void GNEViewNetHelper::IntervalBar::setInterval ( )

update limit by interval

Definition at line 3376 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdIntervalBarLimit().

Here is the caller graph for this function:

◆ setParameter()

void GNEViewNetHelper::IntervalBar::setParameter ( )

set parameter

Definition at line 3421 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdIntervalBarSetParameter().

Here is the caller graph for this function:

◆ showIntervalBar()

void GNEViewNetHelper::IntervalBar::showIntervalBar ( )

show interval option bar

Definition at line 3177 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDataModeSpecificControls().

Here is the caller graph for this function:

◆ updateIntervalBar()

void GNEViewNetHelper::IntervalBar::updateIntervalBar ( )

update interval bar

Definition at line 3193 of file GNEViewNetHelper.cpp.

References DATA_DELETE, DATA_INSPECT, DATA_SELECT, INVALID_DOUBLE, and toString().

Field Documentation

◆ myBeginTextField

FXTextField* GNEViewNetHelper::IntervalBar::myBeginTextField = nullptr
private

text field for interval begin

Definition at line 1010 of file GNEViewNetHelper.h.

◆ myDataSets

std::vector<std::string> GNEViewNetHelper::IntervalBar::myDataSets
private

current dataSets

Definition at line 1019 of file GNEViewNetHelper.h.

◆ myDataSetsComboBox

MFXComboBoxIcon* GNEViewNetHelper::IntervalBar::myDataSetsComboBox = nullptr
private

combo box for data sets

Definition at line 1004 of file GNEViewNetHelper.h.

◆ myEndTextField

FXTextField* GNEViewNetHelper::IntervalBar::myEndTextField = nullptr
private

text field for interval end

Definition at line 1013 of file GNEViewNetHelper.h.

◆ myGenericDataTypesComboBox

MFXComboBoxIcon* GNEViewNetHelper::IntervalBar::myGenericDataTypesComboBox = nullptr
private

combo box for generic data types

Definition at line 1001 of file GNEViewNetHelper.h.

◆ myIntervalCheckBox

FXCheckButton* GNEViewNetHelper::IntervalBar::myIntervalCheckBox = nullptr
private

checkbox for limit data elements by interval

Definition at line 1007 of file GNEViewNetHelper.h.

◆ myParameters

std::set<std::string> GNEViewNetHelper::IntervalBar::myParameters
private

current parameters

Definition at line 1022 of file GNEViewNetHelper.h.

◆ myParametersComboBox

MFXComboBoxIcon* GNEViewNetHelper::IntervalBar::myParametersComboBox = nullptr
private

combo box for filtered parameters

Definition at line 1016 of file GNEViewNetHelper.h.

◆ myUpdateInterval

bool GNEViewNetHelper::IntervalBar::myUpdateInterval = true
private

flag for update interval bar

Definition at line 998 of file GNEViewNetHelper.h.

◆ myViewNet

GNEViewNet* GNEViewNetHelper::IntervalBar::myViewNet
private

pointer to net

Definition at line 995 of file GNEViewNetHelper.h.


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