Eclipse SUMO - Simulation of Urban MObility
|
modul for Saving status More...
#include <GNENetHelper.h>
Public Member Functions | |
SavingStatus () | |
constructor | |
SumoConfig | |
void | requireSaveSumoConfig () |
inform that SumoConfig has to be saved | |
void | SumoConfigSaved () |
mark SumoConfig as saved | |
bool | isSumoConfigSaved () const |
check if SumoConfig is saved | |
NeteditConfig | |
void | requireSaveNeteditConfig () |
inform that netedit config has to be saved | |
void | neteditConfigSaved () |
mark netedit config as saved | |
bool | isNeteditConfigSaved () const |
check if netedit config is saved | |
network | |
void | requireSaveNetwork () |
inform that network has to be saved | |
void | networkSaved () |
mark network as saved | |
bool | isNetworkSaved () const |
check if network is saved | |
TLS | |
void | requireSaveTLS () |
inform that TLS has to be saved | |
void | TLSSaved () |
mark TLS as saved | |
bool | isTLSSaved () const |
check if TLS are saved | |
edge types | |
void | requireSaveEdgeType () |
inform that edgeType has to be saved | |
void | edgeTypeSaved () |
mark edgeType as saved | |
bool | isEdgeTypeSaved () const |
check if edgeType are saved | |
additionals | |
void | requireSaveAdditionals () |
inform that additionals has to be saved | |
void | additionalsSaved () |
mark additionals as saved | |
bool | isAdditionalsSaved () const |
check if additionals are saved | |
demand elements | |
void | requireSaveDemandElements () |
inform that demand elements has to be saved | |
void | demandElementsSaved () |
mark demand elements as saved | |
bool | isDemandElementsSaved () const |
check if demand elements are saved | |
data elements | |
void | requireSaveDataElements () |
inform that data elements has to be saved | |
void | dataElementsSaved () |
mark demand elements as saved | |
bool | isDataElementsSaved () const |
check if data elements are saved | |
mean datas | |
void | requireSaveMeanDatas () |
inform that mean data elements has to be saved | |
void | meanDatasSaved () |
mark mean data elements as saved | |
bool | isMeanDatasSaved () const |
check if mean data elements are saved | |
Private Member Functions | |
SavingStatus & | operator= (const SavingStatus &)=delete |
Invalidated assignment operator. | |
SavingStatus (const SavingStatus &)=delete | |
Invalidated copy constructor. | |
Private Attributes | |
bool | myAdditionalSaved = true |
flag for additional elements saved | |
bool | myDataElementSaved = true |
flag for data elements saved | |
bool | myDemandElementSaved = true |
flag for demand elements saved | |
bool | myEdgeTypeSaved = true |
flag for edgeType saved | |
bool | myMeanDataElementSaved = true |
flag for meanData elements saved | |
bool | myNeteditConfigSaved = true |
flag for netedit config saved | |
bool | myNetworkSaved = true |
flag for network saved | |
bool | mySumoConfigSaved = true |
flag for SumoConfigSumoConfig saved | |
bool | myTLSSaved = true |
flag for TLS saved | |
modul for Saving status
Definition at line 819 of file GNENetHelper.h.
GNENetHelper::SavingStatus::SavingStatus | ( | ) |
constructor
Definition at line 2718 of file GNENetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNENetHelper::SavingStatus::additionalsSaved | ( | ) |
mark additionals as saved
Definition at line 2826 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::loadAdditionalElements(), GNEApplicationWindow::onCmdOpenAdditionals(), and GNENet::saveAdditionalsConfirmed().
void GNENetHelper::SavingStatus::dataElementsSaved | ( | ) |
mark demand elements as saved
Definition at line 2868 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenDataElements(), and GNENet::saveDataElementsConfirmed().
void GNENetHelper::SavingStatus::demandElementsSaved | ( | ) |
mark demand elements as saved
Definition at line 2847 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenDemandElements(), and GNENet::saveDemandElementsConfirmed().
void GNENetHelper::SavingStatus::edgeTypeSaved | ( | ) |
mark edgeType as saved
Definition at line 2805 of file GNENetHelper.cpp.
bool GNENetHelper::SavingStatus::isAdditionalsSaved | ( | ) | const |
check if additionals are saved
Definition at line 2832 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::continueWithUnsavedAdditionalChanges(), GNEApplicationWindow::onCmdOpenAdditionals(), GNEApplicationWindow::onCmdSaveAdditionals(), GNEApplicationWindow::onUpdSaveAdditionals(), and GNEApplicationWindow::onUpdSaveNeteditConfig().
bool GNENetHelper::SavingStatus::isDataElementsSaved | ( | ) | const |
check if data elements are saved
Definition at line 2874 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::continueWithUnsavedDataElementChanges(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdSaveDataElements(), GNEApplicationWindow::onUpdSaveDataElements(), and GNEApplicationWindow::onUpdSaveNeteditConfig().
bool GNENetHelper::SavingStatus::isDemandElementsSaved | ( | ) | const |
check if demand elements are saved
Definition at line 2853 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::continueWithUnsavedDemandElementChanges(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdSaveDemandElements(), GNEApplicationWindow::onUpdSaveDemandElements(), and GNEApplicationWindow::onUpdSaveNeteditConfig().
bool GNENetHelper::SavingStatus::isEdgeTypeSaved | ( | ) | const |
check if edgeType are saved
Definition at line 2811 of file GNENetHelper.cpp.
bool GNENetHelper::SavingStatus::isMeanDatasSaved | ( | ) | const |
check if mean data elements are saved
Definition at line 2895 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::continueWithUnsavedMeanDataElementChanges(), GNEApplicationWindow::onCmdOpenMeanDatas(), GNEApplicationWindow::onCmdSaveMeanDatas(), GNEApplicationWindow::onUpdSaveMeanDatas(), and GNEApplicationWindow::onUpdSaveNeteditConfig().
bool GNENetHelper::SavingStatus::isNeteditConfigSaved | ( | ) | const |
check if netedit config is saved
Definition at line 2754 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onUpdSaveNeteditConfig().
bool GNENetHelper::SavingStatus::isNetworkSaved | ( | ) | const |
check if network is saved
Definition at line 2775 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::continueWithUnsavedChanges(), and GNEApplicationWindow::onUpdSaveNetwork().
bool GNENetHelper::SavingStatus::isSumoConfigSaved | ( | ) | const |
check if SumoConfig is saved
Definition at line 2735 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onUpdSaveSumoConfig().
bool GNENetHelper::SavingStatus::isTLSSaved | ( | ) | const |
check if TLS are saved
Definition at line 2793 of file GNENetHelper.cpp.
void GNENetHelper::SavingStatus::meanDatasSaved | ( | ) |
mark mean data elements as saved
Definition at line 2889 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenMeanDatas(), and GNENet::saveMeanDatasConfirmed().
void GNENetHelper::SavingStatus::neteditConfigSaved | ( | ) |
mark netedit config as saved
Definition at line 2748 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveNeteditConfig().
void GNENetHelper::SavingStatus::networkSaved | ( | ) |
mark network as saved
Definition at line 2769 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GNENet::saveNetwork().
|
privatedelete |
Invalidated assignment operator.
void GNENetHelper::SavingStatus::requireSaveAdditionals | ( | ) |
inform that additionals has to be saved
Definition at line 2817 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveAdditionalsAs(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_ToggleAttribute::redo(), GNENetworkElement::setNetworkElementID(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), and GNEChange_ToggleAttribute::undo().
void GNENetHelper::SavingStatus::requireSaveDataElements | ( | ) |
inform that data elements has to be saved
Definition at line 2859 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveDataElementsAs(), GNEChange_Attribute::redo(), GNEChange_DataInterval::redo(), GNEChange_DataSet::redo(), GNEChange_GenericData::redo(), GNEChange_ToggleAttribute::redo(), GNEAdditional::setAdditionalID(), GNENetworkElement::setNetworkElementID(), GNEChange_Attribute::undo(), GNEChange_DataInterval::undo(), GNEChange_DataSet::undo(), GNEChange_GenericData::undo(), and GNEChange_ToggleAttribute::undo().
void GNENetHelper::SavingStatus::requireSaveDemandElements | ( | ) |
inform that demand elements has to be saved
Definition at line 2838 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveDemandElementsAs(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_DemandElement::redo(), GNEChange_Distribution::redo(), GNEChange_ToggleAttribute::redo(), GNEAdditional::setAdditionalID(), GNEEdge::setAttribute(), GNENetworkElement::setNetworkElementID(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_DemandElement::undo(), GNEChange_Distribution::undo(), and GNEChange_ToggleAttribute::undo().
void GNENetHelper::SavingStatus::requireSaveEdgeType | ( | ) |
inform that edgeType has to be saved
Definition at line 2799 of file GNENetHelper.cpp.
void GNENetHelper::SavingStatus::requireSaveMeanDatas | ( | ) |
inform that mean data elements has to be saved
Definition at line 2880 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveMeanDatasAs(), GNEChange_Attribute::redo(), GNEChange_MeanData::redo(), GNEChange_ToggleAttribute::redo(), GNEChange_Attribute::undo(), GNEChange_MeanData::undo(), and GNEChange_ToggleAttribute::undo().
void GNENetHelper::SavingStatus::requireSaveNeteditConfig | ( | ) |
inform that netedit config has to be saved
Definition at line 2742 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenOptionsDialog().
void GNENetHelper::SavingStatus::requireSaveNetwork | ( | ) |
inform that network has to be saved
Definition at line 2760 of file GNENetHelper.cpp.
Referenced by GNEChange_Attribute::redo(), GNEChange_Connection::redo(), GNEChange_Crossing::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_TLS::redo(), GNEChange_ToggleAttribute::redo(), GNEChange_Attribute::undo(), GNEChange_Connection::undo(), GNEChange_Crossing::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_TLS::undo(), and GNEChange_ToggleAttribute::undo().
void GNENetHelper::SavingStatus::requireSaveSumoConfig | ( | ) |
inform that SumoConfig has to be saved
Definition at line 2723 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdOpenSumoOptionsDialog().
void GNENetHelper::SavingStatus::requireSaveTLS | ( | ) |
inform that TLS has to be saved
Definition at line 2781 of file GNENetHelper.cpp.
void GNENetHelper::SavingStatus::SumoConfigSaved | ( | ) |
mark SumoConfig as saved
Definition at line 2729 of file GNENetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdSaveSumoConfig().
void GNENetHelper::SavingStatus::TLSSaved | ( | ) |
mark TLS as saved
Definition at line 2787 of file GNENetHelper.cpp.
Referenced by GNENet::saveTLSPrograms().
|
private |
flag for additional elements saved
Definition at line 968 of file GNENetHelper.h.
|
private |
flag for data elements saved
Definition at line 974 of file GNENetHelper.h.
|
private |
flag for demand elements saved
Definition at line 971 of file GNENetHelper.h.
|
private |
flag for edgeType saved
Definition at line 965 of file GNENetHelper.h.
|
private |
flag for meanData elements saved
Definition at line 977 of file GNENetHelper.h.
|
private |
flag for netedit config saved
Definition at line 956 of file GNENetHelper.h.
|
private |
flag for network saved
Definition at line 959 of file GNENetHelper.h.
|
private |
flag for SumoConfigSumoConfig saved
Definition at line 953 of file GNENetHelper.h.
|
private |
flag for TLS saved
Definition at line 962 of file GNENetHelper.h.