The makVrv::DtSettingsBackupManager class is a central place to store objects that can be backed up and restored. In order for objects to be backed up they must be of the makVrv::DtSettingsBackup class and must also implement the boost serialize method to archive and restore settings. When registering this this manager, if the object also can be restored from a factory setting, be sure to supply the factory file information either upon registration time or at a future date.
Note that this class will do it's own locking to allow multi-thread access
|
| virtual | ~DtSettingsBackupManager () |
| |
| virtual void | setBackupsPath (const std::string &) |
| |
| const std::string & | backupsPath () const |
| |
| virtual void | registerSettingsBackup (DtSettingsBackup *backup) |
| |
| virtual void | unregisterSettingsBackup (const std::string &) |
| |
| virtual void | unregisterSettingsBackup (DtSettingsBackup *backup) |
| |
| virtual void | settingsObjectDestroyed (const DtSettingsBackup *) |
| |
| virtual void | settingsClearedBackup (const DtSettingsBackup *) |
| |
| virtual void | settingsRestored (const DtSettingsBackup *) |
| |
| virtual void | settingsBackedUp (const DtSettingsBackup *) |
| |
| virtual bool | setFactoryFile (const std::string &, const std::string &factoryFile) |
| |
| virtual bool | setFactoryFile (const DtSettingsBackup *, const std::string &factoryFile) |
| |
| virtual bool | canBeRevertedFromStartup (const std::string &) const |
| |
| virtual bool | canBeRevertedFromStartup (const DtSettingsBackup *) const |
| |
| virtual bool | canBeRestoredFromFactory (const std::string &) const |
| |
| virtual bool | canBeRestoredFromFactory (const DtSettingsBackup *) const |
| |
| virtual bool | backup (const std::string &) |
| |
| virtual bool | backup (const DtSettingsBackup *) |
| |
| virtual void | clearBackup (const std::string &) |
| |
| virtual void | clearBackup (const DtSettingsBackup *) |
| |
| virtual bool | revertToStartup (const std::string &) |
| |
| virtual bool | revertToStartup (const DtSettingsBackup *) |
| |
| virtual bool | restoreFromFactory (const std::string &) |
| |
| virtual bool | restoreFromFactory (const DtSettingsBackup *) |
| |
| virtual bool | registered (const std::string &) const |
| |
| virtual bool | registered (const DtSettingsBackup *) const |
| |
| virtual void | restoreWhenRestored (const std::string &toRestore, const std::string &whenRestored, const DtSettingsBackup::RestoreFlags &f=DtSettingsBackup::RestoreAll) |
| |
| virtual void | restoreWhenRestored (const DtSettingsBackup *toRestore, const DtSettingsBackup *whenRestored, const DtSettingsBackup::RestoreFlags &f=DtSettingsBackup::RestoreAll) |
| |
| virtual void | cancelRestoreWhenRestored (const std::string &toRestore, const std::string &whenRestored, const DtSettingsBackup::RestoreFlags &f=DtSettingsBackup::RestoreAll) |
| |
| virtual void | cancelRestoreWhenRestored (const DtSettingsBackup *toRestore, const DtSettingsBackup *whenRestored, const DtSettingsBackup::RestoreFlags &f=DtSettingsBackup::RestoreAll) |
| |
| virtual std::vector< std::string > | willRestoreWhenRestored (const DtSettingsBackup *toRestore, const DtSettingsBackup::RestoreFlags &f=DtSettingsBackup::RestoreAll) const |
| |
| | DtVirtualBaseClass () |
| |
| virtual | ~DtVirtualBaseClass () |
| |