![]() |
VR-Forces 4.0.4 Class Documentation
|
The backup interface, is used by components to control backups of a state. More...

Public Types | |
| typedef std::vector< std::string > | NameList |
Public Member Functions | |
| DtBackupInterface () | |
| Default CTOR. | |
| virtual | ~DtBackupInterface () |
| Default DTOR. | |
| virtual bool | backupExists () const =0 |
| Check for a the existence of the backup state? | |
| virtual bool | factoryExists () const =0 |
| Check for a the existence of the factory shipped state? | |
| virtual void | backup ()=0 |
| Save the current state. This should overwrite the existing state. | |
| virtual void | deleteBackup ()=0 |
| Delete the current backup state. | |
| virtual void | restore (bool fromFactory=false)=0 |
| Restore the state, either from the backup (default) or from the factory. | |
| virtual void | getRestorableNames (NameList &names)=0 |
| Get the names of states restore will affect. | |
Public Attributes | |
| boost::signal< void(DtBackupInterface *)> | signal_backupFileChanged |
| This signal should be emitted when the backup file is created, written to, or destroyed. | |
The backup interface, is used by components to control backups of a state.
| typedef std::vector<std::string> makVrv::DtBackupInterface::NameList |
Default CTOR.
| virtual makVrv::DtBackupInterface::~DtBackupInterface | ( | ) | [virtual] |
Default DTOR.
| virtual bool makVrv::DtBackupInterface::backupExists | ( | ) | const [pure virtual] |
Check for a the existence of the backup state?
Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.
| virtual bool makVrv::DtBackupInterface::factoryExists | ( | ) | const [pure virtual] |
Check for a the existence of the factory shipped state?
Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.
| virtual void makVrv::DtBackupInterface::backup | ( | ) | [pure virtual] |
Save the current state. This should overwrite the existing state.
Implemented in makVrv::DtManagerBackup< Manager >, makVrv::DtSettingsBackup, and makVrv::DtRecordSettingsBackupInterface.
| virtual void makVrv::DtBackupInterface::deleteBackup | ( | ) | [pure virtual] |
Delete the current backup state.
Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.
| virtual void makVrv::DtBackupInterface::restore | ( | bool | fromFactory = false | ) | [pure virtual] |
Restore the state, either from the backup (default) or from the factory.
Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.
| virtual void makVrv::DtBackupInterface::getRestorableNames | ( | NameList & | names | ) | [pure virtual] |
Get the names of states restore will affect.
Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.
| boost::signal<void (DtBackupInterface*)> makVrv::DtBackupInterface::signal_backupFileChanged |
This signal should be emitted when the backup file is created, written to, or destroyed.