![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class used to group all variables related to interval bar More...
#include <GNEViewNetHelper.h>
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... | |
IntervalBar & | operator= (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... | |
GNEViewNet * | myViewNet |
pointer to net More... | |
class used to group all variables related to interval bar
Definition at line 702 of file GNEViewNetHelper.h.
GNEViewNetHelper::IntervalBar::IntervalBar | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 2455 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNetHelper::IntervalBar::buildIntervalBarElements | ( | ) |
build interval bar elements
Definition at line 2473 of file GNEViewNetHelper.cpp.
References GUIDesignCheckButtonAttribute, GUIDesignComboBoxNCol, GUIDesignComboBoxWidth120, GUIDesignComboBoxWidth180, GUIDesignLabelAttribute, GUIDesignTextFieldNCol, GUIDesignTextFielWidth50Real, MID_GNE_INTERVALBAR_ATTRIBUTE, MID_GNE_INTERVALBAR_BEGIN, MID_GNE_INTERVALBAR_DATASET, MID_GNE_INTERVALBAR_END, MID_GNE_INTERVALBAR_GENERICDATATYPE, and MID_GNE_INTERVALBAR_LIMITED.
Referenced by GNEViewNet::buildEditModeControls().
void GNEViewNetHelper::IntervalBar::disableIntervalBar | ( | ) |
disable interval bar
Definition at line 2532 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDataModeSpecificControls().
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().
void GNEViewNetHelper::IntervalBar::enableIntervalBar | ( | ) |
enable interval bar
Definition at line 2515 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDataModeSpecificControls().
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().
std::string GNEViewNetHelper::IntervalBar::getAttributeStr | ( | ) | const |
set attribute
Definition at line 2676 of file GNEViewNetHelper.cpp.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
std::string GNEViewNetHelper::IntervalBar::getBeginStr | ( | ) | const |
get begin
Definition at line 2656 of file GNEViewNetHelper.cpp.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
std::string GNEViewNetHelper::IntervalBar::getDataSetStr | ( | ) | const |
get dataSet
Definition at line 2646 of file GNEViewNetHelper.cpp.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
std::string GNEViewNetHelper::IntervalBar::getEndStr | ( | ) | const |
get end
Definition at line 2666 of file GNEViewNetHelper.cpp.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
std::string GNEViewNetHelper::IntervalBar::getGenericDataTypeStr | ( | ) | const |
get generic data type
Definition at line 2636 of file GNEViewNetHelper.cpp.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
void GNEViewNetHelper::IntervalBar::hideIntervalBar | ( | ) |
hide all options menu checks
Definition at line 2574 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
privatedelete |
Invalidated assignment operator.
void GNEViewNetHelper::IntervalBar::setAttribute | ( | ) |
set attribute
Definition at line 2785 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdIntervalBarSetAttribute().
void GNEViewNetHelper::IntervalBar::setBegin | ( | ) |
set begin
Definition at line 2751 of file GNEViewNetHelper.cpp.
References toString().
Referenced by GNEViewNet::onCmdIntervalBarSetBegin().
void GNEViewNetHelper::IntervalBar::setDataSet | ( | ) |
set dataSet
Definition at line 2714 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdIntervalBarDataSet().
void GNEViewNetHelper::IntervalBar::setEnd | ( | ) |
set end
Definition at line 2768 of file GNEViewNetHelper.cpp.
References toString().
Referenced by GNEViewNet::onCmdIntervalBarSetEnd().
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().
void GNEViewNetHelper::IntervalBar::setInterval | ( | ) |
update limit by interval
Definition at line 2734 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdIntervalBarLimit().
void GNEViewNetHelper::IntervalBar::showIntervalBar | ( | ) |
show interval option bar
Definition at line 2558 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDataModeSpecificControls().
|
private |
update combo box attributes
Definition at line 2791 of file GNEViewNetHelper.cpp.
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().
|
private |
string with wildcard for all attributes
Definition at line 816 of file GNEViewNetHelper.h.
|
private |
string with wildcard for all dataSets
Definition at line 813 of file GNEViewNetHelper.h.
|
private |
string with wildcard for all generic datas
Definition at line 807 of file GNEViewNetHelper.h.
|
private |
text field for interval begin
Definition at line 792 of file GNEViewNetHelper.h.
|
private |
combo box for data sets
Definition at line 786 of file GNEViewNetHelper.h.
|
private |
text field for interval end
Definition at line 795 of file GNEViewNetHelper.h.
|
private |
set for attribuets
Definition at line 801 of file GNEViewNetHelper.h.
|
private |
combo box for filtered attributes
Definition at line 798 of file GNEViewNetHelper.h.
|
private |
combo box for generic data types
Definition at line 783 of file GNEViewNetHelper.h.
|
private |
flag to enable or disable update interval bar
Definition at line 780 of file GNEViewNetHelper.h.
|
private |
checkbox for limit data elements by interval
Definition at line 789 of file GNEViewNetHelper.h.
|
private |
string with wildcard for no dataSets
Definition at line 810 of file GNEViewNetHelper.h.
|
private |
string with wildcard for no generic datas
Definition at line 804 of file GNEViewNetHelper.h.
|
private |
pointer to net
Definition at line 777 of file GNEViewNetHelper.h.