![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| DtObserverModesSettingsBackup (DtDe &de, DtObserverModeManager *parent, const std::string &name, const std::string &displayName) | |
| virtual | ~DtObserverModesSettingsBackup () |
| virtual void | restoreSelected (const DtSettingsBackup *) |
| virtual int | currentSelectedObserverMode () const |
| virtual void | setCurrentSelectedObserverMode (int modeKey) |
Public Member Functions inherited from makVrv::DtRecordSettingsBackup< DtBaseSettingsManager< makArchives::DtObserverModesRecord >, makArchives::DtObserverModesRecord > | |
| DtRecordSettingsBackup (DtDe &de, DtBaseSettingsManager< makArchives::DtObserverModesRecord > *parent, const std::string &classType, const std::string &descriptiveName) | |
| DtRecordSettingsBackup (const DtRecordSettingsBackup &orig) | |
| virtual | ~DtRecordSettingsBackup () |
| void | restore (const DtSettingsBackup *from) |
| DtSettingsBackup * | create () const |
| void | write (boost::archive::xml_oarchive &ar) |
| std::enable_if<!std::is_same < Q, DtElementDefinitionManager > ::value, void >::type | writeDirSpecialised (std::vector< std::ostringstream * > &outStreamVec, std::vector< std::string > &fileNames) |
| std::enable_if< std::is_same < Q, DtElementDefinitionManager > ::value, void >::type | writeDirSpecialised (std::vector< std::ostringstream * > &outStreamVec, std::vector< std::string > &fileNames) |
| void | writeDir (std::vector< std::ostringstream * > &outStreamVec, std::vector< std::string > &fileNames) |
| void | readRecords (boost::archive::xml_iarchive &ar, makArchives::DtObserverModesRecord &recordsResult) |
| std::enable_if<!std::is_same < Q, DtElementDefinitionManager > ::value, void >::type | readIncrementalSpecialised (boost::archive::xml_iarchive &ar) |
| std::enable_if< std::is_same < Q, DtElementDefinitionManager > ::value, void >::type | readIncrementalSpecialised (boost::archive::xml_iarchive &ar) |
| virtual void | readIncremental (boost::archive::xml_iarchive &ar) |
| void | read (boost::archive::xml_iarchive &ar) |
| const makArchives::DtObserverModesRecord & | restoredRecord () const |
Public Member Functions inherited from makVrv::DtRecordSettingsBackupInterface | |
| DtRecordSettingsBackupInterface (DtDe &de, const std::string &classType, const std::string &descriptiveName) | |
| DtRecordSettingsBackupInterface (const DtRecordSettingsBackupInterface &orig) | |
| virtual | ~DtRecordSettingsBackupInterface () |
| std::string | backupClassType () const |
| std::string | backupName () const |
| virtual void | backup () |
| virtual void | backupByDir () |
| void | setCanBackup (bool b) |
| bool | canBackup () const |
Public Member Functions inherited from makVrv::DtSettingsBackup | |
| DtSettingsBackup () | |
| virtual | ~DtSettingsBackup () |
| virtual bool | createAndWriteToBackupFile (const std::ostringstream &str, const std::string &path) |
| virtual bool | createAndWriteToBackupFiles (const std::vector< std::ostringstream * > &str, const std::string &path, const std::vector< std::string > &fileNames) |
| const std::string & | backupFile () const |
| virtual bool | backupFileExists () const |
| virtual bool | backupDirExists () const |
| virtual bool | factoryFileExists () const |
| virtual bool | factoryDirExists () const |
| virtual void | deleteBackup () |
| virtual void | restore (bool fromFactory=false) |
| virtual void | getRestorableNames (NameList &names) |
| virtual void | restore (bool fromFactory, bool selectedOnly) |
| void | setManagerDestroyed (bool b) |
| virtual void | addRestoreWhenRestored (DtSettingsBackup *, const RestoreFlags &f=RestoreAll) |
| const RestoreWhenRestored & | restoreWhenRestored () const |
| virtual void | cancelRestoreWhenRestored (DtSettingsBackup *, const RestoreFlags &f=RestoreAll) |
| void | setBackupsPath (const std::string &s) |
| const std::string & | backupsPath () const |
| void | setFactoryFile (const std::string &s) |
| const std::string & | factoryFile () const |
| void | setFactoryDir (const std::string &dir) |
| const std::string & | factoryDir () const |
| void | setBackupDir (const std::string &dir) |
| const std::string & | backupDir () const |
Public Member Functions inherited from makVrv::DtBackupInterface | |
| DtBackupInterface () | |
| virtual | ~DtBackupInterface () |
Protected Attributes | |
| int | myCurrentSelectedObserverMode |
Protected Attributes inherited from makVrv::DtRecordSettingsBackup< DtBaseSettingsManager< makArchives::DtObserverModesRecord >, makArchives::DtObserverModesRecord > | |
| makArchives::DtObserverModesRecord | myRestoredRecord |
| DtBaseSettingsManager < makArchives::DtObserverModesRecord > * | myParent |
Protected Attributes inherited from makVrv::DtRecordSettingsBackupInterface | |
| DtDe & | myDe |
| std::string | myClassType |
| std::string | myDescriptiveName |
| bool | myCanBackup |
Protected Attributes inherited from makVrv::DtSettingsBackup | |
| bool | myManagerDestroyed |
| RestoreWhenRestored | myRestoreWhenRestored |
| std::string | myBackupFile |
| std::string | myFactoryFile |
| std::string | myBackupsPath |
| std::string | myBackupDir |
| std::string | myFactoryDir |
Additional Inherited Members | |
Public Types inherited from makVrv::DtSettingsBackup | |
| enum | RestoreFlags { RestoreFromFactory = 0x00000001, RestoreFromLocal = 0x00000002, KeepRestoreFromLocal = 0x80000000, RestoreAll = RestoreFromFactory | RestoreFromLocal } |
| typedef std::map < DtSettingsBackup *, int > | RestoreWhenRestored |
Public Types inherited from makVrv::DtBackupInterface | |
| typedef std::vector< std::string > | NameList |
Public Attributes inherited from makVrv::DtSettingsBackup | |
| boost::signalslib::signal < void(const DtSettingsBackup *)> | signal_destructing |
| boost::signalslib::signal < void(const DtSettingsBackup *)> | signal_backupCleared |
| boost::signalslib::signal < void(const DtSettingsBackup *)> | signal_backedUp |
| boost::signalslib::signal < void(const DtSettingsBackup *)> | signal_restored |
Public Attributes inherited from makVrv::DtBackupInterface | |
| boost::signalslib::signal < void(DtBackupInterface *)> | signal_backupFileChanged |
Protected Member Functions inherited from makVrv::DtSettingsBackup | |
| virtual bool | restore (bool fromFactory, std::vector< DtSettingsBackup * > &hasBeenRestored, bool selectedOnly) |
| makVrv::DtObserverModesSettingsBackup::DtObserverModesSettingsBackup | ( | DtDe & | de, |
| DtObserverModeManager * | parent, | ||
| const std::string & | name, | ||
| const std::string & | displayName | ||
| ) |
|
virtual |
|
virtual |
Called with the object that needs to be restored from. The object passed in should be considered temporary. Any member that holds onto this will become invalid after the restore method is complete.
Reimplemented from makVrv::DtSettingsBackup.
|
virtual |
|
virtual |
|
protected |