VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
makVrv::DtBackupInterface Class Referenceabstract

The backup interface, is used by components to control backups of a state. More...

Inheritance diagram for makVrv::DtBackupInterface:
Inheritance graph
[legend]

Public Types

typedef std::vector< std::string > NameList
 

Public Member Functions

 DtBackupInterface ()
 Default CTOR. More...
 
virtual ~DtBackupInterface ()
 Default DTOR. More...
 
virtual bool backupFileExists () const =0
 Check for a the existence of the backup state? More...
 
virtual bool factoryFileExists () const =0
 Check for a the existence of the factory shipped state? More...
 
virtual bool backupDirExists () const =0
 Check for a the existence of the backup state? More...
 
virtual bool factoryDirExists () const =0
 Check for a the existence of the factory shipped state? More...
 
virtual void backup ()=0
 Save the current state. This should overwrite the existing state. More...
 
virtual void deleteBackup ()=0
 Delete the current backup state. More...
 
virtual void restore (bool fromFactory=false)=0
 Restore the state, either from the backup (default) or from the factory. More...
 
virtual void getRestorableNames (NameList &names)=0
 Get the names of states restore will affect. More...
 

Public Attributes

boost::signal< void(DtBackupInterface *)> signal_backupFileChanged
 This signal should be emitted when the backup file is created, written to, or destroyed. More...
 

Detailed Description

The backup interface, is used by components to control backups of a state.

Member Typedef Documentation

typedef std::vector<std::string> makVrv::DtBackupInterface::NameList

Constructor & Destructor Documentation

makVrv::DtBackupInterface::DtBackupInterface ( )

Default CTOR.

virtual makVrv::DtBackupInterface::~DtBackupInterface ( )
virtual

Default DTOR.

Member Function Documentation

virtual bool makVrv::DtBackupInterface::backupFileExists ( ) const
pure virtual

Check for a the existence of the backup state?

Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.

virtual bool makVrv::DtBackupInterface::factoryFileExists ( ) const
pure virtual

Check for a the existence of the factory shipped state?

Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.

virtual bool makVrv::DtBackupInterface::backupDirExists ( ) const
pure virtual

Check for a the existence of the backup state?

Implemented in makVrv::DtManagerBackup< Manager >, and makVrv::DtSettingsBackup.

virtual bool makVrv::DtBackupInterface::factoryDirExists ( ) 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.

Member Data Documentation

boost::signal<void (DtBackupInterface*)> makVrv::DtBackupInterface::signal_backupFileChanged

This signal should be emitted when the backup file is created, written to, or destroyed.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)