Eclipse SUMO - Simulation of Urban MObility
GNENetHelper::SavingStatus Class Reference

modul for Saving status More...

#include <GNENetHelper.h>

Public Member Functions

 SavingStatus ()
 constructor More...
 
SumoConfig
void requireSaveSumoConfig ()
 inform that SumoConfig has to be saved More...
 
void SumoConfigSaved ()
 mark SumoConfig as saved More...
 
bool isSumoConfigSaved () const
 check if SumoConfig is saved More...
 
NeteditConfig
void requireSaveNeteditConfig ()
 inform that netedit config has to be saved More...
 
void neteditConfigSaved ()
 mark netedit config as saved More...
 
bool isNeteditConfigSaved () const
 check if netedit config is saved More...
 
network
void requireSaveNetwork ()
 inform that network has to be saved More...
 
void networkSaved ()
 mark network as saved More...
 
bool isNetworkSaved () const
 check if network is saved More...
 
TLS
void requireSaveTLS ()
 inform that TLS has to be saved More...
 
void TLSSaved ()
 mark TLS as saved More...
 
bool isTLSSaved () const
 check if TLS are saved More...
 
edge types
void requireSaveEdgeType ()
 inform that edgeType has to be saved More...
 
void edgeTypeSaved ()
 mark edgeType as saved More...
 
bool isEdgeTypeSaved () const
 check if edgeType are saved More...
 
additionals
void requireSaveAdditionals ()
 inform that additionals has to be saved More...
 
void additionalsSaved ()
 mark additionals as saved More...
 
bool isAdditionalsSaved () const
 check if additionals are saved More...
 
demand elements
void requireSaveDemandElements ()
 inform that demand elements has to be saved More...
 
void demandElementsSaved ()
 mark demand elements as saved More...
 
bool isDemandElementsSaved () const
 check if demand elements are saved More...
 
data elements
void requireSaveDataElements ()
 inform that data elements has to be saved More...
 
void dataElementsSaved ()
 mark demand elements as saved More...
 
bool isDataElementsSaved () const
 check if data elements are saved More...
 
mean datas
void requireSaveMeanDatas ()
 inform that mean data elements has to be saved More...
 
void meanDatasSaved ()
 mark mean data elements as saved More...
 
bool isMeanDatasSaved () const
 check if mean data elements are saved More...
 

Private Member Functions

SavingStatusoperator= (const SavingStatus &)=delete
 Invalidated assignment operator. More...
 
 SavingStatus (const SavingStatus &)=delete
 Invalidated copy constructor. More...
 

Private Attributes

bool myAdditionalSaved = true
 flag for additional elements saved More...
 
bool myDataElementSaved = true
 flag for data elements saved More...
 
bool myDemandElementSaved = true
 flag for demand elements saved More...
 
bool myEdgeTypeSaved = true
 flag for edgeType saved More...
 
bool myMeanDataElementSaved = true
 flag for meanData elements saved More...
 
bool myNeteditConfigSaved = true
 flag for netedit config saved More...
 
bool myNetworkSaved = true
 flag for network saved More...
 
bool mySumoConfigSaved = true
 flag for SumoConfigSumoConfig saved More...
 
bool myTLSSaved = true
 flag for TLS saved More...
 

Detailed Description

modul for Saving status

Definition at line 819 of file GNENetHelper.h.

Constructor & Destructor Documentation

◆ SavingStatus() [1/2]

GNENetHelper::SavingStatus::SavingStatus ( )

constructor

Definition at line 2709 of file GNENetHelper.cpp.

◆ SavingStatus() [2/2]

GNENetHelper::SavingStatus::SavingStatus ( const SavingStatus )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ additionalsSaved()

void GNENetHelper::SavingStatus::additionalsSaved ( )

mark additionals as saved

Definition at line 2817 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::loadAdditionalElements(), GNEApplicationWindow::onCmdOpenAdditionals(), and GNENet::saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ dataElementsSaved()

void GNENetHelper::SavingStatus::dataElementsSaved ( )

mark demand elements as saved

Definition at line 2859 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenDataElements(), and GNENet::saveDataElementsConfirmed().

Here is the caller graph for this function:

◆ demandElementsSaved()

void GNENetHelper::SavingStatus::demandElementsSaved ( )

mark demand elements as saved

Definition at line 2838 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenDemandElements(), and GNENet::saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ edgeTypeSaved()

void GNENetHelper::SavingStatus::edgeTypeSaved ( )

mark edgeType as saved

Definition at line 2796 of file GNENetHelper.cpp.

◆ isAdditionalsSaved()

bool GNENetHelper::SavingStatus::isAdditionalsSaved ( ) const

check if additionals are saved

Definition at line 2823 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::continueWithUnsavedAdditionalChanges(), GNEApplicationWindow::onCmdOpenAdditionals(), GNEApplicationWindow::onCmdSaveAdditionals(), GNEApplicationWindow::onUpdSaveAdditionals(), and GNEApplicationWindow::onUpdSaveNeteditConfig().

Here is the caller graph for this function:

◆ isDataElementsSaved()

bool GNENetHelper::SavingStatus::isDataElementsSaved ( ) const

check if data elements are saved

Definition at line 2865 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::continueWithUnsavedDataElementChanges(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdSaveDataElements(), GNEApplicationWindow::onUpdSaveDataElements(), and GNEApplicationWindow::onUpdSaveNeteditConfig().

Here is the caller graph for this function:

◆ isDemandElementsSaved()

bool GNENetHelper::SavingStatus::isDemandElementsSaved ( ) const

check if demand elements are saved

Definition at line 2844 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::continueWithUnsavedDemandElementChanges(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdSaveDemandElements(), GNEApplicationWindow::onUpdSaveDemandElements(), and GNEApplicationWindow::onUpdSaveNeteditConfig().

Here is the caller graph for this function:

◆ isEdgeTypeSaved()

bool GNENetHelper::SavingStatus::isEdgeTypeSaved ( ) const

check if edgeType are saved

Definition at line 2802 of file GNENetHelper.cpp.

◆ isMeanDatasSaved()

bool GNENetHelper::SavingStatus::isMeanDatasSaved ( ) const

check if mean data elements are saved

Definition at line 2886 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::continueWithUnsavedMeanDataElementChanges(), GNEApplicationWindow::onCmdOpenMeanDatas(), GNEApplicationWindow::onCmdSaveMeanDatas(), GNEApplicationWindow::onUpdSaveMeanDatas(), and GNEApplicationWindow::onUpdSaveNeteditConfig().

Here is the caller graph for this function:

◆ isNeteditConfigSaved()

bool GNENetHelper::SavingStatus::isNeteditConfigSaved ( ) const

check if netedit config is saved

Definition at line 2745 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onUpdSaveNeteditConfig().

Here is the caller graph for this function:

◆ isNetworkSaved()

bool GNENetHelper::SavingStatus::isNetworkSaved ( ) const

check if network is saved

Definition at line 2766 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::continueWithUnsavedChanges(), and GNEApplicationWindow::onUpdSaveNetwork().

Here is the caller graph for this function:

◆ isSumoConfigSaved()

bool GNENetHelper::SavingStatus::isSumoConfigSaved ( ) const

check if SumoConfig is saved

Definition at line 2726 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onUpdSaveSumoConfig().

Here is the caller graph for this function:

◆ isTLSSaved()

bool GNENetHelper::SavingStatus::isTLSSaved ( ) const

check if TLS are saved

Definition at line 2784 of file GNENetHelper.cpp.

◆ meanDatasSaved()

void GNENetHelper::SavingStatus::meanDatasSaved ( )

mark mean data elements as saved

Definition at line 2880 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenMeanDatas(), and GNENet::saveMeanDatasConfirmed().

Here is the caller graph for this function:

◆ neteditConfigSaved()

void GNENetHelper::SavingStatus::neteditConfigSaved ( )

mark netedit config as saved

Definition at line 2739 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdSaveNeteditConfig().

Here is the caller graph for this function:

◆ networkSaved()

void GNENetHelper::SavingStatus::networkSaved ( )

mark network as saved

Definition at line 2760 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GNENet::saveNetwork().

Here is the caller graph for this function:

◆ operator=()

SavingStatus& GNENetHelper::SavingStatus::operator= ( const SavingStatus )
privatedelete

Invalidated assignment operator.

◆ requireSaveAdditionals()

void GNENetHelper::SavingStatus::requireSaveAdditionals ( )

inform that additionals has to be saved

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

Here is the caller graph for this function:

◆ requireSaveDataElements()

void GNENetHelper::SavingStatus::requireSaveDataElements ( )

◆ requireSaveDemandElements()

void GNENetHelper::SavingStatus::requireSaveDemandElements ( )

◆ requireSaveEdgeType()

void GNENetHelper::SavingStatus::requireSaveEdgeType ( )

inform that edgeType has to be saved

Definition at line 2790 of file GNENetHelper.cpp.

◆ requireSaveMeanDatas()

void GNENetHelper::SavingStatus::requireSaveMeanDatas ( )

inform that mean data elements has to be saved

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

Here is the caller graph for this function:

◆ requireSaveNeteditConfig()

void GNENetHelper::SavingStatus::requireSaveNeteditConfig ( )

inform that netedit config has to be saved

Definition at line 2733 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenOptionsDialog().

Here is the caller graph for this function:

◆ requireSaveNetwork()

◆ requireSaveSumoConfig()

void GNENetHelper::SavingStatus::requireSaveSumoConfig ( )

inform that SumoConfig has to be saved

Definition at line 2714 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdOpenSumoOptionsDialog().

Here is the caller graph for this function:

◆ requireSaveTLS()

void GNENetHelper::SavingStatus::requireSaveTLS ( )

inform that TLS has to be saved

Definition at line 2772 of file GNENetHelper.cpp.

◆ SumoConfigSaved()

void GNENetHelper::SavingStatus::SumoConfigSaved ( )

mark SumoConfig as saved

Definition at line 2720 of file GNENetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdSaveSumoConfig().

Here is the caller graph for this function:

◆ TLSSaved()

void GNENetHelper::SavingStatus::TLSSaved ( )

mark TLS as saved

Definition at line 2778 of file GNENetHelper.cpp.

Referenced by GNENet::saveTLSPrograms().

Here is the caller graph for this function:

Field Documentation

◆ myAdditionalSaved

bool GNENetHelper::SavingStatus::myAdditionalSaved = true
private

flag for additional elements saved

Definition at line 968 of file GNENetHelper.h.

◆ myDataElementSaved

bool GNENetHelper::SavingStatus::myDataElementSaved = true
private

flag for data elements saved

Definition at line 974 of file GNENetHelper.h.

◆ myDemandElementSaved

bool GNENetHelper::SavingStatus::myDemandElementSaved = true
private

flag for demand elements saved

Definition at line 971 of file GNENetHelper.h.

◆ myEdgeTypeSaved

bool GNENetHelper::SavingStatus::myEdgeTypeSaved = true
private

flag for edgeType saved

Definition at line 965 of file GNENetHelper.h.

◆ myMeanDataElementSaved

bool GNENetHelper::SavingStatus::myMeanDataElementSaved = true
private

flag for meanData elements saved

Definition at line 977 of file GNENetHelper.h.

◆ myNeteditConfigSaved

bool GNENetHelper::SavingStatus::myNeteditConfigSaved = true
private

flag for netedit config saved

Definition at line 956 of file GNENetHelper.h.

◆ myNetworkSaved

bool GNENetHelper::SavingStatus::myNetworkSaved = true
private

flag for network saved

Definition at line 959 of file GNENetHelper.h.

◆ mySumoConfigSaved

bool GNENetHelper::SavingStatus::mySumoConfigSaved = true
private

flag for SumoConfigSumoConfig saved

Definition at line 953 of file GNENetHelper.h.

◆ myTLSSaved

bool GNENetHelper::SavingStatus::myTLSSaved = true
private

flag for TLS saved

Definition at line 962 of file GNENetHelper.h.


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