Eclipse SUMO - Simulation of Urban MObility
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 More...
 
void disableIntervalBar ()
 disable interval bar More...
 
void disableIntervalBarUpdate ()
 enable interval bar update More...
 
void enableIntervalBar ()
 enable interval bar More...
 
void enableIntervalBarUpdate ()
 enable interval bar update More...
 
void hideIntervalBar ()
 hide all options menu checks More...
 
 IntervalBar (GNEViewNet *viewNet)
 default constructor More...
 
void showIntervalBar ()
 show interval option bar More...
 
void updateIntervalBar ()
 update interval bar More...
 
get functions (called by GNEViewNet)
std::string getGenericDataTypeStr () const
 get generic data type More...
 
std::string getDataSetStr () const
 get dataSet More...
 
std::string getBeginStr () const
 get begin More...
 
std::string getEndStr () const
 get end More...
 
std::string getAttributeStr () const
 set attribute More...
 
set functions (called by GNEViewNet)
void setGenericDataType ()
 set generic data type More...
 
void setDataSet ()
 set dataSet More...
 
void setInterval ()
 update limit by interval More...
 
void setBegin ()
 set begin More...
 
void setEnd ()
 set end More...
 
void setAttribute ()
 set attribute More...
 

Private Member Functions

 IntervalBar (const IntervalBar &)=delete
 Invalidated copy constructor. More...
 
IntervalBaroperator= (const IntervalBar &)=delete
 Invalidated assignment operator. More...
 
void updateComboBoxAttributes ()
 update combo box attributes More...
 

Private Attributes

const FXString myAllAttributes
 string with wildcard for all attributes More...
 
const FXString myAllDataSets
 string with wildcard for all dataSets More...
 
const FXString myAllGenericDatas
 string with wildcard for all generic datas More...
 
FXTextField * myBeginTextField
 text field for interval begin More...
 
FXComboBox * myDataSetsComboBox
 combo box for data sets More...
 
FXTextField * myEndTextField
 text field for interval end More...
 
std::set< std::string > myFilteredAttributes
 set for attribuets More...
 
FXComboBox * myFilteredAttributesComboBox
 combo box for filtered attributes More...
 
FXComboBox * myGenericDataTypesComboBox
 combo box for generic data types More...
 
bool myIntervalBarUpdate
 flag to enable or disable update interval bar More...
 
FXCheckButton * myLimitByIntervalCheckBox
 checkbox for limit data elements by interval More...
 
const FXString myNoDataSets
 string with wildcard for no dataSets More...
 
const FXString myNoGenericDatas
 string with wildcard for no generic datas More...
 
GNEViewNetmyViewNet
 pointer to net More...
 

Detailed Description

class used to group all variables related to interval bar

Definition at line 702 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ IntervalBar() [1/2]

GNEViewNetHelper::IntervalBar::IntervalBar ( GNEViewNet viewNet)

default constructor

Definition at line 2455 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 ( )

disable interval bar

Definition at line 2532 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDataModeSpecificControls().

Here is the caller graph for this function:

◆ disableIntervalBarUpdate()

void GNEViewNetHelper::IntervalBar::disableIntervalBarUpdate ( )

enable interval bar update

Definition at line 2552 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::onCmdOpenDataElements(), and GNEUndoList::p_clear().

Here is the caller graph for this function:

◆ enableIntervalBar()

void GNEViewNetHelper::IntervalBar::enableIntervalBar ( )

enable interval bar

Definition at line 2515 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDataModeSpecificControls().

Here is the caller graph for this function:

◆ enableIntervalBarUpdate()

void GNEViewNetHelper::IntervalBar::enableIntervalBarUpdate ( )

enable interval bar update

Definition at line 2544 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::onCmdOpenDataElements(), and GNEUndoList::p_clear().

Here is the caller graph for this function:

◆ getAttributeStr()

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

set attribute

Definition at line 2676 of file GNEViewNetHelper.cpp.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getBeginStr()

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

get begin

Definition at line 2656 of file GNEViewNetHelper.cpp.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getDataSetStr()

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

get dataSet

Definition at line 2646 of file GNEViewNetHelper.cpp.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getEndStr()

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

get end

Definition at line 2666 of file GNEViewNetHelper.cpp.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect().

Here is the caller graph for this function:

◆ getGenericDataTypeStr()

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

get generic data type

Definition at line 2636 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 2574 of file GNEViewNetHelper.cpp.

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

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ setAttribute()

void GNEViewNetHelper::IntervalBar::setAttribute ( )

set attribute

Definition at line 2785 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdIntervalBarSetAttribute().

Here is the caller graph for this function:

◆ setBegin()

void GNEViewNetHelper::IntervalBar::setBegin ( )

set begin

Definition at line 2751 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 2714 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 2768 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 2687 of file GNEViewNetHelper.cpp.

References GNETagProperties::GENERICDATA, and GNEAttributeCarrier::getAllowedTagsByCategory().

Referenced by GNEViewNet::onCmdIntervalBarGenericDataType().

Here is the caller graph for this function:

◆ setInterval()

void GNEViewNetHelper::IntervalBar::setInterval ( )

update limit by interval

Definition at line 2734 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdIntervalBarLimit().

Here is the caller graph for this function:

◆ showIntervalBar()

void GNEViewNetHelper::IntervalBar::showIntervalBar ( )

show interval option bar

Definition at line 2558 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDataModeSpecificControls().

Here is the caller graph for this function:

◆ updateComboBoxAttributes()

void GNEViewNetHelper::IntervalBar::updateComboBoxAttributes ( )
private

update combo box attributes

Definition at line 2791 of file GNEViewNetHelper.cpp.

◆ updateIntervalBar()

void GNEViewNetHelper::IntervalBar::updateIntervalBar ( )

update interval bar

Definition at line 2581 of file GNEViewNetHelper.cpp.

References GNETagProperties::GENERICDATA, and GNEAttributeCarrier::getAllowedTagsByCategory().

Referenced by GNEChange_DataSet::redo(), and GNEChange_DataSet::undo().

Here is the caller graph for this function:

Field Documentation

◆ myAllAttributes

const FXString GNEViewNetHelper::IntervalBar::myAllAttributes
private

string with wildcard for all attributes

Definition at line 816 of file GNEViewNetHelper.h.

◆ myAllDataSets

const FXString GNEViewNetHelper::IntervalBar::myAllDataSets
private

string with wildcard for all dataSets

Definition at line 813 of file GNEViewNetHelper.h.

◆ myAllGenericDatas

const FXString GNEViewNetHelper::IntervalBar::myAllGenericDatas
private

string with wildcard for all generic datas

Definition at line 807 of file GNEViewNetHelper.h.

◆ myBeginTextField

FXTextField* GNEViewNetHelper::IntervalBar::myBeginTextField
private

text field for interval begin

Definition at line 792 of file GNEViewNetHelper.h.

◆ myDataSetsComboBox

FXComboBox* GNEViewNetHelper::IntervalBar::myDataSetsComboBox
private

combo box for data sets

Definition at line 786 of file GNEViewNetHelper.h.

◆ myEndTextField

FXTextField* GNEViewNetHelper::IntervalBar::myEndTextField
private

text field for interval end

Definition at line 795 of file GNEViewNetHelper.h.

◆ myFilteredAttributes

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

set for attribuets

Definition at line 801 of file GNEViewNetHelper.h.

◆ myFilteredAttributesComboBox

FXComboBox* GNEViewNetHelper::IntervalBar::myFilteredAttributesComboBox
private

combo box for filtered attributes

Definition at line 798 of file GNEViewNetHelper.h.

◆ myGenericDataTypesComboBox

FXComboBox* GNEViewNetHelper::IntervalBar::myGenericDataTypesComboBox
private

combo box for generic data types

Definition at line 783 of file GNEViewNetHelper.h.

◆ myIntervalBarUpdate

bool GNEViewNetHelper::IntervalBar::myIntervalBarUpdate
private

flag to enable or disable update interval bar

Definition at line 780 of file GNEViewNetHelper.h.

◆ myLimitByIntervalCheckBox

FXCheckButton* GNEViewNetHelper::IntervalBar::myLimitByIntervalCheckBox
private

checkbox for limit data elements by interval

Definition at line 789 of file GNEViewNetHelper.h.

◆ myNoDataSets

const FXString GNEViewNetHelper::IntervalBar::myNoDataSets
private

string with wildcard for no dataSets

Definition at line 810 of file GNEViewNetHelper.h.

◆ myNoGenericDatas

const FXString GNEViewNetHelper::IntervalBar::myNoGenericDatas
private

string with wildcard for no generic datas

Definition at line 804 of file GNEViewNetHelper.h.

◆ myViewNet

GNEViewNet* GNEViewNetHelper::IntervalBar::myViewNet
private

pointer to net

Definition at line 777 of file GNEViewNetHelper.h.


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