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 | |
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 | |
GNEDataSet * | getDataSet () 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. | |
IntervalBar & | operator= (const IntervalBar &)=delete |
Invalidated assignment operator. | |
Private Attributes | |
FXTextField * | myBeginTextField = nullptr |
text field for interval begin | |
std::vector< std::string > | myDataSets |
current dataSets | |
MFXComboBoxIcon * | myDataSetsComboBox = nullptr |
combo box for data sets | |
FXTextField * | myEndTextField = nullptr |
text field for interval end | |
MFXComboBoxIcon * | myGenericDataTypesComboBox = nullptr |
combo box for generic data types | |
FXCheckButton * | myIntervalCheckBox = nullptr |
checkbox for limit data elements by interval | |
std::set< std::string > | myParameters |
current parameters | |
MFXComboBoxIcon * | myParametersComboBox = nullptr |
combo box for filtered parameters | |
bool | myUpdateInterval = true |
flag for update interval bar | |
GNEViewNet * | myViewNet |
pointer to net | |
class used to group all variables related to interval bar
Definition at line 922 of file GNEViewNetHelper.h.
GNEViewNetHelper::IntervalBar::IntervalBar | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 3120 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNetHelper::IntervalBar::buildIntervalBarElements | ( | ) |
build interval bar elements
Definition at line 3126 of file GNEViewNetHelper.cpp.
References GNE_TAG_EDGEREL_SINGLE, GUIDesignCheckButtonAttribute, GUIDesignComboBoxNCol, GUIDesignComboBoxVisibleItemsFixed, GUIDesignComboBoxWidth180, GUIDesignLabelThickedFixed, GUIDesignTextFieldFixedRestricted, GUIDesignTextFieldNCol, MID_GNE_INTERVALBAR_BEGIN, MID_GNE_INTERVALBAR_DATASET, MID_GNE_INTERVALBAR_END, MID_GNE_INTERVALBAR_GENERICDATATYPE, MID_GNE_INTERVALBAR_LIMITED, MID_GNE_INTERVALBAR_PARAMETER, SUMO_TAG_EDGEREL, SUMO_TAG_TAZREL, and toString().
Referenced by GNEViewNet::buildEditModeControls().
|
protected |
disable interval bar
Definition at line 3452 of file GNEViewNetHelper.cpp.
|
protected |
enable interval bar
Definition at line 3435 of file GNEViewNetHelper.cpp.
double GNEViewNetHelper::IntervalBar::getBegin | ( | ) | const |
get begin
Definition at line 3316 of file GNEViewNetHelper.cpp.
References INVALID_DOUBLE.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
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().
double GNEViewNetHelper::IntervalBar::getEnd | ( | ) | const |
get end
Definition at line 3326 of file GNEViewNetHelper.cpp.
References INVALID_DOUBLE.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
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().
std::string GNEViewNetHelper::IntervalBar::getParameter | ( | ) | const |
get parameter
Definition at line 3336 of file GNEViewNetHelper.cpp.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect().
void GNEViewNetHelper::IntervalBar::hideIntervalBar | ( | ) |
hide all options menu checks
Definition at line 3186 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
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().
|
privatedelete |
Invalidated assignment operator.
void GNEViewNetHelper::IntervalBar::setBegin | ( | ) |
set begin
Definition at line 3391 of file GNEViewNetHelper.cpp.
References toString().
Referenced by GNEViewNet::onCmdIntervalBarSetBegin().
void GNEViewNetHelper::IntervalBar::setDataSet | ( | ) |
set dataSet
Definition at line 3363 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdIntervalBarDataSet().
void GNEViewNetHelper::IntervalBar::setEnd | ( | ) |
set end
Definition at line 3406 of file GNEViewNetHelper.cpp.
References toString().
Referenced by GNEViewNet::onCmdIntervalBarSetEnd().
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().
void GNEViewNetHelper::IntervalBar::setInterval | ( | ) |
update limit by interval
Definition at line 3376 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdIntervalBarLimit().
void GNEViewNetHelper::IntervalBar::setParameter | ( | ) |
set parameter
Definition at line 3421 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdIntervalBarSetParameter().
void GNEViewNetHelper::IntervalBar::showIntervalBar | ( | ) |
show interval option bar
Definition at line 3177 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDataModeSpecificControls().
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().
|
private |
text field for interval begin
Definition at line 1010 of file GNEViewNetHelper.h.
|
private |
current dataSets
Definition at line 1019 of file GNEViewNetHelper.h.
|
private |
combo box for data sets
Definition at line 1004 of file GNEViewNetHelper.h.
|
private |
text field for interval end
Definition at line 1013 of file GNEViewNetHelper.h.
|
private |
combo box for generic data types
Definition at line 1001 of file GNEViewNetHelper.h.
|
private |
checkbox for limit data elements by interval
Definition at line 1007 of file GNEViewNetHelper.h.
|
private |
current parameters
Definition at line 1022 of file GNEViewNetHelper.h.
|
private |
combo box for filtered parameters
Definition at line 1016 of file GNEViewNetHelper.h.
|
private |
flag for update interval bar
Definition at line 998 of file GNEViewNetHelper.h.
|
private |
pointer to net
Definition at line 995 of file GNEViewNetHelper.h.